Commit Graph

37 Commits

Author SHA1 Message Date
Abdelrazak Younes
4a1be58591 - Simplify prefs, graphics and external display options which are now true or false.
- the display combo in the prefs, external and graphics dialogs are gone
- the lyxrc display_graphics option now overrides any local inset display option
- The external template format has a new tag: Preview
- format incremented to 337


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25245 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-13 07:34:55 +00:00
Jürgen Spitzmüller
642e28fc61 * src/insets/InsetExternal.cpp (validate):
- bug fix: if no specific PDFLaTeX out format is defined, we have to use
	  the LaTeX requirement tag in pdflatex output

* lib/external_templates:
	- remove unneeded PDFLaTeX format specification.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24255 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-13 12:50:35 +00:00
Jürgen Spitzmüller
5997d41b38 ** support pdfpages via external inset **
* development/FORMAT:
* src/Buffer.cpp:
	- format incremented to 326

* src/LaTeXFeatures.cpp:
* lib/chkconfig.ltx:
* lib/doc/LaTeXConfig.lyx:
	- support pdfpages

* lib/external_templates:
	- add template for pdfpages

* lib/lyx2lyx/LyX.py:
* lib/lyx2lyx/lyx_1_6.py:
	- add reversion routine.

* lib/configure.py:
	- fix call to "pdftops --eps"

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24237 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-11 14:07:25 +00:00
Georg Baum
b1b76d22f1 undo file format change
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17462 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-17 10:30:31 +00:00
Uwe Stöhr
93d8c09d65 Correct name: XFig -> Xfig
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17450 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-15 21:22:02 +00:00
Georg Baum
90867eff0d Add lilypond external inset
* src/graphics/GraphicsConverter.C
	(build_script): Change the current directory to the directory of
	the output file

	* src/converter.C
	(Converters::convert): Add comment

	* lib/external_templates: Add lilypond template

	* lib/configure.py
	(checkFormatEntries): Add lilypond format
	(checkConverterEntries): Add lilypond converter


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15245 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-04 19:01:00 +00:00
Michael Schmitt
2a71306d77 drop linuxdoc support (part 4)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14821 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-23 11:16:08 +00:00
Georg Baum
437fcef400 Fix bug 2716:
* lib/external_templates
	(XFig): Require the color package, since xfig generates LaTeX
	code with \color.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14504 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-28 16:21:54 +00:00
