Commit Graph

8087 Commits

Author SHA1 Message Date
Richard Heck
239be02234 Allow LyX to open empty files (created, e.g., via "touch").
Patch from new contributor Jan Niklas Hasse.

(cherry picked from commit 0d77a7e325)
2017-01-19 15:37:08 -05:00
Richard Heck
6693fe5d6d Add some remarks about defining formatted references. 2017-01-19 15:26:31 -05:00
Richard Heck
dc7a5ecea1 Do not replace "--" with "\twohyphens" in formula macros.
(cherry picked from commit 5cb5d2cb5a)
2017-01-18 21:52:14 -05:00
Richard Heck
1d93cfca8f Section and Section* should have the same font size.
Going with normal corresponds better to how the PDF displays.

(cherry picked from commit cb6ea90256)
2017-01-14 16:14:24 -05:00
Uwe Stöhr
8b2d0af975 fix last traces of bug #10068 2017-01-09 01:25:22 +01:00
Uwe Stöhr
95248c51d2 linguistics.lyx: 2 minor style fixes 2017-01-09 01:19:27 +01:00
Uwe Stöhr
af353b521d Additional.lyx: backport a change from master
PLEASE work in branch for the doc files. There is no reason not to release improved manuals with the next bugfix release. Only new features of LyX 2.3 are only for master.
2017-01-09 01:18:51 +01:00
jpc
a5f802ae00 Update French EmbeddedObjects manual 2017-01-08 10:57:31 +00:00
jpc
9211ea7e26 Update section 2.5.1 2017-01-07 18:07:45 +00:00
Juergen Spitzmueller
d4ea3478fe Add Joel Kulesza to the credits 2016-12-29 08:46:41 +01:00
Georg Baum
b692e3a484 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.

(cherry-pick of commit 338cef2a)
2016-12-27 19:17:13 +01:00
Uwe Stöhr
e5ad7ee9c8 EmbeddedObjects.lyx: backport recent changes 2016-12-21 02:22:53 +01:00
Uwe Stöhr
0bc604a5ed UserGuide.lyx: fix 2 typos spotted by a user 2016-12-19 23:50:29 +01:00
Richard Heck
8d247e2407 Fix 39e3fabf.
Rather than including the file, just cut and paste it so that we
can mark the new layouts as "ForceLocal".
2016-12-07 12:29:27 -05:00
Richard Heck
39e3fabffb Verbatim, etc, can be used with IOP articles.
Fixes #10505.

(cherry picked from commit 91f980cf31)
2016-12-06 17:56:46 -05:00
Uwe Stöhr
e5954386d2 Arabic Tutorial.lyx: new translation by Hatim 2016-12-02 02:15:55 +01:00
Uwe Stöhr
f31e8ddf8e Tutorial.lyx: backport today's changes 2016-11-29 01:57:39 +01:00
Uwe Stöhr
e4e0f8d357 EmbeddedObjects.lyx: fix a typo spotted by a user 2016-11-29 01:30:18 +01:00
Daniel Ramöller
060a9664f7 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

When the logical sizes differ and the icon set is changed, the correct
sizes are established only after a restart.

Fixes ticket #10428.

(cherry picked from commit e91572a00b)
(cherry picked from commit 6c92075799)
(cherry picked from commit 7971dc83ef)
2016-11-25 10:33:21 +01:00
Juergen Spitzmueller
32b0ab764a Fix Polyglossia options for serbian
Script value is uppercase.
2016-11-21 18:58:40 +01:00
Richard Heck
ba2dc722f9 Add Andrew Parsloe.
(cherry picked from commit 67bb5a2bf1)
2016-11-18 11:47:01 -05:00
Richard Heck
632e1d3ac7 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.

