Thibaut Cuvelier
adc7820d45
DocBook: add support for DocBookArgumentAfterMainTag.
2021-02-17 21:09:21 +01:00
Yuriy Skalko
e292dd70bf
More enums & includes refactoring
2020-12-06 18:26:41 +02:00
Yuriy Skalko
ecf62a8f21
Refactor OutputParams
...
Now all Inset hierarchy uses OutputParams.h included in Inset.h.
Forward declare some enums to reduce header dependencies.
2020-11-30 13:05:03 +02:00
Thibaut Cuvelier
59acb375d1
DocBook: add layout parameters to control the special case and argument positioning.
...
Only for flex insets.
Also add similar checks in InsetText to avoid bibliographies in paragraphs.
2020-11-29 22:54:03 +01:00
Thibaut Cuvelier
6bc04367cf
DocBook: add support for IGNORE tags.
...
These paragraphs will simply have no output (no enclosing DocBook tag, no content). This change is as backward-compatible as possible: without this commit, the paragraphs will be output, but in an <IGNORE> tag (not much more can be achieved without this). It is mostly made for metadata and formatting instructions. (As opposed to NONE, which corresponds to outputting the paragraph without enclosing DocBook tag.)
2020-11-15 04:03:04 +01:00
Thibaut Cuvelier
149e1ccc02
DocBook: add DocBookSection parameter for styles that define new sections and implement argument parameters; improve Springer support.
...
For elements that should behave like sections (for now, mostly prefaces).
A second paragraph of PartBacktext can only wreak havok: it should start a section, and nothing else (otherwise, it's a real nightmare to implement).
2020-10-30 01:59:34 +01:00
Richard Kimberly Heck
28ae543a2a
Fix signed-ness warnings
2020-10-13 18:24:03 -04:00
Juergen Spitzmueller
d94b708a0f
Tell updateBuffer whether an inset is deleted.
...
Fixes #11747
2020-03-06 13:23:01 +01:00
Juergen Spitzmueller
9f04eeae03
Support FreeSpacing in InsetArgument
2019-06-02 16:33:06 +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
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
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
c466baaa5b
Collapsable -> Collapsible (part 2)
...
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 part covers the most tricky part: the internal naming.
Translations and layouts will follow.
This will all also all be backported to 2.3.x, for the sake of backwards
compatibility (cherry-picking).
2017-10-16 10:12:21 +02:00
Juergen Spitzmueller
b498646b2e
Fix some spelling errors reported by Sven
...
Fixes : #10678
2017-09-22 09:29:16 +02:00
Juergen Spitzmueller
a7b017fd2f
Reset InsetArgument language after passthru status change
...
Fixes : #10664
(cherry picked from commit d8c018b8c691f6bc3ebbb5f78bffc0b3f87c228f)
2017-09-15 16:23:50 +02:00
Guillaume MM
1fb0a5f436
Fix computation of InsetLayout arguments for InsetText
...
Do not take the optional arguments from the first paragraph, but from the
paragraphs whose layout have no arguments, consistently with the code in
InsetArgument::updateBuffer (i.e. what was shown on screen).
2017-05-13 16:12:25 +02:00
Guillaume MM
1ac48c7cba
Simplify before clean-up before following bugfix
2017-05-13 16:12:25 +02:00
Guillaume Munch
3391fed36a
Make the generation of children's tocs more robust
...
Let the children directly access the TocBuilders, instead of concatenating
after the fact.
2017-01-14 23:13:14 +01:00
Guillaume Munch
5e20713769
Implement IsTocCaption for InsetArgument
...
Shows the title of Sweave, Knitr chunks in the Navigate menu.
2017-01-09 18:22:22 +01:00
Juergen Spitzmueller
e7654d9aa2
Re-Fix #8471
...
The bug has partly been re-introduced with fb9a866a6
2016-11-05 13:12:47 +01:00
Juergen Spitzmueller
fb9a866a66
Implement PassThru option to arguments.
2016-10-21 10:39:55 +02:00
Guillaume Munch
6edbc1da66
TexRow for InsetArgument
2016-10-17 00:16:59 +02:00
Richard Heck
76e6c77825
Simplify and unify code for special handling in argument insets.
2016-07-29 23:38:51 -04:00
Richard Heck
96a8156557
Fix display of colors in labels of arguments.
...
We need to handle this specially, just as we do the main font.
2016-07-29 23:36:48 -04:00
Richard Heck
7575ad159b
Revert "Do not crash is release mode if we stumble across an unrealized font."
...
This reverts commit c560e6b3a6ae36ad9a333fe98da3b8688dfa2236.
I did not mean to comit the changes to the gmo files.
2016-07-18 12:59:32 -04:00
Richard Heck
c560e6b3a6
Do not crash is release mode if we stumble across an unrealized font.
2016-07-18 12:56:20 -04:00
Guillaume Munch
670efa8f64
Rationalise includes
...
Modifying TexRow.h or texstream.h no longer triggers the recompilation of the
complete source tree.
2016-07-04 02:42:17 +02: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
Juergen Spitzmueller
5b03ae11a0
Implement PassThruChars to Argument
...
Closes : #9535 .
2015-05-08 09:32:31 +02:00
Jean-Marc Lasgouttes
11ca140667
Clean-up the undo API
...
* Remove the UndoKind parameter in the general interface
* move recordUndoInset to Cursor
* remove one variant of Undo::recordUndo.
* get rid of Text::recUndo.
2015-04-01 14:18:23 +02:00
Georg Baum
cb7ace9143
whitespace
2014-12-27 15:17:10 +01:00
Jean-Marc Lasgouttes
38f8858671
Fix warnings reported by clang
...
All these problems have the same root: the address of a reference can never be 0, and it does not make sense to test it.
2014-11-27 19:10:43 +01:00
Juergen Spitzmueller
f83ac67e1a
Fix language issues in Argument read ( #8471 )
2013-11-14 17:44:03 +01:00
Juergen Spitzmueller
37f41fd4b5
Support for command argument placement after the workarea argument
2012-12-28 11:21:24 +01:00
Vincent van Ravesteijn
bec9c1325e
Introduce Layout::args() and simplify code
2012-12-17 22:26:11 +01:00
Juergen Spitzmueller
e93f4d470d
Possibility to specify a preset argument
...
This will be needed for beamer plain and fragile frame support.
2012-12-10 14:09:51 +01:00
Vincent van Ravesteijn
fdee77a6b5
Fix monolithic build
2012-12-02 15:50:45 +01:00
Juergen Spitzmueller
1500e44cba
Support for \item arguments
2012-11-29 15:34:20 +01:00
Juergen Spitzmueller
53002538fa
Pass local font to arguments and assure pass_thru is inherited
2012-11-28 19:02:07 +01:00
Juergen Spitzmueller
e0f392e075
Allow for some argument visual customization
2012-11-26 09:10:14 +01:00
Juergen Spitzmueller
b1ce750589
allow arguments in PassThru insets
2012-11-25 18:13:57 +01:00
Juergen Spitzmueller
07a01f40f9
Add author
2012-11-25 17:28:03 +01:00
Juergen Spitzmueller
4b4e9560d1
Fix splitting of layout string
2012-11-24 16:46:44 +01:00
Richard Heck
1252c22fd3
Some minor cleanup of new InsetArguments stuff that I did while
...
reading the patch....
2012-11-23 20:40:38 -05:00
Juergen Spitzmueller
182d13ee6a
Do not separate the shortcut from the label string
2012-11-23 18:26:02 +01:00
Juergen Spitzmueller
9914f21bce
Context menu for InsetArgument
2012-11-23 14:44:45 +01:00
Juergen Spitzmueller
a4feac9d0b
Whitespace
2012-11-20 15:25:58 +01:00
Juergen Spitzmueller
2e69c66195
InsetArgument revision, first working version
2012-11-19 14:21:02 +01:00
Vincent van Ravesteijn
37c4b71a3e
Header file cleanups
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40059 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-29 15:34:06 +00:00
Enrico Forestieri
d866717ef7
Integrate texrow with otexstream in order to perform automatic line
...
counting when exporting to latex. This is done for the code comprised
between \begin{document} and \end{document}, while the preamble code
still needs manual calls to TexRow::newline() for registering new lines.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37584 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-10 20:02:48 +00:00