Commit Graph

6907 Commits

Author SHA1 Message Date
Uwe Stöhr
6cefd29d41 PDF-comment.lyx: new example file
- backport from master, fixes #9310
2014-11-06 00:19:22 +01:00
Juergen Spitzmueller
ab5b69eb3d pdfcomment.module: Tweaks by UWe and myself 2014-11-05 10:28:37 +01:00
Richard Heck
8f40d784c0 Fix bug 9300. We need manually to convert newlines to paragraph breaks. 2014-11-04 09:54:45 -05:00
Juergen Spitzmueller
6f3fbc9cd3 lyx2lyx: fix convert_chunks for empty chunk layouts
Fixes: #9298
2014-11-03 16:46:20 +01:00
Uwe Stöhr
1a859a977e revtex4-1.lyx: simplifications and fixed typos 2014-10-28 02:37:39 +01:00
Richard Heck
9574d680e2 Fixes for LyX on OSX 10.10 (Yosemite). From Stephan Witt. 2014-10-27 11:16:08 -04:00
Uwe Stöhr
31b7a6ba94 revtex4-1.lyx: some more fine-tuning 2014-10-27 01:39:58 +01:00
Uwe Stöhr
fffc19865d revtex4-1.lyx: some fine-tuning 2014-10-27 01:03:28 +01:00
Uwe Stöhr
d050951d1f revtex4-1.lyx: update template to fulfill the official rules
changes:
- the document must have the size US letter
- use the document class options and the content of the official REVTeX sample file
- amsmath and amssymb must always be loaded
2014-10-26 17:17:34 +01:00
Uwe Stöhr
aa6a9fe696 revtex4-1.layout: remove hard-coded document class option
we must not use this option because the user must select the right one for every document and the other styles like aip etc cannot be used when aps is used.
2014-10-26 17:15:40 +01:00
Uwe Stöhr
8a3b241275 revtex4-1.layout: REVTeX 4.1 does not provide a class option "manuscript"
this is a leftover from the ancient REVTeX 4.0 times
2014-10-26 14:41:57 +01:00
Uwe Stöhr
03d3f8b5f3 revtex4-1.layout: remove unnecessary preamble code
- \lovname was already added to REVTeX 4.1 in 2010
- REVTeX does purposely not allow to color text, see the discussion in bug #4625
2014-10-26 14:21:11 +01:00
Juergen Spitzmueller
d85bc320e7 Fix grammar error spotted by Sian Mountbatten 2014-10-25 13:50:37 +02:00
Juergen Spitzmueller
c9dfb11d60 Fix typo spotted by Hartmut. 2014-10-25 13:41:29 +02:00
Juergen Spitzmueller
56e2f6c75c Support for conference posters
The following poster classes are now supported:

* a0poster
* beamerposter
* sciposter
2014-09-27 10:05:23 +02:00
Juergen Spitzmueller
4050c33d10 Add support for the sectionbox and tcolorbox packages.
They will be used by the conference poster classes that will be supported in a minute.
2014-09-27 10:00:01 +02:00
Juergen Spitzmueller
17eeed33fa Document pdfcomment in LaTeXConfig.lyx 2014-09-27 09:55:50 +02:00
Juergen Spitzmueller
e627bf3ba6 Add support for the pdfcomment package.
Fixes: #6975.
2014-09-27 09:55:25 +02:00
Juergen Spitzmueller
959ad0b250 Fix some convert_TeX_brace_to_Argument glitches
Fixes: #9273
2014-09-27 09:37:54 +02:00
Juergen Spitzmueller
063e5242bf Fix lyx2lyx issue with complex beamer arguments.
Fixes: #9254
2014-09-27 09:31:45 +02:00
Richard Heck
499cc58b0e Forgot to add new beamer files to Makefile. 2014-09-23 10:20:21 -04:00
Richard Heck
e011bc285f New French translation from Jean-Pierre, as well as translations of
beamer.lyx and beamer-article.lyx.
2014-09-10 16:26:39 -04:00
Enrico Forestieri
a8b7e0a18b Add some postscript and pdf viewers for Unix and Windows.
For Windows: AcroRd32, SumatraPDF and gsview (both 32 and 64 bit versions).
For Unix: qpdfview.

