Difference between revisions of "Tools"

From Wiki
Jump to navigation Jump to search
m (fix typos)
m (more typos)
Line 21: Line 21:
 
; [[Run scripts|Shell scripts]]: while context and mtxrun already automate a lot,  bash scripts can help.
 
; [[Run scripts|Shell scripts]]: while context and mtxrun already automate a lot,  bash scripts can help.
 
; [[starttexdefinition]]: The {{code|starttexdefinition}} uses the {{code|start…stop}} syntax to define new control sequences.
 
; [[starttexdefinition]]: The {{code|starttexdefinition}} uses the {{code|start…stop}} syntax to define new control sequences.
; [[purge aux files|Purge auxiliary files]] (2013).
+
; [[purge aux files|Purge auxiliary files]] and local default parameters (2013).
 
; [[Unexpected behavior]]: If ConTeXt appears to behave in a counterintuitive way, chances are that it’s actually your intuitions that lack calibration.
 
; [[Unexpected behavior]]: If ConTeXt appears to behave in a counterintuitive way, chances are that it’s actually your intuitions that lack calibration.
 
; [[LuaTeX callbacks]]
 
; [[LuaTeX callbacks]]
Line 27: Line 27:
 
= Older informations =
 
= Older informations =
  
* [[Version Control]]: Getting version control specific information in ConTeXt (20012).
+
* [[Version Control]]: Getting version control specific information in ConTeXt (2012).
 
* [[HTML and ConTeXt]]: Collaborative HTML document preparation using Wiki and its conversion to ConTeXt using Ruby (2007).
 
* [[HTML and ConTeXt]]: Collaborative HTML document preparation using Wiki and its conversion to ConTeXt using Ruby (2007).
 
* [[Word-to-LaTeX|Word-to-LaTeX/ConTeXt script]] (2007).
 
* [[Word-to-LaTeX|Word-to-LaTeX/ConTeXt script]] (2007).

Revision as of 13:37, 10 September 2020

Core tools

Inside ConTeXt
Macros, commands, and other programming. Basics, a must read.
Mark IV
an introduction
mtxrun script
the helper script for all sorts of ConTeXt-related things, from individual runs to managing the installation tree
context script
it has two main uses: (1) compiling ConTeXt MkIV documents, and (2) recompiling the ConTeXt core format after you change one of the source files.
Visual Debugging
show the nasty details of your code, to understand and tweak ConTeXt typesetting.
Buffers
Buffers are named chunks of text, saved by ConTeXt to be retrieved by the user later.
Modules
LaTeX users call them "packages", DTP users "plug-ins"
PDF format output
ConTeXt can define the set of PDF Boxes defined by the PDF standard. It can create PDF/A and PDF/X (ISO standard) compliant outputs, and take into account PDF Print Options.
Setups
a rather common variant on macros, with usefull properties.
Dummy text

Additional tools

From LaTeX to ConTeXt
Particular tricks that are useful for moving from LaTeX to ConTeXt.
Posting on arxiv.org
How to submit ConTeXt documents to [1], the worldwide, heavily used physics (and now mathematics and computer science) open-access preprint server.
Sharing graphics
Export MetaPost drawings as PDF, import MetaPost drawings into MS Office, LibreOffice, etc.
Write to an external document
during ConTeXt processing.
Running ConTeXt without a shell
to generate documents via web services, or use a scheduled batch process.
Shell scripts
while context and mtxrun already automate a lot, bash scripts can help.
starttexdefinition
The starttexdefinition uses the start…stop syntax to define new control sequences.
Purge auxiliary files and local default parameters (2013).
Unexpected behavior
If ConTeXt appears to behave in a counterintuitive way, chances are that it’s actually your intuitions that lack calibration.
LuaTeX callbacks

Older informations