Commit Graph

54 Commits

Author SHA1 Message Date
Richard Heck
e8bb66b8f4 Miniscule cleanup in Converters.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37263 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-19 16:58:07 +00:00
Jürgen Spitzmüller
2be72ce058 * configure.py:
* Conerter.{cpp,h}:
	- use a backend=flavor flag format for latex instead of hardcoding format names

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36623 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-30 09:49:28 +00:00
Richard Heck
b8b971cdd5 Fix bug #7045.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36518 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-26 17:11:02 +00:00
Jürgen Spitzmüller
2868ff7a52 add basic LuaTeX backend.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36448 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-23 16:07:42 +00:00
Jean-Marc Lasgouttes
9ebd4405cf Make sweave process files with the correct encoding (#6625).
The required the introduction of the new converter token $$e, that holds
the iconv name of the latex file encoding.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35772 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-22 07:51:39 +00:00
Pavel Sanda
72a6c77a51 support:
frontends:
onlyFilename -> onlyFileName

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34240 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-21 01:19:28 +00:00
Pavel Sanda
62ca7f3ae5 Proper camel case for FileName.absFilename
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34234 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-21 01:19:09 +00:00
Abdelrazak Younes
bea0925f8c Converter: add a safe guard to Alerts because those cannot be called from another thread. The whole Alert system must be rethought I am afraid.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32585 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-18 22:59:59 +00:00
Richard Heck
ea806d510c Remove redundant code.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31953 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-12 00:26:49 +00:00
Richard Heck
0fb63fb10e Just some style, and some comments, as I try to figure this out.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31910 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-09 00:55:37 +00:00
Richard Heck
92a69bb790 Basic output routines for HTML.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29950 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-05 17:44:35 +00:00
Jürgen Spitzmüller
7ba2bfb81d * Per-document setting for bibtex and makeindex.
File format change.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29774 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-22 07:20:00 +00:00
Jürgen Spitzmüller
e032cd934d * add all available formats to view/update others popup icon (bug 5380)
patch contributed by Georg.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29490 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-02 08:43:22 +00:00
Jean-Marc Lasgouttes
adab0618e7 fix crash when importing LaTeX file
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29364 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-21 09:01:33 +00:00
Jürgen Spitzmüller
c52bd08442 Introduce splitindex support. File format change.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29255 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-16 07:29:01 +00:00
Jürgen Spitzmüller
a86337e83f * Converter.cpp: tell the converters that we are using pLaTeX.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29254 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-16 07:20:16 +00:00
Jürgen Spitzmüller
737e9b2c20 start XeTeX support.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29119 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-06 06:58:30 +00:00
Pavel Sanda
2c9c081e09 Enhance variables for Convertes - add input and original paths.
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg147425.html


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28263 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-21 20:08:07 +00:00
Peter Kümmel
f50a1f68ea Could not convert file: don't warn me to death
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27869 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-13 15:11:34 +00:00
Richard Heck
1b7b9e4980 Refresh before checking for equality. Solves problem noted by Bennett.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25989 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-29 18:16:05 +00:00
Abdelrazak Younes
4af74f89d8 Converters::convert(): following r25960 don't use FileName::operator==() as this didn't work in this case. Don't ask me why.
Bug reported by Bennett.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25981 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-29 14:30:04 +00:00
Bo Peng
a095d0d785 Remove remaining embedding bits and minizip
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24487 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-24 14:33:16 +00:00
Richard Heck
8a69ffd3bf Complete the removal of the embedding stuff. Maybe. It's hard to be sure we got everything, but this does compile, and it seems to work at least reasonably well. Any problems should of course be reported to the list.
For the record, this developer is sorry that the problems with this code were not noticed much earlier. It's not fun to do so much work and then have it all reverted.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24373 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-20 03:08:11 +00:00
Jürgen Spitzmüller
f62fbd05d2 * src/BufferParams.{cpp,h}:
- (paperSizeName): add missing paper sizes. Add an argument to the function
	  that returns context-sensitive information (depending on the purpose)
	- (paperSizeName): Do not hardcode "letter" for default paper size (bug 2098).
	- (dvips_options): pass purpose DVIPS to paperSizeName
* src/Converter.cpp:
	- (dvipdfm_options): pass purpose DVIPDFM to paperSizeName.
* src/Format.cpp:
	- (view): pass purpose XDVI to paperSizeName (fix bug 4432).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22664 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-25 12:54:25 +00:00
Abdelrazak Younes
e7bb71ff4e header cleanup.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22178 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-16 22:09:28 +00:00
Abdelrazak Younes
7c392af6ea getting rid of superfluous lyx::support:: statements.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22106 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-12 19:57:42 +00:00
Abdelrazak Younes
9abb7db468 getting rid of superfluous std:: statements.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22104 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-12 19:28:07 +00:00
Abdelrazak Younes
b89cc942eb 'using namespace lyx::support' instead of 'using support::xxx'
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22103 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-12 18:57:56 +00:00
Abdelrazak Younes
9383f4c3c6 'using namespace std' instead of 'using std::xxx'
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22097 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-12 10:16:00 +00:00
Abdelrazak Younes
9a7ad1efed Revert part of 21965 which was debugging code.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21966 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-05 10:45:19 +00:00
Abdelrazak Younes
e017570aa8 Introducing FileNameList, cleanup some headers and put back dirList() into FileName.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21965 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-05 10:32:49 +00:00
Peter Kümmel
2507fd4345 reduce <vector> include from 73 to 3
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21909 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-02 10:43:11 +00:00
Peter Kümmel
aef7e129e7 move funtion with std::vector to filetools
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21903 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-02 09:19:43 +00:00
Peter Kümmel
4ff95a154d fix memory leak, cleanup FileName interface
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21896 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-01 10:23:16 +00:00
André Pönitz
5c4a20fe04 I'll find a solution for the 'dirList problem', Abdel.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21884 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-30 20:57:53 +00:00
André Pönitz
9d0ea8aeff Move debug.{cpp,h}, Messages.{cpp,h} and gettext.{cpp,h} to support/.
Now support/* should have no dependencies on src/* anymore.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21851 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-29 07:04:28 +00:00
Abdelrazak Younes
3df451b6d0 Introducing FileName::dirList() to replace the one in filetools.cpp
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21816 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-27 09:43:30 +00:00
André Pönitz
d95451ae5c s/isFileReadable/isReadableFile;
introduce isReadableDirectory
replace isReadable by either isReadableFile or isReadableDirectory
remove isReadable


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21769 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-25 11:18:16 +00:00
André Pönitz
e1ce2f92db reduce line noise
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21631 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-15 20:04:51 +00:00
André Pönitz
f625dd7ea0 cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21593 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-13 23:50:28 +00:00
André Pönitz
8d06b3049b cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21544 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-10 13:44:50 +00:00
André Pönitz
93bd28f040 dissolve Importer 'class' to LyXFunc/Converter
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21195 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-25 06:09:38 +00:00
André Pönitz
f934b86850 cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21097 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-21 10:50:56 +00:00
André Pönitz
f762cbf3c6 mainly cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21079 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-20 10:03:45 +00:00
André Pönitz
a02653e4dd isome more FileName shuffling
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21048 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-18 23:03:51 +00:00
Lars Gullik Bjønnes
26f336769a Remove warnings reported with gcc 4.3:
- Modifier on return type ignored
	- Ambigous else
	- Ambigous logical operators
	- Semi-colon instead of empty block
	- Missing header files
	- Missing using std::XX
	- Initialization out of order


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20304 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-16 10:36:57 +00:00
Abdelrazak Younes
ada0bd00f0 more std declaration fixes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19103 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-17 17:40:44 +00:00
Jürgen Spitzmüller
ea244f4b0d * src/Converter.cpp:
- check if buffer exists before querying for buffer->temppath() 
	   (and use package().tempdir() as a fallback) [fixes bug 4011]

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19062 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-12 16:30:07 +00:00
Richard Heck
3d362bf35c Remove now unused originaldir flag from Converter.{cpp,h}.
Update documentation to reflect removal.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18824 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-19 14:29:57 +00:00
Abdelrazak Younes
b025e9a249 Saves some compile time by diminishing Buffer.h header dependencies:
- delete unneeded InsetList.h
- transfer the errorList to the private implementation.




git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18782 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-15 13:13:49 +00:00