From 2e4b4ec598dfd4e9b849d6f430e27d27b871b020 Mon Sep 17 00:00:00 2001
From: Chris Elliott <biol75@york.ac.uk>
Date: Thu, 20 Jun 2002 14:34:29 +0000
Subject: [PATCH] fix to tex format documentation for wxSVG

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
---
 contrib/docs/latex/svg/dcsvg.tex   | 34 ++++++++++++++++++++++++++++++
 contrib/docs/latex/svg/tex2rtf.ini | 10 ++++-----
 docs/latex/wx/dcsvg.tex            | 34 ++++++++++++++++++++++++++++++
 3 files changed, 73 insertions(+), 5 deletions(-)

diff --git a/contrib/docs/latex/svg/dcsvg.tex b/contrib/docs/latex/svg/dcsvg.tex
index 886845fd7d..aa7b04e393 100644
--- a/contrib/docs/latex/svg/dcsvg.tex
+++ b/contrib/docs/latex/svg/dcsvg.tex
@@ -1,3 +1,37 @@
+\documentstyle[a4,makeidx,verbatim,texhelp,fancyhea,mysober,mytitle]{report}%
+%\input{psbox.tex}
+\newcommand{\commandref}[2]{\helpref{{\tt $\backslash$#1}}{#2}}%
+\newcommand{\commandrefn}[2]{\helprefn{{\tt $\backslash$#1}}{#2}\index{#1}}%
+\newcommand{\commandpageref}[2]{\latexignore{\helprefn{{\tt $\backslash$#1}}{#2}}\latexonly{{\tt $\backslash$#1} {\it page \pageref{#2}}}\index{#1}}%
+\newcommand{\indexit}[1]{#1\index{#1}}%
+\newcommand{\inioption}[1]{{\bf {\tt #1}}\index{#1}}%
+\parskip=10pt%
+\parindent=0pt%
+%\backgroundcolour{255;255;255}\textcolour{0;0;0}% Has an effect in HTML only
+\winhelpignore{\title{Manual for wxSVGFileDC}%
+\author{Chris Elliott}%
+\date{June 2002}%
+}%
+\winhelponly{\title{Manual for wxSVGFileDC}%
+\author{by Chris Elliott}%
+}%
+\makeindex%
+\begin{document}%
+\maketitle%
+\pagestyle{fancyplain}%
+\bibliographystyle{plain}%
+\pagenumbering{roman}%
+\setheader{{\it CONTENTS}}{}{}{}{}{{\it CONTENTS}}%
+\setfooter{\thepage}{}{}{}{}{\thepage}%
+\tableofcontents%
+
+\chapter*{Copyright notice}%
+\setheader{{\it COPYRIGHT}}{}{}{}{}{{\it COPYRIGHT}}%
+\setfooter{\thepage}{}{}{}{}{\thepage}%
+
+\chapter*{wxSVGFileDC}%
+\setheader{{\it wxSVGFileDC}}{}{}{}{}{{\it wxSVGFileDC}}%
+\setfooter{\thepage}{}{}{}{}{\thepage}%
 \section{\class{wxSVGFileDC}}\label{wxSVGFileDC}
 
 A wxSVGFileDC is a {\it device context} onto which graphics and text can be drawn, and the output
diff --git a/contrib/docs/latex/svg/tex2rtf.ini b/contrib/docs/latex/svg/tex2rtf.ini
index 45b695d3c9..a06196b9ec 100644
--- a/contrib/docs/latex/svg/tex2rtf.ini
+++ b/contrib/docs/latex/svg/tex2rtf.ini
@@ -9,7 +9,7 @@ headerRule = yes
 footerRule = yes
 useHeadingStyles = yes
 listItemIndent=40
-generateHPJ = no
+generateHPJ = yes
 htmlBrowseButtons = bitmap
 winHelpVersion = 3
 winHelpContents = yes
@@ -28,8 +28,8 @@ combineSubSections = yes
 ;;
 ;; These two are for generating MS HTML Help project, contents and index files.
 ;;
-htmlWorkshopFiles = true
-htmlIndex = true
-\pythonnote [1] {{\bf \fcol{blue}{wxPython note:}} #1}
-%\pythonnote [1] {}
+;;htmlWorkshopFiles = true
+;;htmlIndex = true
+;;\pythonnote [1] {{\bf \fcol{blue}{wxPython note:}} #1}
+;;%\pythonnote [1] {}
 
diff --git a/docs/latex/wx/dcsvg.tex b/docs/latex/wx/dcsvg.tex
index 886845fd7d..aa7b04e393 100644
--- a/docs/latex/wx/dcsvg.tex
+++ b/docs/latex/wx/dcsvg.tex
@@ -1,3 +1,37 @@
+\documentstyle[a4,makeidx,verbatim,texhelp,fancyhea,mysober,mytitle]{report}%
+%\input{psbox.tex}
+\newcommand{\commandref}[2]{\helpref{{\tt $\backslash$#1}}{#2}}%
+\newcommand{\commandrefn}[2]{\helprefn{{\tt $\backslash$#1}}{#2}\index{#1}}%
+\newcommand{\commandpageref}[2]{\latexignore{\helprefn{{\tt $\backslash$#1}}{#2}}\latexonly{{\tt $\backslash$#1} {\it page \pageref{#2}}}\index{#1}}%
+\newcommand{\indexit}[1]{#1\index{#1}}%
+\newcommand{\inioption}[1]{{\bf {\tt #1}}\index{#1}}%
+\parskip=10pt%
+\parindent=0pt%
+%\backgroundcolour{255;255;255}\textcolour{0;0;0}% Has an effect in HTML only
+\winhelpignore{\title{Manual for wxSVGFileDC}%
+\author{Chris Elliott}%
+\date{June 2002}%
+}%
+\winhelponly{\title{Manual for wxSVGFileDC}%
+\author{by Chris Elliott}%
+}%
+\makeindex%
+\begin{document}%
+\maketitle%
+\pagestyle{fancyplain}%
+\bibliographystyle{plain}%
+\pagenumbering{roman}%
+\setheader{{\it CONTENTS}}{}{}{}{}{{\it CONTENTS}}%
+\setfooter{\thepage}{}{}{}{}{\thepage}%
+\tableofcontents%
+
+\chapter*{Copyright notice}%
+\setheader{{\it COPYRIGHT}}{}{}{}{}{{\it COPYRIGHT}}%
+\setfooter{\thepage}{}{}{}{}{\thepage}%
+
+\chapter*{wxSVGFileDC}%
+\setheader{{\it wxSVGFileDC}}{}{}{}{}{{\it wxSVGFileDC}}%
+\setfooter{\thepage}{}{}{}{}{\thepage}%
 \section{\class{wxSVGFileDC}}\label{wxSVGFileDC}
 
 A wxSVGFileDC is a {\it device context} onto which graphics and text can be drawn, and the output
-- 
2.45.2

