]> git.lyx.org Git - lyx.git/log
lyx.git
7 years agoDisplay properly math characters that behave like symbols
Guillaume Munch [Wed, 25 May 2016 12:16:51 +0000 (13:16 +0100)]
Display properly math characters that behave like symbols

* set up a replacement of *, -, and : by the adequate symbols (#9893)

* fix the wrong character selection and operator spacing in \text mode

* hide some internal symbols from the auto-completion.

7 years agoFix display of some math symbols
Guillaume Munch [Fri, 11 Nov 2016 19:52:03 +0000 (20:52 +0100)]
Fix display of some math symbols

* Fix spacing in lib/symbols after recent commits about math spacing, as well as
  older spacing issues (e.g. \Join).

* InsetMathKern now uses the same em value as other math length commands.

What is nice is that the kerning amount now matches the ones found in the
packages definition (modulo 10mu that lyx currently adds between relations).

Testcase: $\CheckedBox\LEFTcircle\RIGHTcircle\photon\gluon\vcentcolon\dblcolon\Coloneqq\eqcolon\models\hookrightarrow\bowtie\hookleftarrow\Join\APLinv\neq$

7 years agoFallback definitions for unicode paragraph/line break.
Günter Milde [Thu, 10 Nov 2016 11:45:27 +0000 (12:45 +0100)]
Fallback definitions for unicode paragraph/line break.

Convert characters 0x2028  LINE SEPARATOR and
0x2029 PARAGRAPH SEPARATOR to LaTeX equivalent.
(Just in case they slipped somehow into the source.)

7 years agoHandle properly unicode paragraph/line break
Jean-Marc Lasgouttes [Mon, 7 Nov 2016 09:14:39 +0000 (10:14 +0100)]
Handle properly unicode paragraph/line break

They are shown on screen by arrow or pilcrow symbol and cause a line break.

They are still not handled in LaTeX output, though.

7 years agoCmake export tests: Check exports also for different possible input encodigs
Kornel Benko [Wed, 9 Nov 2016 23:56:49 +0000 (00:56 +0100)]
Cmake export tests: Check exports also for different possible input encodigs

Affected are all lyx files in "autotests/export/latex/Unicode-characters" directory.
This completes the commit 6674a91573477e4716869ba728a9932e0a00e9e3

Thanks Günter.

7 years agoFix warning during runtime with qt4
Guillaume Munch [Wed, 9 Nov 2016 22:37:35 +0000 (23:37 +0100)]
Fix warning during runtime with qt4

Do not use "on_" as a prefix for functions unless the use of auto-connect is
intended.

7 years agoAdd comment
Guillaume Munch [Wed, 9 Nov 2016 21:54:27 +0000 (22:54 +0100)]
Add comment

7 years agolib/unicodesymbols test update and fixes.
Günter Milde [Wed, 9 Nov 2016 20:15:14 +0000 (21:15 +0100)]
lib/unicodesymbols test update and fixes.

First run of Kornels patch for tests with all input encodings in lib/encodings.

Remove redundant sample files - keep only one sample and change the input encoding in the test script.

Put remaining failing test in "unreliableTests" for later sorting...

7 years agoFix addition of new formats
Guillaume Munch [Wed, 9 Nov 2016 14:42:43 +0000 (15:42 +0100)]
Fix addition of new formats

Regression at cb0a4c66

7 years agoMake insertInset use a temporary cut-and-paste area.
Jean-Marc Lasgouttes [Wed, 9 Nov 2016 14:13:41 +0000 (15:13 +0100)]
Make insertInset use a temporary cut-and-paste area.

This is a long wanted feature, although it does not go all the way to
fix #6604 (private-cut/private-paste).

Additionally, it fixes a crash that can happen when using undefined
branches. This is done by making the action when pasting unknown
branches configurable.

Fixes bug #6570.

7 years agoencodings: use correct encoding "latin7" for ISO 8859-13
Uwe Stöhr [Mon, 7 Nov 2016 23:04:02 +0000 (00:04 +0100)]
encodings: use correct encoding "latin7" for ISO 8859-13

This fixes bug #10474 properly, thanks Günter

7 years agodoc files: port recent changes
Uwe Stöhr [Mon, 7 Nov 2016 22:53:19 +0000 (23:53 +0100)]
doc files: port recent changes

7 years agoAlways prefer breaking at word boundaries
Guillaume Munch [Sun, 6 Nov 2016 14:14:29 +0000 (15:14 +0100)]
Always prefer breaking at word boundaries

An overlong word containing a hyphen could be broken anywhere, instead of after
the hyphen.

Example: compare the line breaking of

   aaaaa-aaaaa-aaaaa-aaaaa

with

   aaa aaaaa-aaaaa-aaaaa-aaaaa

(with a very narrow window)

This also improves Chinese text in some situations (#10299)

7 years agoOn-screen justification: stretch in proportion with the em, up to a limit
Guillaume Munch [Sat, 13 Aug 2016 18:03:02 +0000 (19:03 +0100)]
On-screen justification: stretch in proportion with the em, up to a limit

1) Distinguish expanding characters from separators, to fit with Qt's notion of
expanding character which comes from the Unicode std.  CountExpanders() is moved
to FontMetrics to fix a discrepancy with the duplicate implementation from
598f7e4a.

2) Make these expanders stretch on-screen proportionally to the em of the font.
If a row mixes large and small text, LyX let us see which spaces are set in the
bigger font.

