]> git.lyx.org Git - lyx.git/log
lyx.git
5 years agoCmake export tests: Fix some tests using Curricula_Vitae
Kornel Benko [Sun, 24 Mar 2019 21:20:09 +0000 (22:20 +0100)]
Cmake export tests: Fix some tests using Curricula_Vitae

Still the German versions are not compilable due to missing file 'REPLACEphoto.jpg'

5 years agoDisable the debug output which made exports using lyx2lyx fail
Kornel Benko [Sun, 24 Mar 2019 21:17:48 +0000 (22:17 +0100)]
Disable the debug output which made exports using lyx2lyx fail

5 years agoCmake export tests: Omit underlines in temporary file names
Kornel Benko [Sun, 24 Mar 2019 21:12:07 +0000 (22:12 +0100)]
Cmake export tests: Omit underlines in temporary file names

Also try to copy all versions of an included reference.
The example is the search for CV-image in Modern_CV.lyx.
The two file (CV-image.eps and CV-image.png) have to be copied while
keeping the same base name.

5 years agoUpdate \origin specifications
Juergen Spitzmueller [Sun, 24 Mar 2019 16:33:10 +0000 (17:33 +0100)]
Update \origin specifications

5 years agoAdd buildlyxdir placeholder for \origin
Juergen Spitzmueller [Sun, 24 Mar 2019 16:03:15 +0000 (17:03 +0100)]
Add buildlyxdir placeholder for \origin

This allows resolving paths properly in the build dir.

5 years agoFix bug #11526
Enrico Forestieri [Sun, 24 Mar 2019 16:28:01 +0000 (17:28 +0100)]
Fix bug #11526

Correctly categorize a textmode symbol in mathed.

5 years agoMove Thesis and Springer templates back to templates
Juergen Spitzmueller [Sun, 24 Mar 2019 10:21:55 +0000 (11:21 +0100)]
Move Thesis and Springer templates back to templates

Thanks to \origin, #8643 is fixed (also in stable). Included paths are
thus correctly updated and point to the systemdir.

This only works if LyX is installed, though, since \origin is only set
on install.

5 years agoUpdate sk.po
Kornel Benko [Sun, 24 Mar 2019 07:44:39 +0000 (08:44 +0100)]
Update sk.po

5 years agoFixed origin in Game_2.lyx
Kornel Benko [Sun, 24 Mar 2019 06:42:03 +0000 (07:42 +0100)]
Fixed origin in Game_2.lyx

5 years agoGuiLyXFiles: handle defaults.lyx
Juergen Spitzmueller [Sat, 23 Mar 2019 16:41:42 +0000 (17:41 +0100)]
GuiLyXFiles: handle defaults.lyx

5 years agoCorrected tests for Variable-width_Minipages, Posters, Presentations
Kornel Benko [Sat, 23 Mar 2019 12:01:09 +0000 (13:01 +0100)]
Corrected tests for Variable-width_Minipages, Posters, Presentations

Either correct the path or add the requested image

5 years agoAdd some release notes
Juergen Spitzmueller [Sat, 23 Mar 2019 16:02:38 +0000 (17:02 +0100)]
Add some release notes

5 years agoTutorial, UserGuide: Adapt wrt new templates/examples UI
Juergen Spitzmueller [Sat, 23 Mar 2019 15:25:14 +0000 (16:25 +0100)]
Tutorial, UserGuide: Adapt wrt new templates/examples UI

5 years ago Push in suppressed file fr.po
jpc [Sat, 23 Mar 2019 15:21:34 +0000 (16:21 +0100)]
     Push in suppressed file fr.po

5 years ago Remove unwanted file
jpc [Sat, 23 Mar 2019 15:20:04 +0000 (16:20 +0100)]
 Remove unwanted file

5 years agoDisplay URL-encoded chars decoded in display path
Juergen Spitzmueller [Sat, 23 Mar 2019 14:15:08 +0000 (15:15 +0100)]
Display URL-encoded chars decoded in display path

5 years agoAdd l10n mark
Juergen Spitzmueller [Sat, 23 Mar 2019 11:45:28 +0000 (12:45 +0100)]
Add l10n mark

