]>
git.lyx.org Git - lyx.git/log
Günter Milde [Wed, 11 Jan 2017 09:42:32 +0000 (10:42 +0100)]
Python formatting (no change to function).
* remove trailing whitespace,
* remove/replace NL-escaping backslashs,
* wrap long lines.
Kornel Benko [Wed, 11 Jan 2017 09:17:25 +0000 (10:17 +0100)]
Typo
Kornel Benko [Wed, 11 Jan 2017 09:15:13 +0000 (10:15 +0100)]
Cmake tests: Allow ignoring some latex error messages
New file: ignoreLatexErrorsTests
The sublabels in this list of export-testnames specify which error
messages should be ignored.
For each sublabel (for example "xxx") the lyx-command line is expanded with
"--ignore-error-message xxx"
Juergen Spitzmueller [Wed, 11 Jan 2017 08:21:13 +0000 (09:21 +0100)]
Command line option to ignore error msgs
Needed by the test framework
Jean-Marc Lasgouttes [Mon, 9 Jan 2017 17:23:17 +0000 (18:23 +0100)]
Fix display of empty box in nested macros
The rewrite of nesting handling at
0f15dcc6 was incomplete: the
macro nesting has to be reset to 0 when inside a macro argument at
level 1.
Juergen Spitzmueller [Tue, 10 Jan 2017 07:20:49 +0000 (08:20 +0100)]
Merge branch 'master' into biblatex2
Guillaume Munch [Mon, 9 Jan 2017 22:15:16 +0000 (23:15 +0100)]
Reorganise and simplify
Guillaume Munch [Mon, 9 Jan 2017 22:15:16 +0000 (23:15 +0100)]
Remove comments about enumification of toc types
This is no longer likely to happen.
Juergen Spitzmueller [Mon, 9 Jan 2017 19:04:32 +0000 (20:04 +0100)]
merge recent changes from master
Scott Kostyshak [Mon, 9 Jan 2017 18:48:32 +0000 (13:48 -0500)]
Fix typo in Development.lyx
Juergen Spitzmueller [Mon, 9 Jan 2017 17:54:49 +0000 (18:54 +0100)]
Clarify layout and add some tooltips
Addresses: #9795
Guillaume Munch [Mon, 9 Jan 2017 16:37:50 +0000 (17:37 +0100)]
Improve the list of equations
Also convert other Tocs to TocBuilder when trivial, to make them customisable
Guillaume Munch [Mon, 9 Jan 2017 12:28:48 +0000 (13:28 +0100)]
Remove some hardcoded addToToc: note, footnote, marginalnote, branch
Define their Toc from the layout instead.
Guillaume Munch [Sun, 8 Jan 2017 20:55:56 +0000 (21:55 +0100)]
Document AddToToc
Guillaume Munch [Sun, 8 Jan 2017 20:57:02 +0000 (21:57 +0100)]
Implement AddToToc for paragraph layouts
Enables table of Theorems & Definitions
Guillaume Munch [Sun, 8 Jan 2017 18:19:55 +0000 (19:19 +0100)]
Update Sweave, Knitr manual and showcase the new Navigate menu
Also mention needauth option
Guillaume Munch [Sun, 8 Jan 2017 18:19:25 +0000 (19:19 +0100)]
Fine tune AddToToc options for Sweave, Knitr
Guillaume Munch [Sun, 8 Jan 2017 18:17:57 +0000 (19:17 +0100)]
Implement IsTocCaption for InsetArgument
Shows the title of Sweave, Knitr chunks in the Navigate menu.
Guillaume Munch [Sun, 22 Nov 2015 22:48:24 +0000 (22:48 +0000)]
Implement AddToToc layout command for Flex insets
Enables TOC for FiXme, ToDo, Knitr, Sweave (#7790)
Guillaume Munch [Mon, 30 Nov 2015 15:27:43 +0000 (15:27 +0000)]
Menus: Factor Toc code
Guillaume Munch [Mon, 30 Nov 2015 15:27:43 +0000 (15:27 +0000)]
Move Tocs to the "Other lists" submenu based on a blacklist
This causes user-defined Tocs to appear in the main list
Juergen Spitzmueller [Mon, 9 Jan 2017 16:54:56 +0000 (17:54 +0100)]
Extend and improve name list handling
This allows to generate different name lists depending on the need and
context.
Also addresses #8489.
Juergen Spitzmueller [Mon, 9 Jan 2017 08:53:20 +0000 (09:53 +0100)]
Merge branch 'master' into biblatex2
Juergen Spitzmueller [Mon, 9 Jan 2017 08:50:34 +0000 (09:50 +0100)]
l7n
Juergen Spitzmueller [Mon, 9 Jan 2017 08:04:37 +0000 (09:04 +0100)]
Remove Requires and Excludes from CiteEngines
These are exclusive anyway.
Uwe Stöhr [Mon, 9 Jan 2017 00:31:13 +0000 (01:31 +0100)]
Additional.lyx: re-sync with branch
I don't know what happened with the version in master because it contained outdated sections I already removed months ago in branch. I can also not see new inf that is special in LyX 2.3dev.
Therefore I re-sync hereby with the version in branch.
As I often request: please change the doc files in branch, only new features of LyX 2.3 are master-only because there is no reason not to update and improve the docs for every LyX release.
Uwe Stöhr [Mon, 9 Jan 2017 00:26:23 +0000 (01:26 +0100)]
fix last traces of bug #10068
Enrico Forestieri [Sun, 8 Jan 2017 22:11:04 +0000 (23:11 +0100)]
Avoid useless warning from Qt
When cloning InsetExternal, the tempname_ member of InsetExternalParams
has yet to be initialized. So, trying to remove it causes the warning
"QFile::remove: Empty or null file name".
Richard Heck [Sun, 8 Jan 2017 18:38:48 +0000 (13:38 -0500)]
Escape link name for DocBook.
Thanks to Martin Brown for pointing out the bug, and the obvious
solution.
Richard Heck [Sun, 8 Jan 2017 18:37:00 +0000 (13:37 -0500)]
Fix DocBook DTD identifier for XML output.
Thanks to Martin Brown for the correct one.
Juergen Spitzmueller [Sun, 8 Jan 2017 17:41:11 +0000 (18:41 +0100)]
Merge branch 'master' into biblatex2
Juergen Spitzmueller [Sun, 8 Jan 2017 17:37:08 +0000 (18:37 +0100)]
Fix typo
Juergen Spitzmueller [Sun, 8 Jan 2017 16:11:01 +0000 (17:11 +0100)]
User Guide documentation.
Now only an adaptation of the Additional Features manual is needed,
but I leave this for now, since that manual apparently is undergoing
a major revision.
Juergen Spitzmueller [Sun, 8 Jan 2017 14:24:39 +0000 (15:24 +0100)]
No punctuation in labels!
Juergen Spitzmueller [Sun, 8 Jan 2017 11:45:56 +0000 (12:45 +0100)]
Documentation bit.
Juergen Spitzmueller [Sun, 8 Jan 2017 08:39:46 +0000 (09:39 +0100)]
Biblatex support
File format change
Juergen Spitzmueller [Sun, 8 Jan 2017 08:06:26 +0000 (09:06 +0100)]
Merge branch 'master' into biblatex2
Richard Heck [Sat, 7 Jan 2017 22:26:06 +0000 (17:26 -0500)]
Allow use of noprefix option even if we're not using refstyle.
I'm not sure why that would be useful, but there's no reason not
to allow it.
Richard Heck [Sat, 7 Jan 2017 21:04:12 +0000 (16:04 -0500)]
Dirty Perl script for alphabetizing LyXAction.cpp, in case it
should be needed again.
Richard Heck [Sat, 7 Jan 2017 21:00:37 +0000 (16:00 -0500)]
Alphabetize the list of LFUNs in LyXAction.cpp.
No one seems to have been adding them `thematically', and it's too
hard to know how to do that, anyway. This at least makes it easier
to scan through the list.
I have verified, by re-generating LFUNs.lyx, that no significant
changes have been made here.
Richard Heck [Sat, 7 Jan 2017 20:07:22 +0000 (15:07 -0500)]
Documentation for "no prefix" option.
Richard Heck [Sat, 7 Jan 2017 19:39:03 +0000 (14:39 -0500)]
Add a "noprefix" option to the "labelonly" version of the reference
inset.
If the reference is "sec:mysec", then this will output just "mysec".
This is what is needed, e.g., to use refstyle's range commands, e.g.,
\secrangeref{mysec1}{mysec2}
You *cannot* use:
\secrangeref{sec:mysec1}{sec:mysec2}
even if those are the actual labels.
Eventually, I'd like to add native support for this, but I'm a bit
frightened of trying to make the reference dialog support multiple
selections.
Juergen Spitzmueller [Sat, 7 Jan 2017 19:07:45 +0000 (20:07 +0100)]
Correctly set quote styles combo
Juergen Spitzmueller [Sat, 7 Jan 2017 16:55:38 +0000 (17:55 +0100)]
Dynamically set final punctuation of bib entries
Fullcite does not need the punct.
Juergen Spitzmueller [Sat, 7 Jan 2017 16:46:18 +0000 (17:46 +0100)]
Make max_key_size limit adjustable
This _must_ be increased for xhtml output of fullcite, else we get
fragmentary html code.
I am aware of the reason for this size limit (#8944) and have carefully
checked that this is not affected.
Juergen Spitzmueller [Sat, 7 Jan 2017 16:41:59 +0000 (17:41 +0100)]
Add a couple more BiblioInfo conditionals
* ifentrytype:<type> whether we are a specific entry type (e.g. "book")
* export: export context (as opposed to dialog or workarea)
* second: whether we are in the second item of a list (useful when you
need to separate by " and " or ", and "
Juergen Spitzmueller [Sat, 7 Jan 2017 16:40:23 +0000 (17:40 +0100)]
Outsource jurabib specials to the style file.
Juergen Spitzmueller [Sat, 7 Jan 2017 16:38:25 +0000 (17:38 +0100)]
Limit InsetCitation tooltip to sensible length
Juergen Spitzmueller [Sat, 7 Jan 2017 16:37:35 +0000 (17:37 +0100)]
Add items to toggle "Force uppercase" and "Full author list" to the context menu
Juergen Spitzmueller [Sat, 7 Jan 2017 16:32:45 +0000 (17:32 +0100)]
Implement display of starred cite commands
This entails a change of getAbbrAuthor to getAuthorList (the default is
still abbreviated with respect to MaxCiteItems, but the list can be, at
explicit request, shortened or full notwithstanding MaxCiteItems.
Juergen Spitzmueller [Sat, 7 Jan 2017 16:21:41 +0000 (17:21 +0100)]
Implement display of forceUpperCase
Juergen Spitzmueller [Sat, 7 Jan 2017 16:12:08 +0000 (17:12 +0100)]
Implement CiteItem in the chain
This allows us to get rid of many idiosyncratic arguments and gives us
a cleaner chain (plus easier extensibility).
Juergen Spitzmueller [Sat, 7 Jan 2017 15:46:00 +0000 (16:46 +0100)]
Add CiteItem class
This will be used to transfer any single-cite related information from
anywhere to BiblioInfo (instead of the many strings and bools we use
until now).
This is a prerequisite for some forthcoming fixes and enhancements.
Juergen Spitzmueller [Sat, 7 Jan 2017 15:44:27 +0000 (16:44 +0100)]
New tag MaxCiteNames
This determines the number of authors before "et al.". We had it
hardcoded to 2, but actually the nuumber differs.
Guillaume Munch [Sat, 7 Jan 2017 13:38:00 +0000 (14:38 +0100)]
Lost in refactoring
Juergen Spitzmueller [Thu, 5 Jan 2017 13:30:26 +0000 (14:30 +0100)]
Merge branch 'master' into biblatex2
Juergen Spitzmueller [Thu, 5 Jan 2017 13:25:36 +0000 (14:25 +0100)]
Tweaks to the quotes GUI
This follows some suggestions put forward yesterday.
Guillaume Munch [Thu, 5 Jan 2017 11:03:53 +0000 (12:03 +0100)]
Fine tune the math class of InsetMathScript after
a4676712
Richard Heck [Thu, 5 Jan 2017 07:50:18 +0000 (02:50 -0500)]
Polish plural and capitalized reference reversion.
Thanks to Scott for noticing the problem.
Richard Heck [Wed, 4 Jan 2017 21:01:32 +0000 (16:01 -0500)]
Not sure why "notr = 'true'" got in there.
Richard Heck [Wed, 4 Jan 2017 17:50:51 +0000 (12:50 -0500)]
Some tooltips.
Juergen Spitzmueller [Wed, 4 Jan 2017 16:11:25 +0000 (17:11 +0100)]
Fix default biblio style detection
Juergen Spitzmueller [Wed, 4 Jan 2017 12:43:24 +0000 (13:43 +0100)]
Merge branch 'master' into biblatex2
Juergen Spitzmueller [Wed, 4 Jan 2017 12:30:50 +0000 (13:30 +0100)]
Extend cite engine style documentation
Juergen Spitzmueller [Wed, 4 Jan 2017 12:29:57 +0000 (13:29 +0100)]
Consider possibility of empty tooltip
Richard Heck [Tue, 3 Jan 2017 22:03:42 +0000 (17:03 -0500)]
Forgot format file for recent commits.
Also, remove request regarding revision. This is much easier now
with git, anyway, and no one ever does it.
Juergen Spitzmueller [Tue, 3 Jan 2017 20:49:56 +0000 (21:49 +0100)]
Merge branch 'master' into biblatex2
Guillaume Munch [Tue, 3 Jan 2017 19:17:20 +0000 (20:17 +0100)]
Define mathClass of MathMacro
Enables intelligent splitting for math macros.
Crucially improves the detection of math words for the new Ctrl-Arrow movement.
Guillaume Munch [Tue, 3 Jan 2017 19:17:20 +0000 (20:17 +0100)]
Fix wrong parse of macro parameter and crash
Copy-pasting $#\n$ from text to LyX gives the error message:
MathMacroArgument::MathMacroArgument: wrong Argument id
and it is not hard to get a crash soon after.
There are legitimate uses of # not followed by 1..9 in LaTeX and it is good to
parse them correctly when importing from LaTeX.
Guillaume Munch [Fri, 27 May 2016 20:00:54 +0000 (21:00 +0100)]
New word-movement behaviour in Math
Following discussion on the list:
https://www.mail-archive.com/lyx-users@lists.lyx.org/msg103012.html
This defines a new behaviour for Ctrl[+Shift]+Arrow in math:
* Left/Right does not enter insets
* Left/Right jump groups of insets that have the same math class ("words")
* Enable Up/Down for consistency.
Guillaume Munch [Sun, 1 Jan 2017 20:23:07 +0000 (21:23 +0100)]
Set mathrel for a few more lib/symbols
Improve display of textmode macros in lib/symbols
Guillaume Munch [Mon, 12 Dec 2016 00:51:45 +0000 (01:51 +0100)]
Use math class information from lib/symbols for intelligent splitting
This was missing for macros defined in lib/symbols. This only affects the
equation splitting since global macros are always linearized. This fixes #10107.
Guillaume Munch [Mon, 12 Dec 2016 00:17:41 +0000 (01:17 +0100)]
Fix wrong mode on output for macros that shadow global macros
Testcase: Define a math macro \AA, overriding the definition of \AA from
lib/symbols, then insert it in math mode.
* Before this commit: \text{\AA}, and \lyxmathsym{\AA} after deleting \text, but
displayed like \AA.
* After this commit: \text{\AA} is inserted, but one gets \AA after deleting
\text. The output is now consistent with the display and the meaning.
* Expected: only \AA is inserted. This is unfortuately not what one gets; for
this to work, the scope of the macros would need to be resolved upon creating
the inset.
Guillaume Munch [Mon, 12 Dec 2016 00:17:41 +0000 (01:17 +0100)]
Some code factoring for changing mode.
About removing the changeEnsureMath in MathMacro::{metrics,draw} : as it is only
called in edition mode, it only happened for user macros for which no ensureMath
is needed anyway. ChangeEnsureMath should indeed be applied for global macros,
but since they are linearized there is no obvious place to call it.
Guillaume Munch [Mon, 12 Dec 2016 00:11:26 +0000 (01:11 +0100)]
Remove hardcoded values
Juergen Spitzmueller [Tue, 3 Jan 2017 16:27:51 +0000 (17:27 +0100)]
No need to hardcode the possible cite commands
We fall back to a sensible default anyway.
Juergen Spitzmueller [Tue, 3 Jan 2017 16:25:41 +0000 (17:25 +0100)]
Generalize starred cite commands
Not all of them expand the author list. Thus rename the parameter to
hasStarredVersion and provide a means to adjust the GUI accordingly.
Juergen Spitzmueller [Tue, 3 Jan 2017 14:35:57 +0000 (15:35 +0100)]
Add some documentation to the rather esoteric style files
Juergen Spitzmueller [Tue, 3 Jan 2017 14:05:55 +0000 (15:05 +0100)]
Fix the alias detection
Juergen Spitzmueller [Tue, 3 Jan 2017 12:11:11 +0000 (13:11 +0100)]
Differentiate InsetCite
Next to the cmd name, introduce optional latex names (that might differ
from the cmd name) and aliases (that are "obsoleted by" the cmd).
This enhances portability between the engines.
Juergen Spitzmueller [Tue, 3 Jan 2017 09:17:09 +0000 (10:17 +0100)]
Generalize uppercase test
Biblatex has \Textcite and friends.
Richard Heck [Tue, 3 Jan 2017 03:39:38 +0000 (22:39 -0500)]
Update documentation after recent changes to references.
Richard Heck [Tue, 3 Jan 2017 03:23:21 +0000 (22:23 -0500)]
Update tex2lyx tests to new format.
Richard Heck [Sun, 19 Jun 2016 02:24:27 +0000 (22:24 -0400)]
Adapt tex2lyx to the new file format.
Richard Heck [Sat, 18 Jun 2016 23:29:15 +0000 (19:29 -0400)]
Add ability to use refstyle's plural and capitalization features.
Richard Heck [Mon, 2 Jan 2017 23:14:41 +0000 (18:14 -0500)]
Update tex2lyx tests.
Richard Heck [Sat, 18 Jun 2016 22:38:24 +0000 (18:38 -0400)]
Label only command for reference dialog.
Juergen Spitzmueller [Mon, 2 Jan 2017 12:00:14 +0000 (13:00 +0100)]
Extend the Bibfiles cache
For biblatex, we need the file name as it was entered in the inset
(abs path, rel path, only file name) in order to resolve it properly
for the export (as in the BibTeX inset intself).
Therefore, we now store a pair<docstring, FileName>.
A FileNamePairList has been added to FileNameList for this purpose.
Juergen Spitzmueller [Mon, 2 Jan 2017 11:05:14 +0000 (12:05 +0100)]
Amend
8add88ee4995 : Show Biblatex files in the TeXInfo dialog
UI file was forgotten.
Juergen Spitzmueller [Mon, 2 Jan 2017 11:00:56 +0000 (12:00 +0100)]
Adapt menu string
Juergen Spitzmueller [Mon, 2 Jan 2017 11:00:10 +0000 (12:00 +0100)]
GuiLog: Detect Biber for the GUI.
Juergen Spitzmueller [Sun, 1 Jan 2017 11:43:23 +0000 (12:43 +0100)]
Use real command in runparams.bibtex_command
Juergen Spitzmueller [Sun, 1 Jan 2017 10:34:35 +0000 (11:34 +0100)]
Show Biblatex files in the TeXInfo dialog
Juergen Spitzmueller [Sun, 1 Jan 2017 09:49:22 +0000 (10:49 +0100)]
Add BufferParams::bibtexCommand()
This function returns the real command (either per lyxrc or bufferparam)
Juergen Spitzmueller [Sun, 1 Jan 2017 07:37:56 +0000 (08:37 +0100)]
Make biblio_style private
This should never ever be accessed directly
Juergen Spitzmueller [Sun, 1 Jan 2017 07:36:13 +0000 (08:36 +0100)]
whitespace
Juergen Spitzmueller [Sun, 1 Jan 2017 07:08:34 +0000 (08:08 +0100)]
Merge branch 'biblatex2' of git.lyx.org:features into biblatex2
Juergen Spitzmueller [Sat, 31 Dec 2016 18:45:25 +0000 (19:45 +0100)]
TeXFiles.py: scan for biblatex *.bbx and *.cbx files
Juergen Spitzmueller [Sat, 31 Dec 2016 18:44:32 +0000 (19:44 +0100)]
Add a CiteFramework tag
This is to distinguish the biblatex and bibtex paradigms
Juergen Spitzmueller [Sat, 31 Dec 2016 16:38:26 +0000 (17:38 +0100)]
Improve style.
Thanks, José!