Patch for db2latex
Vitaly Ostanin <[email protected]> Mon, 14 Jul 2003 18:17:52 +0400
| Newsgroups | gmane.text.docbook.db2latex.devel |
|---|---|
| Message-ID | <[email protected]> |
--=.(SWTBHI+Pqw2('
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Hello, All!
I make patch
(against db2latex cvs 02 Jul 2003)
from my additions to db2latex-xsl:
1.
Added
xsl/docbook-alt.xsl
xsl/unicode.mapping.dtd
xsl/unicode.mapping.xml
xsl/unicode.mapping.ru.xml
another schema for replacing Unicode entities.
It's import but not changed original docbook.xsl
Entities replaced from default file and from files for specified
languages. Also possible to specify local file for replacements.
See comments in style. If this patch will accepted I can write
documentation for it like in the original stylesheets.
Also this style fixed replacing entities in localization values
and have some other fixes.
I test whis schema with xsltproc:
original styles (bad for Russian symbols and possible for other
non Latin-1 users):
Applying stylesheet 20 times took 29235 ms
Alternative schema:
Applying stylesheet 20 times took 41683 ms
Yes, it slowly but it added optional replacements for all needs.
2.
Added
xsl/common/locale-leave-uniq-keys.xsl
xsl/common/locale-generate-working-files.xsl
xsl/common/Makefile
Styles and Makefile for leaving uniq keys from db2latex
localization to the source files; generating synchronized
localization files. See comments in the styles.
Also added result of this styles:
$lang.xml
locale-source.$lang.xml
Lozalization synchronized with DocBook localization (from
xsl-stylesheets 1.61.3)
Patch available:
http://www.vzljot.ru/vyt/db2latex/db2latex-xsl.vyt.2003-07-14.patch.bz2
CVS log for changes available:
http://www.vzljot.ru/vyt/db2latex/vyt.cvs.db2latex.2003-07-14.log.bz2
PS I can create read only access to our cvs for DB2LaTeX
developers if needed.
PPS I can't grab current db2latex from cvs:
$ cvs -z3 \
-d:pserver:[email protected]:/cvsroot\
/db2latex co db2latex
cvs [checkout aborted]: end of file from server (consult above
messages if any)
--
Regards, Vyt
mailto: [email protected]
JID: [email protected]
--=.(SWTBHI+Pqw2('
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
iD8DBQE/EruQd6sY3eC5PjQRAoXHAKChPlLiwuKVtYNukK0VgefkohKRWQCfYGzn
Ho0c/GgTX6Mql7pbVbVF1bI=
=g+eS
-----END PGP SIGNATURE-----
--=.(SWTBHI+Pqw2('--
-------------------------------------------------------
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate testing & more.
Download & eval WebKing and get a free book.
www.parasoft.com/bulletproofapps1