Commit Graph

632 Commits

Author SHA1 Message Date
Juergen Spitzmueller
8365eabd6f Make paper search function accessible and customizable 2020-08-27 08:48:55 +02:00
Stephan Witt
8593d00912 autotools build: Install lyx.svg under images for all platforms 2020-08-26 14:36:47 +02:00
Juergen Spitzmueller
e52514ffd3 Install lyx.svg 2020-08-26 10:01:53 +02:00
Juergen Spitzmueller
935c9aad5a Add python lyxpaperview script 2020-08-24 13:32:50 +02:00
Pavel Sanda
9c9a2c1b92 distribute lyxpaperview 2020-08-23 20:47:39 +02:00
Juergen Spitzmueller
80e9f7f426 Fixup Apa7 template 2020-08-15 09:52:35 +02:00
Juergen Spitzmueller
7bbc4270ad Add new Russian example files to Makefile 2020-08-05 19:14:13 +02:00
Thibaut Cuvelier
8ac6fbf112 Remove AGU DTD style, probably doesn't work, impossible to check. 2020-07-08 13:36:08 +02:00
Pavel Sanda
d393df4f1a Makefile forgotten in previous patch 2020-07-08 10:08:15 +02:00
Thibaut Cuvelier
8a6e500570 Remove old example, as its mechanisms are now deprecated. 2020-07-02 15:27:20 +02:00
Enrico Forestieri
6f6d985b9e Amend 5a80f7bb
Was forgetting this.
2020-06-11 17:43:44 +02:00
Kornel Benko
3af543455b Rename a file to comform with the layout description
Saves one translatable string
2020-06-11 12:08:48 +02:00
Kornel Benko
ac7871d5d1 Amend(2) f7d6a0b7: Add template for APA v.7
Distribute the new template
2020-06-10 16:11:59 +02:00
Jean-Marc Lasgouttes
b08791f731 Use combined toolbar icons for depth-(in|de)crement and outline-(in|out)
The Tab binding already combines those (and more).
2020-06-06 01:44:06 +02:00
Kornel Benko
cb26ecbb58 Added apa7 layout 2020-06-05 22:03:59 +02:00
Richard Kimberly Heck
c90a8e6885 Add revtex 4.2 files to distribution 2020-05-18 13:20:39 -04:00
Jean-Marc Lasgouttes
125f5d5d20 Add rtl version of outline-in/out icons 2020-05-15 12:10:30 +02:00
Pavel Sanda
cf628911d0 Add new template for Hebrew.
Provided by Guy Rutenberg, available also here:
https://github.com/guyru/lyx-hebrew-templates
2020-05-04 13:05:36 +02:00
Jean-Marc Lasgouttes
bb0117d182 Simplify code for bidi icons
Most of the RtL icons that we provide are simply mirrors of the LtR ones.
Therefore let the code do that by default if no +rtl icon is found.

The only RtL icon left for now is for "layout Enumerate" (notice the
numbers in it).

Also remove useless getPixmap wrapper and several old bidi_xxx icons
that were forgotten in previous patch.
2020-04-16 20:54:53 +02:00
Jean-Marc Lasgouttes
43eda5ad73 Reimplement properly bidi icons
When the cursor in RTL text, icons for "depth-increment" or
"layout-toggle Enumerate" look wrong.

Instead of relying on the clumsy "bidi" lfun of 2898c335, this new
version relies on a new Toobar tag BidiItem that inserts an action
which can have two icons, depending on the direction of the paragraph
containing the caret (or of the direction of the UI when no file is
open).

