Thibaut Cuvelier
5c80671740
InsetIndex: add a method hasSubentries.
2022-04-30 03:23:59 +02:00
Thibaut Cuvelier
029d8d5839
InsetIndex: when parsing entries for XHTML, don't impose spaces around ! for subentries.
2022-04-30 03:23:59 +02:00
Thibaut Cuvelier
b5418f0d29
InsetIndex: add a few comments.
2022-04-30 03:23:59 +02:00
Thibaut Cuvelier
758792f6d6
InsetIndex: add a comment.
2022-04-30 03:23:59 +02:00
Thibaut Cuvelier
4a62c08e61
InsetIndex: refactor IndexEntry to be a full-fledged class, hiding its implementation details better than before.
2022-04-30 03:23:59 +02:00
Thibaut Cuvelier
5a53872259
DocBook: use the new system for index.
2022-04-25 02:36:35 +02:00
Juergen Spitzmueller
7d7b21ec3e
Introduce InsetIndexMacros
...
This adds native macros for subindexes (!level), |see and |seealso
as well as native support for ranges |( |) and pagination format
-- e.g., |textbf -- via the index dialog
Resolves #12478 , #7232 and #5014
The feature is complete (incl. tex2lyx) except for
* file format change and lyx2lyx
* docbook/xhtml
* documentation
2022-04-19 11:46:08 +02:00
Pavel Sanda
02ffd6dd70
Allow syncing open/close status of branch inset with it's activation status.
...
This was kicked out by 742b39f4
(the code in inset toggle survived).
https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg217311.html
2022-04-17 00:16:19 +02:00
Kornel Benko
c2229d388b
Find: Renamend for_searchAdv to for_serach in src/OutputParams.h
...
Since this variable is used by quick find too, the naming was misleading
2022-04-12 18:02:12 +02:00
Kornel Benko
aa66663364
FindAdv: Amend 58f70b9d
...
Consider plain-quotes, inner-quotes
1 independent if in regex or text
2 independent of quote style
3 independent of using dynamic marks
2022-04-06 19:00:20 +02:00
Kornel Benko
58f70b9da1
FindAdv: Handle search for quotes
...
Double quotes will be found if using the string '"' in pattern.
Single quotes needs "'" in pattern.
2022-04-05 17:04:51 +02:00
Kornel Benko
681334ce20
FindAdv: Amend 6e7fd68c
: Handle InsetNoteParams::Comment too
2022-04-04 10:46:55 +02:00
Kornel Benko
6e7fd68c79
FindAdv: Allow to search in LyX-Note also if ignoring format
2022-04-03 19:03:47 +02:00
Juergen Spitzmueller
0ab862f942
Amend d96135a9dc
2022-04-02 12:05:18 +02:00
Juergen Spitzmueller
d96135a9dc
Amend bcad19e504
...
Allow searching in notes and comments if non-output-content is true
2022-04-02 11:19:55 +02:00
Thibaut Cuvelier
50374e38e1
XHTML/CALS tables: create helper functions to share more code.
2022-04-02 03:34:33 +02:00
Thibaut Cuvelier
88f767e492
CALS tables: base implementation of row separators on the new code from XHTML.
2022-04-02 03:34:33 +02:00
Thibaut Cuvelier
8b9c162f51
CALS tables: fix implementation of multirow/col.
2022-04-02 03:34:33 +02:00
Thibaut Cuvelier
544adb065b
XHTML tables: fix borders and implement booktabs.
...
https://www.lyx.org/trac/ticket/10154
Contributed by raccoon.
2022-04-02 03:34:33 +02:00
Thibaut Cuvelier
838157392a
XHTML/DocBook tables: slight refactoring.
2022-04-02 03:34:33 +02:00
Thibaut Cuvelier
72f630cb8f
DocBook: remove unused variable.
2022-04-02 03:34:32 +02:00
Thibaut Cuvelier
5488bebb30
XHTML/DocBook: merge code paths to generate a row in a table.
2022-04-02 03:34:32 +02:00
Thibaut Cuvelier
fa5db30d41
Remove debug output.
2022-04-02 03:34:32 +02:00
Kornel Benko
bcad19e504
FindAdv: Handle latex-output for comment-environment
...
Disable if in search-adv modus and not searching in not-printed contents,
enable otherwise
2022-04-01 20:14:47 +02:00
Thibaut Cuvelier
0ba1b68f69
DocBook: merge code duplicates for HTML and CALS tables.
2022-04-01 04:21:31 +02:00
Thibaut Cuvelier
ec01616247
XHTML/DocBook: merge code duplicates for horizontal alignment.
2022-04-01 04:01:40 +02:00
Thibaut Cuvelier
c7896cf922
XHTML/DocBook: merge code duplicates for vertical alignment.
2022-04-01 03:51:24 +02:00
Daniel Ramoeller
f21899661a
Add toggle feature for all, outer and inner borders
...
Fix for bug #12503 .
Also some bug fixes for the set inner lines algorithm. See discussion of #12503 .
2022-03-13 10:34:16 -04:00
Jean-Marc Lasgouttes
dc502c8279
Fixup 12dfdbf0
: intercept validate(), not latex()
...
The fake contents of the inset should be created before validate(), so
that the correct packages are loaded.
2022-03-10 17:10:17 +01:00
Jean-Marc Lasgouttes
a6db1383f5
Get rid of spelling and language marks in info inset
...
These are just annoying. Note that the language mark cannot currently
be specified in a layout file, but it is not clear that there is a
need for that. Therefore I used the simple and hackish way.
2022-03-10 13:35:45 +01:00
Jean-Marc Lasgouttes
12dfdbf0a3
Fix crash in InsetInfo when bindings change
...
This is actually a generic InsetInfo issue:
1/ the contents of the inset is computed in updateBuffer, so that it
is available for drawing but also for latex output (think batch
export). When it is called, it deletes the existing inner paragraph
and replaces it by a new one
2/ metrics build a new Row object that represents to paragraph
3/ draw() relies on this information
Now, imagine that updateBuffer() is called after metrics(). This can
happen for many reasons, and does happen here (display a shortcut info
and change the shortcut file from cua to emacs).
This problem has been here forever, but is only visible now that the
(experimental) bookmark display code needs to read the underlying
paragraph id.
The solution is to compute the inset contents at metrics time. This
is done by moving the relevant code to a new standalone build() method
that is called in metrics() but also in latex().
2022-03-10 12:45:07 +01:00
Kornel Benko
498a5cd487
FindAdv: Added possibility to search also in deactvated branches
...
To include content of deactivated branches to the searched region
one has to use the lyx-funcion
search-ignore non-output-content true
2022-03-10 10:51:02 +01:00
Thibaut Cuvelier
997f0621c5
Rename LATEX debug level to OUTFILE and use it for DocBook, HTML, and XML messages.
2022-03-01 16:05:42 +01:00
Juergen Spitzmueller
b04a930a27
Amend 8a0715d0bd
...
Also do not use the bb trick when exporting "nice".
2022-02-27 10:02:52 +01:00
Juergen Spitzmueller
8a0715d0bd
Do not output eps bounding box for unknown/missing graphics ( #8899 )
...
Except for dvi/ps output chain for which this trick was meant.
Also, issue an error message in this case. This is analogous to
the other output flavors now.
2022-02-26 16:23:27 +01:00
Thibaut Cuvelier
cfb6f205fa
DocBook, InsetFloat: avoid a potential nullptr dereference when detecting the type of table for filler content.
2022-02-20 21:31:13 +01:00
Jean-Marc Lasgouttes
e263fe8e03
Fix unintialized variables spotted by coverity
...
The InsetWrap case happens in decodeInsetParaps (InsetCommand.cpp),
where the default constructor is invoked. In this case, lines was not
initialized.
2022-02-20 17:03:33 +01:00
Thibaut Cuvelier
0dc7f34e00
unicodesymbols: parse supplementary lines to encode alternative ways to encode symbols in raw LaTeX.
2022-02-20 01:33:03 +01:00
Daniel Ramöller
df59649a18
Properly show labels from broken references in Cross-references dialog
...
Fix for bug #12456 .
The labels are transmitted from Buffer to GuiRef by reference of refs_
in the getLabelList function. Previously, only one string was
transmitted. But I needed both the formatted string, e.g. "x enu:test"
or "Missing: enu:test", as well as the plain label, e.g. "enu:test".
The former is for the list of labels to choose from in GuiRef and the
latter for the label as shown in the line edit that contains the plain
label in order to create a new reference from it. Transmitting both is
what the pair achieves.
2022-02-19 18:14:47 +01:00
Juergen Spitzmueller
755146287c
Typo
2022-02-17 08:21:36 +01:00
Juergen Spitzmueller
266a5e04d4
InsetIndex: Some comments and indentation fixes
2022-02-17 08:19:33 +01:00
Juergen Spitzmueller
6fa457ddde
Fix #10649
2022-02-15 10:24:39 +01:00
Thibaut Cuvelier
a460097823
DocBook: use the existing unicodesymbols global table to map LaTeX ERTs to Unicode characters.
2022-02-14 03:03:22 +01:00
Thibaut Cuvelier
a1d297b2cc
DocBook: add a TODO for a newly discovered bug.
2022-02-07 04:49:32 +01:00
Thibaut Cuvelier
35588958ea
DocBook: in ERTs, allow the use of \string.
2022-02-07 04:47:40 +01:00
Thibaut Cuvelier
f6edfaa151
DocBook: refactor ERT recognition as a map, add many coded letters.
2022-02-07 03:25:51 +01:00
Thibaut Cuvelier
cd82b125d1
DocBook: in ERTs, recognise \oe.
2022-02-07 01:02:19 +01:00
Thibaut Cuvelier
812ce48e78
DocBook: in ERTs, recognise calls to the logos (as in InsetSpecialChar).
2022-02-07 00:27:58 +01:00
Thibaut Cuvelier
34ea4080ec
DocBook: support @ in index when used for sorting.
2022-02-06 06:23:53 +01:00
José Matos
b73ab0256d
Fix compilation with gcc-12
2022-01-27 15:37:45 +00:00