5 years agode.po: minor corrections
Juergen Spitzmueller [Sat, 23 Mar 2019 11:08:20 +0000 (12:08 +0100)]
de.po: minor corrections

5 years agode.po
Juergen Spitzmueller [Sat, 23 Mar 2019 10:49:44 +0000 (11:49 +0100)]
de.po

5 years agotypo
Juergen Spitzmueller [Sat, 23 Mar 2019 10:30:53 +0000 (11:30 +0100)]
typo

5 years agoCorrectedt tests for PhD_Theses
Kornel Benko [Sat, 23 Mar 2019 10:03:58 +0000 (11:03 +0100)]
Correctedt tests for PhD_Theses

Adapt to the changed master document

5 years agoSave as Template: Also consider document language
Juergen Spitzmueller [Sat, 23 Mar 2019 09:57:22 +0000 (10:57 +0100)]
Save as Template: Also consider document language

Attempt to save the template in the appropriate language subfolder of
the user template directory (and propose to create it if it doesn't exist
yet).

That way, user-generated templates (1.) get the correct language attribution
in the lyxfiles dialog and (2.) users can easily generate different
language versions of a template.

5 years agoUse correct path to included figure
Kornel Benko [Sat, 23 Mar 2019 09:56:12 +0000 (10:56 +0100)]
Use correct path to included figure

5 years agoCorrectedt tests for Springer_Contributed_Books export tests
Kornel Benko [Sat, 23 Mar 2019 09:40:39 +0000 (10:40 +0100)]
Correctedt tests for Springer_Contributed_Books export tests

Adapt to the changed master document

5 years agoAdd LFUN_BUFFER_WRITE_AS_TEMPLATE
Juergen Spitzmueller [Sat, 23 Mar 2019 09:17:33 +0000 (10:17 +0100)]
Add LFUN_BUFFER_WRITE_AS_TEMPLATE

Convenience function to easier save a file as template in the appropriate
templates folder.

5 years agoCorrected tests for chess exports
Kornel Benko [Sat, 23 Mar 2019 09:05:18 +0000 (10:05 +0100)]
Corrected tests for chess exports

5 years agomissing example
Pavel Sanda [Sat, 23 Mar 2019 08:21:24 +0000 (09:21 +0100)]
missing example

5 years ago Update shortcuts in fr.po
jpc [Sat, 23 Mar 2019 08:20:11 +0000 (09:20 +0100)]
  Update shortcuts in fr.po

5 years agoClarify soul module description
Juergen Spitzmueller [Sat, 23 Mar 2019 07:04:57 +0000 (08:04 +0100)]
Clarify soul module description

5 years agoAdapt ctest tagging rules to the changed file names of templates and examples.
Günter Milde [Fri, 22 Mar 2019 22:57:29 +0000 (23:57 +0100)]
Adapt ctest tagging rules to the changed file names of templates and examples.

5 years agoAdd lib/unicodesymbols support for Hebrew.
Günter Milde [Fri, 22 Mar 2019 22:54:35 +0000 (23:54 +0100)]
Add lib/unicodesymbols support for Hebrew.

Hebrew language must be set (otherwise character macros are not defined)
but this is normally no problem because it is also neede for RTL support.

5 years agoForgotten accelerators.
Pavel Sanda [Fri, 22 Mar 2019 21:14:21 +0000 (22:14 +0100)]
Forgotten accelerators.

5 years ago Solve shortcut conflicts in fr.po
jpc [Fri, 22 Mar 2019 17:52:32 +0000 (18:52 +0100)]
   Solve shortcut conflicts in fr.po

5 years agoAdd soul module
Juergen Spitzmueller [Fri, 22 Mar 2019 17:29:50 +0000 (18:29 +0100)]
Add soul module

5 years agoFix fonts used by sub/superscript in text
Jean-Marc Lasgouttes [Fri, 22 Mar 2019 15:13:30 +0000 (16:13 +0100)]
Fix fonts used by sub/superscript in text

Several changes are needed to get things right:
* nested supersripts only work with inheritFonts=true.

* to get caret position right, it is necessary to remember the outside
  font of the inset before computing metrics.

* to get the size right at insertion time, it is necessary to trigger
  a metrics computation just after inset insertion.

