Enrico Forestieri
77f9858388
Fix the layout2layout script
...
It was not correctly updated at dab71087
, ad18c194
, and 6998e764
.
2020-09-28 22:29:28 +02:00
José Matos
0bda5e5b8d
Make script compliant with python 3
2020-09-28 11:13:47 +01:00
Scott Kostyshak
d0aa20afcf
Revert "Update layouts"
...
A fix to layout2layout is needed first. See:
https://www.mail-archive.com/search?l=mid&q=20200927192424.GA1224%40GIOVE
This reverts commit 5d7efd2fa9
.
2020-09-27 16:47:43 -04:00
Scott Kostyshak
5d7efd2fa9
Update layouts
...
Fixes a slight delay when cutting (#11988 ).
2020-09-27 11:47:10 -04:00
Kornel Benko
70725040db
Gnumeric conversions to html: Remove wrong closing </p> flag
...
Now LyXHTML export for Spreadsheet.lyx is errorles, but stil we need a wrapper
to remove unneeded 'Ark' captions.
2020-09-24 10:14:35 +02:00
Yuriy Skalko
8099b9f8e6
Update Russian localization
2020-09-23 10:11:35 +02:00
José Matos
4419f6e059
Simplify reversion code (keeping the same output)
2020-09-21 14:36:52 +01:00
Kornel Benko
c4acb6c5b9
Remove the noun-flag from the separator in index entry
2020-09-21 12:48:58 +02:00
Thibaut Cuvelier
1991d0ed24
Converters: always set version to something.
...
Otherwise, it's common to compare "None >= (6,2,6)", which makes no sense. Set it to (0,0,0) so that any comparison fails (without an error message).
2020-09-19 20:43:41 +02:00
Thibaut Cuvelier
e4065cc1b1
Converters: slightly more pythonic code.
2020-09-19 20:43:41 +02:00
Thibaut Cuvelier
6c51cabd35
DocBook: fix output in Layout::write.
2020-09-19 20:43:41 +02:00
Thibaut Cuvelier
dd8660c07e
layout2layout: use name instead of pseudonym.
2020-09-19 20:43:41 +02:00
Thibaut Cuvelier
41a15f7b6d
DocBook: in configure.py, DeclareDocBookClass doesn't need to be checked anymore.
2020-09-19 20:43:41 +02:00
Thibaut Cuvelier
f28c193569
DocBook: remove now useless function in configure.py.
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
52b2d3f683
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).
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
360139a091
DocBook: documentation for the new tags.
2020-09-19 20:43:37 +02:00
Thibaut Cuvelier
6998e76495
DocBook: define new arguments in layouts to configure new-line behaviour.
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
Thibaut Cuvelier
ad18c19492
DocBook: add new layout parameter DocBookWrapperMergeWithPrevious.
2020-09-19 20:43:36 +02:00
Yuriy Skalko
6b85dd5ac0
Separate string for translation
2020-09-19 08:47:35 +02:00
José Matos
5154400b64
Avoid crash when string only has one char
2020-09-18 01:09:36 +01:00
José Matos
d0a27e3afc
Whitespace cleanup
2020-09-18 01:07:39 +01:00
Yuriy Skalko
e36fda8375
Update UserGuide
2020-09-17 17:24:14 +02:00
Yuriy Skalko
cd933534bd
Increment preferences format to 34: rename Cyrillic *.kmap files
2020-09-17 15:05:31 +02:00
Juergen Spitzmueller
40159fd2ab
Fixup graphics height conversion when special is non-empty
2020-09-17 08:43:04 +02:00
Juergen Spitzmueller
6ad1c359fc
Fix Makefile.am after 821603def3
2020-09-17 08:00:54 +02:00
Yuriy Skalko
821603def3
Fix Cyrillic keyboard map files
2020-09-17 07:50:05 +02:00
Yuriy Skalko
06aed96f34
Update Russian localization
2020-09-17 07:21:02 +02:00
Scott Kostyshak
06855a66ca
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.
2020-09-13 01:31:00 -04:00
Scott Kostyshak
6a5f1f380e
ru Beamer: make absolute path relative
2020-09-11 00:52:36 -04:00