(cherry picked from commit 0f5ba65eae)
2016-11-17 11:41:52 -05:00
Scott Kostyshak
e8464083fe Set default output format to XeTeX in Arabic docs
All other exports to PDF fail.
2016-11-13 22:45:25 -05:00
Uwe Stöhr
1fbe23a028 encodings: use correct encoding "latin7" for ISO 8859-13
- fixes bug #10474
2016-11-08 00:49:01 +01:00
Uwe Stöhr
95bc002387 hollywood.lyx: remove empty paragraph
- LyX correctly warned that a non-title paragraph was used in between titling paragraphs, this was even an empty paragraph
2016-11-07 23:52:43 +01:00
Uwe Stöhr
fdfcb947c7 FeynmanDiagrams.lyx: fix compilation
recent KOMA script versions don't accept \rm anymore
2016-11-07 23:45:44 +01:00
Uwe Stöhr
2479b0d58a poster-xxx.lyx: minor changes to keep uniformity of the document style 2016-11-07 23:35:57 +01:00
Uwe Stöhr
3191178555 doc files: backport recent changes in master 2016-11-05 19:20:51 +01:00
Uwe Stöhr
2a9bcb0077 Changelog-UserGuide-LyX_22x.txt: a correction 2016-11-05 19:03:14 +01:00
Uwe Stöhr
547fec979c UserGuide.lyx: describe a feature
fixes bug #3880
2016-11-05 19:01:08 +01:00
Uwe Stöhr
6e0b27bc20 UserGuide.lyx: accept changes
- update link to a Wiki page
2016-11-05 18:42:14 +01:00
Juergen Spitzmueller
008c229041 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 18:04:26 +01:00
Uwe Stöhr
34918465dd Arabic Intro.lyx: fixes from Hatim 2016-11-01 15:08:40 +01:00
Uwe Stöhr
ee9550b0bb Arabic Shortcuts.lyx: increase font size 2016-10-31 12:23:50 +01:00
Uwe Stöhr
a0395c3de0 Arabic Intro.lyx: new translation from Hatim 2016-10-31 12:19:21 +01:00
Uwe Stöhr
350708102b EmbeddedObjects.lyx; remove unnecessary latexpar
- this was the last issue to fix bug #10068
2016-10-31 11:46:42 +01:00
Juergen Spitzmueller
9e2d101d5c Handle | verbatim in index insets. 2016-10-31 10:22:43 +01:00
Uwe Stöhr
cc214a0e16 Arabic Shortcuts.lyx: new translation by Hatim 2016-10-25 23:35:14 +02:00
Guillaume Munch
cdc75e872a Revert menu name "Source Pane"
Such a change should not happen in stable. Introduced at a36706c3ff.
2016-10-25 19:33:02 +02:00
Juergen Spitzmueller
2dfc12b254 Improve bibliography info (general)
Consider all thesis types.
2016-10-23 08:15:04 +02:00
Juergen Spitzmueller
9974d15a74 Improve bibliography info (general), part II
Consider collection and proceedings
2016-10-23 08:12:53 +02:00
Juergen Spitzmueller
7ace3d4f20 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-10-23 08:12:15 +02:00
Guillaume Munch
a36706c3ff 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.

(cherry-picked from ca58674267)
2016-10-22 20:07:42 +02:00
Guillaume Munch
ef7e344318 Change "Output" into "Formats"
This reverts commit 030f4c6d1e.

The plural form seems more appropriate and the tag [[output]] is added for
disambiguation (e.g. for the French translation).
2016-10-22 20:07:41 +02:00
Uwe Stöhr
67cbf179b4 UserGuide.lyx: deny a change
this type of description is used all over the place in the LyX docs
2016-10-22 01:00:11 +02:00
Juergen Spitzmueller
98eeaceb5e Fix label display in linguistic examples 2016-10-21 19:20:23 +02:00
Uwe Stöhr
9b25f19aa7 French splash.lyx: restore \origin tag 2016-10-20 22:35:59 +02:00
Jean-Marc Lasgouttes
181ecc51a7 Do not hardcode required packages for Note inset
This does not change the default behavior, but allows to customize it.