3) Now that the stretch is defined in ems, add a limit such that an expander
never stretches more than 1.5em to avoid weird and hard to read justified lines.

4) Add a return boolean to setSeparatorExtraWidth for future use.

7 years agoJapanese EmbeddedObjects.lyx: re-add export format
Uwe Stöhr [Sat, 5 Nov 2016 18:19:19 +0000 (19:19 +0100)]
Japanese EmbeddedObjects.lyx: re-add export format

- I don't know if it is a bug that LyX automatically deletes the output format if it cannot find

7 years agoFrench Tutorial.lyx remove info accidentally introduced in recent commits
Uwe Stöhr [Sat, 5 Nov 2016 18:13:32 +0000 (19:13 +0100)]
French Tutorial.lyx remove info accidentally introduced in recent commits

7 years agoJapanese EmbeddedObjects.lyx: re-add code
Uwe Stöhr [Sat, 5 Nov 2016 18:12:40 +0000 (19:12 +0100)]
Japanese EmbeddedObjects.lyx: re-add code

please use 2.2.x as working branch for all doc files unless you describe new features in master!

7 years agodoc files port recent changes
Uwe Stöhr [Sat, 5 Nov 2016 18:03:56 +0000 (19:03 +0100)]
doc files port recent changes

7 years agoDon't parse multicolumn if the grid does not support it
Guillaume Munch [Thu, 3 Nov 2016 22:23:11 +0000 (23:23 +0100)]
Don't parse multicolumn if the grid does not support it

Fixes #10466 and visual/compilation bugs with InsetMathSplit, InsetMathDiagram,
InsetMathHull, InsetMathSubstack and InsetMathXYMatrix.

7 years agoRe-Fix #8471
Juergen Spitzmueller [Sat, 5 Nov 2016 12:10:51 +0000 (13:10 +0100)]
Re-Fix #8471

The bug has partly been re-introduced with fb9a866a6

7 years agoAvoid dataloss with \multicolumn
Enrico Forestieri [Sat, 5 Nov 2016 09:15:37 +0000 (10:15 +0100)]
Avoid dataloss with \multicolumn

When \multicolumn{ncol}{align}{content} is parsed and the ncol
parameter is not a numeric value, this parameter is swallowed
and replaced with '1'. Hence, if the file is subsequently saved
a dataloss would occur. With this commit, \multicolumn is not
interpreted when ncol is not a numeric value and is left as is.

See also #10466

7 years agoRound values properly when drawing right margin selection
Jean-Marc Lasgouttes [Fri, 4 Nov 2016 14:57:59 +0000 (15:57 +0100)]
Round values properly when drawing right margin selection

This fixes a compiler warning reported by Uwe.

7 years agoFix height of cursor inside insets
Jean-Marc Lasgouttes [Fri, 4 Nov 2016 11:01:43 +0000 (12:01 +0100)]
Fix height of cursor inside insets

It turns out that Cursor::getFont() does not return a fully realized
font in some cases. This patch uses real_current_font instead, which
seems better anyway.

I suspect that all uses of getFont() should be removed, but this is
not code that I know well.

Fixes bug #10478.

