]>
git.lyx.org Git - features.git/log
Jean-Marc Lasgouttes [Mon, 4 Dec 2017 09:44:49 +0000 (10:44 +0100)]
Implement display of roots more faithfully
This is a follow-up to
758de957 .
- unify the metrics and drawing of \sqrt and \root using helper
functions mathed_root_metrics and mathed_draw_root.
- compute the vertical spacing above the nucleus of the root following
rule 11 of the TeXbook. In particular, it is different in inline and
display style.
- draw the root glyph without hard-coded pixel values. Make the line
width depend on the zoom.
more work is needed to implement properly rule 11:
- Ideally, we should use sqrt glyphs from the math fonts. Note that
then we would get rule thickness from there.
- The positioning of the root MathData is arbitrary. It should
follow the definition of \root...\of... in The Texbook in
Apprendix B page 360.
Fixes bug #10814.
Juergen Spitzmueller [Sun, 3 Dec 2017 11:04:39 +0000 (12:04 +0100)]
Do not escape makeindex chars in bibitemWidest.
Juergen Spitzmueller [Sun, 3 Dec 2017 10:57:11 +0000 (11:57 +0100)]
nomenclWidest(): take (proper) formatting into account.
Juergen Spitzmueller [Sun, 3 Dec 2017 10:36:09 +0000 (11:36 +0100)]
Juergen Spitzmueller [Sun, 3 Dec 2017 10:20:11 +0000 (11:20 +0100)]
Use literal formatting in nomencl entry with math
Scott Kostyshak [Fri, 1 Dec 2017 18:36:21 +0000 (13:36 -0500)]
Set array length from int const
Enrico Forestieri [Sat, 2 Dec 2017 09:46:46 +0000 (10:46 +0100)]
Avoid asserting when reading the session file
Fixes #10824.
Juergen Spitzmueller [Fri, 1 Dec 2017 12:39:38 +0000 (13:39 +0100)]
Escape (makeindex) special chars in nomencl if !literate
Fixes: #10825
Juergen Spitzmueller [Fri, 1 Dec 2017 11:00:20 +0000 (12:00 +0100)]
Remove obsoleted nomencl workarounds
Kornel Benko [Fri, 1 Dec 2017 10:10:38 +0000 (11:10 +0100)]
Update sk.po
Juergen Spitzmueller [Fri, 1 Dec 2017 09:12:32 +0000 (10:12 +0100)]
Add nomencl strings from nomencl.sty to the po files.
Juergen Spitzmueller [Fri, 1 Dec 2017 09:10:06 +0000 (10:10 +0100)]
Implement l7n for nomenclature.
Uwe Stöhr [Thu, 30 Nov 2017 12:20:55 +0000 (13:20 +0100)]
UserGuide.lyx: fix 2 nomenclature entries
- also assure correct language for the nomenclature list
Uwe Stöhr [Thu, 30 Nov 2017 00:11:36 +0000 (01:11 +0100)]
ru.po: re-enable Russian translations thanks to the work of Yuriy
(Yuriy's addition to the CREDITS will follow as soon as our mailing lists are working again.)
Uwe Stöhr [Wed, 29 Nov 2017 23:52:17 +0000 (00:52 +0100)]
UserGuide.lyx: workaround for a bug in nomencl
see https://tex.stackexchange.com/questions/65913/why-nomenclature-text-is-not-english-when-loading-additional-languages-in-docume for an explanation why the name of the nomenclature can be incorrect.
nomencl is no longer under development since 12 years therefore we should switch to the glossaries package (#10015).
Jean-Marc Lasgouttes [Wed, 29 Nov 2017 13:55:56 +0000 (14:55 +0100)]
Use UndoGroupHelper to track undo group lifetime
Jean-Marc Lasgouttes [Wed, 29 Nov 2017 13:52:50 +0000 (14:52 +0100)]
Use range-based for loop.
Jean-Marc Lasgouttes [Wed, 29 Nov 2017 13:10:33 +0000 (14:10 +0100)]
Better handling of multiple buffers in UndoGroupHelper
It may happen that the buffers are visited in order buffer1,
buffer2, buffer1. In this case, we want to have only one undo group
in buffer1. The solution is to replace buffer_ with a set<Buffer*>.
A use case among others is InsetLabel::updateReferences.
Jean-Marc Lasgouttes [Wed, 29 Nov 2017 11:27:57 +0000 (12:27 +0100)]
Remove unused BufferView member
Jean-Marc Lasgouttes [Wed, 29 Nov 2017 10:16:09 +0000 (11:16 +0100)]
Make sure that rows are repainted when they get (un)selected
The bug is the following: when selecting several paragraphs quickly
enough, some rows do not get selected.This is a consequence of the
removal of row crc, which lead to not taking into account the
selection status of the row in the decision to repaint.
The solution chosen here is to add a Row::change() helper function to
modify row members. This will set the Row changed status whenever the
value of the member changes.
Kornel Benko [Tue, 28 Nov 2017 18:07:24 +0000 (19:07 +0100)]
Cmake build: Don't try to convert non-lyx-files.
Since they are not supposed to contain versioned strings like LYX_DIR_VER,
it is sufficient to copy them instead.
Besides, they also may be non-utf-8 coded, which would also break the conversion.
Kornel Benko [Tue, 28 Nov 2017 10:11:30 +0000 (11:11 +0100)]
Update sk.po
jpc [Tue, 28 Nov 2017 08:03:58 +0000 (09:03 +0100)]
Update French Math manual for 2.3
Uwe Stöhr [Mon, 27 Nov 2017 23:54:49 +0000 (00:54 +0100)]
Customization.lyx: fix bug#10809
also some layout fixes to avoid writing in the page margin
Uwe Stöhr [Mon, 27 Nov 2017 22:12:13 +0000 (23:12 +0100)]
EmbeddedObjects.lyx: update table with available units
Juergen Spitzmueller [Mon, 27 Nov 2017 17:59:51 +0000 (18:59 +0100)]
Split inkscape_cl (command line) from inkscape_gui (GUI program)
On Windows, these are two different binaries, and one fails to do the
tasks of the other. On all other OSes, the two are the same.
Fixes: #10805
jpc [Mon, 27 Nov 2017 17:12:50 +0000 (18:12 +0100)]
A couple of editions in the French Intro manual
Richard Heck [Mon, 27 Nov 2017 03:07:28 +0000 (22:07 -0500)]
Fix bug #10809.
Richard Heck [Mon, 27 Nov 2017 02:59:38 +0000 (21:59 -0500)]
Fix #10819: Set title for print nomencl dialog.
Uwe Stöhr [Mon, 27 Nov 2017 01:43:14 +0000 (02:43 +0100)]
Math: add a note about \tag with RTL languages
- also update a weblink
Uwe Stöhr [Sun, 26 Nov 2017 23:26:35 +0000 (00:26 +0100)]
UserGuide.lyx: describe \baselineskip
-also add a Spanish translation
Uwe Stöhr [Sun, 26 Nov 2017 18:22:20 +0000 (19:22 +0100)]
UserGuide.lyx: document the Literal option
- also remove some now unnecessary bibliography entries
Kornel Benko [Sun, 26 Nov 2017 17:50:53 +0000 (18:50 +0100)]
Cmake build: Add option to use native file dialog also for linux
Uwe Stöhr [Sun, 26 Nov 2017 02:40:34 +0000 (03:40 +0100)]
Changelog-UserGuide-LyX_23x.txt: document recent change for the translators
Uwe Stöhr [Sun, 26 Nov 2017 02:36:57 +0000 (03:36 +0100)]
UserGuide.lyx: describe the new font settings options
Uwe Stöhr [Sun, 26 Nov 2017 02:34:00 +0000 (03:34 +0100)]
de.po: sanitize some issues reported by poedit
- es.po: add 3 translations
Richard Heck [Fri, 24 Nov 2017 23:36:09 +0000 (18:36 -0500)]
Remove useless code.
runparams was a temporary anyway.
Richard Heck [Fri, 24 Nov 2017 20:34:25 +0000 (15:34 -0500)]
Minor code re-organization
Jean-Marc Lasgouttes [Fri, 24 Nov 2017 22:36:28 +0000 (23:36 +0100)]
Fixup
e64ea357
Cursor at end of paragraph should be treated as if boundary was on.
Juergen Spitzmueller [Fri, 24 Nov 2017 10:56:41 +0000 (11:56 +0100)]
Assure print function compatibility in python 2.x
Uwe Stöhr [Thu, 23 Nov 2017 23:16:23 +0000 (00:16 +0100)]
Win installer: update to Qt 5.9.3
Jean-Marc Lasgouttes [Sat, 15 Jul 2017 15:23:22 +0000 (17:23 +0200)]
Handle properly top/bottom of inset with mac-like cursor movement
The correct behavior is to go to position 0 going up from first row,
and to end of row when going down on last row.
The targetx value of the cursor is not updated, which makes cursor
movement more natural.
Fixes bug #10701.
Jean-Marc Lasgouttes [Thu, 23 Nov 2017 14:38:17 +0000 (15:38 +0100)]
Avoid some caret ghosts
When the caret is at end of row, if may happen that it is drawn after
the end of the row. In this case caret blinking will not work
properly. This patch extends the row background on the left and right
by Inset::TEXT_TO_INSET_OFFSET. This is only a hack that will not work
if the caret has a ridiculous width like 6.
Additionally, introduce some (disabled) debug code that numbers the
rows on screen by painting order.
Finally, make the code that detects whether the caret was in a given
row more precise (take boundary into account).
Fixes (mostly, see above) bug #10797.
Juergen Spitzmueller [Thu, 23 Nov 2017 07:16:10 +0000 (08:16 +0100)]
Use python3 print syntax
Richard Heck [Thu, 23 Nov 2017 00:14:21 +0000 (19:14 -0500)]
Update makefile after change of filename.
Richard Heck [Thu, 23 Nov 2017 00:13:40 +0000 (19:13 -0500)]
Revert "Uwe updated this on Windows, and it became lowercase."
This reverts commit
04bf4675499da3bfd87f1aa1f4d50217780b31b8 .
Richard Heck [Wed, 22 Nov 2017 23:47:39 +0000 (18:47 -0500)]
Uwe updated this on Windows, and it became lowercase.
Uwe Stöhr [Wed, 22 Nov 2017 22:26:58 +0000 (23:26 +0100)]
svg2pdftex.py: make print work with Python 2 and 3
Juergen Spitzmueller [Wed, 22 Nov 2017 15:45:13 +0000 (16:45 +0100)]
Remove more lower-level dependencies
Juergen Spitzmueller [Wed, 22 Nov 2017 15:42:33 +0000 (16:42 +0100)]
Add a note about dependency declarations in layouts/modules
Kornel Benko [Wed, 22 Nov 2017 10:17:55 +0000 (11:17 +0100)]
Restore uk/Intro.lyx and renaming due to windows ignoring capitalization instead
Juergen Spitzmueller [Wed, 22 Nov 2017 07:33:09 +0000 (08:33 +0100)]
Remove grandchild-level dependencies.
We agreed to only check for top-level dependencies, see
https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg195679.html
This reverts
30475b4b0 .
Uwe Stöhr [Tue, 21 Nov 2017 23:32:25 +0000 (00:32 +0100)]
Win installer: check that the Win installer is not already running
Uwe Stöhr [Tue, 21 Nov 2017 22:20:31 +0000 (23:20 +0100)]
Ukrainian Footnote.png: update image
Kornel Benko [Tue, 21 Nov 2017 21:09:53 +0000 (22:09 +0100)]
Use existing graphic paths only, uk/Intro.lyx
Uwe Stöhr [Tue, 21 Nov 2017 21:02:00 +0000 (22:02 +0100)]
acmart.layout: fix a dependency
for the discussion about the dependencies see bug #10806
Juergen Spitzmueller [Tue, 21 Nov 2017 18:25:01 +0000 (19:25 +0100)]
fi.po: updates by Jari-Matti Mäkelä
(cherry picked from commit
74106b9960c853442b7d41334e277318f5a00a7c )
Uwe Stöhr [Tue, 21 Nov 2017 00:12:08 +0000 (01:12 +0100)]
Win installer: add two more required packages and correct a word
- vntex is necessary for Vietnamese, greek-fontenc for Greek
- use correct term for Farsi
Uwe Stöhr [Mon, 20 Nov 2017 22:48:44 +0000 (23:48 +0100)]
doc files: port today's changes to master
Uwe Stöhr [Mon, 20 Nov 2017 21:01:26 +0000 (22:01 +0100)]
sv.po: updates from Jim
Uwe Stöhr [Mon, 20 Nov 2017 20:05:16 +0000 (21:05 +0100)]
Win installer: big file cleanup
- update the file list in Makefile.am
- don't try to build it via CMake because this requires more than CMakeLists.txt. If it should nevertheless be built via CMake the .cmake files need to be rewritten from scratch
- remove unused and outdated files
- update an SVG file
Uwe Stöhr [Mon, 20 Nov 2017 20:01:14 +0000 (21:01 +0100)]
Win installer: another update for Packages.txt
- necessary for seminar with XeTeX
Kornel Benko [Mon, 20 Nov 2017 11:57:02 +0000 (12:57 +0100)]
Use existing graphic paths only
Juergen Spitzmueller [Mon, 20 Nov 2017 09:59:09 +0000 (10:59 +0100)]
Longtable: only output the caption contents in a caption row.
Fixes: #10791
Uwe Stöhr [Mon, 20 Nov 2017 01:33:28 +0000 (02:33 +0100)]
template files: save them all with LyX 2.3RC1
Uwe Stöhr [Mon, 20 Nov 2017 01:32:48 +0000 (02:32 +0100)]
Win installer: update package list
these are the packages required to compile all LyX doc, examples and template files that are not yet installed by MiKTeX on a fresh installation.
Uwe Stöhr [Mon, 20 Nov 2017 01:31:00 +0000 (02:31 +0100)]
varwidth-floats-side-by-side.lyx: use PDF images
Uwe Stöhr [Mon, 20 Nov 2017 01:29:45 +0000 (02:29 +0100)]
apa6.layout: add dependencies
should go in for LyX 2.3.1
Uwe Stöhr [Mon, 20 Nov 2017 01:29:19 +0000 (02:29 +0100)]
acmart.layout: add dependencies
should go in for LyX 2.3.1
Uwe Stöhr [Sun, 19 Nov 2017 15:07:08 +0000 (16:07 +0100)]
chkconfig.ltx: add 3 required packages
- the l3 packages are required by more and more packages. Here with a fresh MiKTeX installation I cannot even compile the UserGuide without the l3 packages.
should also go in for LyX 2.3.1
Uwe Stöhr [Sun, 19 Nov 2017 14:48:02 +0000 (15:48 +0100)]
beamer.layout: add 3 dependencies
both are required according to the beamer.cls
candidate for LyX 2.3.1
Juergen Spitzmueller [Sun, 19 Nov 2017 13:32:53 +0000 (14:32 +0100)]
Disable non-functional table rotation for longtables
In the long run, proper longtable rotation via [pdf]lscape should
be implemented.
See #9194
Juergen Spitzmueller [Sun, 19 Nov 2017 11:56:40 +0000 (12:56 +0100)]
Allow footnotes in floating tables via tablefootnote package
See #808.
Juergen Spitzmueller [Sun, 19 Nov 2017 07:59:48 +0000 (08:59 +0100)]
Fix footnote output in description item
Fixes: #9387
Juergen Spitzmueller [Sun, 19 Nov 2017 07:57:58 +0000 (08:57 +0100)]
Fix footnote output in tables outside floats and longtable header/footer
Fixes: #808 (sic!), #5869
Uwe Stöhr [Sun, 19 Nov 2017 01:21:30 +0000 (02:21 +0100)]
doc files: save them with LyX 2.3 - part 2
Uwe Stöhr [Sun, 19 Nov 2017 00:55:05 +0000 (01:55 +0100)]
doc files: save them with LyX 2.3 - part 1
Uwe Stöhr [Sun, 19 Nov 2017 00:37:22 +0000 (01:37 +0100)]
Math.lyx: correct a term
Uwe Stöhr [Sun, 19 Nov 2017 00:30:09 +0000 (01:30 +0100)]
Catalan mathed.lyx: move outdated file to attic/ca/mathed.lyx
(Besides that it is outdated, we already have all its info in the Spanish math manual and all Catalans understand Spanish.)
Uwe Stöhr [Sat, 18 Nov 2017 23:53:10 +0000 (00:53 +0100)]
Math.lyx: update the section about subequations.lyx
- an extra example file is not necessary since we already describe subequations in the math manual
Uwe Stöhr [Sat, 18 Nov 2017 23:46:44 +0000 (00:46 +0100)]
es.po: some corrections
Uwe Stöhr [Sat, 18 Nov 2017 17:16:08 +0000 (18:16 +0100)]
R-S-statements.lyx: move to attic/R-S-statements.lyx
RS statements are deprecated since 2015. Their replacement are the HP statements for which LyX has an example file since LyX 2.2.
Uwe Stöhr [Sat, 18 Nov 2017 17:04:57 +0000 (18:04 +0100)]
example files: save them with LyX 2.3 - part 3/
also some minor adjustment to some files like date and version
Uwe Stöhr [Sat, 18 Nov 2017 16:58:28 +0000 (17:58 +0100)]
Slovakian splash.lyx: Revert
this file version was no in the 2.3.x tree. Please use the 2.3.x tree for the up to date docs unless you are describing new features only available in master
This partly reverts commit
828286d313955623eb4c5919b700809cee59ac44 .
Uwe Stöhr [Sat, 18 Nov 2017 16:50:23 +0000 (17:50 +0100)]
example files: save them with LyX 2.3 - part 2
also some minor adjustment to some files like date and version
Uwe Stöhr [Sat, 18 Nov 2017 16:34:35 +0000 (17:34 +0100)]
example files: save them with LyX 2.3 - part 1
also some minor adjustment to some files like date and version
Uwe Stöhr [Sat, 18 Nov 2017 16:21:46 +0000 (17:21 +0100)]
example files: suppress date on title page for cases where this is misleading
Uwe Stöhr [Sat, 18 Nov 2017 16:21:13 +0000 (17:21 +0100)]
lilypond.lyx: remove version info
The LyX version is not necessary
Uwe Stöhr [Sat, 18 Nov 2017 16:20:12 +0000 (17:20 +0100)]
Literate.lyx: remove unnecessary TeX code
Uwe Stöhr [Sat, 18 Nov 2017 16:04:06 +0000 (17:04 +0100)]
xypic.lyx: don't output the date in the first page
Uwe Stöhr [Sat, 18 Nov 2017 16:03:10 +0000 (17:03 +0100)]
beamer.lyx: use a PDF image and update version
Uwe Stöhr [Sat, 18 Nov 2017 15:52:23 +0000 (16:52 +0100)]
Win installer/lyx-standard.nsi: revert a comment that should not have been committed today
Uwe Stöhr [Sat, 18 Nov 2017 15:49:26 +0000 (16:49 +0100)]
Win installer: add info to the main installer file version
Uwe Stöhr [Sat, 18 Nov 2017 14:25:07 +0000 (15:25 +0100)]
Win installer: enable support for high DPI
Uwe Stöhr [Sat, 18 Nov 2017 13:16:00 +0000 (14:16 +0100)]
Win installer: add more LaTeX packages necessary to compile all doc files
Kornel Benko [Fri, 17 Nov 2017 16:53:52 +0000 (17:53 +0100)]
Cmake export tests: Use pre-compiled regular expressions
The expressions are used for determining the used external files
in a lyx-source. Using pre-compiled expr makes it more readable.
Uwe Stöhr [Tue, 14 Nov 2017 22:12:19 +0000 (23:12 +0100)]
io.po: updates from Giovanni
Uwe Stöhr [Mon, 13 Nov 2017 22:16:46 +0000 (23:16 +0100)]
Math.lyx: update version number
Uwe Stöhr [Mon, 13 Nov 2017 20:23:32 +0000 (21:23 +0100)]
Win installer: dvips is necessary for instant preview
dvips is no longer installed by default in MiKTeX
jpc [Mon, 13 Nov 2017 10:56:05 +0000 (11:56 +0100)]
Untranslated tooltips in fr.po