Commit Graph

9931 Commits

Author SHA1 Message Date
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
Richard Kimberly Heck
3e8a17f340 Documentation for ctrl-click on a reference 2020-09-10 13:09:48 -04:00
Yuriy Skalko
dbb97050b5 Update Russian Beamer docs 2020-09-09 07:37:27 +02:00
Yuriy Skalko
b2109b9d39 Add Russian translation of Beamer manual, by Henry Chern 2020-09-07 18:58:34 +02:00
Yuriy Skalko
ace9fbb6a0 Update Russian localization 2020-09-04 19:01:50 +02:00
Pavel Sanda
a218f64a56 Fix dist 2020-09-04 09:29:56 +02:00
Enrico Forestieri
50294f6442 Rename and update description of fonts 2020-09-03 21:46:16 +02:00
Pavel Sanda
bc93c6f99e Update check_glyphs.lyx. 2020-09-03 18:39:05 +02:00
Enrico Forestieri
a9afdbb73c Personalize fonts
When the fonts distributed with texlive with same family name
as ours are also managed by fontconfig, Qt is not able to
discriminate ours by the style only. In order to be sure Qt
will load our fonts, we change the foundry name from 'PfEd'
to 'LyEd' and augment the font family name with this foundry
name. This only works on *nix, because adding a foundry name
seemingly breaks things on Windows. However, this is a *nix
only problem, seemingly.
2020-09-03 17:46:30 +02:00
Juergen Spitzmueller
a99695ce82 Fix conversion and reversion of relative totalheights/heights 2020-08-30 11:44:08 +02:00
Pavel Sanda
2fad89df08 This test is no more just about stmary10. 2020-08-30 10:50:58 +02:00
Pavel Sanda
5054204d53 Add new section about problems on opensuse. 2020-08-30 10:50:58 +02:00
Scott Kostyshak
1146e6ba43 ru XY examples: set fonts to DejaVu
This choice of fonts is consistent with the Russian Intro manual,
and fixes compilation with XeTeX.
2020-08-30 00:34:06 -04:00
Scott Kostyshak
c225b758cb ru UserGuide: set default output format to pdf2
This is consistent with the math manual, and some of the other
formats don't work, because of varioref issues.
2020-08-29 14:00:07 -04:00
jpc
c4cba1d323 Set Deja Vu as non-TeX fonts to make xetex/luatex succeed 2020-08-29 14:26:32 +02:00
Juergen Spitzmueller
d7b64b8e59 Fix Hebrew intro with LuaTeX
(use iftex rather than ifpdf)
2020-08-29 11:55:56 +02:00
Pavel Sanda
78f97fcc10 UG: Import and review changes from Phil Netro.
Chapter 4-6 & Appendix.
Only few bits actually.
2020-08-28 20:54:26 +02:00
Enrico Forestieri
8a826918de Amend f96b99dc 2020-08-28 17:39:01 +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
31d0811171 Improve and translate documentation of openCitation feature 2020-08-27 13:33:12 +02:00
Juergen Spitzmueller
0d98fb8548 lyxpaperview: take the first match 2020-08-27 12:05:49 +02:00
Juergen Spitzmueller
ff14d0bd00 Report back if citation target could not be opened 2020-08-27 11:52:52 +02:00
Juergen Spitzmueller
c5c3323f32 Properly disable function 2020-08-27 10:59:15 +02:00
Juergen Spitzmueller
8365eabd6f Make paper search function accessible and customizable 2020-08-27 08:48:55 +02:00
Stephan Witt
8593d00912 autotools build: Install lyx.svg under images for all platforms 2020-08-26 14:36:47 +02:00
Yuriy Skalko
761648b1f7 Update Russian localization 2020-08-26 11:48:57 +02:00
Juergen Spitzmueller
e52514ffd3 Install lyx.svg 2020-08-26 10:01:53 +02:00
Scott Kostyshak
4a9bbe61df ctests: restore use of -shell-escape to fix Minted
This commit amends 4bb00e99 and fixes the Minted tests.
2020-08-24 16:30:36 -04:00
Juergen Spitzmueller
298fa2eee5 lyxpaperview.py: credit Pavel 2020-08-24 15:59:26 +02:00
Juergen Spitzmueller
7097c4e6b1 laypaperview.py: Fix program description 2020-08-24 15:41:52 +02:00
Juergen Spitzmueller
3e31fad5f6 lyxpaperview.py: no need to limit to year and author
The script can now take an unlimited number of arguments, which are all
searched for in the filename. This allows for more flexibility.
2020-08-24 15:38:55 +02:00
Pavel Sanda
71332820d1 UG: Remove opening comment from Phil. 2020-08-24 15:11:53 +02:00
Pavel Sanda
9bd4da2769 First draft of open citation feature 2020-08-24 15:11:53 +02:00
Juergen Spitzmueller
935c9aad5a Add python lyxpaperview script 2020-08-24 13:32:50 +02:00
Yuriy Skalko
d4e9a268e0 Update Russian localization 2020-08-24 07:24:26 +02:00
Pavel Sanda
894ad70eba Enable Open Citation menu item iff citation contain locator information or external search script is available.
Per Juergen's request.
2020-08-23 22:19:34 +02:00
Pavel Sanda
9c9a2c1b92 distribute lyxpaperview 2020-08-23 20:47:39 +02:00
Pavel Sanda
86d949e82e UG: Import and review changes from Phil Netro.
Chapter 3.
Few additional changes from me.
2020-08-23 14:48:02 +02:00
Pavel Sanda
57076cfff4 UG: Import and review changes from Phil Netro.
Chapter 2.
Few additional changes from me.
2020-08-23 13:01:08 +02:00
Juergen Spitzmueller
d6854b01ca de/UserGuide: adapt some changes from en 2020-08-23 10:38:15 +02:00
Pavel Sanda
7112c8b67e UG: Import and review changes from Phil Netro.
Chapter 1.
2020-08-22 21:11:38 +02:00
Pavel Sanda
8362360639 switch args 2020-08-21 09:25:10 +02:00
Scott Kostyshak
4c0073cd03 Whitespace 2020-08-20 21:51:29 -04:00
jpc
6b508e959c French manual Customization.lyx : import from 2.3 2020-08-20 17:17:36 +02:00
Juergen Spitzmueller
24c2b8e21a Add ellipses 2020-08-20 16:39:34 +02:00
Pavel Sanda
4cd3ab1b1a Example script for looking up the citation pdfs. 2020-08-20 09:12:54 +02:00
Pavel Sanda
e648202e7e Allow LyX to find pdfs and urls of citation references and follow them from context menu.
Currently tested:
- url & doi fields for bibtex.
- all documented eprinttypes of biblatex
- absolute paths of first entry of 'file' field for jabref and kbibtex
- external script searching for author + year pdf