Qpdfview is a nice alternative to Okular for KDE users and a superior
alternative to Evince for Gnome users, due to its complete synctex
support. It only depends on Qt libraries for the graphical interface.
2014-08-03 19:26:34 +02:00
Juergen Spitzmueller
03d6040904 Do not break documents with complex beamer block ERT usage we cannot handle
Fixes: #9144
2014-08-03 17:38:46 +02:00
Juergen Spitzmueller
c31cb9fd98 Improve parsing of ERT arguments in beamer block titles.
Fixes: #9225
2014-08-01 16:06:42 +02:00
Uwe Stöhr
96639d2255 French documentation files: 2 fixes by Jan-Pierre 2014-07-28 00:56:57 +02:00
Juergen Spitzmueller
edddfb99fc Fix beamer block conversion when arguments are in multiple ERTS.
Fixes second part of #9208.
2014-07-27 18:06:08 +02:00
Juergen Spitzmueller
a8ba869d73 Add beamer-resenumerate (from our wiki) to the list of safe modules for argument conversion, since it is safe.
Fixes part of #9208.
2014-07-27 18:02:35 +02:00
Georg Baum
275c6dabe6 Fix bug #9162: Missing \use_indices
The lyx2lyx conversion for format 352 was incomplete: It should have been
added the \use_indices setting, but it relied on the fact that the default in
LyX for missing \use_indices is the same as the old format without that
setting used. However, the default might change in the future, and later
lyx2lyx conversions rely on that setting as well.
2014-07-09 20:58:44 +02:00
Pavel Sanda
a0d16b8f7f Fix license string according to http://spdx.org/licenses/.
https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg184749.html
2014-06-17 09:52:19 -07:00
Uwe Stöhr
8fc774bb99 French Math.lyx: updates by Jean-Pierre 2014-06-13 01:26:06 +02:00
Uwe Stöhr
cc6144cdb4 French UserGuide.lyx: updates by Jean-Pierre 2014-06-13 01:09:10 +02:00
Richard Heck
0f3746400e Copy over changes to lyx2lyx made in master. Unfortunately, some of
these got committed to stable and some did not, and now it is all but
impossible (I've tried) to do this by cherry-picking.
2014-05-29 18:17:08 -04:00
Enrico Forestieri
94ed54b51a Fix reversion of box insets.
(cherry picked from commit da75d31948)
2014-05-29 18:06:50 -04:00
Georg Baum
76417c7326 Do not corrupt documents without newline at EOF
trim_eol() assumes that a line always ends either with \n, \r, or \r\n.
This assumption is always valid except for the last line of a document, since it
may miss the trailing newline. LyX does not create such documents, bu they may
result from automatic creation tools, and LyX can read them, so lyx2lyx should
be able to read them as well.
(cherry picked from commit c75c6e446a)

Fix the fix

MAC-style (pre-OS X) line ends were not recognized anymore
(cherry picked from commit 55af9cb006)
2014-05-29 11:28:04 -04:00
Enrico Forestieri
b851a60376 Avoid processing multiple times the same paragraph when converting latex arguments.
(cherry picked from commit 0080201977)
2014-05-29 11:24:53 -04:00
Enrico Forestieri
20214ee224 Fix an off-by-one error in the reversion of beamer documents.
(cherry picked from commit dbd4d781dc)
2014-05-29 11:24:41 -04:00
Pavel Sanda
33496a0aa5 * Additional.lyx - note for windows git users.
https://www.mail-archive.com/lyx-users%40lists.lyx.org/msg98988.html
2014-05-21 11:06:52 -07:00
Juergen Spitzmueller
ad723c41b6 Fix nesting in some beamer reversion methods.
Patch by Enrico
2014-05-21 15:44:30 +02:00
Juergen Spitzmueller
02410adbfe Fix reversion of beamer overprint when a nested paragraph has an argument 2014-05-21 15:42:03 +02:00
Richard Heck
ccd8cd89ad Add limits to searches in convert_TeX_brace_to_Argument.
(cherry picked from commit eb26d85dc9)
2014-05-18 11:26:34 -04:00
Juergen Spitzmueller
ede754039d Beamer block conversion: consider ERT arguments with leading/trailing blanks
Should also go to branch.
2014-05-08 19:52:01 +02:00
Juergen Spitzmueller
4a24d8bec3 Monolingualization 2014-05-08 08:36:38 +02:00
Georg Baum
b0664e0c98 Fix table rotate conversion to 2.0 format
The old code did create invalid documents, since the space between the rotate
flag dn the previous flag was removed.
2014-05-01 13:48:44 +02:00
Uwe Stöhr
f8bc6e8267 CREDITS: add Min Ding and Roy Xia 2014-04-28 22:55:09 +02:00
Georg Baum
b73a59932e Fix lyx2lyx math package defaults (bug #9069)
lyx2lyx sets all new math packages to off when converting from old formats.
This is correct if any command which would cause an automatic package loading
exists in the document. However, it is wrong if no command exists: This leads
to problems if later a command is added (bug #9069), which is especially
annoying for templates.
The fix consists of two parts:
1) convert_use_package() considers now the used commands like
   revert_use_package(), and uses them to decide whether to set the package to
   auto or off.
2) convert_undertilde() and revert_undertilde() use a slightly adjusted copy of
   convert_use_package() and revert_use_package(), so that the bug is also
   fixed for undertilde. We cannot use the latter functions directly, because
   of "\usepackage undertilde" vs. "\use_undertilde".
2014-04-27 18:09:29 +02:00
Georg Baum
d47a556b46 Fix math package conversion to 2.0 format
When doing the lyx2lyx round trip of the 2.0.8 user guide from format
413 -> 474 -> 413 you get an invalid document, because the math packages
mhchem and undertilde are incorrectly converted.
It turned out that the old reversion code did only work for particular
package oderings. The new one works for abitrary sorted packages.
2014-04-27 18:08:24 +02:00
Georg Baum
28bde98d76 Fix data loss in user guide conversion to 2.0.x
When doing the lyx2lyx round trip of the 2.0.8 user guide from format
413 -> 474 -> 413 you do not get a zero diff. The most important problem is
caused by the conversion of the argument insets to the old syntax: This
conversion adds an additional empty line (harmless), and it destroys the
document structure if the first inset in e.g. a subsection is not an argument
inset, but e.g. an index or label inset.
The fix is quite easy: Ensure that the paragraph begin is set to the first
argument inset.
2014-04-27 18:06:34 +02:00
Georg Baum
e754d00faa Fix warning in lyx2lyx 2.0<->2.1 round trip
revert_justification() issues a warning if the \justification parameter does
not exist, and LyX itself always writes it unconditionally as well, so add it
also in lyx2lyx when converting old documents.
Currently this does not have any user visible effect, but it decouples the
default value of BufferParams::justification from the conversion of old
documents: Now it is possible to set the default to false in LyX, and old
documents will still be converted correctly.
2014-04-27 18:05:22 +02:00
Uwe Stöhr
aae55d3933 French doc files: translations by Jean-Pierre 2014-04-27 17:26:27 +02:00