André Pönitz
8cea333572
fix building with automake; break scons, cmake and qmake
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19427 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-11 15:48:15 +00:00
André Pönitz
67e61a3956
enable building of shared libraries. reduces final linktime. also combine boost stuff into a single library
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19410 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-10 22:33:54 +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
Abdelrazak Younes
4a53fa6e01
Allow unicode in Layout names.
...
* Layout.h:
- name_, obsoleted_by_, depends_on_ are now docstrings.
All other changes results from the above string -> docstring changes. In particular, we now try to translate the layout names only if possible (i.e. if they are ASCII only).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19042 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-11 13:39:08 +00:00
Jean-Marc Lasgouttes
af9464dfe8
the -lz for zlib is already in LIBS
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18985 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-04 21:54:28 +00:00
Jean-Marc Lasgouttes
a6f32927ea
Fix bug 3750: this code is a kludge and should be removed when tex2lyx is
...
updated to support format >= 257 (with InsetCaption).
* src/Layout.cpp (forCaption): new method. Returns a pointer to a newly
allocated Layout suitable for representing a caption.
* src/tex2lyx/tex2lyx.cpp (tex2lyx): allocate a captionlayout object
* src/tex2lyx/text.cpp: use the captionlayout object to recognize the
\caption command.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18962 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-02 16:02:41 +00:00
Jürgen Spitzmüller
d226c1de12
* src/tex2lyx/tex2lyx.cpp:
...
- use internal_path (bug 3788), patch by Hangzai Luo and me).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18953 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-01 15:16:08 +00:00
Georg Baum
05f882271d
* src/tex2lyx/text.cpp
...
(parse_box): Fix default height value (from Micha Feigin)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18675 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-05 07:01:47 +00:00
Lars Gullik Bjønnes
897436efbb
Whitespace cleanup
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18550 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-28 22:27:45 +00:00
Stefan Schimanski
e23f96ef2e
* Import newcommand/providecommand/renewcommand/def macros as MathMacros
...
if they are compatible (i.e. no optional arguments, no patterns)
* Recursive macros are also imported, but they only work correctly in the
limits of the current macro implementation in LyX
* Fixes http://bugzilla.lyx.org/show_bug.cgi?id=21
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18483 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-24 06:52:08 +00:00
Stefan Schimanski
78378912a3
* fix http://bugzilla.lyx.org/show_bug.cgi?id=3668 :
...
\input{foo} means to input foo.tex, so add the .tex extension.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18470 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-23 07:27:13 +00:00
Jean-Marc Lasgouttes
aeeac15128
Patch from "hzluo" <memcache@gmail.com>:
...
Remove all explicit 8bit characters from the source, to fix compilation
with windows xp under a chinese locale (bug 3496).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18256 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-10 10:35:57 +00:00
André Pönitz
757d5d67ac
resolve the layout.h <=> Layout.h conflict
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18099 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-29 22:04:32 +00:00
André Pönitz
6add1994c7
rename LyXTextClass* into TextClass*
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18097 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-29 19:53:54 +00:00
André Pönitz
0bf9ac02a8
rename LyXLayout into Layout
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18096 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-29 18:58:28 +00:00
André Pönitz
fc6ce7cd08
rename LyXFont to Font except in tex2lyx
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18095 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-29 18:17:15 +00:00
André Pönitz
8c622e4ff0
rename/merge LyXLength related stuff
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18067 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-28 12:58:49 +00:00
André Pönitz
39e79d8602
rename LyXLex into Lexer
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18033 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-26 11:30:54 +00:00
Bo Peng
138b23fac8
Rename files in src/support, step one.
...
src/support/package.h src/support/Package.h Package
src/support/package.C.in src/support/Package.C.in Package
src/support/path.h src/support/Path.h Path
src/support/fs_extras.h src/support/fs_extras.h NOCLASSES
src/support/RandomAccessList.h src/support/RandomAccessList.h RandomAccessList
src/support/lyxmanip.h src/support/lyxmanip.h NOCLASSES
src/support/rename.C src/support/rename.cpp NOCLASSES
src/support/abort.C src/support/abort.cpp NOCLASSES
src/support/lyxlib.h src/support/lyxlib.h NOCLASSES
src/support/ExceptionMessage.h src/support/ExceptionMessage.h ExceptionMessage
src/support/copy.C src/support/copy.cpp NOCLASSES
src/support/limited_stack.h src/support/limited_stack.h limited_stack
src/support/filefilterlist.C src/support/FileFilterList.cpp ['FileFilterList', 'Filter']
src/support/cow_ptr.h src/support/cow_ptr.h cow_ptr
src/support/os_unix.C src/support/os_unix.cpp NOCLASSES
src/support/socktools.h src/support/socktools.h NOCLASSES
src/support/forkedcontr.h src/support/ForkedcallsController.h ForkedcallsController
src/support/os.h src/support/os.h NOCLASSES
src/support/FileMonitor.h src/support/FileMonitor.h FileMonitor
src/support/copied_ptr.h src/support/copied_ptr.h copied_ptr
src/support/translator.h src/support/Translator.h Translator
src/support/filetools.C src/support/filetools.cpp NOCLASSES
src/support/unlink.C src/support/unlink.cpp NOCLASSES
src/support/os_win32.C src/support/os_win32.cpp GetFolderPath
src/support/lstrings.C src/support/lstrings.cpp NOCLASSES
src/support/qstring_helpers.C src/support/qstring_helpers.cpp NOCLASSES
src/support/getcwd.C src/support/getcwd.cpp NOCLASSES
src/support/systemcall.C src/support/Systemcall.cpp Systemcall
src/support/lyxalgo.h src/support/lyxalgo.h NOCLASSES
src/support/filefilterlist.h src/support/FileFilterList.h ['FileFilterList', 'Filter']
src/support/unicode.C src/support/unicode.cpp IconvProcessor
src/support/userinfo.C src/support/userinfo.cpp NOCLASSES
src/support/lyxtime.C src/support/lyxtime.cpp NOCLASSES
src/support/kill.C src/support/kill.cpp NOCLASSES
src/support/docstring.C src/support/docstring.cpp to_local8bit_failure
src/support/os_cygwin.C src/support/os_cygwin.cpp NOCLASSES
src/support/lyxsum.C src/support/lyxsum.cpp NOCLASSES
src/support/environment.C src/support/environment.cpp NOCLASSES
src/support/filetools.h src/support/filetools.h NOCLASSES
src/support/textutils.C src/support/textutils.cpp NOCLASSES
src/support/mkdir.C src/support/mkdir.cpp NOCLASSES
src/support/forkedcall.C src/support/Forkedcall.cpp ['ForkedProcess', 'Forkedcall']
src/support/tempname.C src/support/tempname.cpp NOCLASSES
src/support/os_win32.h src/support/os_win32.h GetFolderPath
src/support/types.h src/support/types.h NOCLASSES
src/support/lstrings.h src/support/lstrings.h NOCLASSES
src/support/forkedcallqueue.C src/support/ForkedCallQueue.cpp ForkedCallQueue
src/support/qstring_helpers.h src/support/qstring_helpers.h NOCLASSES
src/support/convert.C src/support/convert.cpp NOCLASSES
src/support/filename.C src/support/FileName.cpp ['FileName', 'DocFileName']
src/support/tests/convert.C src/support/tests/convert.cpp NOCLASSES
src/support/tests/filetools.C src/support/tests/filetools.cpp NOCLASSES
src/support/tests/lstrings.C src/support/tests/lstrings.cpp NOCLASSES
src/support/tests/boost.C src/support/tests/boost.cpp NOCLASSES
src/support/docstream.C src/support/docstream.cpp ['iconv_codecvt_facet_exception', 'idocfstream', 'odocfstream']
src/support/std_istream.h src/support/std_istream.h NOCLASSES
src/support/systemcall.h src/support/Systemcall.h Systemcall
src/support/chdir.C src/support/chdir.cpp NOCLASSES
src/support/std_ostream.h src/support/std_ostream.h NOCLASSES
src/support/unicode.h src/support/unicode.h IconvProcessor
src/support/path.C src/support/Path.cpp Path
src/support/fs_extras.C src/support/fs_extras.cpp NOCLASSES
src/support/userinfo.h src/support/userinfo.h NOCLASSES
src/support/lyxtime.h src/support/lyxtime.h NOCLASSES
src/support/docstring.h src/support/docstring.h to_local8bit_failure
src/support/debugstream.h src/support/debugstream.h basic_debugstream
src/support/environment.h src/support/environment.h NOCLASSES
src/support/textutils.h src/support/textutils.h NOCLASSES
src/support/forkedcall.h src/support/Forkedcall.h ['ForkedProcess', 'Forkedcall']
src/support/socktools.C src/support/socktools.cpp NOCLASSES
src/support/forkedcallqueue.h src/support/ForkedCallQueue.h ForkedCallQueue
src/support/forkedcontr.C src/support/ForkedcallsController.cpp ForkedcallsController
src/support/os.C src/support/os.cpp NOCLASSES
src/support/convert.h src/support/convert.h NOCLASSES
src/support/filename.h src/support/FileName.h ['FileName', 'DocFileName']
src/support/docstream.h src/support/docstream.h ['iconv_codecvt_facet_exception', 'idocfstream', 'odocfstream']
src/support/FileMonitor.C src/support/FileMonitor.cpp FileMonitor
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18024 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-26 05:12:52 +00:00
Bo Peng
04591a6e34
Rename .C ==> .cpp for files in src/tex2lyx, part two
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18023 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-26 04:53:30 +00:00
Bo Peng
8cc88bf1ec
Rename files under src/tex2lyx
...
src/tex2lyx/lyxfont.C src/tex2lyx/LyXFont.cpp LyXFont
src/tex2lyx/lyxfont.h src/tex2lyx/LyXFont.h LyXFont
src/tex2lyx/texparser.C src/tex2lyx/Parser.cpp ['Token', 'Parser']
src/tex2lyx/tex2lyx.C src/tex2lyx/tex2lyx.cpp NOCLASSES
src/tex2lyx/texparser.h src/tex2lyx/Parser.h ['Token', 'Parser']
src/tex2lyx/text.C src/tex2lyx/text.cpp NOCLASSES
src/tex2lyx/tex2lyx.h src/tex2lyx/tex2lyx.h NOCLASSES
src/tex2lyx/context.C src/tex2lyx/Context.cpp ['Font', 'Context']
src/tex2lyx/gettext.C src/tex2lyx/gettext.cpp NOCLASSES
src/tex2lyx/boost.C src/tex2lyx/boost.cpp NOCLASSES
src/tex2lyx/table.C src/tex2lyx/table.cpp NOCLASSES
src/tex2lyx/preamble.C src/tex2lyx/preamble.cpp NOCLASSES
src/tex2lyx/math.C src/tex2lyx/math.cpp NOCLASSES
src/tex2lyx/context.h src/tex2lyx/Context.h ['Font', 'Context']
src/tex2lyx/Spacing.h src/tex2lyx/Spacing.h Spacing
src/tex2lyx/lengthcommon.C src/tex2lyx/lengthcommon.cpp NOCLASSES
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18022 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-26 04:53:06 +00:00
Bo Peng
00e305c9d9
Rename .C ==> .cpp for files in src, part one
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18018 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-26 04:41:58 +00:00
Bo Peng
98ebb77841
Rename .C => .cpp for files in src/frontends/controllers, step 1
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17999 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-25 18:04:04 +00:00
André Pönitz
4b7da6b24e
move lyxlex_pimpl.* into lyxlex.C
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17941 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-24 10:52:22 +00:00
Georg Baum
3213757e9a
remove unused stuff
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17697 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-02 12:42:02 +00:00
Georg Baum
0f83c2563b
Convert makeRelPath to docstring (from Michael Gerz)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17586 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-27 07:24:16 +00:00
Georg Baum
d1f8c007f0
Get rid of some locale dependant functions
...
* src/output_plaintext.C
(writePlaintextParagraph): Use compare_ascii_no_case instead of
compare_no_case, since the strings to compare are pure ASCII anyway.
* src/frontends/qt4/QPrefsDialog.C
(setComboxFont): ditto
* src/MenuBackend.C
(Menu::checkShortcuts): ditto
* src/frontends/qt4/QLImage.C
(QLImage::loadableFormats): Use ascii_lowercase instead of lowercase
since the input is pure ASCII anyway.
* src/tex2lyx/text.C
(splitLatexLength): ditto
* src/support/lstrings.[Ch]
(compare_no_case): Get rid of both std::string variants
(lowercase): Get rid of std::string variant
(uppercase): Change std::string variant to docstring
* src/support/tests/regfiles/lstrings: Add new expected output
* src/support/tests/lstrings.C: Add tests for docstring functions
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17371 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-26 18:54:03 +00:00
Abdelrazak Younes
85f66bcd90
Fix support lib dependency problem.
...
* docstring.C: Implement utf8ToUcs4() locally.
* all other files: remove utf8ToUcs4().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17361 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-26 12:46:44 +00:00
Georg Baum
4b449892e1
Fix import of \={\i}
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17203 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-15 20:49:29 +00:00
Enrico Forestieri
cc5b44cb1c
Fix compiler warning about multi-character constant
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16845 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-25 02:06:06 +00:00
Abdelrazak Younes
801f807063
Display error/warning dialogs if possible.
...
* ExceptionMessage: new exception based message for errors and warnings.
* package.C.in:
- replace lyxerr based errors and warning with ExceptionMessage throwing.
- bail_out(): erased!
* os_win32.C:
- replace lyxerr based errors and warning with ExceptionMessage throwing.
- bail_out(): erased!
* tex2lyx.C: catch any exception from Package class.
* lyx_main.C: catch any exception from Package class and act accordingly.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16834 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-24 15:49:20 +00:00
Enrico Forestieri
fc3a2761de
Log:
...
Move OS dependent code where it belongs.
* src/lyx_cb.C:
Remove unused include
* src/support/os.h
* src/support/os_unix.C
* src/support/os_win32.C
* src/support/os_cygwin.C:
Move here the code from fontutils.[Ch]
* src/support/os_cygwin.C
(external_path, external_path_list): don't differentiate anymore
on Qt/X11 or Qt/Win builds.
* src/support/environment.C
(setEnvPath): get rid of the #ifdef for cygwin.
* src/lyx_main.C
(LyX::exec): addFontResources and restoreFontResources are now
in the os namespace.
* src/support/Makefile.am
* src/client/Makefile.am
* src/tex2lyx/Makefile.am
* development/scons/scons_manifest.py:
Updated
* src/support/fontutils.[Ch]:
Removed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16655 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-11 21:22:18 +00:00
Georg Baum
d96c36e555
Fix bug 3052: Always start a new paragraph after a noweb code chunk
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16467 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-02 12:35:53 +00:00
Georg Baum
58b92422ac
merge identical code from if/else branches to a single line
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16466 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-02 12:27:26 +00:00
Georg Baum
979fdf7456
Fix strange bibtex problem by converting some more functions to use FileName
...
instead of std::string
* src/support/lyxlib.h
* src/support/getcwd.C
(getcwd): return a FileName, not a std::string in filesystem encoding
* src/support/filetools.[Ch]
(makeAbsPath): return a FileName, not a std::string in undefined encoding
* src/support/lyxlib.h
* src/support/tempName.C
(makeAbsPath): return a FileName, not a std::string in undefined encoding
* many other files: Adjust to the changes above
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16399 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-27 10:56:11 +00:00
Georg Baum
51839e89a7
Unify InsetLatexAccent output
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16254 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-12 18:55:55 +00:00
Georg Baum
995d1337bb
do not create invalid .lyx files when importing \i{}, \j{}, \l{} or \L{}.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16253 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-12 14:36:52 +00:00
Georg Baum
02fe5e67b8
Translate \l{} and \L{} to InsetLatexAccent
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16252 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-12 13:56:32 +00:00
Georg Baum
9295b6e6c8
* src/tex2lyx/text.C
...
(known_quotes): Fix typo (found by Charles de Miramon)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16196 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-07 11:25:42 +00:00
Georg Baum
95579c2a71
more unicode filenames (+ fix one possible initialization order bug in
...
needsUpdate() in src/lyx_main.C).
toFilesystemEncoding() is now used in all places where it is needed if I did
not forget anything.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16184 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-05 12:57:01 +00:00
Georg Baum
9eab5fa88a
more unicode filenames
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16173 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-04 15:46:57 +00:00
Georg Baum
cdfed1ce7d
remove unused stuff
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16109 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-29 21:34:24 +00:00
Georg Baum
8e6e970d7b
Next step of true unicode filenames: Use support::FileName instead of
...
std::string at many places (not all yet).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16069 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-26 21:30:39 +00:00
Bo Peng
7b031e5d86
Add inset clearpage and cleardoublepage, from Urgas
...
* src/insets/insetert.C
* src/text3.C
* src/lfuns.h
* src/factory.C
* src/tex2lyx/text.C
* src/text.C
* src/LyXAction.C: add and handle LFUN_CLEARPAGE_INSET and LFUN_CLEARDOUBLEPAGE_INSET
* src/insets/insetpagebreak.h/C: extend InsetPageBreak
* lib/lyx2lyx/lyx_1_5.py: file format change
* lib/ui/stdmenus.ui: add menu items
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16037 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-25 15:09:01 +00:00
Abdelrazak Younes
35204f8f33
hopefully fix tex2lyx linking.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15972 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-18 21:08:16 +00:00
Georg Baum
8cc9180ba8
Resolve link problems of tex2lyx and client by removing the extra gettext.h
...
headers and converting the gettext stuff in tex2lyx and client to use
docstring.
The interface must be defined by src/gettext.h anyway, so better use that.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15740 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-04 18:12:57 +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
Georg Baum
7affaf47e9
* src/factory.C
...
(readInset): Add comment about citation commands
* src/tex2lyx/text.C
(known_jurabib_commands): remove fullcite since LyX does not know it.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15335 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-15 08:32:37 +00:00
Georg Baum
d6a42972ea
Fix bug 2786: import of spaces
...
* src/tex2lyx/text.C
(known_spaces): new, LaTeX names of known spaces
(known_coded_spaces): new, LyX names of known spaces
(parse_text): Recognize all known spaces
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14832 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-24 16:34:47 +00:00
Jean-Marc Lasgouttes
c46e1bdc9a
Make sure to link lyx and tex2lyx against libiconv.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14814 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-22 15:43:48 +00:00
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
Michael Schmitt
ee452c0f38
* src/tex2lyx/test.ltx:
...
* lib/layouts/revtex4.layout: refer to tex2lyx rather than
reLyX in comments
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14627 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-12 20:05:28 +00:00
Georg Baum
6a4f2b40db
Partial fix for bug 2420
...
* src/tex2lyx/preamble.C
(parse_preamble): ignore the definition of the lyxgreyedout
environment
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14495 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-22 20:20:51 +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
5e3b997b85
Remove the now superseeded SConscript files, and some small missing parts to SConstruct
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13825 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-10 18:05:12 +00:00
Bo Peng
42155ade37
Fix scons/cygwin, add command line CC options, from Bo Peng (ben.bob@gmail.com)
...
* Modified files: SConstruct, src/SConscript, src/tex2lyx/SConscript, boost/libs/SConscript:
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13820 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-09 20:04:27 +00:00
Bo Peng
97e53edb81
Make scons work on mingw/windows, from Bo Peng (ben.bob@gmail.com)
...
* SConstruct: force the use of g++ under windows, and use the right libraries
* config/qt4.py: check QtGui4 etc as well.
* src/SConscript: link to the right libraries
* src/tex2lyx/SConscript: use the right libraries
* src/frontends/qt3/SConscript: manually moc .h files under windows
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13814 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-09 13:01:45 +00:00
Bo Peng
7168ce58b5
scons-based build system, by Bo Peng (ben.bob@gmail.com)
...
* SConstruct: main SConstruct file
* scons_utils.py: utility functions
* qt4.py: qt4 support is not yet official, and I have to patch this file
* src/SConscript
* src/insets/SConscript
* src/graphics/SConscript
* src/mathed/SConscript
* src/frontends/qt3/SConscript
* src/frontends/qt4/SConscript
* src/frontends/SConscript
* src/frontends/controllers/SConscript
* src/support/SConscript
* src/client/SConscript
* src/tex2lyx/SConscript
* boost/libs/SConscript
* boost/libs/signals/src/SConscript
* boost/libs/filesystem/src/SConscript
* boost/libs/iostreams/src/SConscript
* boost/libs/regex/src/SConscript
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13807 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-07 22:44:54 +00:00
Bo Peng
a19e4ae888
Remove USE_COMPRESSION and force the use of zlib, by Bo Peng (ben.bob@gmail.com)
...
* src/lyxlex_pimpl.[hC], src/buffer.C, src/tex2lyx/Makefile.am: remove USE_COMPRESSION
* configure.ac: check for zlib.h and libz.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13765 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-27 18:14:36 +00:00
Georg Baum
0fb4dc2060
Fix bug 2546:
...
* src/tex2lyx/text.C
(parse_arguments): Eat space in front of required arguments
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13753 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-27 06:56:04 +00:00
Bo Peng
5cf8376ef7
Replace gzstream by boost::iostreams::gzip_(de)compressor: by Bo Peng (ben.bob@gmail.com)
...
* src/buffer.C, use filtering_ostream
* src/lyxlex_pimpl.h, .C, use filtering_istreambuf
* src/Makefile.am, src/support/Makefile.am, src/tex2lyx/Makefile.am, use BOOST_IOSTREAMS
* remove src/support/gzstream.h, .C
* add needed boost files boost/boost/iostreams/device/file_descriptor.hpp,
device/mapped_file.hpp, detail/system_failure.hpp,
detail/config/windows_posix.hpp
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13706 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-21 06:42:17 +00:00
Lars Gullik Bjønnes
cf4293824f
* Change several freestanding and class methods with first letter
...
capitalized to have first letter lowercased.
* Adjust all affected files.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13605 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-09 00:26:19 +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
23a95c2293
* text.C, tex2lyx.h (translate_len): make public
...
* table.C (handle_tabular): translate widths to LyX (bug 2290)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13403 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-16 15:37:35 +00:00
Georg Baum
fad5cd6700
fix bug 2234
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13399 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-16 15:05:47 +00:00
Georg Baum
8aa04369e3
fix bug 2236
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13324 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-10 14:57:39 +00:00
Lars Gullik Bjønnes
4a7ab830bc
Delete all .cvsignore files from trunk
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13208 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-10 22:09:45 +00:00
Jean-Marc Lasgouttes
01439a5334
fix compilation with automake 1.5
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10558 a592a061-630c-0410-9148-cb99ea01b6c8
2005-10-18 09:15:19 +00:00
Jürgen Spitzmüller
0ce45c32b6
fix bug 2090 (remove param \quotes_times). File format is up to 245 now.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10549 a592a061-630c-0410-9148-cb99ea01b6c8
2005-10-13 10:59:39 +00:00
Georg Baum
2970d3734f
fix bug 1979
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10404 a592a061-630c-0410-9148-cb99ea01b6c8
2005-08-22 09:51:44 +00:00
Jean-Marc Lasgouttes
c7ae6a7bc8
fix importing of grave accents
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10381 a592a061-630c-0410-9148-cb99ea01b6c8
2005-08-01 20:36:52 +00:00
Georg Baum
233c69505a
partial fix for bug 20
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10356 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-26 11:58:43 +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
2c3f9b1482
add tex2lyx.man to extra dist
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10331 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-18 16:23:53 +00:00
José Matox
ab1efe344b
updated format to 243, fix bug 1382, bug 22
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10324 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-18 13:07:16 +00:00
Angus Leeming
7704aa9055
Help Lars spell his name.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10311 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-18 08:04:50 +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
2080e33e23
fix bug 1910
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10211 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-15 15:42:44 +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
f8e7b01983
small font tweaks
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10175 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-13 11:38:55 +00:00
Lars Gullik Bjønnes
a78c91bdbb
make sure to dist pch.h and mark PCH_FILE as a built file
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10173 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-12 23:42:23 +00:00
Angus Leeming
70572847e2
Whitespace, only whitespace. s/ +$//
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10024 a592a061-630c-0410-9148-cb99ea01b6c8
2005-06-09 09:58:08 +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
Lars Gullik Bjønnes
e5ae321dab
the AM_* flags patch
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9963 a592a061-630c-0410-9148-cb99ea01b6c8
2005-05-20 16:56:28 +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
621ea9c5c7
fix tex2lyx comment handling
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9950 a592a061-630c-0410-9148-cb99ea01b6c8
2005-05-18 07:21:00 +00:00
Georg Baum
b9cbf3424f
fix \input, \include and \verbatiminput in tex2lyx
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9817 a592a061-630c-0410-9148-cb99ea01b6c8
2005-04-15 14:04:13 +00:00
Georg Baum
5307494394
Really fix start_of_appendix output
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9768 a592a061-630c-0410-9148-cb99ea01b6c8
2005-03-31 16:37:10 +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
Georg Baum
33f008d7a1
Fix start_of_appendix output
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9734 a592a061-630c-0410-9148-cb99ea01b6c8
2005-03-21 17:26:34 +00:00
Georg Baum
0153a52b57
Don't crash on nested tables anymore
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9716 a592a061-630c-0410-9148-cb99ea01b6c8
2005-03-14 17:34:57 +00:00
Georg Baum
2db5077754
fix tex2lyx table column specification parsing
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9708 a592a061-630c-0410-9148-cb99ea01b6c8
2005-03-10 17:58:39 +00:00
Georg Baum
847afab142
translate \thanks in title layouts
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9699 a592a061-630c-0410-9148-cb99ea01b6c8
2005-03-07 12:30:44 +00:00
Angus Leeming
1f735c7380
Declare stuff with a constructor as "class Foo" rather than "struct Foo".
...
Nonsense to keep MSVC happy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9684 a592a061-630c-0410-9148-cb99ea01b6c8
2005-02-25 22:13:13 +00:00
Georg Baum
6383254672
update fileformat and fix output of paperfontsize
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9593 a592a061-630c-0410-9148-cb99ea01b6c8
2005-02-06 09:32:52 +00:00
Angus Leeming
ac9feeaed5
Make -lz conditional on USE_COMPRESSION.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9583 a592a061-630c-0410-9148-cb99ea01b6c8
2005-02-03 15:38:04 +00:00