Re: error in whiledo loop
- From: Donald Arseneau <asnd@xxxxxxxxx>
- Date: Fri, 10 Jul 2009 17:57:24 -0700 (PDT)
On Jul 10, 6:04 am, Roy <sarah...@xxxxxxxxx> wrote:
nesting
Use nesting or not according to whatever is clearer to you.
1) Both versions of your suggestions work with the \includegraphics
command, but I'm running into trouble when I try to use \themycounter
in an \input statement.
\input{\themycounter/foo}
I get the error
! LaTeX Error: File `1/foo.tex' not found. Why is this not
expanding.
My guess is that you declare \newcounter{mycounter} *after* defining
\themycounter, and so get left with the default definition instead of
your specialized version.
2) Suppose I have nested loops, [] how do I create
another counter of the same type but with a different name to loop
through the figures in each directory.
The same way, with a different name.
Donald Arseneau
.
- References:
- error in whiledo loop
- From: Roy
- Re: error in whiledo loop
- From: Donald Arseneau
- Re: error in whiledo loop
- From: Roy
- error in whiledo loop
- Prev by Date: Re: ANN: You can save, store and tag formulas on the MathTran site
- Next by Date: Re: New CTAN font: Inconsolata
- Previous by thread: Re: error in whiledo loop
- Next by thread: Re: error in whiledo loop
- Index(es):
Relevant Pages
|
Loading