Open main menu
(articles and modules)
m (Direct link to article)
 
(17 intermediate revisions by 2 users not shown)
Line 3: Line 3:
 
== PracTeX Journal ==
 
== PracTeX Journal ==
  
* Creating homework assignments in ConTeXt [http://www.tug.org/pracjourn/2006-4/mahajan]
+
* [http://www.tug.org/pracjourn/2006-4/mahajan Creating homework assignments in ConTeXt]
  
 
== MAPS ==
 
== MAPS ==
  
 
* [http://www.ntg.nl/maps/34/06.pdf Display math in ConTeXt] (also available as a [http://dl.contextgarden.net/myway/context-latex-math.pdf My Way])
 
* [http://www.ntg.nl/maps/34/06.pdf Display math in ConTeXt] (also available as a [http://dl.contextgarden.net/myway/context-latex-math.pdf My Way])
* [http://www.ntg.nl/maps/36/10.pdf Theorems in ConTeXt]
+
* [http://www.ntg.nl/maps/36/09.pdf Theorems in ConTeXt]
 +
* [http://www.ntg.nl/maps/38/07.pdf TeX Programming: The past, the present, and the future]
  
 
== TUGBoat ==
 
== TUGBoat ==
  
source of articles is available at [http://github.com/adityam/tugboat-articles github]
+
source of articles is available at [http://github.com/adityam/context-articles github]
  
 
* [http://www.tug.org/TUGboat/Articles/tb28-2/tb89mahajan.pdf Font Styles] (wikified as [[Font Switching]])
 
* [http://www.tug.org/TUGboat/Articles/tb28-2/tb89mahajan.pdf Font Styles] (wikified as [[Font Switching]])
 
* [http://www.tug.org/TUGboat/Articles/tb28-3/tb90mahajan.pdf Table macros]
 
* [http://www.tug.org/TUGboat/Articles/tb28-3/tb90mahajan.pdf Table macros]
 
* [http://www.tug.org/TUGboat/Articles/tb29-1/tb91mahajan.pdf Table macros II ]
 
* [http://www.tug.org/TUGboat/Articles/tb29-1/tb91mahajan.pdf Table macros II ]
* http://www.tug.org/TUGboat/Articles/tb29-2/tb92mahajan.pdf Indentation]
+
* [http://www.tug.org/TUGboat/Articles/tb29-2/tb92mahajan.pdf Indentation] (was wikified as [http://wiki.contextgarden.net/index.php?title=Indentation&oldid=19637 Indentation])
 
* [https://www.tug.org/members/TUGboat/tb30-2/tb95mahajan-cmath.pdf Integrating Unicode and OpenType math in ConTeXt ]
 
* [https://www.tug.org/members/TUGboat/tb30-2/tb95mahajan-cmath.pdf Integrating Unicode and OpenType math in ConTeXt ]
* [https://www.tug.org/members/TUGboat/tb30-2/tb95mahajan-luatex.pdf LuaTeX: A user's perspective] (wikified as [[Programming in LuaTeX]])
+
* [https://www.tug.org/members/TUGboat/tb30-2/tb95mahajan-luatex.pdf LuaTeX: A user's perspective] (was wikified as [http://wiki.contextgarden.net/index.php?title=Programming_in_LuaTeX&oldid=13347 Programming in LuaTeX])
 +
* [http://www.tug.org/TUGboat/tb31-1/tb97mahajan.pdf Conditional processing] (wikified as [[Modes]])
 +
* [http://www.tug.org/TUGboat/tb32-2/tb101mahajan.pdf Paper setup] (wikified as [[PaperSetup]])
 +
* [https://www.tug.org/TUGboat/tb34-1/tb106mahajan.pdf Images] (wikified as [[Using Graphics]])
  
 
== My Way ==
 
== My Way ==
 
* [http://dl.contextgarden.net/myway/mathalign.pdf Using \startalign and friends]
 
* [http://dl.contextgarden.net/myway/mathalign.pdf Using \startalign and friends]
* [http://dl.contextgarden.net/myway/mathalign.pdf Extensible arrows in ConTeXt ]
+
* [http://dl.contextgarden.net/myway/matharrows.pdf Extensible arrows in ConTeXt]
 
* [http://dl.contextgarden.net/myway/context-latex-math.pdf Display math in ConTeXt]
 
* [http://dl.contextgarden.net/myway/context-latex-math.pdf Display math in ConTeXt]
  
Line 30: Line 34:
 
* [http://modules.contextgarden.net/vim Vim syntax highlighting]
 
* [http://modules.contextgarden.net/vim Vim syntax highlighting]
 
* [http://modules.contextgarden.net/mathsets Math sets]
 
* [http://modules.contextgarden.net/mathsets Math sets]
* [http://modules.contextgarden.net/simpleslides Math sets] (also at github [http://github.com/adityam/simple-slides])
+
* [http://modules.contextgarden.net/simpleslides Simpleslides] (also at [http://github.com/adityam/simple-slides github])
 +
* [http://modules.contextgarden.net/filter Running external filters] (also at [http://github.com/adityam/filter github])
  
 
= Random notes =
 
= Random notes =
Line 116: Line 121:
 
[[Image:Screenshot-Terminal.png]]
 
[[Image:Screenshot-Terminal.png]]
  
== Bugs in Auctex ConTeXt mode ==
 
{{note| These are temporary notes on the bugs that I have found in the ConTeXt mode of Auctex. I will post them to the emacs mailing list when I am bit more comfortable with emacs --[[User:Adityam|Aditya]] }}
 
  
* Esc-q does not format correctly inside a \startbuffer ... \stopbuffer environment. If you press Esc-q, then the contents of the environment are intented, while they should not be
+
= TODO =
  
== To-do list for vim module ==
+
== Buffers ==
  
* Say in the documentation that write18 should be enabled.
+
Combine the different info about buffers
* Say in the documentation that you get colored output only if you enable colors
+
* [[Buffers in LuaTeX]]
 +
* [http://tex.stackexchange.com/a/70026/323 Answer on TeX.SE ]

Latest revision as of 20:11, 20 August 2016

Articles on ConTeXt

ConTeXt modules

Random notes

These are some notes on things missing in ConTeXt math support

  • In
\startformula \startalign[m=2,distance=...]

there is no way to divide the space equally between left, middle, and right sides.

  • Why do we have
\predisplaypenalty     = \zerocount

in core-mat.tex? Plain TeX defaults to 10,000. A zero value leads to orphan equations.


  • Pr has wrong limits.
\startformula
  \Pr^g(x)
\stopformula

 

This is also wrong in plain tex.

  • Splitting of equations across pages should be configurable. Right now either you can make the equation split anywhere, or not split at all. There needs to be some way of specifying what are "good" places to split across a page. This can be done by adding a penalty inside a \noalign after each \cr in \halign, and let a macro configure the amount of penalty.
  • The current math alignment macros do not take care of proper placement of equation numbers. Equation number just get placed at the beginning or end of the line, without checking if there is space in the line or not. Maybe the only correct way to do this is following what amsmath does: use a two pass mechanism, the first pass measures the width of each line, and the second pass places the formula. (See the placecontent macros used in tabulations)
  • Add stackrel to core-mat.tex
  • Correct the dostartmathmatrix macro.
  • Support a configuration for limits or nolimits in front of int and relatives.
  • Change the unicode characters for double integral and colonsim
  • Should startsubstack have cramped style?
  • Add stackrel to core-mat.

Zsh completion

Below is quick zsh completion script for texexec. You must be using zsh to use this file. Save the file somewehre, and add source <filename> in your .zshrc.

 texexec_completer() {
   local expl 
 
   _description files expl 'TeX File'
   _files "$expl[@]" -g '*.tex'
 
   _arguments -s : \
     '--check[check versions]' \
     '--figures[generate overview of figures]' \
     '--listing[list of file content]' \
     '--make[make formats]' \
     '--modules[generate module documentation]' \
     '(--mpgraphic --mpstatic)'{--mpgraphic,--mpstatic}'[process mp file to stand-alone graphics]' \
     '--mptex[process mp file]' \
     '--mpxtex[process mpx file]' \
     '(--pdfarrange --pdfcombine --pdfcopy --pdfselect --pdfsplit --pdftrim)'{--pdfarrange,--pdfcombine,--pdfcopy,--pdfselect,--pdfsplit,--pdftrim}'[post process a pdf file]' \
     '--process[process file]' \
     '--help[produce a summary of all switches and arguments]' \
     '(--alpha --beta)'{--alpha,--beta}'[run test release of ConTeXt]' \
     '(--arrange --noarrange)'{--arrange,--noarrange}'[process and arrange]' \
     '(--automprun,--nomprun)'{--automprun,--nomprun}'[intermediate MP run]' \
     '(--batchmode --nonstopmode --nompmode --silendmode)'{--batchmode,--nonstopmode,--nompmode,--silentmode}'[Modes]' \
     '(--keep,--purge,--purgeall)'{--purge,--purgeall,--keep}'[temporary file handling]' \
     '(--pdftex --luatex --xetex)'{--pdftex,--luatex,--xetex}'[TeX engine]' \
     '--color[enable color (when not yet enabled)]' \
     '(--once --simplerun)'{--once,--simplerun} \
     '--verbose[Give detailed information]' \
     '--final[add a final run without skipping]' \
     '(--centerpage --markings --mkii --paranoid --pretty --screensaver --texutil --utfbom --xpdf --combine --draft --fast --fastdisabled --forcempy--forcetexutil--forcexml --fullscreen --local --alone--nobackend--nobanner--noctx--noduplex--nomapfiles--notparanoid)'{--centerpage,--markings,--mkii,--paranoid,--pretty,--screensaver,--texutil,--utfbom,--xpdf,--combine,--draft,--fast,--fastdisabled,--forcempy,--forcetexutil,--forcexml,--fullscreen,--local,--alone,--nobackend,--nobanner,--noctx,--noduplex,--nomapfiles,--notparanoid}
 }
 
 compdef texexec_completer texexec

This is what the output looks like, after pressing <tab> after texexec.

 


TODO

Buffers

Combine the different info about buffers