Georg Baum
425dfd3a24
Fix bug 2289
...
* src/tex2lyx/text.C
(void parse_noweb): new, parse a noweb code chunck
(void parse_text): handle noweb <<xxx>>= and [[xxx]] constructs
* src/tex2lyx/tex2lyx.[Ch]: new global variable noweb_mode and
command line option to set it
* src/tex2lyx/preamble.C
(parse_preamble): prepend "literate-" to the textclass name in
noweb mode
* lib/configure.py
(checkConverterEntries): fix literate -> lyx converter
(checkConverterEntries): fix typo in latex -> sxw converter
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14635 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-13 09:46:28 +00:00
Georg Baum
24319e60b9
Fix bug 2667
...
* src/tex2lyx/tex2lyx.C
(tex2lyx): output an empty paragraph if the document is empty
* src/tex2lyx/context.C
(Context::check_layout): set empty to false
* src/tex2lyx/context.[Ch]
(empty): new flag, tells whether all contexts are empty
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14469 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-16 13:04:59 +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
André Pönitz
1f5c5a06ee
support/textutils.h:
...
support/filetools.h: rename IsDirWriteable IsFileReadable IsLyXFilename
IsSGMLFilename IsLineSeparatorChar IsLetterChar IsPrintable
IsPrintableNonspace IsDigit to lower case initial
lyxvc.C:
LaTeXFeatures.C:
lyx_cb.C:
insets/insetbibtex.C:
insets/insetexternal.C:
insets/insetgraphics.C:
insets/ExternalSupport.C:
insets/insetinclude.C:
BufferView_pimpl.C:
graphics/GraphicsCacheItem.C:
text2.C:
converter.C:
buffer.C:
lyxfunc.C:
frontends/gtk/ghelpers.C:
frontends/controllers/ControlGraphics.C:
frontends/controllers/ControlInclude.C:
frontends/controllers/ControlSpellchecker.C:
support/filetools.C:
support/filetools.h: adjust
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13595 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-08 09:09:57 +00:00
Lars Gullik Bjønnes
3b9338a3a8
Whitespace cleanup.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13565 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-05 23:56:29 +00:00
Georg Baum
db92c134c2
write output to infile.lyx
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10354 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-25 16:27:23 +00:00
Georg Baum
8ce79c6fd3
Allow specification of output filename of tex2lyx
...
fix tex2lyx invocation in configure.m4
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10353 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-25 13:49:38 +00:00
Lars Gullik Bjønnes
ef8e527612
drop reLyX like it is hot, and setup to use tex2lyx instead (and remerged po files + no.po small update)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10244 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-16 15:18:14 +00:00
Georg Baum
b38d210152
better environment handling in tex2lyx
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10185 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-14 15:19:01 +00:00
Georg Baum
166979d030
add diagnostic messages by Jean-Pierre Chr��tien and skip some more {} pairs
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9991 a592a061-630c-0410-9148-cb99ea01b6c8
2005-06-01 14:01:18 +00:00
Georg Baum
38044d2cf7
fix relative file names in tex2lyx
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9975 a592a061-630c-0410-9148-cb99ea01b6c8
2005-05-25 16:01:19 +00:00
Georg Baum
fae970f4c2
set tex2lyx master file path correctly for input files in a subdir
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9962 a592a061-630c-0410-9148-cb99ea01b6c8
2005-05-20 16:50:03 +00:00
Georg Baum
d9dfa9c1e3
fix open files bug on solaris
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9752 a592a061-630c-0410-9148-cb99ea01b6c8
2005-03-27 18:37:42 +00:00
Angus Leeming
23d9c229e3
Enable tex2lyx to run in-place.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9562 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-31 19:57:03 +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
342cdf4322
the convert patch
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9538 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-27 21:05:44 +00:00
Angus Leeming
f717cb6b22
Get rid of extraneous whitespace.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9466 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-12 10:30:46 +00:00
Angus Leeming
b5589bf6cf
The package reworking.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9463 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-10 19:17:43 +00:00
Georg Baum
d7b224d692
fix bug 1750
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9444 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-06 13:22:20 +00:00
Angus Leeming
005322c183
Clean-up interface to os::init.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9372 a592a061-630c-0410-9148-cb99ea01b6c8
2004-12-14 16:20:07 +00:00
Georg Baum
dacd4cea26
make gettting the file format from file contents work in the correct way ;-)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9218 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-09 19:08:34 +00:00
Georg Baum
6fe9e4e30d
rename getExtFromContents() to getFormatFromContents()
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9141 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-29 15:47:55 +00:00
Georg Baum
9ad5ecd2c6
update tex2lyx output file format
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8963 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-29 09:44:40 +00:00
Georg Baum
27b0ba7483
make tex2lyx produce version 235 lyx files
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8854 a592a061-630c-0410-9148-cb99ea01b6c8
2004-07-29 17:03:37 +00:00
Georg Baum
3c102d9778
improve font handling, small const fixes
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8825 a592a061-630c-0410-9148-cb99ea01b6c8
2004-06-28 06:53:12 +00:00
Jean-Marc Lasgouttes
f5d5eebe3c
latest patch from Georg: support a syntax table for unsupported commands
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8104 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-19 10:35:50 +00:00
André Pönitz
e096cc5104
Georg's latest improvements
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8042 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-05 10:14:13 +00:00
André Pönitz
33f19b9ccc
Georg Baum's monster patch
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7963 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-23 11:46:33 +00:00
Angus Leeming
50257b8690
Turn LyX into a singleton class. Kill the BufferView cache.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7922 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-14 21:30:23 +00:00
Lars Gullik Bjønnes
8d098dcb56
New debugstream.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7832 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-26 14:27:20 +00:00
Lars Gullik Bjønnes
fcdb71906b
Change Assert to BOOST_ASSERT.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7722 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-09 17:25:35 +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
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
Angus Leeming
90499e36a9
More 'standard conformant blurb' nonsense.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7573 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-19 10:04:35 +00:00
Jean-Marc Lasgouttes
c544107e32
architectural changes to tex2lyx
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7494 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-04 10:26:10 +00:00
Jean-Marc Lasgouttes
dd750828d5
* text.C (check_layout): \layout -> \begin_layout
...
(parse_text_in_inset): convenience function
* tex2lyx.C (main): \the_end -> \end_document
* preamble.C (end_preamble): update version number to 225
* text.C (parse_text): replace test on "lyxcode" with test on
LyXLayout::freespacing.
(check_end_layout): new function, used to check whether we need to
add an \end_layout
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7434 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-28 23:50:24 +00:00
Jean-Marc Lasgouttes
214a32a77d
output \layout tags lazily
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7428 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-28 21:58:09 +00:00
Jean-Marc Lasgouttes
8ea43a75e2
tex2lyx support for english quotes; revert the layout format change because we are not ready for that yet
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7422 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-28 15:45:41 +00:00
José Matox
131eabe56c
\layout -> \begin_layout and missing \end_layout
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7420 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-28 15:17:11 +00:00
Angus Leeming
8700a256d3
All day for not very much...
...
Well, Ok, tex2lyx now has reasonable values for the build_lyxdir,
system_lyxdir, user_lyxdir variables.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7394 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-27 19:26:36 +00:00
Angus Leeming
926b68c0aa
Remove hard coding of command layouts.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7374 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-27 00:39:35 +00:00
Angus Leeming
812b659d89
Enable tex2lyx to read the LyX textclass and to use this info a little.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7362 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-26 00:15:38 +00:00
André Pönitz
5552f4045f
make tex2lyx lyxstring agnostic
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7222 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-30 11:36:08 +00:00
André Pönitz
0e9bd2e87d
STRCONV() all over the place
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6956 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-13 16:24:49 +00:00
André Pönitz
00e9ff93fb
some common structures in extra file
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6857 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-25 15:54:29 +00:00
André Pönitz
c7a6b81cea
lots of small improvements
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6838 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-23 15:14:43 +00:00
André Pönitz
b580294d0b
re-structure the beast
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6829 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-17 09:47:21 +00:00
André Pönitz
31ccf710a5
make Kayvan's compiler happy
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6827 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-17 06:22:07 +00:00
André Pönitz
4864347591
lots of small stuff
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6826 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-16 17:34:43 +00:00
André Pönitz
18b2115471
improved table handling
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6825 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-16 12:52:49 +00:00