Yuriy Skalko
af29f02dd8
Reduce includes in header files (2)
2020-10-19 18:01:17 +03:00
Juergen Spitzmueller
39caa70100
Clear info_ cache if format changes
2020-08-27 12:41:40 +02:00
Juergen Spitzmueller
5cc191ddee
Fix string subst
2020-08-27 11:52:23 +02:00
Juergen Spitzmueller
c5c3323f32
Properly disable function
2020-08-27 10:59:15 +02:00
Juergen Spitzmueller
8365eabd6f
Make paper search function accessible and customizable
2020-08-27 08:48:55 +02:00
Pavel Sanda
894ad70eba
Enable Open Citation menu item iff citation contain locator information or external search script is available.
...
Per Juergen's request.
2020-08-23 22:19:34 +02:00
Pavel Sanda
e648202e7e
Allow LyX to find pdfs and urls of citation references and follow them from context menu.
...
Currently tested:
- url & doi fields for bibtex.
- all documented eprinttypes of biblatex
- absolute paths of first entry of 'file' field for jabref and kbibtex
- external script searching for author + year pdf
Additional polishing will follow.
https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg212505.html
2020-08-20 09:12:54 +02:00
Juergen Spitzmueller
469bc1bbe4
Revert apparent accident introduced in fed71fa8c2
2020-08-15 09:26:51 +02:00
Thibaut Cuvelier
fed71fa8c2
DocBook: bug fixing with several bibliographic references at once.
2020-08-01 03:51:14 +02:00
Thibaut Cuvelier
0c0613327c
Get rid of xmlize, bringing no advantage over escapeString.
2020-08-01 03:20:28 +02:00
Thibaut Cuvelier
be3e79c2a0
DocBook: clean citation keys everywhere in the same way.
2020-07-20 02:29:40 +02:00
Juergen Spitzmueller
11a57ce6c6
Fix header inclusions
2020-07-09 17:19:01 +02:00
Thibaut Cuvelier
3883b85f49
New DocBook support
2020-07-08 08:42:16 +02:00
Jean-Marc Lasgouttes
5d4e6dfb68
Run codespell on src/insets
...
Command was
codespell -w -i 3 -S Makefile.in -L mathed,afe,tthe,ue,fro,uint,larg,alph,te,thes,alle,Claus,pres,pass-thru src/insets/
2020-06-25 23:46:16 +02:00
Thibaut Cuvelier
a6b07608d8
Rename XHTMLStream to XMLStream, move it to another file, and prepare for DocBook adoption.
...
xml.cpp/h also merges functionalities from sgml.cpp/h.
2020-06-15 13:01:56 +02:00
Richard Kimberly Heck
9e4709e4de
Avoid a copy
2020-05-03 02:52:56 -04:00
Juergen Spitzmueller
3d630f49c4
Fix broken mark with multiple citations
...
Patch by Patrick De Visschere (modified by me)
2020-05-02 08:55:58 +02:00
Juergen Spitzmueller
a1da60642c
Add outliner section for broken refs and citations
2020-03-14 15:18:28 +01:00
Juergen Spitzmueller
4ddc9e2501
Color broken citations, xrefs, and includes
...
Fixes #11503
2020-03-14 14:17:30 +01:00
Juergen Spitzmueller
d94b708a0f
Tell updateBuffer whether an inset is deleted.
...
Fixes #11747
2020-03-06 13:23:01 +01:00
Jean-Marc Lasgouttes
714113655a
Follow some of the performance advice from cppcheck
...
Most of that is changing string to string const &.
2019-09-13 16:23:49 +02:00
Juergen Spitzmueller
b4e871e9ca
Fix comment
2019-08-11 08:21:33 +02:00
Juergen Spitzmueller
cce9adc185
Force LTR for numeric citations
...
Fixes : #3005
2019-08-11 08:15:57 +02:00
Juergen Spitzmueller
1386a3d8fd
Allow for multiple use of same key in qualified citation lists
...
File format change
Fixes : #11618 , #11632
2019-08-07 13:00:29 +02:00
Juergen Spitzmueller
623f7b4795
Truncate long citation label in the middle rather than the end.
...
Fixes : #10769
2019-07-09 14:48:11 +02:00
Juergen Spitzmueller
6415d986ba
amend 1c623ffe8f2e34e
2018-03-22 23:37:19 +01:00
Juergen Spitzmueller
1c623ffe8f
Use separate BibInfo for child
...
This is used when the file is compiled standalone
Fixes : #11083
2018-03-22 15:52:23 +01:00
Richard Heck
f8e8877f83
Respect "literal" setting when entering citation via LyX server.
...
This requires moving the bool that tracks this somewhere that it
is visible from BufferView. It seemed to make sense to put it as
a static member of InsetCitation.
2018-02-22 15:28:01 -05:00
Richard Heck
2afd21bd21
Make InsetCitation's params work like other classes.
2018-02-22 01:02:02 -05:00
Richard Heck
d24a1c8fa4
Whitespace.
2018-01-28 23:37:20 -05:00
Richard Heck
fab87917ea
Properly fix #10863 compiler warnings.
...
Also change a few variable names, so as not to use "it" with
range-based for loops.
2017-12-16 09:30:12 -05:00
Richard Heck
71005d6c10
Fix #10894 compiler warnings.
2017-12-16 00:59:07 -05:00
Richard Heck
4483a8f1fb
We do not want to trim whitespace in the fallback, either.
2017-10-19 10:15:03 -04:00
Richard Heck
9f56f97d8e
Fix bug #9847 .
...
Spaces are, amazingly, allowed at the end of bibliography keys. So we
introduce a new parameter allowing getVectorFromString not to trim
whitespace, and then use it.
2017-10-18 16:42:47 -04:00
Richard Heck
75bfed5507
Fix trailing whitespace in cpp files.
2017-07-03 13:53:14 -04:00
Jean-Marc Lasgouttes
61cafeb4d2
Avoid using buffer() which might throw an exception
...
Actually buffer_ is always valid on this codepath, but coverity is not
able to see that.
2017-04-07 12:05:21 +02:00
Jean-Marc Lasgouttes
ba39d2de04
Play again with coverity annotation
...
The documentation is scarce and it is difficult to see what notation
is right.
2017-03-31 13:59:29 +02:00
Jean-Marc Lasgouttes
08561eba3f
Followup to e10db6c7: handle InsetCitation too.
2017-03-31 11:23:28 +02:00
Jean-Marc Lasgouttes
dc385a8b97
Fix coverity false positive
...
The fall through was intended at db889bc6.
2017-03-01 16:42:28 +01:00
Juergen Spitzmueller
e15a8f3551
Extend LATEXIFY command param handling and add literal param.
...
File format change.
This allows for the relevant InsetCommand-based dialogs (such as
citation text before/after, Bibitem label, hyperlink name etc.)
to provide both the input of verbatim code or text that is transformed
to proper LaTeX code.
Some dialogs (Nomencl, Href) already had some methods (although they
could not be toggled), which are now centralized and streamlined.
The initial work of this patch has been done by Georg Baum (see
http://www.lyx.org/trac/attachment/ticket/2751/x.diff )
Fixes : #2751 , #8227 .
2017-01-30 07:44:55 +01:00
Juergen Spitzmueller
c59375d679
Move protectArgument function to lstrings
...
This will be useful to other insets as well.
2017-01-29 12:08:29 +01:00
Juergen Spitzmueller
fd8b4aebb0
Generalize the protection of brackets in citation arguments
...
Whenever an argument delimiter is used inside the argument, the argument
needs to be grouped, that is
\cites({text (text) text})
or
\cite[{text [text] text}]
This fixes the original case reported in #2751 which is independent
from the general issue that the pre- and postnote field take literal
code.
2017-01-22 10:27:06 +01:00
Juergen Spitzmueller
68ab4023cc
Support for "qualified citation lists"
...
These are biblatex-specific multicite commands that allow for multiple
pre- and postnotes, as in:
\cites(pre)(post)[pre1][post1]{key1}[pre2][post2]{key2}...
with an optional general pre- and postnote, which applies to the whole
list (like [][] in normal cite commands) and an optional pre- and
postnotes for each item, so that pagination can actually be specified in
multi-cite references, as in:
(cf. Miller 2015, 2; furthermore Smith 2013, 23-23; Jenkins 2012, 103,
also refer to chapter 6 in this book)
See the biblatex manual, sec. 3.8.3., for details.
File format change.
2017-01-21 14:25:17 +01:00
Guillaume Munch
3391fed36a
Make the generation of children's tocs more robust
...
Let the children directly access the TocBuilders, instead of concatenating
after the fact.
2017-01-14 23:13:14 +01:00
Juergen Spitzmueller
ed7d3a33ab
Some master/child biblio fixes.
2017-01-14 14:44:18 +01:00
Juergen Spitzmueller
327602d01d
Implement "key only" citation style
...
File format change.
2017-01-13 11:53:22 +01:00
Juergen Spitzmueller
425c190d62
merge recent changes from master
2017-01-09 20:04:32 +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
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