[gnumeric] Fix pdf docs. [#649591]
- From: Andreas J. Guelzow <guelzow src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnumeric] Fix pdf docs. [#649591]
- Date: Fri, 6 May 2011 21:55:19 +0000 (UTC)
commit 9686716322e74ae66d7b76b5d36a20ab81b75448
Author: Andreas J Guelzow <aguelzow pyrshep ca>
Date: Fri May 6 15:54:12 2011 -0600
Fix pdf docs. [#649591]
2011-05-06 Andreas J. Guelzow <aguelzow pyrshep ca>
* gnumeric-doc.make: some fine-tuning. Fixes #649591
NEWS | 1 +
doc/ChangeLog | 4 ++++
doc/gnumeric-doc.make | 12 ++++++++++++
3 files changed, 17 insertions(+), 0 deletions(-)
---
diff --git a/NEWS b/NEWS
index 35c965a..adf7da5 100644
--- a/NEWS
+++ b/NEWS
@@ -9,6 +9,7 @@ Andreas:
* Fix undo crash for column widths. [#649139]
* Indicate vararg functions in function browser and docs. [#649484]
* Fix handling of argument names in docs. [#649592]
+ * Fix pdf docs. [#649591]
Morten:
* Fix problems with localized function docs.
diff --git a/doc/ChangeLog b/doc/ChangeLog
index ce065f2..8c698bd 100644
--- a/doc/ChangeLog
+++ b/doc/ChangeLog
@@ -1,5 +1,9 @@
2011-05-06 Andreas J. Guelzow <aguelzow pyrshep ca>
+ * gnumeric-doc.make: some fine-tuning. Fixes #649591
+
+2011-05-06 Andreas J. Guelzow <aguelzow pyrshep ca>
+
* make-func-list.pl
2011-03-24 Morten Welinder <terra gnome org>
diff --git a/doc/gnumeric-doc.make b/doc/gnumeric-doc.make
index b5ea6a3..f6ad1c4 100644
--- a/doc/gnumeric-doc.make
+++ b/doc/gnumeric-doc.make
@@ -81,6 +81,12 @@ gnumeric.pdf:
-P imagedata.default.scale='scale=600' \
-o gnumeric.tex $(srcdir)/gnumeric.xml
sed -i -e 's/\xE2\xA8\x89/\\times{}/' gnumeric.tex
+ sed -i -e 's/\\begin{verbatim}\([^_]*\)\\end{verbatim}/\\texttt{\1}/g' gnumeric.tex
+ sed -i -e 's/\\texttt{\\emph{\\small{\(.*\)}}}:/\\texttt{\\emph{\1}}:/g' gnumeric.tex
+ sed -i -e 's/ *>{} */\\ensuremath{{}>{}}/g' gnumeric.tex
+ sed -i -e 's/ *<{} */\\ensuremath{{}<{}}/g' gnumeric.tex
+ sed -i -e "s/L.vy/L\\\\'evy/g" gnumeric.tex
+ sed -i -e 's/\\makeglossary/\\makeglossary\n\\setlength{\\headheight}{36pt}/g' gnumeric.tex
env TEXMFCNF=$(srcdir): \
TEXINPUTS=$(srcdir):/usr/share/texmf/tex/context/dbcontext/style: \
texexec --pdf --mode=A4 --verbose gnumeric.tex
@@ -94,6 +100,12 @@ gnumeric.pdf:
-P latex.output.revhistory=0 \
-o gnumeric.tex $(srcdir)/gnumeric.xml
sed -i -e 's/\xE2\xA8\x89/\\times{}/' gnumeric.tex
+ sed -i -e 's/\\begin{verbatim}\([^_]*\)\\end{verbatim}/\\texttt{\1}/g' gnumeric.tex
+ sed -i -e 's/\texttt{\emph{\small{\(.*\)}}}:/\texttt{\emph{\1}}:/g' gnumeric.tex
+ sed -i -e 's/ *>{} */\\ensuremath{{}>{}}/g' gnumeric.tex
+ sed -i -e 's/ *<{} */\\ensuremath{{}<{}}/g' gnumeric.tex
+ sed -i -e "s/L.vy/L\\\\'evy/g" gnumeric.tex
+ sed -i -e 's/\\makeglossary/\\makeglossary\n\\setlength{\\headheight}{36pt}/g' gnumeric.tex
for runs in $$(seq 1 4); do \
env TEXINPUTS=$(srcdir): \
pdflatex -interaction nonstopmode gnumeric.tex ; \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]