7 years agoClear background behind sublables when necessary.
Jean-Marc Lasgouttes [Fri, 4 Nov 2016 10:35:22 +0000 (11:35 +0100)]
Clear background behind sublables when necessary.

This is analogous to what has been done to address #4889 and #10359.

Fixes bug #10475.

7 years agoQString only uses UTF-16, not UCS-4
Jean-Marc Lasgouttes [Wed, 2 Nov 2016 16:42:56 +0000 (17:42 +0100)]
QString only uses UTF-16, not UCS-4

This means that, when a string contains high-plane Unicode characters,
the length of a docstring and the corresponding QString will be
different: Qt will encode these characters using several 16bit
characters.

We have additionally to take into account QTBUG-25536, which implies
that sometimes qstring_to_ucs4(toqstr(s)) !=s. It is not clear whether
this bug can be a problem in other places.

Fixes bug #10443.

7 years agode.po
Juergen Spitzmueller [Thu, 3 Nov 2016 09:33:14 +0000 (10:33 +0100)]
de.po

7 years agoIn Color Preferences "frame of button" should be "button frame"
Daniel Ramöller [Sun, 30 Oct 2016 16:19:29 +0000 (17:19 +0100)]
In Color Preferences "frame of button" should be "button frame"

Fixes #10135.

7 years agoDo not recenter screen on spelling-continuously
Scott Kostyshak [Sun, 30 Oct 2016 23:38:28 +0000 (19:38 -0400)]
Do not recenter screen on spelling-continuously

If a user is scrolling and then toggles spellcheck, LyX used to
recenter the screen around the cursor. Now LyX does not recenter.

7 years agoFix usage of multiple varieties of the same polyglossia language.
Juergen Spitzmueller [Wed, 2 Nov 2016 16:07:49 +0000 (17:07 +0100)]
Fix usage of multiple varieties of the same polyglossia language.

1. We must always output all (diverging) options, including
   default options; if not, default options might get overwritten.

2. Do not output options in \setotherlanguage, since we might have
   multiple "other languages" varieties from the same language (such
   as naustrian, nswissgerman). And the options are output for the
   language switches anyway.

Hence, LaTeXFeatures::getPolyglossiaLanguages() does not have to record
varieties. This was not done correctly anyway, since the map allowed
for one entry per language only.

7 years agoEnable polyglossia support for Swiss German
Juergen Spitzmueller [Tue, 1 Nov 2016 17:08:33 +0000 (18:08 +0100)]
Enable polyglossia support for Swiss German

7 years agoWin installer: install special XeTeX package
Uwe Stöhr [Tue, 1 Nov 2016 15:57:43 +0000 (16:57 +0100)]
Win installer: install special XeTeX package

7 years agolanguages: use correct encoding for Lithuanian
Uwe Stöhr [Tue, 1 Nov 2016 15:08:33 +0000 (16:08 +0100)]
languages: use correct encoding for Lithuanian

fixes bug #10474

7 years agoArabic Intro.lyx: fixes from Hatim
Uwe Stöhr [Tue, 1 Nov 2016 14:11:26 +0000 (15:11 +0100)]
Arabic Intro.lyx: fixes from Hatim

7 years agoWhitespace
Juergen Spitzmueller [Mon, 31 Oct 2016 17:47:16 +0000 (18:47 +0100)]
Whitespace

7 years agoUse Buffer::validate() when previewing single paragraph
Juergen Spitzmueller [Mon, 31 Oct 2016 17:46:06 +0000 (18:46 +0100)]
Use Buffer::validate() when previewing single paragraph

We used to use BufferParams::validate(), which does not validate the
paragraphs.

7 years agoDon't print useless messages while parsing math macros
Enrico Forestieri [Mon, 31 Oct 2016 14:23:20 +0000 (15:23 +0100)]
Don't print useless messages while parsing math macros

Math macros can be displayed on screen by providing a different
representation than the one used for latex output. This representation
is actually used by lyx even while it is being updated. This leads to
printing useless error messages on the terminal. For example, a macro
parameter has to be entered as \#1 and, if the macro is already used in
a math inset, lyx prints on terminal the error message "Math parse error:
missing token after \\" as soon as one hits the \ key, followed by
"MathMacroArgument::MathMacroArgument: wrong Argument id: -48" as soon as
one hits the # key. So, this is not a useful information and simply
clutters the terminal output. On the other hand, the input is sanitized
even if one stops input after hitting either \ or #, so that no further
messages are issued. Hence, those error messages are simply pointless.