The alternative icon has the same name as the original one, with a
"+rtl" string appended to the lfun string. The alternative icon is
only active if the file is found. The icon themes `default', `oxygen'
and `classic' have been updated accordingly.

Fixes bug #4451.
2020-04-14 22:47:56 +02:00
Jean-Marc Lasgouttes
ce0538e372 Revert "Add mechanism to change icons in RTL mode"
This is really too clumsy. Revert in preparation for a better
mechanism.

This reverts commit 2898c335be.
2020-04-14 22:47:50 +02:00
Jean-Marc Lasgouttes
cf9827dfc1 List is obsoleted by Labeling: update icons
This does not change much in master but it is cleaner since the List
layout has been obsolete since 2010 (7f8b868f).

See bug #11770.
2020-03-04 11:52:52 +01:00
Juergen Spitzmueller
dc4823e759 Add native changebars
Fixes #10750
2019-12-24 18:12:22 +01:00
Juergen Spitzmueller
8abe7b25e8 Add support for the enotez package
This is a modern implementation of endnotes building on LaTeX3 tools which
gets away with deficiencies of the endnotes package, has some extra features,
is localized, supports hyperref and is better customizable.

As this is a fairly new package requiring l3, we keep the old endnotes
module and provide this as an alternative.
2019-08-13 07:30:20 +02:00
Jean-Marc Lasgouttes
2898c335be Add mechanism to change icons in RTL mode
When the cursor in RTL text, icons for "depth-increment" or
"layout-toggle Enumerate" look wrong.

To fix this, the lfun "bidi" is introduced. "bidi ltr func" behaves
like "func" in LTR text, but is unknown in RTL text. "bidi rtl" does
the opposite. This allows to add two icons, but only have one icon
available. When no document is available, only LTR is assumed.

To make this work, the handling of unknown functions in toolbar has
been changed so this these functions can change dynamically their
existence.

The icon themes `default', `oxygen' and `classic' have been updated
accordingly.

Fixes bug #4451.
2019-07-22 15:20:38 +02:00
Jean-Marc Lasgouttes
10379aba7a Remove layout_xxx icons
These have been superceded by lyx-toggle_xxx icons.

Part of bug #9864.
2019-07-15 23:48:15 +02:00
Günter Milde
672102fc7c Example/documentation for Korean with the "cjk-ko" package. 2019-06-21 12:40:41 +02:00
Günter Milde
d98fc497ea Register new module. 2019-05-16 21:21:53 +02:00
Günter Milde
a6c2ae4be8 Update documentation for Japanese with other languages. 2019-05-09 21:56:16 +02:00
Juergen Spitzmueller
616bd2a4e6 Add formal table templates with and without footlines
See discussion in #10105
2019-04-03 17:32:46 +02:00
Juergen Spitzmueller
3bbcfda3db Add option to reset to default booktabs lines
Addresses: #10106
2019-04-01 07:08:13 +02:00
Juergen Spitzmueller
5a02c19bb1 Add missing files to Makefile.am
Another fixup of ffc682424e.

Alas, make distcheck still fails.
2019-03-30 12:46:05 +01:00
Juergen Spitzmueller
44089e8a99 Fix build after ffc682424e 2019-03-29 09:10:18 +01:00
Juergen Spitzmueller
683b3a05e2 Introducing table templates
The idea is simple: we insert a pre-formatted table (with a given border
style currently, but other attributes are possible as well) via file-insert
and scale it then to the requested size.

We need three sizes (1x1, 1x2 and 1x3) to generate all sizes properly (due
to border specifications).

Currently, these styles can only be accessed via lfun tabular-style-insert
and the Tabular Create dialog.

My plan is to add a buffer param to set a default style (#9901) which then
also is respected by the toolbar button and probably a layout tag to let
classes specify a default style (#8360).
2019-03-26 13:43:33 +01:00
Juergen Spitzmueller
fd28958db0 Add new file to Makefile.am 2019-03-26 09:00:33 +01:00
Pavel Sanda
1c05f4e727 Another from distcheck problems 2019-03-26 01:20:09 +01:00
Juergen Spitzmueller
285e72a377 sigh 2019-03-25 11:07:10 +01:00
Juergen Spitzmueller
48792d0c67 Move misplaced file 2019-03-25 11:05:21 +01:00
Pavel Sanda
42b643e6fe Toward again working make distcheck.
Not there yet.
Introducing examples/templates into the Rules-lyx hall of fame
make those dirs more sensitive to build stuff.

Something still broken in examples/Articles, not sure what,
maybe filename length, running out of time now.
2019-03-25 10:44:29 +01:00
Juergen Spitzmueller
a0240c8d65 Move Thesis and Springer templates back to templates
Thanks to \origin, #8643 is fixed (also in stable). Included paths are
thus correctly updated and point to the systemdir.

This only works if LyX is installed, though, since \origin is only set
on install.
2019-03-24 11:21:55 +01:00
Pavel Sanda
f6d69e6980 missing example 2019-03-23 09:21:57 +01:00
Juergen Spitzmueller
aff2ee6058 Add soul module 2019-03-22 18:29:50 +01:00
Juergen Spitzmueller
ca024383e0 Fix problematic characters in example/template file names
For (, ) and & we use URL encoding now.
2019-03-22 11:10:49 +01:00
Juergen Spitzmueller
a84103a8d4 Replace unnecessary ampersand in folder name 2019-03-22 09:38:05 +01:00
Juergen Spitzmueller
ca67b8aa2c GuiLyXFiles: add icons that indicate whether a file is from user or system 2019-03-20 18:38:07 +01:00
Juergen Spitzmueller
d3ec77c633 Reorganize templates and example folders
Re-structure and rename files in a transparent way. Most template/example
names now correspond to the (verbose GUI) name of their layouts.

Note that this, most prominently, also changes [LANG/]splash.lyx to
something less insiderish, namely "Welcome.lyx".
2019-03-19 07:13:18 +01:00
Richard Kimberly Heck
fc14f23b89 New layout file for American Mathematical Monthly.
From John Perry. See bug #10803.
2018-12-29 11:48:38 -05:00
Juergen Spitzmueller
12aaeb259f Handle bibliography irritations in thesis template
Outsource the bibliography to an own child, which is then also included
in the children's "Standalone" branch

Add some clarifying notes.

Fixes: #10748
2018-12-29 15:08:15 +01:00
Juergen Spitzmueller
cb84f752f2 Add tabular-features set-inner-lines and fix set-all-lines behavior
Patch by Daniel Ramöller (racoon)

Fixes: #11382
2018-12-28 10:11:42 +01:00
Juergen Spitzmueller
c57d04908f No need for an extra icon 2018-12-27 11:18:13 +01:00
Juergen Spitzmueller
154b4fdece Give textstyle-apply a history
The last 20 applications are saved now and accessible both via the lfun
(textstyle-apply n) and the toolbar (via button menu)

Fixes: #7133

This also changes the default icon and toolbar position of the action,
as requested in #11427
2018-12-26 15:46:14 +01:00
Juergen Spitzmueller
9c33bbed10 Rework chessboard support
* Use a module rather than a layout, since this package can be used with
  any class
* Do not hardcode options and settings. The package is very flexible,
  there is no need to limit this in LyX
2018-09-23 12:26:43 +02:00
Kornel Benko
2877032791 Replacement for chess support
This layout does not use lyxskak.sty, which depends on skak.sty
Instead it uses chessboard.sty, depending on chessfss and xskak.
Compiles and displays fine with pdflatex, XeTeX
but still does not compile with lualatex.
We are now able again to mark fields and moves on the chessboard
2018-08-23 11:58:32 +02:00
Kornel Benko
6aef7081bf Typo in commit c9038e3 2018-08-22 18:20:00 +02:00
Kornel Benko
c9038e3eaf Add missing entries
The files were added in bd6ba07, 6bfd91e and 0c56808
2018-08-22 17:37:28 +02:00
Juergen Spitzmueller
6dfdcf9914 Amend 2d4284e89e 2018-08-17 20:29:28 +02:00
Jean-Marc Lasgouttes
2c9e019a62 Make toolbar icons like Itemize toggle
Copy the old layout_* icons to layout-toggle_*

Fixes bug 9864.
2018-07-04 12:11:24 +02:00
Richard Heck
cc4bfc7f04 Add toolbar menus for custom insets and character styles.
I'm open to putting this elsewhere on the toolbar, or even on a
different toolbar. Also, we need decent icons. These ones are not
intended seriously but were just borrowed for testing purposes.
Anyone have good ideas about icons?
2018-05-02 20:31:24 -04:00
Juergen Spitzmueller
2551614ff1 Add Landscape module
Support for the (pdf)lscape package.

Fixes: #10801
2018-04-18 14:36:49 +02:00
Jean-Marc Lasgouttes
54e491c6fe There is actually a home for obsolete templates in Makefile
Fixup to 24fd7d2b.
2018-02-12 17:19:10 +01:00
Jean-Marc Lasgouttes
24fd7d2bac Remove template AGUTeX.lyx from Makefile 2018-02-12 17:06:19 +01:00
Uwe Stöhr
1d81e098a3 French example files: port recent changes to master 2018-01-17 15:58:07 +01:00
Kornel Benko
d794a6d60d Add testfiles-references to automake build: vcs_info_export moved to new directory, part 4 2018-01-17 15:31:57 +01:00
Uwe Stöhr
69ef4bc146 Russian doc files: new and updated translations by Yuri 2018-01-01 16:56:31 +01:00
Uwe Stöhr
80140877f6 new Arabic splash.lyx from Hatim 2017-12-18 15:26:17 +01:00
Kornel Benko
52e5e940e2 Amend 3dcb317 2017-12-12 20:54:56 +01:00
Uwe Stöhr
8339e6a09d Catalan mathed.lyx: move outdated file to attic/ca/mathed.lyx
(Besides that it is outdated, we already have all its info in the Spanish math manual and all Catalans understand Spanish.)
2017-11-19 01:30:09 +01:00
Uwe Stöhr
e5dc5f9680 Math.lyx: update the section about subequations.lyx
- an extra example file is not necessary since we already describe subequations in the math manual
2017-11-19 00:53:10 +01:00
Uwe Stöhr
e26a6c8b34 R-S-statements.lyx: move to attic/R-S-statements.lyx
RS statements are deprecated since 2015. Their replacement are the HP statements for which LyX has an example file since LyX 2.2.
2017-11-18 18:16:08 +01:00
Juergen Spitzmueller
b14756f3e2 Support for Japanese BX classes, by K. Yokota
Fixes: #10746
2017-09-02 09:06:52 +02:00
Enrico Forestieri
0faddcae60 Was also forgetting this 2017-08-03 15:07:41 +02:00
Enrico Forestieri
aeead38d90 Update lib/Makefile.am 2017-07-16 11:22:05 +02:00
Enrico Forestieri
9913fe650d Was forgetting this at 4722e955 2017-06-10 02:43:16 +02:00
Enrico Forestieri
4722e955a8 Remove the minted external template
That functionality is now provided by the new support for minted.
Also change the example file and accordingly rename it.
2017-06-10 00:14:04 +02:00
Enrico Forestieri
a338971700 Add another minted example
This one illustrates the usage of the new minted support.
2017-06-07 02:28:21 +02:00
Scott Kostyshak
beed118c32 Add subequations module and example (#10029)
The module allows to use the subequations environment.

There is still a pending request to implement this environment
natively in LyX's mathed.

Contributed by Joel Kulesza.
2017-06-03 17:13:22 -04:00
Enrico Forestieri
85dd9a2f9c Add an external template for minted
See #9095
2017-05-28 23:43:19 +02:00
Guillaume MM
a72873a521 Fix OutlinerNames for Floats 2017-05-14 12:15:19 +02:00
Guillaume MM
5608f6fdb6 Add acmart template
Move obsolete templates to templates/obsolete
2017-05-13 16:12:25 +02:00
Guillaume MM
517cd50e05 Packaging for acmart 2017-05-10 00:03:04 +02: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
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
Daniel Ramöller
1fb6a0ac3e Add default icon for "toolbar-toggle review" (#10379) 2017-05-07 14:17:54 +02:00
Tommaso Cucinotta
066edd3c30 Enable graphics generation from external gnuplot scripts. 2017-05-04 00:44:00 +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
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
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
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
8319b3e9d6 Biblatex support
File format change
2017-01-08 09:39:46 +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
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
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
Pavel Sanda
8085899fb6 Ressurect make distcheck. 2016-07-04 13:17:07 -07: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
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
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
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