Commit Graph

19 Commits

Author SHA1 Message Date
José Matox
6b50a6a6e8 Further cleanup, remove encoding since we now use utf-8 for all languages
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20208 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-11 09:43:44 +00:00
José Matox
db09f89db4 Make TOC titles unicode
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20207 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-11 09:04:54 +00:00
José Matox
e055ef0a33 Fix bug 3798.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20190 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-10 13:48:01 +00:00
Uwe Stöhr
350dad6f65 doc_toc.py: remove non-ascii character since LyX.py can't encode it at the moment
LyX.py: fix thinko that lead to out of range list

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20173 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-09 17:02:48 +00:00
Uwe Stöhr
42f0d49b95 Thanks to Ignacio, we have a new Spanish UserGuide!
(Will commit this to branch too the next days.)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20168 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-09 13:51:30 +00:00
Michael Schmitt
cf68797031 * lib/doc/doc_toc.py: fix typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19146 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-19 17:53:00 +00:00
Uwe Stöhr
e7fffdc821 doc_toc.py: add comment to explain its calling syntax (fixes bug 3798
http://bugzilla.lyx.org/show_bug.cgi?id=3798)
depend.py: dito, and fix file encoding

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19122 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-18 19:45:11 +00:00
Uwe Stöhr
c48221aea8 doc/doc_toc.py: - fix the input encoding of the TOC.lyx files
- set Python file encoding to utf-8
scripts/ext_copy.py: - set Python file encoding to utf-8

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18943 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-29 19:13:57 +00:00
Georg Baum
f550496cee Fix TOC generation for build dir != src dir
* lib/doc/depend.py
	(documents): Add dir_prefix argument
	(all_documents): Ditto
	(main): Create document list with empty prefix, since the prefix will
	be addded by a Makefile variable
	(main): Don't use isdir to detect english language, since that does
	not work for build dir != src dir

	* lib/doc/doc_toc.py
	(main): Don't use isdir to detect english language, since that does
	not work for build dir != src dir, rather create the dir if it does
	not exists.

	* lib/doc/Makefile.depend: Regenerated


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17469 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-18 10:44:26 +00:00
Bo Peng
673da6c01c SCons: build TOC.lyx during installation
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17468 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-18 06:03:28 +00:00
José Matox
50877aa741 All lyx files are encoded in utf-8 now. :-)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14851 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-29 11:11:12 +00:00
Georg Baum
53e52f2df1 * lib/doc/doc_toc.py: Add language info for Czech
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14642 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-13 13:57:32 +00:00
José Matox
50cebbc5b3 Add language and encoding information
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14599 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-09 22:22:59 +00:00
Bo Peng
2ae2c0db71 Remove hardcoded option -tt from python scripts
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14478 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-17 19:41:32 +00:00
Georg Baum
4ae87a3bb8 Call python with the -tt switch to make mixed tab/space indentation an error
* src/support/os.[Ch]
	(python): new function, return the python command

	* lib/lyx2lyx/lyx_1_5.py
	(revert_font_settings): replace tabs with spaces

The rest is simply s/python/python -tt/ and
s/"python"/lyx::support::os::python()/ where appropriate.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14270 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-30 13:54:01 +00:00
Georg Baum
aba9a83f22 forgotten fixes for bug 2027
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10494 a592a061-630c-0410-9148-cb99ea01b6c8
2005-09-28 14:29:23 +00:00
Georg Baum
58380ba97a generate TOC files on the fly and fix broken documents (bug 2027)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10491 a592a061-630c-0410-9148-cb99ea01b6c8
2005-09-28 13:47:03 +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
José Matox
fa133e49b9 Update TOC building for all the translated languages. (Documentation)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9093 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-17 19:12:33 +00:00