From: Aditya Mahajan <adityam@umich.edu>
Subject: Re: texexec from parent directory
Date: Sat, 2 Sep 2006 03:24:51 -0400 (EDT) [thread overview]
Message-ID: <Pine.WNT.4.63.0609020317380.3068@nqvgln> (raw)
In-Reply-To: <Pine.WNT.4.63.0609010109410.3804@nqvgln>
On Fri, 1 Sep 2006, Aditya Mahajan wrote:
> Hi,
>
> I have the following project structure
>
> base/
> |
> +--project.tex
> |
> +--product.tex
> |
> +--environment.tex
> +
> subdir/
> |
> +---component.tex
>
>
> If I in subdir and texexec component it compiles fine. If I am in base
> and texexec subdir/component it works fine. However, if I am in the
> parent directory of base and
>
> texexec base/subdir/component
>
> it does not work as the environment file is not found. It seems that
> the search for files is taking place relative to the directory from
> where texexec is invoked, rather than relative to the directory where
> the file resides. Is there some way I can make the component file
> compile from the parent directory of base?
Looking into tex.rb, shouldn't --autopath take care of this? (It does
not).
I also tried
texexec --environments=environment.tex base/subdir/component.tex
and I get
! You can't use `\relax' after \the.
<recently read> \@sl@\currentcomponentpath
\popmacro ...name \@sl@ \@@pushedmacro \endcsname
\@@pushedmacro
\endcsname ...
\doprevlevel ->\popmacro \currentcomponentpath
\popmacro
\currentcomponent \...
l.129 \stopcomponent
I'm forgetting what you said and using zero instead.
! You can't use `\relax' after \advance.
<recently read> \@sl@\currentcomponentpath
\popmacro ...name \@sl@ \@@pushedmacro \endcsname
\minusone
\doprevlevel ->\popmacro \currentcomponentpath
\popmacro
\currentcomponent \...
l.129 \stopcomponent
I'm forgetting what you said and not changing anything.
! Missing number, treated as zero.
<to be read again>
\xdef
\popmacro #1->\xdef
\@@pushedmacro {\string #1}\@EA \let \@EA
#1\csname \the...
\doprevlevel ...tpath \popmacro \currentcomponent
\setsystemmode
\currentcom...
l.129 \stopcomponent
A number should have been here; I inserted `0'.
(If you can't figure out why I needed to see a number,
look up `weird error' in the index to The TeXbook.)
etc....
Am I missing some texexec switch?
Aditya
next prev parent reply other threads:[~2006-09-02 7:24 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-01 5:20 Aditya Mahajan
2006-09-02 7:24 ` Aditya Mahajan [this message]
2006-09-03 4:46 ` Aditya Mahajan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.WNT.4.63.0609020317380.3068@nqvgln \
--to=adityam@umich.edu \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).