Commit Graph

7055 Commits

Author SHA1 Message Date
Enrico Forestieri
93c0512ba2 Backport latest changes about instant preview
* Fix typo causing to only account for the first char of a macro name
* Also check for macros as arguments of other macros
* Take into account macro redefinitions in the legacy route
* Take into account macros inside nested macro definitions
* Use the draft option for microtype instead of redefining \usepackage
* Make really sure to wait for previews after zoom changes

This is an amendment to previous commits, so no status line is needed.
2015-06-21 19:24:45 +02:00
Uwe Stöhr
501435345a SpaceMarker.png: fix RGB profile of the image
no status entry necessary
2015-06-19 00:01:39 +02:00
Enrico Forestieri
1151d06e81 Avoid unnecessary growth of python lists
The path argument of checkProg* was added to the PATH list in a nested
loop such that the list doubles in size each time the loop is executed,
thus also slowing down detection of missing programs.
2015-06-16 21:08:25 +02:00
Richard Heck
0abf9ac79a Revert "layouttranslations: backport pt_BR additions and Arabic translation from master"
This reverts commit e44612f0f2.

Revert "layouttranslations: Arabic update by Hatim"

This reverts commit 407d5bf228.

It is not permitted to change lib/layoutranslations during a stable cycle.
2015-06-04 15:10:06 -04:00
Enrico Forestieri
7013445bdd Backport the latest changes to the instant preview scripts.
Also fix a glitch recently reported on the devel list.
No status line as this is a further amendement to b3d2ffc0.
2015-06-04 17:58:55 +02:00
Uwe Stöhr
e44612f0f2 layouttranslations: backport pt_BR additions and Arabic translation from master 2015-06-04 01:16:17 +02:00
Uwe Stöhr
407d5bf228 layouttranslations: Arabic update by Hatim 2015-06-04 01:12:12 +02:00
Enrico Forestieri
9285f338a9 Take into account macro redefinitions when generating previews
No status line needed as this is an amendment to b3d2ffc0
2015-05-31 17:06:40 +02:00
Scott Kostyshak
71fd45b2f6 Add an explanatory note for external_templates
Clarify that a user-defined external_templates file would replace
the library version. For more information on this issue, see #3983.

