[ecasound] patch: run latex thrice

From: Junichi Uekawa <dancer@email-addr-hidden>
Date: Mon Aug 06 2007 - 03:36:38 EEST

Hi,

to create the table of contents (which spans multiple pages), and
re-calculate the page numbers after the page offset generated by table
of contents, latex needs to be ran 3 times.

#! /bin/sh /usr/share/dpatch/dpatch-run
## 14_documentation_makefile.dpatch by Junichi Uekawa <dancer@email-addr-hidden>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: run latex twice to make index work.

@DPATCH@
diff -urNad ecasound2.2-2.4.5~/Documentation/programmers_guide/Makefile.am ecasound2.2-2.4.5/Documentation/programmers_guide/Makefile.am
--- ecasound2.2-2.4.5~/Documentation/programmers_guide/Makefile.am 2006-04-24 04:09:34.000000000 +0900
+++ ecasound2.2-2.4.5/Documentation/programmers_guide/Makefile.am 2007-08-06 09:20:31.936961780 +0900
@@ -18,6 +18,8 @@
 
 ecasound_eci_doc.pdf: eci_doc.latex eci_doc.dvi
         latex eci_doc.latex
+ latex eci_doc.latex
+ latex eci_doc.latex
         dvips -Ppdf -o eci_doc.ps eci_doc.dvi
         ps2pdf eci_doc.ps ecasound_eci_doc.pdf
         mkdir -p html_ecidoc
diff -urNad ecasound2.2-2.4.5~/Documentation/users_guide/Makefile.am ecasound2.2-2.4.5/Documentation/users_guide/Makefile.am
--- ecasound2.2-2.4.5~/Documentation/users_guide/Makefile.am 2006-04-24 04:09:52.000000000 +0900
+++ ecasound2.2-2.4.5/Documentation/users_guide/Makefile.am 2007-08-06 09:20:18.674984978 +0900
@@ -16,6 +16,8 @@
 
 users_guide.dvi: users_guide.latex
         latex users_guide.latex
+ latex users_guide.latex
+ latex users_guide.latex
         dvips -Ppdf -o users_guide.ps users_guide.dvi
         ps2pdf users_guide.ps ecasound_users_guide.pdf
         mkdir -p html_uguide

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Ecasound-list mailing list
Ecasound-list@email-addr-hidden
https://lists.sourceforge.net/lists/listinfo/ecasound-list
Received on Mon Aug 6 04:15:04 2007

This archive was generated by hypermail 2.1.8 : Mon Aug 06 2007 - 04:15:04 EEST