]> git.lyx.org Git - lyx.git/log
lyx.git
7 years agoDisentangle CiteEngines and Modules
Juergen Spitzmueller [Fri, 30 Dec 2016 15:22:08 +0000 (16:22 +0100)]
Disentangle CiteEngines and Modules

These two are different beasts and thus should be handled differently.

7 years agoFix memory leak with WordLists
Guillaume Munch [Sat, 31 Dec 2016 14:16:15 +0000 (15:16 +0100)]
Fix memory leak with WordLists

https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg198230.html

7 years agoConvert a pointer to a reference
Guillaume Munch [Sat, 31 Dec 2016 14:22:07 +0000 (15:22 +0100)]
Convert a pointer to a reference

The validity of the reference is guaranteed by QThreadLocalStorage

7 years agoRemove a redundant deletion of a QObject
Guillaume Munch [Sat, 31 Dec 2016 14:16:15 +0000 (15:16 +0100)]
Remove a redundant deletion of a QObject

7 years agoTocWidget: Remove possibly dangling BufferView pointer
Guillaume Munch [Sat, 31 Dec 2016 14:16:15 +0000 (15:16 +0100)]
TocWidget: Remove possibly dangling BufferView pointer

7 years agoFix dangling inset pointers after buffer reload
Guillaume Munch [Sat, 31 Dec 2016 14:16:15 +0000 (15:16 +0100)]
Fix dangling inset pointers after buffer reload

https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg198191.html

The root of the issue is in Buffer::reload() called during "Save As".  After
loadLyXFile() there, all the insets have been deleted, and therefore the Inset
pointer GuiView::documentBufferView()->cursor().inset() is dangling. Immediately
after loadLyXFile(), reload() calls updateBuffer() which causes a segfault.

While debugging I got other segfaults caused by the same dangling Inset pointer
in Cursor, notably: 1) a trace identical to the second one from
<http://www.lyx.org/trac/ticket/10520>, and 2) a similar segfault in the
critical path after emergency saving (call to inMathed()).

Having to "refresh" by hand the inset pointer cache in CursorSlice is very
unsatisfactory, but there does not appears to be a consistent strategy for
managing these Inset pointers in CursorSlice.

7 years agoRemove outdated comment
Guillaume Munch [Sat, 31 Dec 2016 14:01:12 +0000 (15:01 +0100)]
Remove outdated comment

UpdateToolbars is no longer slow

7 years agoDon't need the else, since all codepaths return.
Richard Heck [Sun, 18 Dec 2016 03:16:49 +0000 (22:16 -0500)]
Don't need the else, since all codepaths return.

7 years agoInvert logic.
Richard Heck [Sun, 18 Dec 2016 03:13:37 +0000 (22:13 -0500)]
Invert logic.

7 years agoRe-organize, whitespace.
Richard Heck [Sun, 18 Dec 2016 03:12:27 +0000 (22:12 -0500)]
Re-organize, whitespace.

7 years agoRemove useless for loop.
Richard Heck [Sun, 18 Dec 2016 03:09:03 +0000 (22:09 -0500)]
Remove useless for loop.

7 years agoMore precise format description
Juergen Spitzmueller [Thu, 29 Dec 2016 16:36:55 +0000 (17:36 +0100)]
More precise format description

7 years agoThe usual tex2lyx tests update after file format change
Juergen Spitzmueller [Thu, 29 Dec 2016 15:48:22 +0000 (16:48 +0100)]
The usual tex2lyx tests update after file format change

7 years agoAdd support for the Crimson font
Juergen Spitzmueller [Thu, 29 Dec 2016 15:45:19 +0000 (16:45 +0100)]
Add support for the Crimson font

We use the more comprehensive cochineal package if available and fall
back to the crimson package, if not.

Math support is provided by means of newtxmath

Fixes: #9974, #9976
7 years agoWarn if child has diff non-Tex font settings
Scott Kostyshak [Fri, 25 Nov 2016 02:47:45 +0000 (21:47 -0500)]
Warn if child has diff non-Tex font settings

