[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gzz-commits] gzz/metacode latex2e.py umldoc.py
From: |
Benja Fallenstein |
Subject: |
[Gzz-commits] gzz/metacode latex2e.py umldoc.py |
Date: |
Mon, 10 Feb 2003 00:36:16 -0500 |
CVSROOT: /cvsroot/gzz
Module name: gzz
Changes by: Benja Fallenstein <address@hidden> 03/02/10 00:36:16
Modified files:
metacode : latex2e.py umldoc.py
Log message:
don't use color
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/gzz/metacode/latex2e.py.diff?tr1=1.9&tr2=1.10&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/gzz/metacode/umldoc.py.diff?tr1=1.26&tr2=1.27&r1=text&r2=text
Patches:
Index: gzz/metacode/latex2e.py
diff -u gzz/metacode/latex2e.py:1.9 gzz/metacode/latex2e.py:1.10
--- gzz/metacode/latex2e.py:1.9 Sun Feb 9 23:04:02 2003
+++ gzz/metacode/latex2e.py Mon Feb 10 00:36:15 2003
@@ -3,8 +3,8 @@
"""
:Author: Engelbert Gruber (hacked by the Gzz project)
:Contact: address@hidden
-:Revision: $Revision: 1.9 $
-:Date: $Date: 2003/02/10 04:04:02 $
+:Revision: $Revision: 1.10 $
+:Date: $Date: 2003/02/10 05:36:15 $
:Copyright: This module has been placed in the public domain.
LaTeX2e document tree Writer.
@@ -197,7 +197,7 @@
latex_head = '\\documentclass[%s]{%s}\n'
encoding = '\\usepackage[latin1]{inputenc}\n'
- linking = '\\usepackage[colorlinks,linkcolor=blue]{hyperref}\n'
+ linking = '\\usepackage{hyperref}\n'
geometry = '\\usepackage[%s,margin=%s,nohead]{geometry}\n'
stylesheet = '\\input{%s}\n'
# add a generated on day , machine by user using docutils version.
@@ -245,7 +245,6 @@
'\\setlength{\\extrarowheight}{2pt}\n',
'\\usepackage{amsmath}\n', # what fore amsmath.
'\\usepackage{graphicx}\n',
- '\\usepackage{color}\n',
'\\usepackage{multirow}\n',
self.linking,
# geometry and fonts might go into style.tex.
Index: gzz/metacode/umldoc.py
diff -u gzz/metacode/umldoc.py:1.26 gzz/metacode/umldoc.py:1.27
--- gzz/metacode/umldoc.py:1.26 Sun Feb 9 23:04:02 2003
+++ gzz/metacode/umldoc.py Mon Feb 10 00:36:15 2003
@@ -148,7 +148,7 @@
settings['context'] = path
#the first pass - converts rst into html
if path.endswith(".rst"): path = path[0:len(path)-4]
- args = '-stg --stylesheet '+settings['to_css']\
+ args = '-i ISO8859_1 -stg --stylesheet '+settings['to_css']\
+' '+path+'.rst '+path+'.gen.html'
docutils.core.publish_cmdline(writer_name='html', argv=args.split())
@@ -162,7 +162,7 @@
if classes:
documentclass = '--documentclass %s ' %
(os.path.splitext(classes[0])[0])
elif path.find("benja-diff-fa/") != -1:
- documentclass = '--documentclass book --documentclass-options 12pt,a4
--use-latex-toc 1 '
+ documentclass = '-i ISO8859_1 --documentclass book
--documentclass-options 12pt,a4 --use-latex-toc 1 '
else:
documentclass = ''
args = documentclass+path+'.rst '+path+'.gen.latex'