5 years agoTreat math style a bit more like other font features
Jean-Marc Lasgouttes [Fri, 22 Mar 2019 14:19:27 +0000 (15:19 +0100)]
Treat math style a bit more like other font features

While math style (scriptstyle,...) is not really something that can be
set, it is useful for text subscripts and superscripts and therefore
it makes sense to handle it in some places.

With this change, style is still not a first class feature, but good
enough for now. In particular, it is taken into account in update().

5 years agoCompilation fix
Jean-Marc Lasgouttes [Fri, 22 Mar 2019 13:39:36 +0000 (14:39 +0100)]
Compilation fix

5 years agode.po
Juergen Spitzmueller [Fri, 22 Mar 2019 13:22:16 +0000 (14:22 +0100)]
de.po

5 years agoCosmetics
Juergen Spitzmueller [Fri, 22 Mar 2019 13:18:17 +0000 (14:18 +0100)]
Cosmetics

5 years agoUse GuiLyXFiles also for ui, kbd and bind files in prefs
Juergen Spitzmueller [Fri, 22 Mar 2019 13:11:46 +0000 (14:11 +0100)]
Use GuiLyXFiles also for ui, kbd and bind files in prefs

5 years agoDisable language combo if there is nothing to select
Juergen Spitzmueller [Fri, 22 Mar 2019 13:10:05 +0000 (14:10 +0100)]
Disable language combo if there is nothing to select

5 years agoFix duplicate language entry
Juergen Spitzmueller [Fri, 22 Mar 2019 13:09:40 +0000 (14:09 +0100)]
Fix duplicate language entry

5 years agoUpdate sk.po
Kornel Benko [Fri, 22 Mar 2019 10:47:53 +0000 (11:47 +0100)]
Update sk.po

5 years agoAdd forgotten replacement
Juergen Spitzmueller [Fri, 22 Mar 2019 10:25:20 +0000 (11:25 +0100)]
Add forgotten replacement

5 years agode.po
Juergen Spitzmueller [Fri, 22 Mar 2019 10:16:43 +0000 (11:16 +0100)]
de.po

5 years agoFix problematic characters in example/template file names
Juergen Spitzmueller [Fri, 22 Mar 2019 10:10:49 +0000 (11:10 +0100)]
Fix problematic characters in example/template file names

For (, ) and & we use URL encoding now.

5 years agoReplace unnecessary ampersand in folder name
Juergen Spitzmueller [Fri, 22 Mar 2019 08:37:12 +0000 (09:37 +0100)]
Replace unnecessary ampersand in folder name

5 years agoFix inputencoding for documentation, examples, and templates.
Günter Milde [Fri, 22 Mar 2019 00:13:23 +0000 (01:13 +0100)]
Fix inputencoding for documentation, examples, and templates.

* "platex" fails with "inputencoding default", if there is text in other languages.
  "jis-platex" works fine, "jis-utf8" fails with German Umlauts (maybe more).

* The expert setting "inputencoding default" switches the inpute encoding
  with language switches without marking this in the LaTeX source.
  It is rarely required (if ever) and makes documents easy to break.

  It is not required for AMS Books, Simple CV, ... (probabely a tex2lyx issue).
  "utf8" and "auto" work fine.

5 years agoinstaller: fix a display issue
Uwe Stöhr [Fri, 22 Mar 2019 00:18:04 +0000 (01:18 +0100)]
installer: fix a display issue

a path in the uninstaller was not visible because of missing line breaks

5 years agoinstaller: remove unsupported TeX distributions
Uwe Stöhr [Fri, 22 Mar 2019 00:06:56 +0000 (01:06 +0100)]
installer: remove unsupported TeX distributions

MiKTeX 2.8 and TeXLive 2014 are since a while not supported

5 years agoFix header case
Juergen Spitzmueller [Thu, 21 Mar 2019 18:31:46 +0000 (19:31 +0100)]
Fix header case

5 years agoReplace Type combo, which was considered irritating, with a Type filter
Juergen Spitzmueller [Thu, 21 Mar 2019 18:23:33 +0000 (19:23 +0100)]
Replace Type combo, which was considered irritating, with a Type filter

The new one allows to display only user or system files.

5 years agotypo
Jean-Marc Lasgouttes [Thu, 21 Mar 2019 17:45:28 +0000 (18:45 +0100)]
typo

