Commit Graph

9174 Commits

Author SHA1 Message Date
Uwe Stöhr
91238c1620 German Intro.lyx: some refinements from Mike and me 2017-05-14 18:57:58 +02:00
Guillaume MM
0eff6b151b templates/acmart.lyx: Small improvements 2017-05-14 12:15:19 +02:00
Guillaume MM
646b68aa96 acmart.layout: fix generation of Index
also add booktabs.
2017-05-14 12:15:19 +02:00
Guillaume MM
a72873a521 Fix OutlinerNames for Floats 2017-05-14 12:15:19 +02:00
Uwe Stöhr
0dd3311dd4 rename buffer parameter math_number_before to math_numbering_side
this is a fileformat change

also try to fix an UI issue that JMarc gets
2017-05-13 20:39:45 +02:00
Stephan Witt
c592fb58bb #10285 and #10542 - Add sips as a fallback converter for Mac to provide preview of PDF graphics in LyX when pdftops is not installed 2017-05-13 20:06:18 +02:00
José Matos
cc7ca138da Fix call of layout2layout as a module.
If we call parser.parse_args(), thus with no arguments, the parser uses
sys.argv (because that is the default). We should pass argv since that was
the purpose of handling argv in the main function.

We pass argv[1:] since when parsing the arguments we always ignore the name
of the program.

Use the full power of argparse to declare the default value of the end_format.
2017-05-13 15:25:44 +01:00
Guillaume MM
5608f6fdb6 Add acmart template
Move obsolete templates to templates/obsolete
2017-05-13 16:12:25 +02:00
José Matos
99cf71f8eb Fix call os lyx2lyx as a module.
If we call parser.parse_args(), thus with no arguments, the parser uses
sys.argv (because that is the default). We should pass argv since that was
the purpose of handling argv in the main function.
2017-05-13 13:39:02 +01:00
José Matos
6138880c08 cleanup: remove unneeded whitespaces 2017-05-13 13:38:01 +01:00
José Matos
430869a1bd prefs2prefs.py: whitespace changes
Bring this file in line with the other python scripts:
  * use four spaces for indentation instead of a tab

Remove empty whitespace at the end of lines.
2017-05-12 15:29:29 +01:00
Jean-Marc Lasgouttes
f1dd80f464 Proper GUI feedback for leqno option
With these changes, equation numbers are shown properly on screen.
When setting is default, we guess the side using these two rules

* ams(art|book) and siamltex classes are leqno by default. This is
  signalled because the classes provide "leqno" (in amsdefs.inc). If
  there are other classes that do this in output, the relevant classes
  should be updated.

* the language arabic_arabi also sets leqno by default. This is
  currently hardcoded for lack of a better idea.

Besides, a few bugs are fixed:
* use mathrm instead of mathbf for numbers metrics
* set spacing between maths and labels in inches
2017-05-12 15:32:14 +02:00
José Matos
376cb6763f python3: fix the preview framework to work with both python 2 and 3 (part 4)
Remove support for python 1.x (really)

This code has not been used for a long time, probably never, since some code
above requires at least python 2.4 to work.