(cherry picked from commit db12707655)
2016-10-17 10:22:45 +02:00
Uwe Stöhr
0ca507ca64 Development.lyx: backport the current rules/advises 2016-10-10 02:45:57 +02:00
Uwe Stöhr
df66391485 French UserGuide.lyx: restore \origin tag
Jean-Pierre, please take care of this otherwise LyX cannot be compiled.
Please also port changes you commit to 2.2.x to master
2016-10-10 02:14:41 +02:00
jpc
2d2023df6f Typo pointed out in the lyx-fr mailing list 2016-10-07 08:59:03 +01:00
jpc
432d1398bc Typo 2016-09-25 17:29:16 +01:00
Scott Kostyshak
e81f6b04bc Amend 40c262cb
Use LyX note instead of comment. This is less invasive that
converting Beamer frames to fragile to accommodate the comment
environment.
2016-09-22 22:55:35 -04:00
Scott Kostyshak
40c262cbd8 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
2016-09-22 22:21:03 -04:00
jpc
360fd94ee4 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-21 09:15:07 +01:00
Uwe Stöhr
aa81ae7e30 French beamer.lyx: accept changes
I think this can be accepted without further explanation since it is in a comment
2016-09-20 23:16:42 +02:00
Scott Kostyshak
9f3518bcd2 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
2016-09-19 22:23:41 -04:00
Georg Baum
7e37dc20eb 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-08 20:54:40 +02:00
Juergen Spitzmueller
a7d0a7369d Update docs wrt Separator 2016-09-08 10:33:12 +02:00
Uwe Stöhr
b30dd8efac French UserGuide.lyx: remove unnecessary language change 2016-09-08 00:49:56 +02:00
Juergen Spitzmueller
03f889a46c Remove duplicate context menu item
Fixes: #10368
2016-09-07 09:53:26 +02:00
Uwe Stöhr
e8b41bf1fd French doc files: re-add missing \origin tag
otherwise LyX cannot be compiled here
2016-09-03 22:17:52 +02:00
Juergen Spitzmueller
899cd15848 Remove English traces in IPA inset that make XeTeX fail. 2016-09-03 17:01:29 +02:00
Juergen Spitzmueller
c0f5c1dd9f Fix \@ifundefined check for covexample(s)
Fixes: #10340
2016-08-26 18:45:23 +02:00
Richard Heck
1a89f89337 Remove debugging code.
(cherry picked from commit e57e008e88)
2016-08-05 21:42:19 -04:00
jpc
f1019628a4 Update French Customization, Math, Tutorial and UserGuide manuals 2016-08-05 09:06:15 +01:00
Juergen Spitzmueller
fe117aa7db Correct default font of beamer article layouts
Fixes: #9977
2016-08-05 07:21:17 +02:00
Richard Heck
3f35b5e3b5 Remove stray "typewriter" font.
(cherry picked from commit fab09075a6)
2016-08-04 22:46:12 -04:00
Juergen Spitzmueller
642d7f0f96 Fix typo. 2016-08-03 09:05:06 +02:00
Richard Heck
4ef9aa8a8b Fix quotes in InStar module description. 2016-08-02 11:12:21 -04:00
José Matos
61a9f04754 Fix bug #10273
The export of compressed files to previous lyx versions failed on windows.

The change in this case is to explicitly pass the output file since we know it.

At the same time take care of the fact that lyx2lyx knows what file format
versions corresponds to each lyx version.
2016-08-01 11:04:39 +01:00
José Matos
41666164f7 White space change only (remove spaces at the end of lines) 2016-08-01 10:53:10 +01:00
Richard Heck
68a0822e25 Fix typo in new dia converter. 2016-07-31 12:47:13 -04:00
Uwe Stöhr
3eb90307a7 Customization.lyx: remove incorrect LaTeX symbols 2016-07-31 10:35:04 +02:00
Richard Heck
5fa071ec1e Fix display of code listings in XHTML.
Fixes bug #8362.