5 years agoAmend d3ec77c6338: adapt ctest tag files.
Günter Milde [Thu, 21 Mar 2019 16:41:14 +0000 (17:41 +0100)]
Amend d3ec77c6338: adapt ctest tag files.

Update the regular expressions for inversion and tagging of tests
to use the new paths for examples and templates.

5 years agoKluwer example fails with Polyglossia.
Günter Milde [Thu, 21 Mar 2019 16:39:51 +0000 (17:39 +0100)]
Kluwer example fails with Polyglossia.

5 years agoCMake build: Rename HAVE_LONG_LONG to HAVE_LONG_LONG_INT
Kornel Benko [Thu, 21 Mar 2019 15:12:02 +0000 (16:12 +0100)]
CMake build: Rename HAVE_LONG_LONG to HAVE_LONG_LONG_INT

5 years agoAmend 601244ba92: Use HAVE_LONG_LONG_INT instead of LYX_USE_LONG_LONG
Kornel Benko [Thu, 21 Mar 2019 14:17:24 +0000 (15:17 +0100)]
Amend 601244ba92: Use HAVE_LONG_LONG_INT instead of LYX_USE_LONG_LONG

Cmake changes

5 years agoConsider files only in lang subtrees
Juergen Spitzmueller [Thu, 21 Mar 2019 13:39:33 +0000 (14:39 +0100)]
Consider files only in lang subtrees

5 years agoUpdate sk.po
Kornel Benko [Thu, 21 Mar 2019 13:30:03 +0000 (14:30 +0100)]
Update sk.po

5 years agoUse HAVE_LONG_LONG_INT instead of LYX_USE_LONG_LONG
Jean-Marc Lasgouttes [Thu, 21 Mar 2019 13:05:50 +0000 (14:05 +0100)]
Use HAVE_LONG_LONG_INT instead of LYX_USE_LONG_LONG

It seems that the extra complication hurts more than it helps (for
example with OpenBSD).

Some adaptation will be needed for cmake.

5 years agoGuiLyXFiles: fix icons and tooltips
Juergen Spitzmueller [Thu, 21 Mar 2019 13:18:03 +0000 (14:18 +0100)]
GuiLyXFiles: fix icons and tooltips

5 years agoGuiLyXFiles: prefill language combo
Juergen Spitzmueller [Thu, 21 Mar 2019 12:40:11 +0000 (13:40 +0100)]
GuiLyXFiles: prefill language combo

5 years agoFindAdv: Cosmetics
Kornel Benko [Thu, 21 Mar 2019 11:53:41 +0000 (12:53 +0100)]
FindAdv: Cosmetics

Remove parentheses from return statements,
add '_' to private members

5 years agoMark inserted/deleted end of paragraph using pilcrow
Jean-Marc Lasgouttes [Thu, 21 Mar 2019 10:27:51 +0000 (11:27 +0100)]
Mark inserted/deleted end of paragraph using pilcrow

Instead of the weird corner line, display a pilcrow sign (even when
disabled in prefs) to mark inserted/deleted end of paragraph.

Incidentally, this fixes the recent placement bug of the corner line.

5 years agoCompilation fix
Jean-Marc Lasgouttes [Thu, 21 Mar 2019 09:28:16 +0000 (10:28 +0100)]
Compilation fix

For some reason I need this (maybe a Qt4/5 discrepancy).

5 years agoGuiLyXFiles: rework language selector
Juergen Spitzmueller [Thu, 21 Mar 2019 08:13:09 +0000 (09:13 +0100)]
GuiLyXFiles: rework language selector

Now only the languages available for the selected file are displayed.
By default, LyX pre-selects the GUI language (and falls back to English
if this is not available). Once another language has been selected by
the user, this one is preferred before the GUI language (and the English
fallback).

5 years agoinstaller/setup/configure.nsh: revert an unwanted commit part
Uwe Stöhr [Thu, 21 Mar 2019 01:45:21 +0000 (02:45 +0100)]
installer/setup/configure.nsh: revert an unwanted commit part

5 years agoinstaller: fix icon issue
Uwe Stöhr [Thu, 21 Mar 2019 01:41:57 +0000 (02:41 +0100)]
installer: fix icon issue

