Re: [NTG-context] context with mavericks: broken

2013-11-19 Thread Hans Hagen
On 11/19/2013 7:52 AM, Otared Kavian wrote: Hi Andrea, According to Wolfgang Schuster and some others removing the file Skia.ttf may solve the problem. Please read the thread no, it's a ruby issue (mkii related) switching to mkiv solves the problem http://www.ntg.nl/pipermail/ntg-context/2

Re: [NTG-context] How to use local layout parameters (instead of global ones)?

2013-11-19 Thread Géry Ogam
> \definemeasure[h1][1.2\measured{w1}+26mm] > \definemeasure[h2][1.2\measured{w2}+26mm] \measured gives me this error (*Undefined control sequence*): *\17>>h1 ^^@-1.2\measured* * {w1}+26mm* *\measure ...sname \csname \??measure #1\endcsname* *

Re: [NTG-context] context with mavericks: broken

2013-11-19 Thread Taco Hoekwater
On 19 Nov 2013, at 10:25, Hans Hagen wrote: > On 11/19/2013 7:52 AM, Otared Kavian wrote: >> Hi Andrea, >> >> According to Wolfgang Schuster and some others removing the file >> Skia.ttf may solve the problem. >> Please read the thread > > no, it's a ruby issue (mkii related) Mavericks' ruby

Re: [NTG-context] How to use local layout parameters (instead of global ones)?

2013-11-19 Thread Hans Hagen
On 11/19/2013 11:20 AM, Géry Ogam wrote: > \definemeasure[h1][1.2\measured{w1}+26mm] \definemeasure[h2][1.2\measured{w2}+26mm] then use \dimexpr\measure{w2}\relax \measured gives me this error (/Undefined control sequence/): old context Hans

[NTG-context] windows 64 bit

2013-11-19 Thread Hans Hagen
Hi, Thanks to Akira and Mojca the garden now ships 32 as well as 64 bit native windows binaries. I adapted the mtx-update scripts and setuptex and these are now included. If your machine is 64 bit, and the bins are 32 bit, one option is to -- run first-setup once -- then run first-setup with

Re: [NTG-context] context with mavericks: broken

2013-11-19 Thread Andrea Valle
Akira Kakuto suggested me this: Please add a line #encoding: ASCII-8BIT at the top of /usr/local/texlive/2013/texmf-dist/scripts/context/ruby/base/switch.rb that fixed my problem, which is related to the texlive distro according to Hans, which is older than current thanks to all! -a- PS: btw

Re: [NTG-context] context with mavericks: broken

2013-11-19 Thread Andrea Valle
> but is mkII intended as a leggy support? legacy! :) damn corrector > > > -- > Andrea Valle > -- > CIRMA - StudiUm > Università degli Studi di Torino > --> http://www.cirma.unito.it/andrea/ > -->

Re: [NTG-context] context with mavericks: broken

