[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Axiom-developer] build-improvements and latex
From: |
Waldek Hebisch |
Subject: |
Re: [Axiom-developer] build-improvements and latex |
Date: |
Mon, 23 Oct 2006 03:29:59 +0200 (CEST) |
Gabriel Dos Reis wrote:
> Waldek Hebisch <address@hidden> writes:
>
> | There are more problems: apparently noweb can not correctly handle
> | files which have underscores in their names. For example latex run
> | on src/hyper/parse_aux.tex gives the following errors (I removed
> | other messages which are caused by the two errors):
>
> I know of that one. And, actually, my recent tweak to dvi-ax is
> supposed to be followed up by a renaming of parse_xxx to parse-xxx.
> I did not have time to commit it.
>
Inspired by noweb FAQ in am testing the following patch -- tohether
with previous patch it allowed me to run 'make dvi' with only two
problems (Rosetta.pamphlet and more-rules.mk). 'more-rules.mk' is
build only during main build, so for standalone 'make dvi' (without
previous build) I had to add it by hand. Now I am tesing full build.
diff -ru build-improvements.nn2/src/hyper/parse_aux.pamphlet
build-improvements.nn/src/hyper/parse_aux.pamphlet
--- build-improvements.nn2/src/hyper/parse_aux.pamphlet 2006-10-23
01:38:47.000000000 +0200
+++ build-improvements.nn/src/hyper/parse_aux.pamphlet 2006-10-23
03:08:28.000000000 +0200
@@ -20,7 +20,7 @@
#endif
@
-\section{parse_aux.c}
+\section{parse\_aux.c}
<<parse_aux.c>>=
#define _PARSE_AUX_C
#include "useproto.h"
diff -ru build-improvements.nn2/src/scripts/document.in
build-improvements.nn/src/scripts/document.in
--- build-improvements.nn2/src/scripts/document.in 2006-10-23
01:38:47.000000000 +0200
+++ build-improvements.nn/src/scripts/document.in 2006-10-23
02:50:15.000000000 +0200
@@ -100,7 +100,8 @@
if test x$do_weave = xyes; then
file=`basename $1 .pamphlet`
- $weave -delay $1 > $file.tex
+ $weave -delay -filter 'sed "/address@hidden /s/_/\\\\_/g;/address@hidden
/s/_/\\\\_/g"' \
+ $1 > $file.tex
if test x$do_latex != xyes; then
exit 0;
fi
--
Waldek Hebisch
address@hidden
- RE: [Axiom-developer] build-improvements and latex, (continued)
- Re: [Axiom-developer] build-improvements and latex, Norman Ramsey, 2006/10/22
- RE: [Axiom-developer] build-improvements and latex, Bill Page, 2006/10/22
- Re: [Axiom-developer] build-improvements and latex, Waldek Hebisch, 2006/10/22
- Re: [Axiom-developer] build-improvements and latex, Gabriel Dos Reis, 2006/10/22
- Re: [Axiom-developer] build-improvements and latex, Norman Ramsey, 2006/10/22
- Re: [Axiom-developer] build-improvements and latex, Gabriel Dos Reis, 2006/10/22
- Re: [Axiom-developer] build-improvements and latex, Gabriel Dos Reis, 2006/10/22
- Re: [Axiom-developer] build-improvements and latex, Gabriel Dos Reis, 2006/10/22
- Re: [Axiom-developer] build-improvements and latex,
Waldek Hebisch <=
- RE: [Axiom-developer] build-improvements and latex, Bill Page, 2006/10/22
- Re: [Axiom-developer] build-improvements and latex, Gabriel Dos Reis, 2006/10/23