]>
git.lyx.org Git - features.git/log
Uwe Stöhr [Sun, 16 Oct 2016 12:33:18 +0000 (14:33 +0200)]
Win build: fix a typo
Uwe Stöhr [Sun, 16 Oct 2016 12:31:46 +0000 (14:31 +0200)]
Win installer: extend list of supported babel packages
Juergen Spitzmueller [Sat, 15 Oct 2016 14:34:16 +0000 (16:34 +0200)]
Implement wrapping in next-change (#10388).
Uwe Stöhr [Fri, 14 Oct 2016 23:44:14 +0000 (01:44 +0200)]
Customization.lyx: use change tracking for the changes made in
0eb651a2
Juergen Spitzmueller [Fri, 14 Oct 2016 18:09:54 +0000 (20:09 +0200)]
enumitem.module: handle resume counter
Uses the new counter tags.
Juergen Spitzmueller [Fri, 14 Oct 2016 18:09:25 +0000 (20:09 +0200)]
linguistics.module: proper example counters
Uses the new counter tags.
Juergen Spitzmueller [Fri, 14 Oct 2016 18:08:12 +0000 (20:08 +0200)]
New layout tags for better counter handling
* ResumeCounter: allow to resume an (enumerate) counter
* StepMasterCounter: allow to increase a master counter
Juergen Spitzmueller [Fri, 14 Oct 2016 09:40:53 +0000 (11:40 +0200)]
Fix label display in linguistic examples
Ideally, we would use a proper counter here, but this seems to be
impossible with the current counter mechanism.
What we would need is a counter that is incremented when either of the
layouts is used. Currently, the counter seems to be stepped only inside
one layout.
The current fix is a candidate for stable.
Jean-Marc Lasgouttes [Fri, 30 Sep 2016 14:50:09 +0000 (16:50 +0200)]
Remove useless #include
Including MathData.h in InsetMath.h is expensive and not required.
Uwe Stöhr [Thu, 13 Oct 2016 22:36:28 +0000 (00:36 +0200)]
Win installer: new version with Qt 5.6.2
Uwe Stöhr [Thu, 13 Oct 2016 00:07:30 +0000 (02:07 +0200)]
Win installer: uses now NSIS 3
Kornel Benko [Wed, 12 Oct 2016 12:35:23 +0000 (14:35 +0200)]
Cmake export tests: Introduce 'LYX_DEBUG_LATEX' environment variable.
Setting this variable to '1' will include also latex messages in
ctest log file LastTest.log.
Scott Kostyshak [Sun, 9 Oct 2016 00:59:54 +0000 (20:59 -0400)]
Change default working directory from ~/ to "."
Note that the lyxrc.document_path variable corresponds to what we
call the "Working directory" in the GUI preferences dialog.
Setting document_path to "." makes it so when LyX is started from a
directory, that directory is the default path for many of LyX's
operations, such as the following:
- new file, new from template
- adding a custom BibTeX file
- GUI compare dialog
- local layout button in document settings
- external material file browser
- graphics browser, include browser
The best guess for where the user wants to save or find files is the
directory the user started LyX from. Before, the default was always
the home directory. If desired, the old behavior can be restored by
changing the default path in Preferences > "Working directory".
This commit takes advantage of
9b64d7bd , which allows the use of a
relative path for path preferences.
Uwe Stöhr [Wed, 12 Oct 2016 00:24:01 +0000 (02:24 +0200)]
Win installer: update some dictionaries
there is now a separate thesaurus for Australian available
Uwe Stöhr [Wed, 12 Oct 2016 00:21:21 +0000 (02:21 +0200)]
uk.po: translation updates from Yuri for master
(he also sent an update for 2.2.x but unfortunately a day too late)
Uwe Stöhr [Tue, 11 Oct 2016 00:30:58 +0000 (02:30 +0200)]
Win installer: changelog for LyX 2.2.2
Uwe Stöhr [Tue, 11 Oct 2016 00:30:08 +0000 (02:30 +0200)]
Win installer: remove outdated actions for Belarusion
there is now the package babel-belarusian available since a while
Günter Milde [Mon, 10 Oct 2016 22:09:45 +0000 (00:09 +0200)]
custom ctest sample: Accented Cyrillic characters fail if the input encoding is ASCII.
Günter Milde [Mon, 10 Oct 2016 21:34:32 +0000 (23:34 +0200)]
lib/unicodesymbols fixes and tests
Unicode blocks 125, 152, and 246
Uwe Stöhr [Mon, 10 Oct 2016 21:47:33 +0000 (23:47 +0200)]
French UserGuide.lyx: back to format of 2.2
Sorry for this, but see the last "rule" of the documentation guidelines: don't upgrade the fileformat unnecessarily
Günter Milde [Mon, 10 Oct 2016 12:14:33 +0000 (14:14 +0200)]
seminar ctest fixes
* custom non-tex fonts with all required characters
* use 2.2 fileformat (easier backporting)
* test all export formats
Also, fix pattern for "mixing_inTitle_layouts" in unreliableTests.
jpc [Mon, 10 Oct 2016 10:18:13 +0000 (11:18 +0100)]
Typo pointed out in the lyx-fr mailing list
Uwe Stöhr [Mon, 10 Oct 2016 00:45:05 +0000 (02:45 +0200)]
Development.lyx: small change from Scott
Enrico Forestieri [Sun, 9 Oct 2016 23:25:07 +0000 (01:25 +0200)]
Remove context help button hint from file dialogs
This removes the useless '?' button that appears in Windows builds
when using non-native dialogs. Complements
cf26d53e .
Scott Kostyshak [Sun, 9 Oct 2016 22:04:41 +0000 (18:04 -0400)]
Further amend
168d3557 to satisfy GCC 4.6
GCC 4.6 does not support non-static data member initializers.
As Guillaume points out, changing to static does not change the
intent.
Scott Kostyshak [Sun, 9 Oct 2016 21:22:22 +0000 (17:22 -0400)]
Amend
168d3557
I forgot to append an underscore for the private data member.
Scott Kostyshak [Sat, 8 Oct 2016 03:18:54 +0000 (23:18 -0400)]
Factor out magic zoom minimum to a const member
The limit of 10% is used in both getStatus() and dispatch() to set a
minimum zoom level. Having it centralized makes the code more
readable and makes changing the minimum less error-prone.
Scott Kostyshak [Sun, 9 Oct 2016 17:42:18 +0000 (13:42 -0400)]
Whitespace
Guillaume Munch [Sun, 9 Oct 2016 18:12:31 +0000 (20:12 +0200)]
Add Daniel to credits
Daniel Ramöller [Mon, 3 Oct 2016 18:20:16 +0000 (20:20 +0200)]
Remove question marks from Windows dialogs
Guillaume Munch [Sun, 9 Oct 2016 17:47:50 +0000 (19:47 +0200)]
Remove unused variable warning
Günter Milde [Sat, 8 Oct 2016 20:48:13 +0000 (22:48 +0200)]
lib/unicodesymbols: fix test sample
The package "dictsym"provides symbols for maps and dictionaries.
Should it be used in unicodefonts or is it "too exotic"?
jpc [Sat, 8 Oct 2016 18:07:18 +0000 (19:07 +0100)]
Update fr.po
jpc [Sat, 8 Oct 2016 17:04:56 +0000 (18:04 +0100)]
Wrong format number
Günter Milde [Sat, 8 Oct 2016 14:57:52 +0000 (16:57 +0200)]
unicodesymbols fixes.
force=utf8 is required for most characters provided by add-on packgages
and (almost) all mathematical characters, because these are not
set up for inputencs utf8
unicodesymbols.py failed here (python 2.7 under Linux) before the simple fix
included in this commit.
jpc [Thu, 6 Oct 2016 12:52:16 +0000 (13:52 +0100)]
lettre: remove old workaround about page format in layout and update template
Guillaume Munch [Wed, 5 Oct 2016 23:32:47 +0000 (01:32 +0200)]
Add the customary 1-pixel gap before MathMacroTemplate to better see cursor
Guillaume Munch [Wed, 5 Oct 2016 23:32:21 +0000 (01:32 +0200)]
Make the border of hullRegexp pixel perfect
Guillaume Munch [Thu, 29 Sep 2016 18:20:33 +0000 (20:20 +0200)]
Fix borders of InsetMathGrid
* New virtual functions leftMargin() and rightMargin() to get rid of
drawWithMargin()
* Factor and rewrite code for borders.
* Fix several offset calculations.
Known issues:
* Borders of multicols look too good and do not correspond to the pdf
output. (non-regression)
* Bounding box for Hull (Regexp) not pixel-perfect.
* Bounding boxes of Diagram, XYmatrix, are too tight when there are
borders. Also border should be disabled. (non-regression)
Enrico Forestieri [Tue, 4 Oct 2016 23:31:14 +0000 (01:31 +0200)]
Amend
ccc0e03f
Better adding the break, even if falling through would be Ok,
as LyX requires xcolor when both xcolor and color are requested.
Enrico Forestieri [Tue, 4 Oct 2016 23:18:15 +0000 (01:18 +0200)]
In mathed, require xcolor instead of color when appropriate
Fixes bug #10417.
Guillaume Munch [Mon, 3 Oct 2016 22:51:31 +0000 (00:51 +0200)]
Continue with the documentation of the SVG+LaTeX external template
Martin Vermeer [Tue, 6 Sep 2016 03:34:20 +0000 (06:34 +0300)]
... and RELEASE-NOTES
Martin Vermeer [Tue, 6 Sep 2016 03:23:29 +0000 (06:23 +0300)]
Further fixes due to remarks by Pavel Sanda Sep. 5, 2016
Martin Vermeer [Sat, 3 Sep 2016 14:17:45 +0000 (17:17 +0300)]
Initial commit of Inkscape SVG LaTeX + PDF support
Based on Daniel Groger's work of five years ago, with minor changes
http://www.mail-archive.com/lyx-devel%40lists.lyx.org/msg169820.html
This extends the support for Xfig LaTeX + PDF to a more modern and
actively developed vector graphics editor. Embedded Objects manual
updated, also to include a workaround for an Inkscape 0.91 bug.
Scott Kostyshak [Sat, 1 Oct 2016 03:21:45 +0000 (23:21 -0400)]
Initialize a member variable before it is used
Valgrind spotted a conditional jump depending on an uninitialised
value.
Thanks to Pavel for the help. For more information, see:
https://www.mail-archive.com/search?l=mid&q=
20160928204810 .e5ylny3raa7jgmgw%40Opti1604
jpc [Fri, 30 Sep 2016 17:09:41 +0000 (18:09 +0100)]
Update French translation of seminar.lyx & solve listslide title issue
Günter Milde [Fri, 30 Sep 2016 13:07:25 +0000 (15:07 +0200)]
fix and test lib/unicodesymbols: Blocks 87 - 92
Günter Milde [Thu, 29 Sep 2016 19:59:54 +0000 (21:59 +0200)]
Update seminar layout and doc.
Enrico Forestieri [Thu, 29 Sep 2016 16:35:26 +0000 (18:35 +0200)]
Force local language switch in IPA insets
Otherwise we get latex errors when using polyglossia.
jpc [Thu, 29 Sep 2016 12:52:44 +0000 (13:52 +0100)]
Update French translation of seminar.lyx
Guillaume Munch [Wed, 28 Sep 2016 19:57:54 +0000 (21:57 +0200)]
Work around dangling pointer
A better solution would be to entirely get rid of this borrowed pointer with
unclear lifetime, but this requires to introduce a new signal for when the
buffer view attached to the GuiView has changed.
Guillaume Munch [Wed, 28 Sep 2016 21:04:10 +0000 (23:04 +0200)]
Clarify that the Dialog::lyxview_ pointer is in fact a reference
Guillaume Munch [Wed, 28 Sep 2016 14:05:10 +0000 (16:05 +0200)]
Fix horizontal lines in math arrays
They must end at the end of the last column, not at the start of the last+1
column.
Günter Milde [Thu, 29 Sep 2016 08:42:03 +0000 (10:42 +0200)]
ctests: uninvert solved problems and make samples robust
Specify non-TeX fonts that work in the source for documents that
fail with "missing characters" if compiling with "non-TeX fonts"=true.
(This does not interfere with the default output in any way.)
Günter Milde [Thu, 29 Sep 2016 07:40:06 +0000 (09:40 +0200)]
Fixes to seminar.layout and documentation.
Thanks to Jean-Marc for test and report.
jpc [Wed, 28 Sep 2016 10:20:45 +0000 (11:20 +0100)]
French translation updated
Enrico Forestieri [Tue, 27 Sep 2016 21:00:29 +0000 (23:00 +0200)]
Also track local language switches
Until now this was not done for essentially two reasons. The first
one is that local switches are used for short text insertions, so that
they are unlikely crossing environment boundaries. The second one
is that if we have to close a language at the end of an environment
we would be missing the right termination command. As this last
issue can be overcome by simply storing in the stack the current
nest level with a sign denoting the kind of switch, there is no
reason anymore not to track also local languages switches.
Also factor out some commonly used constructs in order to improve
readability.
Enrico Forestieri [Tue, 27 Sep 2016 19:41:13 +0000 (21:41 +0200)]
Do not unnecessarily open the document language
If the document language is opened outside of any environement, we risk
not closing it if no other language switch occurs. Indeed, the stack is
emptied only at the end of an enviroment. We could of course also empty
it at the end of the document, but we would have an unnecessary language
switch.
Enrico Forestieri [Tue, 27 Sep 2016 19:32:40 +0000 (21:32 +0200)]
Shut up compiler warning
Günter Milde [Mon, 26 Sep 2016 20:57:41 +0000 (22:57 +0200)]
ctests: move test cases with permanent problems to "ignored".
Also sort ignoredTests (even if the sublabels will normally not be shown).
Günter Milde [Mon, 26 Sep 2016 20:55:58 +0000 (22:55 +0200)]
seminar: major documentation (example) update.
jpc [Wed, 21 Sep 2016 08:11:31 +0000 (09:11 +0100)]
Change a line to avoid bad hyphenation
THe pdf output showed a very visible line overfull. I slightly changed the text to
avoid this without adding an hyphenation point, not appropriate in documents for beginners.
jpc [Sun, 25 Sep 2016 16:29:16 +0000 (17:29 +0100)]
Typo
Enrico Forestieri [Sun, 25 Sep 2016 22:48:44 +0000 (00:48 +0200)]
Update it.po
Enrico Forestieri [Sun, 25 Sep 2016 18:31:13 +0000 (20:31 +0200)]
Do not rely on math macros being updated
Trying to spare a few cycles by avoiding computing metrics during
screen updates and export. See also
8f86ee74 ,
72cf7c8f , and
e36a8903 .
Guillaume will tell whether this also avoids crashing his documents ;)
Enrico Forestieri [Sun, 25 Sep 2016 16:59:07 +0000 (18:59 +0200)]
Amend
6a3ced3c
ERT macros are also math insets, sigh...
Enrico Forestieri [Sun, 25 Sep 2016 06:56:12 +0000 (08:56 +0200)]
No need to clutter runparams...
Enrico Forestieri [Sun, 25 Sep 2016 06:20:34 +0000 (08:20 +0200)]
Correctly track opened polyglossia languages
A language switch may also occur outside of output_latex.cpp, apparently.
Enrico Forestieri [Sun, 25 Sep 2016 00:00:55 +0000 (02:00 +0200)]
Do not confuse global commands with ERT macros
Enrico Forestieri [Sat, 24 Sep 2016 23:11:16 +0000 (01:11 +0200)]
Correctly classify macros
Some macros defined in the lib/symbols file are classified are texmode.
But the MathMacro class was missing a currentMode method for returning
this information.
Enrico Forestieri [Sat, 24 Sep 2016 01:15:02 +0000 (03:15 +0200)]
Sort the language nesting mess with polyglossia
When using polyglossia, lyx was making a real mess when changing
language inside nested insets. The \begin{language} and
\end{language} commands were not well paired such that they could
easily occur just before and after the start or end of an
environment. Of course this was causing latex errors such that
"\begin{otherlanguage} ended by \end{environment}".
There may still be some cases I did not take into account.
Guillaume Munch [Fri, 23 Sep 2016 22:50:03 +0000 (00:50 +0200)]
Fix compilation with MSVC 2015
Guillaume Munch [Sat, 3 Sep 2016 22:54:05 +0000 (23:54 +0100)]
Reverse search: select a whole row
TexRow now returns a range {start, end} when looking up a particular row.
Reverse-search now selects the whole range instead of simply moving the cursor.
Guillaume Munch [Sun, 4 Sep 2016 22:24:57 +0000 (23:24 +0100)]
Fix: shift-mouse selection doesn't work well across insets
(FIXME in the code, no corresponding ticket found even though it is pretty
annoying)
Guillaume Munch [Sun, 4 Sep 2016 21:17:32 +0000 (22:17 +0100)]
Helpers to set selections to arbitrary DocIterators
Guillaume Munch [Sun, 4 Sep 2016 02:02:47 +0000 (03:02 +0100)]
Remove option to disable texrow
I suspect that the gain was negligible, yet it made debugging and maintainance
harder.
Guillaume Munch [Sat, 3 Sep 2016 22:51:10 +0000 (23:51 +0100)]
explicit operator bool
Guillaume Munch [Sat, 3 Sep 2016 22:52:55 +0000 (23:52 +0100)]
Fix type of pos
Guillaume Munch [Mon, 20 Jun 2016 02:47:40 +0000 (03:47 +0100)]
TexRow: clean up and simplify
In particular merge the current_row_ with the rowlist_, which simplifies the
logic.
Pass by value for small PODs.
Kornel Benko [Fri, 23 Sep 2016 11:39:23 +0000 (13:39 +0200)]
Cmake package: Correct description.
The new cmake 3.6 now also inserts correctly
this file into its control-file. But the syntax of the control-file
expects the description lines be indented by a space.
Also empty lines (only spaces) are not allowed.
Jean-Marc Lasgouttes [Fri, 23 Sep 2016 09:17:20 +0000 (11:17 +0200)]
Simplify the code that sets the read-only emblem in status bar
Actually QIcon is able to handle transparently the svg icons.
Patch from Enrico.
Günter Milde [Fri, 23 Sep 2016 07:04:03 +0000 (09:04 +0200)]
Fix #10394 Do not error on missing characters in "nullfont".
Add an exception to the conversion of "missing character" warnings into errors.
The PGF package deliberately uses the dummy font "nullfont" to suppress output.
Therefore, warnings about missing characters in "nullfont" are really only warnings.
Also updated the comment: "Missing character" warnigns are especially widespread
in XeTeX/LuaTeX but can also happen with "classical" 8-bit TeX.
Feel free to port this to branch.
Scott Kostyshak [Fri, 23 Sep 2016 02:55:35 +0000 (22:55 -0400)]
Amend
40c262cb
Use LyX note instead of comment. This is less invasive that
converting Beamer frames to fragile to accommodate the comment
environment.
(cherry picked from commit
e81f6b04bcf878a1170d46b3820e8345436b4db5 )
Scott Kostyshak [Fri, 23 Sep 2016 02:12:59 +0000 (22:12 -0400)]
Amend and extend
9f3518bc
The comment is now in a comment inset. This change is extended to
all versions of beamer.lyx.
Change tracking is not used because it only affects a comment
(consistent with
aa81ae7e ).
This change is made according to updated conversation at:
https://www.mail-archive.com/search?l=mid&q=nruubc%24uu0%241%40blaine.gmane.org
(cherry picked from commit
40c262cbd865805d35aba65e25e919fc8dee6e69 )
Günter Milde [Thu, 22 Sep 2016 21:54:18 +0000 (23:54 +0200)]
ctests: found reason for "seminar" failure.
Günter Milde [Thu, 22 Sep 2016 10:10:39 +0000 (12:10 +0200)]
lib/unicodesymbols tests: add comments and remove spurious test samples.
Günter Milde [Thu, 22 Sep 2016 10:09:39 +0000 (12:09 +0200)]
ctests: update labeling patterns.
Guillaume Munch [Sun, 28 Aug 2016 20:57:17 +0000 (21:57 +0100)]
Better title for ViewSource
The title is changed to "LaTeX (pdflatex) Preview", etc. depending on the
format. The actual default format is computed.
The menu name "Source Pane" is replaced by "Code Preview Pane" to better reflect
its purpose.
Jean-Marc Lasgouttes [Wed, 21 Sep 2016 14:11:53 +0000 (16:11 +0200)]
Do not hardcode required packages for Note inset
This does not change the default behavior, but allows to customize it.
Jean-Marc Lasgouttes [Wed, 21 Sep 2016 11:56:28 +0000 (13:56 +0200)]
Do not use em dash in window title
It seems that only KDE does that. Gnome does not, Windows does not either.
I do not think that we can/want to detect a KDE environment at run-time.
Jean-Marc Lasgouttes [Fri, 9 Sep 2016 08:37:42 +0000 (10:37 +0200)]
Make *-lyxformat-* backup files use .lyx~ extension
At least now that look like real backup files
Uwe Stöhr [Tue, 20 Sep 2016 21:17:09 +0000 (23:17 +0200)]
French beamer.lyx: accept changes
I think this can be accepted without further explanation since it is in a comment
Juergen Spitzmueller [Tue, 20 Sep 2016 09:51:04 +0000 (11:51 +0200)]
Improve bibliography info (general), part II
Consider collection and proceedings
Juergen Spitzmueller [Tue, 20 Sep 2016 09:45:25 +0000 (11:45 +0200)]
Improve bibliography info (general)
Consider all thesis types.
Juergen Spitzmueller [Tue, 20 Sep 2016 09:35:05 +0000 (11:35 +0200)]
Improve info display for biblatex databases, part IV
Consider biblatex's new field names: location (address),
journaltitle (journal), institution (school).
Biblatex provides alias for the legacy bibtex field names. Hence check
for the new names only if the legacy names are not used.
Juergen Spitzmueller [Tue, 20 Sep 2016 09:34:17 +0000 (11:34 +0200)]
Amend
2c4673af58f6
Also consider xrefs in crossref'ed entries.
Günter Milde [Tue, 13 Sep 2016 20:10:32 +0000 (22:10 +0200)]
lib/unicodesymbols: tests and fixes, Blocks 87 - 91
Also add more "stmaryrd" symbols.
Günter Milde [Tue, 20 Sep 2016 05:59:30 +0000 (07:59 +0200)]
lib/unicodesymbols: replace TABs.
Scott Kostyshak [Tue, 20 Sep 2016 02:23:41 +0000 (22:23 -0400)]
Fix compilation of fr/beamer.lyx with XeTeX
The compilation did not succeed before because of an é in an ERT
inset. This is changed to \'{e}.
Also correct spelling of "decouvert" to "découvert".
Alternatives would be to use a LyX note or a comment inset. Since
the original version uses ERT, I do not change that.
This commit fixes the following ctest:
export/examples/fr/beamer-article_pdf4_texF
It likely also fixes the corresponding test for fr/beamer.lyx, but
since the default output format is set to pdf2 we do not run the
test.
For more information, see:
https://www.mail-archive.com/search?l=mid&q=
20160919192413 .ftnz4gk6dl5w3k5c%40Opti1604
(cherry picked from commit
9f3518bcd2c440f928e88622947df5b376c6fe7a )