]> git.lyx.org Git - lyx.git/log
lyx.git
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}'

5 years agoFix #11520 Wrong inpute encoding when master and child use different setting.
Günter Milde [Mon, 18 Mar 2019 17:16:40 +0000 (18:16 +0100)]
Fix #11520 Wrong inpute encoding when master and child use different setting.

5 years agoWarn user, if input encodings of master and child document differ.
Günter Milde [Mon, 18 Mar 2019 11:49:10 +0000 (12:49 +0100)]
Warn user, if input encodings of master and child document differ.

5 years agoFindAdv: Added remaining accents cedilla, subring, subhat subtilde
Kornel Benko [Mon, 18 Mar 2019 11:59:40 +0000 (12:59 +0100)]
FindAdv: Added remaining accents cedilla, subring, subhat subtilde

5 years agoFindAdv: Casting to satisfy Windows compiler
Kornel Benko [Mon, 18 Mar 2019 08:38:34 +0000 (09:38 +0100)]
FindAdv: Casting to satisfy Windows compiler

Thanks to Jean-Marc Lasgouttes

5 years agoFix MSVC warning
Jean-Marc Lasgouttes [Sun, 17 Mar 2019 13:28:22 +0000 (14:28 +0100)]
Fix MSVC warning

5 years agoUpdate poor man's profiler to use C++11 std::chrono
Jean-Marc Lasgouttes [Sun, 17 Mar 2019 12:57:44 +0000 (13:57 +0100)]
Update poor man's profiler to use C++11 std::chrono

This is more portable, and the old code prevented in windows to use
instrument several classes at the same time (several .obj files,
actually).

No new feature here, bu the code is nicely slower. It might be less
efficient, I am not really at ease with how std::chrono works.

5 years agoFindAdv: Expand the list of handled chars for ogonek
Kornel Benko [Sun, 17 Mar 2019 12:06:56 +0000 (13:06 +0100)]
FindAdv: Expand the list of handled chars for ogonek

5 years agoctests: update tagging scripts.
Günter Milde [Sun, 17 Mar 2019 10:32:14 +0000 (11:32 +0100)]
ctests: update tagging scripts.

5 years agounicodesymbols: Add force flags for Arabic and Hebrew input encodings.
Günter Milde [Sun, 17 Mar 2019 10:31:07 +0000 (11:31 +0100)]
unicodesymbols: Add force flags for Arabic and Hebrew input encodings.

5 years agoAmend d53a13a: Bug 11519 only manifests if inputenc != "auto".
Günter Milde [Sun, 17 Mar 2019 10:20:58 +0000 (11:20 +0100)]
Amend d53a13a: Bug 11519 only manifests if inputenc != "auto".

5 years agoctest for bug #11519
Günter Milde [Sat, 16 Mar 2019 16:55:44 +0000 (17:55 +0100)]
ctest for bug #11519

5 years agoctests: add tests for #10600 (forced inputenc "ascii" with XeTeX and TeX-fonts).
Günter Milde [Sat, 16 Mar 2019 12:39:56 +0000 (13:39 +0100)]
ctests: add tests for #10600 (forced inputenc "ascii" with XeTeX and TeX-fonts).

5 years agoSmall formatting and comments update.
Günter Milde [Sat, 16 Mar 2019 11:59:34 +0000 (12:59 +0100)]
Small formatting and comments update.

5 years agoFindAdv: Correct start of search if not using regex
Kornel Benko [Sat, 16 Mar 2019 10:26:20 +0000 (11:26 +0100)]
FindAdv: Correct start of search if not using regex

Do not try to find pattern inside the leading string.

5 years agoHandle \protect'ion of label in listings
Juergen Spitzmueller [Sat, 16 Mar 2019 08:03:19 +0000 (09:03 +0100)]
Handle \protect'ion of label in listings

Since listings labels are passed as an argument of their own, we need
to strip the \protect flag.

5 years agoAmend 7ac04a2b: Count and display number of replaced strings in FindAdv
Kornel Benko [Sat, 16 Mar 2019 07:17:09 +0000 (08:17 +0100)]
Amend 7ac04a2b: Count and display number of replaced strings in FindAdv

We have to know if the previous call to search was a single replace or not,
so that we can correctly initialize the numer of replaed strings.

5 years agoDo not force LTR with nameref and non-TeX fonts
Juergen Spitzmueller [Fri, 15 Mar 2019 10:23:53 +0000 (11:23 +0100)]
Do not force LTR with nameref and non-TeX fonts

Fixes: #11518