LyX did not show up in the Windows Control panel with its icon

5 years agoinstaller: update some links
Uwe Stöhr [Thu, 21 Mar 2019 01:40:44 +0000 (02:40 +0100)]
installer: update some links

also update header info

5 years agoconvertDefault.py: remove ancient restriction
Uwe Stöhr [Thu, 21 Mar 2019 01:35:51 +0000 (02:35 +0100)]
convertDefault.py: remove ancient restriction

there is no longer the need to restrict the image depth (on Windows since years the 16 bit depth version of ImageMagick is bundled)

5 years agoFindAdv: Added remaining accents(2) dgrave, textdoublegrave, rcap, textroundcap
Kornel Benko [Wed, 20 Mar 2019 22:20:13 +0000 (23:20 +0100)]
FindAdv: Added remaining accents(2) dgrave, textdoublegrave, rcap, textroundcap

5 years agoGuiLyXFiles: add icons that indicate whether a file is from user or system
Juergen Spitzmueller [Wed, 20 Mar 2019 17:38:07 +0000 (18:38 +0100)]
GuiLyXFiles: add icons that indicate whether a file is from user or system

5 years agoAdd Qt-internal string for translation
Juergen Spitzmueller [Wed, 20 Mar 2019 17:37:34 +0000 (18:37 +0100)]
Add Qt-internal string for translation

5 years agoInitialize hasTitle in Intervall constructor
Jean-Marc Lasgouttes [Wed, 20 Mar 2019 16:25:25 +0000 (17:25 +0100)]
Initialize hasTitle in Intervall constructor

I also moved around some things while I was at it.

Spotted by coverity scan.

5 years agoDo not close LyXFiles dialog on double-clicking header
Juergen Spitzmueller [Wed, 20 Mar 2019 11:37:55 +0000 (12:37 +0100)]
Do not close LyXFiles dialog on double-clicking header

5 years agoAmend 0c8eea0fe526e
Juergen Spitzmueller [Wed, 20 Mar 2019 11:36:39 +0000 (12:36 +0100)]
Amend 0c8eea0fe526e

5 years agoCompilation fix for Qt < 5.2.
Jean-Marc Lasgouttes [Wed, 20 Mar 2019 10:45:29 +0000 (11:45 +0100)]
Compilation fix for Qt < 5.2.

5 years agoCache the value of GuiFontMetrics::lbearing().
Jean-Marc Lasgouttes [Wed, 20 Mar 2019 09:56:16 +0000 (10:56 +0100)]
Cache the value of GuiFontMetrics::lbearing().

This seems to be necessary on windows, where math editing can get very
slow. Note that other methods like rbearing already use a cache.

In the future all these caches for single characters shall be unified.

5 years agoctests: inverted -> "wrong output" for 2 uk tests
Scott Kostyshak [Wed, 20 Mar 2019 03:08:35 +0000 (23:08 -0400)]
ctests: inverted -> "wrong output" for 2 uk tests

These exports no longer give an error (with TL18, TL19-pre), but
have wrong output.

5 years agoDevelopment.lyx: s/splash.lyx/Welcome.lyx/g
Scott Kostyshak [Wed, 20 Mar 2019 03:00:25 +0000 (23:00 -0400)]
Development.lyx: s/splash.lyx/Welcome.lyx/g

This follows d3ec77c6.

5 years agoctest control files: s/splash.lyx/Welcome.lyx/g
Scott Kostyshak [Wed, 20 Mar 2019 02:54:40 +0000 (22:54 -0400)]
ctest control files: s/splash.lyx/Welcome.lyx/g

This follows d3ec77c6.

5 years agoFix remainder of #9681 (textcyrillic and textgreek handling).
Günter Milde [Mon, 11 Mar 2019 14:24:22 +0000 (15:24 +0100)]
Fix remainder of #9681 (textcyrillic and textgreek handling).

* Fix macro termination if \textcyrillic or \textgreek is not required
  for Greek or Cyrillic letter.

* Replace "writeScriptChars" with conditionals in the character-output loop in
  "Paragraph::latex" (solves "FIXME: modifying i here is not very nice...").

The font changing commands \textcyrillic and \textgreek are no longer
part of the textcommand in "lib/unicodesymbols" but added when required
in Paragraph::Private::latexSpecialChar.

