]>
git.lyx.org Git - features.git/log
Pavel Sanda [Fri, 5 Jan 2018 22:42:03 +0000 (23:42 +0100)]
* cs.po
Uwe Stöhr [Fri, 5 Jan 2018 20:52:15 +0000 (21:52 +0100)]
ru.po: fix msgmerge warnings
Jean-Marc Lasgouttes [Fri, 5 Jan 2018 18:59:31 +0000 (19:59 +0100)]
Move the inPixels(MetricsBase) help from Length to MetricsBase.
A basic class like Length should not depend on something from
frontend.
This change allows to remove several dummy implementations of
theFontMetrics().
Jean-Marc Lasgouttes [Fri, 5 Jan 2018 18:29:45 +0000 (19:29 +0100)]
Update buffer when an inset or an INFO inset has bee inserted
This is important for info inset, since if updateBuffer needs to be
run in redoParagraph (for the macro code), crashes can happen.
Fixes bug #10944.
Enrico Forestieri [Fri, 5 Jan 2018 18:27:24 +0000 (19:27 +0100)]
Account for Qt 5.10
Fix regular sed expression in order to catch a second digit in the
Qt minor version number.
Jean-Marc Lasgouttes [Wed, 3 Jan 2018 17:28:55 +0000 (18:28 +0100)]
Remove 'premature optimization' that proved buggy
At some time it seemed like a good idea in breakRow() to return early
when the row was bound to be empty. It turns out that this creates two
symptoms:
* empty paragraphs will not have an end of paragraph marker
* since row width is not correctly computed in this case, caret ghosts
can appear in master.
This commit removes the oprimization and replace the do {} while()
construct to a straightforward while() {}.
Related to bug #10952.
Juergen Spitzmueller [Fri, 5 Jan 2018 10:08:23 +0000 (11:08 +0100)]
Minor re-ordering of the Insert menu
Richard Heck [Tue, 2 Jan 2018 03:18:52 +0000 (22:18 -0500)]
Fix bug #10951.
The Buffer member for the remembered definition_ was not being set.
Juergen Spitzmueller [Thu, 4 Jan 2018 17:38:08 +0000 (18:38 +0100)]
Do note attempt to nest more than possible.
Kornel Benko [Wed, 3 Jan 2018 13:58:58 +0000 (14:58 +0100)]
Cmake build: Added handling for lyxrc.dist for Apple and Unix
Also added include path for magic.h, as found out by Joel Kulesza
Juergen Spitzmueller [Wed, 3 Jan 2018 12:20:05 +0000 (13:20 +0100)]
Properly handle color none.
Fixes: #5870
Juergen Spitzmueller [Wed, 3 Jan 2018 12:16:07 +0000 (13:16 +0100)]
Disable useless environment-split function at the core.
Juergen Spitzmueller [Wed, 3 Jan 2018 09:58:30 +0000 (10:58 +0100)]
Use the command-alternatives sequence as defined in menus.bind
Otherwise, the shortcut is not displayed in the menu.
Juergen Spitzmueller [Wed, 3 Jan 2018 07:55:35 +0000 (08:55 +0100)]
Amend
761a542551bc9 once more.
As it is designed now, Static label is the only case that makes sense.
Juergen Spitzmueller [Tue, 2 Jan 2018 17:05:43 +0000 (18:05 +0100)]
Limit
761a542551bc9 to the case where we have a label.
Jean-Marc Lasgouttes [Mon, 1 Jan 2018 23:23:27 +0000 (00:23 +0100)]
Do not use Application for a 'cancel export' boolean
It is not good for a support function to depend of anything outside of
it, especially Application.
Here the boolean that indicates that export should be canceled is put
in Systemcall. This allows to remove all the dummy theApp() function
that have been added here and there for linking needs.
Uwe Stöhr [Tue, 2 Jan 2018 14:24:43 +0000 (15:24 +0100)]
ar.po: updates from Hatim
Juergen Spitzmueller [Tue, 2 Jan 2018 12:55:01 +0000 (13:55 +0100)]
lyx_pot.py: consider empty encoding gui name
Günter Milde [Tue, 2 Jan 2018 11:50:48 +0000 (12:50 +0100)]
Update UserGuide and de/UserGuide.
Remove warnings for issues fixed in lyx2lyx.
Update the GUI name of the ligature-dash Option.
Fix example for preventing unwanted line break in French.
Juergen Spitzmueller [Tue, 2 Jan 2018 10:53:01 +0000 (11:53 +0100)]
Update layout format
Günter Milde [Mon, 1 Jan 2018 21:52:08 +0000 (22:52 +0100)]
Documentation fixes: revert conversion of -- to en dash in code.
lyx2lyx erroneousely merged -- to en dash in text with logical
markup "code".
Revealed by recent (but now silenced) ctest fails.
Also add space around en dash in examples.
Günter Milde [Tue, 2 Jan 2018 08:28:04 +0000 (09:28 +0100)]
Fix a comment.
Ligating of -- to en dashes occure also in teletype fonts.
With some 8-bit fonts, em and en dashes are not copied
exported from the PDF (but this is not limited to dashes in teletype).
With LatinModern, PDF export works fine
MWE:
\documentclass[]{article}
%\usepackage{lmodern}
\usepackage[T1]{fontenc}
\begin{document}
Hallo \texttt{Welt --Welt ---Welt}
Hallo Welt --Welt ---Welt
Jean-Marc Lasgouttes [Mon, 1 Jan 2018 22:54:13 +0000 (23:54 +0100)]
Fix 'make check'
Pavel Sanda [Mon, 1 Jan 2018 22:10:56 +0000 (23:10 +0100)]
* cs.po
Pavel Sanda [Mon, 1 Jan 2018 21:54:04 +0000 (22:54 +0100)]
Remerge cs.po
Enrico Forestieri [Mon, 1 Jan 2018 18:07:14 +0000 (19:07 +0100)]
Update it.po
Uwe Stöhr [Mon, 1 Jan 2018 15:56:43 +0000 (16:56 +0100)]
ru.po: updates from Yuri
Uwe Stöhr [Mon, 1 Jan 2018 15:56:31 +0000 (16:56 +0100)]
Russian doc files: new and updated translations by Yuri
Uwe Stöhr [Mon, 1 Jan 2018 13:39:59 +0000 (14:39 +0100)]
French UserGuide.lyx: port Jean-Pierre's recent changes to master
Kornel Benko [Mon, 1 Jan 2018 13:22:10 +0000 (14:22 +0100)]
Update sk.po
Kornel Benko [Mon, 1 Jan 2018 13:03:51 +0000 (14:03 +0100)]
Added new testcase to check for correct VCS-Info
Juergen Spitzmueller [Mon, 1 Jan 2018 12:45:14 +0000 (13:45 +0100)]
de.po: update
Juergen Spitzmueller [Mon, 1 Jan 2018 12:40:49 +0000 (13:40 +0100)]
Prepend "Insert " in the context menu for environment separators.
Juergen Spitzmueller [Mon, 1 Jan 2018 11:40:16 +0000 (12:40 +0100)]
mention new option
Kornel Benko [Mon, 1 Jan 2018 11:16:09 +0000 (12:16 +0100)]
Testfile for checking vcs_info.
File created by Pavel Šanda
Juergen Spitzmueller [Sun, 31 Dec 2017 17:58:32 +0000 (18:58 +0100)]
LFUNS.lyx: update
Juergen Spitzmueller [Sun, 31 Dec 2017 17:57:27 +0000 (18:57 +0100)]
LyXAction.cpp: Whitespace and line breaking fixes.
Juergen Spitzmueller [Sun, 31 Dec 2017 13:43:45 +0000 (14:43 +0100)]
Another case where nesting needs to be preserved.
Juergen Spitzmueller [Sun, 31 Dec 2017 09:37:35 +0000 (10:37 +0100)]
Mark follow-up paragraphs in a paragraph group as nested.
This gives a more consistent indication of what belongs to an environment
(and semantically, such paragraphs are synonymous to nested standard
paragraphs)
Addresses part of #9261.
Juergen Spitzmueller [Sun, 31 Dec 2017 09:14:59 +0000 (10:14 +0100)]
Distribute UG changes following menu move of environment-split
Juergen Spitzmueller [Sun, 31 Dec 2017 09:00:38 +0000 (10:00 +0100)]
Distribute auto-nest documentation.
Juergen Spitzmueller [Sun, 31 Dec 2017 08:41:43 +0000 (09:41 +0100)]
Use real cursor pit, not the modified one.
Kornel Benko [Sat, 30 Dec 2017 19:40:01 +0000 (20:40 +0100)]
Update sk.po
Juergen Spitzmueller [Sat, 30 Dec 2017 18:29:51 +0000 (19:29 +0100)]
Distribute beamer manual changes in the wake of the environment-split mods.
Juergen Spitzmueller [Sat, 30 Dec 2017 18:13:04 +0000 (19:13 +0100)]
de.po: update
Juergen Spitzmueller [Sat, 30 Dec 2017 17:54:39 +0000 (18:54 +0100)]
Maintain nesting when separating outer environment
Juergen Spitzmueller [Sat, 30 Dec 2017 16:54:09 +0000 (17:54 +0100)]
Move environment-split from Edit to Insert, as requested.
Juergen Spitzmueller [Sat, 30 Dec 2017 16:04:10 +0000 (17:04 +0100)]
Don't show append function where it does not make sense.
Juergen Spitzmueller [Sat, 30 Dec 2017 15:26:20 +0000 (16:26 +0100)]
Revert "Fix environment-split when at pos 0 of a frame title."
This reverts commit
1ff34a973d2748c407e4b7a6ea2284dac895b8ee .
Juergen Spitzmueller [Sat, 30 Dec 2017 11:50:48 +0000 (12:50 +0100)]
Fix environment-split when at pos 0 of a frame title.
This introduces a force argument to argument-insert that inserts
arguments even if they are already there. We need this here in order
to prevent DEPM.
Juergen Spitzmueller [Sat, 30 Dec 2017 10:54:37 +0000 (11:54 +0100)]
Fix environment-split previous problem spotted by Joel
Special case: append from the separator paragraph.
Richard Heck [Thu, 28 Dec 2017 19:41:47 +0000 (14:41 -0500)]
Fix bug #10835.
VCS InsetInfos were broken by the switch at
2e934fc5f8 to using
updateBuffer to handle them. But we do not really want to go through
that routine in a clone, not for those insets, whose contents we
want to be the same as in the original Buffer.
Also fixes some issues noted in discussion of this bug: Failure to
update after context menu switch; failure to re-calculate shortcuts,
which can change.
Richard Heck [Fri, 29 Dec 2017 20:53:43 +0000 (15:53 -0500)]
Minor code simplification.
Richard Heck [Thu, 28 Dec 2017 19:19:11 +0000 (14:19 -0500)]
Fix problem with BibTeX error reporting.
We only want to abort this process if the process was killed.
Also fix some style issues.
Juergen Spitzmueller [Fri, 29 Dec 2017 10:51:24 +0000 (11:51 +0100)]
Properly implement IsTocCaption for Arguments in standard TOC
Fixes: #10631
Candidate for 2.3.x.
Juergen Spitzmueller [Fri, 29 Dec 2017 09:36:03 +0000 (10:36 +0100)]
Add IsAutoNestedBy
This is complementary to AutoNests: Styles can determine which other
style should auto-nest them. This is particularly useful for modules
that add new styles which should be auto-nested in a given context.
Juergen Spitzmueller [Fri, 29 Dec 2017 09:03:00 +0000 (10:03 +0100)]
Some AutoNest polishment.
* Rename Nests to AutoNests
* Do it when changing from any style
Kornel Benko [Fri, 29 Dec 2017 08:28:12 +0000 (09:28 +0100)]
ctests: Ignore lyx2lyx warnings regarding ligature dashes
This may amend
586d16a "Fix lyx2lyx conversion of dashes."
Juergen Spitzmueller [Thu, 28 Dec 2017 16:56:48 +0000 (17:56 +0100)]
EndNests in Layout::write()
Juergen Spitzmueller [Thu, 28 Dec 2017 16:44:54 +0000 (17:44 +0100)]
Implement auto-nesting.
Now layouts can specify other layouts that should be nested in and
after the current one (if the layout is switched from the current one
and if it follows a paragraph in the current one).
This is particularly useful for things such as the beamer frames, where
particular layouts are practically always nested.
Juergen Spitzmueller [Thu, 28 Dec 2017 13:17:40 +0000 (14:17 +0100)]
Introduce environment-split before
This one prepends the new environment rather than appending it.
Easy way to add a new beamer frame before the current one.
Juergen Spitzmueller [Thu, 28 Dec 2017 11:28:01 +0000 (12:28 +0100)]
Introduce environment-split previous
This one checks for an environment in the previous paragraph (outside
the nesting scope).
Juergen Spitzmueller [Wed, 27 Dec 2017 14:43:40 +0000 (15:43 +0100)]
Fix footnotes in table with RevTeX4
These classes come with their own working implementation of table
footnotes, so we are not supposed to use the tablefootnote or
footnote package.
Also add missing outliner name.
Juergen Spitzmueller [Wed, 27 Dec 2017 10:49:54 +0000 (11:49 +0100)]
Open intitle command explicitly also for passthru.
Kornel Benko [Wed, 27 Dec 2017 09:11:03 +0000 (10:11 +0100)]
Update sk.po
Do we really need to commit also .gmo-files in master branch?
Juergen Spitzmueller [Tue, 26 Dec 2017 12:11:00 +0000 (13:11 +0100)]
Use TeXOnePar for the inpreamble layouts
This considers paragraph language and spacing (and simplifies the code)
Juergen Spitzmueller [Tue, 26 Dec 2017 11:35:55 +0000 (12:35 +0100)]
Tufte title is fragile
Candidate for 2.3.x.
Juergen Spitzmueller [Tue, 26 Dec 2017 10:40:58 +0000 (11:40 +0100)]
Fix inpreamble styles.
Kornel Benko [Tue, 26 Dec 2017 09:45:44 +0000 (10:45 +0100)]
pocheck.pl: In checking for period at end, treat '...' be equivalent to '…'
Scott Kostyshak [Tue, 26 Dec 2017 07:03:06 +0000 (02:03 -0500)]
Fix Python escaping of unicode string
When removing "r" from "ur", it is needed to add extra backslashes.
See:
https://www.mail-archive.com/search?l=mid&q=
2024193 .iXIh6cq6L3%40myth
Thanks to José.
This commit amends
b7983478 (and thus
586d16a4 ).
Richard Heck [Sun, 24 Dec 2017 16:17:50 +0000 (11:17 -0500)]
Fix crash after cancellation code.
I thought we didn't use clones when exporting from the command line.
We probably shouldn't.
Kornel Benko [Mon, 25 Dec 2017 13:42:34 +0000 (14:42 +0100)]
Update sk.po
Juergen Spitzmueller [Mon, 25 Dec 2017 11:35:43 +0000 (12:35 +0100)]
de.po: update
Juergen Spitzmueller [Mon, 25 Dec 2017 11:22:45 +0000 (12:22 +0100)]
Improve error msg
Juergen Spitzmueller [Sun, 24 Dec 2017 16:14:05 +0000 (17:14 +0100)]
Prevent to paste uncodable characters into verbatim
Since we now have proper encoding here, we can set this restriction.
Juergen Spitzmueller [Sun, 24 Dec 2017 16:10:42 +0000 (17:10 +0100)]
Introduce "inherit" encoding for latex_language
This gets rid of the hardcoded latin1 encoding for verbatim. Instead,
verbatim now inherits the encoding from the context, which is what is
actually wanted here.
Fixes: #9012, #9258
Kornel Benko [Sun, 24 Dec 2017 12:21:09 +0000 (13:21 +0100)]
Update sk.po
Scott Kostyshak [Sun, 24 Dec 2017 01:41:16 +0000 (20:41 -0500)]
ctests: run URL tests at beginning
The URL tests can take a long time to complete. By running them at
the beginning, time can be saved when running the ctests in
parallel.
This saves around 10 minutes for me.
Pavel Sanda [Sun, 24 Dec 2017 03:56:15 +0000 (04:56 +0100)]
layouttranslation: review cs
Pavel Sanda [Sun, 24 Dec 2017 03:34:20 +0000 (04:34 +0100)]
layouttranslation: sk is clearly reviewed
Scott Kostyshak [Sun, 24 Dec 2017 02:42:43 +0000 (21:42 -0500)]
Fix Python unicode string in lyx2lyx
This commit amends
586d16a4 .
Pavel Sanda [Sun, 24 Dec 2017 02:08:34 +0000 (03:08 +0100)]
Russian layouttranslations reviewed by Yuriy, Dec 13 2017.
Richard Heck [Sat, 23 Dec 2017 20:04:40 +0000 (15:04 -0500)]
Put the dummy tex2lyx support where it is supposed to be.
Richard Heck [Sat, 23 Dec 2017 19:47:38 +0000 (14:47 -0500)]
Whitespace.
Richard Heck [Sat, 23 Dec 2017 19:40:00 +0000 (14:40 -0500)]
Dummy theApp() method should return a pointer.
Juergen Spitzmueller [Sat, 23 Dec 2017 12:26:35 +0000 (13:26 +0100)]
Title commands are fragile in memoir
Juergen Spitzmueller [Sat, 23 Dec 2017 12:25:13 +0000 (13:25 +0100)]
Fix switch of language and line spacing in InTitle commands.
Fixes: #9332, #10849
Richard Heck [Sat, 23 Dec 2017 03:03:54 +0000 (22:03 -0500)]
Fix puzzling warning.
Richard Heck [Sat, 23 Dec 2017 02:55:43 +0000 (21:55 -0500)]
Improve error message when LaTeX process is killed.
Kornel Benko [Fri, 22 Dec 2017 07:26:14 +0000 (08:26 +0100)]
Update sk.po
Kornel Benko [Fri, 22 Dec 2017 06:19:13 +0000 (07:19 +0100)]
Fix linking errors for check_filetools, check_trivstring, check_convert, check_lstrings
This may amend
f1df7e478da5934a77436f039429d8d2411f3efb
Richard Heck [Thu, 21 Dec 2017 23:59:46 +0000 (18:59 -0500)]
Release notes for LFUN_EXPORT_CANCEL.
Richard Heck [Thu, 21 Dec 2017 23:46:10 +0000 (18:46 -0500)]
Dummy script for testing background export cancellation.
Richard Heck [Thu, 21 Dec 2017 23:46:06 +0000 (18:46 -0500)]
Allow makeindex, nomencl, and bibtex runs to be canceled, too.
Richard Heck [Thu, 21 Dec 2017 23:46:00 +0000 (18:46 -0500)]
Allow LaTeX processes to be canceled.
Richard Heck [Thu, 21 Dec 2017 23:45:56 +0000 (18:45 -0500)]
Converter infrastructure for cancellation of background processes.
Richard Heck [Thu, 21 Dec 2017 23:45:52 +0000 (18:45 -0500)]
Systemcall infrastructure for canceling background processes.
Richard Heck [Thu, 21 Dec 2017 23:45:48 +0000 (18:45 -0500)]
Fix linking errors. Someone else will have to tell me if this
is the best way to do it.
Richard Heck [Thu, 21 Dec 2017 23:45:33 +0000 (18:45 -0500)]
LFUN and basic code to enable cancellation of background
processes.
Kornel Benko [Thu, 21 Dec 2017 11:01:14 +0000 (12:01 +0100)]
pocheck.pl: checking for shortcuts using '&'
'&&' is not a shorcut