Georg Baum
fc7f2d9805 Fix bug 2107:
* src/LaTeXFeatures.[Ch]: replace nice_ by runparams_

        * src/insets/insetexternal.C
        (InsetExternal::validate): Use the correct template for the desired
        output format

        * src/insets/insetgraphics.C
        (InsetGraphics::prepareFile): Record the needed files for "latex"
        or "pdflatex" format, dependant on the desired output format

        * src/insets/insetinclude.C
        (InsetInclude::latex): ditto

        * src/BufferView_pimpl.C
        (BufferView::Pimpl::getStatus): adapt to LaTeXFeatures changes

        * src/paragraph_pimpl.C
        (Paragraph::Pimpl::simpleTeXSpecialC): ditto

        * src/buffer.C
        (Buffer::makeLaTeXFile): ditto
        (Buffer::makeLinuxDocFile): ditto
        (Buffer::makeDocBookFile): ditto

        * src/paragraph.C
        (Paragraph::simpleTeXOnePar): ditto

        * src/exporter.C
        (Backends): Add "pdflatex" backend format
        (Exporter::Export): set runparams.flavor correctly for "pdflatex" format

        * lib/external_templates
        (RasterImage): Use "pdflatex" format in PDFLaTeX template
        (XFig): ditto
        (ChessDiagram): Add PDFLaTeX template
        (Date): ditto

        * lib/configure.py: Add "pdflatex" format


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13520 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-28 18:49:46 +00:00
Georg Baum
e367172256 use the movers also for copying from temp dir -> export dir
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9153 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-01 08:50:42 +00:00
Georg Baum
fa29d7ee98 last chunk of the fix for bug 1244 + overwrite checking
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8791 a592a061-630c-0410-9148-cb99ea01b6c8
2004-06-01 13:39:33 +00:00
Angus Leeming
2c7b7e3e48 Add some commentary.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8708 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-29 11:33:04 +00:00
Angus Leeming
0e9751b023 Don't insert the definitions of the WarnNotFound, InputOrWarn macros
when using the XFig template.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8677 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-20 08:07:27 +00:00
Angus Leeming
da61af2b8e Georg's add an editor to Formats / safe external_templates patch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8645 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-13 10:36:09 +00:00
Angus Leeming
dcd66fa802 Georg's latest contribution to squashing bug 605.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8615 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-06 21:07:27 +00:00
Angus Leeming
9387970e7d Globbing.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8300 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-05 16:49:38 +00:00
Angus Leeming
8c96de553b Add transformations to InsetExternal.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7877 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-07 22:59:58 +00:00
Angus Leeming
fbd9df3dbb Forgotten ChangeLogs, whitespace and some unnecessary namespace stuff removed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7875 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-07 21:44:59 +00:00
Angus Leeming
9a3737148b Re-add the RasterImage template.
Several small clean-ups of the InsetExternal code.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7823 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-25 10:49:13 +00:00
Angus Leeming
a322972f11 Small clean-up.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7815 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-23 17:37:00 +00:00
Angus Leeming
3b055f124a (Johnathan Burchill): write a message to the latex log file if the
xfig file cannot be found.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7667 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-04 23:09:40 +00:00
Angus Leeming
e9c209c298 The remaining External Template clean-up patch ;-)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7666 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-04 17:01:00 +00:00
Angus Leeming
f2d97f93b4 (Johnathan Burchill): clever latex to input an xfig .pstex_t file if it
exists, else print a warning.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7660 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-04 10:17:39 +00:00
Angus Leeming
81f5788a20 Remove references to the parameters variable.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7136 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-09 21:42:20 +00:00
Angus Leeming
bb1885193f Scrap the RasterImage template.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7116 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-05 22:50:59 +00:00
Angus Leeming
6a50ae699b The external inset uses the converters. Graphical display within LyX.
Be warned --- temporary file format.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7101 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-04 09:16:29 +00:00
Angus Leeming
b257853f8d Whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7032 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-23 14:48:58 +00:00
Angus Leeming
08ad6acd9a Enable the external inset to output different flavours of latex.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7031 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-23 14:36:26 +00:00
John Levon
9b09fa6ee5 small tweak
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5569 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-31 20:47:32 +00:00
Jean-Marc Lasgouttes
4bad42dd2e fix external templates; fix bug 423
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4339 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-05 15:07:44 +00:00
Dekel Tsur
7a57795f20 insetexternal: Do not run update command if result file exists and is up to
date.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2960 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-02 16:28:29 +00:00
Jean-Marc Lasgouttes
44b7b7fc71 more skak tweaks
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2957 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-31 17:16:35 +00:00
Jean-Marc Lasgouttes
60ca300e1d skak support, John's ERT fixes, loclae blunder fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2955 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-31 15:19:49 +00:00
Jürgen Vigna
35306ae173 Patch from Garst, applied.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@822 a592a061-630c-0410-9148-cb99ea01b6c8
2000-06-20 07:58:10 +00:00
Jürgen Vigna
7590dcfa98 Patch from Dekel for fig2pstex
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@819 a592a061-630c-0410-9148-cb99ea01b6c8
2000-06-19 08:27:20 +00:00
Lars Gullik Bjønnes
6661712fbc moore
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@811 a592a061-630c-0410-9148-cb99ea01b6c8
2000-06-12 14:58:10 +00:00
Lars Gullik Bjønnes
6bba977f42 FILMagain changes (will need some work)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@807 a592a061-630c-0410-9148-cb99ea01b6c8
2000-06-12 11:27:15 +00:00