5 years agoctest update and small documentation fixes.
Günter Milde [Tue, 19 Mar 2019 21:14:44 +0000 (22:14 +0100)]
ctest update and small documentation fixes.

5 years agoUpdate sk.po
Kornel Benko [Tue, 19 Mar 2019 17:29:55 +0000 (18:29 +0100)]
Update sk.po

5 years agoGuiLyXFiles: add language selector.
Juergen Spitzmueller [Tue, 19 Mar 2019 16:55:19 +0000 (17:55 +0100)]
GuiLyXFiles: add language selector.

5 years agoGuiLyXFiles: A bit more work towards generalization
Juergen Spitzmueller [Tue, 19 Mar 2019 15:58:23 +0000 (16:58 +0100)]
GuiLyXFiles: A bit more work towards generalization

Bind and Ui files can be displayed in this dialog now (via lfun
dialog-show lyxfiles ui|bind), although it is not yet usable in prefs.

5 years agoCmake build: Amend(2) d3ec77c6: Reorganize templates and example folders
Kornel Benko [Tue, 19 Mar 2019 13:34:32 +0000 (14:34 +0100)]
Cmake build: Amend(2) d3ec77c6: Reorganize templates and example folders

Install files from these new directories

5 years agocosmetics
Juergen Spitzmueller [Tue, 19 Mar 2019 12:36:05 +0000 (13:36 +0100)]
cosmetics

5 years agoGuiLyXFiles: minor generalization
Juergen Spitzmueller [Tue, 19 Mar 2019 12:29:32 +0000 (13:29 +0100)]
GuiLyXFiles: minor generalization

5 years agoUpdate sk.po
Kornel Benko [Tue, 19 Mar 2019 09:58:48 +0000 (10:58 +0100)]
Update sk.po

5 years agoAmend d3ec77c6: Reorganize templates and example folders
Kornel Benko [Tue, 19 Mar 2019 09:56:06 +0000 (10:56 +0100)]
Amend d3ec77c6: Reorganize templates and example folders

Fixed cmake tests

5 years agode.po
Juergen Spitzmueller [Tue, 19 Mar 2019 08:10:14 +0000 (09:10 +0100)]
de.po

5 years agoAdd examples/templates dialog entries to po files.
Juergen Spitzmueller [Tue, 19 Mar 2019 08:08:44 +0000 (09:08 +0100)]
Add examples/templates dialog entries to po files.

5 years agode.po
Juergen Spitzmueller [Tue, 19 Mar 2019 07:22:22 +0000 (08:22 +0100)]
de.po

5 years agoFix redundancy
Juergen Spitzmueller [Tue, 19 Mar 2019 07:08:30 +0000 (08:08 +0100)]
Fix redundancy

5 years agoFix strings
Juergen Spitzmueller [Tue, 19 Mar 2019 06:42:11 +0000 (07:42 +0100)]
Fix strings

5 years agoFix redundant naming
Juergen Spitzmueller [Tue, 19 Mar 2019 06:13:51 +0000 (07:13 +0100)]
Fix redundant naming

5 years agoReorganize templates and example folders
Juergen Spitzmueller [Tue, 19 Mar 2019 06:07:22 +0000 (07:07 +0100)]
Reorganize templates and example folders

Re-structure and rename files in a transparent way. Most template/example
names now correspond to the (verbose GUI) name of their layouts.

Note that this, most prominently, also changes [LANG/]splash.lyx to
something less insiderish, namely "Welcome.lyx".

5 years agoAdd new dialog for templates and examples
Juergen Spitzmueller [Tue, 19 Mar 2019 05:59:24 +0000 (06:59 +0100)]
Add new dialog for templates and examples

This lists all respective files from user, build and system directory
in a structured way and thus allows for easier access to them.

Fixes: #2396, #6861
5 years agoFindAdv: Polishing
Kornel Benko [Mon, 18 Mar 2019 17:19:44 +0000 (18:19 +0100)]
FindAdv: Polishing

1.) Use vector for borders, because any value may be too small
  if there are plenty of accented characters in a paragraph
2.) use '[\S]' instead of '.' in regex for 'accre'. The regex would
  otherwise find also patterns like '\ {some text}'