Commit Graph

8967 Commits

Author SHA1 Message Date
Juergen Spitzmueller
8536fc1dfa Basic field documentation 2018-08-05 11:18:24 +02:00
Juergen Spitzmueller
8be9e8f3bb Style 2018-08-05 10:19:25 +02:00
Juergen Spitzmueller
e730234e57 Add date-related info insets
With this commit, info insets leave the dark backstage room of an opaque
and quite hidden dev-only feature and come frontstage.

In the UI, they present themselves as "Fields" since this is what people
know from word processors. Other user-related fields that could be
implemented next: time, user name (I plan to do that for 2.4).

Since this supersedes date-insert, I removed Insert > Date from
the menu and propose to ditch date-insert and the corresponding rc.

The lyx2lyx reversion routine has lots of room for improvement and
attractive tasks for pythons (file timestamp, switch of localization).
Please feel invited!

This is a file format change.
2018-08-05 10:01:36 +02:00
Kornel Benko
a1a174f3d2 Add default language to make RJournal.lyx compilable again 2018-08-05 09:09:47 +02:00
Kornel Benko
a96845660e Do not increment start for find(phrase) while looping over phrases
The increment will be done at the end of the for-loop.
2018-08-02 22:51:36 +02:00
Juergen Spitzmueller
f675fe95c9 auto-nest beamer note item in list
candidate for stable
2018-08-01 16:16:46 +02:00
Kornel Benko
7f3fd5a809 lyx2lyx: Use correct check for emty lines while converting Begin/EndFrontmatter
* Coversion now tries not to pollute the result with emty lines
* stripped some trailing spaces
2018-07-31 13:44:48 +02:00
Kornel Benko
f8f9eec358 Amend 3e92efd: Remove (Begin|End)Frontmatter in elsarticle
1.) Revert changes in elsarticle.lyx
2.) upgrade format to 558
3.) added missing lyx2lyx routines
2018-07-30 13:44:01 +02:00
Juergen Spitzmueller
358436ea1e Split vcs Info inset from buffer Info inset
This should go separately in the GUI, and thus in the inset.
2018-07-29 19:41:34 +02:00
Juergen Spitzmueller
e38db01a0b Add Gilbert Forkel to the Credits 2018-07-29 15:24:45 +02:00
Enrico Forestieri
0056867be8 Fix bug #11214
The checkProg() function was separating a command from its parameters
by splitting at the first space. This was a problem if the command
was specified with a full path containing spaces. Now the checkProg()
function separates a command from the parameters by splitting at the
first non-quoted space. So, it suffices quoting a path to solve the
issue.
2018-07-28 23:07:17 +02:00
Kornel Benko
3e92efd118 Replace styles '(Begin|End)Frontmatter' with environment in elsarticle
No change in tex or pdf output.
This does not help in compiling, but still feels more natural.
2018-07-28 14:30:25 +02:00
Juergen Spitzmueller
df33cc3334 Add Winfred Huang to the Credits 2018-07-28 09:33:43 +02:00
Juergen Spitzmueller
f8e286b823 Use footnotehyper rather than footnote if hyperref is used
Fixes: #11212
2018-07-25 18:01:22 +02:00
Juergen Spitzmueller
b12ea3b731 Fix austrian language code\n\nCandidate for stable. 2018-07-25 14:59:21 +02:00
Richard Kimberly Heck
4549f46a43 Speed up convert_literalparam. Part of #11200. 2018-07-21 22:49:49 -04:00
Richard Kimberly Heck
8573391aee Try to speed up convert_phrases by re-ordering the loops. Part of #11200. 2018-07-21 22:32:39 -04:00
Richard Kimberly Heck
96ea84e042 Speed up convert_specialchars. Part of #11200. 2018-07-21 22:18:22 -04:00
Richard Kimberly Heck
4cb209b121 Speed up convert_captionlayouts. Part of #11200. 2018-07-21 22:18:09 -04:00
Juergen Spitzmueller
9b76237bfe farsi needs LAE encoding as well 2018-07-21 16:00:40 +02:00
Scott Kostyshak
7b57685048 Hebrew docs: No need to mark logos as English
Thanks to the fix to #10423, we can leave e.g. \LyX and \LaTeX as
the default language (which is Hebrew for these document).
2018-07-16 05:13:32 -04:00
Juergen Spitzmueller
1e5acc5656 Fix command line output of convertDefault.py for ImageMagick
Part of #11186
2018-07-13 10:20:26 +02:00
Juergen Spitzmueller
3fde6b5ecc Minor doc tweaks/corrections 2018-07-08 12:38:56 +02:00
Kornel Benko
526380da04 Revert "Remove dependences from .layout files"
Some styles are not second-level dependencies

This reverts commit 92c8a86407.
2018-07-07 16:10:45 +02:00
Juergen Spitzmueller
e6e3777363 Add support for bib files encoding
File format change.

