Commit Graph

64 Commits

Author SHA1 Message Date
Georg Baum
7e37dc20eb Add xlsx format
We do already have docx, but xlsx was missing. This is a separate format
because of the MIME type. nd because some users might need converters which
can only handle one format. Now the spreadsheet template does not hide the
fact anymore that it can deal with xlsx files as well.
2016-09-08 20:54:40 +02:00
Richard Heck
1bcede451a Enable export of spreadsheets with XHTML.
(cherry picked from commit 1840e2dbaf)
2016-07-31 01:36:43 -04:00
Richard Heck
1f36c6aa78 Dummy export for spreadsheets: plaintext and DocBook.
(cherry picked from commit 94dd876699)
2016-07-31 01:36:13 -04:00
Richard Heck
9f852516e8 Export external raster graphics as png for XHTML.
(cherry picked from commit 681e76086a)
2016-07-31 01:36:12 -04:00
Richard Heck
deb6c1de06 Export external vector graphics as svg for XHTML.
(cherry picked from commit b9f7bf7d69)
2016-07-31 01:36:11 -04:00
Richard Heck
151e004ab1 Enable SVG export of XFig figures for XHTML.
(cherry picked from commit a45ffddb23)
2016-07-31 01:36:11 -04:00
Richard Heck
ad8b479c71 Activate export of chess diagrams for XHTML.
(cherry picked from commit 0b8c6bbbf8)
2016-07-31 01:36:10 -04:00
Richard Heck
9a95390791 Enable XHTML export of LilyPond files.
(cherry picked from commit b35661b755)
2016-07-31 01:36:09 -04:00
Richard Heck
5555661bf6 Allow XHTML export of Dia diagrams.
(cherry picked from commit 3f1199d56a)
2016-07-31 01:36:08 -04:00
Kornel Benko
5c796730b2 Replace the translatable latexism 'longtable' with 'multi-page table' in UI. 2015-11-16 10:29:53 +01:00
Georg Baum
0f4c5df9f4 Support Photos in RasterImage template
Actually photos (i.e. .jpg files) where supported previously, but for pdflatex
output an unneeded conversion to png was done. The RasterImage templates
behaves now exactly as InsetGraphics for these files: If the input format is
jpg, use that for pdflatex, else convert to png.
2015-07-20 21:14:45 +02:00
Georg Baum
c500e541a9 Add template for vector graphics
The difference to bitmap graphics is that these will be included as PDF for
pdflatex, so the vector properties are retained if a suitable conversion path
exists.
2015-07-19 13:42:22 +02:00
Scott Kostyshak
1d28d90801 Add an explanatory note for external_templates
Clarify that a user-defined external_templates file would replace
the library version. For more information on this issue, see #3983.
2015-05-30 13:40:28 -04:00
Juergen Spitzmueller
200f1ca37b Re-enable translation of pdfpages help text (works around #9045)
Note that this is not a string change in l7n sense (see discussion in #9045)
2014-03-27 14:25:30 +01:00
Georg Baum
cb5dd33475 Split pdf format as discussed on the list
Previously, the format used for included pdf files was the same as for
document export via ps2pdf. This caused unwanted conversion routes, e.g.
export via odt->pdf instead of dvi->ps->pdf.
I renamed the format for included graphics and not for exported documents,
since otherwise the command line syntax for export would change. This would
require more adaptions for the users, since with the chosen solution the
custom converters are almost always changed correctly in prefs2prefs(),
so that only custom external templates need manual adjustement.
2013-03-21 20:13:02 +01:00
Uwe Stöhr
3e0568817f external_templates: correct program names
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40344 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-03 15:40:33 +00:00
Richard Heck
2fe7dcc5cc Fixes for bug #7870 from Helge. Adds Gnumeric support.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40215 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-18 21:46:24 +00:00
Uwe Stöhr
a52005c777 external_templates: improve the description of PDFPages (bug #7888)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40188 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-13 18:03:12 +00:00
Julien Rioux
d285793c07 Revert guiName to Spreadsheet (was part of r39675).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39703 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-18 23:18:44 +00:00
Julien Rioux
a5f72061d1 Fix the guiName of external insets.
- Remove hack with $$AbsOrRelPath substitution in the guiName.
    Instead, let LyX display the filename automatically in the gui,
    consistent with InsetInclude.

  - Use the guiName in the drop-down menu in the dialog instead of the
    internal lyxName. These guiNames ought to be more descriptive.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39675 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-13 21:50:07 +00:00
Pavel Sanda
a978795215 After more attempts add gnumeric support.
Patch from Helge Hafting.
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg164180.html


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36786 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-09 01:19:13 +00:00
Jürgen Spitzmüller
416cd9eff6 * external_templates:
- set AutomaticProduction to true for PDFpages
	   so that the PDF file is copied to the tmp dir (bug 6345)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32173 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-24 09:21:47 +00:00
Pavel Sanda
b17f13a5e5 Allow Dia diagrams as external insets.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27899 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-16 16:07:07 +00:00
Uwe Stöhr
2801a09aaf external_templates: don't hardcode the chess extension as suggested by Vincent and Jürgen
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26753 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-05 19:25:31 +00:00
Uwe Stöhr
ff832e4eab - external_templates: fix http://bugzilla.lyx.org/show_bug.cgi?id=5320, patch by Vincent
- chessgame.lyx: adapt file to the change

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26733 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-04 23:38:16 +00:00
Jürgen Spitzmüller
bd4cefb714 * external_templates:
- remove formatting and chars from help text that makes translation fail.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26198 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-18 08:09:48 +00:00
Jürgen Spitzmüller
06691cac31 * lib/external_templates:
- reenable preview for pdfpages (bug 5102).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26191 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-16 10:24:45 +00:00
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