Commit Graph

8498 Commits

Author SHA1 Message Date
Georg Baum
0cbcc8a166 Remove InsetGraphics noUnzip parameter
Being able to compile document with zipped .eps files was a useful feature of
the graphicxs package 20 years ago, but the LyX support is no longer relevant:
- The flag is ignored if preview is on
- If pdflatex is used then uncompressing happens during the compilation anyway
- If set, the flag prevents LyX from issuing proper error messages if
something with the image is wrong
- For hard disk capacities from 20 years ago not uncompressing is a useful
feature, but for current hard disk capacities it does not matter
- The external inset does not have it, and if we want to merge both insets
one day we would need to implement it there, which is even more difficult
than in InsetGraphics
2015-07-16 20:44:47 +02:00
Jean-Marc Lasgouttes
7ac700920f 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

[this is actually commit fdcff02a, which was later reverted at dd61d8cf]
2015-07-15 17:41:09 +02:00
Günter Milde
3f6b034167 Fix Ticket #9607 (support comma below accent in unicodesymbols).
LaTeXFeatures defines \textcommabelow and \textcommaabove based on a 
generic \LyXTextAccent and declares TextCompositeCommands for the Baltic 
letters in the T1 font encoding, using \textcommaabove for the small letter g 
and \textcommabelow else.

This allows overwriting of the composite definition for other font encodings. 
Especially, it does not interfere with the polish/baltic font encoding L7x 
(supported by LatinModern and TeXGyre fonts)  that provides pre-composed 
glyphs.
2015-07-12 16:21:25 +02:00
Günter Milde
476a073c61 Greek subsript letters require "textgreek" flag.
Add the "textgreek" feature to entries for greek subscript letters
in "unicodesymbols".
2015-07-11 18:18:28 +02:00
Günter Milde
5a47e4bc70 Fix #9636 textgreek: restore compatibility with lgrenc.def.
Greek characters with perispomeni (tilde) accent were not properly shown
in the output document, because the "textgreek" feature re-defined \~ in
a way incompatible with lgrenc.def since version 0.8  (2013-05-13)
(package greek-fontenc).

The compatibility-definition is required for older versions of the font setup
(before the move of "lgrenc.def" from "babel" to "greek-fontenc").
It is now done with "ProvideTextCommand" to not overwrite the more complete
implementation in lgrenc.def.
With the compatibility definition, combined diacritics with tilde
must be input with the tilde first (e.g. \~>, not \>~).
"unicodesymbols" is changed accordingly.

Also, some LICRs for combining Greek diacritical characters were added to
Unicodesymbols.
2015-07-11 15:39:02 +02:00
Scott Kostyshak
27ce44df4f FontEncoding format is "utf8" instead of "utf-8"
Otherwise LyX does not recognized the encoding.

This is a follow-up of commit f7518565.
2015-07-10 20:20:46 -04:00
Günter Milde
f7518565b6 Apply #9652: fixes for the lib/language file.
Add font encodings auto-set by babel.

Set font encoding for georgian to the babel default.

Remove InternalEncoding from languages that use a font encoding
compatible to T1.

Change (LaTeX input) encoding for Serbian (cyrillic) and Romanian.

See #9652 for details.
2015-07-09 18:43:19 +02:00
Günter Milde
2a7deb802a Remove "notermination" flags from combining characters in "unicodesymbols".
This fixes bug #9615.

