Georg Baum
e35725d5c0
New nomenclature inset from Ugras
...
* src/LyXAction.C
(LyXAction::init): Add LFUN_NOMENCL_INSERT and LFUN_NOMENCL_PRINT
* src/insets/insetbase.C
(build_translator): ditto
* src/LaTeXFeatures.C
(LaTeXFeatures::getPackages): Add nomencl
* src/insets/insetnomencl.[Ch]: new insets InsetNomencl and
InsetPrintNomencl
* src/insets/insetbase.h: Add NOMENCL_CODE and NOMENCL_PRINT_CODE
* src/insets/insetcommandparams.C
(InsetCommandParams::findInfo): Add nomenclature and printnomenclature
(InsetCommandParams::getCommand): Extend end of command protection to
cover commands with only optional arguments like printnomenclature
* src/insets/insetert.C
(InsetERT::getStatus): disable LFUN_NOMENCL_INSERT and
LFUN_NOMENCL_PRINT
* src/insets/Makefile.am: Add new files
* src/frontends/qt4/Makefile.dialogs: ditto
* src/frontends/qt4/Makefile.am: ditto
* src/factory.C
(createInset): Handle InsetNomencl and InsetPrintNomencl
(readInset): ditto
* src/buffer.C
(LYX_FORMAT): increase
* src/lyxfunc.C
(LyXFunc::dispatch): Handle nomenclature
* src/LaTeX.C
(LaTeX::deleteFilesOnError): Delete .nls file
(LaTeX::run): Run makeindex for nomenclature
(LaTeX::runMakeIndex): handle nomenclature options
(LaTeX::deplog): Recognize nomenclature file
* src/frontends/qt4/QNomenclDialog.[Ch]: new
* src/frontends/qt4/QNomencl.[Ch]: ditto
* src/frontends/qt4/ui/QNomenclUi.ui: ditto
* src/frontends/qt4/Dialogs.C
(Dialogs::build): handle nomenclature dialog
* src/text3.C
(LyXText::dispatch): Handle LFUN_NOMENCL_INSERT and
LFUN_NOMENCL_PRINT
(LyXText::getStatus): Ditto
* src/lfuns.h
(kb_action): Add LFUN_NOMENCL_INSERT and LFUN_NOMENCL_PRINT
* lib/lyx2lyx/LyX.py
(format_relation): Update 1.5 format range
* lib/lyx2lyx/lyx_1_5.py
(revert_nomenclature): New
(revert_printnomenclature): ditto
* lib/chkconfig.ltx: Test for nomencl package
* lib/doc/LaTeXConfig.lyx.in: Add nomencl package
* lib/doc/Extended.lyx: Add documentation for nomencl
* lib/ui/stdtoolbars.ui
(Toolbar "extra" "Extra"): Add nomencl-insert
* lib/ui/classic.ui: Add nomencl-insert and nomencl-print
* lib/ui/stdmenus.ui: ditto
* development/scons/scons_manifest.py: Add new files
* development/FORMAT: Describe new format
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15739 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-04 17:55:36 +00:00
André Pönitz
6c300f72a2
move everything into namespace lyx
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15422 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-21 00:16:43 +00:00
Abdelrazak Younes
28ad960255
This commit cleans up everything related to singleton. The other important change is that lyx::dispatch() and lyx::getStatus become _the_ official way to use LyXFunc equivalent methods.
...
* lyxfunc.h:
- theLyXFunc(): new function in the global namespace.
- lyx::dispatch(): new function in the lyx namespace.
- lyx::getStatus(): new function in the lyx namespace.
* bufferlist.h:
- theBufferList(): new function in the global namespace.
* Clipboard.h:
- theClipboard(): new function in the global namespace.
* Selection.h:
- theSelection(): new function in the global namespace.
* FontLoader.h:
- theFontLoader(): new function in the global namespace.
* FontMetrics.h:
- theFontMetrics(LyXFont const &): new function in the global namespace.
* Application.C: implements the functions defined above.
* LyXView.h:
- getLyXFunc(): deleted.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15298 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-11 17:24:46 +00:00
Abdelrazak Younes
ca5411f913
This commit introduces Application_pimpl and cleanup the header includes of the affected .C files.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15182 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-29 22:06:28 +00:00
Abdelrazak Younes
1396c73262
replace global variable bufferlist with Application class member access.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15161 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-27 10:24:13 +00:00
Abdelrazak Younes
a6444784dc
A bunch of conversion to docstring.
...
- bformat(): contributed by Georg Beaum
- Alert::XXX
- error(): in SpellBase, ispell, psell, aspell, buffer, etc.
- message(), message signal
- displayMessage(), setMessage,
- ErrorItems
- prettyName()
- makeDisplayPath()
and maybe some more...
- etc...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14970 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-11 08:54:10 +00:00
Lars Gullik Bjønnes
43b77ba2d7
Change _() to return a docstring. Fixup callers with the help of lyx::to_utf8.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14952 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-09 15:27:44 +00:00
Georg Baum
a9983dfac2
Fix bug 2616
...
* src/LaTeX.C
(LaTeX::deplog): Add the toc file to the dependencies if a line
\tf@toc=\write#
is present in the log file, since miktex does not write the line
\openout# = `sample.toc'.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14496 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-24 11:08:44 +00:00
Jürgen Spitzmüller
6fd2366d9c
* src/LaTeX.C (run):
...
fix typo from r13950
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13954 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-29 15:51:12 +00:00
Jürgen Spitzmüller
28fa2c0efa
fix bug 2623:
...
* lib/layouts/memoir.layout:
add ProvidesMakeindex
* src/LaTeX.C (run):
rerun latex im idx file is empty (needed by memoir)
fix typo in comment
* src/LaTeXFeatures.C (getPackages):
whitespace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13950 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-29 14:49:08 +00:00
Georg Baum
13cd255a30
* src/LaTeX.C
...
(LaTeX::scanLogFile): remove \0 characters inserted by MikTeX before
further processing
(LaTeX::deplog): likewise
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13737 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-25 08:22:58 +00:00
Lars Gullik Bjønnes
8c93f63b48
* filetools.[Ch]: Make functions that start with a capital
...
letter start with a lower letter.
* All other .C and .h in the cs: adjust for above change
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13603 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-08 22:31:11 +00:00
Jean-Marc Lasgouttes
9063a63083
* src/LaTeX.C
...
(handleFoundFile): do not add directories to dep table (crashes cygwin)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13529 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-29 14:45:37 +00:00
Georg Baum
23948c1537
fix bug 1824
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9673 a592a061-630c-0410-9148-cb99ea01b6c8
2005-02-23 16:56:40 +00:00
Lars Gullik Bjønnes
b6e6f87f71
ditch FileInfo -> use boost.filesystem
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9547 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-31 10:42:26 +00:00
Lars Gullik Bjønnes
9c2ba3c4ff
rename tostr.[Ch] to convert.[Ch]
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9448 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-06 16:39:35 +00:00
Lars Gullik Bjønnes
6a55be9506
tostr -> convert and some bformat work
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9446 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-06 15:40:49 +00:00
Angus Leeming
4b7891d873
OS Abstraction of "HOME" and the null device.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9376 a592a061-630c-0410-9148-cb99ea01b6c8
2004-12-15 19:35:43 +00:00
Martin Vermeer
a566db1d51
Implement use of babel language in xindy.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9061 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-07 15:21:03 +00:00
Angus Leeming
e978fa42e3
Whitespace, only whitespace.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9044 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-05 10:11:42 +00:00
Angus Leeming
965a772279
Hartmut's patch to make the indexing command (makeindex) configurable.
...
Plus tweaks to get the UI working.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9043 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-05 08:34:41 +00:00
Jean-Marc Lasgouttes
d6ce49384f
fix bug 1526 (quote correctly file name for bibtex and makeindex)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8684 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-20 12:45:07 +00:00
Jürgen Spitzmüller
aecf612d10
customize bibtex call (bug 720)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8559 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-29 12:11:53 +00:00
Jürgen Spitzmüller
b1fa5cd0d0
Add support for the jurabib package (www.jurabib.org), a package for elegant BibTeX references, as requested in bug 408.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8480 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-07 14:33:17 +00:00
José Matox
cd424d7853
Rename ascii to plaintext and LatexRunParams to OutputParams.
...
Create new files for each output format.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8046 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-05 12:06:20 +00:00
Lars Gullik Bjønnes
05347e4101
make some more regexs static
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7932 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-17 18:23:41 +00:00
Lars Gullik Bjønnes
22c7835022
move some vars to smaller scope
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7899 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-13 01:01:33 +00:00
Lars Gullik Bjønnes
c57b67f24f
Bug: 820
...
2003-10-11 Lars Gullik Bj�nnes <larsbj@gullik.net>
* LaTeX.C (deplog): move found file handlig from here...
(handleFoundFile): .. to new function here.
(deplog): make sure to discover several files mentioned on the
same log line.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7896 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-11 01:21:26 +00:00
Lars Gullik Bjønnes
44cd0fc9a1
The std::string mammoth path.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7862 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-06 15:43:21 +00:00
Lars Gullik Bjønnes
83256c8f88
fix some namespace issues for gcc 3.4
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7770 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-16 11:03:20 +00:00
Lars Gullik Bjønnes
cd03e2b7db
Get rid of lyxstring, remove usage of STRCONV.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7751 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-15 11:00:00 +00:00
Angus Leeming
57a24ea912
Replace 'using namespace abc;' with 'using abc::xyz;'
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7725 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-09 22:13:45 +00:00
Angus Leeming
ffdb0baea3
Get rid of trailing whitespace 'noise' in future patches for the
...
forseeable future.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7724 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-09 18:27:24 +00:00
Angus Leeming
4c6e0fe422
Removed all redundant using directives from the source.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7704 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-08 00:33:41 +00:00
Angus Leeming
91de22ef34
Strip 320 #includes from the files in src.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7684 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-05 16:31:30 +00:00
Angus Leeming
1dffc5cfe4
Move #includes out of header files.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7659 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-04 03:54:04 +00:00
Angus Leeming
0be0fcfd59
If I ever see another licence blurb again, it'll be too soon...
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7598 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-23 00:17:00 +00:00
Alfredo Braunstein
e3fc822783
Added new signals to Buffer, connect/disconnect to them in BufferView, added BufferView::newFile
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7242 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-07 08:37:02 +00:00
Lars Gullik Bjønnes
92d522b7f1
introduce namespace lyx::support
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7224 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-30 23:56:22 +00:00
Angus Leeming
ccce6b9662
Pass struct LatexRunParams around a bit...
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7008 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-22 18:59:10 +00:00
André Pönitz
dbef37d522
non-templated tostr in separate files
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6955 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-13 14:36:24 +00:00
André Pönitz
d31244b5e2
The 'bformat' introduction
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6953 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-13 09:48:57 +00:00
Angus Leeming
08a281769e
Clean up interface a little
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6720 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-04 19:56:31 +00:00
John Levon
17c8764e0a
move BoostFormat and boost-inst
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6651 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-30 20:25:44 +00:00
Dekel Tsur
e36eb8f674
Fix a bug where the DVI file was not updated due to an old format .dep file.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6383 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-07 20:17:40 +00:00
Lars Gullik Bjønnes
2f71b9d235
ws changes only
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6333 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-04 09:27:27 +00:00
Lars Gullik Bjønnes
99d1627a47
dont use pragma impementation and interface anymore
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6138 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-13 16:53:15 +00:00
John Levon
84b3737805
consolidate some code into one function
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6075 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-08 21:46:17 +00:00
Angus Leeming
691568ea39
Minor bits 'n' bobs from Michael, J�rgen and Jean-Marc.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5906 a592a061-630c-0410-9148-cb99ea01b6c8
2003-01-06 14:02:24 +00:00
Lars Gullik Bjønnes
53274e31ec
the string -> char patch
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5725 a592a061-630c-0410-9148-cb99ea01b6c8
2002-11-27 10:30:28 +00:00