Commit Graph

476 Commits

Author SHA1 Message Date
Georg Baum
8e8c214bef Fix some bugs related to spaces in math:
- Interpret argument of LFUN_SPACE_INSERT correctly
- Use InsetMathSpace instead of InsetMathSpecialChar for "\ " (bug # 7728)
- Use InsetMathSpace instead of InsetMathChar for ~ (bug # 7728).
  This fixes also the display in LyX (previously a literal ~ was displayed).
Using InsetMathSpace enables also the "Insert Formatting" menu entries.
No file format change is needed, since the LaTeX export is unchanged.
Note that there are still some bugs related to spaces in math:
#7746, #7747, #7749, #7842


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39947 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-23 20:19:49 +00:00
Julien Rioux
24cd735153 Correction: The inset name is citation, not cite
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39808 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-06 16:30:28 +00:00
Tommaso Cucinotta
e79b461f9e Fixed typo in comment.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39806 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-06 13:51:45 +00:00
Tommaso Cucinotta
164ae1584a Added Export As... dialog, exploiting the new destination path that can
be specified when exporting.
This fixes #3402.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39805 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-06 13:47:42 +00:00
Tommaso Cucinotta
eff76bd3ab Added -E option to specify export format and destination file-name (and export folder).
Addressing #4501.
See also http://comments.gmane.org/gmane.editors.lyx.devel/138329


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39678 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-15 01:07:49 +00:00
Uwe Stöhr
f5a03ab601 InsetSpace support for
- \negmedspace and \negthickspace outside of math
- \enspace, \hspace*, \hspace*{\fill} and \hfill inside math
(fileformat change)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39557 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-29 14:07:30 +00:00
Pavel Sanda
5005facace Add visible space. After long discussion the solution is part of InsetSpace.
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg169847.html

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39367 a592a061-630c-0410-9148-cb99ea01b6c8
2011-07-23 18:40:21 +00:00
Stephan Witt
56960daa7c #7564 add new argument to the documentation of LFUN_WORD_REPLACE, make the default of the new argument backward compatible
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38785 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-19 05:50:55 +00:00
Pavel Sanda
59923085b9 * doxy
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38079 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-27 22:50:19 +00:00
Pavel Sanda
78e483710d * doxy
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37841 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-03 12:15:35 +00:00
Pavel Sanda
e16f7142e3 * doxy
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37822 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-01 23:49:42 +00:00
Pavel Sanda
da24a5ee90 Update doxy for selection-paste.
The whole thing was introduced in r28154.

JMarc, could you improve the description doxies for selection-paste and primary-selection-paste ?


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37097 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-04 01:41:53 +00:00
Pavel Sanda
8677d02527 Doxy convertor knows nothing about multiple Sample fields
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36652 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-02 02:46:24 +00:00
Pavel Sanda
e8d0eaa180 Doxy whitespacing
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36651 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-02 02:36:18 +00:00
Pavel Sanda
0a34788bba Update doc about forward search.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36650 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-02 01:56:45 +00:00
Pavel Sanda
f01e1e202f Better doxy
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36649 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-02 00:58:32 +00:00
Pavel Sanda
b83e477ca2 * doxy
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36648 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-02 00:22:50 +00:00
Pavel Sanda
6d40196285 * Doxy. This function was probably meant as something more powerful in the begining.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36529 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-27 00:15:55 +00:00
Pavel Sanda
d121ec8037 * doxy
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36469 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-25 02:26:05 +00:00
Pavel Sanda
d2e13311cd Synchroniza names in lfuns
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36453 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-23 20:35:55 +00:00
Georg Baum
7edd656f21 Fix inserting subscript/superscript with nonempty selection by creating a dedicated lfun:
inset-insert simply swallows the selection, while box-insert, note-insert etc.
put the selection inside the new inset.
As a side effect the toolbar icons get better names, as requested by Uwe.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36451 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-23 20:09:08 +00:00
Georg Baum
dea050cb93 fix bug 3008: Add subscript/superscript inset for text
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36424 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-21 17:00:12 +00:00
Pavel Sanda
07fc85d3e2 typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35986 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-01 23:24:24 +00:00
Richard Heck
b3d854fc96 Update doxy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35648 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-14 14:27:05 +00:00
Richard Heck
01013c0785 Refstyle support. The user can now choose between prettyref and restyle
for formatted references. Fixes #2295, in so far as it makes it possible
to translate formatted references.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35623 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-13 12:36:53 +00:00
Stephan Witt
0dc22fb82f cell movement inside tables should not mark the document as modified
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35570 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-08 05:21:19 +00:00
Uwe Stöhr
3d8b6d89b3 LyXAction.cpp: fix sorting
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35347 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-12 12:25:00 +00:00
Abdelrazak Younes
d8981b13ae * Get rid of LFUN_TOC_INSERT: we use LFUN_INSET_INSERT "toc".
* Fix usage of "inset-insert type" without CommandInset arguments.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35345 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-12 07:56:08 +00:00
Abdelrazak Younes
a648c39b70 Get rid of LFUN_LINE_INSERT: we use LFUN_INSET_INSERT "line".
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35344 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-12 07:01:24 +00:00
Pavel Sanda
e2c0424c17 Add decent UI for VC_COMPARE
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35306 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-07 11:28:57 +00:00
Uwe Stöhr
0e7ab29f49 InsetLine: support for the LaTeX command \rule; kick out the hardcoded \lyxline; fileformat change
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35299 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-07 00:41:00 +00:00
Jean-Marc Lasgouttes
f8eda52820 Fix bug #3733: 'undo' does not revert 'changed' status for file
* src/LyXAction.cpp: add ReadOnly flag to LFUN_UNDO and LFUN_REDO, since
  we do not want the dispatch mechanism to mark buffer dirty after them.
* src/BufferView.cpp: handle "by hand" the activation of undo/redo
* src/Undo.cpp: add lyx_clean member to UndoElement and make sure to 
  maintain it with undo operations; add a new markDirty() member for UndoStack
* src/Buffer.cpp: when saving a document, mark the undo and redo stacks 
  elements as dirty.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35068 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-06 23:54:04 +00:00
Jean-Marc Lasgouttes
e4f2484cb5 Implement LFUN_SPELLING_REMOVE (patch from switt)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35055 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-05 20:10:40 +00:00
Peter Kümmel
c09d33120d UNDO: enc
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34943 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-17 16:09:26 +00:00
Peter Kümmel
56a7a67783 add first version of .lyx file encryption. It's disabled by default and could out-of-the-box only by compiled on Linux with cmake and with openssl-devel packeges.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34931 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-17 12:26:11 +00:00
Richard Heck
e6ab2b0442 Whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34644 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-12 14:00:43 +00:00
Edwin Leuven
c64fb28046 add new lyx funcs introduced in r34598 to doxy
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34643 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-12 10:29:12 +00:00
Richard Heck
319ca06167 Rename LFUN_OPTIONAL_INSERT as LFUN_ARGUMENT_INSERT.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34597 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-04 22:53:44 +00:00
Pavel Sanda
053b905e08 Add output_sync icon to view/update toolbar
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34499 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-25 11:36:02 +00:00
Pavel Sanda
555df7e2a1 *doxy
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34487 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-24 13:38:15 +00:00
Pavel Sanda
d7b88d3f5b Fix doxy generation
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34463 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-23 11:25:18 +00:00
Pavel Sanda
6996d40dc3 * doxy
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34401 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-11 12:00:59 +00:00
Vincent van Ravesteijn
1df3f70ed1 Fix more of bug #5446: Enable to copy the contents of an InsetInfo through the context menu.
This introduces a new LFUN LFUN_INSET_COPY_AS, which copies a certain Inset to the clipboard. For InsetInfo this is the text that is visible, but this could also replace LFUN_LABEL_COPY_AS_REF, by copying the INSET to the clipboard as a reference, and also a Math inset to copy to the clipboard as latex (including $'s or \[..\]).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34223 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-19 21:36:32 +00:00
Vincent van Ravesteijn
0b92e538d9 Use the AtPoint mechanism for the LFUN_INSET_EDIT and LFUN_LABEL_COPY_AS_REF.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34220 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-19 17:11:43 +00:00
Enrico Forestieri
ba57ee8a24 Modify the forward-search lfun such that no argument is needed.
If a dvi file exists in the temp dir, the command specified by the
\forward_search_dvi rc setting is used to initiate the search.
Otherwise, if a pdf file exists, the forward search is performed by
using the command specified by the \forward_search_pdf rc setting.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34148 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-15 23:32:52 +00:00
Pavel Sanda
5862c1e414 Fix #94 - LYX forward DVI search
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34139 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-15 13:19:48 +00:00
Jean-Marc Lasgouttes
e8529a2ecf Get rid of all-insets-toggle and explain how to replace it with inset-forall.
Change inset-forall so that screen is not repainted at each iteration, since this lead to very slow opeartion on large files. This is not a problem for current uses, but can potentially lead to crashes.

See ticket #6641 for more thoughts and possible solutions.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34092 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-08 12:39:41 +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
Pavel Sanda
c0f4aa8c4b * doxy
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33835 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-22 11:35:43 +00:00
Pavel Sanda
7f8f613a11 * doxy
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33497 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-18 09:01:33 +00:00