7 years agoArabic doc files: port recent changes
Uwe Stöhr [Mon, 31 Oct 2016 11:24:19 +0000 (12:24 +0100)]
Arabic doc files: port recent changes

7 years agoEmbeddedObjects.lyx; remove unnecessary latexpar
Uwe Stöhr [Mon, 31 Oct 2016 10:49:57 +0000 (11:49 +0100)]
EmbeddedObjects.lyx; remove unnecessary latexpar

- this was the last issue to fix bug #10068

7 years agoShow symbol name and description in plaintext export of nomenclature entries.
Tommaso Cucinotta [Sat, 29 Oct 2016 10:32:51 +0000 (12:32 +0200)]
Show symbol name and description in plaintext export of nomenclature entries.

This addresses one of the issues highlighted in #10459.
See http://www.lyx.org/trac/ticket/10459

7 years agoDevelopment.lyx: update info how to update the tex2lyx test files
Uwe Stöhr [Thu, 27 Oct 2016 22:46:59 +0000 (00:46 +0200)]
Development.lyx: update info how to update the tex2lyx test files

7 years agotex2lyx test files: update them
Uwe Stöhr [Thu, 27 Oct 2016 22:45:33 +0000 (00:45 +0200)]
tex2lyx test files: update them

- update the test files after the last 3 fileformat changes
- this is now possible thanks to the patch for bug #10440

7 years agoadd support for Urdu and Syriac
Uwe Stöhr [Thu, 27 Oct 2016 22:21:58 +0000 (00:21 +0200)]
add support for Urdu and Syriac

- fileformat change
- I could not update the tex2lyx testfiles because of bug #10440 (there is now a probable fix)

7 years agoCopy bit of documentation from Georg's commit log
Guillaume Munch [Thu, 27 Oct 2016 19:28:49 +0000 (21:28 +0200)]
Copy bit of documentation from Georg's commit log

7 years agoCopy bit of documentation from MathFactory.cpp
Guillaume Munch [Thu, 27 Oct 2016 19:10:18 +0000 (21:10 +0200)]
Copy bit of documentation from MathFactory.cpp

7 years agoTypo.
Juergen Spitzmueller [Thu, 27 Oct 2016 17:58:01 +0000 (19:58 +0200)]
Typo.

7 years agoHandle | verbatim in index insets.
Juergen Spitzmueller [Thu, 27 Oct 2016 16:11:28 +0000 (18:11 +0200)]
Handle | verbatim in index insets.

7 years agode.po
Juergen Spitzmueller [Thu, 27 Oct 2016 12:47:12 +0000 (14:47 +0200)]
de.po

7 years agoUpdate sk.po
Kornel Benko [Thu, 27 Oct 2016 09:08:52 +0000 (11:08 +0200)]
Update sk.po

7 years agode.po
Juergen Spitzmueller [Thu, 27 Oct 2016 08:28:25 +0000 (10:28 +0200)]
de.po

7 years agoIssue an error message if conflicting languages are used
Juergen Spitzmueller [Thu, 27 Oct 2016 07:59:01 +0000 (09:59 +0200)]
Issue an error message if conflicting languages are used

Some languages are only supported by Babel, some only by Polyglossia.

If these are combined, we issue an error message now.

