ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* inmarge figures and references
@ 2005-05-09 12:07 Jörg Hagmann
  2005-05-09 12:32 ` Taco Hoekwater
  0 siblings, 1 reply; 8+ messages in thread
From: Jörg Hagmann @ 2005-05-09 12:07 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: inmarge figures and references
  2005-05-09 12:07 inmarge figures and references Jörg Hagmann
@ 2005-05-09 12:32 ` Taco Hoekwater
  2005-05-09 13:54   ` Jörg Hagmann
  0 siblings, 1 reply; 8+ messages in thread
From: Taco Hoekwater @ 2005-05-09 12:32 UTC (permalink / raw)




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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: inmarge figures and references
  2005-05-09 12:32 ` Taco Hoekwater
@ 2005-05-09 13:54   ` Jörg Hagmann
  2005-05-09 14:11     ` Taco Hoekwater
  0 siblings, 1 reply; 8+ messages in thread
From: Jörg Hagmann @ 2005-05-09 13:54 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: inmarge figures and references
  2005-05-09 13:54   ` Jörg Hagmann
@ 2005-05-09 14:11     ` Taco Hoekwater
  2005-05-09 14:38       ` Jörg Hagmann
  2005-05-10 12:27       ` Jörg Hagmann
  0 siblings, 2 replies; 8+ messages in thread
From: Taco Hoekwater @ 2005-05-09 14:11 UTC (permalink / raw)




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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: inmarge figures and references
  2005-05-09 14:11     ` Taco Hoekwater
@ 2005-05-09 14:38       ` Jörg Hagmann
  2005-05-10 12:27       ` Jörg Hagmann
  1 sibling, 0 replies; 8+ messages in thread
From: Jörg Hagmann @ 2005-05-09 14:38 UTC (permalink / raw)


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
>

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: inmarge figures and references
  2005-05-09 14:11     ` Taco Hoekwater
  2005-05-09 14:38       ` Jörg Hagmann
@ 2005-05-10 12:27       ` Jörg Hagmann
  2005-05-10 13:43         ` Taco Hoekwater
  1 sibling, 1 reply; 8+ messages in thread
From: Jörg Hagmann @ 2005-05-10 12:27 UTC (permalink / raw)


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.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: inmarge figures and references
  2005-05-10 12:27       ` Jörg Hagmann
@ 2005-05-10 13:43         ` Taco Hoekwater
  2005-05-10 14:39           ` luigi.scarso
  0 siblings, 1 reply; 8+ messages in thread
From: Taco Hoekwater @ 2005-05-10 13:43 UTC (permalink / raw)




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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: inmarge figures and references
  2005-05-10 13:43         ` Taco Hoekwater
@ 2005-05-10 14:39           ` luigi.scarso
  0 siblings, 0 replies; 8+ messages in thread
From: luigi.scarso @ 2005-05-10 14:39 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2005-05-10 14:39 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-09 12:07 inmarge figures and references Jörg Hagmann
2005-05-09 12:32 ` Taco Hoekwater
2005-05-09 13:54   ` Jörg Hagmann
2005-05-09 14:11     ` Taco Hoekwater
2005-05-09 14:38       ` Jörg Hagmann
2005-05-10 12:27       ` Jörg Hagmann
2005-05-10 13:43         ` Taco Hoekwater
2005-05-10 14:39           ` luigi.scarso

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).