Commit Graph

37135 Commits

Author SHA1 Message Date
Jean-Marc Lasgouttes
8a9ea4d264 Initialize properly pointer
Fixes coverity issue 23411
2017-02-25 00:20:51 +01:00
Juergen Spitzmueller
e68afbe671 Plain quote fixes
\textquote... commands are only available in t1.
2017-02-23 10:39:50 +01:00
Juergen Spitzmueller
cf82bcadfb Use proper font encoding in InsetQuotes 2017-02-23 10:39:31 +01:00
Juergen Spitzmueller
7d54edbf94 \textquotedbl and \textquotesingle are now covered by TU encoding
Generally, TU is on par with T1 now. Thus introduce a new latexSpecialTU
method that currently just links to latexSpecialT1.
2017-02-23 10:17:52 +01:00
Kornel Benko
c6314fc7d0 Amend b5416928. Cmake configuration for QT5.8 2017-02-23 00:18:52 +01:00
Scott Kostyshak
f9ee47dfa2 Theorem style: set NextNoIndent to 0
After a Theorem environment, LaTeX does by default indent the
following paragraph.

I checked various classes and no ModifyStyle was needed. The
hollywood and broadway classes are strange cases where there is an
indent after the Theorem environment, but it is much smaller than
the normal indent. The indent is the same as the opening indent of
normal text, which we currently ignore. Further, I don't expect it
is common to use theorems in these classes.
2017-02-22 12:01:39 -05:00
Scott Kostyshak
2b1a99e57d Fix ParIndent for various "Standard" styles 2017-02-22 12:01:14 -05:00
Scott Kostyshak
0d33c78963 Add references for the inverted linguistics tests 2017-02-22 11:59:20 -05:00
Scott Kostyshak
b65c0bbf10 Remove a \textipa that snuck into es/UserGuide.lyx
This empty inset caused problems with LuaTeX + system fonts (see
b863fb07). Although these problems seem to be resolved, this empty
inset is not supposed to be there.
2017-02-22 11:48:42 -05:00
Guillaume Munch
0a7ba185a3 GuiCitation: set instant search as the default
It was already supposed to be the default after 7d429291, but one has to set the
default value at the level of the QSettings.
2017-02-22 16:58:38 +01:00
Guillaume Munch
8353a53cc3 Clarify comment 2017-02-22 16:57:13 +01:00
Kornel Benko
b01dd12c72 ctests: linguistic files and spanish UserGuide now compile
Thanks to Jürgen's \texpipa changes for linguistic.
2017-02-22 11:48:51 +01:00
Kornel Benko
b04893be44 Cmake tests: Scheherezade font misses glyph '*'
Added "export/export/latex/arabic_simple_pdf4_systemF"
and "export/doc/ar/Intro_pdf4_systemF"
to the list of tests which ignore "missing glyph" error.

Thanks to Jürgen Spitzmüller.
2017-02-22 11:33:01 +01:00
Juergen Spitzmueller
b6a7530ba2 xunicode (only) needs to be loaded for tipa emulation.
Previous fontspec loaded xunicode internally, for recent version, this
is no longer desired. However, we still need it for tipa emulation.
We use fontspec's trick to bypass XeTeX test with LuaTeX.
2017-02-22 11:27:51 +01:00
Jean-Marc Lasgouttes
d2ad9ae6e2 Rewrite selection code in mathed
Now the selection is not done by the inset, but by the MathData
itself. This allows for some code simplification and avoids an
extra redraw.

Additionally, this fixes the selection inside macros, which was broken
by the new MathRow code.
2017-02-22 11:00:30 +01:00
Guillaume Munch
05b90abaf7 Allow more translations of OutlinerNames
Allow comments at the end.

Although comments seem to be valid at the end of lines in layouts, few of the
regexps take this into account. However, OutlinerName was the only one where
there were actual lines with comments at the end. Not touching the others as
there is no one-size-fits-all solution with these regexps.

Thanks Kornel for reporting the issue.
2017-02-21 21:04:50 +01:00
Jean-Marc Lasgouttes
1c1b3519f9 Use a plain font in macro edit box
Without this, the font would be mathcal in a mathcal environment.
Additionally, set the font size to tiny when computing metrics too.
2017-02-21 11:49:12 +01:00
Juergen Spitzmueller
cdc9176949 Add some notes about ipa with fontspec. 2017-02-21 10:31:31 +01:00
Jean-Marc Lasgouttes
b9d45e5ef6 Set the cursor a bit on the left in empty cells 2017-02-21 09:53:52 +01:00
Juergen Spitzmueller
ed23366300 Add tableaux to outliner 2017-02-21 07:11:53 +01:00
Jean-Marc Lasgouttes
5211ca52ca Move comment
It is slightly more useful here.
2017-02-21 06:52:34 +01:00
Jean-Marc Lasgouttes
e04079aa52 Fixup to 33b696c8: fix compilation with gcc 4.6 2017-02-21 06:21:49 +01:00
Jean-Marc Lasgouttes
fc02744119 Revert "Linearize macros in box edit mode too."
Guillaume tells me that there are problems. We'll return to it later.

