lyx_mirror/development/tools
Georg Baum feb7895965 Add machinery to output arbitrary unicode characters with LaTeX commands
read from a text file.

	* src/encoding.[Ch]

	(Encoding::latexChar): New, output a character to LaTeX
	(Encoding::validate): New, add needed preamble stuff for a character
	(Encodings::read): Read new unicodesymbols file
	(Encodings::isCombiningChar): New, is a character a combining char?

	* src/paragraph_pimpl.C
	(isEncoding): Delete, no longer needed
	(getEncoding): New, get the real encoding of a font
	(Paragraph::Pimpl::latexSurrogatePair): New, output a surrogate pair
	to LaTeX
	(Paragraph::Pimpl::simpleTeXBlanks): Use latexSurrogatePair if needed
	(Paragraph::Pimpl::simpleTeXSpecialChars): Ditto, and replace several
	hardcoded characters with a call of encoding.latexChar()
	(Paragraph::Pimpl::validate): replace several hardcoded characters
	with a call of encoding.validate()

	* src/support/debugstream.h
	(basic_debugstream::disable): New, disable the stream completely
	(basic_debugstream::enable): New, reenable the stream

	* src/lyx_main.[Ch]: Adjust to changes above

	* src/paragraph.C: Ditto

	* lib/unicodesymbols: New file with UCS4 -> LaTeX command mapping.
	It is far from complete yet, but contains most accents on latin
	characters.

	* lib/Makefile.am: add lib/unicodesymbols

	* development/scons/scons_manifest.py: ditto

	* development/tools/unicodesymbols.py: Helper script to update
	lib/unicodesymbols with new symbols


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16920 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-28 21:27:45 +00:00
..
generate_symbols_list.py Whitespace, only whitespace. Part II. 2004-10-28 14:35:53 +00:00
README.bin.example drop reLyX like it is hot, and setup to use tex2lyx instead (and remerged po files + no.po small update) 2005-07-16 15:18:14 +00:00
unicodesymbols.py Add machinery to output arbitrary unicode characters with LaTeX commands 2007-01-28 21:27:45 +00:00
x-font

README file for the binary distribution of LyX 1.1.5
======================================================

Please read the file README for general information on LyX.

To use this binary distribution of LyX, please follow these steps:

1) Unpack the distribution in the directory /usr/local (if you unpack
   it in a different place, please read the note below)

2) Configure LyX for you system by executing
     cd share/lyx ; ./configure

3) Make sure that the directory bin/ is in your path. For example, if
   you unpacked the distribution in /usr/local, your PATH environment
   variable should contain "/usr/local/bin".

That's it. Happy LyXing !


If you did not unpack the distribution in /usr/local
----------------------------------------------------

LyX can perfectly work in this situation, except for one thing: as
distributed, LyX expects to find its internationalization files in the
directory /usr/local/share/locale. If you unpacked the distribution in
directory /foo, you should set the environment variable LYX_LOCALEDIR
to point to /foo/share/locale as follows:
  LYX_LOCALEDIR=/foo/share/locale            (if you use sh or bash as shell)
or
  setenv LYX_LOCALEDIR /foo/share/locale     (for csh or tcsh)

Note that, if if you do not have any interest in having LyX display
its messages in other languages than english, you can safely skip this
step.