Juergen Spitzmueller
74f774d6cf
Merge branch 'master' into biblatex2
2017-01-11 10:45:48 +01:00
Juergen Spitzmueller
96ffb70cd5
Command line option to ignore error msgs
...
Needed by the test framework
2017-01-11 09:21:13 +01:00
Jean-Marc Lasgouttes
d221d1734a
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.
2017-01-10 14:14:57 +01:00
Juergen Spitzmueller
b9aabe6d89
Merge branch 'master' into biblatex2
2017-01-10 08:20:49 +01:00
Guillaume Munch
8914ddeaee
Reorganise and simplify
2017-01-09 23:15:16 +01:00
Guillaume Munch
597de9bb8d
Remove comments about enumification of toc types
...
This is no longer likely to happen.
2017-01-09 23:15:16 +01:00
Juergen Spitzmueller
425c190d62
merge recent changes from master
2017-01-09 20:04:32 +01:00
Juergen Spitzmueller
ffb195b5e9
Clarify layout and add some tooltips
...
Addresses: #9795
2017-01-09 18:54:49 +01:00
Guillaume Munch
5fdc577bad
Improve the list of equations
...
Also convert other Tocs to TocBuilder when trivial, to make them customisable
2017-01-09 18:27:26 +01:00
Guillaume Munch
e11a3cb895
Remove some hardcoded addToToc: note, footnote, marginalnote, branch
...
Define their Toc from the layout instead.
2017-01-09 18:27:26 +01:00
Guillaume Munch
68109443f3
Implement AddToToc for paragraph layouts
...
Enables table of Theorems & Definitions
2017-01-09 18:27:25 +01:00
Guillaume Munch
5e20713769
Implement IsTocCaption for InsetArgument
...
Shows the title of Sweave, Knitr chunks in the Navigate menu.
2017-01-09 18:22:22 +01:00
Guillaume Munch
28dfc48fb2
Implement AddToToc layout command for Flex insets
...
Enables TOC for FiXme, ToDo, Knitr, Sweave (#7790 )
2017-01-09 18:22:22 +01:00
Guillaume Munch
089b80fc7d
Menus: Factor Toc code
2017-01-09 18:22:22 +01:00
Guillaume Munch
ab98adf925
Move Tocs to the "Other lists" submenu based on a blacklist
...
This causes user-defined Tocs to appear in the main list
2017-01-09 18:22:22 +01:00
Juergen Spitzmueller
a751c5b846
Extend and improve name list handling
...
This allows to generate different name lists depending on the need and
context.
Also addresses #8489 .
2017-01-09 17:54:56 +01:00
Juergen Spitzmueller
322808281f
Merge branch 'master' into biblatex2
2017-01-09 09:53:20 +01:00
Juergen Spitzmueller
a04a2f9a8a
Remove Requires and Excludes from CiteEngines
...
These are exclusive anyway.
2017-01-09 09:04:37 +01:00
Enrico Forestieri
25e6b5da39
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".
2017-01-08 23:11:04 +01:00
Richard Heck
06e2669b35
Escape link name for DocBook.
...
Thanks to Martin Brown for pointing out the bug, and the obvious
solution.
2017-01-08 13:38:48 -05:00
Richard Heck
b730419470
Fix DocBook DTD identifier for XML output.
...
Thanks to Martin Brown for the correct one.
2017-01-08 13:37:00 -05:00
Juergen Spitzmueller
b81b439dec
No punctuation in labels!
2017-01-08 15:24:39 +01:00
Juergen Spitzmueller
8319b3e9d6
Biblatex support
...
File format change
2017-01-08 09:39:46 +01:00
Juergen Spitzmueller
ecbd047cff
Merge branch 'master' into biblatex2
2017-01-08 09:06:26 +01:00
Richard Heck
21259b66b5
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.
2017-01-07 17:26:06 -05:00
Richard Heck
2fbd9f6405
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.
2017-01-07 16:00:37 -05:00
Richard Heck
ff3690a5fd
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.
2017-01-07 15:07:44 -05:00
Juergen Spitzmueller
6974e1ceb2
Correctly set quote styles combo
2017-01-07 20:07:45 +01:00
Juergen Spitzmueller
dbbefcd321
Dynamically set final punctuation of bib entries
...
Fullcite does not need the punct.
2017-01-07 17:55:38 +01:00
Juergen Spitzmueller
53654b430e
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.
2017-01-07 17:46:18 +01:00
Juergen Spitzmueller
2ff40fba72
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 "
2017-01-07 17:45:51 +01:00
Juergen Spitzmueller
378a2c8257
Outsource jurabib specials to the style file.
2017-01-07 17:40:23 +01:00
Juergen Spitzmueller
fa2cbb730c
Limit InsetCitation tooltip to sensible length
2017-01-07 17:38:25 +01:00
Juergen Spitzmueller
db889bc6a7
Add items to toggle "Force uppercase" and "Full author list" to the context menu
2017-01-07 17:37:35 +01:00
Juergen Spitzmueller
eba2f0479e
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.
2017-01-07 17:32:45 +01:00
Juergen Spitzmueller
6933051747
Implement display of forceUpperCase
2017-01-07 17:21:41 +01:00
Juergen Spitzmueller
3a0d1d1049
Implement CiteItem in the chain
...
This allows us to get rid of many idiosyncratic arguments and gives us
a cleaner chain (plus easier extensibility).
2017-01-07 17:17:02 +01:00
Juergen Spitzmueller
2f1d1a60ac
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.
2017-01-07 16:46:00 +01:00
Juergen Spitzmueller
979294d5ec
New tag MaxCiteNames
...
This determines the number of authors before "et al.". We had it
hardcoded to 2, but actually the nuumber differs.
2017-01-07 16:44:27 +01:00
Guillaume Munch
ca6bc682e4
Lost in refactoring
2017-01-07 14:38:00 +01:00
Juergen Spitzmueller
23c231c761
Merge branch 'master' into biblatex2
2017-01-05 14:30:26 +01:00
Juergen Spitzmueller
4590f1016b
Tweaks to the quotes GUI
...
This follows some suggestions put forward yesterday.
2017-01-05 14:25:36 +01:00
Guillaume Munch
d9018f14a6
Fine tune the math class of InsetMathScript after a4676712
2017-01-05 12:04:35 +01:00
Richard Heck
fe0d73dead
Not sure why "notr = 'true'" got in there.
2017-01-04 16:01:32 -05:00
Richard Heck
e2ef07207e
Some tooltips.
2017-01-04 12:50:51 -05:00
Juergen Spitzmueller
78eb821038
Fix default biblio style detection
2017-01-04 17:11:25 +01:00
Juergen Spitzmueller
7fe596b459
Consider possibility of empty tooltip
2017-01-04 13:29:57 +01:00
Juergen Spitzmueller
f6d4bce123
Merge branch 'master' into biblatex2
2017-01-03 21:49:56 +01:00
Guillaume Munch
a467671283
Define mathClass of MathMacro
...
Enables intelligent splitting for math macros.
Crucially improves the detection of math words for the new Ctrl-Arrow movement.
2017-01-03 20:35:41 +01:00
Guillaume Munch
eb2d373e4b
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.
2017-01-03 20:35:41 +01:00