ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* No cross-references in scrollmode
@ 2017-07-13  9:58 Andreas Becker
  2017-07-13 19:18 ` Alan Braslau
  0 siblings, 1 reply; 2+ messages in thread
From: Andreas Becker @ 2017-07-13  9:58 UTC (permalink / raw)
  To: ntg-context

Hello,

when I pipe a file to context, it cannot resolve references, e. g. to figures or
chapters:

cat source.tex | context --pipe

Instead of the number, "??" is printed in the PDF document.

A minimal example is:
\ref[reference] \placefigure[][reference]{}{}

The command line output is like this:

[...]
mtx-context     | entering scrollmode, end job with \endThis is LuaTeX, Version 0.95.0 (TeX Live 2016/Arch Linux) 
 system commands enabled.
[...]
*
*
*(Please type a command or say `\end')
*structure       > sectioning > title @ level 2 : 0.0 -> Si(111) preparation

*(Please type a command or say `\end')
*
*
*
*
*
*
*
*
*
*references      > unknown reference '[][fig:si-oxide]'
[...]

Kind regards,
Andreas Becker
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: No cross-references in scrollmode
  2017-07-13  9:58 No cross-references in scrollmode Andreas Becker
@ 2017-07-13 19:18 ` Alan Braslau
  0 siblings, 0 replies; 2+ messages in thread
From: Alan Braslau @ 2017-07-13 19:18 UTC (permalink / raw)
  To: Andreas Becker; +Cc: mailing list for ConTeXt users

On Thu, 13 Jul 2017 11:58:24 +0200
Andreas Becker <abecker@physik.tu-berlin.de> wrote:

> cat source.tex | context --pipe
> 
> Instead of the number, "??" is printed in the PDF document.

Do you expect TeX to make several passes on piped input?
Also, see Hans' previous answer.

Alan
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

end of thread, other threads:[~2017-07-13 19:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-13  9:58 No cross-references in scrollmode Andreas Becker
2017-07-13 19:18 ` Alan Braslau

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