ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Ctx running once?
@ 2011-03-14 22:08 Procházka Lukáš
  2011-03-14 22:15 ` Wolfgang Schuster
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Procházka Lukáš @ 2011-03-14 22:08 UTC (permalink / raw)
  To: ConTeXt

Hello,

is there a possibility how to let Ctx run just once, not three times (as usually), keeping in mind that TOC and/or page numbers may be wrong, just to check correctness of the document?

- I have a longer document with enough MP code and I'm interested often just whether there is no error in the Ctx/MP code, so in this case a successful (= the first) run of Ctx is enough for me for that moment.

- So is there a switch, e.g. "context.exe --err-check" or "context.exe --once" or something like this?

Best regards,

Lukas


___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: Ctx running once?
  2011-03-14 22:08 Ctx running once? Procházka Lukáš
@ 2011-03-14 22:15 ` Wolfgang Schuster
  2011-03-14 22:34 ` Khaled Hosny
  2011-03-16 16:44 ` Hans Hagen
  2 siblings, 0 replies; 5+ messages in thread
From: Wolfgang Schuster @ 2011-03-14 22:15 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 14.03.2011 um 23:08 schrieb Procházka Lukáš:

> Hello,
> 
> is there a possibility how to let Ctx run just once, not three times (as usually), keeping in mind that TOC and/or page numbers may be wrong, just to check correctness of the document?
> 
> - I have a longer document with enough MP code and I'm interested often just whether there is no error in the Ctx/MP code, so in this case a successful (= the first) run of Ctx is enough for me for that moment.
> 
> - So is there a switch, e.g. "context.exe --err-check" or "context.exe --once" or something like this?

context --once <filename>


meta:TeX wolf$ context --help

mtx-context     | ConTeXt Process Management 0.52
mtx-context     |
mtx-context     | --run                 process (one or more) files (default action)
mtx-context     | --make                create context formats
mtx-context     | 
mtx-context     | --ctx=name            use ctx file (process management specification)
mtx-context     | --interface           use specified user interface (default: en)
mtx-context     | 
mtx-context     | --autopdf             close pdf file in viewer and start pdf viewer afterwards
mtx-context     | --purge(all)          purge files either or not after a run (--pattern=...)
mtx-context     | 
mtx-context     | --usemodule=list      load the given module or style, normally part o fthe distribution
mtx-context     | --environment=list    load the given environment file first (document styles)
mtx-context     | --mode=list           enable given the modes (conditional processing in styles)
mtx-context     | --path=list           also consult the given paths when files are looked for
mtx-context     | --arguments=list      set variables that can be consulted during a run (key/value pairs)
mtx-context     | --randomseed=number   set the randomseed
mtx-context     | --result=name         rename the resulting output to the given name
mtx-context     | --trackers=list       set tracker variables (show list with --showtrackers)
mtx-context     | --directives=list     set directive variables (show list with --showdirectives)
mtx-context     | --silent=list         disable logcatgories (show list with --showlogcategories)
mtx-context     | --noconsole           disable logging to the console (logfile only)
mtx-context     | --purgeresult         purge result file before run
mtx-context     | 
mtx-context     | --forcexml            force xml stub (optional flag: --mkii)
mtx-context     | --forcecld            force cld (context lua document) stub
mtx-context     | 
mtx-context     | --arrange             run extra imposition pass, given that the style sets up imposition
mtx-context     | --noarrange           ignore imposition specifications in the style
mtx-context     | 
mtx-context     | --once                only run once (no multipass data file is produced)
mtx-context     | --batchmode           run without stopping and don't show messages on the console
mtx-context     | --nonstopmode         run without stopping
mtx-context     | 
mtx-context     | --generate            generate file database etc. (as luatools does)
mtx-context     | --paranoid            don't descend to .. and ../..
mtx-context     | --version             report installed context version
mtx-context     | 
mtx-context     | --expert              expert options
mtx-context     |
mtx-context     | More information about ConTeXt and the tools that come with it can be found at:
mtx-context     | 
mtx-context     | maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
mtx-context     | webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
mtx-context     | wiki     : http://contextgarden.net

Wolfgang

___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: Ctx running once?
  2011-03-14 22:08 Ctx running once? Procházka Lukáš
  2011-03-14 22:15 ` Wolfgang Schuster
@ 2011-03-14 22:34 ` Khaled Hosny
  2011-03-14 22:49   ` Marco
  2011-03-16 16:44 ` Hans Hagen
  2 siblings, 1 reply; 5+ messages in thread
From: Khaled Hosny @ 2011-03-14 22:34 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Mon, Mar 14, 2011 at 11:08:11PM +0100, Procházka Lukáš wrote:
> Hello,
> 
> is there a possibility how to let Ctx run just once, not three times (as usually), keeping in mind that TOC and/or page numbers may be wrong, just to check correctness of the document?

context --once :D


-- 
 Khaled Hosny
 Egyptian
 Arab
___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: Ctx running once?
  2011-03-14 22:34 ` Khaled Hosny
@ 2011-03-14 22:49   ` Marco
  0 siblings, 0 replies; 5+ messages in thread
From: Marco @ 2011-03-14 22:49 UTC (permalink / raw)
  To: ntg-context

On 2011-03-15 Khaled Hosny <khaledhosny@eglug.org> wrote:

> On Mon, Mar 14, 2011 at 11:08:11PM +0100, Procházka Lukáš wrote:
> > Hello,
> > 
> > is there a possibility how to let Ctx run just once, not three times (as
> > usually), keeping in mind that TOC and/or page numbers may be wrong, just
> > to check correctness of the document?
> 
> context --once :D

If you're really picky you can use \nullfont. Maybe this will save one second
or two.


Marco


___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: Ctx running once?
  2011-03-14 22:08 Ctx running once? Procházka Lukáš
  2011-03-14 22:15 ` Wolfgang Schuster
  2011-03-14 22:34 ` Khaled Hosny
@ 2011-03-16 16:44 ` Hans Hagen
  2 siblings, 0 replies; 5+ messages in thread
From: Hans Hagen @ 2011-03-16 16:44 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 14-3-2011 11:08, Procházka Lukáš wrote:
> Hello,
>
> is there a possibility how to let Ctx run just once, not three times (as
> usually), keeping in mind that TOC and/or page numbers may be wrong,
> just to check correctness of the document?
>
> - I have a longer document with enough MP code and I'm interested often
> just whether there is no error in the Ctx/MP code, so in this case a
> successful (= the first) run of Ctx is enough for me for that moment.
>
> - So is there a switch, e.g. "context.exe --err-check" or "context.exe
> --once" or something like this?

how about running context --help ...

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

end of thread, other threads:[~2011-03-16 16:44 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-14 22:08 Ctx running once? Procházka Lukáš
2011-03-14 22:15 ` Wolfgang Schuster
2011-03-14 22:34 ` Khaled Hosny
2011-03-14 22:49   ` Marco
2011-03-16 16:44 ` Hans Hagen

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