2013-11-19 Thread Hans Hagen
On 11/19/2013 11:40 AM, Andrea Valle wrote: PS: btw, should I consider to switch to MkIV? I mean, at the moment I’m not interested into Lua capabilities, but is mkII intended as a leggy support? it will stay but unchanged ... eventually the minimals will default to luatex only (leaner and mea

Re: [NTG-context] Unexpected behaviour of enumeration in mkiv

2013-11-19 Thread Thomas Möbius
2013/11/18 Wolfgang Schuster : > > Am 15.11.2013 um 17:02 schrieb Thomas Möbius : > >> Hi, >> >> please have a look at the minimal example at the bottom. I am >> typesetting theorems and lemmata which are numbered consecutively >> within chapters in a book. I used the same code for a document >>

Re: [NTG-context] (critical edition) nesting linenotes

2013-11-19 Thread Pablo Rodriguez
On 11/18/2013 11:25 PM, Hans Hagen wrote: > [...] > \unexpanded\def\doCritApp#1#2#3% >{\startlinenote[#1]{#2 #3}(#2)\stoplinenote[#1]} > > \newcounter\MyCounter > \unexpanded\def\CritApp >{\doglobal\increment\MyCounter > \normalexpanded{\doCritApp{Varia:\MyCounter}}} > [...] > so, in y

Re: [NTG-context] context with mavericks: broken

2013-11-19 Thread Andrea Valle
thanks, got it -a- -- Andrea Valle -- CIRMA - StudiUm Università degli Studi di Torino --> http://www.cirma.unito.it/andrea/ --> http://www.fonurgia.unito.it/andrea/ --> http://www.flickr.com/photos/vand

[NTG-context] (critical edition) verses and margin data ranges in page

2013-11-19 Thread Pablo Rodriguez
Hi Thomas, I guess it might be interesting to have the following feature: a command that prints the range of lines on the page. \setupheadertexts[firstlineinpage--lastlineinpage] \getmarking[chapter] \starttext \startlinenumbering \dorecurse{200}{This is verse number \recurselevel.\\} \stoplinen

[NTG-context] (critical edition) counter range in page

2013-11-19 Thread Pablo Rodriguez
Hi Thomas, after thinking about the issue I wrote in my last message, I guess that implementing a general method with any counter could be better. I mean, implement three commands that could be applied to any counter: \getrangeinpage: first--last counter in page. \getfirstinpage: first c

[NTG-context] Space before chapters

2013-11-19 Thread Jan Tosovsky
Dear All, after two hours of investigating wiki and various commands I am giving up... Is there any way to set a bit of white space before my chapter title? (1) I've thought that before={\blank[20mm]} should do the job. It works for sections, but here I suspect it is ignored as my chapter start

Re: [NTG-context] Space before chapters

2013-11-19 Thread Hans Hagen
On 11/19/2013 9:24 PM, Jan Tosovsky wrote: Dear All, after two hours of investigating wiki and various commands I am giving up... Is there any way to set a bit of white space before my chapter title? (1) I've thought that before={\blank[20mm]} should do the job. It works for sections, but here

Re: [NTG-context] EPUB woes

2013-11-19 Thread Mica Semrick
Keith, Maybe you should explore an XML format that can be transformed directly to epub. You'd also be able to write a style sheet with ConTeXt that would out put a PDF as well. I think TEI-Lite is a good starting point. Since you can make your own commands in ConTeXt, it will never be able to int

Re: [NTG-context] [***SPAM***] Textile

2013-11-19 Thread Mica Semrick
Bill, With more recent version of pandoc, you can write filters for it in python. http://johnmacfarlane.net/pandoc/scripting.html On Sat, Nov 16, 2013 at 8:09 AM, Bill Meahan wrote: > To save possibly reinventing the wheel, has anyone written a filter for > processing Textile markup analogous t

[NTG-context] Linespacing in TOC

2013-11-19 Thread Jan Tosovsky
Dear All, I'd like to tweak a default TOC linespacing... I've 'invented' this: \setupcombinedlist[content][list=chapter, alternative=c] \starttext \title{Table of Contents} \setupinterlinespace[line=0.8ex] % too small, just for testing \placecontent \setupinterlinespace[line=2.75ex] %\setupint

Re: [NTG-context] Space before chapters

2013-11-19 Thread Jan Tosovsky
On 2013-11-19 Hans Hagen wrote: > On 11/19/2013 9:24 PM, Jan Tosovsky wrote: > > > > Is there any way to set a bit of white space before my chapter title? > > > > (1) I've thought that before={\blank[20mm]} should do the job. It > > works for sections, but here I suspect it is ignored as my chapter

Re: [NTG-context] How to use local layout parameters (instead of global ones)?

2013-11-19 Thread Géry Ogam
> then use > > \dimexpr\measure{w2}\relax It works, thank you. ___ 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/listinf

Re: [NTG-context] Linespacing in TOC

2013-11-19 Thread Hans Hagen
On 11/19/2013 11:48 PM, Jan Tosovsky wrote: Dear All, I'd like to tweak a default TOC linespacing... I've 'invented' this: \setupcombinedlist[content][list=chapter, alternative=c] \starttext \title{Table of Contents} \setupinterlinespace[line=0.8ex] % too small, just for testing \placeconten