Richard Heck
ec5c343ebd
Update XHTML documentation now that bibliography format can be
...
customized.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33930 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-29 21:09:12 +00:00
Richard Heck
d896682aa2
Documentation for customization of citation formats.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33929 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-29 21:04:33 +00:00
Richard Heck
920b34210b
Typo.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33928 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-29 20:56:45 +00:00
Richard Heck
2a21c12eab
There are other ways we can get in trouble, so let's impose the limit
...
slightly differently.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33927 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-29 20:52:07 +00:00
Richard Heck
9c77c1248b
Update po files.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33926 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-29 20:22:17 +00:00
Richard Heck
bc6ee8d251
Do the translation the right way.
...
By the way, has anyone noticed that _() returns empty if you call it
on a string we don't know how to translate? Might it be better if it
returned the original string?
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33925 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-29 20:21:30 +00:00
Richard Heck
808ff6650c
Introduce a simple macro facility for citation formats. Also introduce
...
simple, translatable units for use in such formats.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33924 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-29 20:01:28 +00:00
Richard Heck
6c8ace9e7d
Didn't mean to commit this one.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33923 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-29 18:52:50 +00:00
Richard Heck
e392cff392
Update layouts to format 26.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33922 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-29 18:51:41 +00:00
Richard Heck
0c135d1c4e
Make the default format translatable, and load the cite formats in
...
paper.layout.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33921 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-29 18:50:31 +00:00
Richard Heck
f1912e1c33
Read the citation formats from a file, rather than hardcoding them. This
...
allows for layout- or module-level customization of the display in the
citation dialog and of the XHTML bibliography output.
There is more of this to come, by the way. The next step is to allow
macros. That will make it easier to deal with translation issues, which
ought to be the final step.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33920 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-29 18:37:25 +00:00
Richard Heck
63844ddbf9
Clarify and add some comments.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33919 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-29 18:00:26 +00:00
Vincent van Ravesteijn
111bb60932
Fix bug #2009:'|'-character in headings confuses TOC list in navigate menu.
...
Solution is to search backwards for the last '|' in the string, and to add a '|' to the ones without a shortcut.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33918 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-29 17:58:00 +00:00
Vincent van Ravesteijn
5de10a0123
Fix bug #3930 : Wrong Margin Types in Elsart.layout.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33917 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-29 17:20:03 +00:00
Richard Heck
3cc5a2e800
Use the new put_cmd_in_ert routine in the xymatrix reversion routine.
...
Vincent, can you check (again) that I didn't break this wiht an off by
one error or something?
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33916 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-29 17:05:21 +00:00
Richard Heck
205feb0704
Introduce a proper form of the put_cmd_in_ert function.
...
Even if this doesn't get used in 2.0, we'll at least have it for later.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33915 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-29 17:01:41 +00:00
Richard Heck
9f3253a34e
Rename a routine. The new one comes next.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33914 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-29 16:37:30 +00:00
Richard Heck
7ba836548f
Fix a minor bug in the xymatrix lyx2lyx stuff and make it a bit more
...
pythonic.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33913 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-29 16:29:57 +00:00
Vincent van Ravesteijn
e4b3e9b7bc
Fix the painting I broke in r33909.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33912 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-29 16:00:49 +00:00
Richard Heck
dfaab2f50d
Remove extra qualifier.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33911 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-29 15:45:24 +00:00
Vincent van Ravesteijn
0b450f40e7
Refactorization: I don't like nested ?: constructions. Especially not followed by an if statement which is a special case for the deepest level of the nested ?: construction.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33910 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-29 15:32:45 +00:00
Vincent van Ravesteijn
6a9f44eaa2
Refactorization: Buffer::changed() can update the metrics as well, so we don't have to do it in scrollToCursor if we call Buffer::changed() anyway.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33909 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-29 15:29:26 +00:00
Vincent van Ravesteijn
71c1ad3517
Fix bug #3900 : Insets painted as hovered without mouse hover.
...
When updating the screen, moving the mouse, or scrolling the buffer, we check whether the hovering status of the insets.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33908 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-29 15:21:10 +00:00
Vincent van Ravesteijn
fa0f6cf9be
Allow to assign the shortcut to an action not only if this was an unknown action, but also when it is a no-action.
...
This could be seen by adding a shortcut "Ctrl-R" to accent-acute. Then changing this to "Ctrl-R Ctrl-R". And then changing this back to "Ctrl-R". Now the oldBinding is NOACTION and a warning is issued that "Ctrl-R" was already bound.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33906 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-29 09:15:27 +00:00
Vincent van Ravesteijn
df1b413587
No need to issue an error if the shortcut binding did not change.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33905 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-29 09:13:00 +00:00
Vincent van Ravesteijn
520709d2bb
Mark the preferences dialog as changed when a shortcut is removed.
...
(Apparently the signal-slot construction does not work when there is also a on_**_pressed() slot?)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33903 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-29 06:54:27 +00:00
Vincent van Ravesteijn
ba22be24b4
Generate previews after buffer reload and clean up old ones from cache.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33901 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-28 22:41:37 +00:00
Vincent van Ravesteijn
e73c866edf
Squash warning.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33900 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-28 22:22:24 +00:00
Pavel Sanda
8af8bb9203
Distribute IP example for this moment too.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33899 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-28 22:19:31 +00:00
Pavel Sanda
268d7ced7e
Few examples for instant preview
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33897 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-28 21:42:26 +00:00
Pavel Sanda
6a1eb11563
Fix gcc warnings. Vincent, is it correct ploader is unused?
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33896 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-28 20:14:44 +00:00
Pavel Sanda
71cd86c649
Add Preview to ERT context menu
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33895 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-28 20:12:24 +00:00
Pavel Sanda
d10da20777
xypic.lyx: Update link
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33894 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-28 19:43:49 +00:00
Vincent van Ravesteijn
81dc517306
Fix bug #6341 : Can't set equal spacing in xymatrix.
...
Fix the file format change that was introduced in r32518.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33893 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-28 16:29:25 +00:00
Vincent van Ravesteijn
f637c4748d
Update FORMAT file for change in r33891.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33892 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-28 16:22:17 +00:00
Vincent van Ravesteijn
a4ec2fc8fe
New file format for InsetPreview introduced in r38890.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33891 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-28 14:52:47 +00:00
Vincent van Ravesteijn
bb69584112
Introduce InsetPreview.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33890 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-28 13:47:50 +00:00
Vincent van Ravesteijn
69f46cf1b2
Use LASSERT instead of BOOST_ASSERT.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33889 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-28 13:20:57 +00:00
Peter Kümmel
3539495abf
cmake: update readme
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33888 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-28 12:29:45 +00:00
Peter Kümmel
ff12bc6990
cmake: simplify cmake-gui usage for GNUWIN32
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33887 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-28 12:18:03 +00:00
Richard Heck
8c115c7185
Whitespace and comments.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33886 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-28 02:18:22 +00:00
Richard Heck
9667514c86
Make a couple of important bibliographic phrases translatable.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33885 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-28 02:12:40 +00:00
Richard Heck
60434e6a00
These can just be strings, and will need to be so later.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33884 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-27 22:51:38 +00:00
Edwin Leuven
2fb72fb906
hopefully fix the (re)sizing of the adv search/replace
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33883 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-27 17:37:41 +00:00
Enrico Forestieri
f84a611775
Fix #6618 : RTL (sub)*section after LTR text doesn't compile.
...
When deciding whether to switch encoding or not, the "fragileness" of
the enclosing environment (rather than that of the actual one) should
be taken into account, as we already account for the current "fragility"
by outputting the encoding switch just before switching environment.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33882 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-27 17:29:56 +00:00
Richard Heck
9a98285308
Use rich text in XHTML output, too.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33881 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-27 13:54:50 +00:00
Richard Heck
5696be2a66
Allow the use of rich text in citation formats. And use them in the
...
citaton dialog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33880 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-27 13:54:14 +00:00
Richard Heck
206ca45751
This is the first step towards allowing customization of how BibTeX
...
entries are represented, both in LyX and in XHTML output. Try looking at
the InsetCitation dialog and, in particular, at entries that have
crossref fields and you will see the benefit there.
The next step is to allow this stuff to be read from a file.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33879 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-27 12:58:26 +00:00
Pavel Sanda
a59b92769f
Fix part of 6587 - make backup more safe and delete autosave only after closing.
...
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg159029.html
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33878 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-26 23:15:37 +00:00
Richard Heck
bd3f2308b4
Style, I guess.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33876 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-26 17:00:07 +00:00