Re: recognizing prime (page) numbers in LaTeX



Le (on) mercredi 06 février 2008 19:06, Frank Mittelbach a écrit (wrote) :

Hmm, maybe \expandafter\textbf\or would work better :)

hmmm quite embarrassing, isn't it? yes of course, blame it on the time of
day :-)

:-) That's what I blamed, anyway.

Do you mean \arabic{page} ? I've got a (strange) error with \value there.

oh well, another mistake. yes of course \value{page} doesn't work as this
generates the internal counter not its representation.

after \ifcase that is fine (and that was what i was thinking about when i
wrote it) but the {#1} later on passed to \textbf or executed on its own
will interpret the thing as a low-level counter assignment with missing
value

Sure. Actually, I just checked and the error is quite explicit indeed:
"Missing number, treated as zero". I though i was a weird error because I
saw "<to be read again> \aftergroup" and didn't want (and still don't want)
to try and understand why this \aftergroup was here...

Manuel.

.



Relevant Pages

  • Re: Why Virgin Broadband expensive?
    ... Eeyore wrote: ... am I missing out on something? ... So it took you six months to learn that VM had made a mistake - as happens ... sometimes - and yet you blame /them/ and not yourself in any way? ...
    (uk.telecom.broadband)
  • Re: Hiding originating IP when posting through CLOSED news servers
    ... Indeed, people with sufficient experience would not have, and I think ... any problems understanding the *question*. ... So during the thread we tried to discover some of the 'missing' ... 'blame' for that. ...
    (comp.security.misc)
  • Re: Worst SF/F book youve read
    ... > I have to suspect I am missing some obscene language somewhere, ... Who do you blame when your kid is a - brat? ...
    (rec.arts.sf.written)
  • Re: Help requested troubleshooting code
    ... It was "just plain missing". ... I've run into a segmentation fault runtime error with a fortran code that I've been writing, which I no doubt think has to do with some out-of-bounds arrays I've declared and used, but I'm not certain of where my mistake lies. ... end program prandtl meyer ...
    (comp.lang.fortran)
  • Re: In the News: Tenn. AG: No constitutional concerns with
    ... why you didn't correct your mistake about Akhenaten's missing remains? ... I said Akhenaten is missing. ... none other than McClueless himself - went off the rails on the matter. ... Never EVER lie on usenet. ...
    (talk.origins)

Loading