]> git.lyx.org Git - lyx.git/log
lyx.git
7 years agoImprove wording (#10670)
Guillaume MM [Mon, 15 May 2017 22:28:43 +0000 (00:28 +0200)]
Improve wording (#10670)

7 years agoFix compilation failure
Jean-Marc Lasgouttes [Mon, 15 May 2017 08:29:09 +0000 (10:29 +0200)]
Fix compilation failure

7 years agoCache QTextLayout objects with Qt/Mac
Jean-Marc Lasgouttes [Tue, 18 Apr 2017 12:02:31 +0000 (14:02 +0200)]
Cache QTextLayout objects with Qt/Mac

It seems that the internal Qt5 caching does not work well here,
especially in the case of Herbrew documents.

7 years agoUpdate sk.po
Kornel Benko [Mon, 15 May 2017 05:59:38 +0000 (07:59 +0200)]
Update sk.po

7 years agoContext menu item for "label only" reference.
Richard Heck [Mon, 15 May 2017 01:21:02 +0000 (21:21 -0400)]
Context menu item for "label only" reference.

Fixes #10669.

7 years agoEmbeddedObjects.lyx: start updating for LyX 2.3
Uwe Stöhr [Mon, 15 May 2017 00:48:07 +0000 (02:48 +0200)]
EmbeddedObjects.lyx: start updating for LyX 2.3

- add new vector images (the SVG files are only the sources and are therefore purposely not added to Makefile.am)
 On the lyx-docs list it was reported that our current images look old and pixelated and I agree, so that I just draw new ones.

7 years agode.po: correct 2 translations
Uwe Stöhr [Mon, 15 May 2017 00:38:14 +0000 (02:38 +0200)]
de.po: correct 2 translations

7 years agoFix colours of buttons in notification frame
Guillaume MM [Mon, 15 May 2017 00:01:58 +0000 (02:01 +0200)]
Fix colours of buttons in notification frame

7 years agoCorrect debug message
Guillaume MM [Sun, 14 May 2017 23:42:24 +0000 (01:42 +0200)]
Correct debug message

7 years agoFrench Shortcuts.lyx: change paragraph separation
Uwe Stöhr [Sun, 14 May 2017 19:02:31 +0000 (21:02 +0200)]
French Shortcuts.lyx: change paragraph separation

- this also saves some horizontal space and looks better; suggested by Mike on the lyx-docs list

7 years agoFrench Shortcuts.lyx: set proper page margins
Uwe Stöhr [Sun, 14 May 2017 18:54:41 +0000 (20:54 +0200)]
French Shortcuts.lyx: set proper page margins

- we use the standard article class and as the tables are very long in French we must set the page size and margins

7 years agoDutch doc files: some refinements
Uwe Stöhr [Sun, 14 May 2017 18:41:01 +0000 (20:41 +0200)]
Dutch doc files: some refinements

the files are outdated but the should nevertheless nice in the output.

7 years agoItalian Intro.lyx: corrections and refinements by Mike and me
Uwe Stöhr [Sun, 14 May 2017 18:18:10 +0000 (20:18 +0200)]
Italian Intro.lyx: corrections and refinements by Mike and me

7 years agoFrench Intro.lyx: some refinements proposed by Mike
Uwe Stöhr [Sun, 14 May 2017 17:56:59 +0000 (19:56 +0200)]
French Intro.lyx: some refinements proposed by Mike

7 years agoIntro.lyx: some refinements proposed by Mike
Uwe Stöhr [Sun, 14 May 2017 17:49:52 +0000 (19:49 +0200)]
Intro.lyx: some refinements proposed by Mike

- use true small caps
- use hyperlinks for all types of links

- UserGuide.lyx: fix an image scaling

7 years agokeytests: New script to replace 'pcregrep' in more complex cases.
Kornel Benko [Sun, 14 May 2017 16:57:25 +0000 (18:57 +0200)]
keytests: New script to replace 'pcregrep' in more complex cases.

Suppose, we want to test a key sequence which should produce
logs in defined sequence. ATM, we use pcregrep to see, if
a pattern occurs in the log-file. This is OK, if using only single
tests with only one message to care about.
But it is not OK for combined tests.
As an example, the file 'findadv-combine-in.txt' is combining
tests findadv-re-01-in.txt, findadv-re-02-in.txt and findadv-re-03-in.txt.
This test runns here about 25 seconds, while the time for the other three
is about 144 secs.
(Most time is with starting/stopping lyx)

7 years agoGerman Intro.lyx: some refinements from Mike and me
Uwe Stöhr [Sun, 14 May 2017 16:57:58 +0000 (18:57 +0200)]
German Intro.lyx: some refinements from Mike and me

7 years agopo-files: remerge
Uwe Stöhr [Sun, 14 May 2017 16:31:40 +0000 (18:31 +0200)]
po-files: remerge

-also merge strings translated in 2.2.3 but not master (only affects ar.po, ia.po, pt_BR.po and sv.po) as a service for your translators

- some translations for de.po

7 years agoUpdate sk.po
Kornel Benko [Sun, 14 May 2017 13:12:59 +0000 (15:12 +0200)]
Update sk.po

7 years agotemplates/acmart.lyx: Small improvements
Guillaume MM [Sat, 13 May 2017 22:27:34 +0000 (00:27 +0200)]
templates/acmart.lyx: Small improvements

7 years agoacmart.layout: fix generation of Index
Guillaume MM [Sat, 13 May 2017 22:27:02 +0000 (00:27 +0200)]
acmart.layout: fix generation of Index

also add booktabs.

7 years agoFix OutlinerNames for Floats
Guillaume MM [Sat, 13 May 2017 15:36:20 +0000 (17:36 +0200)]
Fix OutlinerNames for Floats

7 years agoctests: invert acmart check_load test
Scott Kostyshak [Sun, 14 May 2017 08:28:28 +0000 (04:28 -0400)]
ctests: invert acmart check_load test

The root issue is known and was reported to maintainer.

7 years agoctests: adapt patterns to file move
Scott Kostyshak [Sun, 14 May 2017 08:20:48 +0000 (04:20 -0400)]
ctests: adapt patterns to file move

ACM-siggraph was moved to obsolete folder at 5608f6fd.

7 years agorename buffer parameter math_number_before to math_numbering_side
Uwe Stöhr [Sat, 13 May 2017 18:39:45 +0000 (20:39 +0200)]
rename buffer parameter math_number_before to math_numbering_side

this is a fileformat change

also try to fix an UI issue that JMarc gets

7 years ago#10285 and #10542 - Add sips as a fallback converter for Mac to provide preview of...
Stephan Witt [Sat, 13 May 2017 18:05:39 +0000 (20:05 +0200)]
#10285 and #10542 - Add sips as a fallback converter for Mac to provide preview of PDF graphics in LyX when pdftops is not installed

7 years agobuild5-2015.bat: fix a path
Uwe Stöhr [Sat, 13 May 2017 17:19:18 +0000 (19:19 +0200)]
build5-2015.bat: fix a path

7 years agoFix call of layout2layout as a module.
José Matos [Sat, 13 May 2017 14:25:44 +0000 (15:25 +0100)]
Fix call of layout2layout as a module.

If we call parser.parse_args(), thus with no arguments, the parser uses
sys.argv (because that is the default). We should pass argv since that was
the purpose of handling argv in the main function.

We pass argv[1:] since when parsing the arguments we always ignore the name
of the program.

Use the full power of argparse to declare the default value of the end_format.

7 years agoAdd acmart template
Guillaume MM [Sat, 13 May 2017 14:00:57 +0000 (16:00 +0200)]
Add acmart template

Move obsolete templates to templates/obsolete

7 years agoFix computation of InsetLayout arguments for InsetText
Guillaume MM [Fri, 12 May 2017 22:51:21 +0000 (00:51 +0200)]
Fix computation of InsetLayout arguments for InsetText

Do not take the optional arguments from the first paragraph, but from the
paragraphs whose layout have no arguments, consistently with the code in
InsetArgument::updateBuffer (i.e. what was shown on screen).

7 years agoClean-up before following bugfix
Guillaume MM [Fri, 12 May 2017 22:41:23 +0000 (00:41 +0200)]
Clean-up before following bugfix

Add helper function and factor code

7 years agoSimplify before clean-up before following bugfix
Guillaume MM [Fri, 12 May 2017 21:13:38 +0000 (23:13 +0200)]
Simplify before clean-up before following bugfix

7 years agoCosmetic
Guillaume MM [Fri, 12 May 2017 18:59:24 +0000 (20:59 +0200)]
Cosmetic

7 years agoFix call os lyx2lyx as a module.
José Matos [Sat, 13 May 2017 12:39:02 +0000 (13:39 +0100)]
Fix call os lyx2lyx as a module.

If we call parser.parse_args(), thus with no arguments, the parser uses
sys.argv (because that is the default). We should pass argv since that was
the purpose of handling argv in the main function.

7 years agocleanup: remove unneeded whitespaces
José Matos [Sat, 13 May 2017 12:38:01 +0000 (13:38 +0100)]
cleanup: remove unneeded whitespaces

7 years agokeytests: Polishing the shutdown of lyx at test-end
Kornel Benko [Fri, 12 May 2017 19:28:57 +0000 (21:28 +0200)]
keytests: Polishing the shutdown of lyx at test-end

7 years agoprefs2prefs.py: whitespace changes
José Matos [Fri, 12 May 2017 14:29:29 +0000 (15:29 +0100)]
prefs2prefs.py: whitespace changes

Bring this file in line with the other python scripts:
  * use four spaces for indentation instead of a tab

Remove empty whitespace at the end of lines.

7 years agoProper GUI feedback for leqno option
Jean-Marc Lasgouttes [Fri, 12 May 2017 13:07:02 +0000 (15:07 +0200)]
Proper GUI feedback for leqno option

With these changes, equation numbers are shown properly on screen.
When setting is default, we guess the side using these two rules

* ams(art|book) and siamltex classes are leqno by default. This is
  signalled because the classes provide "leqno" (in amsdefs.inc). If
  there are other classes that do this in output, the relevant classes
  should be updated.

* the language arabic_arabi also sets leqno by default. This is
  currently hardcoded for lack of a better idea.

Besides, a few bugs are fixed:
* use mathrm instead of mathbf for numbers metrics
* set spacing between maths and labels in inches

7 years agokeytests: Make reading of /proc for lyx-status more robust
Kornel Benko [Fri, 12 May 2017 11:55:51 +0000 (13:55 +0200)]
keytests: Make reading of /proc for lyx-status more robust

Often the relevant entry (e.g. /proc/xxxx/status) exists,
but is empty. This led to many tests fail, mostly at
the first tests after the start of the OS.

7 years agoNever, never use a string for something that has 3 values
Jean-Marc Lasgouttes [Fri, 12 May 2017 09:57:17 +0000 (11:57 +0200)]
Never, never use a string for something that has 3 values

This commit replaces the string math_number_before by a proper math_number enum.

Note that the _before naming was misleading. It was chosen at a time
when we were not sure whether leqno was always left or could be right
in RtL documents.

Note that the token in LyX document is still \math_number_before and
this should be changed.

Fixup for 19cc4a1f.

7 years agokeytests: Print proc-info in case lyx_status() signals "dead"
Kornel Benko [Fri, 12 May 2017 09:22:05 +0000 (11:22 +0200)]
keytests: Print proc-info in case lyx_status() signals "dead"

7 years agopython3: fix the preview framework to work with both python 2 and 3 (part 4)
José Matos [Fri, 12 May 2017 09:01:48 +0000 (10:01 +0100)]
python3: fix the preview framework to work with both python 2 and 3 (part 4)

Remove support for python 1.x (really)

This code has not been used for a long time, probably never, since some code
above requires at least python 2.4 to work.

I got to this code by running futurize from python-future. There are no
significant warnings, mostly are related with the division but since
we are dividing floats there is no change between python 2 and 3.

7 years agoGuiDocument: support also the class option reqno
Uwe Stöhr [Thu, 11 May 2017 23:06:05 +0000 (01:06 +0200)]
GuiDocument: support also the class option reqno

as discussed our support for the formula numbering side should be complete. There are document classes that uses left numbering as default and with the class option "reqno" this can be changed to right numbering. reqno requires the loading of amsamth.

7 years agoUpdate sk.po
Kornel Benko [Thu, 11 May 2017 22:43:00 +0000 (00:43 +0200)]
Update sk.po

7 years agopython3: fix the preview framework to work with both python 2 and 3 (part 3)
José Matos [Thu, 11 May 2017 19:56:56 +0000 (20:56 +0100)]
python3: fix the preview framework to work with both python 2 and 3 (part 3)

trivial fix: xrange -> range

7 years agoFix fa0f142e (plain quotes fix).
Günter Milde [Thu, 11 May 2017 19:41:12 +0000 (21:41 +0200)]
Fix fa0f142e (plain quotes fix).

Forgot the "break", sorry.

7 years agoFix #10583 - plain quote inset latex export in different font encodings.
Günter Milde [Thu, 11 May 2017 16:08:11 +0000 (18:08 +0200)]
Fix #10583 - plain quote inset latex export in different font encodings.

Since [e68afbe671394a/lyxgit], plain quotes came out wrong if the document
contains text parts in languages setting a different font encoding.

7 years agopython3: fix the preview framework to work with both python 2 and 3 (part 2)
José Matos [Thu, 11 May 2017 14:50:08 +0000 (15:50 +0100)]
python3: fix the preview framework to work with both python 2 and 3 (part 2)

7 years agoFix the fix for python 2 and 3 compatibility.
Günter Milde [Thu, 11 May 2017 14:30:10 +0000 (16:30 +0200)]
Fix the fix for python 2 and 3 compatibility.

Really remove the "r" prefix.

7 years agokeytests: more tweaking
Kornel Benko [Wed, 10 May 2017 22:00:42 +0000 (00:00 +0200)]
keytests: more tweaking

Tested with QT5.7 QT5.8 (self compiled) and QT4.8

7 years agolibreoffice converter: get rid of warnings about deprecated options syntax
Tommaso Cucinotta [Wed, 10 May 2017 01:26:36 +0000 (03:26 +0200)]
libreoffice converter: get rid of warnings about deprecated options syntax

7 years agobuild5-2015.bat: fix build script for current CMake releases
Uwe Stöhr [Tue, 9 May 2017 23:38:48 +0000 (01:38 +0200)]
build5-2015.bat: fix build script for current CMake releases

- since CMake 3.5 the path to the cmake.exe is no longer by default written to Windows' PATH variable. Therefore this has to be done in the script.

- Windows path can contain spaces (CMake's default installation folder does) so we must use quotes around the paths

- set the CMAKE_PREFIX_PATH variable

7 years agoMove obsolete layouts to an Obsolete category
Guillaume MM [Fri, 5 May 2017 22:24:47 +0000 (00:24 +0200)]
Move obsolete layouts to an Obsolete category

7 years agoOld ACM layouts are obsolete
Guillaume MM [Fri, 5 May 2017 22:11:29 +0000 (00:11 +0200)]
Old ACM layouts are obsolete

7 years agoalgorithm2e.module: Add Algorithm style to typeset algorithms
Guillaume MM [Fri, 5 May 2017 21:48:20 +0000 (23:48 +0200)]
algorithm2e.module: Add Algorithm style to typeset algorithms

Do not output \begin and \end if there is not environment name. We only need the
nesting feature.

7 years agoPackaging for acmart
Guillaume MM [Tue, 9 May 2017 22:02:38 +0000 (00:02 +0200)]
Packaging for acmart

7 years agoACM article layout (#10632)
Guillaume MM [Mon, 1 May 2017 18:04:16 +0000 (20:04 +0200)]
ACM article layout (#10632)

Contributed by John Perry

7 years agoInTitle: ignore InPreamble styles for outputting \maketitle.
Guillaume MM [Fri, 5 May 2017 21:49:52 +0000 (23:49 +0200)]
InTitle: ignore InPreamble styles for outputting \maketitle.

7 years agoSmarter Ctrl+{Left,Right} in math.
Guillaume MM [Tue, 9 May 2017 21:28:32 +0000 (23:28 +0200)]
Smarter Ctrl+{Left,Right} in math.

Consider mathbin, mathrel and mathpunct as word separators. This makes
Ctrl+{Left,Right} more intuitive, quicker, and more different from {Left,Right}.

This takes into account all the feedback from the discussion on the general
list. Further feedback welcome.

7 years agobuild5-2015.bat: the option LYX_ENABLE_CXX11 is no longer available in CMake
Uwe Stöhr [Tue, 9 May 2017 20:08:22 +0000 (22:08 +0200)]
build5-2015.bat: the option LYX_ENABLE_CXX11 is no longer available in CMake

- also use a boolean setting for LYX_CONSOLE, see bug #10658

7 years agokeytests: Added debug 'key' to be able to analyse test results.
Kornel Benko [Tue, 9 May 2017 19:08:52 +0000 (21:08 +0200)]
keytests: Added debug 'key' to be able to analyse test results.

There still are keys which do not make it into the lyx logfile.
For instance repeated shortcuts.

7 years agokeytests: some tweaking
Kornel Benko [Tue, 9 May 2017 19:07:35 +0000 (21:07 +0200)]
keytests: some tweaking

7 years agoUpdate sk.po
Kornel Benko [Tue, 9 May 2017 19:06:32 +0000 (21:06 +0200)]
Update sk.po

7 years agoGuiDocument: rename a function to follow the naming guideline
Uwe Stöhr [Tue, 9 May 2017 19:02:03 +0000 (21:02 +0200)]
GuiDocument: rename a function to follow the naming guideline

7 years agomake python string compliant with python 2 and 3
José Matos [Tue, 9 May 2017 15:53:32 +0000 (16:53 +0100)]
make python string compliant with python 2 and 3

python 2 does not allow to declare a string as raw byte so we double
the backslashes and remove the r preffix

python 3 accepts rb"..." meaning a byte string that is raw. In this context
raw means that the backslash does not has any special meaning and thus it
is not escaped. This is usefull together with regular expressions where the
backslashes are special.

In the worst possible case, like this one, we must use 4 backslashes to represent
one in the regular expression...

7 years agocorrect change f8ffc2c: remove English from German translation
Stephan Witt [Tue, 9 May 2017 14:41:52 +0000 (16:41 +0200)]
correct change f8ffc2c: remove English from German translation

7 years agoChange ordering of function codes
Jean-Marc Lasgouttes [Tue, 9 May 2017 14:26:08 +0000 (16:26 +0200)]
Change ordering of function codes

Fixup e575e7ee so that func code numbers are still correct.

7 years agode.po: remove English from German translation
Scott Kostyshak [Tue, 9 May 2017 13:35:33 +0000 (09:35 -0400)]
de.po: remove English from German translation

7 years agoRevert "Change default working directory from ~/ to ".""
Scott Kostyshak [Tue, 9 May 2017 11:43:17 +0000 (07:43 -0400)]
Revert "Change default working directory from ~/ to ".""

Setting the default working directory to '.' is an invasive change
on Mac and Windows, where the current working directory of LyX when
LyX is started from the GUI is not a reasonable choice for the
default directory in e.g. the "save as" file dialog or the "open"
dialog. A similar situation could happen on Linux distributions (I'm
not aware of any, e.g., POSIX standard that defines that the working
directory of a binary started from GUI should be the home
directory). Thus, it is not clear this default is good on any
platform.

If the user wishes to have the behavior of '.', the description in
the "paths" preferences pane provides the information for making the
change.

For more information, see the discussion at:

  https://www.mail-archive.com/search?l=mid&q=635298DE-5028-4BB1-8D8F-A634BA68C420%40gmx.net

This reverts commit 892593fbdc25b9f8b413dd842748e0b3a57c90b0.

7 years agoRename powerdot-example.lyx to powerdot.lyx
Scott Kostyshak [Tue, 9 May 2017 10:57:55 +0000 (06:57 -0400)]
Rename powerdot-example.lyx to powerdot.lyx

The file is already in the examples folder.

Similarly, rename

  examples/fr/exemple-powerdot.lyx -> examples/fr/powerdot.lyx

Consistent with 2f44afcb.

7 years agopython3: fix the preview framework to work with both python 2 and 3
José Matos [Tue, 9 May 2017 10:20:34 +0000 (11:20 +0100)]
python3: fix the preview framework to work with both python 2 and 3

7 years agoGuiDocument: fix bug #10653
Uwe Stöhr [Mon, 8 May 2017 23:00:36 +0000 (01:00 +0200)]
GuiDocument: fix bug #10653

- also rename a function because we have the same function name in BufferParams

7 years agoColor.cpp: fix bug #10656
Uwe Stöhr [Mon, 8 May 2017 22:09:10 +0000 (00:09 +0200)]
Color.cpp: fix bug #10656

7 years agognuplot.lyx: add missing makefile entries
Uwe Stöhr [Mon, 8 May 2017 21:29:25 +0000 (23:29 +0200)]
gnuplot.lyx: add missing makefile entries

- also adapt style to match existing examples (e.g. the filename)

7 years agognuplot script example added to lib/examples
Tommaso Cucinotta [Mon, 8 May 2017 14:00:54 +0000 (16:00 +0200)]
gnuplot script example added to lib/examples

related to the new conversion capability added in [066edd3c/lyxgit]

7 years agoKeytests: optimize for speed.
Kornel Benko [Sun, 7 May 2017 12:40:08 +0000 (14:40 +0200)]
Keytests: optimize for speed.

The culprit in keytest is the possibility to lose some keystrokes.
The idead here is that the keystokes are cached by QT until some
control character is entered forcing e.g. new dialog.
So, splitting input lines at these characters should be enough
to ensure that the next chars are not lost.

7 years agoCosmetic
Guillaume MM [Sun, 7 May 2017 12:18:17 +0000 (14:18 +0200)]
Cosmetic

7 years agoLock toolbars (#10283)
Daniel Ramöller [Thu, 24 Nov 2016 12:10:03 +0000 (14:10 +0200)]
Lock toolbars (#10283)

- LFUNs to (un)lock toolbars positions (both individually and all at once)

- corresponding menu entry to "Lock Toolbars" menu.

7 years agoAdd default icon for "toolbar-toggle review" (#10379)
Daniel Ramöller [Mon, 27 Feb 2017 18:34:56 +0000 (20:34 +0200)]
Add default icon for "toolbar-toggle review" (#10379)

7 years agoPreferences shows current zoom instead of preference's default zoom (#10455)
Daniel Ramöller [Sat, 29 Oct 2016 08:28:34 +0000 (10:28 +0200)]
Preferences shows current zoom instead of preference's default zoom (#10455)

- Adds a currentZoom variable which holds the current zoom level.

- The zoom stored in preferences is used as default zoom level (default binding:
  M+0).

- The currentZoom is saved and restored via QSettings.

- Adds LFUN buffer-zoom for (re)setting zoom.

7 years agoColor Preferences: Disable colors rather than hide them (#10483)
Daniel Ramöller [Sun, 6 Nov 2016 07:45:09 +0000 (08:45 +0100)]
Color Preferences: Disable colors rather than hide them (#10483)

7 years agoCmake keytests: Don't care for lyx still not finished.
Kornel Benko [Sun, 7 May 2017 11:49:10 +0000 (13:49 +0200)]
Cmake keytests: Don't care for lyx still not finished.

The called script keytest.py already takes care of that.

7 years agoKeytests: Make logfiles unique.
Kornel Benko [Sun, 7 May 2017 11:45:48 +0000 (13:45 +0200)]
Keytests: Make logfiles unique.

Each test created log-files, but since they were not uniq it was difficult
to check what went wrong for a failed test.

7 years agoFix crash with full view source (#10560 and #10617)
Guillaume MM [Mon, 1 May 2017 23:36:23 +0000 (01:36 +0200)]
Fix crash with full view source (#10560 and #10617)

7 years agoCosmetic
Guillaume MM [Mon, 1 May 2017 22:28:22 +0000 (00:28 +0200)]
Cosmetic

7 years agoRevert "Tolerate formats that are not supported by lyx2lyx."
Tommaso Cucinotta [Sat, 6 May 2017 07:21:58 +0000 (09:21 +0200)]
Revert "Tolerate formats that are not supported by lyx2lyx."

This reverts commit 2f5396c871d51aa9e9b579c17dd9469fc313a732.

7 years agoRevert "Create new graphics from within LyX choosing a sample file to copy from."
Tommaso Cucinotta [Sat, 6 May 2017 07:21:50 +0000 (09:21 +0200)]
Revert "Create new graphics from within LyX choosing a sample file to copy from."

This reverts commit 7b6e26ad911db7de329169fcaebe24f19d3b3b17.

7 years agoNew gnuplot conversion capability [b474aa5d/lyxgit] now in RELEASE-NOTES.
Tommaso Cucinotta [Fri, 5 May 2017 22:47:23 +0000 (00:47 +0200)]
New gnuplot conversion capability [b474aa5d/lyxgit] now in RELEASE-NOTES.

7 years agoCreate new graphics from within LyX choosing a sample file to copy from.
Tommaso Cucinotta [Fri, 14 Oct 2016 23:14:02 +0000 (01:14 +0200)]
Create new graphics from within LyX choosing a sample file to copy from.

7 years agoTolerate formats that are not supported by lyx2lyx.
Tommaso Cucinotta [Wed, 19 Oct 2016 09:18:10 +0000 (11:18 +0200)]
Tolerate formats that are not supported by lyx2lyx.

7 years agoskip graphics conversion when runparams.dryrun is true
Tommaso Cucinotta [Thu, 4 May 2017 05:49:07 +0000 (07:49 +0200)]
skip graphics conversion when runparams.dryrun is true

7 years agoctests: move issue with nomenclature insets to a dedicated test case.
Günter Milde [Thu, 4 May 2017 16:05:18 +0000 (18:05 +0200)]
ctests: move issue with nomenclature insets to a dedicated test case.

iconv fails, if a nomenclature inset contains an uncodable character
This led to failure of the indonesian UserGuide in the attic.
Fix it there and add a minimal, specific test sample instead.

7 years agoKeytests: improve handling of strings to be send to xvkbd
Kornel Benko [Thu, 4 May 2017 11:53:09 +0000 (13:53 +0200)]
Keytests: improve handling of strings to be send to xvkbd

1.) Don't modify the line as it happened at start of sendKeystringLocal()
2.) Split lines on each keysym (e.g. \[Return])
3.) Beatify the debug output of the sent text

7 years ago fr.po : remove shortcut conflict
jpc [Thu, 4 May 2017 09:38:01 +0000 (11:38 +0200)]
   fr.po : remove shortcut conflict

7 years agoAdd needauth option to gnuplot->PDF converter introduced in [066edd3c/lyxgit].
Tommaso Cucinotta [Wed, 3 May 2017 22:49:18 +0000 (00:49 +0200)]
Add needauth option to gnuplot->PDF converter introduced in [066edd3c/lyxgit].

7 years agoEnable graphics generation from external gnuplot scripts.
Tommaso Cucinotta [Mon, 17 Oct 2016 06:44:16 +0000 (08:44 +0200)]
Enable graphics generation from external gnuplot scripts.

7 years agofindadv: amend [8c101829/lyxgit] check that opt.find_buf_name is found in theBuffers().
Tommaso Cucinotta [Wed, 3 May 2017 15:32:31 +0000 (17:32 +0200)]
findadv: amend [8c101829/lyxgit] check that opt.find_buf_name is found in theBuffers().

7 years agoRevert "findadv: hide word-findadv verb from the mini-buffer"
Tommaso Cucinotta [Wed, 3 May 2017 14:37:11 +0000 (16:37 +0200)]
Revert "findadv: hide word-findadv verb from the mini-buffer"

This reverts commit 8c10182962efa643edfcfbe64fc830b5fc0d9a65.

7 years agoFix compiler warning (gcc 7)
Jean-Marc Lasgouttes [Wed, 3 May 2017 12:51:03 +0000 (14:51 +0200)]
Fix compiler warning (gcc 7)

7 years agoShow properly on screen "indented" maths.
Jean-Marc Lasgouttes [Tue, 11 Apr 2017 11:03:34 +0000 (13:03 +0200)]
Show properly on screen "indented" maths.

This is done by two things:
1/ the equation returns LefAlign as display() value

2/ Inset::indent() return a value (in general 0) that should be added
   on the left (or right in rtl) of the inset when it is flushed.

The code that uses these values is in TextMetrics::computeRowMetrics.