Commit Graph

8852 Commits

Author SHA1 Message Date
Uwe Stöhr
e01b4459fc Arabic Shortcuts.lyx: new translation by Hatim 2016-10-25 23:33:25 +02:00
Uwe Stöhr
d9c52c7a3f support for Amharic, Asturian, Kannada and Khmer
- fileformat change
- I could not update the tex2lyx test files because of bug #10440
- maybe the lyx2lyx routine could be improved but since a document can also begin with another layout than "Standard" I could not use the lyx2lyx function put_cmd_in_ert
2016-10-22 15:33:59 +02:00
Juergen Spitzmueller
95db20e008 Bump layout formats 2016-10-22 09:25:01 +02:00
Uwe Stöhr
fd3e2ebc37 Additional.lyx: accept some changes 2016-10-22 03:04:10 +02:00
Uwe Stöhr
7f7534403b layouts/modules: use the new PassThru tag
This fixes problems like bug #10434
2016-10-22 03:01:44 +02:00
Juergen Spitzmueller
fb9a866a66 Implement PassThru option to arguments. 2016-10-21 10:39:55 +02:00
Uwe Stöhr
f738b1003b French splash.lyx: restore \origin 2016-10-20 22:35:00 +02:00
Uwe Stöhr
62c4ba308a seminar.lyx: accept change from Günter
- French seminar.lyx: few beautifications
2016-10-20 22:31:30 +02:00
Günter Milde
6ff89c4b95 Do not convert \\\\textbackslash to 0x29f5.
Do not use REVERSE SOLIDUS OPERATOR for backwards conversion of
\\\\textbackslash in LyX and tex2lyx.

Both, \\\\ (005C REVERSE SOLIDUS = backslash) and 0x29f5 map to
\\\\textbackslash but 005c is the preferred back-transformation.

Otherwise, using \\\\ in "mathematical text" leads to literal 0x29f5 in the LyX
source which leads to "missing character" errors with non-TeX fonts.
2016-10-17 09:04:56 +02:00
Uwe Stöhr
f179173e42 support for the languages Bosnian, Friulian, Macedonian, Piedmontese and Romansh
- file format change
- note that I could not update the tex2lyx test files because of bug #10440
2016-10-16 15:33:23 +02:00
Uwe Stöhr
1feeefb2b1 Development.lyx: a MSCV specific update 2016-10-16 15:30:51 +02:00
Uwe Stöhr
2974e1a3db Development.lyx: Updates
- the range of file format does no longer need to be updated
- mention rule 6 of the documentation policies
2016-10-16 14:52:46 +02:00
Uwe Stöhr
3a6af2c1a4 Customization.lyx: use change tracking for the changes made in 0eb651a2 2016-10-15 01:44:14 +02:00
Juergen Spitzmueller
b30de672d0 enumitem.module: handle resume counter
Uses the new counter tags.
2016-10-14 20:09:54 +02:00
Juergen Spitzmueller
a85fa80060 linguistics.module: proper example counters
Uses the new counter tags.
2016-10-14 20:09:25 +02:00
Juergen Spitzmueller
0eb651a2cf New layout tags for better counter handling
* ResumeCounter: allow to resume an (enumerate) counter
* StepMasterCounter: allow to increase a master counter
2016-10-14 20:08:12 +02:00
Juergen Spitzmueller
91f5d90971 Fix label display in linguistic examples
Ideally, we would use a proper counter here, but this seems to be
impossible with the current counter mechanism.

What we would need is a counter that is incremented when either of the
layouts is used. Currently, the counter seems to be stepped only inside
one layout.

The current fix is a candidate for stable.
2016-10-14 11:45:32 +02:00
Kornel Benko
90adb4f314 Cmake export tests: Introduce 'LYX_DEBUG_LATEX' environment variable.
Setting this variable to '1' will include also latex messages in
ctest log file LastTest.log.
2016-10-12 14:35:23 +02:00
Scott Kostyshak
892593fbdc Change default working directory from ~/ to "."
Note that the lyxrc.document_path variable corresponds to what we
call the "Working directory" in the GUI preferences dialog.

Setting document_path to "." makes it so when LyX is started from a
directory, that directory is the default path for many of LyX's
operations, such as the following:

- new file, new from template
- adding a custom BibTeX file
- GUI compare dialog
- local layout button in document settings
- external material file browser
- graphics browser, include browser

The best guess for where the user wants to save or find files is the
directory the user started LyX from. Before, the default was always
the home directory. If desired, the old behavior can be restored by
changing the default path in Preferences > "Working directory".

This commit takes advantage of 9b64d7bd, which allows the use of a
relative path for path preferences.
2016-10-11 22:25:42 -04:00
Günter Milde
9c0f829d12 lib/unicodesymbols fixes and tests
Unicode blocks 125, 152, and 246
2016-10-11 00:38:17 +02:00
Uwe Stöhr
ef4594c71e French UserGuide.lyx: back to format of 2.2
Sorry for this, but see the last "rule" of the documentation guidelines: don't upgrade the fileformat unnecessarily
2016-10-10 23:47:33 +02:00
Günter Milde
16c26f909c seminar ctest fixes
* custom non-tex fonts with all required characters
* use 2.2 fileformat (easier backporting)
* test all export formats

Also, fix pattern for "mixing_inTitle_layouts" in unreliableTests.
2016-10-10 14:14:33 +02:00
jpc
65505ba879 Typo pointed out in the lyx-fr mailing list 2016-10-10 11:18:13 +01:00
Uwe Stöhr
16822a8a8e Development.lyx: small change from Scott 2016-10-10 02:45:05 +02:00
Guillaume Munch
e45bf2fbb9 Add Daniel to credits 2016-10-09 20:12:31 +02:00
Günter Milde
52fbe6ea26 lib/unicodesymbols: fix test sample
The package "dictsym"provides symbols for maps and dictionaries.
Should it be used in unicodefonts or is it "too exotic"?
2016-10-08 22:48:13 +02:00
jpc
8406b8c17b Wrong format number 2016-10-08 18:05:48 +01:00
Günter Milde
efa844702c unicodesymbols fixes.
force=utf8 is required for most characters provided by add-on packgages
and (almost) all mathematical characters, because these are not
set up for inputencs utf8

unicodesymbols.py failed here (python 2.7 under Linux) before the simple fix
included in this commit.
2016-10-08 16:57:52 +02:00
jpc
a214d95513 lettre: remove old workaround about page format in layout and update template 2016-10-06 13:52:16 +01:00
Guillaume Munch
da2bb33527 Continue with the documentation of the SVG+LaTeX external template 2016-10-04 00:52:35 +02:00
Martin Vermeer
63e2ac4597 ... and RELEASE-NOTES 2016-10-04 00:01:18 +02:00
Martin Vermeer
e9046da86f Further fixes due to remarks by Pavel Sanda Sep. 5, 2016 2016-10-04 00:01:18 +02:00
Martin Vermeer
10c88aa58f Initial commit of Inkscape SVG LaTeX + PDF support
Based on Daniel Groger's work of five years ago, with minor changes

http://www.mail-archive.com/lyx-devel%40lists.lyx.org/msg169820.html

This extends the support for Xfig LaTeX + PDF to a more modern and
actively developed vector graphics editor. Embedded Objects manual
updated, also to include a workaround for an Inkscape 0.91 bug.
2016-10-04 00:01:18 +02:00
jpc
77f6770bbf Update French translation of seminar.lyx & solve listslide title issue 2016-09-30 18:09:41 +01:00
Günter Milde
c454822b33 Update seminar layout and doc. 2016-09-29 21:59:54 +02:00
jpc
b4ae5ab9df Update French translation of seminar.lyx 2016-09-29 13:52:44 +01:00
Günter Milde
e9fcff1261 ctests: uninvert solved problems and make samples robust
Specify non-TeX fonts that work in the source for documents that
fail with "missing characters" if compiling with "non-TeX fonts"=true.
(This does not interfere with the default output in any way.)
2016-09-29 10:42:03 +02:00
Günter Milde
66f8d9a279 Fixes to seminar.layout and documentation.
Thanks to Jean-Marc for test and report.
2016-09-29 09:40:06 +02:00
jpc
c00afea614 French translation updated 2016-09-28 11:21:26 +01:00
Günter Milde
a07a541a8c seminar: major documentation (example) update. 2016-09-26 22:55:58 +02:00
jpc
22bb6e3f61 Change a line to avoid bad hyphenation
THe pdf output showed  a very visible line overfull. I slightly changed the text to
avoid this without adding an hyphenation point, not appropriate in documents for beginners.
2016-09-26 18:06:14 +01:00
jpc
f96683c41c Typo 2016-09-26 14:29:37 +01:00
Scott Kostyshak
27beb8f0d9 Amend 40c262cb
Use LyX note instead of comment. This is less invasive that
converting Beamer frames to fragile to accommodate the comment
environment.

(cherry picked from commit e81f6b04bc)
2016-09-22 23:17:40 -04:00
Scott Kostyshak
513a0bc8bc Amend and extend 9f3518bc
The comment is now in a comment inset. This change is extended to
all versions of beamer.lyx.

Change tracking is not used because it only affects a comment
(consistent with aa81ae7e).

This change is made according to updated conversation at:
https://www.mail-archive.com/search?l=mid&q=nruubc%24uu0%241%40blaine.gmane.org

(cherry picked from commit 40c262cbd8)
2016-09-22 22:26:02 -04:00
Günter Milde
30c9c8e81a lib/unicodesymbols tests: add comments and remove spurious test samples. 2016-09-22 12:10:39 +02:00
Guillaume Munch
ca58674267 Better title for ViewSource
The title is changed to "LaTeX (pdflatex) Preview", etc. depending on the
format. The actual default format is computed.

The menu name "Source Pane" is replaced by "Code Preview Pane" to better reflect
its purpose.
2016-09-21 16:42:38 +02:00
Jean-Marc Lasgouttes
db12707655 Do not hardcode required packages for Note inset
This does not change the default behavior, but allows to customize it.
2016-09-21 16:11:53 +02:00
Uwe Stöhr
df11db1dd3 French beamer.lyx: accept changes
I think this can be accepted without further explanation since it is in a comment
2016-09-20 23:17:09 +02:00
Juergen Spitzmueller
b8486ba6d1 Improve bibliography info (general), part II
Consider collection and proceedings
2016-09-20 11:51:04 +02:00
Juergen Spitzmueller
85f1259bf1 Improve bibliography info (general)
Consider all thesis types.
2016-09-20 11:45:25 +02:00
Juergen Spitzmueller
2267f4aef6 Improve info display for biblatex databases, part IV
Consider biblatex's new field names: location (address),
journaltitle (journal), institution (school).

Biblatex provides alias for the legacy bibtex field names. Hence check
for the new names only if the legacy names are not used.
2016-09-20 11:35:05 +02:00
Günter Milde
559c895130 lib/unicodesymbols: tests and fixes, Blocks 87 - 91
Also add more "stmaryrd" symbols.
2016-09-20 08:16:39 +02:00
Günter Milde
e82e48c44d lib/unicodesymbols: replace TABs. 2016-09-20 08:16:21 +02:00
Scott Kostyshak
1c7835c092 Fix compilation of fr/beamer.lyx with XeTeX
The compilation did not succeed before because of an é in an ERT
inset. This is changed to \'{e}.

Also correct spelling of "decouvert" to "découvert".

Alternatives would be to use a LyX note or a comment inset. Since
the original version uses ERT, I do not change that.

This commit fixes the following ctest:

  export/examples/fr/beamer-article_pdf4_texF

It likely also fixes the corresponding test for fr/beamer.lyx, but
since the default output format is set to pdf2 we do not run the
test.

For more information, see:
https://www.mail-archive.com/search?l=mid&q=20160919192413.ftnz4gk6dl5w3k5c%40Opti1604

(cherry picked from commit 9f3518bcd2)
2016-09-19 22:27:20 -04:00
Enrico Forestieri
d0f608d28e Document the new behaviour in mathed 2016-09-19 11:57:39 +02:00
Günter Milde
5156416279 lib/unicodesymbols tests and fixes: Block Dingbats. 2016-09-18 17:08:56 +02:00
Uwe Stöhr
a588bddec5 Development.lyx: update documentation rules 2016-09-16 23:25:04 +02:00
Günter Milde
27420e84ad ctests: rename pattern file "suspiciousTests" to "invertedTests". 2016-09-16 12:10:48 +02:00
Günter Milde
f957d32ed3 lib/unicodesymbols tests and fixes: Block Miscellaneous Symbols.
* add \Coffeecup and \Wheelchair

* add "force=utf8" where required

* uninvert tests: ctest works again after Kornel fixed the problem in 9f1b80a2af
2016-09-16 12:10:48 +02:00
Günter Milde
c79b7c1496 lib/unicodesymbols tests and fixes.
Blocks Box Drawing, Block Elements, Geometric Shapes.
2016-09-14 22:06:11 +02:00
Günter Milde
e08a372927 lib/unicodesymbols tests and fixes
* Test blocks Mathematical Symbols, Miscellaneous Technical, Control Pictures
* fix Fahrenheit symbol
* add force=utf8 where required
2016-09-13 22:08:24 +02:00
Günter Milde
e62d20fc01 lib/unicodesymbols fixes
"vdots" fails in text mode, if "mathdots" is loaded.

package "ascii": remove invalid command "\\ascii", let LyX terminate commands
2016-09-12 11:46:30 +02:00
Scott Kostyshak
2c26ff8864 Fix compilation of ja/EmbeddedObjects.lyx
sidecap does not work well for some reason with the Japanese doc, so
the sidecap bool is set to false to restore compilation.

The following test now passes:

export/doc/ja/EmbeddedObjects_pdf3
2016-09-11 10:11:05 -04:00
Günter Milde
754cb3d18a Test and fix lib/unicodesymbols for Letterlike Symbols, Number Forms and Arrows blocks. 2016-09-10 22:43:57 +02:00
Enrico Forestieri
2aa930bbe8 Fix display and export of some latex macros
Fixes #9742.
2016-09-10 18:32:44 +02:00
Günter Milde
99310b7e3f Fix export of Unicode characters (Unicode blocks <=72)
Fix problems revealed by hand-compiling an examining the test samples in autotests/export/Unicode-characters/:

