Scott Kostyshak
5d7efd2fa9
Update layouts
...
Fixes a slight delay when cutting (#11988 ).
2020-09-27 11:47:10 -04:00
Thibaut Cuvelier
6c51cabd35
DocBook: fix output in Layout::write.
2020-09-19 20:43:41 +02:00
Thibaut Cuvelier
08a58242c1
DocBook: better output with the Linguistics module.
...
One issue left: <table> output within an <informaltable>, that does not make sense... I'm debugging it.
2020-09-19 20:43:40 +02:00
Thibaut Cuvelier
632bad62c9
DocBook: do a little something for shapepar.
2020-09-19 20:43:40 +02:00
Thibaut Cuvelier
ca1ca4326b
DocBook: implement theorems.
...
This is a minimal implementation, as DocBook lacks a serious way of encoding all of this. Maybe a <formalpara> could do the trick, but I'd need to find a way to shoehorn a title through the styles (i.e. a first complete tag):
Theorem: Bla bla
<formalpara>
<title>Theorem</title>
<para>Bla bla</para>
</formalpara>
This would also only be a solution for single-paragraph things, as formalpara only allows one paragraph. Or a sidebar, but it's semantically very remote.
2020-09-19 20:43:40 +02:00
Thibaut Cuvelier
e3da8b65f6
DocBook: several missing features for Additional.lyx.
...
Includes: semantic markup (sorry about noun: Additional.lyx uses it to mark menus; there is something better in DocBook, but it looks like the LaTeX equivalent is really for person names), boxes, info layouts.
2020-09-19 20:43:40 +02:00
Thibaut Cuvelier
19734ea454
DocBook: implement LyX-Code.
...
This is quite ugly.
2020-09-19 20:43:40 +02:00
Thibaut Cuvelier
ff2e4ec7e6
DocBook: support Full Width from Tufte Book.
2020-09-19 20:43:39 +02:00
Thibaut Cuvelier
6d246bba69
DocBook: fix margin notes.
...
They were nested twice in <sidebar>. Also fixes a new line issue.
2020-09-19 20:43:39 +02:00
Thibaut Cuvelier
6688b076cc
DocBook: fixes in lists.
...
Actually output something when list item is empty. XMLStream discarded the sequence StartTag/EndTag (nothing in between).
New-line behaviour around term in description lists.
2020-09-19 20:43:39 +02:00
Thibaut Cuvelier
5b01c80635
DocBook: fix titles in KOMA Script.
2020-09-19 20:43:39 +02:00
Thibaut Cuvelier
7ec0307b13
DocBook: bug fixing in AASTeX layout.
...
That's mostly generating DocBook tags at an inappropriate place with some metadata, rather than outputting whatever you have at your disposal. Far from satisfying, but good enough for a generic tool (see details in the new TODO). Doesn't trigger assertions. Is valid XML.
2020-09-19 20:43:39 +02:00
Thibaut Cuvelier
fb8c07a2c7
DocBook: adapt AASTeX for tag types (new-line behaviour).
2020-09-19 20:43:39 +02:00
Thibaut Cuvelier
1f2c51d56b
DocBook: adapt SimpleCV for tag types (new-line behaviour).
2020-09-19 20:43:39 +02:00
Thibaut Cuvelier
78a361778f
DocBook: fix float tags (was unduly overridden).
...
The output was not valid for floats without title.
2020-09-19 20:43:38 +02:00
Thibaut Cuvelier
97cfabb883
DocBook: fix indentation for section titles (including stars).
2020-09-19 20:43:38 +02:00
Thibaut Cuvelier
fc2c36289b
DocBook: rewrite makeListEnvironment.
2020-09-19 20:43:38 +02:00
Thibaut Cuvelier
9393ca74ba
DocBook: new logic to handle the new lines, only used in output_docbook for now.
2020-09-19 20:43:37 +02:00
Thibaut Cuvelier
87dae26e4a
Simplify code to generate only one paragraph at a time.
2020-09-19 20:43:37 +02:00
Thibaut Cuvelier
dab71087cf
DocBook: add a layout tag to tell whether an item is the abstract or not.
2020-09-19 20:43:37 +02:00
Thibaut Cuvelier
7b0f9d9524
DocBook: simplify code to handle abstracts.
2020-09-19 20:43:37 +02:00
Thibaut Cuvelier
0f145c3ef0
DocBook: use DocBookWrapperMergeWithPrevious in the code.
2020-09-19 20:43:37 +02:00
Thibaut Cuvelier
c417253d0b
DocBook: use DocBookItemTag within paragraphs.
...
This is at least helpful for AAS, even though it slightly resembles a repurposition of that parameter.
2020-09-19 20:43:37 +02:00
Daniel Ramoeller
ad561fc9bc
Fix for bug #11948
...
Force plain layout in soul char styles.
2020-08-28 08:08:39 +02:00
Juergen Spitzmueller
91170accde
Fix string
2020-08-12 14:30:25 +02:00
Richard Kimberly Heck
8218225f6e
Distinguish size of Part from that of Chapter, in articles.
2020-08-10 18:34:17 -04:00
Richard Kimberly Heck
74e63e754c
Amend e6de6c2b
2020-08-09 13:31:36 -04:00
Daniel Ramoeller
e6de6c2b59
Fix bug #11741 .
...
Theorems weren't being numbered by chapter.
2020-08-09 13:09:41 -04:00
Thibaut Cuvelier
fe8aff31fd
Revert "DocBook: use DocBookItemTag within paragraphs."
...
This reverts commit 49b998f99b
.
2020-08-03 22:57:11 +02:00
Thibaut Cuvelier
4c01ab9ecf
Revert "DocBook: use DocBookWrapperMergeWithPrevious in the code."
...
This reverts commit 62c9f4332d
.
2020-08-03 22:56:25 +02:00
Thibaut Cuvelier
42eca3d8d6
Revert "DocBook: simplify code to handle abstracts."
...
This reverts commit 0199e048ff
.
2020-08-03 22:56:06 +02:00
Thibaut Cuvelier
f025538c95
Revert "DocBook: add a layout tag to tell whether an item is the abstract or not."
...
This reverts commit 5ccd63eff6
.
2020-08-03 22:55:52 +02:00
Thibaut Cuvelier
5ccd63eff6
DocBook: add a layout tag to tell whether an item is the abstract or not.
2020-08-03 16:04:58 +02:00
Thibaut Cuvelier
0199e048ff
DocBook: simplify code to handle abstracts.
2020-08-03 16:04:58 +02:00
Thibaut Cuvelier
62c9f4332d
DocBook: use DocBookWrapperMergeWithPrevious in the code.
2020-08-03 16:04:58 +02:00
Thibaut Cuvelier
49b998f99b
DocBook: use DocBookItemTag within paragraphs.
...
This is at least helpful for AAS, even though it slightly resembles a repurposition of that parameter.
2020-08-03 16:04:58 +02:00
Thibaut Cuvelier
8d115413c1
DocBook: fix delimitation of bibliographies.
2020-08-02 04:03:39 +02:00
Thibaut Cuvelier
1b123c0200
DocBook: improve AAS support.
2020-08-01 22:45:56 +02:00
Scott Kostyshak
d3b7657e3c
Spacing
2020-08-01 10:04:41 -04:00
Thibaut Cuvelier
20fe5a6781
DocBook: slight improvement for AAS documents.
2020-08-01 04:09:45 +02:00
Pavel Sanda
6061ab8e69
typo
2020-07-30 16:35:24 +02:00
Juergen Spitzmueller
011722604d
Correct layout string
2020-07-30 16:11:50 +02:00
Thibaut Cuvelier
62af830fa7
DocBook: support for lists in more layouts
2020-07-25 17:48:23 +02:00
Thibaut Cuvelier
b9c1fe1bac
DocBook 5: very basic support for simplecv, support for Itemize in many layouts
2020-07-25 17:37:12 +02:00
Enrico Forestieri
1e2885fe81
Update layouts
2020-07-24 18:50:53 +02:00
Thibaut Cuvelier
c9f8469c00
DocBook: allow KOMA-Script documents to be generated as DocBook
2020-07-21 02:59:57 +02:00
Thibaut Cuvelier
c8d216d6e1
DocBook: allow Tufte books to be (more) properly generated.
...
Includes a test case useful for some of the previous commits (notes in abstract, PI escaping, counter warnings).
Still missing: marginal and side notes. Shouldn't they be ported to InsetMarginal?
2020-07-20 03:01:41 +02:00
Thibaut Cuvelier
8ac6fbf112
Remove AGU DTD style, probably doesn't work, impossible to check.
2020-07-08 13:36:08 +02:00
Thibaut Cuvelier
67414563ac
Migrate the previous DocBook layouts so the old documents can still be generated with the new implementation.
...
The output WILL change for these documents, as the output is updated from DocBook 4 to DocBook 5.
2020-07-08 09:40:50 +02:00
Thibaut Cuvelier
1ec87298ff
Migrate the existing layouts to the new DocBook attributes.
2020-07-08 09:39:08 +02:00
Yuval Deutscher
328c70a31a
Update labels and tooltips for moderncv layout
...
Update the user-facing strings in modercv's layout according to the
documentation of the cventry command in moderncv.
Signed-off-by: Yuval Deutscher <yuval@deut.sh>
2020-07-07 19:06:52 +02:00
Kornel Benko
3a8755f2d6
Amend cb26ecbb
: Added apa7 layout
...
The command addORCIDlink{}{} can be used in the preamble (like title{} or author{})
or in the body of document. For this a Flex-inset-layout seems appropriate.
2020-06-09 14:49:51 +02:00
Kornel Benko
6a0dda1719
Typo
2020-06-06 11:47:28 +02:00
Kornel Benko
cb26ecbb58
Added apa7 layout
2020-06-05 22:03:59 +02:00
Richard Kimberly Heck
b5b015ba3a
Update layout format
2020-05-23 11:45:01 -04:00
Juergen Spitzmueller
ce7cd4b983
linguistics.module: fix counters
2020-05-05 14:42:44 +02:00
Juergen Spitzmueller
98c24f3413
Amend e7e70b021e
2020-05-03 13:16:20 +02:00
Richard Kimberly Heck
e7e70b021e
Better name
2020-05-03 02:20:14 -04:00
Richard Kimberly Heck
a7e26710cb
Add GuiNames to counter declarations.
2020-05-02 23:17:16 -04:00
Richard Kimberly Heck
6580c5753d
Remove unused counter
2020-05-02 22:09:45 -04:00
Richard Kimberly Heck
32a5436108
Somehow this got corrupted...
2020-05-02 22:05:02 -04:00
Kornel Benko
0536193c22
Added revtex4-2.layout
...
For revtex4.1, this is only cosmetics, because the content
of the layout moved to revtex4-x.inc.
2020-04-08 10:27:34 +02:00
Juergen Spitzmueller
f6f51587cf
Un-provide amsmath in beamer article layouts
...
Fixes #11768
2020-02-29 19:20:18 +01:00
Juergen Spitzmueller
dc4823e759
Add native changebars
...
Fixes #10750
2019-12-24 18:12:22 +01:00
Juergen Spitzmueller
a08cbf41cf
Provide way to add (optional) user initials
...
This makes it easier to hook the changes package into LyX's ct markup.
2019-12-24 14:31:08 +01:00
Juergen Spitzmueller
a37c003448
Beamer loads amsmath
2019-11-20 09:38:16 +01:00
Juergen Spitzmueller
54fd0a70f4
Fix encoding in aa class, which is preset via class options
...
Hook into nearby file format change.
2019-08-30 08:09:57 +02:00
Juergen Spitzmueller
1f2eb92b33
hebarticle: fix compilation with XeTeX (bug #10525 )
2019-08-15 17:42:27 +02:00
Juergen Spitzmueller
0dd5824b43
Support memoir's builtin endnotes
2019-08-13 10:38:26 +02:00
Juergen Spitzmueller
d0379db1aa
Localize endnotes header (with endnotes.sty)
2019-08-13 10:13:32 +02:00
Juergen Spitzmueller
a8871e5418
Typo
2019-08-13 07:55:21 +02: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
Juergen Spitzmueller
1ed5aa3a3e
Update layout formats
2019-08-12 14:54:52 +02:00
Juergen Spitzmueller
d61f722080
foottoend.module: no need to tinker with redefinitions
...
when we just can output what we want right away.
2019-08-12 14:48:21 +02:00
Juergen Spitzmueller
229052b29a
Extend endnotes support
...
Support native solution for Endnotes list rather than having to use
\\theendnotes via ERT
File format change
2019-08-12 13:00:54 +02:00
Juergen Spitzmueller
006f1cbe43
update layout formats
2019-08-07 17:10:58 +02:00
Juergen Spitzmueller
0b7305024a
Use generic paper size names rather than LaTeXisms such as "letterpaper"
...
This allows to support classes that don't use the Xpaper wording.
Add support for KOMA font (keyval) syntax on top of that.
Also support class-specific font and paper sizes in tex2lyx.
File and layout format change.
2019-08-07 16:44:11 +02:00
Juergen Spitzmueller
af7f2e9f58
Add default page size to KOMA layout
2019-08-06 20:01:07 +02:00
Juergen Spitzmueller
7ff1a5738e
update layout formats
2019-08-06 19:34:43 +02:00
Juergen Spitzmueller
9f61c8d4af
Add more fontsizes to KOMA classes.
...
Theoretically, KOMA supports any font size. We add a sensible range.
2019-08-06 19:29:18 +02:00
Juergen Spitzmueller
b01075469d
Add more page sizes to KOMA and memoir
2019-08-06 18:18:37 +02:00
Juergen Spitzmueller
65c1ae8133
Fix interplay of memoir and geometry
...
Fixes : #10970
2019-08-05 19:01:48 +02:00
Juergen Spitzmueller
88c1aaf444
Bump layout formats
2019-07-08 16:21:31 +02:00
Juergen Spitzmueller
13b6632228
Add TextClass option BibInToc
...
Fixes #1889
2019-07-08 15:40:17 +02:00
Juergen Spitzmueller
94654b3586
Linguistics: add support for Discourse Representation Structures
...
File format change
2019-06-23 12:59:56 +02:00
Juergen Spitzmueller
07cbca1d9d
linguistics.module: some comments and minor re-shuffling
2019-06-23 09:30:03 +02:00
Juergen Spitzmueller
d13c582e5d
linguistics.module: use covington's semantic markups rather than self-baked ones
2019-06-23 08:25:50 +02:00
Juergen Spitzmueller
c6c70649af
Linguistics: Support for subexamples optional arg
2019-06-22 13:56:12 +02:00
Juergen Spitzmueller
e2f81b3a84
Rework linguistic gloss support
...
This now uses the new and enhanced \digloss ad \trigloss macros of
convington 2.0 rather than the deficient self-baked ones.
File format change.
2019-06-04 11:01:19 +02:00
Juergen Spitzmueller
550f46a188
Remove covington backwards compatibility code
...
The new environments are out now long enough, and we are going to require
covington 2.0 for the glosses in 2.4 anyway.
2019-06-04 08:20:02 +02:00
Günter Milde
65ec404eb3
Format incremented to 574: Ruby inset, fixes for Japanese.
...
New auxiliary functions for lyx2lyx:
del_module(), append_local_layout(), del_local_layout()
2019-05-16 13:48:07 +02:00
Günter Milde
e768f3632e
New module for Ruby (furigana) text.
...
New fileversion and conversion routines will follow once tested.
2019-05-16 13:48:06 +02:00
Günter Milde
228c969f29
Update author info.
2019-05-14 16:37:46 +02:00
Pavel Sanda
a0196c9784
Module categories: join math related stuff
2019-04-18 14:00:00 +02:00
Juergen Spitzmueller
1d2ebbb649
bump layout formats
2019-04-18 11:40:56 +02:00
Juergen Spitzmueller
70b3d3adcc
Add NewlineCmd InsetLayout and Argument option
...
This allows to specific an alternative macro for newlines
Fixes : #10407
2019-04-18 11:35:03 +02:00
Juergen Spitzmueller
6dec3e8a6e
Module re-categorization, part 2
...
Re-categorize remaining modules
Improve categorization
Give some modules a more descriptive name.
2019-04-07 11:21:21 +02:00
Günter Milde
a42376bea9
AASTeX layout: Normalize layout name of \thebibliography.
...
Allows easy sharing of reference entries between documents
using different classes or switching document classes.
2019-04-05 09:17:57 +02:00
Juergen Spitzmueller
b5af05b4a7
Make module categories (almost) great again
...
The category tag was rarely used and thus not very useful. This adds
categorization to most modules (the rest will follow) and uses the
\DeclareCategory tag we use in layouts rather than the extra syntax
we used in modules. Categories are now added to the po files and
translated.
Note that this is work in progress: the current categories are still
subject to change.
The ultimate goal of this is to sort the modules in the GUI by category
as we do with layouts, examples and templates (and add a filter to search
for specific modules)
As it is now (with the many modules we accumulated), the module selector
is not really usable anymore. If you don't happen to know how exactly a
module is named, selecting a module is really a PITA.
2019-04-04 18:43:29 +02:00
Juergen Spitzmueller
7071995a21
Update layout formats
2019-03-26 17:46:21 +01:00
Günter Milde
2bb5b99db4
Fix moderncv.layout
...
The "photo" style content is a path name (don't escape underscores etc.).
2019-03-24 23:12:01 +01:00
Juergen Spitzmueller
e8e97b988d
typo
2019-03-23 11:30:53 +01:00
Juergen Spitzmueller
c44110fada
Clarify soul module description
2019-03-23 08:04:57 +01:00
Juergen Spitzmueller
aff2ee6058
Add soul module
2019-03-22 18:29:50 +01:00
Juergen Spitzmueller
441b17ec76
Fix redundant naming
2019-03-19 07:13:51 +01:00
Juergen Spitzmueller
569841f292
Update layout versions
2019-03-12 14:14:43 +01:00
Juergen Spitzmueller
8b92a2a689
Add NeedMBoxProtect [inset]layout option
...
This accesses the inulemcmd output param which protects specific commands
(\cite, \ref) in an \mbox.
This is needed in ulem and soul commands, since their complex
detokenization makes such commands (who produce multiple words via local
assignment) fail.
So now it is possible to properly support ulem and soul via
[inset]layout
Fixes a case reported in #9404
2019-03-12 14:08:05 +01:00
Pavel Sanda
b1132a3438
Add few hints for varwidth module.
2019-02-22 16:51:14 +01:00
Daniel Ramoeller
f71723c8f3
Fix for #11294 : Wrong description for Change bars module
2019-01-19 18:09:36 +01:00
Scott Kostyshak
051eaeec8a
maa-monthly.layout: declare dep maa-monthly.sty
2019-01-02 19:56:18 -05: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
012d9b088e
Beamer: autonest column in columns
...
Candidate for stable
2018-12-29 13:36:13 +01:00
Pavel Sanda
42dda03689
paralist.module description.
2018-12-02 03:14:54 +01:00
Enrico Forestieri
eaf7413020
Update layout format number
2018-11-10 16:07:07 +01:00
Juergen Spitzmueller
00ee54e694
Load covington later
...
This solves a loading order conflict with beamer-article.
2018-10-09 10:42:38 +02:00
Richard Kimberly Heck
e5fc7327e3
Extend fix for #7404 to allow any inset collapsible to be edited
...
externally.
2018-10-04 13:41:41 -04: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
Juergen Spitzmueller
ab16bb7eb9
Covington now provides subexamples itself
...
Candidate for stable.
2018-09-08 09:50:48 +02:00
Juergen Spitzmueller
399a4d7e71
Fix suprious comma in book and thesis bib preview.
...
Fixes : #11272
2018-09-06 14:46:44 +02:00
Kornel Benko
2a72fa3a04
Amend 2877032
2018-08-24 13:20:51 +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
Juergen Spitzmueller
908e0cf3cc
Typo
2018-08-17 11:14:45 +02:00
Juergen Spitzmueller
b124adbd38
Introduce listpreamble argument type
...
This uses the InsetArgument interface to provide access to a document
part hitherto inaccessible by LyX: the part between \begin and the first
\item in a list (where lengths and counters can be redefined, for
instance).
Fixes : #11098
File format change, layout format change
2018-08-17 10:22:32 +02:00
Kornel Benko
b3f852bcdc
Grrr, including noops (like comments) can be so destructive
2018-08-14 17:06:59 +02:00
Kornel Benko
8f906204de
Allow using hyperref together with aastex62
...
Also chnage some ERT-constructs in aas_sample62.lyx to
the appropriate lyx-constructs.
2018-08-14 16:22:09 +02:00
Kornel Benko
af1caddcb3
Remove some latex definition from aastex62 user-preamble
...
Moved to the features of the aastex62 layout
2018-08-14 13:05:01 +02:00
Kornel Benko
c92c5b92a3
Use correct entry to remove an obsolete inset layout
2018-08-14 12:30:28 +02:00
Kornel Benko
cfd79b586d
Comments only
...
No new lokalisable strings
2018-08-14 12:09:17 +02:00
Kornel Benko
0c56808871
New layout for copernicus.cls
...
TODO: Update LaTeXConfig.lyx
2018-08-14 08:55:22 +02:00
Kornel Benko
bd6ba072ce
New layout for aastex62.cls
2018-08-14 08:49:34 +02:00
Juergen Spitzmueller
dd3ae00f74
Disambiguate time (period) from time (of day).
2018-08-07 15:24:40 +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
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
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
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
Kornel Benko
92c8a86407
Remove dependences from .layout files
2018-07-07 14:13:40 +02:00
Juergen Spitzmueller
34c04ebce6
Amend 9f9041db7a
...
move cl2emult to obsolete category
2018-07-06 14:36:41 +02:00
Juergen Spitzmueller
9f9041db7a
Use more informative descriptions fro Springer layouts
2018-07-06 10:09:13 +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
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
Juergen Spitzmueller
7a5184fd87
Disallow paragraph customization in some single-par charstyle insets
...
Fixes : #9192
2018-05-11 13:47:27 +02:00
Juergen Spitzmueller
768c9a552e
cprotect allows to place environments in fragile contexts.
...
use that possibility.
Fixes parts of #5128 .
2018-04-30 09:06:15 +02:00
Richard Kimberly Heck
9f79ab99ed
Fix bug #11127 .
2018-04-27 20:13:58 -04:00
Scott Kostyshak
6d5e179985
cprotect listings when needed (e.g. in a footnote)
...
This allows to put a non-inline listing in commands, such as a box,
footnote, and margin note.
Fixes #6177 and #9321 .
2018-04-21 00:49:53 -04:00
Scott Kostyshak
88b1c8d521
cprotect Note:Greyedout insets
...
This is consistent with what we do for Note:Comment, and fixes
compilation of documents with a Greyedout inset inside a float
caption, which was reported here:
https://www.mail-archive.com/search?l=mid&q=20180418192851.GH6006%40atrey.karlin.mff.cuni.cz
2018-04-18 21:34:33 -04:00
Juergen Spitzmueller
97e1806c4a
Add a floating landscape inset
2018-04-18 16:20:19 +02:00
Juergen Spitzmueller
2551614ff1
Add Landscape module
...
Support for the (pdf)lscape package.
Fixes : #10801
2018-04-18 14:36:49 +02:00
Juergen Spitzmueller
69596c9278
cprotect knitr chunks
2018-04-15 18:17:35 +02:00
Juergen Spitzmueller
b03c826f27
Whitespace
2018-04-15 12:31:56 +02:00
Juergen Spitzmueller
ef359f58b5
Add cprotection support for paragraph layouts.
2018-04-14 12:57:23 +02:00
Juergen Spitzmueller
e11bda2cea
Layout format update after 2ba584957c
2018-04-14 10:28:22 +02:00
Juergen Spitzmueller
2ba584957c
Add basic support for cprotect
...
This allows (some) verbatim contents in macros, such as \url's with
specific chars (#, % etc.) in section headings or footnotes (#449 )
or comments in captions (#9313 ).
The mentioned two bugs are fixed by this commit.
Note that the implementation is still rather basic and might need
extension for other cases.
2018-04-13 17:46:37 +02:00
Juergen Spitzmueller
8a703573ea
Implement IsTocCaption for normal layouts.
...
But use default "true" to maintain current behavior if not explicitly
stated otherwise.
Fixes : #11045
2018-02-21 16:37:07 +01:00
Richard Heck
5f1b32f8c5
Also fix chapter layout in tufte-book.
2018-02-12 16:29:54 -05:00
Pavel Sanda
149f03d403
Fixing painting regression - chapter top spacing.
...
https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg203685.html
2018-02-12 21:14:56 +01:00
Juergen Spitzmueller
9b23b49d41
Do not show "Abstract" label in KOMA classes
...
This is not output by those classes (per default).
2018-02-06 18:39:00 +01:00
Juergen Spitzmueller
fc2d8238dc
Add Bibliography to the Outliner.
...
Fixes : #11001 , #7724 .
2018-01-29 09:09:51 +01:00
Juergen Spitzmueller
5db4d712ef
Differentiate Buffer strings and GUI strings in citeengines
...
The former need to be translated to the buffer language, the latter to
the GUI language.
Fixes : #10946
2018-01-27 14:29:41 +01:00
Juergen Spitzmueller
3daa447c3c
Take AgainFrame to the TOC.
2018-01-11 13:14:16 +01:00
Juergen Spitzmueller
8d8ee12e64
Update layout format
2018-01-02 11:53:01 +01:00
Juergen Spitzmueller
3a4b233dbd
Properly implement IsTocCaption for Arguments in standard TOC
...
Fixes : #10631
Candidate for 2.3.x.
2017-12-29 11:51:24 +01:00
Juergen Spitzmueller
d6fb2abbea
Some AutoNest polishment.
...
* Rename Nests to AutoNests
* Do it when changing from any style
2017-12-29 10:03:00 +01:00
Juergen Spitzmueller
99ecc6e2c9
Implement auto-nesting.
...
Now layouts can specify other layouts that should be nested in and
after the current one (if the layout is switched from the current one
and if it follows a paragraph in the current one).
This is particularly useful for things such as the beamer frames, where
particular layouts are practically always nested.
2017-12-28 17:44:54 +01:00
Juergen Spitzmueller
dfaa4e9466
Fix footnotes in table with RevTeX4
...
These classes come with their own working implementation of table
footnotes, so we are not supposed to use the tablefootnote or
footnote package.
Also add missing outliner name.
2017-12-27 15:43:40 +01:00
Juergen Spitzmueller
994176e55b
Tufte title is fragile
...
Candidate for 2.3.x.
2017-12-26 12:35:55 +01:00
Juergen Spitzmueller
7b4d227929
Title commands are fragile in memoir
2017-12-23 13:27:10 +01:00
Juergen Spitzmueller
718a353b49
Implement l7n for nomenclature.
2017-12-01 10:10:06 +01:00
Juergen Spitzmueller
14df9b74c4
Remove more lower-level dependencies
2017-11-22 16:45:13 +01:00
Juergen Spitzmueller
1400144a8a
Remove grandchild-level dependencies.
...
We agreed to only check for top-level dependencies, see
https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg195679.html
This reverts 30475b4b0
.
2017-11-22 08:33:09 +01:00
Uwe Stöhr
bfcb9cc85a
acmart.layout: fix a dependency
...
for the discussion about the dependencies see bug #10806
2017-11-21 22:02:00 +01:00
Uwe Stöhr
a9254fdf03
apa6.layout: add dependencies
...
should go in for LyX 2.3.1
2017-11-20 02:29:45 +01:00
Uwe Stöhr
30475b4b0b
acmart.layout: add dependencies
...
should go in for LyX 2.3.1
2017-11-20 02:29:19 +01:00
Uwe Stöhr
f6bee7ec8b
beamer.layout: add 3 dependencies
...
both are required according to the beamer.cls
candidate for LyX 2.3.1
2017-11-19 15:48:02 +01:00
Juergen Spitzmueller
5017a0a1c6
Allow footnotes in floating tables via tablefootnote package
...
See #808 .
2017-11-19 12:56:40 +01:00
Juergen Spitzmueller
bd14639d1c
More accurate description of fixltx2e state.
2017-10-23 13:49:03 +02:00
jpc
448255a371
Add obsolescence warning in fixltx2e description (ticket 9361)
2017-10-23 09:59:23 +02:00
Richard Heck
e05c91083f
Fix bug #10556 .
...
Update CSS for Standard layout.
2017-10-16 20:57:04 -04:00
Juergen Spitzmueller
4345331870
Collapsable -> Collapsible (part 4)
...
The current spelling is not strictly wrong, but flagged as unusual or
historical by some authorities. It is also found fault with many
spell checkers. Thus we decided to move to the more standard "-ible"
form once and for all.
See #10678 for discussion
This last part updates the layout format and changes collapsable color.
This will all also all be backported to 2.3.x, for the sake of backwards
compatibility (cherry-picking).
2017-10-16 10:30:04 +02:00
Juergen Spitzmueller
5997b60da1
Update some more layouts
2017-10-13 16:08:07 +02:00
Juergen Spitzmueller
b14756f3e2
Support for Japanese BX classes, by K. Yokota
...
Fixes : #10746
2017-09-02 09:06:52 +02:00
jpc
2cbca8be1e
Update acmart.layout following tickets #10722 & #10723
2017-09-01 23:02:26 +02:00
Jean-Marc Lasgouttes
5c54557350
Honor trailing spaces in LabelString and friends
...
Remove the trimming operation on LabelString, LabelStringAppendix,
EndLabelString and LabelCounter. This trimming meant that quotes
strings were not preserved, which is wrong.
To preserve layouts, the Layout format has been updated to 64, so that
layout2layout can remove extra spaces on existing strings, which
ensures that behavior is unchanged for old layouts (courtesy of rgheck).
It is now possible to re-add spaces in label strings where it makes
sense.
Fixes bug #10723 .
2017-08-31 13:59:37 +02:00
Scott Kostyshak
18aca9dd00
Update a layout to 2.3.0beta1 format
2017-08-14 03:22:33 -04:00
Guillaume MM
6b0381b386
Define theorem counter for acmart layout
2017-07-17 21:57:39 +02:00
Juergen Spitzmueller
1506d762d6
natbibapa.module: Do not overwrite preamble.
...
Also add author information.
Candidate for stable.
2017-07-02 10:54:39 +02:00
Enrico Forestieri
ab47e48dcc
Change the name of the "List of listings" for minted
...
I actually checked that minted calls "List of Listings" the list of
listings, contrarily to the listings package.
2017-06-11 10:38:44 +02:00
Enrico Forestieri
3cc3ff39a0
Simplify preamble code when using listings
...
Following an idea from Guillame.
2017-06-08 04:25:53 +02:00
Enrico Forestieri
8dab1cfe7e
Fix bug #9101
...
Update the listings inset to optionally use the minted package
(instead of the listings one) for typesetting code listings.
Only one of the two packages can be used in a document, but it
is possible to switch packages without issues if the used options
are the same. If a switch is made and the options differ, one needs
to manually adjust them if they were entered in the advanced options
tab, or apply again the gui settings.
Note that minted requires the -shell-escape option for the latex
backend and the installation of additional software (python pygments).
2017-06-07 00:55:23 +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
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
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
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
Guillaume MM
29a82fdc58
Add option obeyFinal for todo notes #10615
2017-04-20 23:49:02 +02:00
Guillaume Munch
e5d2678339
Fix missing OutlinerName in simplecv
2017-03-20 00:13:08 +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
5b71349450
Input stdciteformats to the cite engines directly
...
not to individual layouts.
Possibly fixes #10582
2017-03-18 11:26:23 +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
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
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
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
Juergen Spitzmueller
81883c89b6
Fix Fixme module description to make it translatable
...
See #10058
2017-02-16 10:28:42 +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
a33157331b
Bump layout formats
2017-01-13 10:09:20 +01:00
Juergen Spitzmueller
425c190d62
merge recent changes from master
2017-01-09 20:04:32 +01: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
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
dbbefcd321
Dynamically set final punctuation of bib entries
...
Fullcite does not need the punct.
2017-01-07 17:55:38 +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
91f980cf31
Verbatim, etc, can be used with IOP articles.
...
Fixes #10505 .
2016-12-06 17:54:32 -05: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
Juergen Spitzmueller
34f0aedabc
Handle | verbatim in index insets.
2016-10-27 18:12:30 +02:00
Juergen Spitzmueller
95db20e008
Bump layout formats
2016-10-22 09:25:01 +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
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
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
jpc
8406b8c17b
Wrong format number
2016-10-08 18:05:48 +01:00
jpc
a214d95513
lettre: remove old workaround about page format in layout and update template
2016-10-06 13:52:16 +01:00
Günter Milde
c454822b33
Update seminar layout and doc.
2016-09-29 21:59:54 +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
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
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
Juergen Spitzmueller
1720498f8d
Fix \@ifundefined check for covexample(s)
...
Fixes : #10340
2016-08-26 10:45:15 +02:00
Richard Heck
f697faf370
InsetNote is not output for XHTML.
...
Also fixes whitespace.
2016-08-04 22:35:47 -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
Richard Heck
ab3a49973f
Fix display of code listings in XHTML.
...
Fixes bug #8362 .
2016-07-31 01:47:30 -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
jpc
7840e65129
Fix typos in InStar module explanantions
2016-07-14 22:46:12 +01:00
Juergen Spitzmueller
edfee02ed7
Revert "linguistics.module: add new dependencies"
...
This reverts commit 33e550a986
.
2016-07-13 08:00:07 +02:00