Commit Graph

7010 Commits

Author SHA1 Message Date
Juergen Spitzmueller
d67e1789a3 Properly handle the bicaption package (bug #9449) 2015-03-18 08:42:49 +01:00
Jean-Marc Lasgouttes
f3c2bfd495 add "Keywords" to lyx.desktop file
Fixes bug #9414.
2015-03-17 10:20:51 +01:00
Jean-Marc Lasgouttes
a50c0f7d13 Add proper importers for Sweave and knitr.
Fixes bug #8734.
2015-03-16 19:34:38 +01:00
Juergen Spitzmueller
f790bb046e Properly define MultiPar status of caption in the layout definition.
Also remove hardcoded paragraph break disabling.
2015-03-12 09:54:01 +01:00
Georg Baum
141f13a9cc Remove unsupported macros from autocompletion
We have some math macros that exist only because LyX can display them easily,
but which require user preamble code. These commands should not appear in
autocompletion, they are only there to make the formulas of users who actually
need these symbols and know what to put into the preamble more beautiful.
2015-03-10 21:04:24 +01:00
Uwe Stöhr
d7bf990dfd pdfcomment.module: fix dependencies 2015-03-08 03:40:38 +04:00
Uwe Stöhr
5e41f91b7c MultilingualCaptions.lyx: few more fixes 2015-03-08 03:37:23 +04:00
Uwe Stöhr
0c8f3a4cfb MultilingualCaptions.lyx: some fixes and improvements
- load nicer screen fonts
- fix some typos and sorting mistakes
2015-03-07 15:15:23 +04:00
Uwe Stöhr
d80672d459 French MultilingualCaptions.lyx: this time really the french version 2015-03-07 13:14:27 +04:00
Uwe Stöhr
8e93f105ca English MultilingualCaptions.lyx: fix 2 mistakes
spotted by Jean-Pierre
2015-02-27 00:41:48 +01:00
Uwe Stöhr
76b1deaf88 French MultilingualCaptions.lyx: new translation by Jean-Pierre 2015-02-27 00:40:00 +01:00
Uwe Stöhr
d040a1bbe1 French Intro.lyx: some adjustments by Jean-Pierre 2015-02-27 00:21:10 +01:00
Juergen Spitzmueller
30efd4f636 Check for ugm font availability
Fixes: #9429
2015-02-24 16:08:55 +01:00
Uwe Stöhr
2c00714186 UserGuide.lyx: add note about HTML
remove also an obsolete info
2015-02-24 01:44:34 +01:00
Uwe Stöhr
245db2613a UserGuide.lyx: add note about HTML
remove also an obsolete info
2015-02-24 01:40:38 +01:00
Uwe Stöhr
98e22740fc add changelog files for some documentation files
they are designed to collect all changes so that translators and other contributors see what has been changed and need to be translated
2015-02-24 01:22:33 +01:00
Kornel Benko
a852844739 eplace unparseable char in lib/configure.py.
Apparently xgettext is choking on that unicode char (\302 \240)
2015-02-17 13:25:49 +01:00
Uwe Stöhr
dd82e779be configure.py: correct a strange spacing issue introduced in last commit 2015-02-17 00:46:46 +01:00
Uwe Stöhr
29ef886319 configure.py: change name of a converter as discussed
- adapt the UserGuide accordingly
2015-02-17 00:42:21 +01:00
Uwe Stöhr
21bb88b409 pdfcomment.module: add required style files
the the module requires datetime and fmtcount
2015-02-17 00:23:05 +01:00
Uwe Stöhr
3502f725f1 stdmenus.inc: add PDF-comment.lyx as special manual 2015-02-17 00:21:26 +01:00
Uwe Stöhr
62e5f2c650 UserGuide.lyx: describe new export format (proposal) 2015-02-15 17:02:07 +01:00
Richard Heck
2fc44e96f5 Do not show new "cropped" formats on export menu. 2015-02-14 22:56:33 -05:00
Uwe Stöhr
605e362bdc UserGuide.lyx: describe the new behavior of Ctrl+A 2015-02-15 03:07:46 +01:00
Georg Baum
7b53735bb3 Add low-res pdf export as suggested by James
As discussed on the list, but I did not need to create two new pdf formats
since any given document either uses TeX fonts or not. For the same reason
I also added an additional converter to PDF (cropped).
2015-02-14 10:37:32 +01:00
Juergen Spitzmueller
5a21d3f0f8 Fix reversion of beamer description overlay args 2015-02-13 18:34:35 +01:00
Juergen Spitzmueller
e52b85d267 Fix bug in get_containing_inset and get_containing_layout
We have to check if this is really a parent (or just the first inset/layout we have).
2015-02-13 16:28:00 +01:00
Juergen Spitzmueller
8b17b25764 Fix conversion of beamer block arguments where the overlay argument and the closing title argument bracket share the same ERT
Fixes: #9411
2015-02-13 16:24:00 +01:00
Juergen Spitzmueller
e85eb8b833 Fix conversion of frame ends when frame is nested in inset
Fixes: #9409
2015-02-13 16:21:00 +01:00
Uwe Stöhr
cd45fe0b82 EmbeddedObjects.lyx: fix link to the KOMA-script manual 2015-02-13 02:13:59 +01:00
Uwe Stöhr
996c0b82d5 EmbeddedObjects.lyx: add info about footnotes in titles 2015-02-12 00:45:28 +01:00
Uwe Stöhr
6cd6de3eb5 configure.py: quote path to python
this fixes a path issue unveiled while inspecting bug #8478
2015-02-11 21:52:36 +01:00
Jean-Marc Lasgouttes
53ed6d3d46 Fixes to InsetCaption \protect-ion
* \caption does not need to be protected in general
* the contents of \caption arguments need to be protected, though.

All styles related to caoption inset have been audited and updated.

The special casing of captions in longtables has been removed, since there is no special case.

Fixes bug: #9177
2015-02-10 09:52:22 +01:00
Uwe Stöhr
8599ac1e87 aastex.layout: fix name and hint of \figcaption 2015-02-10 00:17:13 +01:00
Uwe Stöhr
f3dc9d339c symbols: add support for the math commands \lvert etc.
add support for the math commands \lvert, \rvert, \lVert, and \rVert
fixes bug #3538
2015-02-09 23:53:39 +01:00
Richard Heck
8c5bdcb9c6 Forgot to add new Japanese template to Makefile. 2015-02-07 10:44:22 -05:00
Richard Heck
62dc2042aa Japanese translation for 2.1.3, and a new translation of the Beamer
conference template.
2015-01-31 11:39:55 -05:00
Uwe Stöhr
3dbd404950 aastex.lyx: backport a fix from master
The normal caption should be the standard \caption command.
2015-01-23 00:30:56 +01:00
Uwe Stöhr
1c09e99b29 aastex.lyx: repair a broken figure float 2015-01-11 03:40:05 +01:00
Uwe Stöhr
a090f6b289 chkconfig.ltx: fix a typo 2015-01-08 01:42:17 +01:00
Uwe Stöhr
55339f0249 Win installer: LaTeX package list update
- Packages.txt: add all available babel packages and update to latest list of packages supported by LyX
- chkconfig.ltx: remove an entry that was added only for the Win-installer
2015-01-08 01:39:10 +01:00
Uwe Stöhr
0ccbda9e51 French documentation files: updates by Jean-Pierre 2015-01-07 02:28:08 +01:00
Jean-Marc Lasgouttes
1997e8b817 Reimplement inset-select-all in a generic way
There are 3 possible actions (in order)
* select current cell
* select all calls of inset
* select the inset from outside (in the containing inset)

C-a is now bound to inset-select-all

C-M-a is bound to the global "select all". The
reason for this change is that selecting an inset
is a more common operation that selecting an entire
document.

This patch is the result of discussion on #7727.
2015-01-06 11:05:49 +01:00
Georg Baum
202e848a0e Parse tikzpicture env. correctly (bug #9011) 2015-01-03 17:21:14 +01:00
Georg Baum
dbbc4239a6 Fix HTML output of \gg, \ll and \ne (bug #9372)
The fix consists of three parts: The fix for \ll and \gg, the needed
infrastructure to assign HTML entities to global math macros, and the actual
fix for \ne and \neq.
2014-12-30 13:39:52 +01:00
Jean-Marc Lasgouttes
53436891f7 Let the Foot inset have a different Layout when inside a title
This allows to address two main issues
 * \thanks does only accept one paragraph, while \footnote allows several (ticket #2666)
 * footnotes in titling environments were not numbered on screen.

Moreover, the code reduces hardcoding of features, which is always a good thing.

There are several pieces in this commit:

 * new numbering type \fnsymbol for counters

 * the Foot inset changes its layoutName() to Foot:InTitle when inside a paragraph with InTitle property. This is set when running updateBuffer.

 * Foot:intitle uses the \thanks command, does not allow multiple paragraphs and marks its contents as moving argument.

 * The InsetLayouts for Foot now have properLaTeXName/Type, so that InsetFoot::latex can be removed; further code simplification is probably possible.

 * HTML preamble has been updated (thanks rgheck).

Fixes: #2666
2014-12-08 10:15:02 +01:00
Uwe Stöhr
01c5c497c2 IEEEtran templates: fix language package settings
according to the IEEE writing guidelines one must not use babel otherwise one would violate the caption formatting rule; fixes bug #9350
2014-12-04 00:05:37 +01:00
Juergen Spitzmueller
821c09668a Honor paragraph parameters when converting chunk layouts.
Fixes: #9320.
2014-12-01 15:05:52 +01:00
Jean-Marc Lasgouttes
3040adf765 Fix reverting of chunks insets to 2.0 format
When the chunk inset did not have an optional argument, the prefix of the chunk was omitted.

Fixes bug: #9343
2014-12-01 10:38:10 +01:00
Juergen Spitzmueller
560a421e58 Fix and simplify par params parsing in get_containing_layout.
The previous version did not catch \align <alignment>.
2014-11-30 09:40:45 +01:00
Juergen Spitzmueller
42c51e7169 Fix conversion of beamer block titles when the language is switched at the beginning of the title 2014-11-25 19:18:22 +01:00
Georg Baum
acc771b212 Fix bug #7954 (now really)
Thanks to maciejr we know now what the remaining problem was with bug 7954:
My unicode symbol fallback works fine, the problem was that a font named
"Symbol" is available on OS X, but it does not use the font-specific encoding
we expect: Almost all glyphs are at their unicode code point.
Therefore the bug is fixed by re-enabling the unicode workaround and blocking
the Symbol font on OS X.
2014-11-14 19:09:34 +01:00
Juergen Spitzmueller
18a5207c82 Fix font declarations. 2014-11-09 09:55:39 +01:00
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