Guy Rutenberg
ca0ba7c6ad
lyxpak: Fix the common path prefix calculation.
...
The old implementation could fail in some rare cases.
2015-07-05 13:33:14 +02:00
Jean-Marc Lasgouttes
dd61d8cf3f
Revert "Auto feature for minibuffer toolbar"
...
This reverts commit fdcff02a31
.
This was pushed too early, we are not ready yet.
2015-06-30 11:09:48 +02:00
Jean-Marc Lasgouttes
fdcff02a31
Auto feature for minibuffer toolbar
...
Now the minibuffer toolbar is "auto" by default. It is opened by
command-execute (M-x) and closed when the command is executed without error.
* make lyx::dispatch return a DispatchResult struct
* there is a new MINIBUFFER type of toolbar, that can be used for this use.
* remove special handling of M-x in minnibuffer; Escape can be used instead. Fix focus in this case.
* when minibuffer toolbar is "auto", make the toolbar close itself after
- a command has been executed without error
- an empty command has been executed
- the Escape key has been used
2015-06-29 09:21:15 +02:00
Enrico Forestieri
0751f96d25
Properly account for font size when generating previews
...
Patch by Guillaume.
2015-06-25 01:39:25 +02:00
Enrico Forestieri
dd09a5cabc
Use the draft option for microtype
...
Instead of redefining \usepackage for avoiding the microtype package
when generating previews in dvi mode, the draft option can be used
for disabling it. This also allows to somewhat simplify the
fix_latex_file function.
2015-06-20 21:58:19 +02:00
Enrico Forestieri
cabc7c4be1
Fix another couple of issues spotted by Guillaume
...
* Take into account macro redefinitions in the legacy route
* Take into account macros inside nested macro definitions
2015-06-20 16:37:12 +02:00
Enrico Forestieri
98a5072a58
Fix a couple of issues with macros and previews
...
* Fix typo causing to only account for the first char of a macro name
* Also check for macros as arguments of other macros
2015-06-20 01:44:22 +02:00
Juergen Spitzmueller
bd05bf71ef
\frenchbsetup is a babel command
2015-06-19 10:11:17 +02:00
Enrico Forestieri
d3bcb90839
Remove superfluous separators
...
These were added when the user guide was converted to latest format.
Their purpose is assuring that the vertical spacing is not changed for
old documents. Given that they also assure that the bad spacings in
nested item environments is preserved, let's simply get rid of them.
2015-06-17 11:31:10 +02:00
Uwe Stöhr
1c71f1eaab
UserGuide.lyx: merge changes to all language variants
...
(The UserGuide is currently not compilable because of bug #9632 )
2015-06-17 01:23:57 +02:00
Uwe Stöhr
35f9acd11d
SpaceMarker.png: fix image
...
fixes bug #9581
2015-06-17 00:53:53 +02:00
Enrico Forestieri
cd14673834
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 17:03:32 +02:00
Enrico Forestieri
11c2b7792c
Replacement for commits bc47054b
and ad0d0f6d
...
The strategy adopted in bc47054b
had some drawbacks related to the way
instant preview snippets are generated. See the subthread starting at
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg187916.html
for details.
The strategy adopted in this commit is that of adding macro definitions
only for the macros actually used in a preview snippet, independently
of whether some macro was already used in a previous snippet. In this way
the snippets don't need to be changed according to whether they are
compiled as a whole or separately from each other. This fact was causing
the regeneration of a preview snippet whenever the cursor entered the
corresponding inset, even if the generated image would have not changed.
The problem of defining or redefining a macro is taken care by the
python scripts.
2015-06-14 18:10:29 +02:00
Uwe Stöhr
643f9ad4da
configure.py: add support for pandoc and docx
...
- make LyX aware of the docx format
- add converters to odt and docx using the program Pandoc
2015-06-14 17:27:21 +02:00
Georg Baum
f61555cf48
Improve alignment
2015-06-14 14:16:49 +02:00
Juergen Spitzmueller
ca1aea5427
Revert "remove unneeded notermination tags in unicodesymbols (bug #9615 )"
...
This reverts commit a6fdc1196b
.
The issue needs more discussion. See #9615 .
2015-06-14 13:44:50 +02:00
Georg Baum
a2f127f8c3
Fix lyx2lyx unicodesymbols escaping
...
The escaping of symbols read from unicodesymbols was inconsistent, which lead
to wrong replacements (bug 9559). Now the escaping is consistent: unicode_reps
contains unescaped LaTeX commands, the needed escaping for LyX files is
applied in put_cmd_in_ert() and lyx2latex().
2015-06-14 12:44:44 +02:00
Juergen Spitzmueller
aa4d41d282
Fix reversion of mathtools xarrows (bug #9620 ).
2015-06-14 10:47:31 +02:00
Scott Kostyshak
a7a43d0866
Update description to reflect arg improvements
2015-06-14 01:42:41 -04:00
Uwe Stöhr
1b74cc421e
lyx2lyx/lyx_2_2.py: fix typo in comment
2015-06-14 02:15:30 +02:00
Juergen Spitzmueller
77fa81a902
Fix revert_textcolor method (bug #9620 )
2015-06-13 12:48:36 +02:00
Juergen Spitzmueller
111102909b
Escape backslash
2015-06-13 11:37:36 +02:00
Georg Baum
0cd7d1f699
Support very much greater/less than
...
This is bug #9612 . The patch is from Günter Milde. He wrote:
The patch uses the "long" macro names (\llless and \gggtr) to minimize
name-clash probability. (There is, e.g., a name clash of \lll with Babel's
polish.ldf (cf. bug #6197 ))
2015-06-11 20:40:04 +02:00
Jean-Marc Lasgouttes
7da18d9db9
Add Jessica Hamilton to credits.
2015-06-11 17:41:09 +02:00
Juergen Spitzmueller
a6fdc1196b
remove unneeded notermination tags in unicodesymbols (bug #9615 )
...
Patch by Guenter Milde
2015-06-11 11:14:01 +02:00
Juergen Spitzmueller
0c8019a903
consistent replacement for CEDILLA in unicodesymbols (bug #9614 )
...
Patch by Guenter Milde
2015-06-11 11:11:26 +02:00
Uwe Stöhr
cda4589f5e
layouttranslations: pt is was renamed to pt_PT
2015-06-04 01:14:43 +02:00
Uwe Stöhr
b816dbfe54
layouttranslations: Arabic update by Hatim
2015-06-04 01:12:58 +02:00
Enrico Forestieri
5998555743
Account for the trailing optional argument of \usepackage.
...
The full syntax is \usepackage[<options>]{<name>}[<min.date>]
even if this is not documented in my old Lamport's LaTeX book...
2015-06-03 19:02:54 +02:00
Enrico Forestieri
3c3cb777d6
Missing bits from 07169c7b
...
Sorry, was forgetting this.
2015-06-03 18:43:27 +02:00
Enrico Forestieri
07169c7be2
Report how many preview snippets fail.
...
Instead of warning about latex problems that, most probably, are worked
around by the script, report how many preview snippets were not produced.
2015-06-03 17:57:09 +02:00
Jean-Marc Lasgouttes
0db513c4d6
Make case-changing lfuns operate on full words by default
...
This is for people who cannot grasp the superior conventions of emacs ;)
A new argument "partial" has been added to word-upcase, word-lowcase
and word-capitalize that restores the old emacs-like behavior.
The (x)emacs bindings are updated to use the "partial" argument, and
also to bind correctly M-u and M-l (M-c is unfortunately not
available).
Fixes bug #2826 .
2015-06-03 09:30:28 +02:00
Enrico Forestieri
0db57b6532
Correctly escape backslashes.
...
Curiously, this was already working right.
2015-06-03 01:10:45 +02:00
Enrico Forestieri
3924030e82
Fix some preview issues reported on the devel list.
...
* Provide for vector fonts only if needed.
* Make sure microtype doesn't throw a trantum in dvi mode.
* Use correct macro definition in preview insets.
2015-06-03 00:24:54 +02:00
Richard Heck
e5323de7cf
Try to fix bug #9587 correctly.
...
See the discussion there for the reasons for the changes.
2015-06-01 21:52:02 -04:00
Uwe Stöhr
098f160fc0
lyx2lyx/lyx_2_2.py: refine the colorbox reversion
2015-06-02 00:00:14 +02:00
Uwe Stöhr
945a348684
EmbeddedObjects.lyx: more updates for the box description
2015-06-01 23:03:55 +02:00
Uwe Stöhr
abc922fc27
lyx2lyx/lyx_2_2.py: fix colorbox reversion
...
fixes bug #9587
2015-06-01 21:19:11 +02:00
Uwe Stöhr
5239a27bfc
lyx2lyx/lyx_2_2.py: set correct default color
2015-06-01 20:57:45 +02:00
Uwe Stöhr
b621975fa7
lyx2lyx/lyx_2_2.py: remove unused code
2015-06-01 20:46:05 +02:00
Uwe Stöhr
8894562004
iucr.layout: adjust label alignment
2015-06-01 20:14:58 +02:00
Juergen Spitzmueller
d17abc4ddb
iucr.layout: Improve references layout, using ParagraphGroup.
2015-06-01 16:13:10 +02:00
Juergen Spitzmueller
441f8e86d1
Document ParagraphGroup layout tag.
2015-06-01 16:12:51 +02:00
Juergen Spitzmueller
eb748d6330
Make layout membership to ParagraphGroup settable (see #6854 )
2015-06-01 16:11:05 +02:00
Uwe Stöhr
af4cb6db1c
EmbeddedObjects.lyx: describe the new box features
2015-06-01 02:46:59 +02:00
Uwe Stöhr
afba823c2c
configure.py: add another OpenDocument and a Word converter
2015-05-31 20:04:07 +02:00
Uwe Stöhr
ae577fe249
configure.py: revert ee5760ef/lyxgit and [78252f1f/lyxgit]
2015-05-31 18:12:41 +02:00
Uwe Stöhr
a4a8fa5939
UserGuide: remove another print residue
...
Japanese and Spanish UserGuide: fix some references/labels
2015-05-31 04:08:54 +02:00
Uwe Stöhr
c13b044d86
UserGuide: remove description of LyX's former printing feature
2015-05-31 03:34:01 +02:00
Uwe Stöhr
ee5760ef8c
configure.py: elyxer is not provided as executable
2015-05-31 03:11:13 +02:00
Uwe Stöhr
78252f1f6a
configure.py: remove 2 unnecessary entries
...
they are double, one entry is sufficient
2015-05-31 03:06:19 +02:00
Uwe Stöhr
8d6c608de8
configure.py: partly revert previous commit
...
This should not have gone in.
2015-05-31 03:03:29 +02:00
Uwe Stöhr
5b9fef895c
configure.py: rename OpenOffice -> OpenDocument
...
these formats are OpenDocument formats OpenOffice is just one of the OpenDocument editors
2015-05-31 02:58:44 +02:00
Scott Kostyshak
1d28d90801
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 .
2015-05-30 13:40:28 -04:00
Uwe Stöhr
dd25ea2ed7
configure.py: add --nofooter option to hide elyXer's footer
2015-05-30 02:44:59 +02:00
Uwe Stöhr
0b80be42d0
iucr.layout: use Item_Environment for a style as proposed by Jürgen
...
- IUCr-article.lyx: update template accordingly
2015-05-30 00:53:43 +02:00
Juergen Spitzmueller
063de3337f
Fix test for urwclassico font (bug #9576 )
2015-05-29 10:15:17 +02:00
Uwe Stöhr
2b125cc54a
stdmenus.inc: replace R-S statements by H-P statements
2015-05-28 21:39:12 +02:00
Uwe Stöhr
a610e29c9c
hpstatement.module: just in time a new module for H-P statements
...
In June the R-SS phrase system is replaced officially by the GHS H-P statement system in the EU.
So just in time here is support for this.
No new LaTeX package is required since the already supported package mhchem provides the statements.
2015-05-28 20:36:35 +02:00
Uwe Stöhr
0ee646ea53
R-S-statements.lyx: add warning that R-S statements no longer accepted in the EU
2015-05-28 20:33:35 +02:00
Enrico Forestieri
fb5b907074
Update banner.
2015-05-28 13:14:23 +02:00
Uwe Stöhr
ba002eec84
RELEASE-NOTES: forgot this in last commit
2015-05-28 01:36:55 +02:00
Uwe Stöhr
348bc1c5b5
cua.bind: replace problematic Alt+Ctrl shortcuts
...
fixes bug #9057
2015-05-28 01:31:54 +02:00
Uwe Stöhr
cc418de1e0
chkconfig.ltx: mhchem uses now the chemgreek package
...
We use mhchem for chemical typesetting support via mathed. With the latest mhchem version chemgreek is used by default for Greek characters.
2015-05-28 01:24:48 +02:00
Uwe Stöhr
5189d7be8b
iucr.layout: new Layout file
...
IUCr-article.lyx: new template file
fixes bug #9423
2015-05-28 00:44:30 +02:00
Uwe Stöhr
47886ebbb1
jss.layout: delete an unused tag
2015-05-28 00:38:13 +02:00
Richard Heck
74a41be4b9
Update release notes after removal of print support.
2015-05-27 18:23:44 -04:00
Richard Heck
3c2b3e6907
Remove printing support from LyX.
...
This was bug #6747 .
2015-05-27 18:13:08 -04:00
Uwe Stöhr
266a047249
jss.layout: use Flex Inset for Code Chunk style as proposed by JMarc
2015-05-27 23:31:21 +02:00
Juergen Spitzmueller
7c41784834
Document that LuaTeX also uses polyglossia with "automatic" language package setting
2015-05-27 14:40:46 +02:00
Uwe Stöhr
f3c1a4fbeb
jss.layout: remove superfluous Appendix style
...
- remove also the new superfluous lyx2lyx code
- update the template file
2015-05-27 02:13:04 +02:00
Scott Kostyshak
06c7604c2e
Fix ctex.lyx template to work with TeX Live 2015
...
Apparently, using the 'nofonts' class option was incorrect
and only worked by chance before.
For more information, see the following thread:
http://tug.org/pipermail/tex-live/2015-May/036794.html
2015-05-26 07:43:57 -04:00
Uwe Stöhr
1d14541849
jasatex.layout, elsarticle.layout: remove double statement
2015-05-26 12:45:51 +02:00
Uwe Stöhr
139cd028b7
jss.layout: improve the keyboard style
2015-05-26 12:44:28 +02:00
Uwe Stöhr
9c06bd09ea
jss.layout: correct appearance of sectioning commands
...
- also 2 minor improvements
2015-05-26 12:24:24 +02:00
Uwe Stöhr
30f2accf77
jss.layout: changes as requested by the user in bug#9516
...
- added appendix style and lyx2lyx reversion
- add support for parsing \noindent
- update example file
2015-05-26 01:15:29 +02:00
Enrico Forestieri
806cfc5a8b
Virtualize the origin tag for the system directory.
...
The documents saved to the system directory have now the origin tag
prefix "/systemlyxdir/". This allows both saving them always using
the same virtual path irrespective of the real path and to let the
origin tag work out of the box also on MacOS.
2015-05-26 00:29:46 +02:00
Juergen Spitzmueller
1175d44504
Fix shortcut conflict
2015-05-25 10:50:57 +02:00
Uwe Stöhr
f69d5abffb
EmbeddedObjects.lyx: port recent changes from branch
2015-05-24 23:25:21 +02:00
Enrico Forestieri
259400325e
Replace the origin tag for documents modified before 260a98d2
2015-05-24 16:50:21 +02:00
Uwe Stöhr
e1c1b3b7e7
RELEASE-NOTES: update info about QT 4.8 on Windows
2015-05-24 15:15:47 +02:00
Juergen Spitzmueller
dbe0096c12
Rename ref prefix "sub:" to "subsec:"
...
This solves a macro conflict between subfloat's \subref and our own
\subref definition (bug #7550 )
File format change.
2015-05-24 13:50:21 +02:00
Uwe Stöhr
5f6dee3355
JSS-article.lyx: update the file
...
jss.layout: set current layout format
2015-05-24 03:41:14 +02:00
Uwe Stöhr
e6c225d582
jss.layout: support for more layouts
...
Since lyX 2.0 we support to use the in_preamble tag. This allows to support more commands. For an unknown reason I forgot the jss.layout when I updated the other layouts once.
Fileformat change
2015-05-24 03:34:36 +02:00
Enrico Forestieri
7c48bb0208
Set the origin tag to the proper directory at install time.
2015-05-24 01:24:39 +02:00
Uwe Stöhr
24b0ea7c95
lyx2lyx/lyx2lyx_tools.py: add support for parsing newline in lyx2latex
2015-05-23 23:58:19 +02:00
Uwe Stöhr
92e289a514
revtex4-1.layout: 2 more float setting changes
2015-05-23 20:15:40 +02:00
Enrico Forestieri
f9a3e2efb1
Document the new \save_orig preference variable in RELEASE-NOTES
2015-05-23 18:56:18 +02:00
Enrico Forestieri
c2a18fc142
Bump RC format for commit 260a98d2
2015-05-23 18:24:26 +02:00
Uwe Stöhr
92331787b6
powerdot-example.lyx: update according to latest layout change
2015-05-23 03:32:02 +02:00
Uwe Stöhr
985deed954
algorithm2e.module: use the new layout tags for floats
2015-05-23 03:11:07 +02:00
Uwe Stöhr
79a7e3c6fa
sciposter.layout: use the new layout tags for floats
2015-05-23 03:05:24 +02:00
Uwe Stöhr
53b75da72f
tufte-book.layout: use the new layout tags for floats
2015-05-23 02:48:34 +02:00
Uwe Stöhr
b6e9adafae
achemso.layout: use the new layout tags for floats
2015-05-23 02:44:45 +02:00
Uwe Stöhr
7508e7b9fe
powerdot.layout: use the new layout tags for floats
2015-05-23 02:42:40 +02:00
Uwe Stöhr
bc891a0cc8
revtex4-1.layout: use the new layout tags for floats
2015-05-23 02:22:49 +02:00
Uwe Stöhr
37e5079ef1
achemso.layout: uniform whitespace
2015-05-23 01:51:37 +02:00
Uwe Stöhr
a830e51c8a
layout files: add the new AllowedPlacement
2015-05-22 21:52:59 +02:00
Uwe Stöhr
1e298f6a4c
revtex4-1.layout: uniform spacing
2015-05-22 21:50:48 +02:00
Juergen Spitzmueller
f2be6d4308
Change direction of oxygen editclear icon
...
Since this is positioned to the right of the line edit,
the arrow needs to point to the left.
2015-05-22 19:36:42 +02:00