]>
git.lyx.org Git - features.git/log
Thibaut Cuvelier [Wed, 16 Sep 2020 01:22:38 +0000 (03:22 +0200)]
XHTML: remove DOCTYPE, as the document is then understood as HTML4/XHTML1, and not XHTML5.
Thibaut Cuvelier [Wed, 16 Sep 2020 01:18:32 +0000 (03:18 +0200)]
XHTML: remove <section> support.
Thibaut Cuvelier [Sat, 12 Sep 2020 23:50:11 +0000 (01:50 +0200)]
DocBook: slight code simplification.
Thibaut Cuvelier [Sat, 12 Sep 2020 01:21:08 +0000 (03:21 +0200)]
DocBook: fix output in Layout::write.
Thibaut Cuvelier [Fri, 11 Sep 2020 23:52:58 +0000 (01:52 +0200)]
DocBook: implement InsetBox titles.
Thibaut Cuvelier [Fri, 11 Sep 2020 23:43:57 +0000 (01:43 +0200)]
DocBook: fix a crash in bibliography paragraphs.
Thibaut Cuvelier [Fri, 11 Sep 2020 23:04:43 +0000 (01:04 +0200)]
layout2layout: use name instead of pseudonym.
Thibaut Cuvelier [Fri, 11 Sep 2020 22:39:23 +0000 (00:39 +0200)]
DocBook: work for more subfigure cases.
EmbeddedObjects hid quite a few gems :).
Thibaut Cuvelier [Fri, 11 Sep 2020 21:38:11 +0000 (23:38 +0200)]
DocBook: ensure xml:id is not output too many times.
This is mostly important for subfigures, but debugging this issue showed that InsetCaption could be slightly simplified and InsetLabel should be made a tad more robust.
Thibaut Cuvelier [Fri, 11 Sep 2020 01:14:41 +0000 (03:14 +0200)]
DocBook: handle other cases of subfigures.
Thibaut Cuvelier [Fri, 11 Sep 2020 01:05:04 +0000 (03:05 +0200)]
DocBook: in configure.py, DeclareDocBookClass doesn't need to be checked anymore.
Thibaut Cuvelier [Thu, 10 Sep 2020 23:50:26 +0000 (01:50 +0200)]
DocBook: remove now useless function in configure.py.
Thibaut Cuvelier [Thu, 10 Sep 2020 23:28:59 +0000 (01:28 +0200)]
DocBook: fix handling of new lines and fonts.
Only the font variable was restored to the right state, not fs.
Thibaut Cuvelier [Thu, 10 Sep 2020 22:44:49 +0000 (00:44 +0200)]
XHTML: fix generation of many useless </section>.
Thibaut Cuvelier [Thu, 10 Sep 2020 22:39:41 +0000 (00:39 +0200)]
XML: bad fix for a crash that only happened in XHTML.
As an error is output, I suppose that this behaviour is OK.
Scott Kostyshak [Thu, 3 Sep 2020 02:48:23 +0000 (22:48 -0400)]
DocBook: remove useless functions.
Thibaut Cuvelier [Wed, 2 Sep 2020 23:23:20 +0000 (01:23 +0200)]
DocBook: avoid using isspace in StartTag::writeTag.
This is the cause of crashes (on both Windows and Linux).
Thibaut Cuvelier [Wed, 2 Sep 2020 22:48:55 +0000 (00:48 +0200)]
DocBook: introduce Floating::docbookFloatType.
This ensures that all comparisons for DocBook are made on the same normalised version of the float type. This cased a strange bug where <table> was output within <informaltable> for Linguistics Tableaux.
Thibaut Cuvelier [Wed, 2 Sep 2020 22:37:52 +0000 (00:37 +0200)]
Fix two warnings in BufferView.
Thibaut Cuvelier [Wed, 2 Sep 2020 22:23:31 +0000 (00:23 +0200)]
DocBook: floats can no more override DocBookTag.
This lead to a quite subtle bug. The major problem is that float tags
depend on whether the LyX float has a title (formal) or nor (informal).
This information cannot be encoded in the layout format as easily as a
simple DocBookTag.
Thibaut Cuvelier [Tue, 1 Sep 2020 22:46:08 +0000 (00:46 +0200)]
DocBook: better output with the Linguistics module.
One issue left: <table> output within an <informaltable>, that does not make sense... I'm debugging it.
Thibaut Cuvelier [Tue, 1 Sep 2020 22:36:46 +0000 (00:36 +0200)]
DocBook: fix crash with Linguistics example.
This was due to Floating::docbookTag not returning anything with the floattype_ tableau. Another issue that happened with that document is that the standard library's isspace crashed for some characters. I therefore implemented a more efficient version of the part that required it, and inlined the definition of isspace (even though that part becomes irrespective of locale, but was that feature ever used?).
Thibaut Cuvelier [Tue, 1 Sep 2020 22:00:54 +0000 (00:00 +0200)]
Fix a few warnings.
Thibaut Cuvelier [Mon, 31 Aug 2020 01:09:16 +0000 (03:09 +0200)]
DocBook: do a little something for shapepar.
Thibaut Cuvelier [Mon, 31 Aug 2020 00:39:37 +0000 (02:39 +0200)]
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.
Thibaut Cuvelier [Sun, 30 Aug 2020 23:41:09 +0000 (01:41 +0200)]
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.
Thibaut Cuvelier [Sun, 30 Aug 2020 23:24:28 +0000 (01:24 +0200)]
DocBook: implement LyX-Code.
This is quite ugly.
Thibaut Cuvelier [Sun, 30 Aug 2020 22:50:37 +0000 (00:50 +0200)]
DocBook: <person> is not valid per se, rather use <personname>.
The cleanest solution would still be <person><personname>, but this ought to be enough. Otherwise, that would imply having two tags for some fonts...
Thibaut Cuvelier [Sun, 30 Aug 2020 22:46:49 +0000 (00:46 +0200)]
DocBook: subfigures example is fixed.
Probably thanks to the magic of the previous commits.
Thibaut Cuvelier [Sun, 30 Aug 2020 22:45:19 +0000 (00:45 +0200)]
DocBook: new-line behaviour in bibliographies.
Thibaut Cuvelier [Sun, 30 Aug 2020 22:43:02 +0000 (00:43 +0200)]
DocBook: support Full Width from Tufte Book.
Thibaut Cuvelier [Sun, 30 Aug 2020 22:42:32 +0000 (00:42 +0200)]
DocBook: fix margin notes.
They were nested twice in <sidebar>. Also fixes a new line issue.
Thibaut Cuvelier [Sun, 30 Aug 2020 22:21:12 +0000 (00:21 +0200)]
DocBook: new lines around formulae.
Thibaut Cuvelier [Sun, 30 Aug 2020 22:18:35 +0000 (00:18 +0200)]
DocBook: avoid generating fonts for "special cases" like equations.
Thibaut Cuvelier [Sun, 30 Aug 2020 21:56:16 +0000 (23:56 +0200)]
DocBook: fix line issues around programlisting.
Thibaut Cuvelier [Sun, 30 Aug 2020 21:38:40 +0000 (23:38 +0200)]
DocBook: fix font issues when a paragraph has an InsetNewline.
Thibaut Cuvelier [Sun, 30 Aug 2020 21:29:02 +0000 (23:29 +0200)]
DocBook: fix issue with fonts.
Thibaut Cuvelier [Sun, 30 Aug 2020 20:08:01 +0000 (22:08 +0200)]
DocBook: fixes in bibliography (missing new line at the end).
Thibaut Cuvelier [Sun, 30 Aug 2020 20:05:40 +0000 (22:05 +0200)]
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.
Thibaut Cuvelier [Sun, 30 Aug 2020 19:51:40 +0000 (21:51 +0200)]
DocBook: fix titles in KOMA Script.
Thibaut Cuvelier [Sun, 30 Aug 2020 01:30:56 +0000 (03:30 +0200)]
DocBook: bug fixing with wrapper merging.
Thibaut Cuvelier [Sun, 30 Aug 2020 01:08:55 +0000 (03:08 +0200)]
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.
Thibaut Cuvelier [Sun, 30 Aug 2020 00:34:49 +0000 (02:34 +0200)]
DocBook: adapt AASTeX for tag types (new-line behaviour).
Thibaut Cuvelier [Sun, 30 Aug 2020 00:30:24 +0000 (02:30 +0200)]
DocBook: adapt SimpleCV for tag types (new-line behaviour).
Thibaut Cuvelier [Sun, 30 Aug 2020 00:30:04 +0000 (02:30 +0200)]
DocBook: fix bibliographies (end of <bibliography> and sections).
Thibaut Cuvelier [Sat, 29 Aug 2020 23:14:44 +0000 (01:14 +0200)]
DocBook: generate <partintro> when required.
Thibaut Cuvelier [Sat, 29 Aug 2020 22:58:50 +0000 (00:58 +0200)]
DocBook: streamline code to handle sections.
Thibaut Cuvelier [Sat, 29 Aug 2020 22:35:47 +0000 (00:35 +0200)]
DocBook: streamline code to handle abstracts.
Thibaut Cuvelier [Sat, 29 Aug 2020 21:41:28 +0000 (23:41 +0200)]
DocBook: fix handling of index end-of-range.
Thibaut Cuvelier [Sat, 29 Aug 2020 20:58:23 +0000 (22:58 +0200)]
DocBook: fix float tags (was unduly overridden).
The output was not valid for floats without title.
Thibaut Cuvelier [Sat, 29 Aug 2020 17:05:59 +0000 (19:05 +0200)]
DocBook: improve equation formatting (new lines for block equations).
Thibaut Cuvelier [Sat, 29 Aug 2020 16:40:31 +0000 (18:40 +0200)]
DocBook: fix indentation for section titles (including stars).
Thibaut Cuvelier [Wed, 26 Aug 2020 22:52:06 +0000 (00:52 +0200)]
DocBook: rewrite makeListEnvironment.
Thibaut Cuvelier [Sat, 29 Aug 2020 01:03:16 +0000 (03:03 +0200)]
DocBook: start splitting environment handling in two, to have proper things for lists.
Thibaut Cuvelier [Sat, 29 Aug 2020 01:46:30 +0000 (03:46 +0200)]
DocBook: make all make* functions have the same argument order.
Thibaut Cuvelier [Sat, 29 Aug 2020 00:55:47 +0000 (02:55 +0200)]
DocBook: partially remove use of bpit/epit in docbookParagraphs and docbookSimpleAllParagraphs.
This will help with the next refactoring to be much cleaner (only work with iterators, don't maintain twice the same information).
Thibaut Cuvelier [Sat, 29 Aug 2020 00:43:30 +0000 (02:43 +0200)]
XML: use the new mechanisms for CR detection with errors.
This helps tracking down line problems even in the presence of errors.
Thibaut Cuvelier [Wed, 26 Aug 2020 19:19:38 +0000 (21:19 +0200)]
DocBook: make Paragraph::simpleDocBookOnePar return a list of paragraphs.
Before, it directly wrote to the XMLStream, but it made implementation of new lines tricky. Now, it returns the XML for each sub-paragraph (delimited by new lines) as a string, so that the caller can adopt a more precise behaviour (such as in lists).
Thibaut Cuvelier [Tue, 25 Aug 2020 00:41:07 +0000 (02:41 +0200)]
DocBook: fix compilation issues.
Thibaut Cuvelier [Tue, 25 Aug 2020 00:11:08 +0000 (02:11 +0200)]
DocBook: Coverity potential problem for precooked bibliographies.
Thibaut Cuvelier [Tue, 18 Aug 2020 03:46:40 +0000 (05:46 +0200)]
DocBook: simplify precooked bibliography code.
Thibaut Cuvelier [Tue, 18 Aug 2020 03:40:34 +0000 (05:40 +0200)]
DocBook: remove useless includes.
Thibaut Cuvelier [Tue, 18 Aug 2020 03:39:46 +0000 (05:39 +0200)]
More functions in anonymous namespace.
Thibaut Cuvelier [Tue, 18 Aug 2020 03:37:46 +0000 (05:37 +0200)]
DocBook: fine tuning of new lines.
Thibaut Cuvelier [Tue, 18 Aug 2020 02:56:25 +0000 (04:56 +0200)]
DocBook: improve comments.
Thibaut Cuvelier [Mon, 17 Aug 2020 22:37:34 +0000 (00:37 +0200)]
DocBook: new logic to handle the new lines, only used in output_docbook for now.
Thibaut Cuvelier [Mon, 17 Aug 2020 21:44:02 +0000 (23:44 +0200)]
XML: memorise if the last thing that is getting output is a line feed.
Thibaut Cuvelier [Mon, 17 Aug 2020 21:35:40 +0000 (23:35 +0200)]
DocBook: documentation for the new tags.
Thibaut Cuvelier [Mon, 17 Aug 2020 21:06:26 +0000 (23:06 +0200)]
DocBook: define new arguments in layouts to configure new-line behaviour.
Thibaut Cuvelier [Sat, 15 Aug 2020 22:59:43 +0000 (00:59 +0200)]
Simplify code to generate only one paragraph at a time.
Thibaut Cuvelier [Sun, 16 Aug 2020 17:07:14 +0000 (19:07 +0200)]
A few more constants to avoid copies
Thibaut Cuvelier [Mon, 3 Aug 2020 14:04:26 +0000 (16:04 +0200)]
DocBook: add a layout tag to tell whether an item is the abstract or not.
Thibaut Cuvelier [Sun, 2 Aug 2020 18:43:39 +0000 (20:43 +0200)]
DocBook: simplify code to handle abstracts.
Thibaut Cuvelier [Sun, 2 Aug 2020 16:58:36 +0000 (18:58 +0200)]
DocBook: use DocBookWrapperMergeWithPrevious in the code.
Thibaut Cuvelier [Sun, 2 Aug 2020 16:07:07 +0000 (18:07 +0200)]
DocBook: fix for ordering.
Thibaut Cuvelier [Sun, 2 Aug 2020 15:35:16 +0000 (17:35 +0200)]
DocBook: make openParTag/closeTag use paragraphs instead of layouts.
Not useful per se, but will be next with checking whether the wrapper tags should be opened/closed.
Thibaut Cuvelier [Sun, 2 Aug 2020 15:28:50 +0000 (17:28 +0200)]
DocBook: use DocBookItemTag within paragraphs.
This is at least helpful for AAS, even though it slightly resembles a repurposition of that parameter.
Thibaut Cuvelier [Sun, 2 Aug 2020 15:23:37 +0000 (17:23 +0200)]
Merge findLastParagraph and findLastBibliographyParagraph to lower code duplication.
Maybe these functions should move to ParagraphList.h/cpp?
Thibaut Cuvelier [Sun, 2 Aug 2020 15:17:25 +0000 (17:17 +0200)]
Slight code-consistency improvements.
Thibaut Cuvelier [Sun, 2 Aug 2020 15:07:38 +0000 (17:07 +0200)]
DocBook: add new layout parameter DocBookWrapperMergeWithPrevious.
Thibaut Cuvelier [Sun, 2 Aug 2020 14:52:33 +0000 (16:52 +0200)]
DocBook: allow empty paragraphs before the <info> section.
Juergen Spitzmueller [Sat, 19 Sep 2020 06:58:35 +0000 (08:58 +0200)]
de.po
Yuriy Skalko [Thu, 17 Sep 2020 16:53:09 +0000 (19:53 +0300)]
Separate string for translation
Daniel Ramoeller [Fri, 18 Sep 2020 08:14:46 +0000 (10:14 +0200)]
Show slanted caret (cursor) when text style emphasis/italics/slanted.
Fixes for bug #11428. Emphasis is used regularly and it is helpful to
see whether the next text will be written emphasized directly from the
cursor.
This is also implemented in MS Word and Google docs but not in
LibreWriter.
Also fixes the caret for RTL languages whose width was previously
extended into the wrong direction.
José Matos [Fri, 18 Sep 2020 00:09:36 +0000 (01:09 +0100)]
Avoid crash when string only has one char
José Matos [Fri, 18 Sep 2020 00:07:39 +0000 (01:07 +0100)]
Whitespace cleanup
Yuriy Skalko [Thu, 17 Sep 2020 10:39:44 +0000 (13:39 +0300)]
Update UserGuide
Yuriy Skalko [Thu, 17 Sep 2020 12:32:43 +0000 (15:32 +0300)]
Increment preferences format to 34: rename Cyrillic *.kmap files
Juergen Spitzmueller [Thu, 17 Sep 2020 06:43:04 +0000 (08:43 +0200)]
Fixup graphics height conversion when special is non-empty
Juergen Spitzmueller [Thu, 17 Sep 2020 06:00:54 +0000 (08:00 +0200)]
Fix Makefile.am after
821603def308
Yuriy Skalko [Wed, 16 Sep 2020 07:21:07 +0000 (10:21 +0300)]
Fix Cyrillic keyboard map files
Yuriy Skalko [Wed, 9 Sep 2020 05:56:38 +0000 (08:56 +0300)]
Update Russian localization
Juergen Spitzmueller [Thu, 17 Sep 2020 05:17:36 +0000 (07:17 +0200)]
Account for Windows paths (#11975)
Jean-Marc Lasgouttes [Wed, 16 Sep 2020 14:54:33 +0000 (16:54 +0200)]
Revert "Show toolbar context menu only when clicking on the toolbar"
Something is wrong.
This reverts commit
f25253f89ac121b1981fe26f0b90af9e2bbbe849 .
Daniel Ramoeller [Tue, 15 Sep 2020 06:04:16 +0000 (08:04 +0200)]
Show toolbar context menu only when clicking on the toolbar
Previsouly it was on the whole application window, except on disabled toolbar
buttons.
Fix for bug #11949
Scott Kostyshak [Tue, 15 Sep 2020 22:00:31 +0000 (18:00 -0400)]
ctests: invert 'wontfix' failing lyx2lyx tests
We decided looking into it wasn't worth the time. Note that the
tests are only about formats 2.0.x and 1.6.x. For discussion, see:
https://www.mail-archive.com/search?l=mid&q=
20200915233446 .atwbyulny5gsbtyi%40tallinn
Jean-Marc Lasgouttes [Mon, 14 Sep 2020 14:26:19 +0000 (16:26 +0200)]
Add method FontMetrics::italic()
This can be useful for ticket #11428.
Yuriy Skalko [Mon, 31 Aug 2020 07:29:14 +0000 (10:29 +0300)]
Show custom text styles in status bar
Fixes bug #11951.
Scott Kostyshak [Sun, 13 Sep 2020 05:27:19 +0000 (01:27 -0400)]
Fix ru Beamer_Article polyglossia exports
Set fonts to DejaVu to avoid the following error:
! Package polyglossia Error: The current latin font does not
contain the "Cyrillic" script!
This choice of font is consistent with the Russian intro and
tutorial manuals.
Scott Kostyshak [Sat, 12 Sep 2020 23:29:01 +0000 (19:29 -0400)]
Fix documentation for LFUN_LAYOUT
The argument 'ignorenests' was renamed to 'ignoreautonests' at
d6fb2abb .