(cherry picked from commit ab3a49973f)
2016-07-31 01:48:57 -04:00
Richard Heck
1bcede451a Enable export of spreadsheets with XHTML.
(cherry picked from commit 1840e2dbaf)
2016-07-31 01:36:43 -04:00
Richard Heck
1f36c6aa78 Dummy export for spreadsheets: plaintext and DocBook.
(cherry picked from commit 94dd876699)
2016-07-31 01:36:13 -04:00
Richard Heck
9f852516e8 Export external raster graphics as png for XHTML.
(cherry picked from commit 681e76086a)
2016-07-31 01:36:12 -04:00
Richard Heck
deb6c1de06 Export external vector graphics as svg for XHTML.
(cherry picked from commit b9f7bf7d69)
2016-07-31 01:36:11 -04:00
Richard Heck
151e004ab1 Enable SVG export of XFig figures for XHTML.
(cherry picked from commit a45ffddb23)
2016-07-31 01:36:11 -04:00
Richard Heck
ad8b479c71 Activate export of chess diagrams for XHTML.
(cherry picked from commit 0b8c6bbbf8)
2016-07-31 01:36:10 -04:00
Richard Heck
9a95390791 Enable XHTML export of LilyPond files.
(cherry picked from commit b35661b755)
2016-07-31 01:36:09 -04:00
Richard Heck
5555661bf6 Allow XHTML export of Dia diagrams.
(cherry picked from commit 3f1199d56a)
2016-07-31 01:36:08 -04:00
Richard Heck
d7ecdedd67 Fix indentation of fen2ascii script so it will run.
(cherry picked from commit 22e1063cb9)
2016-07-30 23:18:46 -04:00
Richard Heck
21ccd006ee Fix some symbols that are displayed incorrectly in MathML export.
(cherry picked from commit 8860365565)
2016-07-30 21:12:24 -04:00
Richard Heck
9d3917a4b6 Only trim right end of lines in header. This allows us to preserve
whitespace in local layout.

(cherry picked from commit a11e07a62f)
2016-07-29 23:52:47 -04:00
Richard Heck
46a16b0ca7 Merge branch '2.2.x' into 2.2.2-staging 2016-07-25 14:55:16 -04:00
Richard Heck
a4a1c11b2d 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.

(cherry picked from commit 0f4c14bba2)
2016-07-23 13:45:32 -04:00
Richard Heck
c7de07a41b Add InStar module to the distribution. 2016-07-16 11:09:03 -04:00
Uwe Stöhr
edf1a236da doc files: remove unnecessary TeX braces 2016-07-16 12:39:34 +02:00
Uwe Stöhr
1af511754b Math.lyx: a nitpick 2016-07-16 02:30:40 +02:00
Uwe Stöhr
d15950ffde Math.lyx: add shortcuts for font styles 2016-07-16 02:27:56 +02:00
Uwe Stöhr
771950a14e example files: remove unnecessary latexpar
- fixes part of bug #10068
2016-07-16 00:22:37 +02:00
Uwe Stöhr
2111e775f5 MergedManuals.lyx: fix a file path 2016-07-16 00:08:58 +02:00
Uwe Stöhr
494f3991dc examples/templates: remove unnecessary parbreak
- fixes part of bug #10068
2016-07-15 23:59:20 +02:00
Uwe Stöhr
7e92e875d3 examples/templates: remove unnecessary latexpar
- fixes part of bug #10068
2016-07-15 23:52:38 +02:00
Uwe Stöhr
78f59f72ac doc files: remove unnecessary latexpar
- fixes part of bug #10068
2016-07-15 23:48:00 +02:00
Uwe Stöhr
1d95e99423 UserGuide.lyx: re-add the \origin
(it drives me crazy that it will always automatically be removed)
2016-07-15 23:09:18 +02:00
Uwe Stöhr
d048e48a96 UserGuide.lyx: correct a menu name
- also remove unnecessary latexpars
2016-07-15 22:58:32 +02:00
Richard Heck
b366a55962 Fix some comments about the enumitem module. 2016-07-15 13:35:49 -04:00