Commit Graph

7524 Commits

Author SHA1 Message Date
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