Fixes: #10456
7 years agoRemove assert on advanced find with knitr module (#10444).
Tommaso Cucinotta [Sun, 23 Oct 2016 11:16:19 +0000 (13:16 +0200)]
Remove assert on advanced find with knitr module (#10444).

7 years agoSome tweaks to selection painting
Jean-Marc Lasgouttes [Wed, 26 Oct 2016 12:23:59 +0000 (14:23 +0200)]
Some tweaks to selection painting

1/ simplify logic that triggers margin selection painting

2/ fix logic for end of paragraph markers. They are now selected when
   there is an end row margin selection.

3/ avoid rounding problems due to int/double conversions.

7 years agoFix compiler warnings spotted by Uwe
Jean-Marc Lasgouttes [Wed, 26 Oct 2016 08:52:55 +0000 (10:52 +0200)]
Fix compiler warnings spotted by Uwe

7 years agoArabic Shortcuts.lyx: new translation by Hatim
Uwe Stöhr [Tue, 25 Oct 2016 21:33:25 +0000 (23:33 +0200)]
Arabic Shortcuts.lyx: new translation by Hatim

7 years agoFixup a700d657 : holes in right margin selection
Jean-Marc Lasgouttes [Tue, 25 Oct 2016 14:14:35 +0000 (16:14 +0200)]
Fixup a700d657 : holes in right margin selection

7 years agoShow on screen font changes for text-in-math
Enrico Forestieri [Tue, 25 Oct 2016 14:03:34 +0000 (16:03 +0200)]
Show on screen font changes for text-in-math

7 years agoWhen selecting special logos, set their color correctly
Jean-Marc Lasgouttes [Tue, 25 Oct 2016 13:13:23 +0000 (15:13 +0200)]
When selecting special logos, set their color correctly

It is not nice when they are the only thinkg in the text that does not
change color.

7 years agoOne item less on todo list
Jean-Marc Lasgouttes [Tue, 25 Oct 2016 08:14:35 +0000 (10:14 +0200)]
One item less on todo list

7 years agoReimplement RowPainter::paintSelection() using row elements
Jean-Marc Lasgouttes [Tue, 25 Oct 2016 07:28:14 +0000 (09:28 +0200)]
Reimplement RowPainter::paintSelection() using row elements

The code is much simpler now and can be actually understood.

As a byproduct, fix bug #10424.

7 years agoWin installer: more translations by Hatim
Uwe Stöhr [Mon, 24 Oct 2016 23:21:53 +0000 (01:21 +0200)]
Win installer: more translations by Hatim

7 years agoFactor out common code used to underline/strike out math
Enrico Forestieri [Mon, 24 Oct 2016 22:49:26 +0000 (00:49 +0200)]
Factor out common code used to underline/strike out math

Also use the exact amount of vertical space TeX adds after a
math display (instead of 1ex) for vertically shifting the box.
We have to use \belowdisplayshortskip here, instead of
\belowdisplayskip, because the math formula is typeset by alone
in a box, and thus there is no following line.

7 years agoWork around issues with Qt5 and Arabic text
Jean-Marc Lasgouttes [Sun, 23 Oct 2016 18:52:01 +0000 (20:52 +0200)]
Work around issues with Qt5 and Arabic text

This fixes two particular problems

* with Qt5, it seems that QFontMetrics::width does not return the
  correct value for some Arabic text; this patch uses QTextLayout
  instead to compute a string width

* Likewise, the undocumented layout flags TextForceRightToLeft and
  TextForceLeftToRight do not work with Arabic text; this patch uses
  unicode override characters instead.

It might be that the two issues are related. In any case, they do not
happen with latin text where right-to-left direction is enforced. And
they do not happen with Qt4.

Additionally, remove some dead code in GuiFontMetrics::pos2x().

Fixes bug #10436.

7 years agoFix bug in replacement of "$$s/" in converter commands, introduced in 8b66f9ce.
Tommaso Cucinotta [Sun, 23 Oct 2016 19:35:56 +0000 (21:35 +0200)]
Fix bug in replacement of "$$s/" in converter commands, introduced in 8b66f9ce.

7 years agoCorrectly track ulem commands with change tracking
Enrico Forestieri [Sun, 23 Oct 2016 16:23:41 +0000 (18:23 +0200)]
Correctly track ulem commands with change tracking

LyX assumes that everything in \lyxdeleted is struck out by ulem
and increases the corresponding counter. However, deleted display
math material is struck out using tikz. As we also take into
account the deletion of underlined display math (in order to
properly position such material vertically), we have to take
care that the count is correct.

7 years agoOn export, mark the start of the first paragraph
Enrico Forestieri [Sun, 23 Oct 2016 16:04:13 +0000 (18:04 +0200)]
On export, mark the start of the first paragraph

No newline is written after \begin{document}, such that
the afterParbreak method would return false. This misleads
the code that outputs a display math in an ulem command
to emit a newline command instead of \noindent, causing
latex errors. This occurs only if the math is at the very
start of a document, without anything before it.

7 years agoRevert "Fix Ticket #9741 misleading name for font-encoding setting "default"."
Juergen Spitzmueller [Sun, 23 Oct 2016 15:20:58 +0000 (17:20 +0200)]
Revert "Fix Ticket #9741 misleading name for font-encoding setting "default"."

This reverts commit e37e4f537c70d75835441d84bc327c56805ecc3e.

The issue still needs discussion.

7 years agoWin installer: correct Arabic translation by Hatim
Uwe Stöhr [Sun, 23 Oct 2016 14:28:53 +0000 (16:28 +0200)]
Win installer: correct Arabic translation by Hatim

7 years agoMark a signal invokation as such
Jean-Marc Lasgouttes [Sun, 23 Oct 2016 11:48:18 +0000 (13:48 +0200)]
Mark a signal invokation as such

7 years agoFORMAT: fix date
Uwe Stöhr [Sun, 23 Oct 2016 01:41:45 +0000 (03:41 +0200)]
FORMAT: fix date

7 years agoFix compilation on cygwin & others
Guillaume Munch [Sat, 22 Oct 2016 22:25:05 +0000 (00:25 +0200)]
Fix compilation on cygwin & others

7 years agoImprovement to the reverse-search algorithm
Guillaume Munch [Tue, 11 Oct 2016 12:52:10 +0000 (14:52 +0200)]
Improvement to the reverse-search algorithm

7 years agoTexRow: enable new RowEntry types
Guillaume Munch [Tue, 11 Oct 2016 12:14:48 +0000 (14:14 +0200)]
TexRow: enable new RowEntry types

7 years agoMove class definitions inside main class
Guillaume Munch [Tue, 11 Oct 2016 10:09:38 +0000 (12:09 +0200)]
Move class definitions inside main class

Prepare for following commits.

This prevent's forward-declaration, but including the TexRow header should be
inexpensive.

7 years agoSimplify and add debug message
Guillaume Munch [Tue, 11 Oct 2016 09:22:20 +0000 (11:22 +0200)]
Simplify and add debug message

7 years agoUse the new infrastructure to select rows during error reporting
Guillaume Munch [Sun, 9 Oct 2016 19:34:12 +0000 (21:34 +0200)]
Use the new infrastructure to select rows during error reporting

7 years agoAdd safe line breaks to improve TexRow precision in subfloat & caption
Guillaume Munch [Mon, 10 Oct 2016 15:14:39 +0000 (17:14 +0200)]
Add safe line breaks to improve TexRow precision in subfloat & caption

7 years agoSafe line break to increase precision of error reporting in Listings caption
Guillaume Munch [Mon, 10 Oct 2016 14:52:32 +0000 (16:52 +0200)]
Safe line break to increase precision of error reporting in Listings caption

7 years agosupport for Amharic, Asturian, Kannada and Khmer
Uwe Stöhr [Sat, 22 Oct 2016 13:33:59 +0000 (15:33 +0200)]
support for Amharic, Asturian, Kannada and Khmer

- fileformat change
- I could not update the tex2lyx test files because of bug #10440
- maybe the lyx2lyx routine could be improved but since a document can also begin with another layout than "Standard" I could not use the lyx2lyx function put_cmd_in_ert

7 years agoFix LaTeX output of fixed-width cells with decimal separator
Juergen Spitzmueller [Sat, 22 Oct 2016 10:13:36 +0000 (12:13 +0200)]
Fix LaTeX output of fixed-width cells with decimal separator

This follows Uwe's suggestions (and discharges my own).

The result is not ideal, but there is currently no ideal solution.

Fixes: #9568
7 years agoBump layout formats
Juergen Spitzmueller [Sat, 22 Oct 2016 07:25:01 +0000 (09:25 +0200)]
Bump layout formats

7 years agoAdditional.lyx: accept some changes
Uwe Stöhr [Sat, 22 Oct 2016 01:04:10 +0000 (03:04 +0200)]
Additional.lyx: accept some changes

7 years agolayouts/modules: use the new PassThru tag
Uwe Stöhr [Sat, 22 Oct 2016 01:01:44 +0000 (03:01 +0200)]
layouts/modules: use the new PassThru tag

This fixes problems like bug #10434

7 years agoDo not output bidi direction macros in passthru context
Juergen Spitzmueller [Fri, 21 Oct 2016 08:40:19 +0000 (10:40 +0200)]
Do not output bidi direction macros in passthru context

Part of #10434.

7 years agoImplement PassThru option to arguments.
Juergen Spitzmueller [Fri, 21 Oct 2016 08:39:55 +0000 (10:39 +0200)]
Implement PassThru option to arguments.

7 years agoFix Ticket #9741 misleading name for font-encoding setting "default".
Günter Milde [Fri, 21 Oct 2016 07:10:46 +0000 (09:10 +0200)]
Fix Ticket #9741 misleading name for font-encoding setting "default".

It would be nice, if the tooltip showed the value of
lyxrc.fontenc, but too complicated for my simple patch.

7 years agoThese two routines are now redundant.
Richard Heck [Fri, 21 Oct 2016 02:56:40 +0000 (22:56 -0400)]
These two routines are now redundant.

7 years agoWe can now use the cached information instead of tracing the graph.
Richard Heck [Fri, 21 Oct 2016 02:52:54 +0000 (22:52 -0400)]
We can now use the cached information instead of tracing the graph.

7 years agoUse a typedef for vector<Format const *>, which is what gets used
Richard Heck [Wed, 19 Oct 2016 22:11:58 +0000 (18:11 -0400)]
Use a typedef for vector<Format const *>, which is what gets used
for lists of exportable and importable formats.

7 years agoThere is no need now to cache format information in the SendTo
Richard Heck [Wed, 19 Oct 2016 21:30:48 +0000 (17:30 -0400)]
There is no need now to cache format information in the SendTo
dialog.

7 years agoSince we're now caching this, we can sort it once, rather than
Richard Heck [Wed, 19 Oct 2016 21:28:51 +0000 (17:28 -0400)]
Since we're now caching this, we can sort it once, rather than
lots of times.

7 years agoSimple cache for information on exportable formats, since we seem
Richard Heck [Wed, 19 Oct 2016 21:22:58 +0000 (17:22 -0400)]
Simple cache for information on exportable formats, since we seem
to access this information a lot.

7 years agoFix indentation
Enrico Forestieri [Thu, 20 Oct 2016 23:58:45 +0000 (01:58 +0200)]
Fix indentation

7 years agoFortify math insets against ulem commands
Enrico Forestieri [Thu, 20 Oct 2016 23:35:39 +0000 (01:35 +0200)]
Fortify math insets against ulem commands

It should be now possible underlining or striking out any kind
of math inset containing any math construct indigestible to ulem.
While this was already possible for inline math insets, they could
have break if an aligned environment was used, for example.
This is now possible also for diplay math. Even if this can be
nonsensical and not visually perfect, at least no latex errors
should be generated if one tries to.

7 years agotex2lyx/Preamble.cpp: forgot this in r[f179173e/lyxgit]
Uwe Stöhr [Thu, 20 Oct 2016 22:20:27 +0000 (00:20 +0200)]
tex2lyx/Preamble.cpp: forgot this in r[f179173e/lyxgit]

- polyglossia supports Romansh, Piedmontese and Friulian

7 years agotex2lyx/Preamble.cpp: sort alphabetically to keep overview
Uwe Stöhr [Thu, 20 Oct 2016 22:14:09 +0000 (00:14 +0200)]
tex2lyx/Preamble.cpp: sort alphabetically to keep overview

- also comment out the unsupported languages

7 years agoFrench splash.lyx: restore \origin
Uwe Stöhr [Thu, 20 Oct 2016 20:35:00 +0000 (22:35 +0200)]
French splash.lyx: restore \origin

7 years agoseminar.lyx: accept change from Günter
Uwe Stöhr [Thu, 20 Oct 2016 20:31:30 +0000 (22:31 +0200)]
seminar.lyx: accept change from Günter

- French seminar.lyx: few beautifications

7 years agoWhen breaking an empty paragraph reduces depth, set layout too
Jean-Marc Lasgouttes [Thu, 13 Oct 2016 18:33:57 +0000 (20:33 +0200)]
When breaking an empty paragraph reduces depth, set layout too

This requires an adaptation of the Separator inset insertion code,
which has been duly provided by Enrico.

7 years agoFix compiler warning from clang 3.9
Jean-Marc Lasgouttes [Thu, 20 Oct 2016 07:27:12 +0000 (09:27 +0200)]
Fix compiler warning from clang 3.9

7 years agoAdd shell wrapper for Maxima on MacOSX
Stephan Witt [Thu, 20 Oct 2016 04:35:13 +0000 (06:35 +0200)]
Add shell wrapper for Maxima on MacOSX
The command line utility of Maxima is inside the Maxima.app bundle and isn't named "maxima"