If you wish to use TeXShop, you can set it up...in my typically kludgy way. This mimics the TeXShop setup for Context Standalone (see http://wiki.contextgarden.net/ConTeXt_Standalone/Mac_Installation) and assumes that "context" is in your regular execution path. Create a new plain-text file in ~/Library/TeXShop/Engines -- call it whatever you like -- let's say "ConTeXt-CLD.engine". Add these lines ------------CUT HERE-------------- #!/bin/bash context --forcecld "$1" ------------CUT HERE-------------- This will create a ConTeXt-CLD menu item in the popup menu on new file windows. (You may have to restart TeXShop first.) You can select it and run Peter's column program. If you like, add these three lines to the beginning of your .tex file to force TeXShop to use ConTeXt-CLD: ------------CUT HERE-------------- --[[ %!TEX TS-program = ConTeXt-CLD ]]-- ------------CUT HERE-------------- A drawback is that your cld files will be masquerading as .tex files. But you can process cld files in TeXShop if you want to. Michael On Jul 31, 2012, at 5:46 PM, Otared Kavian wrote:
Thanks Peter! It is a very nice piece of code, but could this be included in a TeX file? (Otherwise one cannot use something like TeXShop on a Mac to typeset the file).
Best regards: OK
On 31 juil. 2012, at 18:23, Peter Münster
wrote: On Tue, Jul 31 2012, Otared Kavian wrote:
Can you give please an example showing how to use your code?
Save it in "test.cld", then run "context test.cld". Then open "test.pdf" in a PDF-viewer.
-- Peter ___________________________________________________________________________________ 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 ___________________________________________________________________________________
___________________________________________________________________________________ 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 ___________________________________________________________________________________
________________________________ This e-mail message (including any attachments) is for the sole use of the intended recipient(s) and may contain confidential and privileged information. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message (including any attachments) is strictly prohibited. If you have received this message in error, please contact the sender by reply e-mail message and destroy all copies of the original message (including attachments).