The "notermination" flag tells LyX, that terminating an LICR macro with {} is 
not necessary. This is normally the case for all macros with non-alphabetical
name (e.g. \{).

However, combining diacritical characters are converted to *accent macros*,
which expect an argument (the base character). 
In Unicode, the base character precedes the combining character, 
in LaTeX the combining character precedes the base character. 
LyX changes the order of the two characters to get this right,
e.g. "x" + "combining tilde" becomes "\~{x}". 

In the special case there is no preceding character (e.g. at the start of the 
document or a paragraph), Unicode shows the combining diacritical character
without base character.
The replacement is currently not "terminated" (e.g. "\~"), because of the 
"notermination=text" flags in "unicodesymbols". 
The accent macros take the *following* character as base character, which is
clearly not intended.
In case of a paragraph consisting of just one combining diacritical character,
LaTeX compilation fails with an error.

With the patch, LyX writes the accent macros with an empty argument,
e.g.  "\~{}", the output is similar to the view in the GUI with the diacritical 
character on its own, not on the follwoing character.
2015-07-09 11:54:37 +02:00
Jean-Marc Lasgouttes
f41e423b30 Small clean-up to debug support 2015-07-08 11:03:42 +02:00
Pavel Sanda
b3f97f0b8a Upate layouttranslations for he.po. 2015-07-05 15:26:52 -07:00
Enrico Forestieri
2ea3e07a23 Fix a couple of issues with filename encodings.
* Take into account the filesystem encoding for the zip export on *nix
  such that the representation of filenames in the zip archive is not
  mangled, when possible. This only concerns the way filenames are displayed
  as their creation in the filesystem was nevertheless correct.

* On Windows, try to obtain the command line parameters from the wide char
  representation by directly accessing the platform APIs through ctypes.
  This allows to also deal with filenames not exactly representable using
  the current code page and corrects a bug resulting in silently dropping
  those kind of filenames.
2015-07-05 15:45:40 +02:00
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
Juergen Spitzmueller
47dd9189eb Add more Float tags to allow to disable wide and sideways feature
Fixes: #9557, #9558

This is amended to yesterday's layout format change.
2015-05-22 18:59:17 +02:00
Juergen Spitzmueller
1d266c8cfa Indicate read-only status in tabs (#6783) 2015-05-22 10:41:12 +02:00
Juergen Spitzmueller
7dc123b790 Add Float tag to determine allowed positioning options (#7752) 2015-05-22 10:37:14 +02:00
Uwe Stöhr
bc9f1abdbb stdlayouts.inc, elsarticle.layout: uniform spacing 2015-05-22 02:35:28 +02:00
Uwe Stöhr
f9ef86a3b1 tufte-book.layout: uniform whitespace and add some whitespace for a better readability 2015-05-22 00:25:35 +02:00
Uwe Stöhr
3a63f6fc7c powerdot.layout: use the default floats
according to the powerdot manual it uses the standard floats and indeed, the float deinitions were identic to the ones in stdfloats.inc

- powerdot-example.lyx: add a slide with floats (floats are only possible with the H placement option. (assuring this will be possible with the fix for bug#7752)
2015-05-22 00:10:11 +02:00
Enrico Forestieri
cc87f3a61c Small correction. 2015-05-21 23:32:44 +02:00
Enrico Forestieri
98d3352fcd Add note about the new separator inset to RELEASE-NOTES. 2015-05-21 23:22:21 +02:00
Enrico Forestieri
db204f2e2b Correct the default size of the editclear icon. 2015-05-21 23:08:58 +02:00
Enrico Forestieri
e521ee7b78 Document the new environment separators. 2015-05-21 20:16:08 +02:00
Scott Kostyshak
613cd431c9 Revert "toc bind: 'dialog-show' -> 'dialog-toggle' (#8388)"
This reverts commit bede4d320b.

As JMarc notes [1], if we replaced show with toggle, we would lose some
functionality:

  There is one use that is not possible with this change (as I argued
  before), which is a fully keyboard-based navigation.

  With LyX 2.1, I can do C-M-o and navigate with cursor in the
  outline. I can do the same with advanced S&R. IN this sense,
  toggling is a step back IMO.

The plan now is to find another way to close the dialog (without
using toggle), such as having ESC close it or another key bind.

Ticket #8388 will stay closed because 'show' and 'toggle' are too
close for the cost of having two separate bindings.

[1] http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg187693.html
2015-05-21 08:05:36 -04:00
Jean-Marc Lasgouttes
88609b3984 Improve list of available languages for UI l10n.
Add a new tag HasGuiSupport to language file. Add it for all l10ns
that we currently ship. The po files that are unused are not currently
tagged as available, but this could be done, since the code later
checks that the translation is actually there.

This new information is used in GuiPrefs when populating the language
combox.

The new scheme implies that adding a new language is now a two-step
process:
* the language code has to be added to po/LINGUAS, as before;
* one of the entries of the lib/language file has to be selected as
  reference and be given the "HasGuiSupport true" property.
2015-05-21 10:48:38 +02:00
Juergen Spitzmueller
f70e78487e Auto-fill short title where appropriate
Addresses: #4745
2015-05-21 09:12:45 +02:00
Scott Kostyshak
bede4d320b toc bind: 'dialog-show' -> 'dialog-toggle' (#8388)
Toggling is more intuitive for this dialog.
2015-05-21 00:59:08 -04:00
Scott Kostyshak
7c0232e874 Document updating tex2lyx tests when using CMake
Since Kornel's commit at e2d41970, it is now possible to update the
tex2lyx tests with CMake. Note that this is a case where a make
target in the build directory can affect the source directory, which
might not be advisable.
2015-05-21 00:23:38 -04:00
Scott Kostyshak
27b8b06879 In aqua.bind replace an LFUN with one that exists
'menu-separator-insert' does not exist.
'specialchar-insert menu-separator' does exist.
2015-05-19 23:32:21 -04:00
Enrico Forestieri
2e78738bf0 This is supposed to end with a '/' 2015-05-19 23:18:56 +02:00
Uwe Stöhr
184a4b9d00 PDF-form.lyx: update using the new features of PassThruChars and colored boxes 2015-05-19 23:09:21 +02:00
Pavel Sanda
6f0d24f3bf Fix default style of broadway layout.
Thanks Richard.
2015-05-19 10:37:02 -07:00
Juergen Spitzmueller
139746061f Demonstrate that it is now possible to use tabs in Requires. 2015-05-19 10:18:17 +02:00
Juergen Spitzmueller
9f55ce9b04 Make RELEASE-NOTES accessible from GUI (#8616)
CMake people, please check if something needs to be done to install
lib/RELEASE-NOTES.
2015-05-19 09:57:52 +02:00
Juergen Spitzmueller
77d6028586 linguistics.lyx: document how to insert footnotes in glosses. 2015-05-19 09:42:56 +02:00
Uwe Stöhr
5a1384d35c lyx2lyx/lyx_2_2.py: remove a hack
thanks Richard "hack" ;-) for the hint
2015-05-18 22:36:29 +02:00
Enrico Forestieri
a0afd3459f Take into account the file system encoding. 2015-05-17 18:02:47 +02:00
Georg Baum
69abac9605 Improve revert of mutlicolumn
Old LyX version can cope with degenerated multicolumn cells spanning only one
column, so these should not cause a conversion of the whole formula to ERT.
Such columns are used to set border lines or alignment for single cells.
2015-05-17 16:39:14 +02:00
Juergen Spitzmueller
f7dba65e10 Customization.lyx: remove unintended switch to German 2015-05-17 13:57:12 +02:00
Georg Baum
39329935f3 Parse \multicolumn in math (bug 396)
The math parser could not handle multicolumn grids. This is a problem because
there is no true ERT in math (everything is parsed).
Now multicolumn cells are parsed correctly. The display is also somewhat OK,
but apart from that any multicolumn related UI is missing. Since the file
format change is now done the UI can be added at any later point. The most
important part of bug 396 is now fixed: tex2lyx does not create invalid .lyx
files anymore for formulas containing \multicolumn.

I updated the tex2lyx test cases that produce correct output. tex2lyx does
still produce invalid output for the test cases which are not updated because
of the previous format change.
2015-05-17 13:43:37 +02:00
Uwe Stöhr
8ede3618f0 lyx2lyx/lyx_2_2.py: fix for a lyx2lyx issue
I don't understand why the string "shadowsize" is not already in the file because when I convert from format 474 to 489 it is added. So why is it not there when I convert from format 474 to 491.
2015-05-17 02:48:22 +02:00
Uwe Stöhr
d33caae010 lyx2lyx/lyx_2_2.py: correct a value 2015-05-16 23:29:09 +02:00
Juergen Spitzmueller
b014f54250 minor corrections 2015-05-16 15:02:09 +02:00
Juergen Spitzmueller
673217593e Update comment. 2015-05-16 13:48:53 +02:00
Georg Baum
08b2859663 Do not require esint for \int (bug 9498)
We also get a consistent look with amsmath, so require esint or amsmath.
When resolving alternatives, do also take into account whether the package
is available. For this to work, we also need to test for amsmath.sty (which
was surprisingly not yet done).
2015-05-16 12:29:54 +02:00
Uwe Stöhr
88593e0ec6 support for colored boxes
adds support to set colors for some box types (support for the LaTeX commands \fcolorbox and \colorbox)

fileformat change
2015-05-16 03:22:37 +02:00
Georg Baum
e56a24dfcc Add note about updating tex2lyx tests 2015-05-15 21:20:28 +02:00
Uwe Stöhr
53be3321ba lyx2lyx/lyx_2_2.py: a fix 2015-05-15 04:21:47 +02:00
Uwe Stöhr
225ecc581f lyx2lyx/lyx_2_2.py: correct a description 2015-05-15 03:41:43 +02:00
Uwe Stöhr
e35bb3126a support for all default colors of the package xcolor
fileformat change
2015-05-14 22:23:44 +02:00
Jean-Marc Lasgouttes
7db7a7fe4e Add menu entry Document>Disable Editing
Fixes: bug #6692
2015-05-14 20:53:47 +02:00
Enrico Forestieri
a365e696e2 Take into account compressed documents when creating a LyX archive 2015-05-14 18:58:46 +02:00
Enrico Forestieri
306b136cc0 Fix bug #4812 (Layout in local directory lost on Save As, Copying)
The "save-as" part of the bug is fixed by extending the \textclass tag
such that, if a local layout file is used, its path relative to the
document directory is now stored together with the name. If a relative
path cannot be used, an absolute one is used but, in this case, the
document is not usable on a different platform.

The "copy" part is fixed by introducing a new \origin tag, which is
written when the file is saved. This tag stores the absolute path of
the document directory. If the document is manually copied to a
different location, the local layout file is retrivied by using
\origin (which is only updated on save).
This new tag may prove useful also for locating other files when the
document is manually moved to a different directory.

As in the original implementation the files needed for the layout
(for example, a latex class) had to be in the same directory as the
layout file, this directory has also to be added to TEXINPUTS.
2015-05-13 22:02:13 +02:00
Stephan Witt
e34e1e5581 #5502 correct short cut for toggle fullscreen - usually it is Control-Command-F on Mac; whitespace 2015-05-12 21:53:07 +02:00
Uwe Stöhr
8010b90cb4 add ability to change box line thickness and separation
fileformat change
2015-05-11 21:30:32 +02:00
Uwe Stöhr
5c5877b5fa stdmenus.inc: add PDF forms example to Help menu 2015-05-11 01:13:05 +02:00
Uwe Stöhr
94f6bf3367 lyx_2_2.py: fix a typo 2015-05-10 01:35:55 +02:00
Juergen Spitzmueller
760b7cf2b6 Add option to Argument to let it be inserted with a copy of the co-text.
This is useful for classic "Short Titles", where one might want to start
with the full title in the inset.

Addresses: #4745
2015-05-09 12:17:24 +02:00
Juergen Spitzmueller
ded1b4f6c8 Adapt enumii counter display to KOMA default as suggested in #3311.
Candidate for branch.
2015-05-09 11:13:28 +02:00
Georg Baum
507cc07c2d Add commented ASCII control pictures
The list was taken by a patch from Jürgen for bug #5704.
2015-05-08 22:00:40 +02:00
Juergen Spitzmueller
32341edbb7 Document PassThruChars option of argument. 2015-05-08 09:37:28 +02:00
Stephan Witt
68ee68103a #5502 add binding for full screen toggle on mac 2015-05-05 22:05:46 +02:00
Scott Kostyshak
5f7395d648 ctex.lyx: use free fonts by default
Now with TeX Live 2014 (and also with 2015), we can export ctex.lyx
with free fonts. I have confirmed that the output is correct.
2015-05-05 02:15:44 -04:00
Scott Kostyshak
b21ccc0f76 Update format of ctex.lyx 2015-05-05 02:07:04 -04:00
Uwe Stöhr
9f3d1e7773 pdfform.module: unset a PassTru
- this makes real life much easier since it saves more TeX code than with passThru
- adapt the example file accordingly
2015-05-05 01:33:11 +02:00
Uwe Stöhr
7dbf98a5e7 linguistics.module: fix 2 whitespace issues 2015-05-05 01:21:22 +02:00
Juergen Spitzmueller
23297a3108 Revert "pdfform.module: repair whitespace"
This reverts commit d2e8e44a0e.
2015-05-03 16:43:14 +02:00
Uwe Stöhr
d2e8e44a0e pdfform.module: repair whitespace
something is fishy her because commit 33a74748
destroyed the alignment for some entries
2015-05-03 16:28:06 +02:00
Uwe Stöhr
31b0af9857 PDF-form.lyx: add a note 2015-05-03 16:21:09 +02:00
Juergen Spitzmueller
f7b152581c PDF-form.lyx: make it compile if insdljs.sty is not installed. 2015-05-03 14:02:26 +02:00
Juergen Spitzmueller
33a747483e Spelling and whitespace fixes. 2015-05-03 13:58:06 +02:00
Uwe Stöhr
8932858563 PDF-form.lyx: more info and corrections
- add example how to check for numbers in text fields
- describe correctly that all fields must have a name
2015-05-03 04:37:28 +02:00
Pavel Sanda
4ecbabf5f9 Add Georger Araujo into contributors.
http://marc.info/?l=lyx-devel&m=143058265303480&w=2
2015-05-02 18:10:07 -07:00
Pavel Sanda
ad6ab20bb1 Add layouttranslations from pt_BR. 2015-05-02 17:53:53 -07:00
Uwe Stöhr
3c9442fd04 lyx2lyx/lyx_2_2.py: correct a description 2015-05-03 02:16:32 +02:00
Juergen Spitzmueller
bc47054be8 Properly fix #6369
Avoid that \newcommand[x] definitions of math macros are pushed multiple
times to the preview loader.

Redefinitions (via \renewcommand[x]) are properly handled.
2015-04-30 16:48:55 +02:00
Uwe Stöhr
8efc734f1a pdfform.module: change whitespace as requested by Jürgen 2015-04-30 01:23:47 +02:00
Uwe Stöhr
f6fde9dbb2 Merge branch 'master' of git.lyx.org:lyx 2015-04-30 01:23:03 +02:00
Uwe Stöhr
f6029f7f93 EmbeddedObjects.lyx: improve description of \cmidrule 2015-04-30 01:22:50 +02:00
Enrico Forestieri
d3eae5b9c7 Do not show previews of snippets that produce latex errors 2015-04-30 00:37:05 +02:00
Uwe Stöhr
d20bc1c883 PDF-form.lyx: add example how to validate numbers 2015-04-30 00:17:39 +02:00
Uwe Stöhr
41b39ff835 PDF-form.lyx: some more info and few adaptions
- pdfform.module: a fix
2015-04-29 22:06:00 +02:00
Enrico Forestieri
2a77dc5ec6 Forgot to escape the dot 2015-04-29 18:04:51 +02:00
Enrico Forestieri
83f2fe7045 Correct progress message
Now we also process with pdflatex the previews requiring hyperref.
2015-04-29 18:00:28 +02:00
Enrico Forestieri
2bbf775c74 Detect hyperref when generating previews
If use of hyperref is detected, the postscript route is not attempted
(because we know it will fail) and the PDF route is directly chosen.
Also account for all upper case extensions for pdflatex image files.
2015-04-29 17:29:27 +02:00
Enrico Forestieri
ca921fd650 Correctly indicate the failing converter
If epstopdf fails, pdftocairo is not called but the warning points
the finger to it. Also correctly indicate the failing file.
2015-04-29 16:20:27 +02:00
Enrico Forestieri
d44b0a19cb Amend 75f7eafd
Was forgetting this last bit from 64e0c558. Also give a message such
that the user is informed that not everything is lost if latex fails.
With this, the previews are generated also when the document directly
specifies a specific pdf output format.
2015-04-29 13:59:28 +02:00
Enrico Forestieri
75f7eafd65 Try even harder to obtain an instant preview
This is a followup commit to 691fdea3 and restores the behavior of the
script as it was intended before 64e0c558, other than taking into account
possible inclusion of files that only pdflatex can process and the
possibility of multiple defined math macros.
The instant previews in the math manual now work again.
2015-04-29 12:32:54 +02:00
Uwe Stöhr
ec7833272a pdfform.module: a simplification
- PDF-form.lyx: update accordingly and a fix
2015-04-29 01:56:43 +02:00
Pavel Sanda
558451a51d Fix broken lilipond links. 2015-04-28 09:32:09 -07:00
Uwe Stöhr
36a5f46c0d pdfform.module: a fix and a new style
- PDF-form.lyx: describe how to customize PDF action buttons and some other refinement and restructuring
2015-04-28 02:00:53 +02:00
Uwe Stöhr
853e034bad PDF-form.lyx: improvements
- enrich the examples
- add info about naming
- formatting fixes to improve the layout of the PDF
- make the document compilable also if the package insdljs is not installed
2015-04-27 22:29:48 +02:00
Enrico Forestieri
c9b553fd2f Use pdftocairo (if available) for instant preview.
If pdftocairo is detected, it is used for generating bitmaps in the
legacy method route in preference to ghostscript. This is justified
by the fact that the conversion is 4 to 5 times faster and the
quality of the generated images is superior.
2015-04-27 21:37:26 +02:00
Enrico Forestieri
691fdea346 Try hard to obtain an instant preview.
When the dvipng route is selected and latex fails, the lyxpreview2bitmap.py
script simply bails out. The failure may be due to using a specific pdf
only feature in ERT (for example, the inclusion of a pdf image).
In this case the procedure may succeed simply trying to use pdflatex
and the legacy conversion method.
2015-04-27 17:28:39 +02:00
Juergen Spitzmueller
f46d08aafd Follow-up on Uwe's whitespace amendments. 2015-04-27 10:04:15 +02:00
Uwe Stöhr
15dbe715e8 pdfform.module: correct the description 2015-04-27 03:00:27 +02:00
Uwe Stöhr
892abc5ee9 pdfform.module: new module to create PDF forms
- PDF-form.lyx: example file describing the module

No special package is required since the PDF form features are provided by hyperref.
2015-04-27 02:56:25 +02:00
Uwe Stöhr
e73f61d300 PDF-comment.lyx: some fixes 2015-04-27 02:33:38 +02:00
Enrico Forestieri
890b9a53cb Fix bug #7850 (Preview of inline math misaligned) 2015-04-26 19:08:16 +02:00
Uwe Stöhr
0e28bf916f pdfcomment.module: reintroduce whitespace mixture because of bug #9518 2015-04-26 18:25:20 +02:00
Juergen Spitzmueller
dfd4c93b78 Add Jari-Matti Mäkelä to the credits 2015-04-26 13:47:55 +02:00
Uwe Stöhr
13cb23bb20 pdfcomment.module: promote our example file in the description
- PDF-comment.lyx: port recent typo fixes to master
2015-04-26 13:41:44 +02:00
Uwe Stöhr
544b3f1774 pdfcomment.module: uniform whitespace
the file used spaces and tabs, now it uses only tabs for the whitespace
2015-04-26 04:23:10 +02:00
Uwe Stöhr
b496431881 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:08:54 +02:00
Uwe Stöhr
ea2c5f377d Feynman-Diagramme.lyx: new German translation
FeynmanDiagrams.lyx: an adjustment and added the missing note to the French translation
2015-04-25 17:01:09 +02:00
Uwe Stöhr
59b690ca9c FeynmanDiagrams.lyx: fix some typos and expressions 2015-04-25 02:03:19 +02:00
Juergen Spitzmueller
5e4e1c74e7 Document new Glosse inset and some further minor changes. 2015-04-21 20:38:47 +02:00
Juergen Spitzmueller
c886679160 Rewrite the linguistic Glosse insets.
This gets rid of the PassThru hack and makes the inset actually usable
for linguistists.

Fixes: #7773

File format change.
2015-04-21 20:33:35 +02:00
Juergen Spitzmueller
c1dcecb376 Fix version number 2015-04-21 15:48:32 +02:00
Juergen Spitzmueller
b8ed73623c Fix wrong symbol in IPA toolbar.
Richard, this shuld also go to branch.
2015-04-21 11:04:28 +02:00
Juergen Spitzmueller
11cb8997fc linguistics.lyx: small tweak. 2015-04-21 10:23:33 +02:00
Juergen Spitzmueller
039d674b2b Document forest. 2015-04-20 18:30:50 +02:00
Juergen Spitzmueller
7158f7b58d Add support for linguistic trees (via forest) 2015-04-20 18:14:42 +02:00
Juergen Spitzmueller
897b2e73a1 New (Inset)Layout tag PassThruChars 2015-04-20 18:13:49 +02:00
Juergen Spitzmueller
30ff6eedfe de/linguistics.lyx: small tweak. 2015-04-20 12:21:29 +02:00
Juergen Spitzmueller
225a37be39 Support item argument in linguistic examples
File format change.
2015-04-20 12:15:20 +02:00
Uwe Stöhr
07e8cfd9c2 French UserGuide.lyx: updates from Jean-Pierre 2015-04-17 02:19:29 +02:00
Uwe Stöhr
fc42fe4ff4 cua.bind: switch shortcuts for bold and boldsymbol
fixes bug #9413
2015-04-17 01:18:56 +02:00
Uwe Stöhr
c09326f6ac UserGuide.lyx: fix a typo 2015-04-17 01:11:36 +02:00
Uwe Stöhr
844998c20a UserGuide.lyx: fix a LaTeX warning
\bf is deprecated
2015-04-17 01:03:18 +02:00
Kornel Benko
68ad0bfb90 emacs.bind: Added shortcuts for dictionaries 2015-04-14 10:51:39 +02:00
Enrico Forestieri
df4e13de06 Tweak some icons. 2015-04-12 12:59:19 +02:00
Georg Baum
4069e3daed Update tex2lyx test references
The lyx2lyx conversions for the new formats are empty, therefore we can simply
update the format number.
2015-04-12 10:07:42 +02:00
Enrico Forestieri
0fc9b08e4d 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 00:47:18 +02:00
Enrico Forestieri
d9971802c2 Math Panels: add "Fonts" icons. 2015-04-11 23:02:25 +02:00
Enrico Forestieri
1e05adc800 Math Panels: revise the "Math spacings" svg icons. 2015-04-11 19:46:42 +02:00
Enrico Forestieri
ca58f113ff Math Panels: revise the "Miscellaneous (extended)" svg icons. 2015-04-11 16:53:10 +02:00
Juergen Spitzmueller
319ee3296a File format change caused by 34eadf5d4. 2015-04-09 11:01:44 +02:00
Scott Kostyshak
6cf81782dd Implement and bind buffer-move-{next,previous}
Control + Shift + PgDn now moves a tab to the right.
Control + Shift + PgUp now moves a tab to the left.

These keybindings are consistent with Chromium, Firefox,
Nautilus, and gnome-terminal.

Note that I allow for wrapping. This is consistent with
allowing wrapping for buffer-{next,previous}, but there
might be reasons to disable it in the future.
2015-04-08 14:12:52 -04:00
Scott Kostyshak
34eadf5d49 Fix compilation of the template ACM-sigplan.lyx
This template was only reported as failing to compile by LyX as of
0a6120cb. I do not know how long this template was actually failing
to compile without error. The problem was that the class requires
\doi to be defined. This might not have been a requirement in
previous versions of the class.

Thanks to Enrico for finding the problem and solution.
2015-04-08 13:41:59 -04:00
Scott Kostyshak
364139b49c Update a fileformat 2015-04-08 13:41:59 -04:00
Enrico Forestieri
82a0ee59d6 Math Panels: revise the "Dots" and "Delimiters" svg icons. 2015-04-08 17:59:54 +02:00
Enrico Forestieri
1ecc9e325d Math Panels: revise the "Negative relations" svg icons. 2015-04-08 12:16:22 +02:00
Enrico Forestieri
8adb877198 Math Panels: revise the "Relations (extra)" svg icons. 2015-04-07 00:50:38 +02:00
Uwe Stöhr
9ad5067bfa MultilingualCaptions.lyx: update some menu names 2015-04-06 06:10:30 +02:00
Uwe Stöhr
6d4aec1f0e lyx2lyx/lyx_2_2.py: correct a whitespace mistake 2015-04-06 06:08:26 +02:00
Uwe Stöhr
c6b17b685a support for Georgian
add support to set Georgian as document language, fileformat change
2015-04-06 06:00:11 +02:00
Uwe Stöhr
c55f68304e MultilingualCaptions.lyx: new German translation
- also some fixes for the other language variants
2015-04-06 03:36:57 +02:00
Enrico Forestieri
d03a13d4cf Math Panels: revise the "Relations" svg icons. 2015-04-03 00:36:11 +02:00
Enrico Forestieri
6dff827909 Math Panels: revise the "Operators (extra)" svg icons.
Also small tweaks to some other icons.
2015-04-02 00:27:51 +02:00
Juergen Spitzmueller
f819ca6c6f EuropassCV only supports pdflatex. 2015-04-01 09:47:53 +02:00
José Matos
908e93df50 Fix bug #9279
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..
2015-03-31 15:14:26 +01:00
Enrico Forestieri
498ca9f2bf Math Panels: revise the Operators svg icons 2015-03-31 01:15:41 +02:00
Enrico Forestieri
f191dc4961 Math Panels: revise the "Arrows" svg icons 2015-03-30 16:08:05 +02:00
Kornel Benko
7b72010408 Update doc-files due to icon rename, this time correct 2015-03-29 17:20:35 +02:00
Kornel Benko
ecf2b9f091 Update doc-files due to icon rename
promote -> outline-up
demote -> outline-down
2015-03-29 16:49:27 +02:00
Enrico Forestieri
f96e4f1bc5 Adjust docs after cb899b3f. 2015-03-28 23:39:30 +01:00
Enrico Forestieri
cb899b3fa2 Provide icons for the outline-* lfuns.
- Accordingly rename "promote" and "demote" icons.
- Add "outline-down" and "outline-up" icons.
2015-03-28 23:22:21 +01:00
Enrico Forestieri
d12920d437 Use an info inset instead of a graphics one 2015-03-28 13:13:03 +01:00
Enrico Forestieri
32f5639fbc Math Panels: revise the "Frame decorations" svg icons 2015-03-25 15:21:42 +01:00
Juergen Spitzmueller
0e62bf9e0a Fix thinko in convert_corollary_args
Fixes: #9478
2015-03-24 21:43:25 +01:00
Enrico Forestieri
3c468a3eb8 Math panels: revise the big operators svg icons. 2015-03-24 21:23:03 +01:00
Georg Baum
49ac79100b Make InsetSpecialChar names more consistent
This is the rersult of a discussion on the list. Now all special characters
have meaningful names, and it is clear that the LyX file syntax is not LaTeX.
2015-03-23 21:28:04 +01:00
Enrico Forestieri
eb5e8aba5e Also install oxygen math svg icons.
These icons have no png counterpart and hence are not catched by the shortcuts.
2015-03-22 23:16:05 +01:00
Enrico Forestieri
7da981b322 Fix crash related to the icon info inset.
When closing a document with the cursor near an icon info inset, LyX
may crash on loading again the same document. This is most probably due
to the fact that compressed svg icons are first uncompressed to a
temporary file before being used. The temporary file is then deleted
but something still expects to find it in place. The exact circumstances
that lead to the crash are unknown, and maybe there is also a race entering
the picture here. However, a document that always leads to a crash can be
found attached here: http://article.gmane.org/gmane.editors.lyx.devel/154566
This commit does not fix the cause of the crash but rather avoids it.
As a bonus, the svg icons used by LyX are not uncompressed anymore before
being used, speeding up startup time. This is not a problem, because Qt
can deal with compressed svg images.
2015-03-22 22:25:38 +01:00
Enrico Forestieri
218876da92 Math Panels: revise the Greek set of svg icons 2015-03-22 18:23:04 +01:00
Georg Baum
88c274eee7 Let imagemagick detect file format (bug #2332)
Imagemagick detects the inut file format based on contents. Therefore it does
not make sense that we prefix the to be converted file name with the extension
(assuming that the file extension matches the imagemagick format name). This
breaks formats where the extension used by LyX does not match the imagemagick
format name.
2015-03-22 10:22:31 +01:00
Enrico Forestieri
4a44dfc325 Math Panels: revise the miscellaneous set of svg icons
- Restore proportion between icons, such that, for example, \imath
  is not confused with a lower case 'l' or \textdegree with \circ
- Use real \mathbb and \mathcal TeX icons

I'll revise also the other sets in the Math Panels toolbar along
these lines. It is important to see whether a symbol has ascendents
or descendents or what is their relative size.
2015-03-21 15:33:54 +01:00
Juergen Spitzmueller
49df5ef93d SVG: text -> Path 2015-03-19 09:25:05 +01:00
Enrico Forestieri
3cd15806bd Revise svg icons for the math toolbar
- Use paths, not fonts. Have a look at the sqrt icon in the image attached
  here http://thread.gmane.org/gmane.editors.lyx.devel/154179/focus=154183
  to see what may happen when a font is not present on a given system.
- Make uniform the height of the parentheses.
- Move a couple of icons to the oxygen subdir (I was not sure it was Ok
  replacing them. If yes, they can be simply deleted).
2015-03-18 20:29:31 +01:00
Jean-Marc Lasgouttes
5b80d57d1d add "Keywords" to lyx.desktop file
Fixes bug #9414.
2015-03-17 10:17:35 +01:00
Juergen Spitzmueller
f305f0b4d8 Properly handle the bicaption package (bug #9449) 2015-03-16 20:31:38 +01:00
Jean-Marc Lasgouttes
477fddebe5 Add proper importers for Sweave and knitr.
Fixes bug #8734.
2015-03-16 18:43:51 +01:00
Juergen Spitzmueller
596fc8510e Use German localization in German europass example 2015-03-16 11:23:24 +01:00
Juergen Spitzmueller
06776f2c8f Add Stefan Swerk to the Credits 2015-03-16 10:54:02 +01:00
Juergen Spitzmueller
d02147b79e Add support for the europasscv class
Patch by Stefan Swerk
2015-03-16 10:47:17 +01:00
Juergen Spitzmueller
048b5fcb67 Better oxygen citation icon 2015-03-15 09:12:17 +01:00
Juergen Spitzmueller
c0ce194299 Oxygen svg: transform more text to paths 2015-03-15 09:02:56 +01:00
Enrico Forestieri
8fbe17c4d9 Install the svg icons. 2015-03-15 02:52:29 +01:00
Enrico Forestieri
3fb102fa8a Add last missing svg icons.
Also correctly rename an oxygen icon.
2015-03-15 02:50:17 +01:00
Juergen Spitzmueller
b717319410 Better oxygen nomencl icon 2015-03-14 17:36:54 +01:00
Juergen Spitzmueller
ddd0b327df Fix the oxygen math svg icon issues pointed out by Enrico 2015-03-14 16:21:10 +01:00
Enrico Forestieri
a9fb950845 Restore some inadvertently overwritten oxygen icons.
I did not notice that all icons in math/ are shared and in a0895046 I have
overwritten some of them. I am restoring them in the proper subdir.
Two of them, namely font.svgz and frac.svgz, give warnings that should
be addressed. Anyway, I see that these icons use fonts. They are better
substitued with paths (a menu entry in inkscape) because if the fonts
are missing on a system, the icons look different and, in general, they
may look ugly.
2015-03-14 15:58:32 +01:00
Juergen Spitzmueller
18afb6ca13 A simplistic svg banner
This is just a proof of concept. We should find somebody who can re-draw our banner (or a new one) with inkscape.
2015-03-14 15:35:33 +01:00
Juergen Spitzmueller
9c48aa2e88 Further oxygen svg fixes 2015-03-14 12:18:59 +01:00
Enrico Forestieri
a089504663 Squash last icon warnings and improve rendering at default size. 2015-03-14 08:43:58 +01:00
Juergen Spitzmueller
fae8983b25 Some more oxygen svg icon fixes
With this, all console errors when loading the oxygen set should be resolved
2015-03-13 22:26:08 +01:00
Juergen Spitzmueller
6d97b9a86e Fix rendering issue in oxygen tabular-feature_delete-column icon 2015-03-13 20:23:16 +01:00
Juergen Spitzmueller
3255491366 Fix rendering issue in oxygen promote icon 2015-03-13 19:40:22 +01:00
Kornel Benko
7683f6f55f Changed ti utf-8 encoding, otherwise python3 chokes on undecodable 0xfc character 2015-03-13 19:19:06 +01:00
Juergen Spitzmueller
3d65c5cac8 Fix rendering issue in oxygen xref icon 2015-03-13 19:04:12 +01:00
Juergen Spitzmueller
f20dac7fbe Fix rendering glitch in oxygen thesaurus svg icon 2015-03-13 18:40:42 +01:00
Enrico Forestieri
a3f8554103 Move svg icons to proper place.
You have to manually delete the lib/images/svg directory as git
tracks only files.

There may be warnings on the terminal due to some faulty icons that have
to be found and corrected. Moreover, some of the icons are not rendered
too well at the default size. These ones should be properly tweaked.
Kudos to Jürgen for putting together such a large number of icons.
2015-03-13 01:29:37 +01:00
José Matos
9a0d70a45f First step to make lyx2lyx code support both python 2 and python 3 (3.3+)
Most of the changes are related with dictionaries returning views instead of
lists.

xrange -> range (since xrange is gone in python 3)

The code that is special to support both python 2 and 3 is enclosed in a comment
 \# Provide support for both python 2 and 3
and
 \# End of code to support for both python 2 and 3

And so later it can be removed safely when python 2 is no longer supported.
2015-03-11 12:09:18 +00:00
Georg Baum
24d011117f 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 thgese symbols and know what to put into the preamble more beautiful.
2015-03-10 20:53:56 +01:00
Juergen Spitzmueller
9d824a04d1 Properly define MultiPar status of caption in the layout definition.
Also remove hardcoded paragraph break disabling.

Candidate for branch.
2015-03-10 18:31:55 +01:00
Enrico Forestieri
a78340e302 Reduce size of some svg icons.
The svg files produced by vector editors may end up containing a lot
of unused elements that increase their size without any impact on
quality. For example, this occurs when copy/pasting between images
such that unused effects or shadings simply clutter the files.
Removing these elements in some cases may reduce the size to one half
or one third of the original one, leaving unmodified the image quality.
2015-03-09 02:38:12 +01:00
Enrico Forestieri
9bcdf14e06 Add another bunch of svg icons.
Also tweaked some existing icons for better rendering at default size.
2015-03-08 20:25:40 +01:00
Uwe Stöhr
94d872696c pdfcomment.module: fix dependencies 2015-03-08 03:41:08 +04:00
Uwe Stöhr
5753760b59 MultilingualCaptions.lyx: port recent changes to master 2015-03-08 03:39:54 +04:00
Uwe Stöhr
297f607fda French MultilingualCaptions.lyx: this time really the french version 2015-03-07 13:16:35 +04:00
Enrico Forestieri
b4b02da31f Add another bunch of missing svg icons.
I also tweaked some existing icons to make them look better at default size.
Moreover, some text was replaced with paths, because the required font may
not exist on a system and font substitution would take place, making the
icons look different on different systems.
2015-03-03 15:43:10 +01:00
Georg Baum
c0041e7fa5 Fix stupid copy-paste error
Now the conversion to 2.1.x works again
2015-03-02 20:57:26 +01:00
Georg Baum
317b29dc6d Fix lyx2lyx conversion for file insets
Both the hyphen and special phrase conversion did not exclude insets which
reference external files. This was wrong since LyX does not replace
\SpecialCharNoPassThru etc for these insets.
2015-03-01 22:16:45 +01:00
Georg Baum
3e9e6e344a Replace automatic logofication with insets
Previously, LyX did replace some words with typeset logos, and there was no
way to prvent this except putting them, in ERT (bug #4752). Now we have
special insets for these words, and standard text is left alone.
2015-03-01 11:16:57 +01:00
Georg Baum
d50154ab04 Fix wrong CommandInset lyx2lyx conversion
Thanks to Scott for testing. Command insets do not use InsetText for the
arguments, so users have to write them in LaTeX syntax (this is bug #4595).
Therefore we must leave hyphens alone in these insets.
2015-03-01 10:52:13 +01:00
Uwe Stöhr
caf102558c documentation: port recent changes to master 2015-02-27 01:19:40 +01:00
Georg Baum
93be0e08a1 whitespace 2015-02-26 20:43:05 +01:00
Georg Baum
ddb82b74f0 Make convert_dashes and revert_dashes symmetric
Otherwise we could destroy math stuff.
2015-02-26 20:34:36 +01:00
Georg Baum
8aa37c43a1 Fix plaintext output of dashes (bug #3647)
Previously, consecutive dashes in .lyx files were combined to endash and emdash
in some cases, and in other cases they were output as is. This made the code
complicated, and resulted in inconsitencies ((bug #3647).
Now, a dash in a .lyx file is always a dash in the output, for all flavours.
The special handling is moved to the input side, so that you still get an
endash if you type two hyphens. If needed, this can be changed or made
customizable without the need to update the file format again. Many thanks
for the fruitful mailing list dicsussion, which contributed significantly to
the final version.
2015-02-24 22:06:12 +01:00
Juergen Spitzmueller
3d01021c88 Check for ugm font availability
Fixes: #9429
2015-02-24 07:58:40 +01:00
Uwe Stöhr
9ced7384eb UserGuide.lyx: port recent changes from branch 2015-02-24 01:56:27 +01:00
Uwe Stöhr
4ca722b4ed French manuals: sync with branch 2015-02-24 01:14:40 +01:00
Enrico Forestieri
b12ba1dd12 Missing svg icons for the default set.
I am also replacing some existing icons with reworked ones that
look better at small sizes. I think that these icons are now
comparable to the png ones as regards quality at the default size.
2015-02-23 00:23:54 +01:00
Juergen Spitzmueller
fb6665becb Comment out FontEncoding for Hebrew
This needs a specific loading order, which is handled by Hebrew babel itself.
2015-02-19 10:37:05 +01:00
Scott Kostyshak
02b3a7b35e Correct the \lyxformat of aastex template
The current format is 480. Commit 6594289d changed
the format in this file to 481, which caused the file
to not be loadable in LyX.
2015-02-18 00:15:49 -05:00
Kornel Benko
3104c105d8 eplace unparseable char in lib/configure.py.
Apparently xgettext is choking on that unicode char (\302 \240)
2015-02-17 13:24:56 +01:00
Uwe Stöhr
1b9030d861 UserGuide.lyx: port recent changes to master 2015-02-17 00:45:55 +01:00
Uwe Stöhr
4549468dc9 configure.py: change name of a converter as discussed 2015-02-17 00:44:47 +01:00
Uwe Stöhr
23f9b71187 stdmenus.inc: add PDF-comment.lyx as special manual 2015-02-17 00:24:55 +01:00
Uwe Stöhr
3bc0b26020 pdfcomment.module: add required style files
the the module requires datetime and fmtcount
2015-02-17 00:24:29 +01:00
Uwe Stöhr
6f04bfaf96 Development.lyx: add a documentation policy as requested by Scott 2015-02-17 00:12:02 +01:00
Enrico Forestieri
31a2cb5ed2 Correct name of a svg icon. 2015-02-16 16:12:09 +01:00
Juergen Spitzmueller
30ccfaade6 More documentation on InternalEncoding 2015-02-16 11:17:39 +01:00
Richard Heck
eaaeda65cb Do not show new "cropped" formats on export menu.
(cherry picked from commit 2fc44e96f5)
2015-02-15 10:59:04 -05:00
Georg Baum
f9f05c364b Unify layout categories 2015-02-14 11:35:40 +01:00
Georg Baum
ff97582e01 Fix lyxrc formatting error
Thanks to Jürgen for noticing this. I rearranged the formatting after testing,
so this slipped through.
2015-02-14 10:30:29 +01:00
Juergen Spitzmueller
712773eeed Fix reversion of beamer description overlay args
Candidate for branch.
2015-02-13 17:45:38 +01:00
Juergen Spitzmueller
b47b4299e0 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:01:57 +01:00
Juergen Spitzmueller
24d3236493 Fix conversion of frame ends when frame is nested in inset
Fixes: #9409
2015-02-13 10:15:29 +01:00
Juergen Spitzmueller
3d8b02b58e 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).

Candidate for branch.
2015-02-13 10:13:43 +01:00
Uwe Stöhr
fd10b868ca EmbeddedObjects.lyx; port recent changes to master 2015-02-13 02:18:29 +01:00
Georg Baum
70afbc82ac 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-11 22:24:04 +01:00
Uwe Stöhr
b2c761a7db configure.py: quote path to python
this fixes a path issue unveiled while inspecting bug #8478
2015-02-10 23:35:25 +01:00
Scott Kostyshak
c924692e5a CREDITS: change "--userdir" to "-userdir" 2015-02-10 11:58:37 -05:00
Scott Kostyshak
31890efaf8 Update Lior's email address 2015-02-10 11:57:35 -05:00
Scott Kostyshak
74b538f75d Add a "Development policies" section to dev manual
Writing these policies down makes it easier for newcommers to
understand guidelines and the intuition behind them.

The two policies this commit adds were responses by Georg and Richard
to two threads on the mailing list. The policies are titled
"When to set a fixed milestone" and
"Can we add rc entries in stable branch?".
2015-02-08 16:33:43 -05:00
Scott Kostyshak
460976eea8 Typo 2015-02-08 16:18:56 -05:00
Richard Heck
d70ddce841 Actually add the Beamer template. 2015-02-08 09:19:47 -05:00
Richard Heck
72395fe404 Add new Japanese beamer template from stable. 2015-02-07 10:47:28 -05:00
Juergen Spitzmueller
600a84471b Babel supports ancient Greek 2015-01-25 10:00:00 +01:00
Juergen Spitzmueller
23e8db3e5c Fixes and additions to the textcyr macros in unicodesymbols
Patch by Guenter Milde.

See #8600.
2015-01-24 17:29:41 +01:00
Juergen Spitzmueller
d7cf6ca71b Add proper font encoding to Russian and Ukrainian 2015-01-24 16:25:21 +01:00
Juergen Spitzmueller
16c33b5f6e Move font encoding information to languages. 2015-01-24 14:02:16 +01:00
Uwe Stöhr
6594289d3d aastex: fix optional argument of a command
- aastex.layout: fix name and hint of \figcaption
- aastex.lyx: improved template file
2015-01-23 00:23:37 +01:00
Kornel Benko
ecdeffb52b Added inset-select-all to emacs bindings
In emacs this shortcut means: Make region contain the current paragraph
2015-01-22 10:34:02 +01:00
Enrico Forestieri
f496ec373b Solve the "soft-hyphen" (0x00ad) symbol problem.
After the str-metrics merge, the kludge for displaying symbols whose
code point corresponds to a soft-hyphen was not working anymore.
The solution is replicating the offending glyphs with index 0x00ad
at a different index. They were replicated at 0x00ac, whose glyph
was missing in all affected fonts.

However, this would not work by alone because, if a system font with
same family name exists, it would be picked up instead of the right one
(at least on non-Windows platforms). For this reason, the style of the
fonts has been changed from "Regular" to "Lyx", so that we can discriminate
the right font. However, this requires using at least Qt 4.8. If an
older Qt is used *and* a system font with same family name is already
available, the affected glyphs will all turn out on screen as the
"logical not" symbol.

I have also set the executable flag on the font files, because on Windows
they are loaded only in this case.

This solves #9229.
2015-01-21 14:12:42 +01:00
Georg Baum
486c7cc069 Convert layout files to current format 2015-01-11 20:25:58 +01:00
Georg Baum
eb121f9993 Replace hardcoded hack with InsetLayout tag 2015-01-11 20:01:19 +01:00
Uwe Stöhr
84886d4b13 aastex.lyx: repair a broken figure float 2015-01-11 03:40:31 +01:00
Jean-Marc Lasgouttes
1e18ab586e 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-01-10 19:48:56 +01:00
Juergen Spitzmueller
706960eba4 Add Question and Question* theorem types (bug #9015)
File format change.
2015-01-09 11:24:45 +01:00
Uwe Stöhr
91859fa390 chkconfig.ltx: remove an entry that was added only for the Win-installer 2015-01-08 01:41:34 +01:00
Georg Baum
f8016af3f9 Parse subcaption.sty commands correctly (bug #8690) 2015-01-03 20:23:02 +01:00
Georg Baum
b1bfbfb3f9 Adjust subfigure and subcaption options 2015-01-03 18:43:01 +01:00
Georg Baum
c280574402 Parse tikzpicture env. correctly (bug #9011) 2014-12-30 18:49:11 +01:00
Georg Baum
cc87f81002 Fix html export of \ne (second part of bug #9372)
The fix consists of two parts: The needed infrastructure to assign HTML
entities to global math macros, and the actual fix for \ne and \neq.
2014-12-29 21:13:42 +01:00
Georg Baum
1be6f59612 Fix HTML output of \gg and \ll
This is a part of bug #9372. The remaining part (\ne) is not easy to fix,
since \ne is a predefined macro internally, so the HTML output is done for
the expanded macro, and we have no machinery to assign a HTML output to a
complete macro.
2014-12-28 18:54:19 +01:00
Scott Kostyshak
15ae3eb85c Initialize recently added forceownlines_ bool
This adds on to the fix for #8875 (a25569eb).
2014-12-20 15:05:20 -05:00
Juergen Spitzmueller
021caeeb86 We cannot convert Flex to Layout by ObsoletedBy 2014-12-10 08:15:51 +01:00
Juergen Spitzmueller
43c0149796 Update layouts to current format 2014-12-08 09:24:44 +01:00
Juergen Spitzmueller
bedccc7b98 Use ObsoletedBy in fixme and todonotes modules. 2014-12-08 09:08:46 +01:00
Juergen Spitzmueller
cfeddb9293 Add ObsoletedBy tag to InsetLayout
Fixes: #9000.
2014-12-08 09:08:45 +01:00
Uwe Stöhr
a6ac7be84c IEEEtran templates: fix language package 2014-12-03 23:33:02 +01:00
Richard Heck
1a3821fd88 Fix XHTML export for new "in title" footnotes. Builds on a patch
by JMarc.
2014-12-02 11:03:26 -05:00
Juergen Spitzmueller
a25569ebb3 Add a layout tag ForceOwnlines that assures an inset is started and terminated by a line break in the LaTeX output.
Fixes: #8875.
2014-12-01 14:56:47 +01:00
Juergen Spitzmueller
9a84737d5b Honor paragraph parameters when converting chunk layouts.
Fixes: #9320.
2014-12-01 12:35:46 +01:00
Juergen Spitzmueller
50a77ab2d1 Fix and simplify par params parsing in get_containing_layout.
The previous verion did not catch \align <alignment>.

Richard, this should go to branch as well.
2014-11-29 10:54:05 +01:00
Enrico Forestieri
417c233d07 Fix bug #9235: LyX 2.2's tex2lyx fails in general on Windows
The reason being the backslashes in the path. Note that escaping
does not work here because the path is being interpreted multiple
times (how many times I don't know) and that would be fragile.
For this same reason, the change is not limited to Windows.
2014-11-27 22:35:20 +01:00
Jean-Marc Lasgouttes
6442b3a0c0 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-11-27 16:32:58 +01:00
Juergen Spitzmueller
4066fcac16 Fix conversion of beamer block titles when the language is switched at the beginning of the title 2014-11-25 17:47:14 +01:00
Jean-Marc Lasgouttes
9b530e59c2 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.

Fixes: #2666
2014-11-21 10:23:56 +01:00
Scott Kostyshak
4eb4cbb04f 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.
2014-11-20 03:07:32 -05:00
Uwe Stöhr
e4fb40b284 symbols: support the AMS commands \l(r)v(V)ert
- fixes bug #3538
2014-11-16 23:09:28 +01:00
Georg Baum
f110ef2f41 Convert updatelayouts.sh to python
This makes the script usable on windows and speeds it up by an order of
magnitude, since no new process needs to be forked for each layout file.
It also does not conevrt .old files again.
2014-11-16 12:43:52 +01:00
Scott Kostyshak
5934827382 Typo 2014-11-15 19:22:48 -05:00
Georg Baum
0bf8b8a1d2 Load footmisc.sty instead of using outdated code
This is a patch I originally sent to lyx-devel in 2012 with subject
'Load footmisc.sty instead of using copied code from obsolete stblftnt.sty'.
It now takes all comments into account: It works also if the user loads the
package herself, it can be disabled by providing the footmisc feature in a
layout, and it does not use the ugly \AtBeginDocument{}.
2014-11-14 20:20:35 +01:00
Jean-Marc Lasgouttes
3cbdfa1762 Fix some glitches in inset-select-all
Fix a crash reported in #7727. This happened because cur.pos() was reset before cur.pit(). In this case, cur.lastpos() will usually be wrong.

Fix bad behaviour when selecting at top level with several paragraphs.

Update documentation.
2014-11-14 10:18:34 +01:00
Scott Kostyshak
95f9bafff2 Typo 2014-11-11 22:39:54 -05:00
Juergen Spitzmueller
1643fe5618 Fix font declarations. 2014-11-09 09:54:22 +01:00
Uwe Stöhr
d66be47171 PDF-comment.lyx: remove unneeded preamble code 2014-11-06 00:23:09 +01:00
Juergen Spitzmueller
1977beb5b2 cosmetics 2014-11-05 10:42:45 +01:00
Uwe Stöhr
fc13d7b814 graphicboxes.module: new module
support for the 4 boxes provided by the LateX package graphicx
2014-11-05 00:42:35 +01:00
Richard Heck
9ee9c9b97d Fix bug 9300. We need manually to convert newlines to paragraph breaks.
(cherry picked from commit 8f40d784c0)
2014-11-04 10:05:59 -05:00
Uwe Stöhr
5456b99137 pdfcomment.module and PDF-comment.lyx: some minor tweaks
- use a uniform naming scheme and a style fix as discussed
2014-11-03 23:56:42 +01:00
Juergen Spitzmueller
d485929370 small tweaks spotted by Uwe 2014-11-03 16:54:20 +01:00
Juergen Spitzmueller
9b5e565d33 remove file that was accidentally committed 2014-11-03 16:53:48 +01:00
Uwe Stöhr
55b357e0d4 PDF-comment.lyx: store in format of LyX 2.2
that works now with the proposed fix for bug #9234
2014-11-02 01:06:04 +01:00
Uwe Stöhr
98e55d0601 PDF-comment.lyx: reset style and some fixes
- the example was designed to follow the style of the other LyX documentation files, e.g. not to insert options as one big TeX-code inset.
- fix some typos
- (I cannot save files with LyX 2.2 atm due to bug #9234)
2014-11-02 00:56:55 +01:00
Kornel Benko
4436678c97 typo 2014-10-31 10:15:54 +01:00
Juergen Spitzmueller
2dff14d238 Fix the pdfcomment rewrite 2014-10-30 10:22:09 +01:00
Uwe Stöhr
0e755b86dd PDF-comment.lyx: finish description
- describe PDF-square and PDF-reply
- tune some minor other things
2014-10-30 02:17:20 +01:00
Uwe Stöhr
81390dcac9 pdfcomment.module: some fine-tuning
- use \requirePackage instead of \Usepackage
- name category properly
- reorder definitions
2014-10-30 02:16:23 +01:00
Uwe Stöhr
637747c0c7 Makefile.am: add the new PDF-comment example file
damn Git. (should have been committed together with the example file)
2014-10-29 01:23:37 +01:00
Uwe Stöhr
e9b4de9000 pdfcomment.module: fix unnecessary options I just accidentally introduced 2014-10-29 01:20:22 +01:00
Uwe Stöhr
71ed64f4e8 PDF-comment.lyx: description of the pdfcomment module
almost ready, except of the description of 2 comment types (will add them later this week)
2014-10-29 01:05:55 +01:00
Uwe Stöhr
f256f8b7b0 pdfcomment.module: total revision
this module was not usable since the preamble stuff was missing and also almost all options. But many PDF-comment types are quite useless without options.
2014-10-29 01:02:13 +01:00
Uwe Stöhr
c663a1f50a revtex4-1.lyx: simplifications and fixed typos 2014-10-28 02:36:58 +01:00
Uwe Stöhr
a1add5e804 revtex4-1.layout: update to latest REVTeX 4.1
- added support for the command \onlinecite
- some style and whitespace issues
- revtex4-1.lyx: update accordingly
2014-10-27 01:39:18 +01:00
Uwe Stöhr
206ffe03d4 revtex4-1: port changes from branch
also add the todo list to support all commands used in REVTeX's official sample document.
2014-10-26 17:20:21 +01:00
Uwe Stöhr
981389da3a 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:26:31 +01:00
Juergen Spitzmueller
b2b71d97b5 Fix grammar error spotted by Sian Mountbatten 2014-10-25 13:52:19 +02:00
Juergen Spitzmueller
38644a5b26 Fix typo spotted by Hartmut. 2014-10-25 13:46:34 +02:00
brokenclock
11e679f73e Add LFUN_SERVER_GET_STATISTICS command
This function can be used with the LyX server to obtain the word, character or character+space count in the current document or selection.
2014-10-23 16:06:42 +02:00
Jean-Marc Lasgouttes
3706d90037 Add Stéphane Mourey as contributor 2014-10-23 15:59:30 +02:00
Juergen Spitzmueller
ecafeb8638 clean up SVGs with inkscape's --vacuum-defs and --export-plain-svg 2014-10-22 15:37:27 +02:00
Juergen Spitzmueller
7ae9a7608d Remove iconsize.svgz
iconsize.png is just a helper bitmap to determine the icon size.
2014-10-22 11:58:15 +02:00
Juergen Spitzmueller
95d093496d Add href icon 2014-10-22 09:56:55 +02:00
Juergen Spitzmueller
c6db18e21f Add some SVG version for the current default set
These are SVGs from the Tango icon set as well as some theme-independent self-made icons. Many icons are missing. This set s a wild mixture of Tango, old KDE icons and some self-made icons drawing on (to me) unknown models.

I leave the task to finish this set (and thus the SVG icons generally) to others.
2014-10-21 20:09:39 +02:00
Stephan Witt
6fdb32958c #9130 Text in main work area isn't rendered with high resolution
Add a LyX banner with double resolution for displays with high resolution.
2014-10-18 15:57:21 +02:00
Juergen Spitzmueller
7bb472d685 Polishing 2014-10-16 10:36:12 +02:00
Juergen Spitzmueller
591a217a35 SVG math icon polishing 2014-10-16 10:04:37 +02:00
Juergen Spitzmueller
a956239e47 Complete math SVG icons 2014-10-15 23:32:00 +02:00
Juergen Spitzmueller
f699c8a743 Icon polishing 2014-10-15 18:03:33 +02:00
Juergen Spitzmueller
d060ef6ca9 A waggonload of SVG math icons.
These are automatically generated via the generate_symbols_svg script. Some were modified manually afterwards.

These certainly need some manual care, and a number of icons are missing (cannot be created automatically). But it is a start.
2014-10-15 16:17:51 +02:00
Juergen Spitzmueller
15d3b7bae2 lyx2lyx: fix convert_chunks for empty chunk layouts
Fixes: #9298
2014-10-15 14:07:14 +02:00
Georg Baum
a970df2a13 Add missing license information for rsfs10.ttf. 2014-10-14 21:40:17 +02:00
Juergen Spitzmueller
59a9e4c306 IPA: SVG -> SVGZ 2014-10-14 14:42:06 +02:00
Juergen Spitzmueller
39b141baef Oxygen icon set is now SVG-complete 2014-10-14 13:31:12 +02:00
Juergen Spitzmueller
bb9cbd3a94 Oxygen: SVG -> SVGZ 2014-10-14 10:11:36 +02:00
Juergen Spitzmueller
6920e56f3a Still more oxygen SVGs 2014-10-13 18:26:49 +02:00
Juergen Spitzmueller
5f1a67d6f0 more oxygen svg icons 2014-10-13 14:55:00 +02:00
Juergen Spitzmueller
22406c6eac Remove unneeded file 2014-10-13 11:21:58 +02:00
Juergen Spitzmueller
c894584d6d Some more oyxgen-style svg icons 2014-10-13 11:13:27 +02:00
Juergen Spitzmueller
8e12587910 Some more SVG icons 2014-10-10 14:01:14 +02:00
Juergen Spitzmueller
5fed02159c Fix some convert_TeX_brace_to_Argument glitches
Fixes: #9273
2014-09-16 17:42:19 +02:00
Kornel Benko
08fa62396b Add some missing files to autoconf's dist 2014-08-31 15:23:28 +02:00
Kornel Benko
6c7b5b12c7 Add cmake files to autoconf's dist 2014-08-31 15:21:20 +02:00
Juergen Spitzmueller
dc75522161 Typos. 2014-08-31 15:15:11 +02:00
Juergen Spitzmueller
87eb430395 Add support for todonotes package
Fixes: #7546
2014-08-31 14:49:30 +02:00
Juergen Spitzmueller
ccdd782b4f Add support for the fixme package.
Fixes: #8868
2014-08-31 14:38:28 +02:00
Juergen Spitzmueller
9a702f195d Add support for beamer lemma environment.
File fomat change.
2014-08-31 12:30:14 +02:00
Juergen Spitzmueller
98ab605041 Fix lyx2lyx issue with complex beamer arguments.
Fixes: #9254
2014-08-30 13:24:29 +02:00
Uwe Stöhr
94a9c127e3 support for the LaTeX commands \x***arrow
- this patch supports the \x***arrow commands provided by the mathtool package
- fileformat change
2014-08-25 00:44:09 +02:00
Scott Kostyshak
f63146c019 Insert menu accelerator 'x' now goes to box menu
Before, 'x' would go to "TeX Code" but that already has a shortcut
in the common bind files.

Reported and discussed on lyx-devel at:
https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg185082.html
2014-08-22 18:46:08 -04:00
Juergen Spitzmueller
e9681bbe08 Do not break documents with complex beamer block ERT usage we cannot handle
Fixes: #9144
2014-08-03 12:21:35 +02:00
Juergen Spitzmueller
d62ba3c333 Improve parsing of ERT arguments in beamer block titles.
Fixes: #9225
2014-08-01 09:42:43 +02:00
Scott Kostyshak
e9c1a1943b Revert "AGUTeX template/layout: support the new cls name"
This reverts commit cde8707 and changes "AGUTeX" back to "agutex".
The maintainer has changed "AGUTeX.cls" back to "agutex.cls" and has
confirmed (through private email) that he plans to keep the filename
all lowercase now that he is aware of case-sensitive file systems.
2014-07-29 15:50:52 -04:00
Juergen Spitzmueller
cc56c64ede Fix beamer block conversion when arguments are in multiple ERTS.
Fixes second part of #9208.
2014-07-27 11:30:25 +02:00
Juergen Spitzmueller
728cf1edf3 Add beamer-resenumerate (from our wiki) to the list of safe modules for argment conversion, since it is safe.
Fixes part of #9208.
2014-07-27 10:23:17 +02:00
Jean-Marc
41740ea915 Merge remote-tracking branch 'features/str-metrics'
This branch implements string-wise metrics computation. The goal is to
have both good metrics computation (and font with proper kerning and
ligatures) and better performance than what we have with
force_paint_single_char. Moreover there has been some code
factorization in TextMetrics, where the same row-breaking algorithm
was basically implemented 3 times.

Globally, the new code is a bit shorter than the existing one, and it
is much cleaner.  There is still a lot of potential for code removal,
especially in the RowPainter, which should be rewritten to use the new
Row information.

The bugs fixed and caused by this branch are tracked at ticket #9003:
http://www.lyx.org/trac/ticket/9003

What is done:

* Make TextMetrics methods operate on Row objects: breakRow and
  setRowHeight instead of rowBreakPoint and rowHeight.

* Change breakRow operation to operate at strings level to compute
  metrics The list of elements is stored in the row object in visual
  ordering, not logical. This will eventually allow to get rid of the
  Bidi class.

* rename getColumnNearX to getPosNearX (and change code accordingly).
  It does not make sense to return a position relative to the start of
  row, since nobody needs this.

* Re-implement cursorX and getPosNearX using row elements.

* Get rid of lyxrc.force_paint_single_char. This was a workaround that
  is not necessary anymore.

* Implement proper string metrics computation (with cache). Remove
  useless workarounds which disable kerning and ligatures.

* Draw also RtL text string-wise. This speeds-up drawing.

* Do not cut strings at selection boundary in RowPainter. This avoids
  ligature/kerning breaking in latin text, and bad rendering problems
  in Arabic.

* Remove homebrew Arabic and Hebrew support from Encoding.cpp. We now
  rely on Qt to do handle complex scripts.

* Get rid of LyXRC::rtl_support, which does not have a real use case.

* Fix display of [] and {} delimiters in Arabic scripts.
2014-07-25 20:10:55 +02:00
Enrico Forestieri
294d08b1bf Add forward search command for qpdfview.
Also update docs explaining how to activate reverse search in qpdfview.
2014-07-13 20:08:43 +02:00
Enrico Forestieri
d5210c555a Add some postscript and pdf viewers for Unix and Windows.
For Windows: AcroRd32 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-07-13 20:05:37 +02:00
Jean-Marc Lasgouttes
45eb314a86 Get rid of rtl_support preference
This variable was introduced to guard against any bad consequence of the then-new right-to-left
languages support. Let's be bold and get rid of it altogether!

Now right to left support is always enabled.
2014-07-09 21:11:08 +02:00
Jean-Marc Lasgouttes
9d5c947110 Remove LyXRC option force_paint_single_char
It was not honored anymore.
2014-07-08 23:12:09 +02:00
Juergen Spitzmueller
0c3b88e3cb Support for Swiss German (old spelling) 2014-07-05 13:38:55 +02:00
Georg Baum
22dcdd6d8f 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-04 19:55:44 +02:00
Juergen Spitzmueller
658edc7f43 Document pdfcomment in LaTeXConfig.lyx 2014-07-03 11:32:53 +02:00
Juergen Spitzmueller
d333d7d696 Add support for the pdfcomment package.
Fixes: #6975.
2014-07-03 11:30:56 +02:00
Juergen Spitzmueller
bdd2635ec0 Some comments 2014-07-02 14:44:38 +02:00
Juergen Spitzmueller
52c219ee29 Support for conference posters
The following poster classes are now supported:

* a0poster
* beamerposter
* sciposter
2014-07-02 14:01:28 +02:00
Juergen Spitzmueller
4a0976ceeb 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-07-02 13:48:01 +02:00
Juergen Spitzmueller
ac2d4dd7ba Babel now supports Swiss German 2014-07-02 13:19:07 +02:00
Juergen Spitzmueller
4ab4cfa690 Polyglossia now supports Austrian German 2014-07-02 13:14:11 +02:00
Scott Kostyshak
bb250e4d95 Restore compilation of AEA template for TeX Live
After the previous change this document failed to compile under
TeX Live 2013 and 2014. By using a different bib file, it
compiles. For more information, see
  https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg183786.html
2014-06-27 22:42:13 -04:00
Scott Kostyshak
e76707d9d5 AEA.lyx: update format 2014-06-27 22:42:13 -04:00
Scott Kostyshak
8c5be96164 Give more tips in beamer-article.lyx 2014-06-19 01:44:15 -04:00
Pavel Sanda
0eb94a3e61 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:50:28 -07:00
Uwe Stöhr
8cb15c218b French documentation files: port today's changes 2014-06-13 01:27:19 +02:00
Kornel Benko
1b3e4c73f8 Cmake tests: Added parser_tools test to the lyx2lyx group tests 2014-06-12 09:07:57 +02:00
Georg Baum
c1ac09e11f 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-06-07 10:54:17 +02:00
Enrico Forestieri
00547009c2 Cleanup seminar.layout after the upgrade to format 50. 2014-05-29 22:07:37 +02:00
Georg Baum
953a4d13d9 Add missing bits of layout file format update
This is needed so that the new format number is actually used. Since the
conversion is a noop I did not update the layout files (more updates will
come).
2014-05-29 21:25:08 +02:00
Georg Baum
4e078230a0 Update layouts with separators to format 50 2014-05-29 21:22:15 +02:00
Georg Baum
1187b8834e Include lyx2lyx test in tarball 2014-05-29 15:13:59 +02:00
Georg Baum
11be833a2e Execute lyx2lyx unit test when running tests
Actually lyx2lyx has a tiny unit test. Add it to the autotools test machinery
and fix it: Since nobody knew about it the test was of course broken.
2014-05-29 14:57:05 +02:00
Georg Baum
55af9cb006 Fix the fix
MAC-style (pre-OS X) line ends were not recognized anymore
2014-05-29 14:44:38 +02:00
Juergen Spitzmueller
20bcaec061 Add layout tag that determines if/when a paragraph can be indented.
Fixes: #7327, #7458, #8670
2014-05-29 14:10:32 +02:00
Juergen Spitzmueller
06cee46d7e Add some SVG versions of self-made icons found here on my box 2014-05-29 13:32:45 +02:00
Georg Baum
c75c6e446a 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.
2014-05-29 13:15:07 +02:00
Enrico Forestieri
0080201977 Avoid processing multiple times the same paragraph when converting latex arguments. 2014-05-29 11:05:34 +02:00
Enrico Forestieri
dbd4d781dc Fix an off-by-one error in the reversion of beamer documents. 2014-05-29 10:55:30 +02:00
Enrico Forestieri
da75d31948 Fix reversion of box insets. 2014-05-29 10:44:02 +02:00
Georg Baum
4cea2efe21 Native support for \notag
This is mainly needed to reduce the amount of ERT if you convert AMS example
documents with tex2lyx. No GUI support is needed, since \notag is equivalent
to \nonumber.
2014-05-27 22:17:35 +02:00
Georg Baum
5dc9568f8d Native support for \smash[t] and \smash[b]
This is a follow-up of bug #8967. The implementation is self-explaining, the
only part which needs a comment is lyx2lyx: Since a 100% correct solution is
not possible, it has been decided not to switch amsmath off in the forward
conversion if no other ams command than \smash[t] and \smash[b] is used, but
to consider it a bug that older versions do not load amsmath automatically for
these commands. In the backward direction it is easy to keep the document
compilable, so just do that.
2014-05-27 22:13:58 +02:00
Juergen Spitzmueller
c7eb04158f Clean up empty ERTs that are produced in comples beamer argument conversions 2014-05-25 22:46:42 +02:00
Juergen Spitzmueller
e8e75f45b9 Support spreaded argument delimiters in beamer block conversion 2014-05-25 22:42:44 +02:00
Juergen Spitzmueller
57664026f2 In collorary conversion, support argument delimiters spread over several ERTs
The roundtrip still has issues.
2014-05-25 15:08:08 +02:00
Juergen Spitzmueller
36051e1daa Fixes in the beamer block routine
This makes beamerlyxexample1 open after the roundtrip, but the file does not compile yet (remaining issues in other routines)
2014-05-25 15:00:38 +02:00
Scott Kostyshak
e716f1ef12 Add Sumatra as a PDF reader
It currently does not make a difference that it is before
Adobe Reader in configure.py because as Enrico points out
on Windows the default viewer configured in the OS is used.
2014-05-24 07:37:16 -04:00
Pavel Sanda
70ce2dffcf * Additional.lyx - note for windows git users.
https://www.mail-archive.com/lyx-users%40lists.lyx.org/msg98988.html
2014-05-21 11:12:02 -07:00
Juergen Spitzmueller
c21e51a4f9 Fix nesting in some beamer reversion methods.
Patch by Enrico
2014-05-21 11:37:51 +02:00
Juergen Spitzmueller
9b4160e0f8 Fix reversion of beamer overprint when a nested paragraph has an argument 2014-05-21 11:36:47 +02:00
Enrico Forestieri
cda00d8329 Fix reversion of beamer documents.
Beamer documents do not have a "--Separator--" layout but a
"Separator" one. Also fix a thinko causing the deletion of
"\end_layout" tags in some cases.
2014-05-19 19:39:51 +02:00
Richard Heck
72acf9fb27 Fix copy/paste error, and whitespace. 2014-05-19 09:41:05 -04:00
Richard Heck
eb26d85dc9 Add limits to searches in convert_TeX_brace_to_Argument. 2014-05-18 11:24:53 -04:00
Enrico Forestieri
3eefb8cfa6 Update documented command for running tex2lyx tests. 2014-05-12 23:54:50 +02:00
Georg Baum
ced24dea55 Fix lyx2lyx warning for tex2lyx files
I would not have thought that reLyX was considered, but not tex2lyx!
2014-05-12 22:06:24 +02:00
Georg Baum
9e5ecdcdce Update version 2014-05-12 21:53:27 +02:00
Richard Heck
62d4af2f9c Install lyx2lyx/lyx_2_2.py. 2014-05-12 09:16:31 -04:00
Enrico Forestieri
c668ebf611 Fix bugs #8546 and #9055, and introduce new separator inset.
The algorithm used for breaking a paragraph in LaTeX export is changed
for avoiding spurious blank lines causing too much vertical space.
This change is tied to the introduction of a new inset (with two
different specializations) helping in either outputing LaTeX paragraph
breaks or separating environments in LyX. Both of the above goals were
previously achieved by the ---Separator--- layout and can now be
accomplished by the new inset in a more natural way. As an example,
after leaving an environment by hitting the Return key for two times,
a third return automatically inserts a parbreak inset, which is
equivalent to the old separator layout, i.e., it also introduces a
blank line in the output. If this blank line is not wanted, the
parbreak separator can be changed to a plain separator by a right
click of the mouse. Of course, an environment can still be separated
by the following one by using the Alt+P+Return shortcut (or the
corresponding menu key), but now the plain separator inset is used
instead of the old separator layout, such that no blank line occurs in
the LaTeX output.

Old documents are converted such that the LaTeX output remains unchanged.
As a result of this conversion, the old separator layout is replaced by
the new parbreak inset, which may also appear in places where the old
algorithm was introducing blank lines while the new one is not.
Note that not all blank lines were actually affecting the LaTeX output,
because a blank line is simply ignored by the TeX engine when it occurs
in the so called "vertical mode" (e.g., after an alignment environment).
The old ---Separator--- layout is now gone and old layout files using it
are also automatically converted.

Round trip conversions between old and new format should leave a document
unchanged. This means that the new behavior about paragraph breaking is
not "carried back" to the old format. Indeed, this would need introducing
special LaTeX commands in ERT that would accumulate in roundtrip
conversions, horribly cluttering the document. So, when converting a
modified document to old formats, the LaTeX output may slightly differ in
vertical spacing if the document is processed by an old version of LyX.
In other words, forward compatibility is guaranteed, but not backwards.
2014-05-10 23:25:11 +02:00
Juergen Spitzmueller
769b585176 Beamer block conversion: consider ERT arguments with leading/trailing blanks
Should also go to branch.
2014-05-08 15:14:44 +02:00
Juergen Spitzmueller
ea2242b817 Monolingualization 2014-05-08 08:37:12 +02:00
Stephan Witt
f24feb9038 Until there is some more general solution… prepare 2.1 prefs migration manually. 2014-04-29 21:43:41 +02:00
Vincent van Ravesteijn
b0629c79ac lyx2lyx: Update the emergency value
Actually, this should not be hardcoded.
2014-04-29 15:50:41 +02:00
Vincent van Ravesteijn
cee8e61b2e Capitalize layout tag 2014-04-29 11:16:41 +02:00
Uwe Stöhr
2da56e8c5b French doc files: backport recent changes 2014-04-28 22:57:53 +02:00
Uwe Stöhr
40aedb5146 Merge branch 'master' of git.lyx.org:lyx 2014-04-28 22:57:23 +02:00
Uwe Stöhr
6faa9b6a14 CREDITS: add Min Ding and Roy Xia 2014-04-28 22:57:03 +02:00
Georg Baum
d6fecb4aa4 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-04-27 20:58:53 +02:00
Juergen Spitzmueller
dced492489 Fix conversion of beamer block titles that end with a non-ERT inset.
Should also go to branch!
2014-04-26 17:39:56 +02:00
Richard Heck
7e1541dd49 Fix failure to detect quoted flex insets in conversion to layout
48. Also, simplify this code.
2014-04-25 17:18:29 -04:00
Georg Baum
52d2588613 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-25 22:39:22 +02:00
Georg Baum
5710f68c34 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-25 22:12:04 +02:00
Georg Baum
2fe07e1fe1 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-25 21:35:51 +02:00
Georg Baum
cacd2a041d 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-24 21:52:32 +02:00
Scott Kostyshak
e7b16d961f Do not spellcheck "code" in logical markup module 2014-04-22 10:49:18 -04:00
Richard Heck
f83aab43e5 Whitespace. 2014-04-21 11:52:00 -04:00
Richard Heck
f80ef1a159 Typo. 2014-04-21 11:52:00 -04:00
Richard Heck
47c3b0fce7 Typos in algorithm module. 2014-04-21 11:51:59 -04:00
Uwe Stöhr
30f2c2c4e3 stdmenus.inc: add move rows/columns feature to Edit menu
fixes bug #9047
2014-04-21 11:51:58 -04:00
Richard Heck
4540e6c2ef Patch from Enrico fixing a problem with the lyxpak.py script when
"Add Bibliography to TOC" is used. Fixes #9044.
2014-04-21 11:51:58 -04:00
Richard Heck
64e0c5589c Return an error if LaTeX is unable to compile the file. 2014-04-21 11:51:57 -04:00
Scott Kostyshak
4133be11b3 Fix compilation of Springer template
Replace two images with text placeholders. This is necessary
after a860d18b moved the file back from being an example.
2014-04-21 02:57:45 -04:00
Scott Kostyshak
afdab15aa3 Fix compilation of ACM-sigplan
Compilation was failing with TeX Live 2013 because of
the format of one of the references. This commit just
changes one of the references to a different one.
2014-04-21 02:57:44 -04:00
Pavel Sanda
ce55ae201d * layouttranslations.review zh_CN checked.
https://www.mail-archive.com/lyx-users@lists.lyx.org/msg98644.html
2014-04-19 10:29:53 -07:00
Vincent van Ravesteijn
b9489e73b5 configure: Add export format for 2.1.x 2014-04-18 14:06:37 +02:00
Vincent van Ravesteijn
03a73a40d8 lyx2lyx: Add the 2.2 entry 2014-04-18 14:06:33 +02:00
Vincent van Ravesteijn
1468a40bac * doc/ja: Updates from Koji Yokota 2014-04-13 18:51:12 +02:00
Pavel Sanda
6d30cfdd69 * layouttranslations.review - nn reviewed 2014-04-11 20:23:33 -07:00
Pavel Sanda
bdc1271c39 * pt.po & layouttranslation from Jose. 2014-04-11 20:20:43 -07:00
Pavel Sanda
d9be16e1b3 * layouttranslations.review - got explicit ack for danish translation. 2014-04-11 12:49:55 -07:00
Vincent van Ravesteijn
777b8f7133 Update lib/layouttranslations
Italian translations were updated
2014-04-11 21:33:11 +02:00
Vincent van Ravesteijn
c9dd2d4624 * EmbeddedObjects.lyx: Increase version number 2014-04-11 21:17:58 +02:00
Vincent van Ravesteijn
cafe6c60f3 * fr/linguistics.lyx: Update from Jean-Pierre Chretien 2014-04-11 21:06:00 +02:00
Vincent van Ravesteijn
80dfb44171 * fr.po: Update from Jean-Pierre Chretien
In discussion with Juergen Spitzmuller was decided to just have the same translation as for the List of Tables.
2014-04-11 20:55:13 +02:00
Richard Heck
b5c2cba0b3 Fix problem with verbatim reversion. 2014-04-11 14:49:41 -04:00
Vincent van Ravesteijn
1b4986793e * nn.po: Update from Ingar Pareliussen 2014-04-11 20:44:08 +02:00
Kornel Benko
d52a462887 sk.po: Rechecked 'mathematical' context 2014-04-11 09:19:30 +02:00
Uwe Stöhr
6ad876f91a manuals: fix 2 typos spotted by Ignacio 2014-04-11 01:16:54 +02:00
Uwe Stöhr
5be328c231 Additional.lyx: update version name to "2.1.x" 2014-04-11 01:05:57 +02:00
Uwe Stöhr
5e68b12a06 Spanish manuals: translations by Ignacio 2014-04-11 01:04:58 +02:00
Uwe Stöhr
4cac31be63 French Math.lyx: re-introduce 2 formulas that got accidentally lost by the last commit 2014-04-11 00:45:41 +02:00
Uwe Stöhr
e566eac285 French doc files: translations by Jean-Pierre 2014-04-11 00:32:27 +02:00
Vincent van Ravesteijn
a79e161f51 * nl.po: Improve translation of Graph [[mathematical]] 2014-04-10 22:13:02 +02:00
Georg Baum
fe080790f1 Improve translation of "Graph" for achemso.layout
As discussed. achemso.layout contains both "Chart" and "Graph", therefore it
does not make sense to use "Graph" in the "Chart" / "Graph" / "Diagram" sense,
but in the mathematical sense like in "graph theory".
Therefore I added the context [[mathematicl]].
All translations are unchanged except the german one, which is now again
"Graph" as in 2.0.0 instead of "Schaubild".
2014-04-10 21:51:05 +02:00
Vincent van Ravesteijn
e67b3c347e * zh_CN.po: Translate "List of Listings" 2014-04-10 20:18:08 +02:00
Vincent van Ravesteijn
6dee93f26b * nl.po : Update from Vincent van Ravesteijn 2014-04-09 20:52:52 +02:00
Vincent van Ravesteijn
5ac5897198 Update layouttranslations
This string was not picked up by the script to generate the layouttranslations file. After deleting the file and re-running the script, this string was picked up.
2014-04-09 20:44:54 +02:00
Vincent van Ravesteijn
cf9c7ad108 Disable the languages Urdu and Syriac
At the moment these languages are unusable because the characters on
screen do not appear in their contextual forms.
2014-04-09 18:29:56 +02:00
Vincent van Ravesteijn
2c6264d0b0 Fix the languages entry for Urdu and Syriac 2014-04-09 18:29:52 +02:00
Pavel Sanda
faa87bf9f3 * layouttranslations.review - remove dupes 2014-04-09 08:57:26 -07:00
Pavel Sanda
64e2b3608d layouttranslations fot pt(_br) checked by Jose. 2014-04-09 08:31:31 -07:00
Pavel Sanda
9466c952c8 * layouttranslations.review - sk reviewed by Kornel 2014-04-09 08:11:34 -07:00
Pavel Sanda
7b48843c77 * layouttranslations.review - review of all langs.
This list is hard to get exactly, but tried my best according
to git blame & knowledge of translators.
2014-04-08 21:33:13 -07:00
Pavel Sanda
2cc5e04a45 ia.po - technical error in translatio 2014-04-08 21:25:23 -07:00
Pavel Sanda
951fe2e305 * layouttranslations.review - less precise but also less confusing 2014-04-08 21:06:39 -07:00
Pavel Sanda
992ec33e42 * layouttranslations.review - da - Note eems to be correct according to 9a3ba796d8. 2014-04-08 21:00:21 -07:00
Pavel Sanda
c9176c2fe1 * layouttranslations.review - ia updated in 5435701af1. 2014-04-08 20:56:41 -07:00
Pavel Sanda
3a921d7325 * layouttranslations.review - ja changes in 10d8a929. 2014-04-08 20:45:58 -07:00
Pavel Sanda
76616cfe63 * layouttranslations - zh_TW recently checked. 2014-04-08 20:42:40 -07:00
Pavel Sanda
f8bd2840b7 * layouttranslations.review - sr done at 9fc888fa65. 2014-04-08 20:34:03 -07:00
Pavel Sanda
169858d8e0 * layouttranslations.review - de seems to be updated at 050c768eef. 2014-04-08 20:29:21 -07:00
Pavel Sanda
ac273c685d * layouttranslations.review - sk done in multiple commits. 2014-04-08 20:26:24 -07:00
Pavel Sanda
20ba71f8d2 Forgotten in 0ad02c437e. 2014-04-08 20:22:41 -07:00
Uwe Stöhr
ef5ae575cf French EmbeddedObjects.lyx: translations for LyX 2.1 by Jean-Pierre 2014-04-09 00:55:49 +02:00
Vincent van Ravesteijn
7178d99792 Update layouttranslations 2014-04-06 21:53:25 +02:00
Uwe Stöhr
7c266edfa8 French splash.lyx: update fileformat 2014-04-04 01:33:35 +02:00
Uwe Stöhr
7d7cf52cae Spanish manuals: translations by Ignacio 2014-04-04 00:59:15 +02:00
Uwe Stöhr
a264d50faa UserGuide.lyx: fix 2 Typos (thanks Ignacio) 2014-04-04 00:53:29 +02:00
Uwe Stöhr
aea6ddfcb9 French splash.lyx: a fix by Jean-Pierre 2014-04-03 02:12:05 +02:00
Uwe Stöhr
2291c6289b Intro.lyx: change a sentence to avoid misunderstandings
- as reported today on the lyx-docs list
2014-04-02 01:41:52 +02:00
Vincent van Ravesteijn
72d81f3b7e lib/Makefile.am: Fix 2014-04-01 21:41:13 +02:00
Vincent van Ravesteijn
216fa28aaa lib/Makefile.am: Add missing images 2014-04-01 21:41:12 +02:00
Uwe Stöhr
0300a2ce66 Japanese EmbeddedObjects.lyx: fix a formatting 2014-03-31 23:19:13 +02:00
Uwe Stöhr
5ff8a3941b partly revert commit a860d18b5a
svmono and svmult must stay in the examples folder because they include childs
2014-03-30 17:41:02 +02:00
Uwe Stöhr
a860d18b5a template files: remove all relative paths to re-eanable to use "new from template"
- this brings back all our template files (they are no example files, would have been a regression otherwise because LyX 2.0 offers them already in "new from template")
- the thesis files will stay in the examples folder for now until we have a real fiix for bug #8643
2014-03-30 17:22:05 +02:00
Uwe Stöhr
da1a3726a5 template files: remove relative paths
this re-enables the feature to use them as "new from template"
2014-03-30 16:35:09 +02:00
Uwe Stöhr
83988bd5c6 xypic.lyx: updates from Jean-Pierre 2014-03-29 05:08:01 +01:00
Juergen Spitzmueller
4bc29abb70 elsarticle: use standard xampl bib from texmf tree (relative path does not work for templates) 2014-03-28 15:19:28 +01:00
Juergen Spitzmueller
200f1ca37b Re-enable translation of pdfpages help text (works around #9045)
Note that this is not a string change in l7n sense (see discussion in #9045)
2014-03-27 14:25:30 +01:00
Pavel Sanda
f66c72542b * cs/Tutorial.lyx 2014-03-27 01:59:00 -07:00
Pavel Sanda
311145b949 * cs/splash.lyx update 2014-03-27 01:30:29 -07:00
Pavel Sanda
e7003f5e9f * Additional.lyx (accept changes) 2014-03-27 01:16:49 -07:00
Pavel Sanda
eebbbf8555 Fix make install phase.
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg183199.html
2014-03-26 20:16:24 -07:00
Uwe Stöhr
03830ba245 Japanese docs: another update from Koji 2014-03-27 00:46:41 +01:00
Uwe Stöhr
7288a1b4dc doc files: push all changes sine master was closed and the updates from Koji 2014-03-27 00:17:25 +01:00
Uwe Stöhr
5c5d61bfe0 Japanese doc image files: updates and additions by Koji 2014-03-27 00:13:36 +01:00
Vincent van Ravesteijn
9f5739e237 Update templates to latest fileformat 2014-03-23 17:49:36 +01:00
Vincent van Ravesteijn
4e5fd8e980 Update examples to latest fileformat 2014-03-23 17:49:36 +01:00
Vincent van Ravesteijn
0d13205780 Update docs to latest fileformat 2014-03-23 17:49:35 +01:00
Vincent van Ravesteijn
84827c8705 lyx2lyx: Set last minor version of the 2.0.x series 2014-03-23 17:48:07 +01:00
Vincent van Ravesteijn
6eba310ef7 lyx2lyx: Set conversion table for LyX 2.1 2014-03-23 17:48:06 +01:00
Vincent van Ravesteijn
5d15807954 lyx2lyx: Fix conversion table for LyX 2.0 2014-03-23 17:48:02 +01:00
Vincent van Ravesteijn
aa5bf3c727 Rename break-paragraph to paragraph-break in docs 2014-03-20 22:11:14 +01:00
Vincent van Ravesteijn
7cda8f36b2 Update uifiles to latest fileformat 2014-03-20 22:11:13 +01:00
Vincent van Ravesteijn
d4ac337f0b Update bindfiles to latest fileformat 2014-03-20 22:11:13 +01:00
Scott Kostyshak
23a28e78a8 Bump RC format for commit 214f7ed2 2014-03-19 21:56:31 -04:00
Stephan Witt
97341eab7c Automatic copying and migration of elder user config directories
With a check for platform = darwin this is done on Mac only
2014-03-19 19:12:30 +01:00
Richard Heck
1c76460858 A a copule comments reminding us where preference formats should
be updated.
2014-03-19 11:05:34 -04:00
Richard Heck
717d19d3c3 Fix for bug #8939: Don't just close if the user enters a shortcut
that is already assigned.

From new contributor Roy Xia.
2014-03-15 23:05:48 -04:00
Georg Baum
5833f2609b Update layouttranslation review status 2014-03-13 21:29:27 +01:00
Vincent van Ravesteijn
0ad02c437e Update layouttranslations 2014-03-10 21:04:25 +01:00
Uwe Stöhr
dcde635d87 UserGuide.lyx: describe new output format "PDF (cropped)" 2014-03-09 21:40:01 +01:00
Uwe Stöhr
27fc428d43 UserGuide.lyx: remove a now obsolete info 2014-03-09 19:22:11 +01:00
Juergen Spitzmueller
030d75187c Re-sort credits. 2014-03-09 13:07:30 +01:00
Juergen Spitzmueller
cefbd644f3 Update credits and add Dal Ho Park. 2014-03-09 12:53:47 +01:00
Juergen Spitzmueller
2c2b5e4841 Add Korean Splash, provided by Dal Ho Park 2014-03-09 12:46:56 +01:00
Uwe Stöhr
d841229fae chkconfig.ltx: remove double entry for iftex
- also correct sorting
2014-03-09 05:36:20 +01:00
Uwe Stöhr
d8e4fb9c17 UserGuide.lyx: add another missing part of description of environment separator 2014-03-08 21:23:42 +01:00
Richard Heck
f10df83fab Revert addition of Question and Question* environments, for the
reasons discussed at bug #9015.
2014-03-08 11:38:50 -05:00
Georg Baum
ef4f2e6f50 Add review comments for translations in beta
The LyX 2.1 beta release does already contain some new layout translations
(compared to LyX 2.0.x), which have not been reviewed yet.
2014-03-08 12:36:59 +01:00
Georg Baum
188dd74618 Add two missing unicodesymbols 2014-03-08 10:59:43 +01:00
Uwe Stöhr
0e294cedda UserGuide.lyx: add missing part of description for menu Start New Environment 2014-03-08 02:34:11 +01:00
Uwe Stöhr
f1f4d7f632 UserGuide.lyx: describe the new menu Edit→Start New Environment
- also correct some changes LFUNs
2014-03-08 02:13:24 +01:00
Pavel Sanda
ee7eee24f4 Update cs layouttranslations. 2014-03-07 15:46:50 -08:00
Georg Baum
717a503fb5 Update chinese layouttranslations
We actually have a GPL statement, sorry for overlooking
2014-03-07 22:44:54 +01:00
Scott Kostyshak
b1d5671361 Add Mingyi Wu to contributors
Contribution was translations for Chinese (traditional).
2014-03-07 15:55:11 -05:00
Georg Baum
18d49ceb1d Update layouttranslations from current po files
I only left out the following:
1) chinese translation - we have no GPL statement yet, if we don't get it the
   big update would need to be removed unfortunately.
2) I kept the dutch translation for "Chart", although this is ambigous, since
   nl.po does not contain a translation
3) I kept the danish translation for "Note", since da.po does not contain a
   translation
The review file is updated as well to contain all translations without a
documented review.
2014-03-07 21:35:10 +01:00
Scott Kostyshak
b58b4df24f Fix compilation of ja/Math.lyx (see #9027)
The Japanese math manual was not compiling because of some
complications with foreign language switching. This would
have been fixed after the translation from English to Japanese
is done but I want to make sure the document is compilable
for 2.1.
2014-03-07 15:11:49 -05:00
Kornel Benko
7287e91e44 sk.po, Unify some strings (case sensitivity) 2014-03-07 12:03:22 +01:00
Georg Baum
3ceb2cdffe Add new layout translations to be reviewed
Now lib/layouttranslations.review contains all translations which have been
changed since the 2.0.0 release except for the ones where the commit log
mentioned that they were reviewed.
2014-03-06 22:41:15 +01:00
Uwe Stöhr
b8f14453be UserGuide.lyx: improve a writing style 2014-03-06 22:38:01 +01:00
Uwe Stöhr
99059742c6 German EmbeddedObjects.lyx: fix a typo 2014-03-06 00:14:04 +01:00
Uwe Stöhr
95a4fd0bbe EmbeddedObjects.lyx: describe caption above/below
- also simplify the float section structure in the UserGuide.lyx
2014-03-06 00:01:35 +01:00
Benjamin Piwowarski
908c92e831 Updates to AppleScript support, and documentaoin for it. 2014-03-05 15:46:27 -05:00
Richard Heck
3046aa0411 Fix small problem with question environment. 2014-03-05 15:37:08 -05:00
Richard Heck
dfc9dde6a9 Add Question and Question* environments to AMS modules. Fixes bug
Patch from Paul Rubin.
2014-03-05 12:31:51 -05:00
Uwe Stöhr
ab176bfbcc UserGuide.lyx: describe the Verbatim environment 2014-03-04 23:12:44 +01:00
Uwe Stöhr
c71cd6d501 stdlayouts.inc: correct spacing for verbatim
Verbatim consist of lines not of paragraphs. There is therefore no paragraph spacing in the output and thus should also exists be in LyX.
2014-03-04 22:54:28 +01:00
Scott Kostyshak
c80f1009b3 Restore 'pdf' default format of Japanese docs
This restores 895f8285 and fixes out-of-the-box compilation.
2014-03-03 14:53:47 -05:00
Scott Kostyshak
15d55c3214 instant_preview.lyx: load 'etex' package
The pgf package 3.0.0 update lead to an error being given with
this document. Loading the 'etex' package fixes the problem.
For more information, see:
  https://sourceforge.net/p/pgf/bugs/296/
2014-03-03 14:51:16 -05:00
Scott Kostyshak
afa5d05d47 instant_preview.lyx: update .lyx format 2014-03-03 14:51:16 -05:00
Uwe Stöhr
de7eb5521d Math.lyx: describe LaTeX-comment inset 2014-03-02 23:39:35 +01:00
Uwe Stöhr
40b7883161 Math.lyx: describe \smashoperator and how to insert ^ and _ 2014-03-02 22:21:12 +01:00
Uwe Stöhr
b340d026ed Math.lyx: describe \underbracket and \overbracket 2014-03-02 21:02:15 +01:00
Uwe Stöhr
878cdcd25d Math.lyx: describe mathtool's \xarrow commands 2014-03-02 20:01:02 +01:00
Uwe Stöhr
c5901f3402 Math.lyx: describe command \splitfrac 2014-03-02 18:31:18 +01:00
Uwe Stöhr
6b35bb7544 Math.lyx: describe command \shortintertext 2014-03-02 03:00:40 +01:00
Uwe Stöhr
f09fc24f0c chkconfig.ltx: add package filehook
filehook.sty is required when you use non-TeX fonts and also the non-TeX math default font
In the same context LyX requires the font "latinmodern-math.otf", but we can currently not check for it, see my post to the list
2014-03-02 00:37:32 +01:00
Uwe Stöhr
61ed9a71cd UserGuide.lyx: describe LyX's new extended font support 2014-03-01 14:02:29 +01:00
Uwe Stöhr
2a8de1b23d EmbeddedObjects.lyx: describe the usage of \mbox 2014-02-27 23:52:30 +01:00
Scott Kostyshak
5cb4e11932 Fix compilation of es/EmbeddedObjects.lyx
Since a2e8cb75, \lstlistingname is localized. Redefining it
in the preamble is not necessary and in fact since f4dd0ba5
leads to a compilation error.
2014-02-27 09:47:30 -05:00
Juergen Spitzmueller
a83d595dfb Fix \caption* definition (see #8993) 2014-02-26 07:57:57 +01:00
Prannoy Pilligundla
214f7ed262 Allow statusbar to be set on or off in full screen mode as a
preference.
2014-02-25 20:48:56 -05:00
Uwe Stöhr
2d8e4be632 English EmbeddedObjects.lyx: fix table formatting 2014-02-24 00:42:54 +01:00
Uwe Stöhr
d54444c17a EmbeddedObjects.lyx: describe \caption* in longtables 2014-02-23 23:39:41 +01:00
Uwe Stöhr
015c7fcc1f EmbeddedObjects.lyx: accept changes and update preamble 2014-02-23 03:57:06 +01:00
Scott Kostyshak
3f9e71f2c2 Add new Japanese files to Makefile.am
Patch from Koji Yokota.
2014-02-21 13:57:11 -05:00
Pavel Sanda
e991539759 Forward search: add Enrico's comment from uses list. 2014-02-20 00:27:00 -08:00
Uwe Stöhr
a780443338 stdtoolbars.inc: add icons for \xleftarrow.png
LyX supports \xleftarrow since years but an icon in the toolbar was missing
2014-02-19 23:42:40 +01:00
Georg Baum
8f1cbe000e Fix bug #4036 (lyx2lyx produces invalid LyX 1.4.x)
I should have had a closer look much earlier, since the fix is simple and
safe, but at that time I did not notice. The problem was that an invalid
.lyx document was created when converting unicode characters with two
backslashes in their LaTeX definition from lib/unicodesymbols to pre-unicode
LyX format.
2014-02-19 21:56:00 +01:00
Stephan Witt
cfe9724a4c add -fobjc-exceptions for compiling linkback sources with g++ and cmake on Mac
Original patch is from Ramanathan Vishnampet
2014-02-19 16:11:03 +01:00
Uwe Stöhr
bd7dad25a2 stdtoolbars.inc: move \sideset to frame decorations
The frame decoration IconPalette contains already \overset etc. and \sideset has the same logic like \over- and \underset. Moreover we should keep the math panel clean and avoid the listing of many very special commands
2014-02-19 01:09:18 +01:00
Scott Kostyshak
7f82b8391a Restore 'pdf' default format of Japanese docs
This restores 895f8285 and fixes out-of-the-box compilation.
2014-02-17 21:24:06 -05:00
Scott Kostyshak
87864020b4 Add Dustin J. Mitchell to contributors 2014-02-17 09:42:32 -05:00
Uwe Stöhr
8fa950fb31 Math.lyx: use inset-info instead of images for LyX-icons (final part)
- Japanese Math.lyx: correct an image path
2014-02-16 20:11:31 +01:00
Uwe Stöhr
225a48d0a7 stdmenus.inc: correct 2 expressions 2014-02-16 20:06:23 +01:00
Uwe Stöhr
7ce1c583cb UserGuide.lyx: correct more text styles (hopefully now all)
- German UserGuide.lyx: add missing index entry
2014-02-16 19:32:11 +01:00
Uwe Stöhr
ddcad89460 UserGuide.lyx: correct more text styles 2014-02-16 19:20:55 +01:00
Uwe Stöhr
17e260cda0 UserGuide.lyx: correct some text styles
- German UserGuide.lyx: update some outdated info
2014-02-16 19:11:06 +01:00
Uwe Stöhr
560ca9aba3 cua.bind, math.bind: whitespace fixes: use consistently tabulators 2014-02-16 18:50:27 +01:00
Uwe Stöhr
e3a34bd2f9 Math.lyx: use inset-info instead of images for LyX-icons (part 2)
- also add info about special relations
2014-02-16 18:36:13 +01:00
Uwe Stöhr
256fe5b43d Math.lyx: use inset-info instead of images for LyX-icons (part 1) 2014-02-16 17:39:29 +01:00
Uwe Stöhr
33a152942f UserGuide.lyx: fix some shortcut issues after [ea8248fc/lyxgit]
- German UserGuide.lyx: add missing image showing the abstract environment
2014-02-16 17:26:51 +01:00
Scott Kostyshak
eb53788f3a csv2lyx: use universal newlines when reading CSVs
Patch from Dustin J. Mitchell.
2014-02-16 00:07:43 -05:00
Uwe Stöhr
eb8a1dc6f1 UserGuide.lyx: describe new support for \listoflistings 2014-02-16 03:30:55 +01:00
Uwe Stöhr
54b2c01b63 Math.lyx: describe command \adjustlimits 2014-02-16 03:07:56 +01:00
Uwe Stöhr
8f663ea33e Math.lyx: update description for command \mathclap 2014-02-16 02:11:08 +01:00
Uwe Stöhr
aba0aeaf25 UserGuide.lyx: describe new supported negative spaces 2014-02-16 01:05:24 +01:00
Juergen Spitzmueller
ea8248fc13 Fix key bindings for math space (#8974) 2014-02-15 10:02:44 +01:00
Uwe Stöhr
deeec7d4e1 Math.lyx: describe new support for \hspace* etc. 2014-02-15 05:05:28 +01:00
Uwe Stöhr
aa6c0fef2f Math.lyx: describe new support for command \sideset 2014-02-15 02:37:22 +01:00
Juergen Spitzmueller
30a01da78f Support (black) card suites in text mode (#8971) 2014-02-13 15:23:15 +01:00
Jean-Marc Lasgouttes
2b1791641f Fix various typos in LFUNs.lyx 2014-02-13 14:20:43 +01:00
Jean-Marc Lasgouttes
e7a1cce551 Rename some LFUN names to match their text name
Also, rename copy-label-as-reference to label-copy-as-reference and update LFUNs.lyx accordingly.
2014-02-13 13:50:33 +01:00
Juergen Spitzmueller
ea25b62b1b again update FUNs.lyx 2014-02-13 10:44:12 +01:00
Juergen Spitzmueller
f1531b2f90 LFUNs.lyx improvements 2014-02-13 09:55:40 +01:00
Uwe Stöhr
6b115051a0 Math.lyx: fix a package loading logic mistake 2014-02-13 01:41:43 +01:00
Georg Baum
93be9cdc93 Fix typo and add a note about ResetsFont default
This was missing in 6b49b6b129, and I did not find it because of the typo.
Thanks Uwe for reminding me.
2014-02-11 19:25:23 +01:00
Uwe Stöhr
ecbf5920ed chkconfig.ltx: uncoment check for cbgreek
We don't need to check for every exotic package and this one is also very large. Due to nowadays new speed limit of some CTAN servers, downloading the package takes ages and therefore a fresh installation on Windows often times out. The advantage of the automatic package installation on Windows is therefore a disadvantage in case of this package.
2014-02-10 23:53:52 +01:00
Uwe Stöhr
94fbef6c86 Math.lyx: describe support for command \utilde 2014-02-10 23:07:32 +01:00
Georg Baum
6b49b6b129 Fix conflicting inset font defaults (bug #8874)
This makes the defaults of Inset::inheritFont() and Inset::resetFontEdit()
compatible. There is no user visible change except for the Chunk inset which
does not produce invalid LaTeX after editing operations anymore.
This is the safe version for 2.1.0, for later there are still open questions:
- All insets with ResetsFont true should be audited: Is this really needed,
  or do they show similar editing problems as the Chunk inset?
- Does inheritFont() need to be customizable in the layout file as well?
- Is resetFontEdit() != !inheritFont() needed at all?
I did not use change tracking for the docs, since I updated all existing
translations.
2014-02-10 22:06:32 +01:00
Juergen Spitzmueller
e621229ee3 update FUNs.lyx 2014-02-10 09:31:46 +01:00
Uwe Stöhr
dfa49c0b22 Math.lyx: some preamble fixes for \cancel support 2014-02-10 02:52:49 +01:00
Uwe Stöhr
65ff346f3f Math.lyx: describe new support for cancel 2014-02-10 02:01:27 +01:00
Uwe Stöhr
d0209eb286 UserGuide.lyx: add info about widows and orphans
(thanks Helmut for this info)
- German UserGuide.lyx: add missing section about proper names
2014-02-10 01:15:52 +01:00
Pavel Sanda
f9c53c6e87 * Additional.lyx - SVN has been tested to some degree (#8937). 2014-02-07 23:37:51 -08:00
Richard Heck
0ded71a480 Fix silly mistake spotted by Jurgen.
Give k a more descriptive name.
Prettify a bit of the code.
2014-02-07 10:36:55 -05:00
Juergen Spitzmueller
9d6c2bf407 Fix lyx2lyx chunk conversion (bugs #8877, #8876) 2014-02-06 10:11:02 +01:00
Juergen Spitzmueller
28abb40c1b Add missing refprefixes for theorems (#8781)
Original patch by Paul Rubin
2014-02-06 09:18:12 +01:00
Uwe Stöhr
991810b9e2 UserGuide.lyx: describe the new paste modes 2014-02-06 04:05:05 +01:00
Georg Baum
ac2c91be02 Document paste options (bug #8749)
As discussed in trac. Unformatted Text is removed, since it is too similar to
Plain text, adn nobody knows why it is needed in the standard menu. The lfun
is kept, so users can easily activate it in private ui files if needed.
2014-02-05 21:53:02 +01:00
Uwe Stöhr
915002ed42 UserGuide.lyx and Math.lyx: use and describe LyX's native visible space 2014-02-03 02:22:24 +01:00
Uwe Stöhr
e8de2df4f9 stdmenus.inc: move menu entry of visible space
the visible space is a character and should therefore be treated as special character (also proposed by Jürgen)
2014-02-03 00:32:45 +01:00
Richard Heck
1f231c9538 Typo. 2014-01-31 09:38:00 -05:00
Richard Heck
d0af587ab4 Update algorithm module to format 48. 2014-01-31 08:54:01 -05:00
Uwe Stöhr
90b38f31fc UserGuide.lyx: fix a typo spotted by Hartmut 2014-01-30 01:12:20 +01:00
Uwe Stöhr
1981e1f352 French Customization.lyx: updated by Jean-Pierre for LyX 2.1 2014-01-30 00:41:30 +01:00
Uwe Stöhr
44e8c6d45d documentation files: more updates
Changelog:
UserGuide:
- sec. 3.3.4.4: "opt" renamed to "short title"; only one short title
- sec. A.4.23: short title only visible...
- sec. A.5.4: Forward Search, clarify section reference
- sec. B: description of searching in submenus

Customization Manual:
- sec. 3.1:
	- changed View->View (Other Formats)->DVI to  Document>View (Other Formats)->DVI
	- In second and fourth paragraph changes 2 "View" menu to "Document"
2014-01-30 00:14:59 +01:00
Uwe Stöhr
6902cfcf25 documentation: first step to update the UserGuide
changelog:

- sec. A.3.3: menu of outline has changed -> therefore correction in
	- sec. 3.7 of Tutorial
	- sec. 2.5: of UserGuide
	- sec. 6.2.1: of UserGuide
- sec. A.3.4: name changed to "source pane" -> therefore correction in
	- sec. 2.1 of Additional
	- sec. 6.12.4: of UserGuide
- sec. A.3.5: name changed to "Messages Pane"
- sec. A.3.15 -> A.3.6: Toolbar menu shifted
- sec. A.3.6 -> A.6.4: view Document menu shifted -> therefore correction in
	- sec. B.20 of UserGuide (not yet in Japanese)
	- sec. C.7.2 of UserGuide (not yet in Japanese)
	- sec. 2.1.1 of Tutorial (not yet in Japanese)
	- sec. 2.1 of Additional (not yet in Japanese)
	- sec. 7.3.3.4 of Additional (not yet in Japanese)
- sec. A.3.7 -> A.6.5: view other Document menu shifted
- sec. A.3.8 -> A.6.6: Update view menu shifted
- sec. A.3.9 -> A.6.7: Update view other menu shifted
- sec. A.3.10 -> A.6.8: view master menu shifted
- sec. A.3.11 -> A.6.9: Update master menu shifted
2014-01-29 20:00:55 +01:00
Richard Heck
f9de88c53c Remove the shebang line from our python scripts, per Jose's suggestion.
Fedora ships these chmod 644 and has never seen a problem. The advantage
to doing this is that it better controls what version of python we are
using to launch the script, and it will reveal if we're somehow somewhere
not controlling that properly.
2014-01-28 12:52:16 -05:00
Juergen Spitzmueller
aa764f751c some minor translation work 2014-01-27 15:21:19 +01:00
Kornel Benko
68d3688421 Added emacs bindings for window-{new,close} functions 2014-01-27 12:52:31 +01:00
Juergen Spitzmueller
12cb5aae85 Update beamer documentation wrt environment-split 2014-01-27 08:03:54 +01:00
Juergen Spitzmueller
5a3f1a731f Extend environment-split to an 'outer' split function
This fixes a major beamer UI flaw reported by several users.
2014-01-27 08:01:24 +01:00
Juergen Spitzmueller
35e64bf951 Allow usage of algorithm2e package (#8744)
This simple module allows users to use the algorithm2e package at all. Before, it was not possible with LyX, since this package conflicts with LyX's own algorithm support (see also #8728)
2014-01-26 19:23:40 +01:00
Richard Heck
5d94d1b3bf Use "#!/usr/bin/env python", as elsewhere. 2014-01-26 11:38:41 -05:00
Juergen Spitzmueller
a7a585c7bd beamer conversion: deal with more complicated block titles 2014-01-24 09:24:12 +01:00
Scott Kostyshak
27131e655a Shortcut box now stays open if bad input (#8703)
This allows the user to correct the bad input without
having to enter the other fields again in a new dialog.

Patch from Martin Hoffmann.
2014-01-14 08:04:05 -05:00
Scott Kostyshak
e17c1d0e73 Typo fix in doc/fr/Tutorial.lyx
Spotted by Regis Bouguin.
2014-01-11 08:22:30 -05:00
Scott Kostyshak
94c4a4afdc Update file format of doc/fr/Tutorial.lyx 2014-01-11 08:22:30 -05:00
Scott Kostyshak
e2ded6e046 Update the link to AGU files in documentation 2013-12-25 23:28:49 -05:00
Scott Kostyshak
6f41779f5d JASATeX: add note that it fails with system fonts
The JASATeX class is currently unmaintained. Also, this
commit moves the system font tests from inverted to ignored
(otherwise lualatex and xelatex run in infinite loops).
2013-12-25 23:28:48 -05:00
Scott Kostyshak
5380783ccd Update file format of JASA.lyx 2013-12-25 23:28:48 -05:00
Juergen Spitzmueller
a5c6d10395 beamer.lyx: work arounf language nesting problem when compiling with polyglossia 2013-12-14 13:06:25 +01:00
Juergen Spitzmueller
50066b46ab Improve beamer conversion: Support default list overlay specification without ERT 2013-12-13 14:55:34 +01:00
Juergen Spitzmueller
cb887ce49f Sharpen the lyX icon a bit 2013-12-13 14:06:56 +01:00
Pavel Sanda
d350cc4f8b Add appdata.xml, provided by Matej Cepl.
AppData is an emerging standard (hopefully not distro-specific) for the
description of applications in various app stores.

http://people.freedesktop.org/~hughsient/appdata/ is the home page of
the standard.

http://blogs.gnome.org/hughsie/2013/09/27/frikin-awesome-apps-without-appdata/
is the call for providing new appdata.xml files.
2013-12-11 19:51:16 -08:00
Georg Baum
ee08aefeac Add some missing unicode math symbols
and fix wrong ones. This fixes the safe part of bug #8888. The symbols
provided by mdsymbol.sty have to wait, since mdsymbol.sty provides a huge
number of symbols, I don't have the time right now to process them all, and
a partial file format update does not make sense.
2013-12-11 20:58:28 +01:00
Scott Kostyshak
033b49df13 Add note to es/europeCV.lyx and invert Xe and Lua
Export with XeTeX and LuaTeX (with either non-tex fonts or 8-bit
compatibility mode) does not work because the loading of inputenc with
utf8x is hardcoded in europecv.cls at this time.

This commit adds a note to es/europeCV.lyx explaining the problem and
inverts the XeTeX and LuaTeX tests.

See
http://comments.gmane.org/gmane.editors.lyx.devel/145896

Thanks to Günter Milde for the advice and to Ignacio García
for the translation of the note.
2013-12-06 12:13:14 -05:00
Scott Kostyshak
84c12ab6ed lyx2lyx es/europeCV to prepare a clean next commit 2013-12-06 12:13:01 -05:00
Juergen Spitzmueller
0aaf2f2008 Improve beamer frame conversion: frame arguments that use multiple ERTs (one ERT inset per argument) are converted 2013-12-06 11:57:33 +01:00
Juergen Spitzmueller
ac7f7dbdce Factor out identical frame argument conversion 2013-12-06 10:53:49 +01:00
Scott Kostyshak
fb034884ac Fix noweb2lyx, Literate, and listerrors examples
This is a manual lyx2lyx fix. Some of the problematic chunks
are not correctly converted with lyx2lyx so this commit manually
converts them to ERT.

For more details, see:
  http://marc.info/?t=137702744100010&r=1&w=2
2013-12-03 02:18:07 -05:00
Scott Kostyshak
b2c8ac0e78 Add NoWeb -> XeTeX converter
Now the examples noweb2lyx.lyx and Literate.lyx can be
exported to the pdf4 format.
2013-12-03 02:15:37 -05:00
Juergen Spitzmueller
25da36a978 Beamer manual: add some notes on specific part behavior 2013-11-19 15:24:30 +01:00
Pavel Sanda
f76b16eb3c Add Gilad to contributors. 2013-11-17 10:50:59 -08:00
Juergen Spitzmueller
7e259c8d76 Do not reset custom space values if accessed via context menu (#8847) 2013-11-15 19:41:36 +01:00
Georg Baum
de800ad149 Fix wrong description screen font (bug #8869)
paper.cls formats the description label without bold, so LyX should do the
same on screen. Note that simply removing the Series line does not help,
because Description is already defined in some include.
2013-11-14 21:14:08 +01:00
Scott Kostyshak
6f488a9ef2 Hebrew docs: move bookmarks inside of pdflatex if
This fixes XeTeX export of the Hebrew documents.
2013-11-11 22:01:48 -05:00
Scott Kostyshak
828db4287d Fix export of Greek Intro manual with XeTeX
This is a workaround. Without this patch, export to .tex (XeTeX)
contains a sequence such as

  \begin{english}
  \begin{description}
  [omitted, but does not contain \end{description}]
  \end{english}

Thanks to Jürgen for the workaround.
2013-11-11 21:56:57 -05:00
Scott Kostyshak
2756b43f1c Fix XeTeX export when using heb-article.layout
polyglossia is used by default and \make@lr is only defined
by babel. Modifying the preamble fixes XeTeX export and pdfTeX
continues to work.

See the following thread for more information:
  http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg181220.html

Thanks to Enrico for the patch.
2013-11-11 21:56:57 -05:00
Georg Baum
14a5d07df6 Fix encoding for copying LaTeX from clipboard
If we call tex2lyx on a temporary file created from the clipboard, the
file is always in utf8 encoding, without any temporary changes, even if it
contains encoding changing LaTeX commands. Therefore, we must tell tex2lyx
to use a fixed utf8 encoding for the whole file, and this is done using the
new latexclipboard format. Previously, tex2lyx thought the encoding was
latin1.
As a side effect, the -e option is now also documented in the man page.
2013-11-11 21:52:14 +01:00
Juergen Spitzmueller
73ab0fb665 We only have the last LyX release in the export menu (the others are accessible via SendTo and SaveAs dialogs)
In general, the export menu looks much too crowded again. Should be audited if really all these items are needed on top level.
2013-11-11 09:48:56 +01:00
Juergen Spitzmueller
36769e4323 enumitem module: one forgotten adaptation to new argument possibilities 2013-11-11 09:45:40 +01:00
Juergen Spitzmueller
8af913102c powerdot: fix argument order with empty first argument 2013-11-11 09:44:50 +01:00
Juergen Spitzmueller
0f18bc753c Improve beamer frame conversion: consider explicit EndFrames between two identical frame types 2013-11-11 09:16:17 +01:00
Georg Baum
e4c3a329e4 fix copy-paste error 2013-10-31 21:45:51 +01:00
Scott Kostyshak
ea89d17dd4 Put RJournal.layout in the report category
Also add author details.
2013-10-13 15:12:45 -04:00
Tommaso Cucinotta
9680f392b0 Documenting new checkbox for math-only search of advanced find & replace. 2013-10-13 11:48:07 +01:00
Scott Kostyshak
f79d8839cd Fix XeTeX of Formula-numbering.lyx
XeTeX export works after removing the unnecessary
hyperref package option 'hypertex'.
2013-10-10 02:23:23 -04:00
Scott Kostyshak
f50550c4b9 New Japanese translations of the examples
Note that knitr.lyx, lilypond.lyx, and sweave.lyx do not
currently export because of #8823.
2013-10-07 18:34:45 -04:00
Scott Kostyshak
8de58715fa Japanese docs: updates from Koji 2013-10-07 18:34:45 -04:00
Scott Kostyshak
895f828589 ja: change default output format from pdf3 to pdf
dvipdfmx emits a lot of warnings and Koji suggests ps2pdf.
Thanks to Koji for the advice.

Note that on Debian, I installed the following packages
to be able to compile with ps2pdf:

fonts-takao-mincho
fonts-ipafont-nonfree-jisx0208
fonts-ipaexfont-mincho
2013-10-07 18:33:58 -04:00
Juergen Spitzmueller
e461a61204 Clarify instructions on how to set up the thesaurus 2013-10-07 18:50:37 +02:00
Juergen Spitzmueller
15af5ef59a One more clarification on the thesaurus setup 2013-10-07 15:37:38 +02:00
Juergen Spitzmueller
c5c9e26fee Clarify instructions on how to set up the thesaurus (#8811) 2013-10-07 15:26:45 +02:00
Scott Kostyshak
a19611c573 Remove obsolete code in Math.lyx
These workarounds are no longer necessary because of unicodesymbols
and further they break compilation with XeTeX as well as pdfTeX
with TeX input encoding set to ascii or utf8.

Thanks to Günter Milde for the fix.
2013-10-06 16:39:52 -04:00
Vincent van Ravesteijn
7583a8ce25 Fix EOLs 2013-10-06 05:57:53 +02:00
Vincent van Ravesteijn
513e753a52 Update LFUNs.lyx 2013-10-06 05:52:15 +02:00
Vincent van Ravesteijn
10d8a92905 Update layouttranslations 2013-10-06 05:52:15 +02:00
Enrico Forestieri
ea2ec54eb6 Was forgetting these two icons. 2013-10-06 13:45:48 +02:00
Enrico Forestieri
004472d3b6 Replace remaining autogenerated math icons. 2013-10-06 13:39:43 +02:00
Scott Kostyshak
b65a368c04 xypic workaround for avoiding an assertion (#8860)
The text should look the same.
2013-10-01 18:17:09 -04:00
Enrico Forestieri
1d47e3aa61 Restore original icons inadvertently replaced in a7182e42. 2013-09-29 23:12:42 +02:00
Enrico Forestieri
a7182e427f Replace autogenerated icons for the math toolbar
The autogenerated icons are in most cases ugly, do not conform to the
style of the other icons, and do not respect relative dimensions and
positions. The math icons have a vertical dimension of 19 pixel, defining
a grid that has to be respected for obtaining correct alignment.
The only autogenerated icons that remain are those of the Misc (extra)
toolbar. I plan to also replace them in the near future.
2013-09-29 22:51:27 +02:00
Scott Kostyshak
2c6eab541f Move AGU_article.lyx to the attic
Exporting this outdated document currently hangs on some systems.
Further, there is no natural link between AGU and DocBook
and this could be confusing to a user who is looking for
the AGU template.
2013-09-27 23:57:20 -04:00
Stephan Witt
f768aadc88 add Option-Tab resp. Option-Shift-Tab for buffer-next/previous because Control-Tab doesn't work anymore 2013-09-27 19:53:58 +02:00
Enrico Forestieri
70dbc0c6ff Better icon for inset citation.
The previous one could be more easily associated to bookmarks rather
than to citations.
2013-09-18 14:12:09 +02:00
Scott Kostyshak
56ca770e79 Tufte examples: note how to add 'ols' option 2013-09-15 21:45:22 -04:00
Juergen Spitzmueller
6102e4c39c fr/Intro.lyx: Correction by Jean-Pierre 2013-09-15 17:02:04 +02:00
Juergen Spitzmueller
c2d076a640 Do not use 'unsafe' tipa shortcuts
Turns out they are, well, unsafe (i.e. conflict with existing 'core' macros).
2013-09-13 15:41:12 +02:00
Kornel Benko
631d019269 Changed texclass to make attic/revtex.lyx compilable 2013-09-09 10:21:20 +02:00
Pavel Sanda
3482adeed8 * Additional: add note for okular. 2013-09-07 18:39:17 -07:00
Pavel Sanda
a9d43a2c8b * Additional.lyx - next xdvi glitch spotted by Fabio. 2013-09-07 18:28:52 -07:00
Juergen Spitzmueller
8df9b24896 Add bindings for argument-insert 2013-09-07 11:11:11 +02:00
Scott Kostyshak
1a96a9cf72 xyfigure, xypic: parser warnings and typesetting
This fixes several long "unusual contents found" warnings that
were being written from LyX's math parser and improves the
typesetting.

Thank you to Enrico for the fix. See here for his explanation:

http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg180763.html

There are still two such warnings that might indeed be serious,
one each in fr/xypic.lyx and ja/xypic.lyx. I get an assertion
from cursor movement in those insets with instant preview enabled
(on both current trunk and branch).
2013-09-07 00:55:24 -04:00
Pavel Sanda
b32b5c7949 * Additional.lyx - fix lyxeditor.sh example.
Different shells seem to have different taste.
http://www.mail-archive.com/lyx-users@lists.lyx.org/
2013-09-05 11:00:26 -07:00
Juergen Spitzmueller
19845612ae Adjust svmono example to default tocdepth value 2013-09-05 12:28:47 +02:00
Juergen Spitzmueller
78f7a7fb10 svmono.layout: correct TocDepth value 2013-09-05 12:27:59 +02:00
Juergen Spitzmueller
af8f7f808b Fix installation of springer examples 2013-09-04 13:48:08 +02:00
Juergen Spitzmueller
62b45896a7 Unify string (part of #8826) 2013-09-03 19:29:49 +02:00
Juergen Spitzmueller
4741cb99c7 Improve beamer collorary argument conversion (#8828) 2013-09-03 19:02:28 +02:00
Juergen Spitzmueller
8cd8f2d0c1 Reset arguments in theorem definition to avoid argument clash (#8827) 2013-09-03 17:44:35 +02:00
Scott Kostyshak
0f5589e2a1 Add outline-{up,down} to alt-{up,down} binding
Now when the cursor is in e.g. a Section layout, alt-<down>
will dispatch 'outline-down'. Before, it would dispatch a
'paragraph-down', which I think makes less sense.
2013-09-01 17:45:46 -04:00
Kornel Benko
abe7eef13c Replace the remaining bad urls with accsessible ones
Now all urls we use in our provided lyx-files
(doc, examples, templates)
use urls which really exist.

(If a url was meant merely as an example,
it was not touched, but added to file 'knownInvalidURLS'.)
2013-08-30 17:28:46 +02:00
Juergen Spitzmueller
c25f339f3f Fix shortcut clash (#8813) 2013-08-30 11:37:48 +02:00
Kornel Benko
4f043fba4d Cmake build tests: href entries checked
Our lyx-files are referencing urls also with
a href inset. We check now also these.

search_url.pl: Added check for href
*.lyx: Corrected href
2013-08-28 19:51:19 +02:00
Kornel Benko
73e03bb7d8 Replaced some more invalid urls 2013-08-28 18:07:28 +02:00
Kornel Benko
b94d0e35d3 Replaced some invalid urls 2013-08-28 16:50:23 +02:00
Scott Kostyshak
4d2dfe046f Japanse docs: Remove non-arg 'MenuString'
'MenuString' is currently implemented only for arguments.
2013-08-27 04:54:28 -04:00
Scott Kostyshak
ec058c3872 Fix ja/EmbeddedObjects.lyx index issues
See #8786 for details.
2013-08-23 23:35:41 -04:00
Scott Kostyshak
57a4018c4e Fix Basque Intro ('Chapter' layout does not exist)
The 'Chapter' layout does not exist in standard article class.
I demoted all section-type layouts. Thus, "Chapter" became "Section",
"Section" became "Subsection" and "Subsection" became "Subsubsection".
2013-08-23 23:03:26 -04:00
Scott Kostyshak
cde87070e5 AGUTeX template/layout: support the new cls name
'agutex.cls' was renamed to 'AGUTeX.cls'.

Further, the new .cls now contains bug fixes and is required for
submission to the AGU journals.
2013-08-23 15:34:56 -04:00
Scott Kostyshak
defc1953be Revert "Automake fix after 66dfbab8bb65"
This reverts commit 78b4c3f80f.

JMarc's fix of my poor commit is no longer needed.
2013-08-23 15:34:56 -04:00
Scott Kostyshak
75f004a7f4 Revert "AGUTeX template/layout: support the new cls name"
This reverts commit 66dfbab8bb.

This was a poor commit for more than one reason.
Thank you to Juergen for help on this.

See the following for more details:
http://comments.gmane.org/gmane.editors.lyx.devel/148425
2013-08-23 15:34:56 -04:00
Juergen Spitzmueller
fb225b26f1 Add shortcuts to some Theorem argumentsnts (as requested in #8809) 2013-08-23 11:29:08 +02:00
Scott Kostyshak
3ebdbe65d3 Update RJournal.layout to v0.12 of RJournal.sty
Without this, the template gives a BibTeX error because
there are two \bibstyle commands in the .aux.

This would have broken backwards compatibility but RJournal.layout
has not yet been in a LyX release. Further, the journal made a
significant change (moving to a single column instead of two)
so any submitter would need to update the .sty anyway.
2013-08-21 16:15:15 -04:00
Scott Kostyshak
0ccde6590d RJournal.layout: package 'url' is already provided
This fixes an option conflict error when using
RJournal.sty v0.12 (the newest).

Previous versions of the .sty also provided 'url'
so they should still work with the layout.
2013-08-21 15:53:47 -04:00
Jean-Marc Lasgouttes
78b4c3f80f Automake fix after 66dfbab8bb 2013-08-21 11:49:25 +02:00
Scott Kostyshak
66dfbab8bb AGUTeX template/layout: support the new cls name
'agutex.cls' was renamed to 'AGUTeX.cls'.
2013-08-20 15:38:04 -04:00
Scott Kostyshak
2c2fe23921 Default output of all Japanese docs is now 'pdf3' 2013-08-20 03:00:57 -04:00
Scott Kostyshak
a0172272b6 Fix ja/UserGuide.lyx index issues
Patch sent by Koji (see #8786 for details).
2013-08-20 03:00:11 -04:00
Juergen Spitzmueller
63d1719bf1 Assure bibtex is used for documents that use bibtex
Manuals, examples and templates that use (traditional) bibtex should have set the bibliography processor to bibtex. Else, these documents do not compile if a user has set the processor to 'biber' in the preferences
2013-08-19 11:19:26 +02:00
Juergen Spitzmueller
97138ce283 Fix index problem in German UG (part of #8793) 2013-08-17 12:21:58 +02:00
Juergen Spitzmueller
4347046bb6 Bind unicode glyph 0x2026 to \dots
The macro is identical to \ldots in texted, but this way, tex2lyx can import both \ldots (as InsetSpecialChar) and \dots (as unicode glyph), while retaining the original distinction (which might get relevant with some special packages or via user redefinition of one of these macros).
2013-08-17 10:18:26 +02:00
Scott Kostyshak
210d590d4f *-cropped: move the example out of the note
This provides a working examples that can be viewed directly
and makes the templates compilable out-of-the box.

When moving the example, I removed what I interpreted to be
an errant apostrophe.
2013-08-16 03:54:14 -04:00
Scott Kostyshak
7e8b1e9e9d AGU_article: Change defualt output format to xhtml
This document does not export to PDF. Further, if one tries
to export to PDF on some systems, the process hangs. This commit
thus changes the default output format to xhtml and explains in a
note at the top that LyX does not currently support exporting this
document to PDF.

Note also that this document seems to be outdated and so is a
candidate for attic.

Further, this document is a candidate for being renamed. Currently
users might be confused if they are looking for the canonical way
(no need for DocBook) to write an article for AGU journals. For
that, they should use AGUTeX.lyx.
2013-08-16 03:40:57 -04:00
Scott Kostyshak
beaf51a0a6 Fix ectaart.lyx reference labels
The labels for the references are now in the format
"author(year)". Without this, the following error is given:

  "Bibliography not compatible with author-year citations"

Thanks to Richard for the fix.
2013-08-15 15:54:59 -04:00
Scott Kostyshak
0422f79685 Put bib in Note so revtex4-1 compiles out-of-box
Otherwise the following error is reported:

  "couldn't open database file your-bib-file.bib"
2013-08-15 02:26:57 -04:00
Scott Kostyshak
3471874ed0 Move ACM-siggraph to examples (#8643)
This fixes out-of-box compilation, continuing f5cf21d7.
2013-08-15 02:16:07 -04:00
Kornel Benko
7e89a2d5b1 Make more tests compilable
revertedTestst: aa_samply.lyx compiles without change
*_Additional.lyx: bad include path after moved to attic
2013-08-14 14:24:20 +02:00
Richard Heck
bac7708d4b The koma-script book class numbers equations by chapter. 2013-08-09 11:33:52 -04:00
Scott Kostyshak
1052732e66 Japanese docs: translations from Koji 2013-08-05 19:15:56 -04:00
Scott Kostyshak
93e566be52 LilyPond: English typo 2013-08-05 04:58:40 -04:00
Vincent van Ravesteijn
2ceca32d2b Update layouttranslations 2013-08-04 18:05:44 +02:00
Vincent van Ravesteijn
f794d49336 Update LFUNs.lyx 2013-08-04 16:41:02 +02:00
Scott Kostyshak
f5cf21d725 Move templates with paths to examples (#8643)
When a user creates a new document from a template, the template
is copied but relative paths are not changed, so the resulting
.lyx file is broken. By moving documents with relative paths to
examples, the files will compile out of the box.

A long-term solution that allows for relative paths in templates
is still desired and will be discussed in #8643 or in a new ticket.
2013-08-04 15:56:42 +02:00
Scott Kostyshak
5bacf85b48 AEA.lyx fixes
- add a citation (otherwise BibTeX complains)
 - change citation style to Natbib (author-year)
 - fix a typo
2013-08-04 15:21:00 +02:00
Scott Kostyshak
a984498aee Makefile.am: add RJournal.{lyx,layout} entries 2013-08-04 15:06:55 +02:00
Scott Kostyshak
0c961941c6 Typo 2013-07-31 18:10:16 -04:00
Scott Kostyshak
dd609f56c3 ja/splash.lyx: default output is now dvipdfm(x) 2013-07-28 01:48:05 -04:00
Uwe Stöhr
5a95f822d4 Japanese UserGuide.lyx: update fileformat 2013-07-27 23:57:52 +02:00
Uwe Stöhr
88ec176e88 Japanese docs: translations and corrections from Koji 2013-07-27 23:43:54 +02:00
Richard Heck
3d36751849 Convert "i = i +1" to "i += 1" and similar. 2013-07-24 10:59:51 -04:00
Richard Heck
0a6e781aea Somehow this line got commented out. 2013-07-24 10:57:36 -04:00
Richard Heck
dad943ad6c Fix dumb mistake. 2013-07-24 10:56:33 -04:00
Richard Heck
c1ead6afa1 Simplify a bunch of lyx2lyx code. 2013-07-24 09:56:02 -04:00
Richard Heck
2cdf3d2f6e Remove debugging code. 2013-07-24 09:48:11 -04:00
Richard Heck
96bb5f6dd7 Move helper functions where they belong. 2013-07-24 09:47:14 -04:00
Richard Heck
556a195033 Fix problem with Initial layout conversion reported by Scott on
the list.
2013-07-24 09:41:59 -04:00
Scott Kostyshak
d3c9f2e34c Change default of Japanese docs to dvipdfm(x) 2013-07-22 23:38:35 -04:00
Richard Heck
0cf30671d3 Add Josh Hieronymous. 2013-07-20 09:40:03 -04:00
Richard Heck
c89a42682d Fix mis-spelling of "contirbutor". 2013-07-16 17:26:20 -04:00
Scott Kostyshak
5225821242 Prevent zombie processes (#8774)
Using Systemcall::startscript() with Starttype::DontWait used to create
zombie processes, as nobody would collect them. This patch starts those
processes as detached, hence preventing them from becoming zombies.

In addition to #8774, this bug was also reported here:
https://bugs.launchpad.net/ubuntu/+source/lyx/+bug/1096666

Patch from Guy Rutenberg. For reference, see this email thread:
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg180034.html
2013-07-16 01:02:28 -04:00
Georg Baum
89b2c54c00 Fix wrong space symbols (#8729)
The main part of the fix (unicodesymbols) is from Jürgen. This commit fixes
tree problems:
- \; etc. were also used in text mode, but are math only
- all of those glyphs need to be forced with utf8
- actually, \; etc. are not the correct macros, since the encoded spaces are
  breakable, but the math spaces are all protected. The sapce symbols are not
  defined in the utf8 encodings.
2013-07-13 22:43:31 +02:00
Scott Kostyshak
dda0d24c7c Fix Spanish tufte-{book,handout} bib paths 2013-07-13 22:42:56 +02:00
Georg Baum
822e171762 Fix inconsistent version in .lyx files (#7951)
LyX, lyx2lyx and tex2lyx produce now all the same version indicator consisting
only of the major and minor version. It is not decided yet whether future
development versions will add a -dev suffix, but for 2.1.0 this change fixes
the inconsistencies.
2013-07-13 16:02:26 +02:00
Juergen Spitzmueller
f7ac0f7bda Fix a typo 2013-07-08 10:27:00 +02:00
Juergen Spitzmueller
50426600db Fix beamer frame conversion 2013-07-04 18:25:04 +02:00
Uwe Stöhr
ef4018f68e German UserGuide.lyx: fix a typo spotted by a user 2013-06-26 23:20:01 +02:00
Uwe Stöhr
e44e0aef6a German UserGuide.lyx: fix a typo spotted by Stephan 2013-06-26 23:11:29 +02:00
Uwe Stöhr
f61f5e2116 Spanish Additional.lyx: fix a wrong language tag 2013-06-26 00:28:36 +02:00
Uwe Stöhr
f07cf5a1f6 Spanish Additional.lyx: translations for LyX 2.1 from Ignacio 2013-06-26 00:17:57 +02:00
Richard Heck
c6a08bc442 Somehow forgot HTML tags for Paragraph and Subparagraph.
Vincent, this is totally trivial and so should be fine.
2013-06-11 14:30:15 -04:00
Uwe Stöhr
08b245b6fe Additional.lyx: describe some more multicolumn features 2013-06-05 01:10:10 +02:00
Uwe Stöhr
b470bce9e7 doc files: remove outdated files
- all files ware the last time updated before 2007 (they are probably even older) and do only lead to confusions because of outdated/wrong info
2013-06-04 23:04:55 +02:00
Uwe Stöhr
915e228a87 Slovakian Userguide: remove completely outdated file
- this file described things from LyX 1.2 and also misses several chapters
2013-06-04 22:33:08 +02:00
Uwe Stöhr
5ff31c6da5 Customization.lyx: correct latest layout format
Merge branch 'master' of git.lyx.org:lyx
2013-06-04 22:21:06 +02:00
Vincent van Ravesteijn
d27668841b Update layouts to latest fileformat 2013-06-04 19:48:19 +02:00
Vincent van Ravesteijn
ae2d0e0d43 Update format of lyxrc.default
No changes are necessary.
2013-06-04 19:37:58 +02:00
Uwe Stöhr
7eb42abba6 UserGuide.lyx: ad info for spell checkers under Linux
- patch by Ignacio
2013-06-03 21:08:10 +02:00
Uwe Stöhr
f2fb7afe34 Customization.lyx: update layout file format
- also some small corrections and German translations
2013-06-03 20:43:11 +02:00
Uwe Stöhr
65f4942c1a shapepar.module: correct naming scheme
- we use uppercase for all words in all other layouts
2013-06-03 20:26:30 +02:00
Uwe Stöhr
26e7c42a09 Basque Additional.lyx: put file into attic
- this file is hopelessly outdated (and even misses complete chapters)
2013-06-03 20:13:14 +02:00
Uwe Stöhr
dc9cf3f84c Polish Additional.lyx: put file into attic
- this file is hopelessly outdated (and even misses complete chapters)
2013-06-03 19:30:44 +02:00
Richard Heck
89ced5c3c3 Fix problem with chunk lyx2lyx conversion spotted by Scott.
We assume chunks come at us in a certain form. If not, then
we cannot handle the conversion. In that case, we just leave
the chunks as they were and they will appear as unknown layouts.
2013-06-03 13:01:39 -04:00
Vincent van Ravesteijn
d20956594b Revert part of "Pass the encoding to the japanese pLaTeX processor (#4697)."
See ticket #8408 for the reason why this is reverted.

This reverts part of commit 0bff66b8a5.
2013-06-03 17:39:54 +02:00
Scott Kostyshak
f259a0f591 Fix Indonesian User Guide bib paths 2013-06-03 02:31:41 -04:00
Juergen Spitzmueller
cdc639d27a typo 2013-06-03 08:17:44 +02:00
Uwe Stöhr
d1ce71d398 Customization.lyx: last step of merging/updating 2013-06-02 20:24:02 +02:00
Uwe Stöhr
8363f8f2b6 Customization.lyx: second step of merging/updating 2013-06-02 19:12:51 +02:00
Vincent van Ravesteijn
daed22c4d6 Fix language code for Traditional Chinese 2013-06-02 15:32:36 +02:00
Uwe Stöhr
6314c7294d modernCV.lyx: don't require the latest modernCV version to compile 2013-06-02 14:31:33 +02:00
Uwe Stöhr
c4c44a1877 Math.lyx: fix potential whitespace issue in preamble
- the same as in the thesis template
2013-06-02 14:20:26 +02:00
Juergen Spitzmueller
45f6c06956 beamerposter example: document the use of multiple columns within a block 2013-06-02 13:21:34 +02:00
Juergen Spitzmueller
c9ea13ee99 Bump RC format for commit 8f287f5ffa 2013-06-02 12:06:01 +02:00
Scott Kostyshak
9fd950c3f2 Thesis template: fix whitespace issue in preambles 2013-06-02 02:15:28 -04:00
Uwe Stöhr
b6a5c9163b Customization.lyx: first step of merging/updating 2013-06-02 05:07:10 +02:00
Richard Heck
4106fe37ac Use counter for new chunk insets, and set it to 2 in knitr and
sweave modules.
2013-06-01 17:42:36 -04:00
Richard Heck
2374229cc6 Introduce InitialValue tag for counters. Fixes bug #8707. 2013-06-01 17:42:08 -04:00
Uwe Stöhr
a853132e12 Additional.lyx: update description for multiple columns (step 2/2) 2013-06-01 18:16:01 +02:00
Uwe Stöhr
58c8ec817d Additional.lyx: update description for multiple columns 2013-06-01 17:58:30 +02:00
Uwe Stöhr
a0798ff37a chkconfig.ltx: makecmds is required by any usage of polyglossia 2013-06-01 15:47:37 +02:00
Juergen Spitzmueller
f2067a7924 Add a beamerposter example file 2013-06-01 12:50:17 +02:00
Uwe Stöhr
40a7c113de Spanish UserGuide: translations from Ignacio
- and a typo in the English version spotted by Ignacio
2013-05-31 14:31:48 +02:00
Juergen Spitzmueller
49665c9b68 Correctly categorize new layouts 2013-05-31 11:00:39 +02:00
Scott Kostyshak
3a8da38944 sciword.bind update (fix #8364)
- added bindings for 'math-delim' as a workaround
    for US keyboards with Windows
- added bindings for 'word-left' and 'word-right'
- added two more sets of bindings for 'math-subscript'
    and 'math-superscript'
- corrected some greek letter bindings
- insert is bound to 'math-mode'
- changed 'screen-recenter' binding to C-j
- added various other bindings

Thanks to Michael Stepner for many of the fixes and testing.
2013-05-31 03:16:17 -04:00
Uwe Stöhr
2f38fe8649 csv2lyx.py: update for fileformat 413 (LyX 2.0.x) 2013-05-31 02:02:28 +02:00
Uwe Stöhr
683a4d20bd Development.lyx: some format fixes
- fix line breaks and a some  microtypography tuning
2013-05-30 23:20:09 +02:00
Uwe Stöhr
d2a4b27493 Customization.lyx: remove unnecessary tables and some updates
- remove the tables I once used to order all possible "Requires" features
- update the list with possible "Requires" features
- some style fixes here and there
2013-05-30 19:44:07 +02:00
Uwe Stöhr
28063d7c82 powerdot.layout: fix a typo spotted by Siegfried 2013-05-30 19:28:29 +02:00
Uwe Stöhr
f18f7989a0 French UserGuide.lyx: translations from Jean-Pierre and Siegfried 2013-05-30 19:12:19 +02:00
Uwe Stöhr
f33454b3c7 LaTeXFeatures.cpp: add rsphrase
- also modify the rsphrase.module
- correct naming scheme for the bicaption.module
2013-05-30 18:15:44 +02:00
Uwe Stöhr
a2e6fc773a LaTeXFeatures.cpp: add multicol and shapepar 2013-05-30 17:55:21 +02:00
Uwe Stöhr
059dad2ace update support for multicolumns
- Additional.lyx: update description and convert some TeX code to the multicolumn inset
- multicol.module: restore the preamble settings that was accidentally removed bin the previous commit
2013-05-30 17:17:34 +02:00
Uwe Stöhr
0a1c8944a1 multicol.module: style refinements by Jürgen
- fixes bug #8568
2013-05-30 16:45:32 +02:00
Richard Heck
8f044f3c95 Patch to convert Sweave chunk paragraphs to insets (bug #8588). Work
by Liviu (C++) and Richard (Python).
2013-05-30 10:20:34 -04:00
Scott Kostyshak
0f9f44bf40 Fix Basque User Guide bib paths 2013-05-29 02:58:16 -04:00
Scott Kostyshak
d7db3961e2 Fix typo of journal name in aa_sample.lyx, aa.lyx 2013-05-29 02:53:38 -04:00
Juergen Spitzmueller
a1934a8ef4 Do not load xeCJK when mot running XeTeX (resolve critical xeCJK error) 2013-05-29 08:06:15 +02:00
Uwe Stöhr
6c0bc842b7 moderncv.layout: support the command \social
- \social can be used for social network addresses in the address block
2013-05-29 01:11:14 +02:00
Uwe Stöhr
d12f7440fb aastex.layout: cleanup the file
- rearrange the style definitions in the order they should appear
- remove the hackish ordering
2013-05-29 00:20:53 +02:00
Uwe Stöhr
0c964e8fb1 examples: update format of some example files 2013-05-29 00:14:54 +02:00
Uwe Stöhr
ea2d5947e9 support to set Tibetan as document language
- polyglossia supports http://en.wikipedia.org/wiki/Standard_Tibetan so we can support it too
- fileformat change
2013-05-28 23:40:17 +02:00
Richard Heck
246b3d79e6 Enumerate isn't always defined when the case stuff is included. 2013-05-28 13:32:17 -04:00
Juergen Spitzmueller
88e57fdca9 Fix some double layout deletions (part of #8619) 2013-05-28 19:07:52 +02:00
Richard Heck
a9614f15d2 We already allowed a counter declaraton for flex insets. We just
didn't do anything with it. So let's do something with it.

Fixes bug #8470.
2013-05-28 00:11:43 -04:00
Uwe Stöhr
ecb3b7b25c Chinese Intro and Tutorial.lyx: make files compilable wit XeTeX
- both files: remove \CJKindent which prevented the compilation with XeTeX, load the xeCJK package which is necessary to get text lines broken at the page margin
Both files are still compilable with pdfTeX because then xeCJk does simply nothing.
- Intro: replace TeX code by its LyX inset and alsoremove unnecessary document class option "cjk"
2013-05-28 00:03:33 +02:00
Vincent van Ravesteijn
704273eea0 Add formats and converters for cropped PDF/EPS
With LyX configured in this way, the user would only need to:

File > New from Template > EPS.lyx (or PDF-cropped.lyx):
- insert a math inset and type in an equation, or create whatever
  content LaTeX can handle,
- view/export to cropped EPS/PDF.

This would allow for LyX to act as a "generator for includable graphics" (equations, commented graphics, etc).

This fixes bug #7839.
2013-05-27 22:06:33 +02:00
Uwe Stöhr
a6f6f79eb1 A&A support: further updates
- mention that the aa class loads natbib to avoid compilation errors
- the aa package contains an outdated an customized version of natbib.sty. This file only works with aa, but breaks the compilation of many other files on your system, therefore remove the bibliography and replace it by BibTeX
- add a note about the encoding
2013-05-26 17:55:10 +02:00
Uwe Stöhr
e28625160a aa.layout: updated for A&A 8.2 2013-05-26 05:29:24 +02:00
Uwe Stöhr
70b1bc5fc9 Farsi splash.lyx: remove unnecessary preamble 2013-05-26 05:04:18 +02:00
Uwe Stöhr
5002ef33f0 aa: fix compilation of the templates/aa.lyx
- aa already loads inputenc
2013-05-26 03:04:59 +02:00
Stephan Witt
75c631df7f On Mac, moving down a paragraph should place the cursor at the end of the current paragraph
(unless it's already there, in which case it should move to the end of the next paragraph).
Change the preference setting name (mac_like_word_movement to mac_like_cursor_movement)
to better reflect its function.

Patch and description from Bennett Helm
2013-05-25 18:02:21 +02:00
Juergen Spitzmueller
c8000f9017 Fix Chinese Tutorial copilation 2013-05-25 11:48:38 +02:00
Jean-Marc Lasgouttes
f04c7711b0 Fix empty width support for Box inset
* InsetBox and GuiBox: Use proper empty length instead of the broken -9.99col% trick
* some slight changes to the logic of GuiBox to make sure that values are set as needed.
* lengthToWidget(): handle properly the empty length case. All the other related Qt helpers did it already, it was probably an oversight. Also set the default_unit parameter as optional (not needed in this patch actually, but I got carried away :)
* allow generating LaTeX code for an empty length, since some broken code does that.
2013-05-24 15:44:59 +02:00
Uwe Stöhr
d231e3a767 UserGuide.lyx: finish the revision
- many thanks to John Hudson for his amazing work!
2013-05-23 23:38:18 +02:00
Richard Heck
eba17c9763 Update documentation for parser tools a bit. 2013-05-23 16:11:47 -04:00
Georg Baum
7e4513b9fe Fix autotools build
This typo was introduced in 01add2d52f.
2013-05-23 22:02:34 +02:00
Richard Heck
01add2d52f Layouts for ACMS SIGS styles, contributed by Gioele Barabucci. 2013-05-23 15:11:19 -04:00
Richard Heck
1230372566 Add support for package options in layout files. E.g.:
PackageOption tipa safe will load tipa with the
 "safe" option, if we load it.
2013-05-23 09:34:40 -04:00
Richard Heck
de49a2df73 Fix ereg and a typo. 2013-05-23 08:58:23 -04:00
Uwe Stöhr
675193cbd0 chkconfig.ltx: check for some XeTeX requirements
- iftex is necessary for XeTeX with non-Latin scripts
- xetex.def is a separate package on CTAN and necessary for XeTeX and colors and graphics
2013-05-23 01:29:01 +02:00
Uwe Stöhr
bcabe09612 UserGuide.lyx: translations
- to fix the mysterious compilation problems on some machines
2013-05-23 01:25:54 +02:00
Uwe Stöhr
c42acc7cec French UserGuide.lyx: fix a paragraph language 2013-05-21 23:40:38 +02:00
Uwe Stöhr
d6c3b7fa73 UserGuide.lyx: some more revision work
- also the last try to fix Scott's compilations problems
2013-05-21 23:35:06 +02:00
Uwe Stöhr
d1d6f12a93 UserGuide.lyx: some corrections
- hopefully fix compilation of German UserGuide for Scott
- some German translations
2013-05-21 21:13:14 +02:00
Kornel Benko
5d981c5f32 * sk.po 2013-05-21 19:27:25 +02:00
Vincent van Ravesteijn
050c768eef Update layouttranslations 2013-05-21 19:04:56 +02:00
Scott Kostyshak
32a5a06db5 RJournal.layout: remove unneeded code
Part of this code was moved to the template in a previous commit
and part was removed because it is no longer needed.

Patch by Yihui Xie.
2013-05-21 01:28:26 -04:00
Uwe Stöhr
0dd01cfce8 UserGuide.lyx: port recent changes to master 2013-05-21 01:45:19 +02:00
Uwe Stöhr
03259396b9 UserGuide.lyx: next revision step
- sec. A.1 - A.2 and a few others
2013-05-20 03:16:44 +02:00
Uwe Stöhr
f8a5d7cc63 landslide.lyx: make it compilable with pdflatex 2013-05-19 03:53:58 +02:00
Uwe Stöhr
8f9520eda5 AEA.layout: restore a style
- I accidentally deleted this style in previous commit
2013-05-18 20:51:02 +02:00
Uwe Stöhr
efcd04c9f2 AEA.lyx/layout: update templates/AEA.lyx
- make template compilable
- update it according to the latest AEA guidelines
- add 4 missing styles to the layout:
* \keywords
* \JEL
* figurenotes environment
* tablenotes environment
2013-05-18 20:36:26 +02:00
Scott Kostyshak
7aba4d51fa listerrors.lyx: set default output to ps2pdf
ps2pdf dependency is hardcoded in the preamble, which is why
pdflatex and luatex are failing.
2013-05-17 20:54:56 -04:00
Scott Kostyshak
43d7102204 RJournal template now also works with latex
Before, only PDFs were being generated so latex did not compile.
Now, both PDF and EPS files are generated.

This is not efficient but could save the user some pain, which is
the goal of templates.

An alternative would be to set the default output to use pdflatex.
2013-05-16 22:57:11 -04:00
Scott Kostyshak
9e425a0547 RJournal: use 'classic' decoration for email inset
This makes it clear that

  (1) the emails are in their own insets
  (2) the \email command is embedded in the \address command
2013-05-16 22:56:56 -04:00
Scott Kostyshak
43f52ccd64 RJournal: set ForcePlain to 'true' for email inset
This prevents the user from some mistakes, such as
embedding an itemize or ennumerate environment.
2013-05-16 22:56:31 -04:00
Scott Kostyshak
f40322081b RJournal: change 'Address' Flex inset into a Style
This looks better and gives natural separation between multiple
authors.
2013-05-16 22:55:56 -04:00
Scott Kostyshak
9d7d7c3816 RJournal: change 'Abstract' from a Flex to a Style
This looks more consistent with other templates to me.
2013-05-16 22:55:03 -04:00
Scott Kostyshak
4beba4e8f8 RJournal template and layout: move ERTs to layout
The layout now takes care of \begin{article} and \end{article}
by using \AtBeginDocument and \AtEndDocument.

This cleans up the template a little by removing some ERT. The
user no longer needs to read the two notes explaining why the
ERT boxes were necessary. The user also does not need to think
about why this LaTeX environment exists.
2013-05-16 22:51:22 -04:00
Scott Kostyshak
e99a8b7c67 RJournal.lyx: hardcoded shortcuts -> insets
This way if the shortcut changes or a user is using
a different bind file, the correct shortcut will appear.
2013-05-16 22:50:48 -04:00
Scott Kostyshak
4f2a5f3f63 RJournal.lyx: English tweaks 2013-05-16 22:50:20 -04:00
Scott Kostyshak
0d434033ec Add a layout and template for the R Journal
Patch by Yihui Xie.
2013-05-16 22:49:24 -04:00
Julien Rioux
cde541d785 New \cite_engine_type default.
The default citation capability of LaTeX is not a true numerical
citation engine, rather it uses a mixture of labels/numbers. Thus
we now distinguish them: "numerical" always increments the bibitem
counter and uses its value as a numerical citation label, while
"default" only uses the bibitem counter when no label is provided.

LyX file format incremented to 471.
2013-05-16 20:39:23 +02:00
Julien Rioux
bfc731de45 Compute and output numbers for numerical citations. 2013-05-16 16:10:05 +02:00
Georg Baum
7bdc34a987 Implement forced local layouts
These should be used if any new style needs to be introduced in the stable
2.1 series: If the ForceLocal flag of the style is set, it will always be
written to the document header, so that even older 2.1 versions can read
and correctly output the document.
2013-05-15 07:19:49 +02:00
Uwe Stöhr
76678b66d4 UserGuide.lyx: next revision step
sec. 6.13 - 6.18
2013-05-14 23:57:33 +02:00
Vincent van Ravesteijn
147dcb4cb9 Make the use of system's theme icons configurable
A lyxrc variable is added and a checkbox is added to the LyX->preferences
dialog.
2013-05-14 17:26:06 +02:00
Julien Rioux
c02c03ce81 Finally also fix #6986 for autotools out-of-source builds. 2013-05-14 11:27:03 +02:00
Julien Rioux
ef04549d8d configure.py: Check path accessibility before call to os.path.isfile.
If you have an unmounted dir, ac_dir, in your PATH, the call to

os.path.isfile( os.path.join(ac_dir, ac_word + ext) )

hangs. This is probably a python bug, but the result of configure.py
hanging and LyX freezing is really bad, hence this workaround.

According to the python docs, MacOS doesn't provide os.access();
the hasattr protection is used for this reason.
2013-05-14 11:26:43 +02:00
Julien Rioux
02e59530b1 Add missing space in front of edition in generated bibentry. 2013-05-13 21:07:04 +02:00
Julien Rioux
66f44f46c2 Add modifier to jurabib and natbib (author-year) modules. 2013-05-13 20:58:12 +02:00
Julien Rioux
3d4076b598 Natbib authoryear uses (Ref1; Ref2) by default.
I was confused when I checked this. It looks like plainnat.bst
overwrites this default to use [Ref1, Ref2] style instead, but
when using natbib's defaults you get the (Ref1; Ref2) style.
2013-05-13 20:29:49 +02:00
Uwe Stöhr
1fded6e817 UserGuide.lyx: next revision step
- sec. 6.7 - 6.13
2013-05-12 12:57:14 +02:00
Georg Baum
8b3f3a02c7 Make the different paste menu items optional
This was suggested by Jean-Marc some time ago, and I simply forgot to apply.
With this change you do not see unusable menu entries like linkback on linux
anymore. I also added an entry for emf, since this will be quite useful on
windows.
2013-05-11 09:39:06 +02:00
Richard Heck
4968ce4627 This probably doesn't matter, but the reason for bug #8666 traces,
ultimately, to the layout conversion for format 2.
2013-05-10 13:47:03 -04:00
Richard Heck
b9f48eb945 Fix bug #8666. Parts should have toclevel -1.
A lot of this involves removing toclevel tags. They got introduced
by the automatic update of some layout files to format 19.
2013-05-10 13:19:38 -04:00
Uwe Stöhr
c962e1ca1d Math.lyx: fix a typo 2013-05-10 16:24:11 +02:00
Uwe Stöhr
4b53c0d6c1 UserGuide.lyx: next revision step
- revised sec. 6 - 6.6
- describe longest label feature for bibliography environment
2013-05-04 02:48:54 +02:00
Uwe Stöhr
52ce610a26 UserGuide.lyx: fix an issue reported on the docs list 2013-04-29 00:52:45 +02:00
Uwe Stöhr
1a38c40cd2 UserGuide.lyx: next revision step (chap. C) for master 2013-04-29 00:42:02 +02:00
Uwe Stöhr
80fe665406 UserGuide.lyx: port recent changes from branch 2013-04-28 05:45:21 +02:00
Uwe Stöhr
00344a8a77 French UserGuide.lyx: translations by Jean-Pierre 2013-04-27 19:40:02 +02:00
Scott Kostyshak
959d2c5264 converter: change 'ps2pdf13' to 'ps2pdf'
ps2pdf by default produces the PDF 1.4 format. The PDF 1.3 format was
released in 2000. PDF 1.4 was released in 2001.  LyX specified 1.3 as
the output version in 2002 (c1541c22), perhaps because at the time
PDF 1.4 was only a year old so some viewers did not support it.
2013-04-25 06:41:15 -04:00
Uwe Stöhr
914b1d8200 UserGuide.lyx: fix an expression as discussed in the list 2013-04-21 22:19:12 +02:00
Uwe Stöhr
7ffb9db807 port Spanish doc updates by Ignacio 2013-04-21 22:18:43 +02:00
Uwe Stöhr
f0800cfc00 Spanish UserGuide.lyx: updates by Ignacio
- also some changes to the other languages proposed by Ignacio
2013-04-21 22:01:38 +02:00
Uwe Stöhr
0c534a5ba7 German Tutorial.lyx: fix a typo spotted by a user 2013-04-21 21:39:20 +02:00
Uwe Stöhr
976959685c French UserGuide.lyx: translations by Jean-Pierre 2013-04-21 21:17:48 +02:00
Uwe Stöhr
719a13d7a4 UserGuide.lyx: next revision step (sec. 3.5 - 3.7 and 6.18) 2013-04-21 20:48:31 +02:00
Uwe Stöhr
44d5efd243 UserGuide.lyx: next revision step 2013-04-21 03:57:44 +02:00
Uwe Stöhr
d750b6610f fix some more typos spotted by Yuri 2013-04-19 23:26:58 +02:00
Vincent van Ravesteijn
cd88c51cce Pass the binary dir to the configure script to find tex2lyx
When using CMake, the binary files are stored in <build-dir>/bin. LyX can't fin tex2lyx with the current code. So, we have to point configure.py to explicitly look in the binary dir.
2013-04-19 20:31:30 +02:00
Uwe Stöhr
4d8dbc9268 uk.po: update from Yuri for master
also fix some typos spotted by Yuri
2013-04-19 08:48:49 +02:00
Uwe Stöhr
c6410a5b55 UserGuide.lyx: next revision step 2013-04-18 01:30:32 +02:00
Uwe Stöhr
458b3bad10 UserGuide.lyx: first step of revision
- first step of the revision of the English UserGuide from John Hudson
2013-04-17 01:13:49 +02:00
Scott Kostyshak
912cbcdbb4 jasatex.layout: fix 'Acknowledgments' style
'Acknowledgments' does not belong in the title but did not override
'InTitle 1' inherited from 'Abstract'. Without this patch, the
following error is given:

  output_latex.cpp (1111): Error in latexParagraphs: You should not
  mix title layouts with normal ones.

Thanks to Hashini Senaratne for narrowing down the problem.
2013-04-16 04:55:34 -04:00
Georg Baum
c14b9e67bc Implement paste from LaTeX and HTML (bug #3096)
As discussed on the list. No automatic contents detection is done, the user
needs to use the special paste menu instead. I used the new TempFile class
for safe temporary file handling.
The documentation would go into section 2.2 of UserGuide.lyx, but I am not
allowed to edit that document.
2013-04-14 19:45:36 +02:00
Scott Kostyshak
7309f018f5 Add a DocBook -> PS converter
Before, the converter chain for DocBook -> PDF (ps2pdf) was:

  docbook -> DVI
  DVI -> Postscript
  Postscript -> PDF (ps2pdf)

sgmltools has a backend for PostScript so the first two
steps in the above converter chain are now condensed into
one by adding the following converter for docbook -> Postscript:

  sgmltools -b ps $$i
2013-04-13 14:19:58 -04:00
Georg Baum
8c8e19bb1c Work around gnuhtml2latex encoding bug
gnuhtml2latex does not handle encodings at all. Therefore the result is not
imported correctly by tex2lyx if the HTML file is encoded in anything else
than ascii or latin1 (the default of tex2lyx). The simple wrapper script
loads inputenc if needed. It may not be possible to compile the result with
LaTeX, (e.gif utf8 is used), but for running tex2lyx it will work just fine.
2013-04-12 21:35:50 +02:00
Scott Kostyshak
45ae6a8aee de and es tufte examples: change default to pdf2
Consistent with 1b7e9178
2013-04-12 03:52:22 -04:00
Scott Kostyshak
18f5500af0 hu/Tutorial.lyx: change default output to pdf2 2013-04-12 03:42:15 -04:00
Uwe Stöhr
d25afed517 languages: whitespace only 2013-04-09 23:08:15 +02:00
Uwe Stöhr
90d1623343 languages: use a usable encoding for Kazakh
- we found out that Kazakh is currently not supported by babel nor polyglossia so that using Kazakh as language will break the compilation, Günter proposed therefore this encoding change until Kazakh is supported.
2013-04-09 22:04:51 +02:00
Uwe Stöhr
21ee72eeb6 Hungarian Tutorial.lyx: revert last change
- this is not the way it goes, all Tutorials should stay identical as possible, moreover there is no need to disable PDF bookmarks because the document compiles without problems, moreover I still manage the documentation and as long as there is no beta for LyX 2.1 please keep the fileformat of LyX 2.0
- if you have problems compiling a file, report this as bug or the docmentation mailing list! or at least write me a mail
2013-04-09 21:17:19 +02:00
Scott Kostyshak
b999d0bfee JSS-article.lyx: set default output to pdf2
The reasons are specified in the note at the top of the template:
It is possible to export with plain LaTeX but an option must be
specified to remove some elements (e.g. JSS logo).
2013-04-09 05:07:18 -04:00
Scott Kostyshak
1b7e9178f0 tufte-{book,handout}: set default output to pdf2
If the 'nols' option were set, the files could be output with plain
LaTeX as well; but because letterspacing is an important part of the
Tufte design, letterspacing is preserved and pdf2 is set as the
default output format. This is now explained in a note.
2013-04-09 01:36:38 -04:00
Scott Kostyshak
6dea3d5bfb hu/Tutorial.lyx: do not generate bookmarks
By not generating bookmarks, compilation with plain LaTeX works.

Thanks to Jürgen for the solution.
2013-04-09 01:10:13 -04:00
Scott Kostyshak
f2c230189e Fix a few typos in French docs 2013-04-08 19:23:41 -04:00
Uwe Stöhr
66b1d0b1a5 languages: distinguish between Serbian scripts
- fixes bug #8628
2013-04-08 23:39:10 +02:00
Juergen Spitzmueller
a49b620b95 fix aa_sample with recent aa.cls 2013-04-08 08:58:33 +02:00
Scott Kostyshak
8e5a020c0c configure.py: add 'MuPDF' as a PDF viewer
MuPDF is a fast and lightweight PDF viewer released under the
Affero GNU General Public License.
2013-04-06 02:56:39 -04:00
Scott Kostyshak
364deab269 es/EmbeddedObjects.lyx: can now export with LuaTeX
See the following email discussion:
http://comments.gmane.org/gmane.editors.lyx.devel/145338
2013-04-06 02:47:49 -04:00
Kornel Benko
d8c656952e sk-Intro.lyx: Make it compilable + correct some typos 2013-04-05 13:51:41 +02:00
Scott Kostyshak
009d2a1221 fr/EmbeddedObjects.lyx: can now export with LuaTeX
See the following email discussion:
http://comments.gmane.org/gmane.editors.lyx.devel/145338

Patch from Günter Milde
2013-04-05 03:33:27 -04:00
Scott Kostyshak
70815aa34a DocBook_article.lyx: set default output to ps2pdf
The only converter chain that is supported by default is:

  docbook -> DVI
  DVI -> Postscript
  Postscript -> PDF (ps2pdf)
2013-04-02 16:34:23 -04:00
Scott Kostyshak
9a7e7dcb70 Indonesian UserGuide.lyx: fix image paths 2013-04-02 15:18:50 -04:00
Juergen Spitzmueller
7e66e43844 Italian UG: fix singular diacritics in latin1 table (bug #8621) 2013-04-02 16:20:46 +02:00
Georg Baum
6cf84601f4 Oops, I mixed up the argument order 2013-04-01 21:58:03 +02:00
Georg Baum
c1b81d83b9 Fix HTML to LaTeX converter output name
If you do not explicitly specify the output file name, gnuhtml2latex will
guess a file name itself. The result of the guess is not what we expect if
the input file name did not contain a .html extension, but something which
is not related to a format, e.g. .qV9984 from FileName::tempName().
2013-04-01 12:11:27 +02:00
Uwe Stöhr
6706377111 refine support for Vietnamese
- chkconfig.ltx: add the vietnamese.ldf
- installer trigger the installation of vntex
2013-03-29 01:53:44 +01:00
Richard Heck
4a6efbb102 Implement XHTML output for InsetPrintNomencl. 2013-03-27 21:30:48 -04:00
Richard Heck
79f428d201 Use InsetLayout to get the tag type for TOC-like things. 2013-03-27 20:03:32 -04:00
Richard Heck
df1af5df47 Update the XHTML output for InsetFloatList. We'll now use an
InsetLayout to style it.
2013-03-27 20:03:32 -04:00
Richard Heck
d3feabfc86 Remove the "arrow" from the XHTML TOC. I think I put it there near
the beginning, when the titles themselves were not being used as
links. Now they are, so it is not needed.
2013-03-27 18:28:25 -04:00
Richard Heck
9c8955ffd9 Move the CSS for the TOC to its own InsetLayout. 2013-03-27 18:24:08 -04:00
Richard Heck
d3f6e28e35 Use the TOC:Listings layout to hold CSS information for it. 2013-03-27 18:22:20 -04:00
Richard Heck
4df02801a6 Links between citations and bibliography entries were broken in XHTML
output, due to failure to clean the ids in the new citation stuff.

I've solved this by allowing the citation format information to contain
keys of the form "clean:key". This signals that we are to apply the
html::cleanAttr() function to the key before returning it. I.e., we
strip non-alphanumeric stuff, basically.
2013-03-27 15:59:36 -04:00
Richard Heck
a85a3135fb Style Memoir epigraphs. 2013-03-27 14:01:01 -04:00
Juergen Spitzmueller
136560ae34 Add new spelling icon to the Makefile and add oxygen version 2013-03-25 09:28:49 +01:00
Vincent van Ravesteijn
270ba80097 Add a toolbar button for continuous spellchecking
This fixes the second part of #8589.
2013-03-24 20:29:01 +01:00
Juergen Spitzmueller
7e11e69947 Stick with 2.0.x file format 2013-03-24 16:56:19 +01:00
Juergen Spitzmueller
a21fd61c98 Revert "Compilation fixes"
This reverts commit c28d9b41ad.
2013-03-24 16:52:42 +01:00
Juergen Spitzmueller
c28d9b41ad Compilation fixes 2013-03-24 16:49:23 +01:00
Richard Heck
8bbd4c5e58 Minor doc update. 2013-03-24 10:14:17 -04:00
Kornel Benko
f9e41a159e prefs2prefs: While handling converters, make sure
the entry is really '\converter' and not e.g. '\converter_cache_maxage'
2013-03-23 15:31:21 +01:00
Richard Heck
6eb0b47a8a Fix a couple problems with new prefs2prefs material. 2013-03-23 09:35:26 -04:00
Georg Baum
c61ef8b205 Support \caption* (bug #3209)
This was a low hanging fruit which would have to wait for a long time because
of a file format change if it was not implemented before 2.1.
2013-03-22 22:23:38 +01:00
Uwe Stöhr
22ad7e4369 support for \mbox and \fbox
- fileformat change
- it was a pity that LyX did not yet support a simple rectangular frame without a defined width but LyX did this for e.g. oval frames
- \fbox and \mbox often occur in TeX files and can now be imported
2013-03-22 01:33:58 +01:00
Georg Baum
cb5dd33475 Split pdf format as discussed on the list
Previously, the format used for included pdf files was the same as for
document export via ps2pdf. This caused unwanted conversion routes, e.g.
export via odt->pdf instead of dvi->ps->pdf.
I renamed the format for included graphics and not for exported documents,
since otherwise the command line syntax for export would change. This would
require more adaptions for the users, since with the chosen solution the
custom converters are almost always changed correctly in prefs2prefs(),
so that only custom external templates need manual adjustement.
2013-03-21 20:13:02 +01:00
Uwe Stöhr
b79bc9b566 lyx2lyx/lyx_2_1.py: typos 2013-03-21 02:11:42 +01:00
Uwe Stöhr
d4c2fce88c languages: fix support for Serbian Cyrillic
- there is a Serbian Cyrillic support file for babel available. Its support works the same as for Lithuanian, Belarusian, etc.
- fixes bug #8590
2013-03-20 00:20:27 +01:00
Uwe Stöhr
5619ebeda2 languages: update support for Kazakh
as discussed on the list, as there is not support for Kazakh in babel we must assure that the T2A fontenc is loaded
2013-03-19 23:53:17 +01:00
Georg Baum
73c424323d Update lyxrc.defaults to current format
Actually, configure.py was already producing the current format, since it
did not output default_language.
2013-03-19 21:17:15 +01:00
Juergen Spitzmueller
7632757dd1 powerdot-example: extensions and comments 2013-03-19 09:58:22 +01:00
Uwe Stöhr
f08f5821ec support for the Iwona fonts
- the support for Iwona is exactly the same as for the Kurier fonts
- fileformat change
2013-03-19 00:57:37 +01:00
Juergen Spitzmueller
d8be21fb6c Capitalization fix.
This would be a file format change, but since the previous version is just two hours old, I will do without.
2013-03-18 15:06:49 +01:00
Juergen Spitzmueller
32844b2440 Update powerdot example 2013-03-18 13:38:47 +01:00
Juergen Spitzmueller
3ab2798b6e Powerdot updates
* Powerdot now also uses the native overlay item arguments
* a list option argument is finally available
* \pause natively supported (like in beamer)
* support for \onslide (via InsetFlex)
* support for \twocolumn

File format change.
2013-03-18 13:36:56 +01:00
Juergen Spitzmueller
c33f98624e powerdot-example.lyx: tiny updates 2013-03-17 17:56:07 +01:00
Juergen Spitzmueller
85042beb07 German translation of the new beamer manuals 2013-03-17 16:44:56 +01:00
Juergen Spitzmueller
b7531bfd13 Update beamer documents to new format 2013-03-17 09:10:44 +01:00
Juergen Spitzmueller
4e803c7ebf Fix beamer frame title coversion 2013-03-17 08:40:38 +01:00
Juergen Spitzmueller
370bbbc7f2 Old beamer frames bite the dust
With this commit, old beamer frames are converted to new ones. The old styles are removed (including the infamous \lyxframe).

This should be tested with as much beamer documents as possible (I have already done so), also, tex2lyx now probably produces invalid LyX files.
2013-03-16 12:52:00 +01:00
Uwe Stöhr
177a043991 French Math.lyx and Tutorial.lyx: translations by Jan-Pierre 2013-03-15 01:29:28 +01:00
Uwe Stöhr
fda657b03c languages: Kazakh is not supported by babel 2013-03-15 00:19:04 +01:00
Uwe Stöhr
004dbb0210 languages: fix support for Belarusian
Belarusian is not directly supported by babel -> we need to load it directly with babel, fixes bug #8593
2013-03-14 22:45:54 +01:00
Uwe Stöhr
322f65aa92 chkconfig.ltx: support for package thswitch
To be able to use Thai in a multi-language document one needs the package thswitch
2013-03-14 22:41:38 +01:00
Uwe Stöhr
96289519c5 French Tutorial.lyx: update form Jean-Pierre 2013-03-11 21:31:47 +01:00
Georg Baum
3a6441f38c Fix bug #8509: sigma in PDF bookmarks
The fix was provided by Günter Milde. Basically, the forced replacement is
only needed for the iso8859-7 encoding to circumvent its autosigma feature.
2013-03-04 21:54:15 +01:00
Juergen Spitzmueller
bf0b5540db MergedManuals.lyx: set default output format to lyxhtml.
This is the intended target format of this document (LaTeX is not supposed to compile).
2013-03-03 10:11:52 +01:00
Juergen Spitzmueller
e99d19e7c7 MergedManuals.lyx: add missing child modules to the master 2013-03-02 10:10:31 +01:00
Kornel Benko
cc0c3d0427 Remove latex-nameclash between
\newfloat{algorithm} ...
and
        \newtheorem{algorithm}...
2013-03-01 15:32:58 +01:00
Georg Baum
13d4b59ac5 Small tweak to cancel revertion
From version 425 to 463, the cancel package is used automatically.
Take this into accound when converting to old formats: For the step
464->463 do nothing if cancel was set to auto. For the step 425->424,
add the \usepackage statement as before.
2013-02-28 21:03:07 +01:00
Kornel Benko
8f36aef17a Added "cancel" to the GUI handled list of LaTeX packages.
Generalized convert_use_???() and revert_use_???() routines in lyx2lyx.
2013-02-27 13:12:03 +01:00
Georg Baum
6e2d8cf10a Fix sideset keyboard short cuts
\sideset1 can't be entered via keyboard, so I renamed the commands.
2013-02-26 21:38:27 +01:00
Georg Baum
efaae780db Fix regression of 5261ae6a2
Somehow I overlooked that \sideset also supports nonscript arguments for
left and right. This is now fixed, although I do not like the toolbar names.
If somebody knows something better, please improve.
2013-02-24 21:23:50 +01:00
Georg Baum
9229f38ecf Fix LaTeX macro for symbol 0x02f7
\textsubtilde is a combining character (0x0330), but 0x02f7 is not.
Apart from the wrong LaTeX output, having the same command for two symbols
confuses texc2lyx.
2013-02-24 15:08:36 +01:00
Juergen Spitzmueller
41060c9723 Allow to specify default argument for layout/inset argments
This default argument is inserted iff no inset argument is present. This is useful particularly for mandatory arguments that need to have a sensible default value.
2013-02-24 11:29:21 +01:00
Uwe Stöhr
d7ca904b69 German Tutorial.lyx: some corrections and translations
- also a fix for the other languages
2013-02-24 02:01:49 +01:00
Uwe Stöhr
0bef574d9d Tutorial.lyx: fix typos and other issues spotted by John Hudson
- also fox some formatting and add some info
2013-02-23 20:40:01 +01:00
Georg Baum
d2d0f1964d Fix lyx2lyx for layout files with umlauts
lyx2lyx died with UnicodeDecodeError: 'ascii' codec can't decode byte if a
layout with a non-ASCII character in the file name was used, since the
textclass member of the LyX class was of type str, and not unicode.
2013-02-23 12:23:29 +01:00
Uwe Stöhr
be18719783 Math.lyx: 2 updates
- the column limit for decorated matrices does no longer exists
- move the former "accents for operators" sections to the operators section because these are no accents but operator-specific decorations
- add a note for \sideset
- formatting adjustments
2013-02-23 05:45:45 +01:00
Kornel Benko
6c03b1ff74 Revert changes for output format dvi4
This affects commits c0d4805acf,
                     14fed1df7d
                     8e4f656aa7
2013-02-22 12:06:31 +01:00
Uwe Stöhr
0fe19982da chkconfig.ltx: we use "tfrupee" in unicodesymbols 2013-02-22 01:03:34 +01:00
Georg Baum
eb53c60a8f Complete the NoInsetLayout format change 2013-02-21 21:57:59 +01:00
Georg Baum
9f93983b61 Extend unicodesymbols force flag
As suggested by Günter Milde.
2013-02-19 22:19:10 +01:00
Kornel Benko
c0d4805acf Set default format to dvi4 for some japanes doc files.
The rest (Tutorial.lyx, Math.lyx, EmbeddedObjects.lyx, UserGuide.lyx,
Intro.lyx and Additional.lyx) are left untouched, because
still not compilable with platex
2013-02-19 09:59:08 +01:00
Kornel Benko
14fed1df7d set default format to dvi4 for japanes example files 2013-02-19 09:46:17 +01:00
Kornel Benko
c741a148c9 Merge branch 'master' of git.lyx.org:lyx 2013-02-19 09:28:49 +01:00
Kornel Benko
8e4f656aa7 Add new output format dvi4 ( == DVI(pLaTeX)
Add converter for this format (platex without extra parameters)
2013-02-19 09:26:05 +01:00
Juergen Spitzmueller
05ec893d07 typo 2013-02-19 09:17:35 +01:00
Juergen Spitzmueller
c4899948d4 Fix font encoding with japanese
Since japanese omits fontencoding, the encoding of latin text in fact is OT1.

Candidate for branch, but I would welcome Koji's input.
2013-02-19 08:58:45 +01:00
Scott Kostyshak
3d8065923d sweave.lyx: generate both pdf files and eps files
In the figure chunks, now both pdf and eps files are generated.
This way all of latex, pdflatex, and luatex work out of the box.
2013-02-19 00:58:52 -05:00
Julien Rioux
9dd1b7c578 Use the LyX name of encodings instead of the LaTeX names.
- Use the LyX name of encodings instead of the LaTeX names.
  The LyX name must be unique, while the name used by LaTeX
  not necessarily, e.g. different packages might implement
  support for the same encoding.

- Rename koi8 to koi8-r, so that the LyX and LaTeX names match.

- Rename euc-jp-plain to euc-jp-platex, jis-plain to jis-platex
  and shift-jis-plain to shift-jis-platex.

- Add utf8-platex encoding (fixes #8408).

LyX file format incremented to 463.
2013-02-18 23:52:42 +01:00
Scott Kostyshak
4367d81b01 exemple-powerdot.lyx: set default format to ps2pdf
This way compilation works out of the box.
2013-02-18 15:53:14 -05:00
Juergen Spitzmueller
09a2598556 linguistics.lyx: document diacritics insertion 2013-02-18 16:26:07 +01:00
Juergen Spitzmueller
5df5421117 sweave.lyx: update FAQ (fragile frames are now supported) 2013-02-18 09:18:53 +01:00
Pavel Sanda
b7c04ebb15 * Additional.lyx - add git version info hint 2013-02-18 00:06:59 -08:00
Scott Kostyshak
6403ea272f Add NoWeb -> LuaTeX converter
Now the examples noweb2lyx.lyx and Literate.lyx can be
exported to the pdf5 format.
2013-02-18 02:41:37 -05:00
Juergen Spitzmueller
50262ed428 linguistics.lyx: mini-tweaks 2013-02-18 08:35:08 +01:00
Uwe Stöhr
c6d929cfb4 IEEEtran-*.lyx: formatting fix to fulfill the submission guidelines 2013-02-17 19:56:14 +01:00
Uwe Stöhr
aaaef74c79 linguistics.lyx: correct the date and update fileformat 2013-02-17 18:55:35 +01:00
Kornel Benko
20f5ca8a21 set default output formt for testing 2013-02-17 16:47:00 +01:00
Juergen Spitzmueller
f0a8da5a7e chess-article.lyx, chess-game.lyx: Set dvipdfm as default output format and adapt note 2013-02-17 15:14:48 +01:00
Juergen Spitzmueller
94cb22ac43 Foils.lyx: fix compilation.
The issue here was that an AMS symbol is used as 4-th level bullet, but 'use AMS Symbols automatically' was not selected.

This is a candidate for branch.
2013-02-17 14:44:52 +01:00
Juergen Spitzmueller
766d3f02d7 We seem to have missed this one. 2013-02-17 14:08:20 +01:00
Georg Baum
0f268ef78d Clarify the force flag 2013-02-17 13:21:07 +01:00
Georg Baum
5261ae6a29 Fix bug #1424: Native \sideset inset
The toolbar image is the one Uwe attached to the bug report. Note that
\sideset works only for operators like \sum in the nucleus. LyX allows
any content, so you might get a LaTeX error. I don't know how to prevent
wrong content in the nucleus.
2013-02-17 11:08:58 +01:00
Georg Baum
c0395333b2 Fix force flag for multiple encodings
A comma cannot be used as delimiter, since it is already the flag delimiter.
2013-02-17 10:19:58 +01:00
Uwe Stöhr
d320df30b7 xypic.lyx: update description of spacings for LyX 2.1
- update the spacing description to reflect the new features in LyX 2.1
- also update all web links and squash all LaTeX warnings (ported from branch)
2013-02-16 21:49:57 +01:00
Uwe Stöhr
5ddf0bfbaa xypic.lyx: port recent fixes from branch
- use a default font except a special one is available
- add our documentation preamble disclaimer
- fixes all occurrences (there were many of them) of the LyX console warnings
"unusual contents found: [formula equation [grid [row [cell [xymatrix [grid [row..."
when the document is opened
- style and formatting fixes for consistency
2013-02-16 19:34:16 +01:00
Georg Baum
1fde43b690 Add development manual.
This is rather incomplete, and will hopefully be extended in the future.
Currently, its main purpose is to document file format updates and tests.
2013-02-16 17:48:43 +01:00
Scott Kostyshak
5f1ae5fb56 powerdot-example.lyx: set default format to ps2pdf
This way compilation works out of the box.
2013-02-16 06:27:10 -05:00
Scott Kostyshak
cf4917a220 instant_preview.lyx: set default format to ps2pdf
This way compilation works out of the box.
2013-02-16 06:27:10 -05:00
Juergen Spitzmueller
3e20a73288 KOMA sections are raggedright by default (as opposed to the standard classes) 2013-02-16 10:35:11 +01:00
Uwe Stöhr
eabe77839b moderncv.layout: update to modernCV 1.3
- this new modernCV version fixes the annoying linebreak bug I was suffering so long, it moreover adds 2 new features

- lyx2lyx/lyx_2_1.py: updated to revert the new features
2013-02-16 01:02:32 +01:00
Uwe Stöhr
77affc9967 IEEEtran-CompSoc.layout: use the new NoInsetLayout tag 2013-02-16 00:48:21 +01:00
Juergen Spitzmueller
6885007f1d Adjust Libertine font support to most recent version
This needs yet a file format change. I hope the interface is stable now (I had an exchange with the package maintainer, Bob Tennent, about that)
2013-02-15 10:45:11 +01:00
Juergen Spitzmueller
557e2f5ef9 Simplify support for kurier fonts 2013-02-12 20:33:42 +01:00
Richard Heck
06cac41193 Add "NoInsetLayout" tag for Uwe. Fixes bug #8545. 2013-02-12 10:13:41 -05:00
Uwe Stöhr
8332ceb4e8 chkconfig.ltx: check for fonts and packages required by fonts 2013-02-11 14:19:08 +01:00
Uwe Stöhr
cff42250c0 chkconfig.ltx: add missing comment from last commit 2013-02-11 12:03:07 +01:00
Uwe Stöhr
127b170175 chkconfig.ltx: check for binhex.tex
Without this file the newtxmath fonts supported by LyX cannot be used; fixes bug #8549.
2013-02-11 12:00:56 +01:00
Juergen Spitzmueller
036a4be387 Whitespace and Casing fixes 2013-02-11 09:47:32 +01:00
Uwe Stöhr
487d3bffab support for the kurier sansserif fonts
- fileformat change
2013-02-11 00:47:09 +01:00
Juergen Spitzmueller
3e55139482 Use the new Static label type for the koma book chapter 2013-02-10 14:48:07 +01:00
Pavel Sanda
d963eef9f0 * Additional.lyx 2013-02-09 20:20:48 -08:00
Enrico Forestieri
4f3370e460 Correct typo 2013-02-09 20:29:25 +01:00
Richard Heck
460b44b8f5 Update all layouts to format 44. 2013-02-09 13:44:06 -05:00
Richard Heck
8c8d26ecf6 Documentation update for layout format 44. 2013-02-09 13:44:06 -05:00
Richard Heck
d6709df3d7 Layout changes for changes to LabelType:
LabelType Counter --> LabelType Static
	LabelType Top_Environment --> LabelType Above
	LabelType Centered_Top_Environment --> LabelType Centered
2013-02-09 13:44:06 -05:00
Uwe Stöhr
d8a6e0ab70 IEEE: support for Transactions on Magnetics 2013-02-09 18:18:21 +01:00
Uwe Stöhr
6c922c8029 IEEEtran templates: some preamble simplifications and fixes 2013-02-09 18:08:12 +01:00
Uwe Stöhr
59e13e6df6 IEEEtran: dome corrections and additional info 2013-02-09 17:53:34 +01:00
Juergen Spitzmueller
b1191298e2 Work around a bug in beamer 2.10 2013-02-09 15:53:40 +01:00
Juergen Spitzmueller
9cbba74a62 Preamble tag for LaTeXFonts (#8530) 2013-02-09 11:00:42 +01:00
Uwe Stöhr
33e185e5ed IEEEtran.layout: support for conference articles
- IEEEtran-Conference.lyx: new template for conference articles of the IEEE
2013-02-09 03:23:34 +01:00
Uwe Stöhr
0c993b5135 IEEEtran-CompSoc.layout: force plain layout 2013-02-09 02:52:39 +01:00
Uwe Stöhr
f3c407e7b9 elsarticle.layout: force plain layout for some flex insets
- This prevents LaTeX errors because some commands don't allow to include commands.
- also simplified some code
2013-02-09 02:50:54 +01:00
Georg Baum
5a62a1ccb8 Describe GIT support 2013-02-08 21:02:36 +01:00
Richard Heck
99402cd09c Don't hardcode listings but use InsetLayout. 2013-02-08 09:48:48 -05:00
Richard Heck
f623ded109 Fix bug #7948 by not hardcoding XHTML info for captions but instead
using InsetLayout.
2013-02-08 09:30:31 -05:00
Uwe Stöhr
e29aaecbaf IEEEtran.lyx: fix typos 2013-02-07 02:14:20 +01:00
Uwe Stöhr
20f1ba109e IEEEtran-CompSoc: new layout to support the IEEE "computer science" journals 2013-02-07 02:13:44 +01:00
Uwe Stöhr
7c98a16fbb IEEEtran.layout: support command \IEEEPARstart 2013-02-07 02:01:57 +01:00
Georg Baum
0526eb9d47 Implement VCS copy and rename
The advantage of having this in LyX is the intelligent file name handling
of included files. Implementation as discussed on the list, but ensure also
that an attempt to use locked files fails.
2013-02-06 20:38:54 +01:00
Julien Rioux
3408ca4204 Support for \fullcite in LyXHTML and text export (fixes #8491). 2013-02-06 17:37:59 +01:00
Uwe Stöhr
40b487c477 German and Japanese Intro.lyx: fix a link 2013-02-06 01:48:43 +01:00
Uwe Stöhr
e7c5ded516 Intro.lyx: style fixes by John Hudson 2013-02-06 01:36:58 +01:00
Uwe Stöhr
139d99d347 German Math.lyx: some missing translations 2013-02-06 01:31:24 +01:00
Richard Heck
c9b9501f7d Fix TeX crash involving URLs. Patch from Martin Vermeer. 2013-02-05 10:00:32 -05:00
Uwe Stöhr
11c56abc5b Math.lyx, Tutorial.lyx: fix some typos spotted by a user 2013-02-05 01:56:30 +01:00
Jean-Marc Lasgouttes
be42f1398d Fix bug #5408: tex2lyx cannot handle verbatim code
- Implement catcode setting in Parser
- add a new Parser::verbatimStuff method that reads verbatim contents
- use this method to parse "verbatim" environment.
- use it to parse \verb too.
- rename Parser::verbatimEnvironment to ertEnvironment.

TODO:
- use for other verbatim-like cases (Sweave chunk, lstlisting...)
- factor out the function that outputs ERT (including line breaks)
- maybe implement Parser::unparse (if needed)
2013-02-04 10:25:58 +01:00
Georg Baum
e82cc5d498 Fix typos 2013-02-03 19:55:44 +01:00
Georg Baum
bab0da786b Regenerate LFUNs.lyx 2013-02-03 19:55:44 +01:00
Uwe Stöhr
15d21d80e1 French Intro.lyx: a typo, spotted by a user 2013-02-03 16:46:08 +01:00
Kornel Benko
4b95c7b2a3 Renamed category 'Theorem' and 'Theorems' to 'Reasoning' 2013-01-30 12:36:49 +01:00
Uwe Stöhr
870121fc22 chkconfig.ltx: add lh fonts
- these fonts are necessary to compile our Russian and Ukrainian doc files
2013-01-29 23:24:24 +01:00
Uwe Stöhr
a2672f8c7e modernCV.lyx: add important compilation notes
- thanks to Jürgen, I could now resolve the bug why the compilation of modernCV failed for certain themes
2013-01-29 00:08:31 +01:00
Uwe Stöhr
b8c0cba472 chkconfig.ltx: remove check for KOMA-script
this is a class already checked in the layout file section
2013-01-28 23:13:18 +01:00
Uwe Stöhr
0d5f5d107e chkconfig.ltx: check for KOMA and caption 2013-01-28 02:49:52 +01:00
Juergen Spitzmueller
c19ef34916 Prepositions with >4 characters are capitalized in Title Casing 2013-01-27 16:56:44 +01:00
Juergen Spitzmueller
ba9b3b0006 Some capitalization fixes
Layout files need to be audited more thoroughly for capitalization coherence
2013-01-27 16:34:18 +01:00
Uwe Stöhr
a68122d690 - lyx_2_1.py: support for modernCV
- moderncv.layout: whitespace fixes
2013-01-27 05:25:00 +01:00
Uwe Stöhr
51cea81710 modernCV.layout: add requirement "suffix.sty" 2013-01-26 18:48:31 +01:00
Scott Kostyshak
c80b4bcaf3 Make an accelerator uppercase 2013-01-25 23:27:02 -05:00
Uwe Stöhr
ef2071f2c8 EmbeddedObjects.lyx: cleanup
- use standard bullets
- formatting fixes
2013-01-26 03:43:08 +01:00
Kornel Benko
9e14f0c587 Sort categories for dinbrief.layout 2013-01-25 17:42:58 +01:00
Uwe Stöhr
6fad65aac2 chkconfig.ltx: check for the psyr fonts
- we use the psyr fonts for the bullets (or example in the EmbeddedObjects manual), thus we need to check for them
2013-01-25 01:39:06 +01:00
Uwe Stöhr
e20f78c4b0 chkconfig.ltx: correct check for wasy and cbgreek
- we need to check for a font, not a package
2013-01-23 23:21:39 +01:00
Uwe Stöhr
3cba8fa9be chkconfig.ltx: check for wasy
In unicodesymbols we use the wasy fonts intensively. So we also need to check for them. (wasysym is not the font package itself, only a package to support it: "LaTeX support file to use the WASY-2 fonts. The wasysym package implements and easy to use interface for these symbols.")
2013-01-23 22:01:06 +01:00
Uwe Stöhr
6958af5979 chkconfig.ltx: correct check for cbgreek
fixes #8522
2013-01-23 21:54:48 +01:00
Georg Baum
8fbf142cb9 Fixes for utf8 encoding by Günter Milde 2013-01-23 21:52:17 +01:00
Uwe Stöhr
b42604c7aa lyx_2_1.py: support fir initial.module
- in [ff718eba/lyxgit] I forgot to force the lyx2lyx conversion, fixes #8515
2013-01-22 23:27:18 +01:00
Georg Baum
89a2e9589b Fix stupid typo from 7c6a6a05
This breaks compilation of the math manual and much more. Thanks Scott who
found it out.
2013-01-22 21:11:38 +01:00
Jean-Marc Lasgouttes
c48bdf845c Handle encoding correctly with knitr>=1.0 (#8504)
Knitr now has a parameter to indicate the encoding of the file. With this patch,it is used when possible (from Yihui Xie).
2013-01-21 09:53:26 +01:00
Scott Kostyshak
98a8c30dfa Change an accelerator to a more intuitive letter 2013-01-20 21:55:43 -05:00
Scott Kostyshak
3c84267d8d Implement move row/column in tabular inset
This patch implements 'move row' and 'move column' features for tabular.
The purpose is to provide a useful behavior in tabular that is
consistent with PARAGRAPH_MOVE_UP and PARAGRAPH_MOVE_DOWN so that the
user can, for example, do alt-<up> to move a row up. Alternatively,
icons for these features are also added to the table toolbar and
context menu.

If there is any selection, the feature is disabled. This is consistent
with how PARAGRAPH_MOVE_UP works in other contexts. Additionally, 'move
row' is disabled if there is a multi-row in the current or target row;
and 'move column' is disabled if there is a multi-column in the current
or target column.

'move row' moves only the left and right borders of a cell along with
the row. Similarly, 'move column' moves only the the top and bottom
borders.

Implementing similar functionality for other insets, such as arrays and
array environments, is on my TODO list.
2013-01-20 21:54:30 -05:00
Uwe Stöhr
67dcc67dae Additional.lyx: correct a description
- also use another paragraph shape to fix #8512
2013-01-20 22:49:22 +01:00
Uwe Stöhr
ff718ebaa5 initials.module: add the missing mandatory argument
- thanks to the new InsetArgument feature we can save all ERT for initials
2013-01-20 21:23:55 +01:00
Uwe Stöhr
b6ce3e10b2 moderncv.layout: add some AutoInsert 2013-01-20 21:22:55 +01:00
Uwe Stöhr
1a0e43faff add some AutoInsert for layouts 2013-01-20 17:56:28 +01:00
Enrico Forestieri
1d5eec8744 Restore "good looking" arrows.
Probably, they were overwritten during recent addition of math symbols.
2013-01-20 17:40:48 +01:00
Uwe Stöhr
2bd368fd6b layout/module files: some whitespace uniformications 2013-01-20 16:44:05 +01:00
Kornel Benko
46f8c8d043 Replace double quotes with singlgle quotes from
module description string.
This way the string is also translatable again.
2013-01-19 14:34:48 +01:00
Julien Rioux
427fa812e9 Regenerate lib/CREDITS. 2013-01-15 15:34:41 +01:00
Julien Rioux
12d6de7e70 Add Benjamin Piwowarski to contributors. Welcome to LyX! 2013-01-15 15:34:41 +01:00
Uwe Stöhr
6bedd093c8 German splash.lyx: fix a typo 2013-01-14 21:54:48 +01:00
Uwe Stöhr
ab8365b3ed some refinements for paper class example and templates
- update fileformats
- sigplanconf.layout: fix a bug and improve a command
2013-01-13 22:59:16 +01:00
Georg Baum
cbe5066622 Add missing math toolbar symbols 2013-01-13 21:43:14 +01:00
Georg Baum
aa077e94cc Add forgotten image 2013-01-13 21:41:43 +01:00
Georg Baum
7c6a6a05a2 Fix bug #5087 as suggested by Jürgen
Now it is possible to force certain commands only for some encodings.
2013-01-13 21:36:41 +01:00
Juergen Spitzmueller
c9f4ce4cc1 Revert 'Additional support for Japanese pLaTeX with utf8 encoding (#8408).'
This is a file format change; also, the lyx name must be unique. See discussion on the tracker.
2013-01-13 16:13:09 +01:00
Uwe Stöhr
a3036539b2 multicol.module: use the layout argument mechanism
- Additional.lyx: update description of multiple columns accordingly
2013-01-13 03:23:25 +01:00
Uwe Stöhr
fecdd4f318 Additional.lyx: fix some cross-references 2013-01-13 01:43:45 +01:00
Uwe Stöhr
832fc522eb Additional.lyx: correct a noweb chunk 2013-01-12 20:32:06 +01:00
Uwe Stöhr
f37cdbc298 add shapepar module
- shapepar.module: new module to get non-rectangular paragraph shapes
- SpecialParagraphShape.tex: an example shape definition file
- Additional.lyx:
  - accept all changes and updated all language versions accordingly
  - describe how to get custom paragraph shapes (last section of the document)
  - preamble cleanup
2013-01-12 19:44:08 +01:00
Uwe Stöhr
d57a52496f bicaption.module: improve a tooltip
- MultilingualCaptions.lyx: fix a typo
2013-01-12 16:27:03 +01:00
Uwe Stöhr
b0381b68a1 bicaption.module: update to new argument layout mechanism
- also fix a bug in the caption setup style to get rid of ERT
- MultilingualCaptions.lyx: update descriptions accordingly
2013-01-12 16:16:30 +01:00
Uwe Stöhr
2e7686e6e9 rsphrase.module: update to layout argument machinery
- also some whitespace fixes
- R-S-statements.lyx: update fileformat and fox some typos
2013-01-12 15:31:16 +01:00
Julien Rioux
26b67dcb49 Update the lilypond module to use the Argument machinery. 2013-01-12 10:04:53 +01:00
Julien Rioux
4be1b1a2a4 lilypond.lyx : Document music fragment options. 2013-01-12 09:58:33 +01:00
Julien Rioux
3b9caa3b0d UserGuide: Remove bold from hyperref's bibitem and href. 2013-01-12 09:19:52 +01:00
Julien Rioux
0899e957c3 Fix bibliography indentation throughout LyX 2.1 source (part of #7458). 2013-01-12 08:41:59 +01:00
Kornel Benko
e8a5b25bf5 Added findreplaceadv dialog to emacs and xemacs bindigs 2013-01-11 18:54:19 +01:00
Juergen Spitzmueller
95dd9517d3 Fix compilation with autotools
restriction.png does not exist.
2013-01-11 10:00:08 +01:00
Georg Baum
6ab8d2e54b Add symbol I stumbled upon 2013-01-10 21:22:55 +01:00
Georg Baum
d2b49e54b9 Add remaining images for math symbol toolbar
Most images are generated by development/tools/generate_symbols_images.py, but
some were drawn manually. Now there is no image missing from the ones the
script can generate.
2013-01-10 21:22:55 +01:00
Georg Baum
8b18bbd97e Add missing symbols and dependencies
Some wasysym and amsmath symbols were missing, and some amssymb dependencies
as well.
2013-01-10 21:22:55 +01:00
Georg Baum
45052f56ab Handle text-only wasy symbols correctly.
Some macros defined by wasysym.sty work only in text mode: They either
produce an error in math mode, or wrong output. These symbols are now marked
as text symbols, so that no \ensuremath is created for LaTeX export if they
appear inside \text{}, and the correct images are created.
2013-01-10 21:22:54 +01:00
Julien Rioux
15b2501177 LyXHTML linking from citation to bib entry for LyX 2.1 (fixes #8490).
What was previously accomplished by wrapCitation is now customizable in the
layout files. What we provide by default here corresponds roughly to the
LyX 2.0 behavior.
2013-01-10 15:32:00 +01:00
Georg Baum
731c1f9ac4 Fix commandline export of \implies.
See the added comment in lib/symbols for details.
2013-01-08 21:51:09 +01:00
Uwe Stöhr
df57b7050b Customization.lyx: some more revision
- German Customization.lyx: more translations
2013-01-06 03:28:34 +01:00
Julien Rioux
66ac0bbd8a LaTeXConfig.lyx : Document the bibliography and citation packages (change tracking). 2013-01-05 00:40:35 +01:00
Julien Rioux
2e72a0af48 Add known citation packages to LaTeXFeatures:
- achicago
  - apacite
  - apalike
  - astron
  - authordate
  - chicago
  - harvard
  - mslapa
  - named

This allows these citation packages can be Required by the document layout.
LyX handles the package ordering, loading any of these packages before natbib
when both are required by the document layout. For example, apacite can be
used with or without natbib.

The package achicago isn't compatible with natbib out-of-the-box,
but the following compatibility code makes it work:

\usepackage{achicago}
\let\achicagobib\thebibliography
\usepackage[authoryear]{natbib}
\let\thebibliography\achicagobib
\let\UnexpandableProtect\protect
\let\SCcite\astroncite
2013-01-05 00:08:55 +01:00
Juergen Spitzmueller
ef94145dc2 beamer manual: only cosmetics 2013-01-03 14:35:55 +01:00
Uwe Stöhr
4dba320edb natbibapa.module: fix a typo 2013-01-03 02:45:48 +01:00
Uwe Stöhr
b8fa4d9bc2 Customization.lyx: some corrections 2013-01-01 19:41:38 +01:00
Uwe Stöhr
0510421fcb chkconfig.ltx: add check for etoolbox and change checking order
- the packages which are independent of document classes are checked first - for the case that the Internet connection breaks during the checking/installation of missing packages
2013-01-01 17:41:32 +01:00
Juergen Spitzmueller
3d136d4444 minor additions 2013-01-01 16:41:01 +01:00
Uwe Stöhr
4da45ffeb7 Customization.lyx: list supported features for layouts
- we should not force authors of layout files to look into the source code to be able to use a function
2013-01-01 07:56:56 +01:00
Uwe Stöhr
912272d351 Customization.lyx: port from branch: revised section 5.3.3 and 5.3.4 2013-01-01 07:18:42 +01:00
Enrico Forestieri
d46e595397 Proper fix for #8477
The "fix" in ec8ae50f was reintroducing #7718, #8098, and #8254.
This fix is hopefully right while still avoiding code duplication.
2013-01-01 03:58:33 +01:00
Uwe Stöhr
17b2adda4f chkconfig.ltx: add packages used by documentation files
- check for diagbox, fp and pict2e
- the doc files uses several styles from the was package, but there is no was.sty, thus check for e.g. upgreek.sty
2012-12-31 21:25:08 +01:00
Uwe Stöhr
ec8ae50f54 configure.py: fix major part of bug #8477
configure.py needn't to hide the status of the LaTeX package checking
2012-12-31 18:37:45 +01:00
Julien Rioux
428d5f8978 Layout whitespace. 2012-12-31 17:16:14 +01:00
Julien Rioux
90f7007a2e Update my email and status. 2012-12-31 17:16:13 +01:00
Julien Rioux
40f8e1b453 Update the lilypond example file.
- Add a note about HTML.
- Add a note about using external files.
- Add a note about using lilypond variables and commands.
- Some corrections and nitpicks.
2012-12-31 17:16:12 +01:00
Julien Rioux
10b2ef1af5 lyxpreview: Allow to find python scripts.
In particular, lilypond-book is just a python script. On windows,
we need to call the python interpreter, using the full path to
the script while being wary of spaces in the path.
2012-12-31 17:16:11 +01:00
Kornel Benko
a71b923f1e Categorized g-brief2 styles 2012-12-31 16:57:02 +01:00
Juergen Spitzmueller
dd0e6976e8 Document InsetLayout Caption:<name> 2012-12-31 15:47:30 +01:00
Juergen Spitzmueller
3cc6dae63f More beamer reversion fixes 2012-12-31 14:30:44 +01:00
Juergen Spitzmueller
0c06a212e3 Beamer reversion fixes 2012-12-31 14:09:54 +01:00
Juergen Spitzmueller
1abfa1fd79 Add a beamer manual (introduction to the basics) which uses the new layouts 2012-12-31 13:19:20 +01:00
Juergen Spitzmueller
fa634ada85 beamerlyxexample1 update: we support fragile frames now 2012-12-31 13:13:20 +01:00
Juergen Spitzmueller
846dd9b995 Introduce new beamer frame layouts
The old layouts are still there (marked as deprecated). The new ones are more or less correctly reverted (polishment required), but the old ones not yet converted to the new. Once this is done, a further file format change should be made.
2012-12-31 13:00:46 +01:00
Juergen Spitzmueller
f9ff7fc01a Update Bicaption description to new UI 2012-12-31 10:34:41 +01:00
Juergen Spitzmueller
c3be720b53 Fix bicaption argument descriptions 2012-12-31 10:33:53 +01:00
Uwe Stöhr
4b4e513e80 Customization.lyx: document color names
- there is no need that we force Layout authors to look into the source code to be able to set a color in a layout file.
2012-12-31 04:05:58 +01:00
Uwe Stöhr
33e9c65413 Customization.lyx: revision of chapter 5 - port from branch
- uniform formatting, clarifications, simplifications, updates, added missing information
- German Customization.lyx: also translations, added missing information that is already in the other language versions
2012-12-31 03:08:28 +01:00
Georg Baum
ee3ce572a0 Fix import of shift-jis and big5 CJK texts.
These encodings were not defined, since they must not be used as document
encodings (the characters {, } and \ may appear in high bytes, and latex
would be confused). However, they are supported by CJK.sty (which uses a
preprocessor to circumvent the limitations of the latex executable). These
encodings are now defined, but used for import in tex2lyx only.
The test case CJK.tex contained fake tests for shift-jis and big5 (the
japanese and chinese characters were entered using the utf8 encoding), and
therefore the wrong interpretation of these encoding looked as if it worked.
The comments about missing iconv support of shift-jis and big5 were wrong as
well (otherwise shift-jis-plain would not work either).
2012-12-30 20:52:50 +01:00
Kornel Benko
d3b94fed30 Added categories for style Bibliography, TwoAuthors, ThreeAuthors, TwoAffiliations,
ThreeAffiliations, Institute, DinBrief, Section, Subsection, Theorem,
     Labeling, Opening, Closing, Signature, Name
2012-12-30 20:30:35 +01:00
Kornel Benko
534efc5139 Added categories for style Standard, Title, Abstract, ShortTitle,
Author, FourAuthors, Affiliation, FourAffiliations, Acknowledgements,
     Itemize, Enumerate, Seriate
to layouts, where they were missing. More to follow
2012-12-30 19:33:20 +01:00
Juergen Spitzmueller
2a62a2c395 update layout format 2012-12-30 18:35:23 +01:00
Juergen Spitzmueller
c246076ed5 Fix the 'caption inset mess' (bug #4647) 2012-12-30 18:29:02 +01:00
Juergen Spitzmueller
d0b5728d2e natbibapa.module: update format 2012-12-29 16:55:32 +01:00
Juergen Spitzmueller
e5b7cc4591 Add new apa files to the Makefile 2012-12-29 12:35:48 +01:00
Juergen Spitzmueller
f15c2c5f22 typo 2012-12-29 12:30:38 +01:00
Juergen Spitzmueller
592a7d2144 apa6 layout: update format, categorize properly, and whitespace.
IMHO we should take care that layout submissions to trunk are at least properly categorized
2012-12-29 11:09:10 +01:00
Georg Baum
56ece75ad9 Fix bug #8464: stackrel with subscript.
The fix is basically mechanical, the additional code for fraction like insets
with three arguments was stolen from \unitfrac. As any math package,
stackrel.sty needs a buffer parameter to switch it off.
I also added the two stackrel flavours to the toolbar.
2012-12-28 20:08:43 +01:00
Juergen Spitzmueller
d4a00c1a8a tex2lyx glitch 2012-12-28 14:04:24 +01:00
Georg Baum
a6f12e8a5c Document feature alternatives 2012-12-28 13:25:42 +01:00
Georg Baum
13b288bc5e Remove duplicate symbols
There were found with -dbg mathed ans entering a math inset.
I kept the AMS versions, except leadsto, which is only an approximation in AMS.
hbar was simply defined twice with identical definitions.
2012-12-28 13:25:42 +01:00
Georg Baum
23b74a9111 Add toolbar images for stmaryrd.sty symbols
These are all generated by development/tools/generate_symbols_images.py, the
only manual adjustments were renamings due to case sensitive file systems on
windows.
2012-12-28 13:25:41 +01:00
Juergen Spitzmueller
d1b8bc92ce typo 2012-12-28 12:35:18 +01:00
Juergen Spitzmueller
78cd88f5a3 Proper support for memoir epigraph (bug #8151) 2012-12-28 12:32:59 +01:00
Juergen Spitzmueller
37f41fd4b5 Support for command argument placement after the workarea argument 2012-12-28 11:21:24 +01:00
Kornel Benko
f98139e58d Rename category Section -> Sectioning 2012-12-28 10:52:58 +01:00
Richard Heck
824b0313b3 Add layout for APA v6 class and associated module and template.
Also, add Jacob Bishop to the list of contributors, since this is
his work. Thanks, Jacob!
2012-12-27 15:50:50 -05:00
Juergen Spitzmueller
2f7cd8cc8a Add environment-split to the menu 2012-12-27 11:28:55 +01:00
Juergen Spitzmueller
483b99193f Support for beamer \frametitle
The \frametitle command is less convenient to use than the \frame argument, but it provides more options (overlay/action and short title). We thus provide this additionally to the option, like beamer itself does.
2012-12-22 16:28:43 +01:00
Juergen Spitzmueller
b0aa0db10a Bump layout format 2012-12-22 11:39:04 +01:00
Juergen Spitzmueller
4818b3e68a Add (overlay-aware) beamer bold inset 2012-12-21 16:42:55 +01:00
Juergen Spitzmueller
e8598bf353 Whitespace 2012-12-20 14:10:14 +01:00
Juergen Spitzmueller
ef541d474c Improve overprint conversion.
Deeply nested sequences are still problematic.
2012-12-20 13:29:04 +01:00
Juergen Spitzmueller
bfde26bf12 Cosmetics 2012-12-20 09:53:18 +01:00
Juergen Spitzmueller
bb77082d04 Update beamer example 2012-12-19 19:47:00 +01:00