This reverts commit 0140348118.
2017-02-21 05:43:38 +01:00
Guillaume Munch
33b696c8ac Introduce support/Cache.h
Useful to cache copies of objects, including shared_ptrs. No risks of dangling
pointer, and avoid naked pointers in the source.

Fix memory leak when compiling with Qt5.
2017-02-21 00:06:07 +01:00
Jean-Marc Lasgouttes
9a54376aef Better handling for negative position in pos2x
This code is already in stable actually. The old one does not work
well in RtL text.
2017-02-20 15:39:28 +01:00
Scott Kostyshak
9fbc73c4d2 ctests: it_Customization_pdf5_systemF now compiles
An update in TeX Live causes the test to pass (also for Kornel), so
now we uninvert the test.

I looked at the output file, and it seems fine to me (although it is
long, and I just checked briefly).
2017-02-19 16:53:39 -05:00
Guillaume Munch
591b311984 Amend 71623b88
Fix loop of word-delete-backward at the start of a paragraph.
2017-02-19 14:54:44 +01:00
Juergen Spitzmueller
a1d7b58e6e Compatibility fix for acmsiggraph.cls v0.93
Reported by Jean-Pierre Chrétien, fix suggested by Günter Milde.

Also add a note about obsolescence of the class, by Jean-Pierre.
2017-02-19 12:27:33 +01:00
Kornel Benko
3b1db17985 Convert clunky math formulas in ar/Intro.lyx 2017-02-19 10:32:44 +01:00
Guillaume Munch
7337c968b3 Fix InsetMathRef mouse behaviour (#10568)
Fix mouse-selection behaviour.

Don't open dialog when releasing if it was not a real click.
2017-02-18 23:03:54 +01:00
Guillaume Munch
63be456c8d When pressing math with the mouse, move to the closest edge (#9748)
Unless it has some dialog that we want to activate.
2017-02-18 23:03:54 +01:00
Guillaume Munch
bac8a95871 Improve mouse selection over InsetCollapsable button. 2017-02-18 23:03:54 +01:00
Guillaume Munch
faeb199793 When selecting math with the mouse, selection happens in the middle (#9748) 2017-02-18 23:03:54 +01:00
Guillaume Munch
eb4a2a190f When selecting text with the mouse, inset selection happens in the middle 2017-02-18 23:03:53 +01:00
Guillaume Munch
86d9abeea7 Move cursor in front of InsetMathSpace before opening the dialog (#7749) 2017-02-18 23:03:53 +01:00
Guillaume Munch
71623b88b2 Generalise the deletion protection mechanism from math to text (#9540)
Now backspace and delete in text will select non-empty math and text insets
before deleting them. This is consistent with what happens in math already.

This is implemented for InsetText as well but can be disabled in case of
negative feedback.

This can be set for any sort of inset with the new virtual method
Inset::confirmDeletion.

New option "force" for the LFUN_*_DELETE_* commands, that bypasses the
confirmDeletion check.
2017-02-18 23:03:23 +01:00
Juergen Spitzmueller
ffacdd8b46 Output Preamble code of InPreamble styles before the styles themselves.
This assures that macros are defined.

Fixes: #10215
2017-02-18 10:40:42 +01:00
Juergen Spitzmueller
91719d9089 gmo files that have been forgotten to push. 2017-02-18 10:38:32 +01:00
Juergen Spitzmueller
e688b9876e Use ASCII number in \char definition
The backtick version breaks in some cases (footnotes in sections)
2017-02-18 10:18:36 +01:00
Juergen Spitzmueller
5b03606482 Pass thru overlay argument content. 2017-02-18 08:48:15 +01:00
Juergen Spitzmueller
4acc1c5535 Whitespace 2017-02-18 08:48:00 +01:00
Juergen Spitzmueller
1db9b50407 Use \providecommand for logical markup macros
\strong is already defined by recent fontspec.

Also use non-long definition (starred version), since the insets
only contain one paragraph.
2017-02-17 08:35:41 +01:00
Pavel Sanda
49a805c3a2 Keep track of signatures stored on ftp server. 2017-02-16 12:54:43 -08:00
Kornel Benko
0e5bcb4dcc Add depth-increment/decrement shortcuts to emacs bind 2017-02-16 15:29:15 +01:00
Kornel Benko
b473091b98 Update sk.po 2017-02-16 11:06:14 +01:00
Juergen Spitzmueller
46f5645d19 de.po 2017-02-16 10:29:32 +01:00
Juergen Spitzmueller
81883c89b6 Fix Fixme module description to make it translatable
See #10058
2017-02-16 10:28:42 +01:00
Juergen Spitzmueller
ac064cf0f4 Fix the fix of description parsing 2017-02-16 10:28:11 +01:00
Günter Milde
65ad858b0f Use typographical quotes in modernCV
The modernCV template contained literal straight quotes (probabely from
a copy/paste action).
2017-02-15 14:45:14 +01:00
Juergen Spitzmueller
46e3885d19 \\textquotedbl and \\textquotesingl are unknown in TU encoding.
Use \\char` instead.
2017-02-15 08:37:02 +01:00