I got to this code by running futurize from python-future. There are no
significant warnings, mostly are related with the division but since
we are dividing floats there is no change between python 2 and 3.
2017-05-12 10:01:48 +01:00
José Matos
1f5241f747 python3: fix the preview framework to work with both python 2 and 3 (part 3)
trivial fix: xrange -> range
2017-05-11 20:56:56 +01:00
José Matos
c546977c6e python3: fix the preview framework to work with both python 2 and 3 (part 2) 2017-05-11 15:50:08 +01:00
Günter Milde
2488bf6eaa Fix the fix for python 2 and 3 compatibility.
Really remove the "r" prefix.
2017-05-11 16:30:10 +02:00
Tommaso Cucinotta
47cd1e23c5 libreoffice converter: get rid of warnings about deprecated options syntax 2017-05-10 03:26:36 +02:00
Guillaume MM
0fa88e2c33 Move obsolete layouts to an Obsolete category 2017-05-10 00:03:05 +02:00
Guillaume MM
9a01684015 Old ACM layouts are obsolete 2017-05-10 00:03:05 +02:00
Guillaume MM
5452c53e9b algorithm2e.module: Add Algorithm style to typeset algorithms
Do not output \begin and \end if there is not environment name. We only need the
nesting feature.
2017-05-10 00:03:04 +02:00
Guillaume MM
517cd50e05 Packaging for acmart 2017-05-10 00:03:04 +02:00
Guillaume MM
41b039723a ACM article layout (#10632)
Contributed by John Perry
2017-05-09 23:38:56 +02:00
José Matos
6495cd135f make python string compliant with python 2 and 3
python 2 does not allow to declare a string as raw byte so we double
the backslashes and remove the r preffix

python 3 accepts rb"..." meaning a byte string that is raw. In this context
raw means that the backslash does not has any special meaning and thus it
is not escaped. This is usefull together with regular expressions where the
backslashes are special.

In the worst possible case, like this one, we must use 4 backslashes to represent
one in the regular expression...
2017-05-09 16:53:32 +01:00
Scott Kostyshak
638020ab10 Revert "Change default working directory from ~/ to ".""
Setting the default working directory to '.' is an invasive change
on Mac and Windows, where the current working directory of LyX when
LyX is started from the GUI is not a reasonable choice for the
default directory in e.g. the "save as" file dialog or the "open"
dialog. A similar situation could happen on Linux distributions (I'm
not aware of any, e.g., POSIX standard that defines that the working
directory of a binary started from GUI should be the home
directory). Thus, it is not clear this default is good on any
platform.

If the user wishes to have the behavior of '.', the description in
the "paths" preferences pane provides the information for making the
change.

For more information, see the discussion at:

  https://www.mail-archive.com/search?l=mid&q=635298DE-5028-4BB1-8D8F-A634BA68C420%40gmx.net

This reverts commit 892593fbdc.
2017-05-09 07:50:45 -04:00
Scott Kostyshak
faea3bdb95 Rename powerdot-example.lyx to powerdot.lyx
The file is already in the examples folder.

Similarly, rename

  examples/fr/exemple-powerdot.lyx -> examples/fr/powerdot.lyx

Consistent with 2f44afcb.
2017-05-09 06:57:55 -04:00
José Matos
11f2a59ce9 python3: fix the preview framework to work with both python 2 and 3 2017-05-09 11:20:34 +01:00
Uwe Stöhr
2f44afcb75 gnuplot.lyx: add missing makefile entries
- also adapt style to match existing examples (e.g. the filename)
2017-05-08 23:29:25 +02:00
Tommaso Cucinotta
e26dd18c84 gnuplot script example added to lib/examples
related to the new conversion capability added in [066edd3c/lyxgit]
2017-05-08 16:00:54 +02:00
Guillaume MM
1acb42911a Cosmetic 2017-05-07 14:18:17 +02:00
Daniel Ramöller
e2f864efe4 Lock toolbars (#10283)
- LFUNs to (un)lock toolbars positions (both individually and all at once)

- corresponding menu entry to "Lock Toolbars" menu.
2017-05-07 14:17:54 +02:00
Daniel Ramöller
1fb6a0ac3e Add default icon for "toolbar-toggle review" (#10379) 2017-05-07 14:17:54 +02:00
Daniel Ramöller
4183a9f4dc Preferences shows current zoom instead of preference's default zoom (#10455)
- Adds a currentZoom variable which holds the current zoom level.

- The zoom stored in preferences is used as default zoom level (default binding:
  M+0).

- The currentZoom is saved and restored via QSettings.

- Adds LFUN buffer-zoom for (re)setting zoom.
2017-05-07 14:17:54 +02:00
Tommaso Cucinotta
af49aaa942 New gnuplot conversion capability [b474aa5d/lyxgit] now in RELEASE-NOTES. 2017-05-06 00:47:23 +02:00
Günter Milde
275bb44158 ctests: move issue with nomenclature insets to a dedicated test case.
iconv fails, if a nomenclature inset contains an uncodable character
This led to failure of the indonesian UserGuide in the attic.
Fix it there and add a minimal, specific test sample instead.
2017-05-04 18:05:18 +02:00
Tommaso Cucinotta
b474aa5d4d Add needauth option to gnuplot->PDF converter introduced in [066edd3c/lyxgit]. 2017-05-04 00:49:18 +02:00
Tommaso Cucinotta
066edd3c30 Enable graphics generation from external gnuplot scripts. 2017-05-04 00:44:00 +02:00
Günter Milde
24021a425e Force "textdegree" for encoding koi8-u. 2017-05-01 10:35:20 +02:00
Juergen Spitzmueller
f943897d85 IndexPrint and Nomencl were not fully latexified.
Do not treat them as non-verbatim in conversion. This keeps math $...$
as math.

There will be problems with characters that are outside the given
encoding, but as long as there is no way to convert them to the
respective LaTeX macros from within lyx2lyx, I don't know how to solve
this.
2017-04-29 13:54:01 +02:00
Günter Milde
58a4cd3082 Remove workaround for bug in TeXLive2005. 2017-04-25 18:45:51 +02:00
Kornel Benko
c1ee1bc0ba Added distribution of a missing file used by tests. 2017-04-25 10:01:08 +02:00
Uwe Stöhr
3f8c15a7c6 support for the document class option leqno
- fileformat change
2017-04-25 02:28:10 +02:00
Kornel Benko
6e9e7f2b94 keytests: Allow definition of shortcuts for the test.
Since no extra shortcuts are defined, this is essentially a noop ATM.
2017-04-24 17:50:49 +02:00
Scott Kostyshak
944792402c Update docs to 2.3.0alpha1 format 2017-04-24 00:03:19 -04:00
Scott Kostyshak
b1b49a6878 Recover \origin tag in documents
See the following ML thread:

  https://www.mail-archive.com/search?l=mid&q=ndao0s%24vvb%242%40ger.gmane.org
2017-04-23 23:23:03 -04:00
Scott Kostyshak
e9deea03db Update the formats of lyxrc.dist.in to 21
In the end, no changes were needed. This was decided by prefs2prefs
for MacOSX and cygwin, and by manual inspection for Win32.
2017-04-23 23:23:03 -04:00
Uwe Stöhr
a11e55f55f Arabic Shortcuts.lyx: remove an inset-info
as reported on the lyx-docs list this inset prevents the compilation of the file on Mac OS
It can be re-added when the bug is fixed (bug report follows soon by the original bug reporter)
2017-04-23 14:23:45 +02:00
Uwe Stöhr
130b4ddf83 doc files: port recent changes from branch 2017-04-23 13:54:54 +02:00
Tommaso Cucinotta
35bcc38ca3 about 'needauth' in RELEASE-NOTES 2017-04-22 23:28:48 +02:00
Uwe Stöhr
9ef3edf6d7 lyx_2_2.py: fix box reversion routine again
silly mistake, now Math.lyx reverts correctly again.
2017-04-21 01:05:54 +02:00
Uwe Stöhr
6421dd08c0 Arabic Intro.lyx: mark LTR text as English like we do for the Hebrew doc files 2017-04-21 00:00:30 +02:00
Guillaume MM
29a82fdc58 Add option obeyFinal for todo notes #10615 2017-04-20 23:49:02 +02:00
Günter Milde
f5ac0580ff special character "allowbreak" (ZWSP), fileformat change
New special character to mark an optional line break
without inserting a hyphen (ZWSP). See #10585.

Corresponds to the Unicode character U+200B ZERO WIDTH SPACE

 This isn't a “space”. It is an invisible character that can be used
 to provide line break opportunities.
 ​http://unicode.org/notes/tn27/

While the literal Unicode character can be used in the LyX
file, it is invisible in the GUI.

For visible feedback, the patch adds a new special character "allowbreak".

The small mark is inspired by LibereOffice.
A tooltip is added.
2017-04-20 23:28:48 +02:00
Uwe Stöhr
7c419d5666 UserGuide.lyx: fix a typo
- also 2 formatting fixes
2017-04-20 22:43:51 +02:00
Uwe Stöhr
bc0591a265 lyx2lyx/lyx_2_0.py: fix a box reversion bug
- the use_makebox statement was not removed for nested boxes
2017-04-17 19:17:54 +02:00
Uwe Stöhr
8c4139434f Revert "French Tutorial.lyx: some typographic fixes" 2017-04-17 15:26:41 +02:00
Uwe Stöhr
8783c88419 doc files: port recent changes from branch 2017-04-17 15:20:04 +02:00
Uwe Stöhr
fd777a6014 PDF-form.lyx: some minor fixes 2017-04-17 04:08:43 +02:00
Uwe Stöhr
5b4cc6b6c8 lyx2lyx/lyx_2_2.py: correct reversion of boxes 2017-04-17 04:06:52 +02:00
Uwe Stöhr
5ef6d596b6 doc files: improve 3 PDFs 2017-04-16 23:30:11 +02:00
Uwe Stöhr
ecddbe6fb9 doc files: port recent changes from the 2.2.x branch
- also delete a now unused screenshot (cannot be deleted in the stable 2.2.x branch)
2017-04-16 20:12:31 +02:00
Uwe Stöhr
6c2a8df504 lyx_2_3.py: whitespace fixes 2017-04-16 16:24:01 +02:00
Uwe Stöhr
9a94ca42b4 French Math.lyx: port a translation 2017-04-16 15:58:26 +02:00
Uwe Stöhr
66f010e863 PDF-form.lyx: some corrections and updates 2017-04-16 15:38:45 +02:00
Uwe Stöhr
e07cb1da96 lyx_2_2.py: fix reversion of colored boxes with special features 2017-04-15 19:58:56 +02:00
Uwe Stöhr
3677c20be9 BufferParams.cpp: correct output for \mathindent after [fc1c5c6f/lyxgit]
- also adapt the lyx2lyx logic to the changed implementation
2017-04-15 17:32:58 +02:00
Uwe Stöhr
58e6c6c876 InsetFloat: allow float placement for rotated floats
- fixes bug #10270
- fileformat change
- fixes also a bug that unwanted placement was output to LaTeX on certain cases
2017-04-15 06:57:52 +02:00
Uwe Stöhr
87c553af56 PDF-form.lyx: New German translation
- also many fixes and updates of the English version
- also some according fixes in de.po
2017-04-15 04:54:07 +02:00
Enrico Forestieri
217696d34b lyxpak.py: Python 3 compatibility 2017-04-15 00:05:40 +02:00
Uwe Stöhr
d8185a6b8b Math.lyx: correct wrong info about \mathindent 2017-04-14 00:59:32 +02:00
Enrico Forestieri
1a26f9b26c layout2layout.py: Python 3 compatibility
The layout2layout.py script already reads and writes files in
binary format. However, all regexes and comparisons assume strings,
so that python3 chokes on them. This commit converts all involved
strings into bytes-like objects. In this way both python 2 and 3
behave the same.
2017-04-13 16:25:59 +02:00
Enrico Forestieri
8f70d55148 configure.py: Python 3 compatibility
Don't assume any encoding for the layout files and treat them in
the same way python 2 does. Thanks José for the idea.

This commit supersedes 50e21b71 and e19b2a71.
2017-04-13 15:34:54 +02:00
Enrico Forestieri
db494452dc TeXFiles.py: Python 3 compatibility 2017-04-13 10:49:38 +02:00
Uwe Stöhr
fc1c5c6f28 BufferParams: rename formula_indent to math_indent etc. as requested
- also add flyx2lyx feature to import existing document class option as requested by JMarc
- also don't use a real default indentation length
2017-04-13 02:31:26 +02:00
Jean-Marc Lasgouttes
e19b2a717e Set encoding correctly when reading layout files
Patch from Enrico.
2017-04-10 15:06:14 +02:00
Stephan Witt
4a009c85bb #9006 care to make prefs2prefs.py python 3 compatible 2017-04-08 20:58:16 +02:00
Uwe Stöhr
b3b7675f54 Length.cpp: add new unit representing \baselineskip
- fileformat change
2017-04-08 03:30:21 +02:00
Scott Kostyshak
22c4a24a36 Document new behavior of "delete" LFUNs
- Describe the change in RELEASE-NOTES.
- Update the example for inset-forall.

This commit follows 71623b88.
2017-04-06 00:37:29 -04:00
Scott Kostyshak
4a255ec9db Keep RELEASE-NOTES as ASCII
Might as well make it as simple as possible.
2017-04-06 00:13:32 -04:00
Uwe Stöhr
808339790c support to indent formulas
- adds support for the general document class option fleqn
- adds support to specify the formula indentation
- fileformat change
2017-04-05 22:22:47 +02:00
Uwe Stöhr
51afcd4f4c LaTeXConfig.lyx: add the noto fonts 2017-04-05 01:19:40 +02:00
Uwe Stöhr
e575e7eebd Add support to cross out characters
- adds support for the command \xout of the LateX package ulem
- fileformat change
2017-04-05 00:01:19 +02:00
Uwe Stöhr
d81deed121 latexfonts: correct previous commit
this went in accidentally
2017-04-04 23:08:45 +02:00
Uwe Stöhr
7aaa85915f latexfonts: support for the Noto fonts
- fileformat change
- the support to scale the sf and the tt fonts can be added later, see enhancement #10611
2017-04-04 23:02:47 +02:00
Uwe Stöhr
50e21b7166 configure.py: add support for Python 3 on Windows
fixes the last missing part of bug #9006 (hopefully)
2017-04-04 22:35:49 +02:00
Kornel Benko
0d6c64a4eb Cmake build: Project names *should* be uniq 2017-03-30 14:01:56 +02:00
José Matos
dc7ac99d18 Get the file system encoding from sys instead of the locale 2017-03-29 14:24:34 +01:00
José Matos
67bf174b10 lyx2lyx: convert iteritems -> items to be compatible with python 2 and 3 2017-03-29 12:34:53 +01:00
José Matos
bcf715f398 lyx2lyx: fix #9006 (python3 with non-utf8 encoding as the system default)
This patch fixes lyx2lyx running on python 3 for those systems
where the default encoding is not UTF-8, since open by default
uses the default system encoding.
2017-03-27 11:35:29 +01:00
José Matos
1269860b45 lyx2lyx: remove trailing whitespaces from lyx_1_6.py 2017-03-27 11:26:58 +01:00
José Matos
463e12827c lyx2lyx: more descriptive member name (document.start -> document.initial_format) 2017-03-27 10:36:30 +01:00
José Matos
37901e2e25 lyx2lyx: Cosmetic clean up of the lyx_2_?.py files.
Remove the duplicated \# -*- coding: utf-8 -*-
lines that show in the third line.
As far as I know they are not used, the first line though is used
by python and text editors (emacs, vi & co) to get the file encoding.
That will also work in the second lines (because of the shebang convention)
but not in other lines.

Remove trailing whitespaces.
2017-03-27 10:16:31 +01:00
Juergen Spitzmueller
52019917f4 Split external_templates to individual *.xtemplate files
This makes it easier to add new templates or change existing ones
in the user directory.

Fixes: #3983

The CMake changes should be double-checked.
2017-03-26 15:32:01 +02:00
Enrico Forestieri
16d5c49b38 Further amendment to 72a488d7
Rephrase positively the check box for the output of en- and em-dashes
and disable it when using non-TeX fonts. The state of the check box
is remembered, so that toggling the non-TeX fonts check box does not
cause information loss.
2017-03-21 00:04:08 +01:00
Enrico Forestieri
be3f628e7d Also account for development versions 2017-03-20 15:08:17 +01:00
Enrico Forestieri
56bec528b5 Amend 72a488d7
- Mention the new buffer parameter in development/FORMAT

- Assure that lyx2lyx generates the same output obtained when saving
  a converted document from within lyx

- Don't require any action when converting a document created with
  lyx 2.2 in order to assure unchanged output (thanks José for the hint)
2017-03-20 14:37:25 +01:00
Guillaume Munch
e5d2678339 Fix missing OutlinerName in simplecv 2017-03-20 00:13:08 +01:00
Enrico Forestieri
72a488d7e6 Fix output of en- and em-dashes with TeX fonts
This commit fixes the regression introduced in 2.2 about the
output of en- and em-dashes. In 2.2 en- and em-dashes are output as
the \textendash and \textemdash macros when using TeX fonts, causing
changed output in old documents and also bugs (for example, #10490).

Now documents produced with older versions work again as intended,
while documents produced with 2.2 can be made to produce the exact
same output by simply checking "Don't use ligatures for en-and
em-dashes" in Document->Settings->Fonts.

When exporting documents using TeX fonts to earlier versions, in order
to avoid changed output, a zero-width space character is inserted after
each en/em-dash if dash ligatures are allowed. These characters are
removed when reloading  documents with 2.3, so that they don't accumulate.
2017-03-19 20:50:34 +01:00
Juergen Spitzmueller
1eba2c92da Improve BibTeX name parsing #4
Handle name prefix (aka "von" part) as a separate entity, just like
BibTeX and Biblatex do. This allows to omit or reposition it in
accordance to the current style ("Goethe, Johann Wolfgang" or
"von Goethe, Johann Wolfgang" or "Goethe, Johann Wolfgang von" are all
valid and used).

LyX's name parser should now be on par with BibTeX's.
2017-03-19 14:03:48 +01:00
Juergen Spitzmueller
7489cab6c9 Replace "junior" with the more generic term "suffix". 2017-03-19 13:33:56 +01:00
Juergen Spitzmueller
5fdcca4c06 Improve BibTeX name parsing #3
Correctly handle name suffix ("Jr.-part")
2017-03-19 12:42:18 +01:00
Juergen Spitzmueller
9f4df64f23 Allow for simple conditions in name scheme.
I.e., only output a comma between last and first name if there is
a first name.
2017-03-19 11:45:42 +01:00
Juergen Spitzmueller
be945a0656 Use "Prename Surname" format for basic numeric styles. 2017-03-18 15:35:45 +01:00
Juergen Spitzmueller
5b71349450 Input stdciteformats to the cite engines directly
not to individual layouts.

Possibly fixes #10582
2017-03-18 11:26:23 +01:00
José Matos
ef6ff7fb53 lyx2lyx: Remove UTF-8 BOM if present in the lyx file 2017-03-15 10:06:30 +00:00
jpc
ac06a54163 Class agutex.cls is obsolete: information given in the LyX template 2017-03-10 19:11:22 +01:00
Guillaume Munch
3d06c09d8d Fix color of todo notes
Yellow on blue causes display issues (some text elements that become black on
blue, math insets that are no longer readable). Switch to black on orange to
match the pdf output.
2017-03-05 08:45:52 +01:00
Guillaume Munch
841825aa56 Add default export to the menu 2017-03-05 08:45:52 +01:00
Günter Milde
d319976566 ctests: sort inverted unreliable tests.
We don't invert unreliable tests for the same reason they are
inverted but, e.g., a nonstandard test that fails for some reason even with the
additional requirements installed or a test that shows wrong output
but also an error.
2017-02-26 19:37:15 +01:00
Scott Kostyshak
f9ee47dfa2 Theorem style: set NextNoIndent to 0
After a Theorem environment, LaTeX does by default indent the
following paragraph.

I checked various classes and no ModifyStyle was needed. The
hollywood and broadway classes are strange cases where there is an
indent after the Theorem environment, but it is much smaller than
the normal indent. The indent is the same as the opening indent of
normal text, which we currently ignore. Further, I don't expect it
is common to use theorems in these classes.
2017-02-22 12:01:39 -05:00
Scott Kostyshak
2b1a99e57d Fix ParIndent for various "Standard" styles 2017-02-22 12:01:14 -05:00
Scott Kostyshak
b65c0bbf10 Remove a \textipa that snuck into es/UserGuide.lyx
This empty inset caused problems with LuaTeX + system fonts (see
b863fb07). Although these problems seem to be resolved, this empty
inset is not supposed to be there.
2017-02-22 11:48:42 -05:00
Juergen Spitzmueller
cdc9176949 Add some notes about ipa with fontspec. 2017-02-21 10:31:31 +01:00
Juergen Spitzmueller
ed23366300 Add tableaux to outliner 2017-02-21 07:11:53 +01:00
Juergen Spitzmueller
a1d7b58e6e Compatibility fix for acmsiggraph.cls v0.93
Reported by Jean-Pierre Chrétien, fix suggested by Günter Milde.

Also add a note about obsolescence of the class, by Jean-Pierre.
2017-02-19 12:27:33 +01:00
Kornel Benko
3b1db17985 Convert clunky math formulas in ar/Intro.lyx 2017-02-19 10:32:44 +01:00
Juergen Spitzmueller
5b03606482 Pass thru overlay argument content. 2017-02-18 08:48:15 +01:00
Juergen Spitzmueller
4acc1c5535 Whitespace 2017-02-18 08:48:00 +01:00
Juergen Spitzmueller
1db9b50407 Use \providecommand for logical markup macros
\strong is already defined by recent fontspec.

Also use non-long definition (starred version), since the insets
only contain one paragraph.
2017-02-17 08:35:41 +01:00
Kornel Benko
0e5bcb4dcc Add depth-increment/decrement shortcuts to emacs bind 2017-02-16 15:29:15 +01:00
Juergen Spitzmueller
81883c89b6 Fix Fixme module description to make it translatable
See #10058
2017-02-16 10:28:42 +01:00
Günter Milde
65ad858b0f Use typographical quotes in modernCV
The modernCV template contained literal straight quotes (probabely from
a copy/paste action).
2017-02-15 14:45:14 +01:00
Uwe Stöhr
3ac7923759 zh_CN.po: port Zheru's translation updates from branch 2017-02-14 00:22:21 +01:00
Juergen Spitzmueller
17b6576765 Document chapterbib additions. 2017-02-04 19:26:49 +01:00
Juergen Spitzmueller
bedebfc45a Support for multiple bibliographies setting "per child"
This adds support for the chapterbib package, but also adds ways to
produce this sort of multibib with biblatex and bibtopic (which are
both incompatible with chapterbib).

File format change.
2017-02-04 19:23:45 +01:00
Juergen Spitzmueller
970d4311fe Update documentation for multiple bibliographies 2017-02-04 12:09:13 +01:00
Juergen Spitzmueller
7ca20b292c Support for multiple bibliographies
Using refsection=unit in biblatex, or bibtopic's btUnit environments
in BibTeX.

File format change.
2017-02-04 12:02:00 +01:00
Guillaume Munch
566d008c9d Add \math{rel,bin,op,ord} to the math toolbar
Styles becomes Styles & Classes.

Add 4 nice icons.
2017-01-31 22:54:59 +01:00
Juergen Spitzmueller
e15a8f3551 Extend LATEXIFY command param handling and add literal param.
File format change.

This allows for the relevant InsetCommand-based dialogs (such as
citation text before/after, Bibitem label, hyperlink name etc.)
to provide both the input of verbatim code or text that is transformed
to proper LaTeX code.

Some dialogs (Nomencl, Href) already had some methods (although they
could not be toggled), which are now centralized and streamlined.

The initial work of this patch has been done by Georg Baum (see
http://www.lyx.org/trac/attachment/ticket/2751/x.diff)

Fixes: #2751, #8227.
2017-01-30 07:44:55 +01:00
Juergen Spitzmueller
043254a3d7 Update Additional.lyx wrt Biblatex 2017-01-29 15:05:36 +01:00
Juergen Spitzmueller
68ab4023cc Support for "qualified citation lists"
These are biblatex-specific multicite commands that allow for multiple
pre- and postnotes, as in:

\cites(pre)(post)[pre1][post1]{key1}[pre2][post2]{key2}...

with an optional general pre- and postnote, which applies to the whole
list (like [][] in normal cite commands) and an optional pre- and
postnotes for each item, so that pagination can actually be specified in
multi-cite references, as in:
(cf. Miller 2015, 2; furthermore Smith 2013, 23-23; Jenkins 2012, 103,
also refer to chapter 6 in this book)

See the biblatex manual, sec. 3.8.3., for details.

File format change.
2017-01-21 14:25:17 +01:00
Jean-Marc Lasgouttes
4a935ed768 Fix metrics of math characters with 0 width
It seems that QTextLayout does not handle properly a single character
with 0 width. This breaks drawing of things like \not.

Actually the problem had been worked around already in lib/symbol. The
work around can therefore by removed now.
[additionally, remove extra spacing from \mapsto, \Mapsto]
2017-01-20 10:53:06 +01:00
Richard Heck
30690d78f9 Regenerate contributions. 2017-01-19 15:39:14 -05:00
Richard Heck
0d77a7e325 Allow LyX to open empty files (created, e.g., via "touch").
Patch from new contributor Jan Niklas Hasse.
2017-01-19 15:34:45 -05:00
Richard Heck
8048ce294a Typo. 2017-01-19 15:29:14 -05:00
Richard Heck
400d13b960 Add some notes to User Guide about defining your own reference
formats.
2017-01-19 11:35:13 -05:00
Richard Heck
5cb5d2cb5a Do not replace "--" with "\twohyphens" in formula macros. 2017-01-18 21:48:35 -05:00
Günter Milde
087523f87a Revert 809b8b62 (Add FontEncoding to language descriptions).
This breaks some existing documents and should be done
together with introducing the new fontenc="auto" setting (ticket #9741).
2017-01-16 12:38:06 +01:00
Richard Heck
857c099e03 Remove very old debug code. 2017-01-15 11:35:50 -05:00
Juergen Spitzmueller
d9f7642bd7 Fix revert_bibpackopts lyx2lyx routine 2017-01-15 12:48:43 +01:00
Günter Milde
fd14b6f5a3 Document changes to configure.py. 2017-01-14 22:44:46 +01:00
Günter Milde
809b8b62a4 Add FontEncoding to language descriptions.
Add FontEncoding tag for all languages with 8-bit hyphenation patterns
requiring a specific font encoding.
No FontEncoding tag means the language is either not supported with
Babel or accepts both, OT1 and standard text encodings.

Prerequisite for fontenc="auto" (ticket #9741)
2017-01-14 22:43:37 +01:00
Richard Heck
cb6ea90256 Section and Section* should have the same font size.
Going with normal corresponds better to how the PDF displays.
2017-01-14 16:13:33 -05:00
Juergen Spitzmueller
34943a4e5f Make Japanese Biblatex-aware
Biblatex can be used with Japanese, but then, biber (not pbibtex) should
be used as processor.

I this context, bring the jbibtex UI in line with bibtex, allowing for
a selection of alternatives.
2017-01-14 12:13:33 +01:00
Juergen Spitzmueller
1eb43536da Add an "Automatic" bibliography processor pref option
This is now set as default. It selects biber for Biblatex (with
fall-back to first bibtex8, then bibtex, if the former is not
installed), and bibtex for BibTeX-based engines.

With this, users do not normally need to care for the processor when
they switch cite engines.
2017-01-13 19:18:35 +01:00
Juergen Spitzmueller
fc546b7dcc Basic support for natbib & jurabib options
This re-uses the options line edit introduced for biblatex.
2017-01-13 18:23:42 +01:00
Juergen Spitzmueller
327602d01d Implement "key only" citation style
File format change.
2017-01-13 11:53:22 +01:00
Juergen Spitzmueller
a33157331b Bump layout formats 2017-01-13 10:09:20 +01:00
Juergen Spitzmueller
7f97ace83b Merge branch 'master' into biblatex2 2017-01-13 09:11:04 +01:00
Richard Heck
119dfcb151 Add Martin Brown to credits. 2017-01-12 10:31:58 -05:00
Juergen Spitzmueller
90e2004fde Merge branch 'master' into biblatex2 2017-01-12 16:13:13 +01:00
Günter Milde
bd3e6033db configure.py: Add raster image viewers
Add common raster image viewing applications:

gwenview: KDE image viewer,
eog: Eye of Gnome, the Gnome default viewer, 
xviewer:  Eye of Gnome successor for MATE and Cinnamon, 
ristretto:  XFCE image viewer,  
gpicview: LXDE image viewer, 
lximage-qt: QXDE image viewer,

xdg-open:    generic file handler
     
The problem with xdg-open is, that it calls the browser (firefox) as fallback. This is not good for DVI and PDF, but still better than an editor (Gimp) for raster images.

Kee Gimp as last option for viewing, and default choice for editing.
2017-01-12 16:08:03 +01:00
Günter Milde
8e65250110 configure.py: Make 'notepad' last in text editor list
Place "notepad" at the end of the text editor selection list.

* Under Linux, notepad comes with the Windows emulator "wine" 
but it is not a good choice for the default text editor.
 * Most Windows users will not have the Linux programs 
and not see any change.
* Windows users with the Windows version of "geany" 
will see this (syntax highlighting) editor preferred over notepad by default.
2017-01-12 16:08:03 +01:00
Günter Milde
95085724ec configure.py: Add 'xed' editor (gedit fork)
'xed' is the 'gedit/plume' successor by Linux-Mint.
It inherits gedit's functionaly and adds a traditional UI matching the
XFCE, MATE and Cinnamon desktop environments.
See: https://de.wikipedia.org/wiki/X-Apps
2017-01-12 16:08:03 +01:00
Günter Milde
bcf8a40a10 configure.py: Add 'xreader' document viewer (evince fork)
'xreader' is the successor of 'evince' by Linux-Mint.
It inherits evince's functionaly and adds a traditional UI
matching the XFCE, MATE and Cinnamon desktop environments.
See: https://de.wikipedia.org/wiki/X-Apps
2017-01-12 16:08:03 +01:00
Günter Milde
4d391443f5 configure.py: Add 'evince' as DVI viewer
The GNOME document viewer "evince" supports also DVI.
See https://wiki.gnome.org/Apps/Evince/SupportedDocumentFormats/
2017-01-12 16:08:03 +01:00
Juergen Spitzmueller
74f774d6cf Merge branch 'master' into biblatex2 2017-01-11 10:45:48 +01:00
Günter Milde
1b752275b0 Python formatting (no change to function).
* remove trailing whitespace,
* remove/replace NL-escaping backslashs,
* wrap long lines.
2017-01-11 10:43:38 +01:00
Kornel Benko
931542d758 Typo 2017-01-11 10:17:25 +01:00
Juergen Spitzmueller
425c190d62 merge recent changes from master 2017-01-09 20:04:32 +01:00
Scott Kostyshak
578f964d9f Fix typo in Development.lyx 2017-01-09 13:48:32 -05:00
Guillaume Munch
e11a3cb895 Remove some hardcoded addToToc: note, footnote, marginalnote, branch
Define their Toc from the layout instead.
2017-01-09 18:27:26 +01:00
Guillaume Munch
f0663e3ce4 Document AddToToc 2017-01-09 18:27:26 +01:00
Guillaume Munch
d6b1dc4724 Update Sweave, Knitr manual and showcase the new Navigate menu
Also mention needauth option
2017-01-09 18:22:22 +01:00
Guillaume Munch
d1c1a4520c Fine tune AddToToc options for Sweave, Knitr 2017-01-09 18:22:22 +01:00
Juergen Spitzmueller
a751c5b846 Extend and improve name list handling
This allows to generate different name lists depending on the need and
context.

Also addresses #8489.
2017-01-09 17:54:56 +01:00
Juergen Spitzmueller
322808281f Merge branch 'master' into biblatex2 2017-01-09 09:53:20 +01:00
Juergen Spitzmueller
a04a2f9a8a Remove Requires and Excludes from CiteEngines
These are exclusive anyway.
2017-01-09 09:04:37 +01:00
Uwe Stöhr
a64a31c1e5 Additional.lyx: re-sync with branch
I don't know what happened with the version in master because it contained outdated sections I already removed months ago in branch. I can also not see new inf that is special in LyX 2.3dev.

Therefore I re-sync hereby with the version in branch.

As I often request: please change the doc files in branch, only new features of LyX 2.3 are master-only because there is no reason not to update and improve the docs for every LyX release.
2017-01-09 01:31:13 +01:00
Uwe Stöhr
36cfed9f7f fix last traces of bug #10068 2017-01-09 01:26:23 +01:00
Juergen Spitzmueller
352a8e115f Merge branch 'master' into biblatex2 2017-01-08 18:41:11 +01:00
Juergen Spitzmueller
ae708fbeb6 Fix typo 2017-01-08 18:37:08 +01:00
Juergen Spitzmueller
1ee83d4200 User Guide documentation.
Now only an adaptation of the Additional Features manual is needed,
but I leave this for now, since that manual apparently is undergoing
a major revision.
2017-01-08 17:11:01 +01:00
Juergen Spitzmueller
9c738951c7 Documentation bit. 2017-01-08 12:50:03 +01:00
Juergen Spitzmueller
8319b3e9d6 Biblatex support
File format change
2017-01-08 09:39:46 +01:00
Juergen Spitzmueller
ecbd047cff Merge branch 'master' into biblatex2 2017-01-08 09:06:26 +01:00
Richard Heck
74f09a27c4 Documentation for "no prefix" option. 2017-01-07 15:07:44 -05:00
Richard Heck
ff3690a5fd Add a "noprefix" option to the "labelonly" version of the reference
inset.

If the reference is "sec:mysec", then this will output just "mysec".
This is what is needed, e.g., to use refstyle's range commands, e.g.,
    \secrangeref{mysec1}{mysec2}
You *cannot* use:
    \secrangeref{sec:mysec1}{sec:mysec2}
even if those are the actual labels.

Eventually, I'd like to add native support for this, but I'm a bit
frightened of trying to make the reference dialog support multiple
selections.
2017-01-07 15:07:44 -05:00
Juergen Spitzmueller
dbbefcd321 Dynamically set final punctuation of bib entries
Fullcite does not need the punct.
2017-01-07 17:55:38 +01:00
Juergen Spitzmueller
378a2c8257 Outsource jurabib specials to the style file. 2017-01-07 17:40:23 +01:00
Juergen Spitzmueller
eba2f0479e Implement display of starred cite commands
This entails a change of getAbbrAuthor to getAuthorList (the default is
still abbreviated with respect to MaxCiteItems, but the list can be, at
explicit request, shortened or full notwithstanding MaxCiteItems.
2017-01-07 17:32:45 +01:00
Juergen Spitzmueller
979294d5ec New tag MaxCiteNames
This determines the number of authors before "et al.". We had it
hardcoded to 2, but actually the nuumber differs.
2017-01-07 16:44:27 +01:00
Juergen Spitzmueller
23c231c761 Merge branch 'master' into biblatex2 2017-01-05 14:30:26 +01:00
Richard Heck
516423c54e Polish plural and capitalized reference reversion.
Thanks to Scott for noticing the problem.
2017-01-05 02:50:18 -05:00
Juergen Spitzmueller
03ac5407a3 Extend cite engine style documentation 2017-01-04 13:30:50 +01:00
Juergen Spitzmueller
f6d4bce123 Merge branch 'master' into biblatex2 2017-01-03 21:49:56 +01:00
Guillaume Munch
f77e5733cf Set mathrel for a few more lib/symbols
Improve display of textmode macros in lib/symbols
2017-01-03 20:35:41 +01:00
Juergen Spitzmueller
bd1b5d580b Add some documentation to the rather esoteric style files 2017-01-03 15:35:57 +01:00
Richard Heck
5e353fecb9 Update documentation after recent changes to references. 2017-01-02 22:39:38 -05:00
Richard Heck
73f59e87bd Add ability to use refstyle's plural and capitalization features. 2017-01-02 22:32:36 -05:00
Richard Heck
c513c26e62 Label only command for reference dialog. 2017-01-02 18:08:30 -05:00
Juergen Spitzmueller
f653a41063 Adapt menu string 2017-01-02 12:00:56 +01:00
Juergen Spitzmueller
f38827b63b whitespace 2017-01-01 08:36:13 +01:00
Juergen Spitzmueller
dcdd04a492 TeXFiles.py: scan for biblatex *.bbx and *.cbx files 2017-01-01 08:07:05 +01:00
Juergen Spitzmueller
dc9efe3d47 Add a CiteFramework tag
This is to distinguish the biblatex and bibtex paradigms
2017-01-01 08:07:04 +01:00
Juergen Spitzmueller
ff93aea509 Rework default bibliography style UI
* Use a combo with all available styles
* Correctly reset default on engine change
* Consider that EngineTypes might have different defaults
2017-01-01 08:07:03 +01:00
Juergen Spitzmueller
59a4f263a4 Properly support the cite engines in the GUI
Instead of hardcoding 3 engines, we now support all engines which are
defined in the *.citeengines files.
2017-01-01 07:56:24 +01:00
Juergen Spitzmueller
97aea7e5b1 Disentangle CiteEngines and Modules
These two are different beasts and thus should be handled differently.
2017-01-01 07:56:24 +01:00
Juergen Spitzmueller
f8a85f35be Add support for the Crimson font
We use the more comprehensive cochineal package if available and fall
back to the crimson package, if not.

Math support is provided by means of newtxmath

Fixes: #9974, #9976
2016-12-29 16:45:19 +01:00
Juergen Spitzmueller
e03543eff1 Add Joel Kulesza to the credits 2016-12-28 16:50:25 +01:00
Juergen Spitzmueller
2f03e156ce Add some line breaks 2016-12-27 16:03:41 +01:00
Juergen Spitzmueller
e4189c664c Update quote-insert bindings 2016-12-27 08:39:06 +01:00
Juergen Spitzmueller
89ce0c9069 Support for CJK quotation marks
File format change

Fixes: #2712
2016-12-26 14:03:48 +01:00
Juergen Spitzmueller
f78cb64cf4 UserGuide: Document the quotation mark changes 2016-12-25 13:38:52 +01:00
Juergen Spitzmueller
36a679344a Implement dynamic quotation marks
File format change.
2016-12-25 12:19:02 +01:00
Juergen Spitzmueller
237193f8a8 Some new quote styles
* b    `british'    (``inner quotation'')
* w    >>swedishg>> ('inner quotation')   ["g" = Guillemets]
* f    <<french>>   (``inner quotation'')
* i    <<frenchin>> (<<inner quotation>>) ["in" = Imprimerie Nationale]
* r    <<russian>>  (,,inner quotation``)

Rename "french" to "swiss"

Also rename "single/double" to "secondary/primary" ("inner/outer" in
the UI) and "left/right" to "opening/closing". Note that the inset
identifier string is left as is ("s/d" and "l/r")
2016-12-24 14:27:00 +01:00
Juergen Spitzmueller
1ed70d10fd Add "Plain" quotation mark style
File format change
2016-12-21 15:17:30 +01:00
Uwe Stöhr
764efb149d EmbeddedObjects.lyx: fix some typos and few improvements 2016-12-21 02:21:59 +01:00
Juergen Spitzmueller
857506e992 Rename \\quotes_language to\\quotes_style
File format change.
2016-12-20 18:54:07 +01:00
Uwe Stöhr
cb1c228319 EmbeddedObjects.lyx: new description how to change table line colors within tables
will be backported the tomorrow
2016-12-20 02:46:47 +01:00
Guillaume Munch
e02f287f8b Add InsetMathClass to the list of math completions 2016-12-20 00:15:59 +01:00
Uwe Stöhr
2daa771dae UserGuide.lyx: fix 2 typos spotted by a user 2016-12-19 23:49:47 +01:00
Juergen Spitzmueller
0d92eaeb11 Further improve quote-inserts documentation 2016-12-19 11:39:56 +01:00
Günter Milde
7b5de36a75 Use xfrac package for "fraction characters".
The xfrac package is the "state of the art" for "split-level" (nice) fractions.
Character replacements look consistent, scale properly and fit in the line.

Fixes #5220.
2016-12-18 23:42:15 +01:00
Juergen Spitzmueller
57eaf5dc4b Update inset-modify description 2016-12-18 14:00:08 +01:00
Juergen Spitzmueller
092bbcede5 Some documentation of quote's inset-modify 2016-12-18 13:38:41 +01:00
Juergen Spitzmueller
197c193e21 Context menu for quote insets
Allows to switch quote type.
2016-12-17 12:58:33 +01:00
Juergen Spitzmueller
7cf315f855 Update LFUNs.lyx 2016-12-16 11:24:03 +01:00
Juergen Spitzmueller
7bf6d2b9ce Extend quote-insert
Two more optional arguments to specify side and quote style.
GUI support follows.
2016-12-16 11:23:22 +01:00
Richard Heck
7a584f71bd Simplify some lyx2lyx code.
Also, if the local layout we are removing is all there was, then
we can remove the entire block.
2016-12-13 22:03:59 -05:00
Richard Heck
b75c718d57 New format for changes to iopart.layout made at 91f980cf31. 2016-12-13 21:49:04 -05:00
Juergen Spitzmueller
a5ebabbb99 speed up lyx2lyx reversion for non-Hebrew documents 2016-12-13 07:30:40 +01:00
Juergen Spitzmueller
e8b1ec66fc Fix some thinkos in the revert_quotes routine 2016-12-12 10:49:08 +01:00
Juergen Spitzmueller
fceae79325 revert_quotes: consider verbatim layouts and some forgotten insets. 2016-12-10 12:54:12 +01:00
Juergen Spitzmueller
e8c932ff84 Enable InsetQuote in verbatim and Hebrew
In this context, the inset outputs straight quotes in LaTeX.

File format change.

Fixes: #7309
2016-12-10 11:53:42 +01:00
Günter Milde
81f5e596b4 File format update after 418016bf79
Removing unsupported encoding "pt254" from \inputencoding values makes documents using this value invalid (J.S.).
2016-12-07 18:38:41 +01:00
Richard Heck
91f980cf31 Verbatim, etc, can be used with IOP articles.
Fixes #10505.
2016-12-06 17:54:32 -05:00
Günter Milde
418016bf79 Remove unsupported encoding "pt254".
This encoding (modified Mac Cyrillic for Asian languages) is rarely used and not supported by Gnu iconv.

Update comments in lib/encodings.

Update ctests: Gnu iconv only supports cp858, if configured with "--enable-extra-encodings".
2016-12-06 14:04:50 +01:00
Kornel Benko
5dbe57b3d6 Cmake tests: Add a script to modify preferences prior to export testing 2016-12-03 11:32:19 +01:00
Scott Kostyshak
67094dd6e6 ctests: require up-to-date TeX Live for reliable
The unreliable sublabel varying_versions is now defined to be about
versions other than TeX Live, because we require a full and
up-to-date TeX Live installation for reliable tests.

For discussion, see:
https://www.mail-archive.com/search?l=mid&q=o1ovd9%24479%241%40blaine.gmane.org
2016-12-03 00:39:01 -05:00
Uwe Stöhr
f0bc4d43c1 Arabic Tutorial.lyx: new translation by Hatim 2016-12-02 02:12:58 +01:00
Günter Milde
a0ebae829c ctests: univert aas_sample with LuaTeX test.
The missing character problem is fixed upstream.

Also fix the scaling of the \sun-symbol-index by wrapping the symbol in \text.
(wasysym's \sun is valid in text and math mode. LyX  currently adds a spurious \ensuremath.)
2016-12-01 11:47:12 +01:00
Kornel Benko
f04f7cc26a Development.lyx, updated handling of unreliable tests. 2016-11-30 11:47:39 +01:00
Uwe Stöhr
3fee095a9d Tutorial.lyx: use a simple reference format for the Tutorial
The "<reference> on  <page>" reference format is too tricky for newbies, see e.g. bug #10494

- also update the corresponding example files
2016-11-29 01:56:11 +01:00
Uwe Stöhr
5bee5aa095 EmbeddedObjects.lyx: fix a typo spotted by a user 2016-11-29 01:29:25 +01:00
Tommaso Cucinotta
cc653feb60 Bump up RC fileformat after [244de5d2/lyxgit] for the new 'needauth' options.
Addressing #10481.
2016-11-25 23:33:08 +01:00
Enrico Forestieri
6c92075799 Amend fix for #10428
- Allow using logical values for icon sizes as the standard sizes may
  differ among different icon sets
- Do not allow setting sizes smaller than smallIconSize

When the logical sizes differ and the icon set is changed, the correct
sizes are established only after a restart.
2016-11-23 17:30:49 +01:00
Tommaso Cucinotta
244de5d2c1 Add 'needauth' option to converters that need explicit user authorization.
Addressing #10481.

This patch adds the new 'needauth' option for converters launching
external programs that are capable of running arbitrary code on behalf
of the user. These converters won't be run unless the user gives explicit
authorization, which is asked on-demand when the converter is about to
be run (question is not asked if the file is cached and calling the
converter is not needed).

The user prompt has a 3rd button so that he/she's not prompted again
for (any converter over) the same document (identified through
buffer->absFileName()).

Two preference options are added:

lyxrc.use_converter_needauth_forbidden disables any converter with
the 'needauth' option, which is meant to force user to an explicit
action via the preferences pane, before being able to use advanced
converters that can potentially bring security threats;

lyxrc.use_converter_needauth enables prompting the user for 'needauth'
converters, or bypasses the check if not enabled, falling back to the
previous behavior.

So, the first option is for maximum security, the second is for
maximum usability.
2016-11-22 23:54:58 +01:00
Kornel Benko
7950d109c8 Add select whole buffer shortcut to emacs.bind 2016-11-22 13:10:57 +01:00
Günter Milde
7bb07f179a Mark failing encodings. See #10502. 2016-11-22 11:48:16 +01:00
Daniel Ramöller
e91572a00b Add the icon-size to the toolbar menu
- Adds LFUNs for setting the icon size
- Adds icons sizes to the Toolbars menu
- Uses the Toolbars menu as application context menu
- The context menu can now be user defined in stdcontext.inc

Fixes ticket #10428.
2016-11-22 10:00:52 +01:00
Juergen Spitzmueller
e5386ce473 Fix Polyglossia options for serbian
Script value is uppercase.
2016-11-21 18:57:04 +01:00
Guillaume Munch
a592f6dc06 Fix display of \slash inside different fonts
Also give slash a proper symbol
2016-11-21 00:08:11 +01:00
Guillaume Munch
a9eb87a89d Correct computation of math font size
Move math style to FontInfo and compute the font sizes for scriptstyle and
scriptscriptstyle according to standard proportions: 0.73 and 0.55.

This is simpler and more accurate. It also fixes the font size of
${\scriptscriptstyle {\textstyle A}}A$ which exposed the limitations of the
previous approach.
2016-11-21 00:02:35 +01:00
Richard Heck
67bb5a2bf1 Add Andrew Parsloe. 2016-11-18 11:45:40 -05:00
Guillaume Munch
a78c0457ac lib/symbols: fix \arrownot 2016-11-17 22:47:26 +01:00
Richard Heck
b5b160097e Update version of new modules, etc. 2016-11-17 11:39:19 -05:00
Richard Heck
0f5ba65eae Add three new files from Andrew Parsloe. These do for AMS-type
theorem environments what the already existing "by chapter" modules
do for non-AMS ones.
2016-11-17 11:05:29 -05:00
Jean-Marc Lasgouttes
f643ae7007 Merge branch 'betterspacing'
The purpose of this branch is to improve the spacing in math equations

* do not use hardcoded pixel values, but math units that depend on
  zoom and dpi. This should be good for HiDPI systems.

* implement as much as possible the math typesetting algorithm
  described in Appendix G of the TeXbook.

One typical example of the spacing algorithm is that ``-a'' has no
spacing, contrary to ``a + b''. This reflects the unitary/binary
minus that will indeed happen in typeset output.

Together with the better character substitution that has already been
implemented by Guillaume, we get a nice improvement of mathed looks.

What makes this code complicated is that it handles macros properly:
the spacing inside the macro will depend on the values of the
arguments and the elements that are before and after the macro.

As a result, many definitions in lib/symbols are now just copy/pasted
from the relevant sty file. In particular, it is now possible to make
use of \mathrel, \mathbin, etc. macros to specify spacing.

This merge is a starting point. Remaining work includes

* proper handling of sub/superscript nucleus and of font-changing
  insets (as is done in the TeX algorithm).
* proper typesetting of fractions

Thanks to Guillaume for extensive testing.
2016-11-17 09:44:01 +01:00
Jean-Marc Lasgouttes
7335ee8ea3 Cleanup of lib/symbols
Try as far as possible to use the same definitions as in the LaTeX files.

An example of that is the definition and subsequent use of \joinrel,
\relbar and \Relbar.

This is mostly Guillaume's work.
2016-11-17 08:48:32 +01:00
Günter Milde
15fd79201e lib/unicodesymbols tests and fixes.
Test unicodesymbols for most supported input encodings with Kornel's addition to ctests.

Add required "forces" to unicodesymbols:
* utf8x does not support all characters supported by LyX
* several 8-bit encodings map characters to math-mode commands - force replacement in text-mode so that LyX can wrap them in \\ensuremath.

Fix a misalignment (wrong replacements) in the Cyrillic Unicode block.

Use \\mathscr for Mathematical Script characters in Mathematical Alphanumeric Characters (in line with the characters in other unicode blocks.
2016-11-15 23:50:41 +01:00
Scott Kostyshak
0872bb78b4 Set default output format to XeTeX in Arabic docs
All other exports to PDF fail.
2016-11-13 22:42:18 -05:00
Guillaume Munch
be836909c5 Display properly math characters that behave like symbols
* set up a replacement of *, -, and : by the adequate symbols (#9893)

* fix the wrong character selection and operator spacing in \text mode

* hide some internal symbols from the auto-completion.
2016-11-13 20:06:35 +01:00
Guillaume Munch
ad7e2435cf Fix display of some math symbols
* Fix spacing in lib/symbols after recent commits about math spacing, as well as
  older spacing issues (e.g. \Join).

* InsetMathKern now uses the same em value as other math length commands.

What is nice is that the kerning amount now matches the ones found in the
packages definition (modulo 10mu that lyx currently adds between relations).

Testcase: $\CheckedBox\LEFTcircle\RIGHTcircle\photon\gluon\vcentcolon\dblcolon\Coloneqq\eqcolon\models\hookrightarrow\bowtie\hookleftarrow\Join\APLinv\neq$
2016-11-13 20:04:51 +01:00
Günter Milde
1805b41564 Fallback definitions for unicode paragraph/line break.
Convert characters 0x2028  LINE SEPARATOR and
0x2029 PARAGRAPH SEPARATOR to LaTeX equivalent.
(Just in case they slipped somehow into the source.)
2016-11-10 12:45:27 +01:00
Günter Milde
6674a91573 lib/unicodesymbols test update and fixes.
First run of Kornels patch for tests with all input encodings in lib/encodings.

Remove redundant sample files - keep only one sample and change the input encoding in the test script.

Put remaining failing test in "unreliableTests" for later sorting...
2016-11-09 21:15:14 +01:00
Uwe Stöhr
e7e6d07e84 encodings: use correct encoding "latin7" for ISO 8859-13
This fixes bug #10474 properly, thanks Günter
2016-11-08 00:04:02 +01:00
Uwe Stöhr
852687852a doc files: port recent changes 2016-11-07 23:53:19 +01:00
Uwe Stöhr
9651879253 Japanese EmbeddedObjects.lyx: re-add export format
- I don't know if it is a bug that LyX automatically deletes the output format if it cannot find
2016-11-05 19:19:19 +01:00
Uwe Stöhr
02a1c06f32 French Tutorial.lyx remove info accidentally introduced in recent commits 2016-11-05 19:13:32 +01:00
Uwe Stöhr
f5fd699847 Japanese EmbeddedObjects.lyx: re-add code
please use 2.2.x as working branch for all doc files unless you describe new features in master!
2016-11-05 19:12:40 +01:00
Uwe Stöhr
108d6763cf doc files port recent changes 2016-11-05 19:03:56 +01:00
Juergen Spitzmueller
3374b8548b Fix usage of multiple varieties of the same polyglossia language.
1. We must always output all (diverging) options, including
   default options; if not, default options might get overwritten.

2. Do not output options in \setotherlanguage, since we might have
   multiple "other languages" varieties from the same language (such
   as naustrian, nswissgerman). And the options are output for the
   language switches anyway.

Hence, LaTeXFeatures::getPolyglossiaLanguages() does not have to record
varieties. This was not done correctly anyway, since the map allowed
for one entry per language only.
2016-11-02 17:07:49 +01:00
Juergen Spitzmueller
24066805af Enable polyglossia support for Swiss German 2016-11-01 18:08:33 +01:00
Uwe Stöhr
0af72e23fd languages: use correct encoding for Lithuanian
fixes bug #10474
2016-11-01 16:08:33 +01:00
Uwe Stöhr
9dc67281db Arabic Intro.lyx: fixes from Hatim 2016-11-01 15:11:26 +01:00
Uwe Stöhr
da323c1910 Arabic doc files: port recent changes 2016-10-31 12:24:19 +01:00
Uwe Stöhr
88f78803b5 EmbeddedObjects.lyx; remove unnecessary latexpar
- this was the last issue to fix bug #10068
2016-10-31 11:49:57 +01:00
Uwe Stöhr
42d900c2a7 Development.lyx: update info how to update the tex2lyx test files 2016-10-28 00:46:59 +02:00
Uwe Stöhr
87c00f3383 add support for Urdu and Syriac
- fileformat change
- I could not update the tex2lyx testfiles because of bug #10440 (there is now a probable fix)
2016-10-28 00:21:58 +02:00
Guillaume Munch
143a177ad3 Copy bit of documentation from Georg's commit log 2016-10-27 21:28:49 +02:00
Guillaume Munch
120f03fd8e Copy bit of documentation from MathFactory.cpp 2016-10-27 21:10:18 +02:00
Juergen Spitzmueller
34f0aedabc Handle | verbatim in index insets. 2016-10-27 18:12:30 +02:00
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