* new definitions
* fixed definitions
* "force=utf8" when required
* some IPA symbols fail without the "extraipa" package
* fix direction of "textcommaaboveright"
2016-09-10 12:35:51 +02:00
Günter Milde
b9a47dff4e Test and fix lib/unicodesymbols for Latin, Greek, and Cyrillic. 2016-09-08 23:22:51 +02:00
Günter Milde
bc72b4602f Math definitions of Greek symbol variants for lib/unicodesymbols
+ test sample for Greek and Coptic Unicode block
2016-09-08 23:22:51 +02:00
Juergen Spitzmueller
461cb03b67 Update docs wrt Separator 2016-09-08 10:29:21 +02:00
Uwe Stöhr
7d94afc4da partly Revert "fr/UserGuide: remove spurious language switch in an index inset."
Please fix at first the versions in branch since this is the working copy delivered with LyX.
Also please keep the fileformat unless you need to document a new feature that requires a new fileformat.
2016-09-08 00:52:45 +02:00
Günter Milde
dc378b523d ctests: More inversions
* Polyglossia + LuaTeX + \verb bug with Cyrillic and Greek
* PDF(LuaTeX) Intro.lyx (reports png without bounding box)
2016-09-07 23:27:16 +02:00
Günter Milde
5fd56eb9ad fr/UserGuide: remove spurious language switch in an index inset.
This led to errors when compiling with polyglossia (and non-TeX fonts).
A minimal (currently non-compiling) test sample is kept in autotests/export/
and inverted in suspiciousTests.
2016-09-07 23:27:16 +02:00
Scott Kostyshak
5a1cbf5cbf Fix compilation of attic/id_UserGuide.lyx
Change an ERT \bf{ to \textbf{.

Consistent with e.g. 0e49231b.
2016-09-07 14:49:15 -04:00
Scott Kostyshak
6e22893fd5 id_UserGuide: Update LyX format for next commit 2016-09-07 14:47:09 -04:00
Günter Milde
936fe7ace3 minor edit of development guide 2016-09-06 16:44:36 +02:00
Juergen Spitzmueller
00f2166df8 Remove duplicate context menu item
Fixes: #10368
2016-09-06 13:15:55 +02:00
Georg Baum
df8e0ed9e0 Add xlsx format
We do already have docx, but xlsx was missing. This is a separate format
because of the MIME type. nd because some users might need converters which
can only handle one format. Now the spreadsheet template does not hide the
fact anymore that it can deal with xlsx files as well.
2016-09-05 22:52:38 +02:00
Uwe Stöhr
95bdeba21e French doc files: port last changes to master 2016-09-03 22:19:46 +02:00
Juergen Spitzmueller
0f1496ae28 Remove English traces in IPA inset that make XeTeX fail. 2016-09-03 16:57:43 +02:00
Scott Kostyshak
d1b0dba99f he/splash.lyx: mark \LaTeX{} insets as English
This makes sure they're output in the correct direction, consistent
with the previous commit (although this does not change the exit
code of the export).

For more details, see:
https://www.mail-archive.com/search?l=mid&q=20160828233923.guhveaqxdxh356nm%40steph
2016-09-01 17:39:14 -04:00
Scott Kostyshak
95afab4be7 he/splash.lyx: fix compilation
We need to mark the LyX inset as English to avoid "missing glyph"
errors.

For more details, see:
https://www.mail-archive.com/search?l=mid&q=20160828233923.guhveaqxdxh356nm%40steph
2016-09-01 17:38:59 -04:00
Scott Kostyshak
185e630875 Amend previous commit, 0e49231b
Thanks to Guillaume.
2016-08-28 20:14:24 -04:00
Scott Kostyshak
0e49231bbf Convert deprecated '\rm' to '\textrm' in examples
This change fixes the export of our FeynmanDiagrams.lyx example
files on the latest TeX Live 2016.

The IJMP(C|D).lyx examples compiled before the change but might as
well convert these instances of '\rm' also.

The changes were made with the help of the following command:

  find ./ -iregex .*lyx -exec sed -i 's/\\rm /\\textrm /g' {} \;

and the resulting diff was confirmed manually.

This commit is consistent with 3cecd4d3.
2016-08-28 19:40:37 -04:00
Guillaume Munch
0779b3c36c Change "Format" into "Formats"
The plural form seems more appropriate and the tag [[output]] is added for
disambiguation (e.g. for the French translation).
2016-08-28 18:26:58 +01:00
Georg Baum
f69d11f97b Add more lib/symbols unicodemapping
There are still many math symbols in lib/symbols that lack a corresponding
entry in lib/unicodesymbols, although a clear mapping exists. This commit
adds some of them (not all yet). In the future we should probably move the
information from both files into one database.
2016-08-27 11:52:31 +02:00
Juergen Spitzmueller
1720498f8d Fix \@ifundefined check for covexample(s)
Fixes: #10340
2016-08-26 10:45:15 +02:00
Georg Baum
338cef2a97 Fix regression of 88603655
The XHTML entries were added in the wrong field, if they are given we need
extra xhtml requires. The order is inconsistent, there are discussions on the
list about that but for now I'll use the existing order to fix the export tests.

The format of the lib/symbols file does not support "" for empty strings.
One would have to use x for fields that are not set (this is a hack), but
actually we know how to fill the extra field.
2016-08-21 20:39:52 +02:00
Jean-Marc Lasgouttes
6de6aad4cd Add missing entries in syntax.default
These are: \cellcolor, columncolor and rowcolor

Fix \rotatebox

Remove ",," in argument of color command, this is actually not used.
2016-08-19 16:02:36 +02:00
Scott Kostyshak
e7a64949ad Foils.lyx: fix output of author
By moving date and author above the standard layouts, author is now
output in the PDF and the terminal error from LyX about mixing an
InTitle layout with non-InTitle layouts is gone.
2016-08-09 12:56:03 -04:00
Scott Kostyshak
e09db1f151 Literate.lyx: move date with other InTitle layouts
This leads to the date being output in the PDF and gets rid of the
terminal error from LyX about mixing an InTitle layout with
non-InTitle layouts.
2016-08-08 23:45:06 -04:00
Scott Kostyshak
330e52b9cb Fix dviluatex exports of Sweave/knitr/Lily/noweb
After the fix at fe06ef0e, several converter chains to DVI
(dviluatex) were broken because they had previously gone through an
incorrect link in the chain.

This commit adds converters for the above formats to dviluatex and
fixes the following ctests:

  export/examples/Literate_dvi3_texF
  export/examples/Literate_dvi3_systemF
  export/examples/knitr_dvi3_texF
  export/examples/knitr_dvi3_systemF
  export/examples/lilypond_dvi3_texF
  export/examples/lilypond_dvi3_systemF
  export/examples/noweb2lyx_dvi3_texF
  export/examples/noweb2lyx_dvi3_systemF
  export/examples/sweave_dvi3_texF
  export/examples/sweave_dvi3_systemF
  export/templates/RJournal_dvi3_texF
2016-08-07 14:04:05 -04:00
Richard Heck
e57e008e88 Remove debugging code. 2016-08-05 21:39:58 -04:00
Richard Heck
f697faf370 InsetNote is not output for XHTML.
Also fixes whitespace.
2016-08-04 22:35:47 -04:00
Richard Heck
fab09075a6 Remove stray "typewriter" font. 2016-08-04 21:40:37 -04:00
Juergen Spitzmueller
90f6eb01a4 Include all [scr]article styles in beamer article layouts.
File format change. On format reversion, we need to put some extra code
in the local layout that emulates the 2.3 behavior.
Simply Input'ing the respective layouts is unfortunately not enough,
due to the insertion order.

See #9977
2016-08-04 11:42:06 +02:00
Juergen Spitzmueller
310c140627 Correct default font of beamer article layouts
Fixes: #9977
2016-08-04 10:27:10 +02:00
Scott Kostyshak
60515b996b New LFUN lyx-activate to focus LyX window
On Linux and Mac OS, this action brings the LyX window into focus.
Such behavior is not allowed by Windows OS so instead the color of
the taskbar entry is changed to indicate that the window has changed
in some way.

The action is hidden in the shortcuts menu because it would make
sense to assign a shortcut to it. The only way to execute shortcut
would be if the LyX window is already activated.

lyx-activate will be used (see next commit) to allow the PDF viewer
to switch to LyX after executing a reverse search.
2016-08-04 01:46:13 -04:00
Scott Kostyshak
bd5d0a6254 RELEASE-NOTES: add the new LFUN branch-invert 2016-08-04 01:45:48 -04:00
Guillaume Munch
77511ea1d5 Add an option to layout2layout to convert to a particular format 2016-07-31 18:34:33 +01:00
Richard Heck
69f8ab21ef Fix typo in new dia converter. 2016-07-31 12:46:12 -04:00
Uwe Stöhr
d9db72833a Customization.lyx: port recent changes to master 2016-07-31 10:43:00 +02:00
Uwe Stöhr
79a76392ab Customization.lyx: accept Richards changes
Richard, please do everything that does not depend on LyX 2.3 this in the 2.2.x branch. Also don't upgrade the fileformat if not necessary.
2016-07-31 10:37:28 +02:00
Richard Heck
ab3a49973f Fix display of code listings in XHTML.
Fixes bug #8362.
2016-07-31 01:47:30 -04:00
Richard Heck
1840e2dbaf Enable export of spreadsheets with XHTML. 2016-07-31 01:26:15 -04:00
Richard Heck
94dd876699 Dummy export for spreadsheets: plaintext and DocBook. 2016-07-31 01:26:15 -04:00
Richard Heck
681e76086a Export external raster graphics as png for XHTML. 2016-07-31 01:26:15 -04:00
Richard Heck
b9f7bf7d69 Export external vector graphics as svg for XHTML. 2016-07-31 01:26:15 -04:00
Richard Heck
a45ffddb23 Enable SVG export of XFig figures for XHTML. 2016-07-31 01:26:15 -04:00
Richard Heck
0b8c6bbbf8 Activate export of chess diagrams for XHTML. 2016-07-31 01:26:15 -04:00
Richard Heck
b35661b755 Enable XHTML export of LilyPond files. 2016-07-31 01:26:15 -04:00
Richard Heck
3f1199d56a Allow XHTML export of Dia diagrams. 2016-07-31 01:26:15 -04:00
Richard Heck
6c5caa78cb Fix some wrongly converted "LaTeX" logos. 2016-07-31 00:37:50 -04:00
Richard Heck
d142ab94ef whitespace 2016-07-31 00:15:42 -04:00
Richard Heck
22e1063cb9 Fix indentation of fen2ascii script so it will run. 2016-07-30 23:17:30 -04:00
Richard Heck
8860365565 Fix some symbols that are displayed incorrectly in MathML export. 2016-07-30 21:08:06 -04:00
Richard Heck
e2fa3cb6ef Fix output of table borders for XHTML. Fixes bug #10154. 2016-07-30 20:15:12 -04:00
Richard Heck
eeb6b5b153 Revert most of dd7863b6.
I did not mean to commit the caption-related stuff.
2016-07-30 01:42:08 -04:00
Richard Heck
dd7863b6ac Fix thinko from earlier commit.
We need to output the deferred material AFTER the paragraph is closed.
2016-07-30 01:29:06 -04:00
Scott Kostyshak
075d53c990 Document closing a tab with middle-click
This commit documents the feature introduced at 4803c769, which
fixed #10288.

The User Guide already has a section on closing tabs, so this fits
in well.
2016-07-24 01:41:24 -04:00
Richard Heck
0f4c14bba2 Fix hang reported at #10307.
Also, add a FIXME explaining what we'd need to do to fix the
convert_TeX_brace_to_Argument routine properly.
2016-07-23 13:44:34 -04:00
Enrico Forestieri
cf8302b86d Update qpdfview info on inverse search 2016-07-19 11:31:36 +02:00
Scott Kostyshak
3826ff6434 Improve documentation of LFUN_BUFFER_ZOOM_{IN,OUT}
The default for ZOOM_OUT is -20 from a user perspective. That is,
the following are equivalent:

  buffer-zoom-out -20
  buffer-zoom-out

The reason for this is that the argument to ZOOM_OUT is treated the
exact same way as ZOOM_IN. The only way they differ is how the
default case is handled.

This commit also clarifies that (1) the argument may be positive or
negative and that (2) the argument is interpreted as percentage
points, not percent.
2016-07-19 02:11:27 -04:00
Scott Kostyshak
d158bca200 Update LFUNs.lyx to describe branch-invert 2016-07-19 02:01:57 -04:00
Kornel Benko
c4a6d8d568 Ammend c169861 2016-07-16 22:03:56 +02:00
Uwe Stöhr
c8814a0a9d doc files: remove unnecessary TeX braces 2016-07-16 12:45:51 +02:00
Uwe Stöhr
0124e8ff89 Math.lyx: add shortcuts for font styles 2016-07-16 02:31:34 +02:00
Uwe Stöhr
f965079ea3 example files: remove unnecessary latexpar
- fixes part of bug #10068
2016-07-16 00:24:27 +02:00
Uwe Stöhr
c1e698fd86 doc/template/examples files: port recent changes
By the way: Please only edit the files in the 2.2.x branch unless you describe a new features of LyX 2.3.
2016-07-16 00:11:28 +02:00
Uwe Stöhr
19e0adb86b UserGuide.lyx: port today's changes 2016-07-15 02:56:47 +02:00
Uwe Stöhr
74888abfca doc files: port recent changes 2016-07-15 01:40:43 +02:00
jpc
7840e65129 Fix typos in InStar module explanantions 2016-07-14 22:46:12 +01:00
José Matos
cca93dacae Improve the file format upgrade and downgrade for microtype
Add get_bool_value to parser_tools to be used in other places.
Make the upgrade convertion seamless from lyx writing the file (regarding
microtypes, there are still other dragons to chase. :-)
2016-07-13 15:01:17 +01:00
Scott Kostyshak
2b6f822bad Add CMake flag for keytests and disable by default
The keytests were previously enabled by default if the necessary
dependencies were found. They require a GUI and mouse so can
sometimes be annoying. Further, they are not currently reliable.
They are thus now disabled by default.
2016-07-13 04:52:46 -04:00
Juergen Spitzmueller
edfee02ed7 Revert "linguistics.module: add new dependencies"
This reverts commit 33e550a986.
2016-07-13 08:00:07 +02:00
Scott Kostyshak
5392877fa5 UserGuide: "Toggle Inversion" -> "Invert Inset"
Consistent with change at 6f97684d.
2016-07-12 22:21:58 -04:00
Scott Kostyshak
5651f7d7ca Development.lyx: fix a typo 2016-07-12 22:21:51 -04:00
Guillaume Munch
6f97684d56 Branch-invert: Add a check mark to the switch in the contextual menu. 2016-07-12 14:27:08 +01:00
Richard Heck
e57889ff2f Document new inverted branch insets in User Guide. Also add note to
RELEASE_NOTES.
2016-07-12 00:20:27 -04:00
Richard Heck
e1ca7733c3 LFUN to toggle branch inversion status, now available from the
context menu.
2016-07-12 00:19:40 -04:00
Richard Heck
5df323a0dd Introduce "inverted" branch insets: These are branches whose content
is output when a branch is NOT activated. Fixes bug #7698.

At the moment, inversion is controlled through the branch settings
dialog. There is no provision for inserting inverted insets directly,
or for changing them from the context menu. Both of these could be
done, of course. The latter would need LFUN_BRANCH_TOGGLE_INVERTED.
2016-07-11 23:56:32 -04:00
Richard Heck
ed87044d91 We do not need to enter the format numbers for 2.3 at this time.
The code just below fills thiss automatically.

(cherry picked from commit 3d8082346e16770f3af4ee6d617c8fe91e9292e1)
2016-07-11 22:49:29 -04:00
Richard Heck
a11e07a62f Only trim right end of lines in header. This allows us to preserve
whitespace in local layout.
2016-07-10 00:19:19 -04:00
Juergen Spitzmueller
fe06ef0e27 Correct format 2016-07-09 13:57:49 +02:00
José Matos
7848bdd4fe Fix bug #10273
Although this a problem that only manifests itself on windows the change is general
and it works anywhere.

The major change is to change the file redirection > to -o the specifies the output file.

At the same time it makes the call to lyx2lyx less cryptic, e.g. to revert to the 1.3
format we have:

\converter lyx lyx13x "python -tt $$s/lyx2lyx/lyx2lyx -t 221 $$i > $$o"     ""

now instead of
python -tt $$s/lyx2lyx/lyx2lyx -t 221 $$i > $$o

we use a call where the version to revert is explicit
python -tt $$s/lyx2lyx/lyx2lyx -V 1.3 -o $$o $$i

or we could write a longer, but more understandable form:
python -tt $$s/lyx2lyx/lyx2lyx --final_version 1.3 --output $$o $$i

FWIW I shuffled the order of the arguments just for the sake of readability,
to let $$i be the last argument.
2016-07-08 16:06:03 +01:00
Juergen Spitzmueller
312e82876c Add comment 2016-07-08 16:48:56 +02:00
Juergen Spitzmueller
967dbe0d68 linguistics: minor doc tweaks 2016-07-08 13:58:32 +02:00
Juergen Spitzmueller
ee14363e0b Fix incompatibility of covington and beamer.
Candidate for stable.
2016-07-08 10:04:24 +02:00
Uwe Stöhr
6a598b3d12 German UserGuide.lyx: backport recent changes from branch 2016-07-05 03:02:11 +02:00
Uwe Stöhr
d0eebfd044 doc files: backport recent changes 2016-07-05 02:27:36 +02:00
Pavel Sanda
8085899fb6 Ressurect make distcheck. 2016-07-04 13:17:07 -07:00
Enrico Forestieri
7c82ab3205 Fix display of \leq, \geq, and \lnot in mathed
Commit 343a379b used a wrong syntax that was causing the display
of the above symbols as blanks.
2016-07-04 21:55:00 +02:00
Georg Baum
5b04b91d54 whitespace 2016-07-02 14:52:46 +02:00
Georg Baum
083e6bb8a4 Fix MathML for imaginary part
image is the HTML image element
2016-07-02 14:37:05 +02:00
Georg Baum
0147e1f857 Add Dima to CREDITS 2016-07-02 10:11:21 +02:00
Georg Baum
521c0cde3a Add some symbols from fontmath.ltx
These are all in lib/symbols, but we did not yet know the corresponding unicode
numbers. unicodesymbols does still not contain all symbols from lib/symbols.
2016-06-30 22:25:56 +02:00
Richard Heck
9fe0e9563f Add John Hudson. 2016-06-29 16:02:27 -04:00
Richard Heck
c16986161a Re-organization of Additional Features manual by John Hudson. 2016-06-29 12:18:36 -04:00
Kornel Benko
b9ed02314f Pass through for filename characters of \ecvpicture command
For instance in case the path contains '_', it would otherwise
be converted to '\_', and so \ecvpicture cannot find the referenced
picture.
2016-06-29 10:45:03 +02:00
Richard Heck
9aa874e3b1 JSS template should load math packages automatically.
Fixes bug 9242.
2016-06-28 23:35:57 -04:00
Georg Baum
4df8117a9d Escape backslashes
The parser that reads unicodesymbols uses backslashes to escape quotes, so
every backslash that is part of a LaTeX command needs to be escaped as well.
There are more candidates in the greek and cyrillic sections, but I don't
know those commands, so I did not touch them.
2016-06-26 20:36:44 +02:00
Georg Baum
343a379b88 Move duplicated symbols to the macro section
This helps to find them via unicodesymbols as I do for some STIX experiments
2016-06-26 20:36:44 +02:00
Scott Kostyshak
3cecd4d393 Remove \it and other oldfonts from math completion
\it and the other oldfont commands are deprecated and the new forms
(e.g. \mathit) should be used instead. The old forms can lead to a
warning in TeX Live 2015 and an error in TeX Live 2016.

Note that with this commit only affects completion, so LyX still
supports displaying e.g. \it in math if the user enters it without
completion.

This is consistent with 24d01111.

Thanks to Guillaume for the patch.
2016-06-25 19:40:18 -04:00
Richard Heck
1db883e183 In lib/lyx2lyx/: s/while 1/while True/ 2016-06-25 17:38:06 -04:00
Georg Baum
3420910d7b Remove asciiimage and asciixfig formats
The external templates requested conversion to these formats, but there was no
converter defined, so plain text export did fail, and there are no obvious ways
to create plain text representations for the files used by these templates.
Now we output the file name as for other templates and also the graphics inset.
This fixes bug #7135.
2016-06-25 21:09:21 +02:00
Pavel Sanda
4c361a7bdf * Math.lyx : One more take on maxima output.
https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg195130.html

Reported the \it behaviour to maxima bugzilla.
https://sourceforge.net/p/maxima/bugs/3181/
If they don't fix it we might want to kill this line altogether.
2016-06-25 11:23:05 -07:00
Scott Kostyshak
3f93355488 Change \it to \mathit in Math.lyx
On TeX Live 2016, Math.lyx gives an error when compiling with
pdflatex. On TeX Live 2015, Math.lyx compiles but the log gives the
following warning:

  Usage of deprecated font command `\it'!

This commit amends 67e45aa3.
2016-06-25 03:49:27 -04:00
Richard Heck
92fae708ae Style. 2016-06-24 16:02:35 -04:00
Richard Heck
e7ea33885c Document new behavior of ForcePlain with charstyles. 2016-06-21 15:40:43 -04:00
Richard Heck
a9af5333b2 Add new module:
Provides two new styles:

1. An "In Premable" style that puts whatever is entered into it into the preamble.
   This can be used, if one wishes, to include preamble code in the body of the
   LyX document.
2. An "In Title" style that will put its contents into the body of the LaTeX
   document, but before \maketitle is issued. This is useful for making branches
   and notes in title-related material. (If you put these in a Standard layout,
   this signals to LyX to output \maketitle, which may then come too early.)

Due to the ForceLocal machinery, no format change is needed.
2016-06-20 11:06:31 -04:00
Georg Baum
d66d6f7805 Remove external date inset
The external date inset was implemented as a demonstrator for external insets
in general. It was never intended for production code. Now that we have several
external insets defined we do not need the demonstrator anymore. This fixes
bugs #4398 and #9948.
2016-06-19 21:23:25 +02:00
Georg Baum
5ab19af782 Skip paragraph parameters for dash conversion
Some of them are directly passed to LaTeX, but for all of them a token
\twohyphens or \threehyphens is not valid. This fixes bug #10243.
2016-06-19 17:05:13 +02:00
Georg Baum
ff93b83953 implement lyx2lyx roundtrip for \use_microtype 2016-06-17 21:11:53 +02:00
Georg Baum
c6610453e0 Use unicode cmdline args consistently
Previously the commandline arguments were processed in an operating system
dependent encoding if running under python 2. Now they are converted to
unicode during the parsing, using the more modern argpase instead of optparse.
The individual conversion methods do no longer need to know anything about
commandline encoding. This fixes a bug similar to #10218 if running under
python 2 which I probably introduced during the python 3 conversion.
2016-06-16 22:05:56 +02:00
Kornel Benko
43d284e15a Added missing ipa icons to distribution 2016-06-15 15:03:55 +02:00
Kornel Benko
60a1827b65 Added missing oxygen icons to distribution 2016-06-15 14:50:09 +02:00
Georg Baum
7b4c4d8ae1 Add missing images to source package
Thanks to Kornel for noticing.
We cannot use ${x} style variables with autotools, these work only in the
final Makefile. We need to use $(x).
2016-06-14 22:30:26 +02:00
Pavel Sanda
8e3a890b2a * Math.lyx put last changes under CT. 2016-06-12 19:00:06 -07:00
Georg Baum
166420d02c Make lyx2lyx infrastructure python3 ready
The LyX class works now with python 3. Certain file format conversions may
still fail (convert_multiencoding() is a hot candidate), but this will need
to be fixed in the individual modules.
2016-06-12 21:21:15 +02:00
Pavel Sanda
67e45aa36c * Math.lyx : add few maxima examples to ch. 23.1. 2016-06-11 11:27:49 -07:00
Georg Baum
72c6602b13 Improve comments and add missing decoding call
We do already fill the first line of the body in the first pass, so the body
has to be converted to the correct encoding as well.
2016-06-11 14:46:48 +02:00
Georg Baum
9558d863c8 Some python 3 fixes for lyx2lyx
These were found by 2to3 and later adapted to use the compatibility code
which was already used in some parts of lyx2lyx, e.g. lyx_1_5.py.
2016-06-11 11:06:11 +02:00
Georg Baum
e93013057f Add missing backslashes
Found by 2to3, but useful for python2 as well for consistency reasons.
2016-06-08 22:17:14 +02:00
Georg Baum
d0aa7d24ab Make scripts python3 compatible
Again using 2to3 and manual checking
2016-06-08 20:02:33 +02:00
Georg Baum
73a5e423bd Make configure.py python3 compatible
This was done using 2to3 and manual tweaking afterwards to ensure that it
works with python2 as well.
2016-06-08 19:29:15 +02:00
Richard Heck
b3cf3b67d9 Fix some problems with the preamble in th eKoma-script letter
template.

Thanks to Richard Talley for the report.
2016-06-06 19:55:54 -04:00
Scott Kostyshak
b1bc328396 Start a fresh RELEASE-NOTES 2016-06-06 04:57:47 -04:00
Scott Kostyshak
dc52bdf647 configure: Add export format for 2.2.x 2016-06-05 03:53:57 -04:00
Georg Baum
0560e5df04 Update gen_lfuns.py to current format
And run it to update LFUNs.lyx. This overtakes the  syntax fix from b356df7fc
as well.
2016-06-04 19:46:40 +02:00
Pavel Sanda
ba2b86fa5d Introduce basic support for microtype.sty.
https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg192743.html
2016-06-02 22:48:58 -07:00
Uwe Stöhr
ed0d002166 Tutorial.lyx: port last change 2016-06-03 01:29:59 +02:00
Georg Baum
eade4ceb92 Export svg in xhtml, not svgz (bug 10160)
LyX did not distinguish compressed and uncompressed svg files previously.
Therefore XHTML export of vector graphics did use svgz images directly, which
is not supported by browsers. If svg and svgz are treated as two formats then
all works fine. This is also consistent with the loadable image formats
reported by qt: It reports both svg and svgz.
The gunzip dependency in converters is not new (it is already used internally),
but the gzip dependency is new, so it might not be available on windows.
This is not important at the moment, since we do not yet need to convert svg
to svgz, I only added the converter for completeness.
2016-06-02 22:34:28 +02:00
Uwe Stöhr
b4ab194216 UserGuide.lyx: update 2 images 2016-05-30 23:20:49 +02:00
Kornel Benko
161cf52363 Dont use invalid tag '<pre></pre>' in xhtml export 2016-05-30 09:48:06 +02:00
Uwe Stöhr
dd0330c349 UserGuide.lyx: update 2 images 2016-05-30 04:27:36 +02:00
Uwe Stöhr
234d482e1e tufte-handout.lyx: add the lost \origon tag
That the origin tag is automatically removed sucks. It consumes a lot of time to re-add it again and again.
2016-05-30 01:46:16 +02:00
Uwe Stöhr
be5ec39cf2 tufte-handout.lyx: remove some unnecessary TeX code 2016-05-30 01:42:00 +02:00
Kornel Benko
82e0ad3efa Correct wrong path for included lyx-file
Although the fix affects only a content of a LyX note, it is
still surprising to get a dialog-window demanding creation
a new document if trying to edit the subdocument.
2016-05-29 17:55:55 -04:00
Jean-Marc Lasgouttes
d30fe45f4c Fixup 1b2aad9 : Cleanup of spacing in mathed
Now that 5mu are added on each side of : (because it is a relation), there is no need to do the same in the definition of \vcentcolon.

This is closer to what is done in mathtools.sty.
2016-05-29 17:55:55 -04:00
Günter Milde
320b616c50 Improve documentation of LyX' "smart quotes" feature. 2016-05-29 17:55:55 -04:00
Georg Baum
306eb8d2a7 Add Shankar Giri Venkita Giri to CREDITS 2016-05-29 17:55:43 -04:00
Günter Milde
5fc431594f More fixes for #9897 (wrong inset-icon size in PDF)
Inset-icons are auto-scaled according to their width.
This is problematic, if converted from SVG
with the bounding box set to content (ignoring the page size)
and the content is not square.

OTOH, ignoring page size is done for good reasons - we usually want just
the drawing area when inserting an image into a document.

An invisible square with fixes this problem.

Some icons had spurious invisible elements outside the page -- leading
to too small results in the PDF. These were removed.
2016-05-29 17:55:43 -04:00
Guillaume Munch
6d4e6aad24 Automatically show the review toolbar if the document has tracked changes
(#8738)

For efficiency, we add a new flag to the buffer indicating when changes are
present. This flag is updated at each buffer update, and also when explicitly
requested via a dispatch result flag.
2016-05-29 17:55:42 -04:00
Juergen Spitzmueller
8ed362fda7 Implement some forgotten context menu items for arguments
* Dissolve context menu
* Label toggle (for conglomerate-styled arguments)

Fixes: #10150
2016-05-29 12:32:53 +02:00
Jean-Marc Lasgouttes
01bbac4738 Move the documentation changelogs out of attic
They should not be hidden in this directory.
2016-05-28 17:43:01 -04:00
Enrico Forestieri
63153b8937 Add note about required svg support in Qt. 2016-05-23 03:05:36 +02:00
Scott Kostyshak
e16018afb8 RELEASE-NOTES: add a known issue regarding LuaTeX
Our LuaTeX export is not expected to work in all cases with the
newest version, e.g. the one shipped with TeX Live 2016.
2016-05-22 18:08:05 -04:00
Scott Kostyshak
6280d8f261 Fix compilation if Intro manual for it 2016-05-21 23:13:27 -04:00
Scott Kostyshak
e0ff8a3c8b Fix compilation of Additional manual for es, fr 2016-05-21 23:05:35 -04:00
Georg Baum
5f36a413ae LyX does work with ImageMagick 7 2016-05-21 11:24:39 +02:00
Georg Baum
8d4236bd1d Fix python release notes
The old text was incorrect and came from the 2.0 release. LyX works fine if
the default python interpreter is python 3, as long as python 2 is available
as well.

Building LyX does also work with python 3, but since I did not check all
special build steps with both cmake and autotools, I kept a note about
possible problems.
2016-05-21 10:12:57 +02:00
Uwe Stöhr
5254045a4d Tutorial.lyx: get rid of unnecessary preamble code
The aim of the tutorial is to explain how to use LyX and not special LaTeX issues with \frontmatter, non-TeX fonts etc. Therefore the preamble should kept clean.
2016-05-19 01:46:09 +02:00
Uwe Stöhr
3b3dccb34a Japanese Additional.lyx: fix broken filename - this is a regression bug in LyX 2.2
see bug #10136
2016-05-18 00:43:51 +02:00
Uwe Stöhr
5d716ce77d German Tutorial.lyx: few stylistic changes from Mike 2016-05-18 00:26:58 +02:00
Uwe Stöhr
9e437d7a93 German Additional.lyx: make compilable again
- some further typographic fixes
- use same PDF settings as the English version of Additional.lyx
2016-05-18 00:17:09 +02:00
Uwe Stöhr
efe72fd8e2 Additional.lyx: remove unnecessary TeX code
- also some typographic fixes
2016-05-18 00:08:20 +02:00
Uwe Stöhr
f3ee4a0a49 Japanese docs: fix some more paths
- also few beautification
2016-05-17 23:34:09 +02:00
Guillaume Munch
f60e705299 Remove test for luatex+fontspec compatibility (#8478)
This test used freeze on luatex's font cache generation, and only
very old versions of luatex and fontspec are incompatible with each
other.
2016-05-15 19:30:35 +01:00
Uwe Stöhr
9a16b2e87f German Tutorial.lyx: a typographic fix 2016-05-15 19:09:38 +02:00
Uwe Stöhr
7376f2f37f Tutorial.lyx: add a hint 2016-05-15 19:09:10 +02:00
Uwe Stöhr
e0d44fbf3c German Tutorial.lyx: some more fixes from Mike and me 2016-05-15 18:50:22 +02:00
Uwe Stöhr
498eb64e1f EmbeddedObjects.lyx: get rid of unnecessary ERT and fix an image size 2016-05-15 17:14:09 +02:00
Uwe Stöhr
564e72f29f Japanese docs: fix some further broken images links etc. 2016-05-15 16:50:16 +02:00
Uwe Stöhr
2b4300a48d UserGuide.lyx: fix some typographic issues spotted by Mike 2016-05-15 16:34:40 +02:00
Uwe Stöhr
e2f5505d41 Japanese UserGuide.lyx: fix broken image links 2016-05-15 16:34:06 +02:00
Uwe Stöhr
72c9ff8a50 Tutorial.lyx: fixes all other languages according to previous commit
- typographic fixes, break links etc.
2016-05-15 03:29:04 +02:00
Uwe Stöhr
1742b371aa German Tutorial.lyx: some fixes from Mike and me 2016-05-15 03:25:37 +02:00
Juergen Spitzmueller
48e4363482 beamer manual: fix grammar issues spotted by Anthony Campbell. 2016-05-14 10:27:08 +02:00
Pavel Sanda
518876b370 * lib/RELEASE-NOTES 2016-05-11 10:31:59 -07:00
Georg Baum
8da5d01ff7 Detect ImageMagick 7
Imagemagick 7 does not have a convert command anymore, it is now called magick.
Joint work by Uwe and me.
2016-05-10 21:27:57 +02:00
Georg Baum
a1cc936548 Ensure that TeXFiles.py is run by python2
We ensure that configure.py is called by python2, regardless whether 'python'
is python 2 or 3. Therefore we can simply call TeXFiles.py with the currently
running interpreter. This fixes configuration on systems where 'python' is
python 3.
2016-05-10 07:18:48 +02:00
Georg Baum
38e9752c01 Change line ends back to unix.
They were changed to windows by accident at 41e928b2e5.
2016-05-09 22:03:16 +02:00
Uwe Stöhr
4ac85c61b6 German UserGuide.lyx: unset compression
thanks Guillaume for the hint
2016-05-09 01:42:35 +02:00
Uwe Stöhr
c62cad7a71 Merge branch 'master' of git.lyx.org:lyx 2016-05-09 01:24:14 +02:00
Uwe Stöhr
41e928b2e5 German UserGuide.lyx: tons of typographic fixes sent in by an unknown user 2016-05-09 01:24:02 +02:00
Guillaume Munch
10cbed2abe Examples: remove parbreak and latexpar separators
The difference has been validated with diffpdf.

The following could not be tested and were left unchanged:

docbook_article.lyx
lilypond.lyx
linguistics.lyx
springer/sv*.lyx
de/linguistics.lyx
es/linguistics.lyx
ja/FeynmanDiagrams.lyx
ja/lilypond.lyx
ja/beamer.lyx
ja/xypic.lyx

The following is the script that I used (in lib/examples):

LYX=../../build/src/lyx
$LYX -E pdf2 $1.old.pdf $1
sed -i "s/^\\\\begin_inset Separator parbreak$/\\\\begin_inset Separator plain/" $1
sed -i "/^\\\\begin_inset Separator latexpar$/ { N; d; }" $1
$LYX -e lyx $1
$LYX -E pdf2 $1.pdf $1
diffpdf $1.old.pdf $1.pdf
2016-05-08 22:14:46 +01:00
Guillaume Munch
edc8e76591 Templates: remove parbreak and latexpar separators
The difference has been validated with diffpdf.

The following could not be tested and were left unchanged:

AEA.lyx
IJMPC.lyx
ja_beamer-conference-ornate-20min.lyx

The following is the script that I used (in lib/templates):

LYX=../../build/src/lyx
$LYX -E pdf2 $1.old.pdf $1
sed -i "s/^\\\\begin_inset Separator parbreak$/\\\\begin_inset Separator plain/" $1
sed -i "/^\\\\begin_inset Separator latexpar$/ { N; d; }" $1
$LYX -e lyx $1
$LYX -E pdf2 $1.pdf $1
diffpdf $1.old.pdf $1.pdf
2016-05-08 22:14:46 +01:00
Uwe Stöhr
2ea95d0c1f Tutorial.lyx: some mote typographic fixes 2016-05-08 22:32:57 +02:00
Uwe Stöhr
75ff35e089 Tutorial.lyx: typographic fixes spotted by a user 2016-05-08 22:19:49 +02:00
Uwe Stöhr
b289c597ae Japanese doc files: big translation update fro 2.2.0 from Koji 2016-05-04 01:12:04 +02:00
Scott Kostyshak
2ab7c3ac11 RELEASE-NOTES: advise MSVC 2015 update 2 on Win
When compiling with Qt 5.6, MSVC 2015 update 2 is recommended in
order to avoid #9892.
2016-04-25 23:53:29 -04:00
Scott Kostyshak
287db1239b Fix a \origin unavailable 2016-04-16 15:20:33 -04:00
jpc
3d5cae4edd Minor rephrasing of last commit 2016-04-16 09:15:42 +01:00
Jean-Marc Lasgouttes
4807338ba9 Remove image spellcheck-continously.svgz
It is not a proper icon and is not used currently.
2016-04-15 09:21:44 +02:00
Scott Kostyshak
d28c4ae2c4 Update acmsiggraph-0-92.layout to latest format 2016-04-11 21:28:32 -04:00
Scott Kostyshak
847b69ea89 lyx2lyx: Set last minor version of 2.1.x series 2016-04-11 20:41:23 -04:00
Scott Kostyshak
7c3fd63646 Revert "AGUTeX: update layout to AGUTeX 2015 according to our new guidelines"
For why this reversion is being done, see:
https://www.mail-archive.com/search?l=mid&q=nebrfg%249t4%241%40ger.gmane.org

This reverts commit 700edf93d7.
The style correction regarding lib/Makefile.am is kept. This amends
647b106b.
2016-04-11 11:34:11 -04:00
Uwe Stöhr
ac6824e4f2 French UserGuide.lyx: restore the \origin tag 2016-04-11 00:39:53 +02:00
jpc
01ea2b5fb1 Adaptation of sections 3.3.6.2 ans 3.9.3.1 to French typography 2016-04-10 19:27:26 +01:00
Kornel Benko
b5e81c6370 Correct list of template files
Change to new layout for aastex6.cls removed aastex.lyx and added aastex6.lyx
2016-04-09 21:24:13 +02:00
Uwe Stöhr
700edf93d7 AGUTeX: update layout to AGUTeX 2015 according to our new guidelines 2016-04-09 18:38:07 +02:00
Uwe Stöhr
647b106be6 ACM siggraph: update layout as discussed 2016-04-09 18:18:04 +02:00
Scott Kostyshak
fe82ce961a Fix layout strings that cause a make error
We do not currently handle UTF-8 characters in our layout strings.
Replace dashes with simple ASCII dashes to avoid the following
error:

  msguniq -o lyx.po
  msguniq: input file '-' doesn't contain a header entry with a
  charset specification

This commit amends the recent commit b4dcad83.
2016-04-08 18:40:56 -04:00
Günter Milde
b4dcad83b2 New layout for aastex6.cls. Fixes #10027.
Some more work for new and improved styles optional.
2016-04-08 21:34:23 +02:00
Helge Hafting
f5cea5abc2 Corrected the path to ToolBarEnvBox.png, so the document compiles again. 2016-04-07 10:02:25 +02:00
Georg Baum
7c1b6cd73f Update translation of Chart by Georger
This has been discussed on the docs list, Diagrama is much more general.
2016-04-07 07:37:44 +02:00
Georg Baum
d3ebda2333 Fix graph translations for es, pt_BR and pt_PT
This was discussed in the thread "Translations of Math environments in LyX
output for LyX 2.2" at http://www.mail-archive.com/lyx-docs@lists.lyx.org/msg08633.html
and has been reviewed. The problem was that in 2.1, the portuguese translation
was correct in lib/layouttranslations but different in po/pt_PT.po. In fact,
the translation is the same for all three languages spanish, portuguese and
brazilian portuguese.
2016-04-06 08:22:59 +02:00
Enrico Forestieri
b856a3ad9b Update docs to latest format. 2016-04-06 05:43:44 +02:00
Enrico Forestieri
d4ca8d7404 Introduce the latexpar separator.
This is the same as the parbreak separator and is represented on screen
as the old parbreak. Old parbreak separators are converted to latexpar
separators when they are used for introducing blank lines in the
latex output rather than for separating environments.
Instead, parbreak separators are now represented on screen by a
double line. In essence, latexpar and parbreak separators produce
the same output but are represented differently on screen.
The context menu does not account for latexpar separators and only
"true" separators can be turned each into the other one.
2016-04-06 05:25:27 +02:00
Georg Baum
b509e072e8 Overtake layout translations from sl.po
sl is completely unreviewed, so we do nothing wrong if we translate previously
untranslated strings.
2016-04-05 22:02:00 +02:00
Georg Baum
a1c248a47c Overtake layout translations from ko.po
ko is completely unreviewed, so we do nothing wrong if we translate previously
untranslated strings.
2016-04-05 21:59:48 +02:00
Georg Baum
2f266caa9f Overtake layout translations from bg.po
bg is completely unreviewed, so we do nothing wrong if we translate previously
untranslated strings.
2016-04-05 21:54:10 +02:00
Georg Baum
90fdd49b2b Review of portuguese layout translations by Pedro
He made more suggestions, but those are not 100% clear yet.
2016-04-05 08:26:38 +02:00
Georg Baum
b9ca82578d Latest brazilian translations from Georger
After some discussion between Georger, Pedro, Pavel and me Georger came to the
conclusion that Mapa is not the correct translation of Chart in this context.
Originally he proposed Gráfico, but since that would be identical to the
translation of Graph we decided that Diagram is better. It is a bit more
general than Gráfico, but it is also used in pt_PT, and the german translation
uses the german equivalent, which is more general as well. Those who need a
Gráfico can still use Graph.

Unfortunately Geoger based the new .po file on the remerged one at
259196e1a6, so we have now the situation that pt_BR is remerged, but the
other languages are not.
2016-04-05 08:07:56 +02:00
Uwe Stöhr
f0e45c817d EmbeddedObjects.lyx: update a changed name
- de.po: update translation accordingly
2016-04-05 00:35:56 +02:00
Georg Baum
e87735f789 Review of greek layout translations by Οδυσσέας 2016-04-04 22:05:31 +02:00
Georg Baum
7ffaf4eca6 Review of norwegian layout translations by Helge 2016-04-04 21:54:11 +02:00
Günter Milde
7e33fd7fac Development.lyx: Simplify the list of reasons for file format updates. 2016-04-04 10:25:43 +02:00
Georg Baum
77fc7fe8b6 Review of brazilian layout translations by Georger 2016-04-03 20:30:29 +02:00
Günter Milde
a2dcc4dfcc Review material on updating layout files to the development docs. 2016-04-03 19:11:43 +02:00
Georg Baum
4467ee4405 Arabic translations have been reviewed 2016-04-03 10:09:45 +02:00
Richard Heck
95169b1000 Add material on updating layout files to the development docs.
Joint work by Guenter Milde, Georg Baum, and Richard Heck.
2016-04-02 11:37:25 -04:00
Georg Baum
d3094dca10 Accept footmisc removal
I don't remember why I used change tracking there, but we certainly don't
want to ship documentation with enabled change tracking.
2016-04-02 10:40:19 +02:00
Georg Baum
a78cc97b2a Fix List of Listings in finnish
I forgot to update that at e74a862418, this one was reviewed by Martin as well.
2016-04-01 21:45:13 +02:00
Jean-Marc Lasgouttes
6196645cce Update documents and layouts after fd1ee3b4. 2016-04-01 10:08:39 +02:00
Georg Baum
e74a862418 Update finnish layout translations
Now all finnish layout translations are reviewed (by Martin Vermeer).
2016-03-31 22:09:56 +02:00
Georg Baum
0690d9033c Mark brazilian translations for review
These translations were changed implicitly at ad6ab20bb1: Previously, the
translations were taken from pt. At ad6ab20bb1 all pt_BR translations were
copied from pt_BR.po, so we do still need a review for those that differ from
pt_PT.
2016-03-30 21:49:36 +02:00
Jean-Marc Lasgouttes
fd1ee3b424 Rename Caption:LongTableNoNumber to Caption:Unnumbered
The term LongTable has been deprecated and moreover the renaming makes the interface easier to the eye.

File format updated to 507. (conversion based on jamatos patch)
Layout format updated to 60.
tex2ylx tests updated.
Document EmbeddedObjects.lyx has been updated.
2016-03-30 16:07:00 +02:00
Scott Kostyshak
e5e21da467 Remove a duplicate \origin tag 2016-03-29 17:40:49 -04:00
Scott Kostyshak
e48a03460b RELEASE-NOTES: document creation of backup file
We now create a backup file when overwriting a file with a new file
format. See #9554 and cc83dfa8. This is now documented in
RELEASE-NOTES.

Thanks to Livu.
2016-03-28 01:33:49 -04:00
Uwe Stöhr
cfd2d808cc French UserGuide.lyx: another update from Jean-Pierre 2016-03-27 19:50:09 +02:00
Uwe Stöhr
b8fc31ad6f French UserGuide.lyx: update from Jean-Pierre 2016-03-27 19:46:20 +02:00
Georg Baum
a285ff046f Add missing layout translation keys
These have been forgotten by the last update, since bg, ko and sl are not in
po/LINGUAS. I add them here so that it is obvious that these translations are
missing.
2016-03-27 11:07:50 +02:00
Uwe Stöhr
9955fbbf2c Norwegian files: add missing \origin tag
otherwise I cannot compile LyX:
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets
(151,5): error MSB6006: "cmd.exe" was ended with Code 1. [D:\LyXGit\Master\compile-2010\doc\doc.vcxproj]
2016-03-21 02:23:35 +01:00
Uwe Stöhr
935da758f4 French beamer.lyx: updates by Jean-Pierre 2016-03-20 23:22:35 +01:00
Helge Hafting
e1c609781a Update lib/Makefile.am and lib/doc/Makefile.am to reference newly
translated files (Norwegian (nb) Tutorial, splash and examples)
2016-03-20 02:38:02 +01:00
Helge Hafting
1b684dd513 Norwegian (nb) translations of splash.lyx, Tutorial.lyx,
and the example files referenced from the Tutorial.
2016-03-20 01:11:07 +01:00
Uwe Stöhr
3d178720f0 beamer: add French example files, patch from Jean-Pierre 2016-03-16 00:20:18 +01:00
Uwe Stöhr
fdab91be63 Norsk Intro.lyx: update from Helge 2016-03-11 20:19:22 +01:00
Scott Kostyshak
d319a9e831 Inherit "Provides color" in *-article.layout
This commit is Consistent with 97521c4e.

Patch from Jürgen. See discussion here:
https://www.mail-archive.com/search?l=mid&q=20160305184215.GA17005%40cotopaxi.hsd1.dc.comcast.net
2016-03-11 04:12:54 -05:00
Scott Kostyshak
97521c4ec4 Fix xcolor use with *-beamer.layout
This commit fixes the minimal example of using e.g. purple text in
article-beamer.

Patch from Jürgen. See discussion here:
https://www.mail-archive.com/search?l=mid&q=20160305184215.GA17005%40cotopaxi.hsd1.dc.comcast.net
2016-03-10 16:48:18 -05:00
Uwe Stöhr
fae1cd6af0 splash.lyx: fix hyphenation 2016-03-04 01:54:19 +01:00
Uwe Stöhr
d3715336fe French linguistics.lyx: updates by Jean-Pierre 2016-02-27 19:58:10 +01:00
Guillaume Munch
2f17a9d029 Fix bindnasrepma.svgz
It's ampersand rotated 180 degrees, not its vertical mirror
2016-02-26 16:11:00 +00:00
Uwe Stöhr
70b7958aa1 French Math.lyx: changes by Jean-Pierre 2016-02-25 20:38:18 +01:00
Uwe Stöhr
d17a38ac24 Math.lyx: some fixes 2016-02-25 00:15:54 +01:00
Uwe Stöhr
82ac5dcc6f French Math.lyx: translations by Jean-Pierre 2016-02-25 00:15:00 +01:00
Uwe Stöhr
e8eed35c5c Math.lyx: revise section about subnumbering
thanks to Andrew Aparsloe for the hint
2016-02-21 17:46:55 +01:00
Juergen Spitzmueller
f60a152a29 Adapt forest (linguistic structure tree) to new syntax of the package
while maintaining backwards compatibility (#9967).
2016-02-21 11:54:25 +01:00
Uwe Stöhr
ee039005ac Spanish modernCV.lyx: updates by Ignacio 2016-02-20 02:39:41 +01:00
Uwe Stöhr
ba28f504b5 Spanish modernCV.lyx: update the file and make it compilable
(a special preamble is necessary for Spanish)
Ignacio will translate it soon.
2016-02-19 02:16:36 +01:00
Uwe Stöhr
8dc6c22b73 linguistics.lyx: re-add the \origin tag
Btw. the file is not compilable, see bug #9967
2016-02-18 02:00:38 +01:00
Uwe Stöhr
b6eb3f58be example files: fixes and updates by Ignacio 2016-02-18 01:53:08 +01:00
Uwe Stöhr
ca337df809 Spanish example files: updates by Ignacio (part 2/2) 2016-02-18 01:32:37 +01:00
Uwe Stöhr
0564785b3e tufte layouts: add new dependencies 2016-02-18 01:32:17 +01:00
Uwe Stöhr
33e550a986 linguistics.module: add new dependencies 2016-02-18 01:31:51 +01:00
Uwe Stöhr
a7c89edeaa Spanish example files: updates by Ignacio (part 1/2) 2016-02-18 01:07:08 +01:00
Georg Baum
5dcc89d257 Remove date from LFUNs.lyx as discussed.
Also update format to 506.
2016-02-11 21:22:07 +01:00
Scott Kostyshak
ce071eec92 Update docs to 2.2.0beta1 format 2016-02-09 21:38:47 -05:00
Scott Kostyshak
693ca643fc RELEASE-NOTES: document tabular-feature change 2016-02-09 19:13:43 -05:00
Uwe Stöhr
97dfacfffa Italian doc files: some updates from Claudio 2016-02-08 21:09:01 +01:00
Kornel Benko
49b6a89a14 Make ja/splash.lyx compilable again.
Using a second language (english) leads to errors if not using babel.
2016-02-08 11:02:34 +01:00
Uwe Stöhr
667bb0fd2a French Tutorial.lyx: update by Jean-Pierre 2016-02-03 21:53:50 +01:00
Uwe Stöhr
43ea63197d Japanese UserGuide.lyx: updates by Koji 2016-02-03 21:46:32 +01:00
Uwe Stöhr
67fa69ce6b New Brazilian splash.lyx from Georger
- therefore split Portuguese into Brazilian and Portugal
2016-02-03 01:24:58 +01:00
Uwe Stöhr
12559b33c3 Math.lyx: remove a misleading info
mathed simply does not yet support \parbox
2016-02-03 00:51:50 +01:00
Uwe Stöhr
0d30333ec6 acmsiggraph.layout: revert c1e0b243 partly 2016-02-03 00:03:55 +01:00
Enrico Forestieri
340acadee8 Translate a few sentences in it/splash.lyx 2016-02-02 01:41:34 +01:00
Günter Milde
fa75f57603 ctest export tests: document requirements.
Add suggestion for policy for "reuse" of documentation files.
2016-02-01 23:56:37 +01:00
Uwe Stöhr
6cddc4617b Spanish splash.lyx: translation from Ignacio 2016-02-01 21:41:08 +01:00
Uwe Stöhr
aa9e14c68f Ukrainian translations: updates by Yuri 2016-02-01 21:32:56 +01:00
Uwe Stöhr
5ff2286c28 French translations: updates by Jean-Pierre 2016-02-01 21:31:36 +01:00
Uwe Stöhr
bd3dd7873a Merge branch 'master' of git.lyx.org:lyx 2016-01-31 21:27:47 +01:00
Uwe Stöhr
4848c43ac0 splash.lyx: add note for Linux installations (part 2/2)
- this topic appears from time to time so it is useful to add a note.
- update also a non-existing menu name
2016-01-31 21:26:20 +01:00
Scott Kostyshak
d5694318ef Document need to use same subset if --rerun-failed
When running the tests with ctest, --rerun-failed can be used to run
the tests that failed on the previous run. However, the same subset
must be specified because it is the test numbers that are used to
index which tests failed on the previous run. For example, it would
be incorrect to do the following:

  ctest -R export
  ctest --rerun-failed

The following is correct:

  ctest -R export
  ctest -R export --rerun-failed
2016-01-31 15:22:10 -05:00
Uwe Stöhr
b0370857b4 splash.lyx: add note for Linux installations (part 1)
- this topic appears from time to time so it is useful to add a note.
- update also a non-existing menu name
2016-01-31 21:16:29 +01:00
Uwe Stöhr
bac98eaf4b Spanish Tutorial.lyx and Intro.lyx: updates by Ignacio 2016-01-31 15:28:45 +01:00
Uwe Stöhr
7b35843b0f Spanish Tutorial.lyx: remove non-existing menu 2016-01-30 20:36:48 +01:00
Uwe Stöhr
5ebf8cd649 UserGuide.lyx: document longtable -> multi-page table 2016-01-30 20:28:46 +01:00
Uwe Stöhr
130ee11f63 Spanish UserGuide.lyx: updates by Ignacio 2016-01-30 20:25:51 +01:00
Uwe Stöhr
11689bec64 UserGuide.lyx: an update 2016-01-30 01:26:27 +01:00
Uwe Stöhr
962d5b1c20 Spanish doc files: updates by Ignacio 2016-01-30 00:55:21 +01:00
Uwe Stöhr
78ce4edbd2 French doc files: updates from Jean-Pierre 2016-01-29 00:31:08 +01:00
Uwe Stöhr
d6489afa5d IOP-article.lyx: avoid some preamble code 2016-01-29 00:20:43 +01:00
Uwe Stöhr
4a8a2ef9a8 lyx_2_2.py: remove double code
thanks Guillaume
2016-01-27 22:51:49 +01:00
Uwe Stöhr
f8be82f76c Japanese doc files: translations from Koji 2016-01-27 22:43:35 +01:00
Guillaume Munch
627bb7bd07 Document the automatic generation of LFUNs.lyx (51d4036d) 2016-01-27 18:39:56 +01:00
Guillaume Munch
e5e8b55abb Development.lyx: intructions for LFUN format increment
Document the new policy
2016-01-27 18:35:38 +01:00
Guillaume Munch
360742c515 New LFUN tabular-feature: update docs
Simply run updatedocs.py
2016-01-27 18:35:10 +01:00
Guillaume Munch
f58638c704 New LFUN tabular-feature: convert "inset-modify tabular" in LyX files
* Increase LyX format

* New function convert_info_insets in lyx2lyx_tools.py
  Use this function in the future for future updates of info insets

* Convert "inset-modify tabular" to "tabular-feature" in info insets

* Remove icon naming hack regarding "inset-modify tabular"
2016-01-27 18:33:09 +01:00
Guillaume Munch
647b4efb1e New LFUN tabular-feature: update bind and ui files
A simple run of development/tools/updatelfuns.sh
2016-01-27 18:22:32 +01:00
Guillaume Munch
366b319e42 New LFUN tabular-feature: update prefs2prefs.py 2016-01-27 18:20:53 +01:00
Uwe Stöhr
c1e0b24304 acmsiggraph.layout: update layout for ACM siggraph 0.92
fileformat change: update fileformat for all files
2016-01-27 01:58:13 +01:00
Uwe Stöhr
bae3bd67b7 Customization.lyx: update color list in Font description 2016-01-27 01:09:58 +01:00
Uwe Stöhr
9e4755ff97 ectaart.lyx: correct style of a note 2016-01-27 00:59:58 +01:00
Uwe Stöhr
5207333ef0 aa.lyx: add BibTeX info and update file for latest A&A version 2016-01-27 00:55:12 +01:00
Uwe Stöhr
6e59aff511 AEA.lyx: update to address latest AEA version 2016-01-27 00:34:03 +01:00
Georg Baum
4ab1d77577 Fix regression of 0bf8b8a1 (bug 9884)
Unfortunately the footmisc package does not work together with hyperref:
Before 0bf8b8a1, a footnote in a section title was created as a link in pdf
outpout, after 0bf8b8a1 ist was no link anymore. For now we revert to the old
code, and wait until the footmisc and hyperref packages are made compatible.
2016-01-26 21:33:46 +01:00
Uwe Stöhr
5433db3931 acmsiggraph.layout: whitespace fixes 2016-01-26 01:52:39 +01:00
Uwe Stöhr
93faf3433c UserGuide.lyx: a compile fix
It is a long standing bug that lyX does not automatically convert # to \# in the LaTeX output so that one easily gets compilation errors.
2016-01-26 00:27:28 +01:00
Uwe Stöhr
f1a05b413a europasscv.layout: add dependencies
also some fine-tuning of the example file
2016-01-25 22:56:39 +01:00
Uwe Stöhr
8800068051 acmsiggraph.layout: add new dependency 2016-01-25 22:46:29 +01:00
Uwe Stöhr
f1930b0c68 IUCr layout: add new dependency
also mention new possible BibTeX style
2016-01-25 22:45:41 +01:00
Uwe Stöhr
14835f1da1 Changelog-XXX.txt: updates 2016-01-25 02:45:05 +01:00
Uwe Stöhr
45fde8bf97 UserGuide.lyx: describe dvips options
- also some unifications and fixes
2016-01-25 02:34:34 +01:00
Uwe Stöhr
61e338ffee Spanish EmbeddedObjects.lyx: re-add lost \origin tag 2016-01-24 16:19:56 +01:00
Uwe Stöhr
6291fefe9e EmbeddedObjects.lyx: update multi-page table description 2016-01-24 16:07:22 +01:00
Georg Baum
63974a9b6b Fix autotools build
33b757e7ab used a wrong extension for the new file in Makefile.am.
2016-01-24 15:09:35 +01:00
Uwe Stöhr
33b757e7ab SVG-Drawing.svg: add a SVG example drawing 2016-01-24 13:48:56 +01:00
Georg Baum
e179b03065 Really regenerate cmex10.ttf from .sfd at af970c20
I somehow managed to submit the wrong file at 313d4c0dc8.
Thanks again Enrico for noticing.
2016-01-24 11:40:03 +01:00
Kornel Benko
230c9275d1 Modified labelwidthstring containing '_'.
Otherwise the files is not compilable
2016-01-24 09:07:35 +01:00
Uwe Stöhr
68b18a4ccb French and Japanese EmbeddedObjects.lyx: forgot this issue in previous commit 2016-01-24 04:55:46 +01:00
Uwe Stöhr
dcf4f024ea EmbeddedObjects.lyx: update external templates section 2016-01-24 04:50:31 +01:00
Uwe Stöhr
3ca4a10924 UserGuide.lyx: describe new LaTeX log feature 2016-01-24 04:03:22 +01:00
Uwe Stöhr
60dd0e17e5 UserGuide.lyx: describe changed paragraph separation 2016-01-24 03:30:03 +01:00
Uwe Stöhr
f5f8e9e369 UserGuide.lyx: describe a new feature 2016-01-23 20:41:52 +01:00
Uwe Stöhr
e1e2e55472 Italian Tutorial.lyx: remove outdated underbars 2016-01-23 18:26:10 +01:00
Uwe Stöhr
2a507512e4 Japanese doc files: some tweaks 2016-01-23 18:16:25 +01:00
Uwe Stöhr
9ad4507f3b Additional.lyx: fixes 2016-01-23 17:19:21 +01:00
Uwe Stöhr
e7adefb528 Changelog-XXX-LyX_22x.txt: update ToDo 2016-01-23 17:10:31 +01:00
Uwe Stöhr
576da0d88f German Additional.lyx: corrections
German UserGuide.lyx: a fix
2016-01-23 17:09:14 +01:00
Uwe Stöhr
cbca21b8ed Spanish doc files: some tweaks 2016-01-23 17:02:38 +01:00
Uwe Stöhr
41a9c97a8e French doc files: some tweaks 2016-01-23 16:45:39 +01:00
Uwe Stöhr
53a3268c64 French doc files: translations by Jean-Pierre 2016-01-23 16:32:50 +01:00
Uwe Stöhr
716f44d5b9 Merge branch 'master' of git.lyx.org:lyx 2016-01-23 16:20:01 +01:00
Uwe Stöhr
d0ca4ddd98 French UserGuide.lyx: a translation from Jean-Pierre 2016-01-23 16:19:47 +01:00
Richard Heck
d763840a2f enumitem and paralist should exclude each other.
Reverts cb2fe78a64, which used the ExcludesModule tag, which
cannot be used in modules.
2016-01-23 09:54:08 -05:00
Günter Milde
7ecdcef236 Update/enhance/edit autotest documentation. 2016-01-22 22:42:40 +01:00
Günter Milde
ffb24b53f9 Remove enumitem example file from attic.
The content of this file is (in updated form) part of the UserGuide, so there is
no need for a separate example.
2016-01-22 22:42:40 +01:00
Georg Baum
cb2fe78a64 Do not allow paralist + enumitem modules
As discussed on the list. The two modules can only be used together with
special switches, and have partly overlapping functionality.
2016-01-22 21:55:40 +01:00
Uwe Stöhr
c0e5bbb600 French UserGuide.lyx: translations from Jean-Pierre 2016-01-22 00:11:53 +01:00
Uwe Stöhr
20c00c4fe6 enumitem.lyx: move this file to attic
See my post on the list - enumitem is already described in the userGuide.
(Besides this a makefile entry was missing for the file.)

Please don't add documentation files without a discussion or a review, especially not in a beta phase.
2016-01-20 23:56:27 +01:00
Günter Milde
f5a31cd9dc Example file for enumitem module. 2016-01-20 23:24:28 +01:00
Günter Milde
8b2fa0a27b Set default output to pdf (ps2pdf) - works for online viewing and presentation. 2016-01-20 23:23:48 +01:00
Georg Baum
10e98c2bbd Remove stmary10.sfd from source package
We do now have .sfd sources for all fonts, so either we distribute all of them
with the source package or none. Since the accumulated size is not negligible,
and the are not needed to build LyX, but serve a really special purpose, we
do not add them to the source package for now.
2016-01-20 21:29:43 +01:00
Georg Baum
313d4c0dc8 Regenerate cmex10.ttf from cmex10.sfd at af970c20
Thanks to Enrico for doing the actual work (my fontforge omits the
TtInstrs...EndTTInstrs blocks for some reason I do not understand).
I did only check that the only difference between the old and new .ttf is the
changed position of the bracketleftbigg glyph. This does finally fix bug 6115.
2016-01-20 21:14:08 +01:00
Uwe Stöhr
8d00943aab EmbeddedObjects.lyx: some tweaks 2016-01-20 02:33:19 +01:00
Richard Heck
070967b442 Example file for paralist module. 2016-01-19 06:50:13 -05:00
Richard Heck
29703f07d6 Fix typos in paralist module. The correct command is not compactdescr,
etc, but compactdesc. At least this is true in the most recent version
on CTAN.
2016-01-19 06:49:33 -05:00
Uwe Stöhr
bb379c2d87 Customization.lyx: forgot to turn off change tracking 2016-01-19 01:03:34 +01:00
Uwe Stöhr
877ea78877 Customization.lyx: fixes and updates from Jean-Pierre 2016-01-19 00:59:58 +01:00
Uwe Stöhr
a03ca62042 Development.lyx: restore \origin tag
Kornel, it seems that something is incorrect in your system because every change you make to the docs files removes the \origin tag
2016-01-19 00:17:02 +01:00
Kornel Benko
10ec8ed91d Typo 2016-01-18 10:59:35 +01:00
Günter Milde
3ec76c472e ctest autotest documentation update 2016-01-18 10:25:23 +01:00
Günter Milde
26a3f46388 Use \inputencoding auto for examples/aas_sample.lyx
Also sort and commen related ctest pattern.
2016-01-18 09:01:28 +01:00
Uwe Stöhr
f1a46bac7c UserGuide.lyx: describe the horizontal scrolling 2016-01-18 00:25:11 +01:00
Uwe Stöhr
82624a1302 UserGuide.lyx: typographic corrections 2016-01-17 20:30:52 +01:00
Uwe Stöhr
dc9489b9f5 Spanish Customization.lyx and UserGuide.lyx: translations by Ignacio 2016-01-17 19:25:40 +01:00
Georg Baum
af970c2055 Move bracketleftbigg to correct position
Generating a ttf from cmex10.sfd would fix bug 6115, but unfortunately I am
unable to export a ttf with the same settings as the existing one, so this has
still to be done.
2016-01-17 10:51:26 +01:00
Uwe Stöhr
ffa4072980 UserGuide.lyx: review Appendix C 2016-01-17 03:33:01 +01:00
Uwe Stöhr
401bdcc2f0 UserGuide.lyx: remove an outdated note
- also some minor fixes
2016-01-17 03:05:13 +01:00
Uwe Stöhr
b18fac7508 doc files: update more screenshots
- also fix a menu issue in EmbeddedObjects.lyx
2016-01-17 02:40:46 +01:00
Uwe Stöhr
87cbf2f27a Changelog-EmbeddedObjects-LyX_22x.txt: update 2016-01-17 02:22:25 +01:00
Uwe Stöhr
eb03c75fde doc files: update French screenshots 2016-01-17 02:20:33 +01:00
Uwe Stöhr
a8e673600c doc files: update Spanish screenshots 2016-01-17 01:52:18 +01:00
Uwe Stöhr
3a5d796831 doc files: update Italian screenshots 2016-01-17 01:35:50 +01:00
Uwe Stöhr
298da11c7c doc files: update some more screenshots 2016-01-17 01:28:45 +01:00
Kornel Benko
1590b4dd82 Update some image names 2016-01-16 21:20:34 +01:00
Uwe Stöhr
f3a5f7845e doc files: update and rename more sceenshots
- also update a menu name
- update a section French UserGuide.lyx
2016-01-16 20:52:02 +01:00
Uwe Stöhr
304d197a02 Intro.lyx: correct an image path 2016-01-16 19:49:45 +01:00
Enrico Forestieri
a3926b9e60 Add fontforge files 2016-01-16 15:46:48 +01:00
Uwe Stöhr
0628df4a19 amend last commit 2016-01-16 13:41:42 +01:00
Uwe Stöhr
8c6a51c17b Doc files: register image changes in Makefile.am
- also update Ukrainian
2016-01-16 13:38:33 +01:00
Uwe Stöhr
71b60e07c3 UserGuide.lyx: revise Appendix A
- update the toolbar screenshots, update some images and their names (more to follow)
2016-01-16 04:19:35 +01:00
Uwe Stöhr
b48a44e136 Spanish UserGuide.lyx: translate color names 2016-01-16 01:09:53 +01:00
Uwe Stöhr
056bc1c9e3 Spanish UserGuide.lyx: some tweaks 2016-01-16 00:51:01 +01:00
Georg Baum
4c3b8bf7c7 Update LFUNs.lyx to current format 2016-01-15 21:31:57 +01:00
Georg Baum
867ecaad4f Update docs for \output_changes move
Since \output_changes is written again at the original position, we need to
fix those files that have been updated using the intermediate version.
The update was done by running development/tools/updatedocs.py <lyxexe> where
<lyxexe> was the path to an up to date LyX binary. All files that did contain
additional changes were reverted:

lib/doc/LFUNs.lyx
lib/doc/UserGuide.lyx
lib/doc/Shortcuts.lyx
lib/examples/de/beamer.lyx

The \SpecialChar changes are fine, these files have never been saved by LyX
after the update to 483.
2016-01-15 21:23:13 +01:00
Uwe Stöhr
3ac456f444 EmbeddedObjects.lyx: fix some issues and typos 2016-01-14 22:32:35 +01:00
Guillaume Munch
9267b2b245 Amend 5c2d0499 2016-01-14 20:17:46 +00:00
Uwe Stöhr
57712b35b6 French linguistics.lyx: updates from Jean-Pierre 2016-01-14 02:56:52 +01:00
Kornel Benko
51bc75ca2b Prefered use of direct links to ctan, not to a mirror 2016-01-14 00:07:57 +01:00
Uwe Stöhr
6d3d686c51 Spanish Math and Additional.lyx: translations by Ignacio 2016-01-13 23:46:31 +01:00
Uwe Stöhr
4bf8aeb8e9 templates: save all files with latest LyX 2.2git 2016-01-13 03:22:37 +01:00
Uwe Stöhr
9766e43a83 stmary10.lyx: update fileformat 2016-01-13 03:17:15 +01:00
Uwe Stöhr
6caff72cef example files: save all with latest 2.2.git (part 2/2) 2016-01-13 03:06:03 +01:00
Uwe Stöhr
5e1d11d1df example files: save all with latest 2.2.git 2016-01-13 02:51:42 +01:00
Uwe Stöhr
310aa94798 Changelog-Math-LyX_22.txt: remove done task 2016-01-13 02:05:13 +01:00
Uwe Stöhr
8803eac043 EmbeddedObjects.lyx: fix mistakes spotted by Ignacio 2016-01-13 02:01:15 +01:00
Uwe Stöhr
0330ffd4a4 doc files: re-add the \origin tag (part 2/2)
also save all files with latest 2.2dev
2016-01-13 01:22:11 +01:00
Uwe Stöhr
6abdf2bc69 doc files: re-add the \origin tag
also save all files with latest 2.2dev
2016-01-13 01:14:48 +01:00
Uwe Stöhr
40968a2fb9 GrisNotaImagenQt4.png: new version from Ignacio 2016-01-13 01:02:47 +01:00
Uwe Stöhr
cad5f0a4d4 Spanish EmbeddedObjects.lyx: translations by Ignacio 2016-01-13 01:02:07 +01:00
Guillaume Munch
4a1e158c95 Update docs 2016-01-12 21:30:37 +00:00
Guillaume Munch
5c2d049996 Add \save_transient_properties parameter (#9841)
Increment LyX format to 504.

With this new parameter, the user can indicate that some other parameters that
are frequently switched must not be recorded in the file (as if they were a
setting specific to the user or transient, rather than a document setting). This
will play nicer with version control systems.

See the discussion, e.g.:
http://thread.gmane.org/gmane.editors.lyx.devel/157824/focus=157993 (third
solution mentioned)

TODO:
* The interface remains to be set up. We cannot change this setting from LyX
  for now.
* If save_transient_properties is false, we should read the user setting as a
  per-user-per-document (session) setting (e.g. like the cursor position).
* Once the above is done, we can treat \justification the same way (but it would
  be even better if \justification was moved to lyxrc).
2016-01-12 21:25:34 +00:00
Kornel Benko
27a2d32e49 Remaining broken links corrected 2016-01-12 19:16:41 +01:00
Kornel Benko
e4b539914a Replace broken links. 2016-01-11 23:42:11 +01:00
Uwe Stöhr
f79fa4b2ec Math.lyx: update to the new \aa handling 2016-01-11 23:19:54 +01:00
Uwe Stöhr
d6910e5f7c - doc files: re-add some \origin
- For the Indonesian file in attic there must be no \origin to avoid an error in the ReplaceValues.py script
2016-01-11 23:16:43 +01:00
Uwe Stöhr
c8297baad9 French Customization.lyx: translations from Jean-Pierre 2016-01-11 22:54:43 +01:00
Guillaume Munch
4fa5cbddce Update layouts
3c9b62a69 only added new keywords, so nothing changes, as it should be.
2016-01-11 16:27:46 +00:00
Uwe Stöhr
2f8444b120 Doc files: re-add some origin paths
(while checking compilability of changed files)
thanks Georg for fixing this issue in LyX
2016-01-11 02:19:35 +01:00
Uwe Stöhr
4663e65d4a Japanese Math.lyx: fix 3 icons
(these were accidentally destroyed in changeset/6b0632ee)
2016-01-11 01:11:06 +01:00
Uwe Stöhr
198e7b8717 Spanish UserGuide.lyx: translations from Ignacio 2016-01-11 01:03:57 +01:00
Georg Baum
d80fa17175 Do not apply \origin at existing files
The current behaviour of the \origin parameter replaces relative file names
with the absolute original names if a document has been moved even if the
files have been moved as well. This behaviour is annoying e.g. for editing the
LyX docs in a git checkout.

Now file names are only replaced if the referenced file sdo not exist.
2016-01-10 19:46:01 +01:00
Juergen Spitzmueller
0f18746bc0 typo 2016-01-10 11:17:32 +01:00
Günter Milde
9ff11a7935 Swap preference of PDF->Postscript converters.
According to http://stefaanlippens.net/pdf2ps_vs_pdftops 
pdftops is better than pdf2ps (which transforms fonts into bitmaps which
results in larger files, non scalability and longer conversion times). 
(tip by Georg Baum,  http://permalink.gmane.org/gmane.editors.lyx.general/85973)
2016-01-09 15:51:25 +01:00
Georg Baum
f35ed0c168 Improve \AA and \aa tex2lyx import
The lib/unicodesymbols part is based on work by Günter Milde:

Both, \r{A} and \AA (rsp. \r{a} and \aa) are equivalent standard LICR macros
for Aring/aring  as well as the deprecated "angstrom sign" character (212B).

However, with \AA for 212B and \r{A} for 00C5, tex2lyx converts \AA to the
deprecated "angstrom sign" which is missing in many fonts including the
Unicode version of Latin Modern.

I added the normalize_c() calls so that tex2lyx prefers the precomposed forms
(these are better editable in LyX) and the deprecated flag.
2016-01-08 21:06:24 +01:00
Günter Milde
d7ff8c6e18 ctests: address some test failures.
* missing characters in linguistics example with system fonts
* language nesting problem in fr/linguistics example
* 110f505b63 solved one failure (Basque example file)
2016-01-07 18:10:22 +01:00
Günter Milde
88b3fa3225 Minor ctest documentation edits.
Make sure not to confuse failing test and failing export for inverted tests.
2016-01-05 17:07:14 +01:00
Günter Milde
110f505b63 Set correct document language for Basque example. 2016-01-05 17:07:14 +01:00
Kornel Benko
e2a16f1c9a Broken URLs: replace with values found by Jean-Pierre. 2016-01-05 12:13:21 +01:00
Jean-Marc Lasgouttes
857f011e91 Improve visually text classes paper and foils
This does not change output, only GUI.

paper: make sure that the starred sections use proper sans serif on screen.

foils: add relevant categories to layouts
2016-01-04 19:54:43 +01:00
Kornel Benko
7ac12294dc Correct some more broken URLs 2016-01-04 12:45:41 +01:00
Kornel Benko
449d74d01b Correct some broken URLs 2016-01-04 11:54:40 +01:00
Scott Kostyshak
7dd7980720 Add a TODO for Math.lyx to correct a broken link
The fix is clear but the docs are out for translation.
2016-01-03 11:25:30 -05:00
Richard Heck
f2acbd04af Updated manuals and po file for French, from Jean-Pierre. 2016-01-03 10:53:15 -05:00
Georg Baum
9e135d9749 Fix line endings
The default behaviour of git for text files is to store unix line endings in
the repository, and to convert to native line endings in the local workspace.
This plays well with the LyX behaviour of storing files in native line endings.
Unfortunately it may break if files are sent around by email and submitted on
a different OS than the one they were last saved, and this did probably happen
in 6b0632eea.
2015-12-31 13:26:46 +01:00
Richard Heck
6b0632eea2 Updates to Japanese docs and po file, from Koji. 2015-12-29 09:58:48 -05:00
Juergen Spitzmueller
61b54f87df Simplify the logic 2015-12-28 16:11:26 +01:00
Juergen Spitzmueller
2e6f54b37f Eclude possible unwandted case 2015-12-28 16:10:26 +01:00
Juergen Spitzmueller
952a963c15 Escape correctly 2015-12-28 16:09:47 +01:00
Juergen Spitzmueller
28a22f40fb Whitespace 2015-12-28 13:42:36 +01:00
Juergen Spitzmueller
b930f2a18e Remove unneeded warning. 2015-12-28 12:34:11 +01:00
Juergen Spitzmueller
ee1a99b340 cosmetics 2015-12-28 12:26:29 +01:00
Juergen Spitzmueller
3762e3604a Assure backslash is on its own line in verbatim mode in get_ert
Also document the method
2015-12-28 09:15:21 +01:00
Juergen Spitzmueller
77f5baec8f Fix thinko in revert_newgloss: only dissolve ERTs in glosses! 2015-12-27 18:20:49 +01:00
Juergen Spitzmueller
106d89f7e6 revert_tabularvalign: fix removal of tabularvalign feature tag 2015-12-27 17:34:01 +01:00
Juergen Spitzmueller
6b5d5666ac Fix thinko in revert_tabularvalign 2015-12-27 17:23:16 +01:00
Juergen Spitzmueller
a80da13cc1 Rewrite and split the moderncv conversion routine.
This fixes several conversion problems, amongst others the redundant
\end_layout reported by Kornel.
2015-12-27 12:48:11 +01:00
Scott Kostyshak
5b2fb80491 Add description of lyx21 tests
These tests were added at e3cd6db4.
2015-12-26 23:51:13 -05:00
Juergen Spitzmueller
4d7453ac86 Remove redundant \\end_layout in jss-article Code Chunk reversion. 2015-12-26 12:08:10 +01:00
Juergen Spitzmueller
c76d91bb47 Fix gloss, glossgroup and forest reversion routines.
These were using lyx2latex, assuming the result can be used in verbatim
insets as is, which is not the case (mostly due to \\backslash).

A new lyx2verbatim function is now used instead. Also, ERT insets are
dissolved in the gloss reversion process.
2015-12-25 12:03:38 +01:00
Kornel Benko
6b58b511cd Typo 2015-12-19 16:49:51 +01:00
Günter Milde
bdc50829cb minor autotest documentation update 2015-12-18 17:38:27 +01:00
Richard Heck
1c66831825 Fix a couple minor issues noticed by tests. 2015-12-17 10:04:47 -05:00
Scott Kostyshak
3b7cd19153 Remove a file that was accidentally committed
stdspecialchars.inc was unintentionally committed (it is still a
work in progress) at 2dff14d2. This commit also reverts 7c4a1e16 (it
is now unneeded). For details, see:
https://www.mail-archive.com/search?l=mid&q=CAE_dPV4OpkEFbHuu1daTrUij298%3DfiNQs_4u_tz98MjynAyXEg%40mail.gmail.com
2015-12-16 18:06:39 -05:00
Scott Kostyshak
7c4a1e16b2 Add stdspecialchars.inc to Makefile.am
This might fix 'make distcheck' (at least for me), which was failing
with a mysterious error message:

  cannot remove ‘../../po/lyx.pot’: Permission denied

For discussion, see:

  https://www.mail-archive.com/search?l=mid&q=20151125075443.GA7491%40cotopaxi.hsd1.dc.comcast.net

I write "might" because I have no idea why in theory it would. But
for whatever reason it worked when I tested.
2015-12-15 12:24:36 -05:00
Günter Milde
6b852435b8 Remove/Resize invisible elements in ert-insert and cases icons.
The SVG contained a spurious invisible square that led to wrong size of
the exported PDF with Inkscape.

There are more problematic icons, see #9897.
2015-12-15 08:30:25 +01:00
Günter Milde
e1a54ebbe4 Force replacement for U2015 (horizontal bar/quotation dash). 2015-12-14 23:53:39 +01:00
Günter Milde
bf66141ac8 Revert output format setting for Japanese manuals (pdf2 does not work).
The manuals use language "Japanese" wich is tied to "platex" 
(automatically set instead of (plain) LaTeX).
For export with other engines, the language must be set to "Japanese (CJK).

For a discussion of alternatives for Japanese with LaTeX , see also
http://www.preining.info/blog/2014/12/writing-japanese-in-latex-part-1-introduction/
2015-12-14 21:25:09 +01:00
Guillaume Munch
3e6cb7fe1b amend 3dcb71ea 2015-12-14 15:19:23 +00:00
Guillaume Munch
3dcb71eaa2 Set AddToToc for custom insets
* Fixme
* Todonotes
* Literate programming (sweave, knitr)
* Theorems
2015-12-13 19:56:49 +00:00
Guillaume Munch
3c9b62a69d Layout format update: AddToToc, IsTocCaption, OutlinerName
Preliminary work for addressing #7790. Thanks to Richard for providing initial
files this is based on.

Adding to TextClass:
    OutlinerName <string> <string>
    (the second string is translated)
e.g.:
    OutlinerName thm "Definitions & Theorems"

Adding to Layout:
    AddToToc <string>     (default "", means no)
    IsTocCaption <bool>   (default 0)
e.g.:
    AddToToc thm
    IsTocCaption 1

Adding to InsetLayout:
    AddToToc <string>     (default "", means no)
    IsTocCaption <bool>   (default 0)
e.g.:
    AddToToc literate

Adding to inset arguments:
    IsTocCaption <bool>   (default 0)
2015-12-13 19:56:49 +00:00
Uwe Stöhr
f5a9ee54e6 Math.lyx: merge yesterday's changes
Please treat the doc files as frozen from now on, a an announcement how to proceed will follow later today.
2015-12-12 11:43:01 +01:00
Kornel Benko
24ef5a8e43 Probably a typo 2015-12-11 20:57:29 +01:00
Guillaume Munch
87861bc6d5 Use AMS align instead of eqnarray on newline-insert by default (#2543) 2015-12-11 19:28:32 +00:00
Scott Kostyshak
2ee880ff21 Document the IBus + Qt4 known issue (#9362)
Note that this issue does not occur with Qt5.
2015-12-11 06:13:05 -05:00
Scott Kostyshak
5adac4354c RELEASE-NOTES: consistent style for bug references
"bug #0000" -> "#0000"
2015-12-11 06:13:05 -05:00
Scott Kostyshak
1e5f3629ea RELEASE-NOTES: enforce 80-width lines 2015-12-11 06:13:05 -05:00
Uwe Stöhr
5fb0b17f02 German Intro.lyx: remove info
be consistent with the other Intro files; this info does not belong here
2015-12-11 01:02:00 +01:00
Uwe Stöhr
ce73df3a0c EmbeddedObjects.lyx: replace images by inset info 2015-12-11 00:58:26 +01:00
Uwe Stöhr
98d7d8ba61 Indonesian Userguide: move untranslated file to attic 2015-12-11 00:49:02 +01:00
Uwe Stöhr
97c8d5703c PDF-comment.lyx: set default output format
also save the file with latest LyX 2.2git
2015-12-11 00:26:22 +01:00
Kornel Benko
3e80a5dd6e Replace now invalid png graphics with the svgz graphics 2015-12-10 13:24:59 +01:00
Günter Milde
0529b40cc9 Set default output format for manuals to PDF (pdflatex).
Pdflatex is the recommended export tool for the manuals.
Pdflatex brings the best results for hyperlinking.
Some features (e.g. rotated text) are not available in DVI or PS (dvips).

This does not affect export from command line or autotests
(where this setting is ignored and the format must aways be given explicitely).
2015-12-10 10:40:50 +01:00
Uwe Stöhr
db05bf8fa2 UserGuide.lyx: use some info-inset icons 2015-12-10 00:37:54 +01:00
Uwe Stöhr
986821f442 Math.lyx: use some icon-info insets 2015-12-10 00:27:13 +01:00
Günter Milde
d42bd06594 Structure export autotest documentation. 2015-12-09 09:54:25 +01:00
Günter Milde
4d0356aea1 Set default output for "complex" manuals to PDF (pdflatex).
This is the "design format" for the manuals. Some features do not
work in other formats.
See http://permalink.gmane.org/gmane.editors.lyx.devel/158616
2015-12-09 08:54:38 +01:00
Uwe Stöhr
95894a9bd9 Math.lyx: image adjustments
the font size is 12 pt so the icons can have this size too; besides this readability is ore important than to fit in a text line
2015-12-09 02:30:38 +01:00
Uwe Stöhr
a9549c036e Japanese UserGuide.lyx: make document compilable without PNGs
also some small corrections and adjustments
2015-12-09 02:22:48 +01:00
Uwe Stöhr
bcef5b3a2e UserGuide.lyx: remove some unnecessary TeX code 2015-12-09 02:13:04 +01:00
Uwe Stöhr
e2bc9f4a56 French UserGuide.lyx: make document compilable without PNGs
also store default output format and other small corrections and adjustments
2015-12-09 02:11:40 +01:00
Uwe Stöhr
844b236144 German UserGuide.lyx: make document compilable without PNGs
also store default output format and many other small corrections and adjustments
2015-12-09 01:56:10 +01:00
Uwe Stöhr
9d66dc2859 English UserGuide.lyx: make document compilable without PNGs
also store default output format
2015-12-09 01:31:53 +01:00
Uwe Stöhr
3a7ec39a79 Spanish UserGuide.lyx: make document compilable without PNGs 2015-12-09 01:25:57 +01:00
Günter Milde
b50df82e7a Make Math.lyx compilable again.
After removing "unneded" PNG files from the repo, this manual failed.
Skaling is done to ensure that the icons are approximately one M high.

Also, the default output is set to PDF (pdflatex) as this is said to be the export
format our manuals are designed for.
2015-12-08 17:46:50 +01:00
Günter Milde
dd5c3900ba seminar.sty works also with non-TeX fonts but requires Babel.
Always-Babel now set in the example document.

Adapted the autotest categorization:
* fails for some developers (why?)
* wrong output with pdflatex/LuaTeX and DVI (missing landscape slides).
2015-12-08 17:46:50 +01:00
Richard Heck
07992c9955 Fix typo. 2015-12-08 10:41:22 -05:00
Scott Kostyshak
1405f9efb1 Explain why we do not update the local layout
We do not update the local layout of our .lyx files because users
would then not be able to export to older formats. For example, if a
2.2.0 user exported a template to 2.1.x format and tried to open the
file in LyX 2.1.x, there would be an error because the file would
contain a local layout whose format is too new. The root reason for
this is that we do not convert layouts to older layout formats.
2015-12-08 01:39:17 -05:00
Georg Baum
52978f94d2 Explain why rsvg_convert is in front of inkscape
Otherwise it could easily happen that the order is changed, since rsvg_convert
seems to be more picky about invalid files (see http://www.lyx.org/trac/ticket/9891)
2015-12-07 21:17:33 +01:00
Enrico Forestieri
db363ab19f Remove unneeded png images.
Fixes #9857.
2015-12-07 19:14:44 +01:00
Günter Milde
3d18cdba7d splash.lyx: avoid bitmap fonts if possible. 2015-12-07 17:57:55 +01:00
Günter Milde
6df72ef648 ctest export test documentation update 2015-12-07 17:56:43 +01:00
Günter Milde
4fb3f0ce88 Add note explaining the need for a final clearpage. 2015-12-07 17:55:53 +01:00
Richard Heck
820bfe3d10 Changes to theorems-named.module that fix #8796. 2015-12-06 15:45:44 -05:00
Günter Milde
f35861bd75 ctest automatic tests: small correcions to pattern files and documenation. 2015-12-06 21:21:46 +01:00
Günter Milde
6bde139163 Greek manuals: Avoid dependency on Latin Modern fonts. 2015-12-06 21:18:03 +01:00
Uwe Stöhr
6e54bb2954 Customization.lyx: merge all recent changes 2015-12-06 04:44:33 +01:00
Richard Heck
4d6f9eb089 Update layout files to format 58. 2015-12-05 18:14:38 -05:00
Richard Heck
c2b950ea7c Documentation for previous change to layout format. 2015-12-05 18:11:46 -05:00
Richard Heck
4d94460ce3 Add new ProvideStyle tag, which adds a new style only if it does not already
exist. This will allow for a proper fix for bug #8796, though that may or may
not get fixed before 2.2.0.

Also, change the InStyle tag to ModifyStyle, per a suggestion of Jurgen's.
2015-12-05 18:11:46 -05:00
Uwe Stöhr
c9541285a5 varwidth-floats-side-by-side.lyx: add info, uniform and simplify a bit 2015-12-05 19:25:23 +01:00
Uwe Stöhr
178c7464e2 EmbeddedObjects.lyx: merge changes 2015-12-05 19:22:34 +01:00
Kornel Benko
d515544bb4 Development.lyx: Reflect recent label renaming of 'reverted' to 'inverted' 2015-12-04 21:56:31 +01:00
Uwe Stöhr
9452672ca1 Cyrillic manuals: use standard fonts as discussed 2015-12-04 02:24:43 +01:00
Uwe Stöhr
f6753e48cd Greek Intro.lyx: fix compilation by using suitable fonts as proposed by Günter 2015-12-04 02:01:32 +01:00
Uwe Stöhr
0311bda2b7 Spanish Tutorial.lyx: preamble code proposed by Günther
- please don't revert anything only because compiling with system fonts fails. This is not the scope of the manuals.
2015-12-04 01:48:14 +01:00
Uwe Stöhr
dc5798a90f Hebrew Tutorial.lyx: make it compilable 2015-12-04 01:13:18 +01:00
Kornel Benko
0e23cfde29 Partly revert a7659d207d
Export test now passes.
2015-12-03 15:28:01 +01:00
Kornel Benko
a12553e7ae Reverted 'remove unnecessary TeX code' (0d3b965e61)
Export tests passes now again.
2015-12-03 15:20:57 +01:00
Kornel Benko
3e492e21ca Use relative path for graphics, not windows absolte path 2015-12-03 14:03:04 +01:00
Kornel Benko
554a7e9e18 Use correct relative path to bibtex resource 2015-12-03 14:01:03 +01:00
Uwe Stöhr
2432c8344d Customization.lyx: change fonts as discussed 2015-12-03 02:36:09 +01:00
Uwe Stöhr
8f2b1db2ee Additional.lyx: change fonts as discussed 2015-12-03 02:32:09 +01:00
Uwe Stöhr
a441e1b6b5 Math.lyx: change fonts as discussed 2015-12-03 02:27:07 +01:00
Uwe Stöhr
0935c31087 French UserGuide.lyx: correct a font 2015-12-03 02:26:47 +01:00
Uwe Stöhr
870b7572f2 EmbeddedObjects.lyx: change fonts as discussed 2015-12-03 02:18:20 +01:00
Uwe Stöhr
52c623a558 UserGuide.lyx: change fonts as discussed 2015-12-03 02:08:31 +01:00
Uwe Stöhr
0d3b965e61 Indonesian Tutorial.lyx: use inset info for icons
- Chinese Tutorial.lyx: remove unnecessary TeX code
2015-12-03 01:42:21 +01:00
Uwe Stöhr
a7659d207d Tutorial.lyx: change fonts as discussed 2015-12-03 01:29:33 +01:00
Uwe Stöhr
650ae32b1b Intro.lyx: change fonts as discussed 2015-12-03 00:52:23 +01:00
Kornel Benko
5696c38e93 Development.lyx: Spellchecker + special char corrections. 2015-12-02 13:55:38 +01:00
Kornel Benko
d879599cec Development.lyx: Clarify a bit the difference between assigned label and reversion of ctest result. 2015-12-02 11:02:17 +01:00
Günter Milde
6a498e5804 Restructure test documentation.
Use separate subsections for our 3 main test suites: 
unit tests, 
tex2lyx (functional) tests, and 
"autotests" (requiring cmake).
2015-12-02 08:54:24 +01:00
Richard Heck
be8b73f907 Revert local layouts changes in ja/Additional.lyx. 2015-12-01 21:24:55 -05:00
Uwe Stöhr
1b8abed0d4 configure.py: add inkscape as converter for EMF/WMF files 2015-12-02 02:08:19 +01:00
Uwe Stöhr
6e11711409 UserGuide.lyx: document new possible text colors
@Richard: as you can see the additional lines in Verbatim are not added by lyx2lyx
2015-12-02 01:33:25 +01:00
Scott Kostyshak
19c6a015fb Update the link to CMCDDE in our documents
Our URL checker found the broken link.
2015-11-30 18:35:47 -05:00
Kornel Benko
42536a5616 Add a table to clarify how main export test labels are assigned 2015-11-30 13:06:53 +01:00
Richard Heck
d101945d6a Remove local layout from French manuals. 2015-11-29 22:42:09 -05:00
Richard Heck
74fb35b877 Remove local layout from German manuals. 2015-11-29 22:40:29 -05:00
Richard Heck
6fa397e81f Remove local layout from Spanish manuals and replace
MenuItem insets with Noun.
2015-11-29 22:39:31 -05:00
Richard Heck
badaa2d1b2 Remove local layout from Additional.lyx and Development.lyx. It
was not actually  used in the latter. In the former, convert the
MenuItem insets to Noun.
2015-11-29 22:29:28 -05:00
Richard Heck
39ad4a2abf Remove local layout from Customization manual.
Replace "MenuItem" inset with Noun.
2015-11-29 22:26:21 -05:00
Kornel Benko
5b73df0f31 Make Japanese manual Additional.lyx compilable.
Added a protected space in default language after an english text.
This is needed only if the imaadiately following style is some sectioning.
2015-11-29 23:04:36 +01:00
Uwe Stöhr
5a497d4810 Intro.lyx: run lyx2lyx
- also for Czech Tutorial.lyx
2015-11-29 20:31:51 +01:00
Uwe Stöhr
13ec152470 Galician Tutorial.lyx: use inset info
- also run lyx2lyx
2015-11-29 20:29:05 +01:00
Uwe Stöhr
140b55af51 Baskian Tutorial.lyx: use inset info
- also run lyx2lyx
2015-11-29 20:21:05 +01:00
Uwe Stöhr
8a73992a49 Customization.lyx: update version number 2015-11-29 19:42:07 +01:00
Uwe Stöhr
3bf6f43d11 German Customization.lyx: some translations and fixed typos 2015-11-29 19:40:25 +01:00
Uwe Stöhr
281131f6b2 Customization.lyx: accept all remaining changes 2015-11-29 19:25:46 +01:00
Uwe Stöhr
0ed6724de3 Changelog-Customization-LyX_22x.txt: new fileContents
- documents the changes for the translators
2015-11-29 18:26:21 +01:00
Uwe Stöhr
9464112840 Customization: accept and merge some changes 2015-11-29 18:24:05 +01:00
Uwe Stöhr
6273c6bdc1 Japanese manuals: run lyx2lyx 2015-11-29 17:21:27 +01:00
Uwe Stöhr
7499b14b50 Customization.lyx: update localLayout format
- Japanese version: also run lyx2lyx
2015-11-29 17:15:15 +01:00
Richard Heck
7831e11717 Simplify a bunch of tests in lyx2lyx code. 2015-11-28 23:58:50 -05:00
Richard Heck
01b4e811a6 Fix a few C++-isms that crept into lyx2lyx code. 2015-11-28 23:55:00 -05:00
Richard Heck
acf3e3a139 Clean up Solution and Solution* reversion code a bit. 2015-11-28 23:42:09 -05:00
Richard Heck
727c845808 Update local layout in Customization.lyx. 2015-11-28 23:15:05 -05:00
Uwe Stöhr
6f221bab03 lyx_2_2.py: fix a logic mistake
- this message must be used for all cases
2015-11-29 04:26:14 +01:00
Uwe Stöhr
4ea80e077f lyx2lyx/lyx_2_2.py: correct reversion for solution*
- add reversion for the starred variant
- correct LaTeX output
2015-11-29 03:51:57 +01:00
Scott Kostyshak
299d7d70f0 Minor tweaks to Development.lyx
These small tweaks amend de1c8253.
2015-11-28 21:17:15 -05:00
Uwe Stöhr
72ce471c81 Additional.lyx: remove sloppypar
- sloppypar and sloppy should not be used, see the discussion in bug #9874
- also update the local layout to the current format
2015-11-29 02:53:58 +01:00
Kornel Benko
de1c82531a Development.lyx: try to describe label assignment. 2015-11-29 02:37:11 +01:00
Scott Kostyshak
0ee4dff450 Document updating file format of LyX's files
The advantage of having the author of the file format change update
the files is that the author knows best what to expect in the diff
output.

This was discussed briefly here:
https://www.mail-archive.com/search?l=mid&q=n3bu5q%24reb%242%40ger.gmane.org
2015-11-28 18:12:26 -05:00
Georg Baum
ad0643f4b5 Fix off by one error
Looks like I forgot to test this case without quotes, but fortunately the new
export test found it.
2015-11-28 18:25:33 +01:00
Uwe Stöhr
695399b062 UserGuide.lyx and Math.lyx: update version number 2015-11-28 03:23:38 +01:00
Uwe Stöhr
ab1f3213e8 LaTeXConfig.lyx: accept changes
- also add hpstatement module and remove the deprecated rsphrase module (this module is only kept for compatibility reasons)
2015-11-28 03:15:45 +01:00
Uwe Stöhr
2e5ab40276 Customization.lyx: accept some changes 2015-11-28 03:13:11 +01:00
Uwe Stöhr
b264176041 Additional.lyx: merge changes 2015-11-28 02:50:06 +01:00
Richard Heck
1bf01a8ad3 Update format of bind and ui files. 2015-11-27 11:56:17 -05:00
Günter Milde
960393b7a0 Small fixes to export test documentation. 2015-11-27 10:34:26 +01:00
Scott Kostyshak
2f4233721d Update docs to latest format for 2.2.0alpha2 2015-11-27 03:23:22 -05:00
Scott Kostyshak
cf99586714 Remove another reference to lyx.hu
This site has not existed since 2011.
2015-11-27 00:16:10 -05:00
Scott Kostyshak
669acb47c5 Update a format 2015-11-27 00:15:29 -05:00
Scott Kostyshak
63788d5f0b Update the docbook links
Docbook is no longer being developed, but the new link at least
exists and SGML-tools Lite can still be downloaded.
2015-11-26 23:51:12 -05:00
Scott Kostyshak
5e73a9f9a8 Update a couple formats 2015-11-26 23:51:12 -05:00
Richard Heck
f791b2d3ea Remove "dialog-show print" from various UI locations. 2015-11-26 23:21:07 -05:00
Richard Heck
23add332d9 Whitespace. 2015-11-26 23:21:07 -05:00
Scott Kostyshak
82fd5292e4 Fix a broken link in the hungarian Intro.lyx 2015-11-26 22:58:34 -05:00
Scott Kostyshak
ae5add48ac Update a format 2015-11-26 22:58:01 -05:00
Scott Kostyshak
6832296c5e Remove a duplicate URL in Additional.lyx 2015-11-26 22:44:42 -05:00
Uwe Stöhr
b933848110 UserGuide.lyx: add link to makeindex manpages 2015-11-27 02:23:55 +01:00
Uwe Stöhr
ad615c67f7 UserGuide.lyx: updates
- merge changes
- some general changes, fixes and descriptions of new features
2015-11-27 01:59:56 +01:00
Uwe Stöhr
6a9d9d1caf Changelog-UserGuide-LyX_22x.txt: add 2 things Todo 2015-11-26 01:23:32 +01:00
Scott Kostyshak
fedb6e8555 Fix a broken URL for man page of 'date' command
The new URL is now:
http://man7.org/linux/man-pages/man1/date.1.html

The broken URL was found by the URL tests.
2015-11-25 18:49:19 -05:00
Scott Kostyshak
94b5825f60 Update formats of UserGuide.lyx for upcoming edit 2015-11-25 18:49:18 -05:00
Scott Kostyshak
5db199e416 Refix a broken URL in Additional.lyx
This fix was done at e2ded6e0 but was (unintentionally, I think)
reverted at 6902cfcf.

The broken URL was found by the URL tests.
2015-11-25 18:49:18 -05:00
Kornel Benko
1f9640e71f Describe some ctest extras. 2015-11-25 10:19:49 +01:00
Richard Heck
2c602ab051 Simplify lyx2lyx code a bit, and correct a mistake in my previous
patch. Also fix some escaping problems (\end instead of \\end).

My testing revealed some other problems with this routine: stray
\noindent tags popping up here and there. I don't have time to fix
it right now but will try to come back to it.
2015-11-25 00:51:05 -05:00
Uwe Stöhr
13c6350155 lyx_2_1.py: fix a mistake in previous commit 2015-11-25 00:05:44 +01:00
Uwe Stöhr
bfc749eb23 stdlayouts.inc: support for verbatim*
fileformat change
2015-11-24 23:56:26 +01:00
Scott Kostyshak
f6bcf2a29e Document step to update LyX.py when update format 2015-11-23 22:16:00 -05:00
Uwe Stöhr
ecd268ceba French Additional.lyx: replace non-ASCII char in TEX code
now it compiles also with XeTeX
2015-11-22 17:25:17 +01:00
Günter Milde
ad767b159d Add a comment about iso-8859-7 not supported by standard inputenc. 2015-11-21 23:07:33 +01:00
Günter Milde
8482b2169b Fix inputenc for some templates.
Some templates had the inputenc setting "default" (meaning 
use the language default encoding, (not TeX's default which is 7-bit ASCII) but
don't load inputenc, leave handling of non-ASCII characters to the author). 

This is no apparent problem as long as no non-ASCII character is used in the 
document. It is very unsave, however, as any non-ASCII character used in the 
document has the potential to either make compilation fail or be
misrepresented in the output.
2015-11-21 23:06:24 +01:00
Kornel Benko
3ba613fd51 Cmake export tests: now export/examples/fa/splash_dvi passes
Günter Milde suggested setting language of URL to english, this helps
2015-11-21 17:54:02 +01:00
Scott Kostyshak
77979d91f7 Remove an errant slash in Tutorial 2015-11-20 19:33:24 -05:00
Kornel Benko
23588595da Cmake export test: Make some lyx-files them compilable if using system fonts 2015-11-20 10:13:54 +01:00
Uwe Stöhr
ddb05f46b4 French Additional.lyx: replace non-ASCII char in TEX code
now it compiles also with XeTeX
2015-11-20 00:58:58 +01:00
Uwe Stöhr
0ae337014e theorems-ams: add solution environment
fixes bug #6363 now completely
2015-11-18 02:36:49 +01:00
Uwe Stöhr
cc6c86ff3b theorems.inc: add environment "solution"
fileformat change, fixes bug #6363
2015-11-18 01:14:30 +01:00
Jean-Marc Lasgouttes
735c10d039 Update documentation for tabular features 2015-11-17 09:26:29 +01:00
Jean-Marc Lasgouttes
68217b1e4a Implement toggling for longtabular and booktabs tabular features
This is needed for the tabular context menu. This menu is updated accordingly.
2015-11-17 09:18:50 +01:00
Scott Kostyshak
d264b3d8fb Fix a shortcut conflict (#9820)
'o' is now taken by the new Pandoc export to "MS Word Office".
2015-11-17 00:25:51 -05:00
Kornel Benko
811114664f Changed wrong setting for origin in LaTeXConfig.lyx at commit b98dd4e 2015-11-16 12:06:42 +01:00
Kornel Benko
b98dd4ecc1 Cmake export tests: Some more corrected exports.
Thanks to Günter Milde.
2015-11-16 11:51:54 +01:00
Kornel Benko
5c796730b2 Replace the translatable latexism 'longtable' with 'multi-page table' in UI. 2015-11-16 10:29:53 +01:00
Georg Baum
5060b5b76e Fix sorting
No single translation has been changed, but pt_BR and pt_PT are now correctly
sorted. This removes the artifical diffs that running
make ../lib/layouttranslations
did produce previously.
2015-11-15 17:23:42 +01:00
Georg Baum
a7d8aba71b Regenerate with LyX conforming whitespace 2015-11-15 17:23:42 +01:00
Pavel Sanda
5bf745b9a6 User guide, missing space. 2015-11-14 18:27:20 -08:00
Scott Kostyshak
1602415b98 Update examples/templates to 2.2.0alpha1 format
Also MacOSX ReadMe files. Note that a few lib/doc files are
also "updated" because trailing spaces are removed, but their file
formats are the same because they were recently updated at 83672113.

I did "git checkout LFUNs.lyx" because this file is generated
automatically and has a special header.
2015-11-13 13:19:23 -05:00
Scott Kostyshak
82cf4838dc Update layouts to 2.2.0alpha1 format 2015-11-13 13:19:22 -05:00
Guillaume Munch
f0ea542050 amend e17838b1 2015-11-13 13:37:10 +00:00
Günter Milde
137575010c Correct some charid values in lib/symbols. Fixes #9823. 2015-11-13 14:01:32 +01:00
Uwe Stöhr
6a4d36b51e stdcontext.inc: improvement according to the list 2015-11-13 00:28:29 +01:00
Guillaume Munch
b898862fb2 Documentation for varwidth.module 2015-11-12 16:24:42 +00:00
Guillaume Munch
e17838b11f Add example using the varwidth package 2015-11-12 16:24:42 +00:00
Günter Milde
703e1e8d5f Ensure the Greek Intro.lyx compiles with non-TeX fonts.
Prevent loading of lmodern.sty if non-TeX fonts are set and
Define DejaVu as non-TeX font.

This ensures that non-TeX fonts are used if requested (lmodern.sty set
the 8-bit version of LatinModern if compiling with LuaTeX).
Also ensure that a font with all characters is used. (LatinModern misses small
Greek characters.)

Similar actions for other manuals and examples with Greek or Cyrillic script
will solve some more export tests with non-TeX fonts.
2015-11-12 17:07:56 +01:00
Uwe Stöhr
2230be75b3 stdcontext.inc: new context menu for tables
see the list for details
2015-11-12 01:21:21 +01:00
Uwe Stöhr
95108800a5 UserGuide.lyx: change a section name as suggested by a user 2015-11-12 00:57:07 +01:00
Georg Baum
520dde2038 Better documentation of compressed (bug 9189)
The compressed/uncompressed option of LyX files was poorly documented. Now it
is a bit better.
2015-11-11 23:03:18 +01:00
Georg Baum
2d63caf817 Fix broken author name (bug 9858) 2015-11-11 22:39:55 +01:00
Georg Baum
385aed9721 Fix \origin lines
These were fixed manually. I tried to add an option to updatedocs.py to
open and save a file with LyX, but that did not work, since
lyx -x 'command-sequence buffer-write ; lyx-quit' does not write and does
not quit.
2015-11-11 22:25:18 +01:00
Georg Baum
83672113d3 Update documentation to current format
This was done by running development/tools/updatedocs.py and reverting
lib/doc/LFUNs.lyx in order to preserve the special header line.
2015-11-11 21:56:27 +01:00
Georg Baum
392f63fa0f Update LFUNs.lyx to current format
gen_lfuns.py does now produce the current file format, and and LFUNs.lyx was
re-created with the updated script.
There is one difference if you compare this version of LFUNs.lyx with the old
version updated by lyx2lyx: All occurences of LyX, TeX etc. in the lfun
descriptions are no longer output as logos. I do consider this as a feature,
since the old version did also output the TeX part of BibTeX as a logo, as well
as places where the names were part of some syntax, e.g. lyx::LyXRC::LyXRCTags.
2015-11-11 21:48:20 +01:00
Georg Baum
1fc3d051b1 Set \origin correctly when upgrading docs
lyx2lyx did not yet know about /systemlyxdir/ and set \origin to the path
where my git tree lives instead. This path is not usable except on my machine,
so better write something more usable instead.
This is a special command line switch of lyx2lyx, so it does not interfere
with normal usage. I did not try to deduce the systemlyxdir from lyx2lyx to
be on the safe side.
2015-11-11 21:35:12 +01:00
Uwe Stöhr
f1032b1f4a configure.py: support OpenDocument as input format
- new converter for OpenDocument text -> LaTeX
2015-11-11 01:59:17 +01:00
Uwe Stöhr
3f52e8058c theorems-without-preamble.inc: fix a typo 2015-11-11 00:08:13 +01:00
Uwe Stöhr
ff9d455eb4 thesis files: update file format
- as addendum to the previous commit
2015-11-10 01:28:09 +01:00
Uwe Stöhr
a4dbfb452c thesis template: disable the automatic usage of \autoref
- fixes bug #8569
2015-11-10 01:23:33 +01:00
Uwe Stöhr
62edbec2aa Development.lyx: remove unused preamble code and modules 2015-11-10 00:39:54 +01:00
Georg Baum
2fc430d5ae Store both sets of font selections
This is one part of bug 9744: If you toggle between TeX fonts and non-TeX
fonts, the settings of the other choice are no longer thrown away, but stored
and re-activated if you switch back. Most parts of the patch are purely
mechanical (duplicating some BufferParams members), the only non-mechanical
change is in the GUI logic.
2015-11-09 07:36:42 +01:00
Uwe Stöhr
76cf124ab3 splash.lyx: correct a menu name and update file format 2015-11-09 02:00:31 +01:00
Scott Kostyshak
908a42fa46 RELEASE-NOTES: move an item to different category
Also expand a little to mention that users might need to specify
babel if their document has custom code that is specific to babel.
2015-11-07 01:48:52 -05:00
Scott Kostyshak
cd4fc6e2bc prefs2prefs: document removing print support 2015-11-07 01:48:47 -05:00
Juergen Spitzmueller
1663dbcbcf Decrease and unify indentation of beamer frame content. 2015-11-06 08:34:00 +01:00
Richard Heck
4f6cc90258 Make shortcuts for master-buffer-X fall back to buffer-X.
Fixes #9842.
2015-11-05 14:14:51 -05:00
Kornel Benko
ca0985baa6 Cmake export tests: Enable test hu/Tutorial_pdf5_systemF 2015-11-05 11:27:32 +01:00
Uwe Stöhr
4db6045a32 EmbeddedObjects.lyx: describe Reflectbox and friends 2015-11-05 00:53:35 +01:00
Kornel Benko
58050bc3ae Update Development.lyx to include 'suspended' cmake tests. 2015-11-04 13:06:14 +01:00
Uwe Stöhr
43a80ef7df lyx_2_2.py: add a safe guard 2015-11-04 02:18:28 +01:00
Uwe Stöhr
4933399507 lyx_2_2.py: fix the conversion of colored boxes 2015-11-04 01:36:39 +01:00
Uwe Stöhr
e52a4b738c lyx2lyx/lyx_2_2.py: remove unused code 2015-11-04 01:22:03 +01:00
Uwe Stöhr
62a69584e6 achemso.layout: add a flex inset
- this one is in achemso since version 3.8

- fileformat change
2015-11-04 01:18:13 +01:00
Uwe Stöhr
c0b815bf62 Development.lyx: describe how to update the tex2lyx references on Windows 2015-11-04 01:15:52 +01:00
Uwe Stöhr
cb51493f94 EmbeddedObjects.lyx: describe rotate boxes properly
- We have now a module for them
(the description of scaled boxes etc will follow soon)
2015-11-04 00:13:45 +01:00
Uwe Stöhr
279d084946 Math.lyx: replace tables by formal ones - final part 7/7 2015-11-03 00:23:41 +01:00
Enrico Forestieri
f8bfc8405e Fix bug #7657: Detect inkscape from the configure script
On Windows, if inkscape is not found in the PATH, search for it
in the registry and store its full path in lyxrc.defaults.
2015-11-02 23:46:14 +01:00
Uwe Stöhr
f3c3e1bccd Math.lyx: replace tables by formal ones - part 6 2015-11-02 23:43:42 +01:00
Georg Baum
d56980da95 Put logos in submenu as discussed on the list 2015-11-02 20:52:21 +01:00
Guillaume Munch
646be95979 Module for the changebar package
Author: Paul A. Rubin (rubin@msu.edu), based on code proposed by Juergen
Spitzmueller (http://comments.gmane.org/gmane.editors.lyx.general/66666).

http://mid.gmane.org/562ACBC5.8030102@msu.edu
2015-11-02 00:17:25 +00:00
Guillaume Munch
9c728530c2 Correct name 2015-11-02 00:17:25 +00:00
Richard Heck
4c16c61579 Add warning message if we do no conversion. 2015-11-01 16:32:52 -05:00
Richard Heck
221932f63a If lyx2lyx is asked to convert a file to the format it already is,
then just perform a null conversion. This seems better than aborting
with an error. I can imagine a script that converted all files in a
certain directory to format 498, and you don't want it to be an error
if one of them is already 498.

Prior to this, what lyx2lyx would do is convert to the lowest format
in the current version. So, e.g., asked to convert 498 to 498 it would
convert to 474. That is obviously wrong.
2015-11-01 16:27:58 -05:00
Juergen Spitzmueller
a9b8cdca9e Varwidth module provided by d.iabo
See #9417.
2015-11-01 11:00:23 +01:00
Juergen Spitzmueller
0314464392 remove debug message. 2015-10-31 12:10:49 +01:00
Scott Kostyshak
13e1c13d2a Document various ways to run the tex2lyx tests
Each way might be preferred by a different developer and the more
ways that can be described of running the tests, the higher the
chance is that developers will find a way that works well for them.
2015-10-31 00:30:34 -04:00
Scott Kostyshak
1a4d5b3ce9 Document why tests are enabled for all formats
Explain why the export tests are enabled for formats that are not
expected to work well with certain document classes, modules, or
packages. The reason is that if a .lyx file goes from compiling
successfully for one format (even if that format is not officially
supported for the combination of features used), if that document
suddenly fails to compile, there is a significant chance that a bug
was introduced in LyX. In other words, there is a high signal/noise
ratio. If it is determined that a test is failing because an
expected incompatibility is exposed, then the test can be inverted.
2015-10-29 22:48:28 -04:00
Scott Kostyshak
231609743f More updates for the documentation on tests
- general cleanup
- add some more useful commands
- specify how to configure the URL tests

Thanks to Kornel for the helpful suggestions.
2015-10-29 22:11:11 -04:00
Georg Baum
a07cd69905 Document how to run tests on windows 2015-10-29 22:20:37 +01:00
Georg Baum
8e9f2d648c Add "LyX Documentation Tools" toolbar
People working on the documentation do probably want to switch this on. It
gives easy access to LyX and LaTeX logos (bug 9626), and the info and menu
separator insets.
2015-10-29 20:02:52 +01:00
Scott Kostyshak
74059f6b56 Document the export tests and other tests
The export tests, check_load tests, and URL tests are now documented
in the Development.lyx file. The export tests are described in
detail, such as how to run them and how to interpret the results.
2015-10-29 02:26:50 -04:00
Scott Kostyshak
9bb4787d56 Update format 2015-10-28 18:10:09 -04:00
Günter Milde
1814739853 Fix #9770 (unicodesymbols for wasysym) 2015-10-28 11:35:25 +01:00
Günter Milde
f1fa051422 update documentation in lib/languages 2015-10-28 10:16:41 +01:00
Uwe Stöhr
f2a5dd0a1e stdmenus.inc: resolve a shortcut conflict 2015-10-28 02:42:16 +01:00
Uwe Stöhr
2c1851e2ec moderncv.layout: update some styles and add new ones
- support for at least modernCV 1.5 (layout will still work with moderncv 1.3 as before)
- fileformat change
2015-10-28 02:27:32 +01:00
Uwe Stöhr
fb8f63fbe9 modernCV.lyx: remove more preamble code
- add description how things can be adjusted the LyX way
2015-10-26 15:30:15 +01:00
Uwe Stöhr
b523504708 modernCV.lyx: remove unnecessary preamble code
- also add 2 hints
2015-10-26 14:36:50 +01:00
Uwe Stöhr
19224e9085 moderncv.layout: updates
- suffix.sty is no longer used, hyperref and color are included and basic LaTeX
- fix 2 Argument definitions
2015-10-26 03:42:33 +01:00
Uwe Stöhr
425a64beed colored-boxes.lyx: more small fixes and improvements 2015-10-26 03:15:47 +01:00
Uwe Stöhr
dffd38e82d modernCV: updates
- modernCV requires 2 new packages (since version 1.5 from 2013)
- update the example file to reflect the new features
2015-10-26 02:53:29 +01:00
Uwe Stöhr
9bbb07e844 colored-boxes.lyx: some fixes 2015-10-26 01:20:29 +01:00
Uwe Stöhr
9cae1ffdc9 Math.lyx: replace tables by formal ones - part 5 2015-10-25 23:36:46 +01:00
Uwe Stöhr
295a19dd73 EmbeddedObjects.lyx: remove an outdated info
the mentioned varioref bug was fixed 5 years ago
2015-10-25 23:02:03 +01:00
Uwe Stöhr
4e221e283d Math.lyx: replace tables by formal ones - part 4
- also add changelog file for the translators
2015-10-25 18:34:47 +01:00
Uwe Stöhr
a0b3eaf67e Math.lyx: replace tables by formal ones - part 3 2015-10-25 16:26:02 +01:00
Uwe Stöhr
b275b30391 Math.lyx: replace tables by formal ones - part 2 2015-10-25 15:48:45 +01:00
Uwe Stöhr
fb51b2cb57 Math.lyx: correct images paths now correctly 2015-10-25 14:32:27 +01:00
Georg Baum
1d9d507b95 Add toolbar icons for LyX documentation
These icons are for lfuns that are not very interesting for users, but quite
often used when working on the LyX documentation. Now we can create a special
LyX documentation toolbar.
2015-10-25 10:47:40 +01:00
Scott Kostyshak
2b1b233bc0 Fix polyglossia exports for docs with babel cmds
Many of our documents have babel-specific preamble code. By putting
this code in a \@ifpackageloaded{babel}{}{} conditional, XeTeX and
LuaTeX compilation with polyglossia now works. This fixes some
LuaTeX tests that were broken by edd37de8 and also allows us to
uninvert some XeTeX tests.

Note that in some of the files although the preambles were fixed to
allow for polyglossia, they still do not compile without errors:
es/Math.lyx
es/Customization.lyx
de/Customization.lyx

Similar fixes might be desired in other manuals but these at least
fix regressions in the tests.
2015-10-25 00:12:26 -04:00
Scott Kostyshak
4f2536afcf Correct PolyglossiaOpts for Serbian
PolyglossiaOpts are case-sensitive so "latin" must be changed to
"Latin". Without this change, compiling examples/sr/Braille.lyx
with LuaTeX and system fonts gives the following error:

  Package Polyglossia Error: Unknown script `latin' for Serbian
  language
2015-10-25 00:12:26 -04:00
Scott Kostyshak
d6a3dcbd58 Fix export with polyglossia and uninvert a manual 2015-10-25 00:12:25 -04:00
Scott Kostyshak
78c60de9bb Use "babel only" for some Spanish manuals
Many of our Spanish documents use babel-specific features in the
documents, e.g. to write "sin" in Spanish ("sen"). Because babel
seems to have good support for Spanish, I am setting the "Always
babel" for the manuals.

This fixes several LuaTeX tests with non-TeX fonts. A XeTeX test is
also reverted accordingly.
2015-10-25 00:12:25 -04:00
Scott Kostyshak
65f7f000ea Update formats
Some of my following commits will make changes to these files
(mainly just changing the preambles). This commit simply updates the
format so the diffs of the following commits are easy to read.
2015-10-25 00:07:15 -04:00
Uwe Stöhr
711ece2750 Math.lyx: repair broken paths
this is caused by bug #9815
2015-10-25 04:37:00 +01:00
Uwe Stöhr
bac5e106d1 Math.lyx: replace tables by formal ones - part 1 2015-10-25 04:08:46 +01:00
Uwe Stöhr
eebac83a04 colored-boxes.lyx: add info about shadows
- also some fixes and improvements
2015-10-23 05:17:24 +02:00
Uwe Stöhr
66be58cf8a colored-boxes.lyx: 2 fixes 2015-10-23 03:34:25 +02:00
Uwe Stöhr
832ef7d446 jss.layout: update appearance of 2 styles in LyX
This was proposed by the co-author of the layout in bug#9516
2015-10-23 02:20:02 +02:00
Georg Baum
dcddfaa491 Add suggestion for test cases by Günter 2015-10-22 22:22:01 +02:00
Scott Kostyshak
44a004951f RELEASE-NOTES: Missing characters could be in pdf2
The fix at 664ef2c4 is more general than XeTeX and LuaTeX. See, for
example, #9803 which shows an error that existed but was not
reported before.
2015-10-19 23:03:05 -04:00
Uwe Stöhr
ec93693aef chkconfig.ltx: fix typos
thanks Vincent
2015-10-20 01:10:14 +02:00
Uwe Stöhr
85bc4faf66 Math.lyx: fix bug #9803
\mathscr cannot contain small letters
thanks Günther
2015-10-19 23:57:34 +02:00
Uwe Stöhr
e245a18da0 Math.lyx: update because bug #8566 was fixed long time ago
- also adjust the scaling of 2 images
2015-10-19 18:51:29 +02:00
Günter Milde
d0af891eb2 Fix #9764, combining diacritical characters for line below (part 1).
Correct mappings in lib/unicodesymbols (see #9764 for details).
2015-10-19 18:34:48 +02:00
Uwe Stöhr
8da453fd30 tcolorbox.module: uniform whitespace 2015-10-19 07:15:18 +02:00
Uwe Stöhr
ce933b1e14 colored-boxes.lyx: new example file for the tcolorbox.module
- also improve the tcolorbox.module

This is a fileformat change - only to be able to revert the new styles defined in the module.
2015-10-19 07:10:09 +02:00
Uwe Stöhr
6186608a3c UserGuide.lyx: port changes from branch 2015-10-18 19:22:39 +02:00
Uwe Stöhr
741e526713 EmbeddedObjects.lyx: revert unintended part of previous commit are commit correct stuff
- sorry, after some moths without LyXing I forgot most of the complicated git branch handling stuff
2015-10-18 19:05:41 +02:00
Uwe Stöhr
4745969b45 EmbeddedObjects.lyx: update appendix A
Since a while now we can translate the unit descriptions. For some special applications it is also necessary that the users know the LaTeX command of the relative units.

- also fix a typo in Customization.lyx
2015-10-18 18:57:15 +02:00
Uwe Stöhr
c246ca2d43 chkconfig.ltx: add packages supported by LyX
- also update Win installer package list (trimspaces is required by tcolorbox but not listed as required in the tcolorbox manual)
2015-10-18 15:21:50 +02:00
Scott Kostyshak
4ef31a4ef8 RELEASE-NOTES: LyX should work with Qt >= 4.5 2015-10-15 19:55:24 -04:00
Scott Kostyshak
8be88f0d5f Update RELEASE-NOTES for Qt advice and policy 2015-10-14 19:14:01 -04:00
Georg Baum
3a58458b16 Fix languages in math docs.
These were either unneeded or used the old german spelling.
2015-10-11 19:00:21 +02:00
Uwe Stöhr
da5e4606d1 PDF-comment.lyx: new German translation
- also disable PDF-reply since this never works correctly and it could even destroy the whole PDF and exceeds the TeX capacity
- update the french version accordingly
2015-10-10 02:15:09 +02:00
Uwe Stöhr
912cdafb85 PDF-comment.lyx: some corrections
- also: de.po: fix a typo
2015-10-09 00:53:51 +02:00
Uwe Stöhr
15ddf38b37 PDF-comment.lyx: describe a further feature
- also some corrections
2015-09-27 03:07:08 +02:00
Jean-Marc Lasgouttes
b7909e7e6c Remove support for precompiled headers for autotools
This was turned off by default for a long time, and it does not seem
to have any use these days.
2015-09-25 12:05:40 +02:00
Richard Heck
1c292f70cf Typo in tutorial. 2015-09-24 18:00:03 -04:00
Uwe Stöhr
a57ee57134 PDF-comment.lyx: fix 2 typos
- de.po: correct a translation
2015-09-24 00:15:06 +02:00
Uwe Stöhr
6fc093355c UserGuide.lyx: accept Stephan's changes
- port one change to the other language versions
2015-09-23 22:54:41 +02:00
Stephan Witt
7b350ed93e Correct many different typos and logical errors. 2015-09-23 21:00:27 +02:00
Georg Baum
141026b6b1 Use Require instead of AddToPreamble
This plays more nicely with other modules requiring enumitem as well.
2015-09-20 19:33:43 +02:00
Georg Baum
e2d246bcb9 Create module for paralist.sty
paralist.sty extends the standard list environments by some more compact
versions. Support for this has already been requested 15 years ago, and
now I needed it myself.
2015-09-20 13:05:30 +02:00
Georg Baum
c4bfbcb5e8 Work around encoding bug
It looks like the author names are sometimes not encoded correctly.
We'll need to find out where this happens, but for now just fix the symptom.
2015-09-20 12:41:44 +02:00
Stephan Witt
65a95620b2 Correct commit 92b0886: true is not True in python. 2015-09-15 07:18:16 +02:00
Juergen Spitzmueller
0e62745995 Fix parsing of class and category declaration line in layout files
* Omit commented-out lines
* Properly escape backslash
* Do not allow non-space chars after delaration
* Allow blanks before # comment character

Fixes: #9746
2015-09-02 14:29:06 +02:00
Richard Heck
3be54ff4ef Revert "Typo."
This reverts commit b833a32420.
2015-09-01 11:39:25 -04:00
Richard Heck
b833a32420 Typo. 2015-09-01 11:04:54 -04:00
Günter Milde
0bbc80fa83 Remove problematic workaround for "exotic" problem
Greek and Times under MikTeX with auto-install may fail due to a half-installed
font package. However, the workaround in LyX stands in the way of 
alternative approaches (see bug #6469).
2015-08-27 00:04:19 +02:00
Günter Milde
268bd0075e Add LICR replacement for COMBINING MACRON BELOW. 2015-08-26 22:46:59 +02:00
Günter Milde
03bf276c61 Add note about missing characters now errors with Xe/LuaTeX.
(cf. ticket #9610)
2015-08-26 22:46:07 +02:00
Georg Baum
07cd297c12 Add Guillaume Munch to credits 2015-08-23 11:33:34 +02:00
Richard Heck
488ce900e0 Fix shortcuts for copy and paste. 2015-08-17 12:37:53 -04:00
Günter Milde
00e1936d81 unicodesymbols: "textgreek" must not be used together with "combining".
With the current code, this leads to output like "\\\\textgreek{\\\\~}"
which results in a LaTeX error as the accent macro \\\\~ expects an argument.
2015-08-13 10:55:04 +02:00
Juergen Spitzmueller
d74cbac037 Customization: add a hint about PackageOptions at Requires. 2015-08-03 13:39:18 +02:00
Guy Rutenberg
be41ccd4d4 lyxpak.py: Use subprocess for spawning scripts.
`os.popen` is deprecated since Python-2.6. Also, this fixes the handling
of files with quotes in their names. The patch requires Python >= 2.7.

Furthermore, the patch executes the lyx2lyx script with the same
interpreter used for it, to maintain compatibility.

I also removed some lines related to Python-2.4, as it is no longer
supported anyway.
2015-07-28 15:42:32 +02:00
Pavel Sanda
969ab7294a nb layout translations reviewed by Helge. 2015-07-25 11:03:50 -07:00
Juergen Spitzmueller
616c7b9272 Resolve shortcut conflict 2015-07-25 10:15:44 +02:00
Juergen Spitzmueller
19600aca71 German genitive of LyX is LyX' (not LyXs)
(see Amtl. Regel. § 96 (1))
2015-07-23 09:26:29 +02:00
Juergen Spitzmueller
19d9b34f4f Remove ugly and now redundant ERT-braces from the docs
These were used to prevent the former auto-logoification of LyX etc.

Also fixed some spelling errors I passed by.
2015-07-23 09:12:26 +02:00
Juergen Spitzmueller
2ddad383ea Remove ugly and now redundant ERT-braces from the German docs
These were used to prevent the former auto-logoification of LyX etc.

Also fixed some spelling errors I passed by.
2015-07-22 14:54:26 +02:00
Stephan Witt
92b08869b2 preserve symlinks on copying of user directory from previous version 2015-07-22 11:57:08 +02:00
Georg Baum
0f4c5df9f4 Support Photos in RasterImage template
Actually photos (i.e. .jpg files) where supported previously, but for pdflatex
output an unneeded conversion to png was done. The RasterImage templates
behaves now exactly as InsetGraphics for these files: If the input format is
jpg, use that for pdflatex, else convert to png.
2015-07-20 21:14:45 +02:00
Georg Baum
c63d486b2e Replace LaTeX logo with plain text
This is another advantage of the new logo insets: We see in LyX where they are
inserted for the output. In these two cases, the text describes keywords of
the external template configuration file language, so these should not be
typeset as logos.
2015-07-20 21:05:34 +02:00
Uwe Stöhr
1bff03d45f Changelog-UserGuide-LyX_22x.txt: add a todo note
for new external template

Please also announce new features here:
http://wiki.lyx.org/LyX/NewInLyX22
2015-07-19 15:03:42 +02:00
Georg Baum
c500e541a9 Add template for vector graphics
The difference to bitmap graphics is that these will be included as PDF for
pdflatex, so the vector properties are retained if a suitable conversion path
exists.
2015-07-19 13:42:22 +02:00
Uwe Stöhr
72b66287f0 new French translation of the PDF-comment example file 2015-07-17 22:11:46 +02:00
Uwe Stöhr
092647dcb0 Changelog-UserGuide-LyX_22x.txt: add a todo note 2015-07-17 00:21:18 +02:00
Uwe Stöhr
c0a55f3458 EmbeddedObjects.lyx: update all language versions after [d16a95af/lyxgit]
Please use change tracking when modifying the docs
2015-07-17 00:19:27 +02:00
Georg Baum
81e592603d Support units in external inset bbox
This brings the external inset on par with the graphics insets as far as the
clipping option is concerned. The graphicxs package supports both: A bounding
box without units (which means that bp ia assumed), and a bounding box with
units, so we can simply output the values including the units.
2015-07-16 22:06:35 +02:00
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