Fixes: #6223
2018-07-07 15:25:35 +02:00
Kornel Benko
92c8a86407 Remove dependences from .layout files 2018-07-07 14:13:40 +02:00
Kornel Benko
41d86ff9e1 Amend 8da02501, Add bindings for inset-settings
Added binding to emacs.bind too
2018-07-07 11:29:40 +02:00
Juergen Spitzmueller
34c04ebce6 Amend 9f9041db7a
move cl2emult to obsolete category
2018-07-06 14:36:41 +02:00
Juergen Spitzmueller
67de09b51e Remove entry for obsolete class. 2018-07-06 10:12:51 +02:00
Juergen Spitzmueller
9f9041db7a Use more informative descriptions fro Springer layouts 2018-07-06 10:09:13 +02:00
Juergen Spitzmueller
73e0a6c4d5 Update elsarticle entry in LaTeXConfig 2018-07-05 19:28:56 +02:00
Kornel Benko
650ef5f1cb dtk.layout: Remove secondary dependencies due to change in TL2018 2018-07-05 17:54:55 +02:00
Juergen Spitzmueller
981e76a02c Fix typo 2018-07-05 17:49:46 +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
Juergen Spitzmueller
68f6c671c5 Fix another encoding problem in ja/ 2018-07-03 12:37:25 +02:00
Juergen Spitzmueller
1a96b0d184 Fix input encoding issue with German example text
pLaTeX requires SJIS encoding, so only ASCII latin is possible.
2018-07-03 11:31:39 +02:00
Juergen Spitzmueller
9dcb24d578 Support varwidth's V tabular column type
This effectively enables linebreaks, multipars and layout changes in
non-fixed width (i.e., standard) table columns.

Fixes: #6577

TODO: metrics are wrong (too wide) on screen with linebreaks.
2018-07-01 19:18:38 +02:00
Juergen Spitzmueller
f38816bf16 Add support for tabularx/xltabular
I.e., variable width columns in single and multiple page tables

Files format change.

Fixes: #4154, #4155
2018-06-24 10:05:15 +02:00
Kornel Benko
25ff03d120 Cmake tests: Adapt some keytests due to changed key-bindings 2018-06-23 19:00:04 +02:00
Kornel Benko
1803d788f7 Cmate tests: Amend aca3031
The script checkKeys.pl.in was mentioned but not added to the previous commit.
2018-06-09 09:48:41 +02:00
Kornel Benko
aca3031352 Cmake tests: Added check to inspect created pdf in test "AMS-import"
If the command "comparepdf" is found, it will be used.
Also the script lyx_batch.pl is now easier to expand for
possible new comparision tools.
2018-06-09 09:15:21 +02:00
Richard Heck
f17f5617e0 Fix bug #7404.
This allows for external editing of ERT insets. Original patch
by Georg Baum. Updated to 2.4dev by Riki Heck.
2018-06-05 23:13:54 -04:00
Kornel Benko
f5732bef83 Disable GUI for our batch tests if using QT5
Thanks to Enrico for this params
2018-05-26 13:30:30 +02:00
Kornel Benko
49603e91aa Cmake batch tests: Generalize lists of files in test.
Each source file is to be copied to the test directory
Created files are to be compared to the corresponding expected file (if it is not set to "undef")
2018-05-25 17:19:34 +02:00
Kornel Benko
3319664d53 Cmake batch tests: Check also if all expected files are created 2018-05-25 13:59:47 +02:00
Kornel Benko
1a36fee79d Added testcase for ticket #11156
The test is named "AMS-import", with defined test-labels 'tex2lyx' and 'batch'
2018-05-24 20:49:11 +02:00
Juergen Spitzmueller
98621be1ba Support \cite command in tufte classes
This is an extra command used for sidenote citations. Since we do not
provide \cite with natbib (which tufte uses) as a choice, we use the
new AddToCiteEngine feature to add it.

File format change.

Fixes: #11150
2018-05-21 13:46:04 +02:00
Juergen Spitzmueller
bbf287a3c6 Allow for cite engine and format definitions/modifications in layouts
Now layout files and modules can extend the cite engines or completely
overwrite them, and modify the cite formats.

Any CiteEngine definition in a layout/module will completely overwrite
those by cite engine files.

AddToCiteEngine will extend them (add if they do not exist yet).

Any CiteFormat definition in a layout will be preferred to those in cite
engines. CiteFormat definitions that are not touched by the former are
still active, though (so, as opposed to CiteEngine, a CiteFormat does
not completely overwrite those by the engine files).

Layout format change.
2018-05-21 12:46:53 +02:00
Juergen Spitzmueller
ff0db7452e Remove insane list of requirements 2018-05-19 10:28:50 +02:00
Stephan Witt
17c3617c49 #11142 correct list of previous version to check for user directory contents
LyX on Mac uses a user directory with version suffix. On change of the version suffix the existence of the directories with previous versions is checked and the latest one is used for a copy on first configure run. For 2.4 the candidate list starts with 2.3 now as it should.
2018-05-13 20:15:35 +02:00