(cherry picked from commit 1d28d90801)
2015-05-31 05:02:20 -04:00
Juergen Spitzmueller
8aed8f99d1 Fix shortcut conflict 2015-05-31 09:34:24 +02:00
Uwe Stöhr
6c12eb9736 Japanese and Spanish UserGuide.lyx: fix some references 2015-05-31 04:16:05 +02:00
Uwe Stöhr
e62773dd07 configure.py: add the --nofooter option also to the python call of eLyXer
(btw. there is no executable of eLyXer available)
2015-05-31 03:17:26 +02:00
Enrico Forestieri
b3d2ffc0fe Fix several issues with instant previews.
This is a collection of changes to the python scripts in master made
for trying to sort out the mess that had accumulated about previews.
After this audit, it turns out that bugs #6369, #9354, #9508, and #9510
are now fixed. If pdftocairo and epstopdf are vailable, it also makes
the conversion performed by the legacy conversion paths much faster
and improves the quality of the generated bitmaps.
2015-05-30 18:22:30 +02:00
Enrico Forestieri
043cf5a700 Fix bug #7850 (Preview of inline math misaligned) 2015-05-30 13:51:13 +02:00
Juergen Spitzmueller
1ab1f071b5 Fix test for urwclassico font (bug #9576) 2015-05-30 11:00:17 +02:00
Uwe Stöhr
60603cf00e configure.py: add --nofooter option to hide elyXer's footer 2015-05-30 02:47:05 +02:00
Uwe Stöhr
016775cc67 EmbeddedObjects.lyx: LyX supports already table cell rotations
- remove the document class option "fleqn" because it there is currently a LaTeX bug with this and this option is not really necessary
2015-05-24 23:24:05 +02:00
Pavel Sanda
0b8eb5dc73 Fix default style of broadway layout.
Thanks Richard.
2015-05-19 23:30:30 -07:00
Uwe Stöhr
fec8f528fe PDF-form.lyx: some fine-tuning 2015-05-19 23:01:06 +02:00
Uwe Stöhr
648a5a4705 pdfform.module: uniform spacing
thanks Jürgen for fixing bug #9518
2015-05-19 22:02:40 +02:00
Enrico Forestieri
5f70378496 Take into account compressed documents when creating a LyX archive. 2015-05-15 01:31:55 +02:00
Uwe Stöhr
e682e73348 stdmenus.inc: add PDF forms example to Help menu
I forgot that when I added PDF forms.
2015-05-11 01:05:44 +02:00
Uwe Stöhr
17489ed60d add support for PDF forms to branch 2015-05-09 16:42:17 +02:00
Uwe Stöhr
0299b9bf71 pt_BR.po: new translation by Georger Araujo 2015-05-06 02:14:17 +02:00
Uwe Stöhr
7f9627dcd3 EmbeddedObjects.lyx: improve description of \cmidrule 2015-04-30 01:25:36 +02:00
Pavel Sanda
744c3acc00 Fix broken lilipond links. 2015-04-28 09:37:43 -07:00
Uwe Stöhr
45025e5d9c PDF-comment.lyx: some fixes 2015-04-27 02:34:08 +02:00
Uwe Stöhr
8026360776 pdfcomment.module: reintroduce whitespace mixture because of bug #9518 2015-04-26 18:25:03 +02:00
Juergen Spitzmueller
74c7b5d47e Add Jari-Matti Mäkelä to the credits 2015-04-26 13:47:18 +02:00
Uwe Stöhr
d3ff7ea799 pdfcomment.module: promote our example file in the description
- pdfcomment.module: backport the whitespace uniformization
- PDF-comment.lyx: fix a typo
2015-04-26 13:39:55 +02:00
Uwe Stöhr
3a35552a5c PDF-comment.lyx: few more fixes 2015-04-26 04:21:01 +02:00
Uwe Stöhr
2d84e2b970 PDF-comment.lyx: some fixes 2015-04-26 03:23:22 +02:00
Uwe Stöhr
8751fb1a75 FeynmanDiagrams.lyx: rename German version
it turned out that the example files that should appear in LyX's Help menu must have the same name as their English versions
2015-04-25 17:10:03 +02:00
Uwe Stöhr
d1948bb21a Feynman-Diagramme.lyx: new German translation
FeynmanDiagrams.lyx: an adjustment and added the missing note to the French translation
2015-04-25 16:59:56 +02:00
Uwe Stöhr
f38fbe0f67 FeynmanDiagrams.lyx: fix some typos and expressions 2015-04-25 02:03:50 +02:00
Uwe Stöhr
0b55f0743e French UserGuide.lyx: updates from Jean-Pierre 2015-04-17 02:18:36 +02:00
Uwe Stöhr
1ce9e4d81a UserGuide.lyx: fix a typo 2015-04-17 01:10:34 +02:00
Uwe Stöhr
7cc7e995c5 UserGuide.lyx: fix a LaTeX warning
\bf is deprecated
2015-04-17 01:03:46 +02:00
Enrico Forestieri
a63af1b93a Fix output of \lightning in math mode.
The \lightning symbol is text mode only. Hence, for using it in
mathed, it must be inserted in a text mode environment such as
\mbox, \text, etc. However, as it is not marked as textmode,
LyX "helpfully" encloses it in \ensuremath everytime one tries
to put it in a text mode environment, thus defying the countermeasure.
By declaring it textmode only, LyX stops doing that and thus it can be
correctly output by simply selecting it and hitting Ctrl-M.
2015-04-12 10:35:53 +02:00
Enrico Forestieri
046c9a4b21 Add icons for the "Fonts" math panel. 2015-04-11 23:49:06 +02:00
Uwe Stöhr
3df958b0dc MultilingualCaptions.lyx: update some menu names 2015-04-06 06:10:01 +02:00
Uwe Stöhr
1741125521 MultilingualCaptions.lyx: new German translation
- also some fixes for the other language variants
2015-04-06 03:38:03 +02:00
José Matos
5ed74b4446 Make lyx2lyx parser a bit more robust.
Ignore if the first line of a lyx file does not start with a #
Add such a line if it is missing..

Fixes bug #9279
2015-03-31 15:29:41 +01:00
Enrico Forestieri
a7970c1699 Use an info inset instead of a graphics one 2015-03-28 20:45:34 +01:00
Juergen Spitzmueller
d98618c7db Fix thinko in convert_corollary_args
Fixes: #9478
2015-03-25 09:21:42 +01:00
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