It is easy to come across problems when the settings are not the
same.

This is consistent with our current warning about different document
classes.

For discussion and a motivating MWE, see:
https://www.mail-archive.com/search?l=mid&q=20161121024539.kn6rsqotaw4n2efk%40klay

7 years agoUpdate sk.po
Kornel Benko [Thu, 29 Dec 2016 08:43:00 +0000 (09:43 +0100)]
Update sk.po

7 years agoFix two hyperlink-insert problems
Juergen Spitzmueller [Thu, 29 Dec 2016 08:17:53 +0000 (09:17 +0100)]
Fix two hyperlink-insert problems

1. Do not prematurely cut selection (#10306); patch proposed by Daniel Ramöller
2. Obey lfun argument, even if there is a selection

7 years agode.po
Juergen Spitzmueller [Thu, 29 Dec 2016 08:04:22 +0000 (09:04 +0100)]
de.po

7 years agoFixup c49cd699: QString::toStdString is not always available
Jean-Marc Lasgouttes [Wed, 28 Dec 2016 21:44:40 +0000 (22:44 +0100)]
Fixup c49cd699: QString::toStdString is not always available

This method requires STL support in Qt. Fortunately, it is not needed
here.

7 years agoAdd Joel Kulesza to the credits
Juergen Spitzmueller [Wed, 28 Dec 2016 15:50:25 +0000 (16:50 +0100)]
Add Joel Kulesza to the credits

7 years agoFrom c7899a30a0b5975bf599a69ecd11ab25e1cdf1a4 Mon Sep 17 00:00:00 2001
Juergen Spitzmueller [Wed, 28 Dec 2016 15:34:44 +0000 (16:34 +0100)]
From c7899a30a0b5975bf599a69ecd11ab25e1cdf1a4 Mon Sep 17 00:00:00 2001
From: "Joel A. Kulesza" <jkulesza@gmail.com>
Date: Mon, 24 Oct 2016 17:37:58 -0600
Subject: [PATCH] Add "Swap & Reverse" to math delimiter dialog

When "Keep matched" is unchecked, a button becomes enabled to "Swap &
Reverse" the left and right delimiters.  This is expected to be of use
with line-wrapped equations featuring one or more set of delimiters that
break across the lines.  When "Keep matched" is checked, the button is
visible but disabled.

The most common use case is expected to be the user entering a pair of
unmatched delimiters on the first line of an equation (e.g., "(" and
"(None)"), entering the inner text, going to the next line, and
inserting the opposite set of delimiters (e.g., "(None)" and ")").
This button will negate the need to find the correct corresponding
combination.  However, it relies on the dialog's memory of the previous
unmatched set.

This change addresses Ticket #10457

-----------

Modifications by spitz to the original patch:

* Only enable the button if an unmatched pair is selected
* Consider l7n when locating the string "(None)"
* Add an accelerator and a tooltip to the dialog
* Simplify the code a bit

7 years agoStatus bar information for InsetMathKern
Guillaume Munch [Tue, 27 Dec 2016 18:25:46 +0000 (19:25 +0100)]
Status bar information for InsetMathKern

\mkern is invisible in mathed as a consequence of 10c8d51b. Add information in
the status bar when it is there.

7 years agoAdd some line breaks
Juergen Spitzmueller [Tue, 27 Dec 2016 15:02:31 +0000 (16:02 +0100)]
Add some line breaks

7 years agoUpdate sk.po
Kornel Benko [Tue, 27 Dec 2016 11:22:46 +0000 (12:22 +0100)]
Update sk.po

7 years agoImprove quotation mark opening/closing guess
Juergen Spitzmueller [Tue, 27 Dec 2016 11:06:54 +0000 (12:06 +0100)]
Improve quotation mark opening/closing guess

Fixes: #8831
This introduces
* a new inset member isPartOfTextSequence() that returns
whether the inset produces something visible at the current position
in the text flow
* an isOpenPunctuation() test that returns whether a character is in the
'Punctuation, Open' unicode class. This is used instead of just checking
for two (Western, ASCII) opening brackets

It also fixes the isChar() and isLetter() value of InsetSpecialChar,
since some types have not been assigned correctly.

7 years agoUpdate quote-insert bindings
Juergen Spitzmueller [Tue, 27 Dec 2016 07:39:06 +0000 (08:39 +0100)]
Update quote-insert bindings

7 years agoHandle the case of TeX fonts LuaTeX
Juergen Spitzmueller [Mon, 26 Dec 2016 13:41:14 +0000 (14:41 +0100)]
Handle the case of TeX fonts LuaTeX

7 years agoupdate tex2lyx tests
Juergen Spitzmueller [Mon, 26 Dec 2016 13:04:52 +0000 (14:04 +0100)]
update tex2lyx tests

7 years agoSupport for CJK quotation marks
Juergen Spitzmueller [Mon, 26 Dec 2016 13:03:48 +0000 (14:03 +0100)]
Support for CJK quotation marks

File format change

Fixes: #2712
7 years agoDo not attempt to add dynamic quotes to the style combo
Juergen Spitzmueller [Mon, 26 Dec 2016 10:25:34 +0000 (11:25 +0100)]
Do not attempt to add dynamic quotes to the style combo

7 years agoadd missing bit
Juergen Spitzmueller [Mon, 26 Dec 2016 09:47:28 +0000 (10:47 +0100)]
add missing bit

7 years agoUse master buffer params for quote style
Juergen Spitzmueller [Sun, 25 Dec 2016 16:23:07 +0000 (17:23 +0100)]
Use master buffer params for quote style

+ some formatting polishment

7 years agode.po
Juergen Spitzmueller [Sun, 25 Dec 2016 16:13:42 +0000 (17:13 +0100)]
de.po

7 years agoUserGuide: Document the quotation mark changes
Juergen Spitzmueller [Sun, 25 Dec 2016 12:38:52 +0000 (13:38 +0100)]
UserGuide: Document the quotation mark changes

7 years agoUpdate tex2lyx tests
Juergen Spitzmueller [Sun, 25 Dec 2016 11:20:06 +0000 (12:20 +0100)]
Update tex2lyx tests

7 years agoImplement dynamic quotation marks
Juergen Spitzmueller [Sun, 25 Dec 2016 11:19:02 +0000 (12:19 +0100)]
Implement dynamic quotation marks

File format change.

7 years agode.po
Juergen Spitzmueller [Sat, 24 Dec 2016 14:08:04 +0000 (15:08 +0100)]
de.po

7 years agoUpdate tex2lyx tests
Juergen Spitzmueller [Sat, 24 Dec 2016 13:31:59 +0000 (14:31 +0100)]
Update tex2lyx tests

7 years agoSome new quote styles
Juergen Spitzmueller [Sat, 24 Dec 2016 13:27:00 +0000 (14:27 +0100)]
Some new quote styles

* b    `british'    (``inner quotation'')
* w    >>swedishg>> ('inner quotation')   ["g" = Guillemets]
* f    <<french>>   (``inner quotation'')
* i    <<frenchin>> (<<inner quotation>>) ["in" = Imprimerie Nationale]
* r    <<russian>>  (,,inner quotation``)

Rename "french" to "swiss"

Also rename "single/double" to "secondary/primary" ("inner/outer" in
the UI) and "left/right" to "opening/closing". Note that the inset
identifier string is left as is ("s/d" and "l/r")

7 years agoFix glitch introduced in 2e255b1c4f
Juergen Spitzmueller [Sat, 24 Dec 2016 12:32:49 +0000 (13:32 +0100)]
Fix glitch introduced in 2e255b1c4f

set correct combo values.

7 years agoRestructure InsetQuotes for better extensibilty
Juergen Spitzmueller [Sat, 24 Dec 2016 09:13:51 +0000 (10:13 +0100)]
Restructure InsetQuotes for better extensibilty

The current char-based implementation gets increasingly unreadable,
especially if styles are added that do not follow the strict
single-double paradigm.

7 years agode.po
Juergen Spitzmueller [Wed, 21 Dec 2016 14:22:32 +0000 (15:22 +0100)]
de.po

7 years agoAdd "Plain" quotation mark style
Juergen Spitzmueller [Wed, 21 Dec 2016 14:17:30 +0000 (15:17 +0100)]
Add "Plain" quotation mark style

File format change

7 years agoHandle fontenc in InsetQuotes::updateBuffer
Juergen Spitzmueller [Wed, 21 Dec 2016 11:29:32 +0000 (12:29 +0100)]
Handle fontenc in InsetQuotes::updateBuffer

7 years agoEmbeddedObjects.lyx: fix some typos and few improvements
Uwe Stöhr [Wed, 21 Dec 2016 01:21:59 +0000 (02:21 +0100)]
EmbeddedObjects.lyx: fix some typos and few improvements

7 years agoUpdate tex2lyx tests for format 519.
Juergen Spitzmueller [Tue, 20 Dec 2016 17:57:34 +0000 (18:57 +0100)]
Update tex2lyx tests for format 519.

7 years agoRename \\quotes_language to\\quotes_style
Juergen Spitzmueller [Tue, 20 Dec 2016 17:54:07 +0000 (18:54 +0100)]
Rename \\quotes_language to\\quotes_style

File format change.

7 years agoRename some quote-related params
Juergen Spitzmueller [Tue, 20 Dec 2016 16:55:43 +0000 (17:55 +0100)]
Rename some quote-related params

Quote Language -> Quote Style
Quote Times-> Quote Level

No change in functionality.

7 years agoCmake tests: Remove use of 'UNRELIABLE' label
Kornel Benko [Tue, 20 Dec 2016 15:26:07 +0000 (16:26 +0100)]
Cmake tests: Remove use of 'UNRELIABLE' label

Using this label in invertedTests expands the testname unnecessary, so that
we get e.g. labels like:
  SUSPENDED.UNRELIABLE.WRONG_OUTPUT.UNRELIABLE_export/doc/de/EmbeddedObjects_pdf4_texF
OTOH, if using label 'unreliable', we get a warning about label-names clash.
The best is to reset any previous label setting.

7 years agoUpdate description of cursor classes
Jean-Marc Lasgouttes [Tue, 20 Dec 2016 11:14:21 +0000 (12:14 +0100)]
Update description of cursor classes

7 years agoEmbeddedObjects.lyx: new description how to change table line colors within tables
Uwe Stöhr [Tue, 20 Dec 2016 01:46:47 +0000 (02:46 +0100)]
EmbeddedObjects.lyx: new description how to change table line colors within tables

will be backported the tomorrow

7 years agoThickness of \cancel
Guillaume Munch [Mon, 19 Dec 2016 23:15:59 +0000 (00:15 +0100)]
Thickness of \cancel

7 years agoFix missing \bigg variants for \llbracket
Guillaume Munch [Mon, 19 Dec 2016 23:15:59 +0000 (00:15 +0100)]
Fix missing \bigg variants for \llbracket

7 years agoFactor code for math axis height
Guillaume Munch [Mon, 19 Dec 2016 23:15:59 +0000 (00:15 +0100)]
Factor code for math axis height

7 years agoAdd InsetMathClass to the list of math completions
Guillaume Munch [Mon, 19 Dec 2016 23:15:59 +0000 (00:15 +0100)]
Add InsetMathClass to the list of math completions

7 years agoDo not rely on toolTip() to generate LaTeX code
Guillaume Munch [Mon, 19 Dec 2016 23:15:59 +0000 (00:15 +0100)]
Do not rely on toolTip() to generate LaTeX code

7 years agoFix compilation with Qt5.8dev
Guillaume Munch [Mon, 19 Dec 2016 23:15:58 +0000 (00:15 +0100)]
Fix compilation with Qt5.8dev

7 years agoMathClass of xrightarrow & co
Guillaume Munch [Mon, 19 Dec 2016 23:15:58 +0000 (00:15 +0100)]
MathClass of xrightarrow & co

7 years agoUserGuide.lyx: fix 2 typos spotted by a user
Uwe Stöhr [Mon, 19 Dec 2016 22:49:47 +0000 (23:49 +0100)]
UserGuide.lyx: fix 2 typos spotted by a user

7 years agoAdd caching for the QTextLayout objects we use
Jean-Marc Lasgouttes [Tue, 5 Jul 2016 12:06:22 +0000 (14:06 +0200)]
Add caching for the QTextLayout objects we use

The QTextLayout handling is terribly slow on Qt 4.8.7, but some
caching has been added in Qt5 that makes it much faster. For some
reason, it is not that slow with Qt 4.8.1.

Caches are introduced for the three following methods

* width(doctring), controlled by CACHE_METRICS_WIDTH. This cache already
  existed, but the code has been cleaned up

* getTextLayout, controlled by CACHE_METRICS_QTEXTLAYOUT (disabled by
  default on Qt5, which does its own caching). This is used for pos2x
  and x2pos and now for drawing of text too. The previous code used a
  trivial caching scheme of the last used QTextLayout, but now they
  are properly kept in a QCache. Moreover, the cacheEnabled() property
  is enabled for these QTextLayout object (not sure what this does).

* breakAt, controlled by CACHE_METRICS_BREAKAT. This is the only user
  of QTextLayout which did not have some kind of caching already.

For some weird reasons related to Argument-dependent look-up, the
qHash(docstring) function has to be defined in std namespace, since
lyx::docstring is actually std::basic_string<wchar_t>.

[NOTE: this version has profiling hooks, enabled by commenting out the line
  #define DISABLE_PMPROF
that should eventually be removed.]

7 years agoFix segfault on null buffer in Converters::checkAuth(), introduced in [244de5d2/lyxgit].
Tommaso Cucinotta [Mon, 19 Dec 2016 09:40:03 +0000 (10:40 +0100)]
Fix segfault on null buffer in Converters::checkAuth(), introduced in [244de5d2/lyxgit].

7 years agoFurther improve quote-inserts documentation
Juergen Spitzmueller [Mon, 19 Dec 2016 10:39:56 +0000 (11:39 +0100)]
Further improve quote-inserts documentation

7 years agoUse xfrac package for "fraction characters".
Günter Milde [Sun, 18 Dec 2016 22:41:43 +0000 (23:41 +0100)]
Use xfrac package for "fraction characters".

The xfrac package is the "state of the art" for "split-level" (nice) fractions.
Character replacements look consistent, scale properly and fit in the line.

Fixes #5220.

7 years agoctests: invert two unreliable tests
Scott Kostyshak [Sun, 18 Dec 2016 17:43:20 +0000 (12:43 -0500)]
ctests: invert two unreliable tests

Invert the following two tests:

  UNRELIABLE.WRONG_OUTPUT_export/doc/es/Math_dvi3_texF (Failed)
  UNRELIABLE.WRONG_OUTPUT_export/doc/es/Math_pdf5_texF (Failed)

For discussion, see:

https://www.mail-archive.com/search?l=mid&q=1482080739.2685.14.camel%40lyx.org

7 years agoUpdate inset-modify description
Juergen Spitzmueller [Sun, 18 Dec 2016 13:00:08 +0000 (14:00 +0100)]
Update inset-modify description

7 years agoSome documentation of quote's inset-modify
Juergen Spitzmueller [Sun, 18 Dec 2016 12:38:41 +0000 (13:38 +0100)]
Some documentation of quote's inset-modify

7 years agoThinko
Juergen Spitzmueller [Sun, 18 Dec 2016 12:13:19 +0000 (13:13 +0100)]
Thinko

This needs to be a char_type, not char.

7 years agoAllow wildcards in inset-modify for quotes
Juergen Spitzmueller [Sun, 18 Dec 2016 09:29:35 +0000 (10:29 +0100)]
Allow wildcards in inset-modify for quotes

A dot in the <lang><side><times> string means: keep current value.

This expert feature allows to change arbitrary quote features in one step.

E.g.,

inset-forall Quotes inset-modify changetype f..

=> change all quote insets to French style, maintaining current side
   and times setting

inset-forall Quotes inset-modify changetype ..s

=> change all quote insets to single quotes, keeping style and times

inset-forall Quotes inset-modify changetype g.s

=> change all quote insets to German single quotes, keeping left/right
   setting

Any idea where to document this?

7 years agowhitespace.
Juergen Spitzmueller [Sun, 18 Dec 2016 08:54:37 +0000 (09:54 +0100)]
whitespace.

7 years agode.po
Juergen Spitzmueller [Sat, 17 Dec 2016 13:34:46 +0000 (14:34 +0100)]
de.po

7 years agoWhitespace
Juergen Spitzmueller [Sat, 17 Dec 2016 11:59:03 +0000 (12:59 +0100)]
Whitespace

7 years agoContext menu for quote insets
Juergen Spitzmueller [Sat, 17 Dec 2016 11:58:33 +0000 (12:58 +0100)]
Context menu for quote insets

Allows to switch quote type.

7 years agoUpdate LFUNs.lyx
Juergen Spitzmueller [Fri, 16 Dec 2016 10:24:03 +0000 (11:24 +0100)]
Update LFUNs.lyx

7 years agoExtend quote-insert
Juergen Spitzmueller [Fri, 16 Dec 2016 10:23:22 +0000 (11:23 +0100)]
Extend quote-insert

Two more optional arguments to specify side and quote style.
GUI support follows.

7 years agocontext-sensitive command termination at some more places.
Juergen Spitzmueller [Fri, 16 Dec 2016 09:20:25 +0000 (10:20 +0100)]
context-sensitive command termination at some more places.

7 years agoremove archaic comments.
Juergen Spitzmueller [Fri, 16 Dec 2016 08:27:10 +0000 (09:27 +0100)]
remove archaic comments.

lyx3 was a vision of the last century.

7 years agoUse context-sensitive command termination
Juergen Spitzmueller [Fri, 16 Dec 2016 08:26:01 +0000 (09:26 +0100)]
Use context-sensitive command termination

This fixes some kerning issues.

7 years agoLiteral quotation mark chars for polyglossia
Juergen Spitzmueller [Thu, 15 Dec 2016 09:41:10 +0000 (10:41 +0100)]
Literal quotation mark chars for polyglossia

7 years agoInsetQuotes::latex: some cleanup
Juergen Spitzmueller [Thu, 15 Dec 2016 09:26:42 +0000 (10:26 +0100)]
InsetQuotes::latex: some cleanup

Also switch to docstring in preparation for unicode quotation marks

7 years agoRemove redundant blank
Juergen Spitzmueller [Thu, 15 Dec 2016 08:18:52 +0000 (09:18 +0100)]
Remove redundant blank

7 years agoSimplify some lyx2lyx code.
Richard Heck [Wed, 14 Dec 2016 03:03:59 +0000 (22:03 -0500)]
Simplify some lyx2lyx code.

Also, if the local layout we are removing is all there was, then
we can remove the entire block.

7 years agoUpdate tex2lyx references after last format change.
Richard Heck [Wed, 14 Dec 2016 02:51:11 +0000 (21:51 -0500)]
Update tex2lyx references after last format change.

7 years agoNew format for changes to iopart.layout made at 91f980cf31.
Richard Heck [Wed, 14 Dec 2016 02:49:04 +0000 (21:49 -0500)]
New format for changes to iopart.layout made at 91f980cf31.

7 years agoLimit ligature protection to quote ligature chars
Juergen Spitzmueller [Tue, 13 Dec 2016 06:50:08 +0000 (07:50 +0100)]
Limit ligature protection to quote ligature chars

Should also go to stable.

7 years agospeed up lyx2lyx reversion for non-Hebrew documents
Juergen Spitzmueller [Tue, 13 Dec 2016 06:30:40 +0000 (07:30 +0100)]
speed up lyx2lyx reversion for non-Hebrew documents

7 years agoFix Hebrew quotation marks
Juergen Spitzmueller [Mon, 12 Dec 2016 17:08:20 +0000 (18:08 +0100)]
Fix Hebrew quotation marks

All typographic quotation marks are supported, if the proper
LaTeX macros (as opposed to ligatures) are used.

So no need for forcing straight quotes.

This is in line with what babel-hebrew suggests.

7 years agoAdd FIXME
Juergen Spitzmueller [Mon, 12 Dec 2016 17:00:28 +0000 (18:00 +0100)]
Add FIXME

7 years agoThinko
Juergen Spitzmueller [Mon, 12 Dec 2016 16:52:59 +0000 (17:52 +0100)]
Thinko

7 years agoFix command termination before line breaks.
Juergen Spitzmueller [Mon, 12 Dec 2016 16:00:20 +0000 (17:00 +0100)]
Fix command termination before line breaks.

7 years agoCorrectly handle the " \\fg" case.
Juergen Spitzmueller [Mon, 12 Dec 2016 15:57:06 +0000 (16:57 +0100)]
Correctly handle the " \\fg" case.

7 years agoProperly terminate quote macros by means of new textstream function
Juergen Spitzmueller [Mon, 12 Dec 2016 14:57:42 +0000 (15:57 +0100)]
Properly terminate quote macros by means of new textstream function

This prevents kerning destruction.

7 years agotexstream: implement way to terminate a command depending on the context
Juergen Spitzmueller [Mon, 12 Dec 2016 14:55:28 +0000 (15:55 +0100)]
texstream: implement way to terminate a command depending on the context

i.e.,
* space if non terminating char follows
* {} if space follows
* nothing if \, { or } follow

7 years agoFix some thinkos in the revert_quotes routine
Juergen Spitzmueller [Mon, 12 Dec 2016 09:49:08 +0000 (10:49 +0100)]
Fix some thinkos in the revert_quotes routine

7 years agoUpdate tex2lyx tests
Juergen Spitzmueller [Mon, 12 Dec 2016 09:27:26 +0000 (10:27 +0100)]
Update tex2lyx tests

Thanks Scott for the heads-up!

7 years agoDo not use babel quotation mark macros with non-TeX fonts
Juergen Spitzmueller [Sat, 10 Dec 2016 16:25:04 +0000 (17:25 +0100)]
Do not use babel quotation mark macros with non-TeX fonts

These rely on [O]T1 font encoding.

Also, add some comments.

7 years agoFix xhtml output of French double guillemets (spacing)
Juergen Spitzmueller [Sat, 10 Dec 2016 15:13:02 +0000 (16:13 +0100)]
Fix xhtml output of French double guillemets (spacing)

7 years agoDo not output quote TextCommand definitions for polyglossia
Juergen Spitzmueller [Sat, 10 Dec 2016 15:07:04 +0000 (16:07 +0100)]
Do not output quote TextCommand definitions for polyglossia

These are meant to be output for non-T1 8bit font encodings.

7 years agoThe extra space for French quotes only applies to guillemets.
Juergen Spitzmueller [Sat, 10 Dec 2016 13:57:25 +0000 (14:57 +0100)]
The extra space for French quotes only applies to guillemets.

7 years agoRemove unused lyxrc.use_converter_wrappers that inadvertently slipped through [244de5...
Tommaso Cucinotta [Sat, 10 Dec 2016 13:55:09 +0000 (14:55 +0100)]
Remove unused lyxrc.use_converter_wrappers that inadvertently slipped through [244de5d2/lyxgit].

7 years agorevert_quotes: consider verbatim layouts and some forgotten insets.
Juergen Spitzmueller [Sat, 10 Dec 2016 11:54:12 +0000 (12:54 +0100)]
revert_quotes: consider verbatim layouts and some forgotten insets.