inmarge figures and references
Dear list members, My happiness about my first pdf-file was a bit premature. It worked fine on my Mac at work (TeX and ConTeXt downloaded with Fink commander). But on the two setups I'm using at home (TeXLive and ConTeXt on Mac OS X; teTeX on Mandrakelinux 10.1 on a Powermac G4) the exactly same two problems occur: 1. \inmarge figures can't be handled. Instead they appear in the text. This is an example from the log file: ! Undefined control sequence. l.35 \inmarge {\externalfigure[8pyruvate_lab]} ? <./FIGURES//8pyruvate_lab.pdf Warning: pdfetex (file ./FIGURES//8pyruvate_lab.pdf): pdf inclusion: Page Group detected which pdfTeX can't handle. Ignoring it.
figures : dimensions of ./FIGURES//8pyruvate_lab.pdf loaded from figuref ile itself 2. The references don't work ("??"). Again, an example: references : unknown reference [][krebsbox] Everything else (chapter numbering, textrule, figures, footnotes, tables etc.) is working. Also, the test suggested in the texexec manual ("\framed") is working. Since the tex file itself has not been changed, I suppose that something is wrong with my setups at home. Thank you for any suggestions. Jörg. PD Dr.med. Jörg Hagmann-Zanolari Institute of Biochemistry and Genetics DKBW, University of Basel Mattenstrasse 28 CH-4058 Basel Switzerland Phone +41 (0)61 6953049
Hi Jörg,
1. \inmarge figures can't be handled. Instead they appear in the text. This is an example from the log file:
! Undefined control sequence. l.35 \inmarge {\externalfigure[8pyruvate_lab]}
The command is called \inmargin (at least in the english interface).
2. The references don't work ("??"). Again, an example:
references : unknown reference [][krebsbox]
Are you sure that texutil is started by the texexec run as it should? (and what type of reference are you talking about anyway?) A minimal example would help. Greetings, taco
Hi Taco,
1. \inmarge figures can't be handled. Instead they appear in the text. This is an example from the log file: ! Undefined control sequence. l.35 \inmarge {\externalfigure[8pyruvate_lab]}
The command is called \inmargin (at least in the english interface).
I was following the manual ("Context - an excursion") where \inmarge is used with marginal figures. I thought that was the command to use, and it works on my computer here. I am using \inmargin with text; does what you are saying mean the two commands do the same?
2. The references don't work ("??"). Again, an example: references : unknown reference [][krebsbox]
Are you sure that texutil is started by the texexec run as it should?
No. How do I find out? And if it's not working, what should I do? (I have to admit that I don't really understand the programme - I simply translated into actions those few commands I could make sense of in the texexec manual, such as make ...).
(and what type of reference are you talking about anyway?)
References in the text to Figures and Tables (\in{Figure}[RefName]) This also works on my computer here. Thank you for your help, Jörg. PD Dr.med. Jörg Hagmann-Zanolari Institute of Biochemistry and Genetics DKBW, University of Basel Mattenstrasse 28 CH-4058 Basel Switzerland
Jörg Hagmann wrote:
Hi Taco,
1. \inmarge figures can't be handled. Instead they appear in the text. This is an example from the log file: ! Undefined control sequence. l.35 \inmarge {\externalfigure[8pyruvate_lab]}
The command is called \inmargin (at least in the english interface).
I was following the manual ("Context - an excursion") where \inmarge is used with marginal figures. I thought that was the command to use, and it works on my computer here. I am using \inmargin with text; does what you are saying mean the two commands do the same?
\inmarge is dutch for \inmargin, and it should have been replaced in the 'excursion" when ConTeXt switched to low-level english commands last year. So yes, they are the same, but if you are not using the dutch interface explicitly, then \inmarge will only work in old ConTeXt-s.
2. The references don't work ("??"). Again, an example: references : unknown reference [][krebsbox]
Are you sure that texutil is started by the texexec run as it should?
No. How do I find out? And if it's not working, what should I do? (I have to admit that I don't really understand the programme - I simply translated into actions those few commands I could make sense of in the texexec manual, such as make ...).
assuming you document is called 'test', then: $ texexec test should end with: Output written on test.dvi (1 page, 296 bytes). Transcript written on test.log. return code : 0 run time : 1 seconds sorting and checking : running texutil TeXUtil 9.0.0 - ConTeXt / PRAGMA ADE 1992-2004 action : processing commands, lists and registers option : sorting IJ under Y option : converting high ASCII values input file : test.tui output file : test.tuo passed commands : 10 remapped keys : 0 register entries : 0 -> 0 entries 0 references synonym entries : 0 -> 0 entries embedded files : 1 total run time : 2 seconds $ or something very much like this. Good luck, Taco
Thank you. Obviously, the version I downloaded with Fink is an old one (and therefore understands Dutch). I'll check for texutil tonight and let you know the result tomorrow, Jörg. On May 9, 2005, at 4:11 PM, Taco Hoekwater wrote:
Jörg Hagmann wrote:
Hi Taco,
1. \inmarge figures can't be handled. Instead they appear in the text. This is an example from the log file: ! Undefined control sequence. l.35 \inmarge {\externalfigure[8pyruvate_lab]}
The command is called \inmargin (at least in the english interface). I was following the manual ("Context - an excursion") where \inmarge is used with marginal figures. I thought that was the command to use, and it works on my computer here. I am using \inmargin with text; does what you are saying mean the two commands do the same?
\inmarge is dutch for \inmargin, and it should have been replaced in the 'excursion" when ConTeXt switched to low-level english commands last year. So yes, they are the same, but if you are not using the dutch interface explicitly, then \inmarge will only work in old ConTeXt-s.
2. The references don't work ("??"). Again, an example: references : unknown reference [][krebsbox]
Are you sure that texutil is started by the texexec run as it should? No. How do I find out? And if it's not working, what should I do? (I have to admit that I don't really understand the programme - I simply translated into actions those few commands I could make sense of in the texexec manual, such as make ...).
assuming you document is called 'test', then:
$ texexec test
should end with:
Output written on test.dvi (1 page, 296 bytes). Transcript written on test.log.
return code : 0 run time : 1 seconds sorting and checking : running texutil
TeXUtil 9.0.0 - ConTeXt / PRAGMA ADE 1992-2004
action : processing commands, lists and registers option : sorting IJ under Y option : converting high ASCII values input file : test.tui output file : test.tuo passed commands : 10 remapped keys : 0 register entries : 0 -> 0 entries 0 references synonym entries : 0 -> 0 entries embedded files : 1
total run time : 2 seconds
$
or something very much like this.
Good luck, Taco _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Thank you, the problems have been solved and everything is now working on all three systems. I don't know why the figure-reference problem also disappeared after changing from \inmarge to \inmargin, but I will not try to find out ... When looking at the threads in this user group and also sometimes at the answers to my questions, I realise that I should know something about the structure of the system behind ConTeXt. Therefore this general question: at the beginning of the context manual, 3 books on TeX are being recommended. But we are also assured that we don't need them for using ConTeXt (unless we want to program). Would the beginner's book help in understanding the structure of the whole system? Or is it all about how to write in TeX instead of ConTeXt, and therefore a waste of time (for me, at least)? On May 9, 2005, at 4:11 PM, Taco Hoekwater wrote:
Jörg Hagmann wrote:
Hi Taco,
1. \inmarge figures can't be handled. Instead they appear in the text. This is an example from the log file: ! Undefined control sequence. l.35 \inmarge {\externalfigure[8pyruvate_lab]}
The command is called \inmargin (at least in the english interface). I was following the manual ("Context - an excursion") where \inmarge is used with marginal figures. I thought that was the command to use, and it works on my computer here. I am using \inmargin with text; does what you are saying mean the two commands do the same?
\inmarge is dutch for \inmargin, and it should have been replaced in the 'excursion" when ConTeXt switched to low-level english commands last year. So yes, they are the same, but if you are not using the dutch interface explicitly, then \inmarge will only work in old ConTeXt-s.
Jörg Hagmann wrote:
Would the beginner's book help in understanding the structure of the whole system?
I have never actually read Levy's book, but I doubt it will help you understand the intrinsics of the ConTeXt system. It will probably teach you how to program TeX; thereby making it easier for you to understand the constituent parts of ConTeXt and (possibly) allowing you to write the macro code needed for nice title pages and overlays. But that's hardly the same as "the structure of the system". At the moment, the only way to get a feeling for that is to read the source code, I believe. Start with 'tex/context/base/context.tex'. Working through the included files in the order they are loaded is easiest, and use the source code browser at contextgarden.net ! Good luck, Taco
Taco Hoekwater wrote:
Jörg Hagmann wrote:
Would the beginner's book help in understanding the structure of the whole system?
At the moment, the only way to get a feeling for that is to read the source code, I believe. Start with 'tex/context/base/context.tex'. Working through the included files in the order they are loaded is
I find useful also $> texexec --pdf --module <modulename>.tex On the other side, I'm reading "The Advanced TEXBook", and I find it good. luigi
participants (3)
-
Jörg Hagmann
-
luigi.scarso
-
Taco Hoekwater