Additional polishing will follow.

https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg212505.html
2020-08-20 09:12:54 +02:00
Kornel Benko
4bb00e99fb Cmake export tests: Omit next group of possible conflicts while runnig test in parallel
Disable conversion cache because all lyx instances use the same cache without
any locking between read and write to the cache.

Thanks to Scott catching this case.
2020-08-19 22:28:50 +02:00
Yuriy Skalko
3761058f2c Update Russian localization 2020-08-19 10:16:02 +02:00
Juergen Spitzmueller
09a49da0d7 Customization: Improve documentation of ResetsFont
Fixes #8454
2020-08-18 09:02:14 +02:00
Juergen Spitzmueller
71c1931b92 Fix default mark (#8454) 2020-08-17 13:45:44 +02:00
Juergen Spitzmueller
cc55ae34f0 Customization: update to current format (for better detection of following changes) 2020-08-17 13:45:00 +02:00
Juergen Spitzmueller
69c5a07082 Comment out non-working nomencl entry 2020-08-17 09:12:51 +02:00
Juergen Spitzmueller
a7ad074776 he/Tutorial: fix conditional so that this also works with LuaTeX
(requires forthcoming polyglossia 1.50 to work properly)
2020-08-16 11:22:53 +02:00
Juergen Spitzmueller
d31e829462 typo 2020-08-15 19:21:20 +02:00
José Matos
a8094051c1 Consider file encoding for modules in reconfigure
If the modules are not in utf8 then we warn and skip that file
like it happens for layout files.

It would be nice in both cases to have a warn in the gui and not only in the config.log
2020-08-15 17:49:23 +01:00
José Matos
5a212823d7 Trim endline whitespace 2020-08-15 16:36:34 +01:00
Juergen Spitzmueller
80e9f7f426 Fixup Apa7 template 2020-08-15 09:52:35 +02:00
Pavel Sanda
48b1e8a0ac New attempt on #9906: allow following hyperlinks via context menu.
Now safer version with the help of Qt.
2020-08-14 19:48:47 +02:00
Juergen Spitzmueller
f348e0edc5 Fix emphasizing 2020-08-12 15:27:21 +02:00
Juergen Spitzmueller
91170accde Fix string 2020-08-12 14:30:25 +02:00
Juergen Spitzmueller
bafd74c46e zh_CN/Tutotrial: Fix emphases 2020-08-11 08:23:27 +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
Yuriy Skalko
1af9e3b0fc Update Russian localization 2020-08-08 16:12:29 +02:00
Juergen Spitzmueller
7bbc4270ad Add new Russian example files to Makefile 2020-08-05 19:14:13 +02:00
Yuriy Skalko
067a39ee97 Update Russian XY-Pic manual 2020-08-05 18:50:06 +02:00
Yuriy Skalko
3e63bcdeba Minor fixes to XY-Pic.lyx 2020-08-05 18:48:36 +02:00
Juergen Spitzmueller
53e6d7adcb de/UserGuide: two minor corrections 2020-08-05 08:51:51 +02:00
Yuriy Skalko
41e768fd42 Documentation fixes 2020-08-05 08:51:05 +02:00
Yuriy Skalko
e46670b122 Russian translation of XY-pic manual by Henry Chern 2020-08-05 08:34:43 +02:00
Yuriy Skalko
86a4d6c8ab Update Russian localization 2020-08-05 08:26:30 +02:00
Thibaut Cuvelier
fa38ae3fc0 Revert "DocBook: add new layout parameter DocBookWrapperMergeWithPrevious."
This reverts commit 59b0f88d2b.
2020-08-03 22:57:49 +02: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
59b0f88d2b DocBook: add new layout parameter DocBookWrapperMergeWithPrevious. 2020-08-03 16:04:57 +02:00
Richard Kimberly Heck
8bc01d304a Release notes 2020-08-02 23:25:48 -04:00
Enrico Forestieri
6d35db73fb layouttranslations: nothing to do for it 2020-08-02 19:10:03 +02:00
Yuriy Skalko
10bbf9e62b Update Russian documentation 2020-08-02 10:00:49 +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
Pavel Sanda
2489c51f7c ru layouttranslations review 2020-08-01 13:54:18 +02:00
Thibaut Cuvelier
20fe5a6781 DocBook: slight improvement for AAS documents. 2020-08-01 04:09:45 +02:00
Juergen Spitzmueller
857036c0c1 Fix table in ru/Math 2020-07-31 09:31:32 +02:00
Yuriy Skalko
b0ec45b767 Update ru.po and Russian docs 2020-07-31 09:01:33 +02:00
Pavel Sanda
9d8a45b5c0 sk review 2020-07-30 17:20:02 +02:00
Kornel Benko
5de13a804f Update sk.po 2020-07-30 17:10:42 +02:00
Pavel Sanda
53824067fe * layouttranslations for ru 2020-07-30 16:54:15 +02:00
Pavel Sanda
0160f644ce layouttranslations - Notes on more used 2020-07-30 16:50:02 +02:00
Juergen Spitzmueller
5d1451498a typo 2020-07-30 16:38:35 +02:00
Pavel Sanda
6061ab8e69 typo 2020-07-30 16:35:24 +02:00
Yuriy Skalko
9909ce1b2d Minor fixes in Math.lyx 2020-07-30 16:19:29 +02:00
Juergen Spitzmueller
205d123a99 layouttranslation.review: minor clarification 2020-07-30 16:12:03 +02:00
Juergen Spitzmueller
011722604d Correct layout string 2020-07-30 16:11:50 +02:00
Pavel Sanda
b268ed41ec zh_CN update of layouttranslations 2020-07-30 15:59:33 +02:00
Pavel Sanda
4e383ecdb9 * layouttranslations.review 2020-07-30 15:50:20 +02:00
Pavel Sanda
28911d05ea New Notes items in layouttranslation 2020-07-30 15:41:57 +02:00
Juergen Spitzmueller
d031edc587 Russian Math manual
by Henri Chern and Yuriy Skalko
2020-07-29 12:43:56 +02:00
Juergen Spitzmueller
483d914642 Correct version number 2020-07-29 10:55:30 +02:00
Thibaut Cuvelier
d75ff9931d Revert "Support the mathbbm font."
This reverts commit e709a6626e.
2020-07-28 18:01:38 +02:00
Thibaut Cuvelier
e709a6626e Support the mathbbm font.
Should just be able to read formulae, not add it from the GUI, as it's mostly redundant with mathds and mathbb.
2020-07-27 03:15:00 +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
Enrico Forestieri
585da1de4a Fix typos in lib/symbols
This amends e8ee0100 and f96b99dc.
2020-07-24 12:57:00 +02:00
Thibaut Cuvelier
c9f8469c00 DocBook: allow KOMA-Script documents to be generated as DocBook 2020-07-21 02:59:57 +02:00
Pavel Sanda
1fa60342be * lib/RELEASE-NOTES 2020-07-21 00:12:24 +02:00
Jean-Marc Lasgouttes
f96b99dcb3 Implement properly \limits and \nolimits
These are now properties of insets that can be operators :
InsetMathSymbols, InsetMathDecoration (for over/underbrace) and
InsetMathMacro (for its contents).

Each of these has a limit_ member that allows to remember a limit
forcing and a member defaultLimits() that indicates what to do in the
absence of such forcing. Moreover the write() method calls
writeLimits().

This allows to simplify the definitions of integrals in lib/symbols by
defining the integrals as macros of their "op" version, as it is done in
the style files.

Also, many hardcoded assumptions can now be removed.

The handling of LFUN_MATH_LIMITS is now done in InsetNest, which tries
successively to apply the limit change to (1) the character after
cursor, (2) the character before cursor and (3) the character at the
end of the inset (useful for script insets?)

The new code allows to define
  \newcommand\int{\intop\limits}
but not
  \newcommand\makelimits#1{#1\limits}

It is also possible to type explicitly \limits or \nolimits to modify
a symbol.
2020-07-20 23:20:26 +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
1706438cba Partial revert of e3027574: don't add \docbook_table_output at lyx2lyx step, let LyX do it when saving the document 2020-07-20 01:56:33 +02:00
Jean-Marc Lasgouttes
e8ee0100fc Implement variable size bigops
The goal is to reproduce the change of size of operators like \sum wen they
are in display style.

The syntax of the symbols file has been extended to allow for two code
points (like 80|88 for \sum). In this case, the second one will be
used in display style.

Update the symbols file to handle all bigops from cmex, esint, wasy and
stmaryrd.

Let the code for math symbol inset handle symbols which can change size,
using the information from the symbols file.
2020-07-17 22:25:18 +02:00
Richard Kimberly Heck
ab31598e04 Simplify 2020-07-17 12:16:47 -04:00
Thibaut Cuvelier
e302757476 Add support for CALS tables in DocBook. 2020-07-16 00:40:16 +02:00