Re: [NTG-context] way=bychapter not working for enumerations in mkiv
Hello Hans, Excerpts from Hans Hagen's message of Thu Sep 17 17:05:18 +0200 2009: > > the following example works in MkII but not in MkIV as expected: > > > > \defineenumeration[test][% > > way=bysection, > > location=left, > > text=Test] > > for the moment use: > > \defineenumeration[test] > > \setupenumeration[test][% >way=bysection, >location=left, >text=Test] This gives ... language: language en is active ! Undefined control sequence. l.3 \setupenumeration [test][% using the current minimals. Replacing \setupenumeration by \setupenumerations fixes this but does not give the same result as before. Cheers Olaf ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] way=bychapter not working for enumerations in mkiv
Hi list, the following example works in MkII but not in MkIV as expected: \defineenumeration[test][% way=bysection, location=left, text=Test] \starttext \section{One} \starttest \input knuth \stoptest \section{Two} \starttest \input knuth \stoptest \stoptext In MkII I get 1.1 and 2.1 but MkIV gives 1 and 2. Cheers Olaf ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Pagenumbering of appendices
* Derek CORDEIRO [090911 07:51]: > On Thu, Sep 10, 2009 at 9:10 PM, > wrote: > > I've been trying to turn off the conversion of page numbers to roman > > numerals in my appendix without any luck. Here is a minimal example: > > > > \setuppagenumbering[way=bytext,location={bottom, right}] > > \startsectionblockenvironment[bodypart] > >\setuppagenumber[number=1, state=start] > > \stopsectionblockenvironment > > \startsectionblockenvironment[appendix] > > > > \setupuserpagenumber[numberconversion=numbers] > > \setuppagenumbering is still used for the other parameters below. Thanks for the hint. Never saw \setupuserpagenumber[] before. > Please refer to this thread: > http://www.ntg.nl/pipermail/ntg-context/2009/043284.html for a related > discussion. I tried to run an expanded version of the minimal example Wolfgang provided with the current minimals and it gave the following error: ... systems : begin file simple at line 24 structure : begin of sectionblock frontpart structure : title @ level 2 : 0.0 -> \headtext {content} ! LuaTeX error ...0910/tex/texmf-context/tex/context/base/strc-pag.lua:104: bad argument #3 to 'format' (string expected, got table) stack traceback: [C]: in function 'format' ...0910/tex/texmf-context/tex/context/base/strc-pag.lua:104: in function 'number' ...0910/tex/texmf-context/tex/context/base/strc-pag.lua:172: in function 'prefixpage' ...0910/tex/texmf-context/tex/context/base/strc-lst.lua:399: in function 'prefixedpage' :1: in main chunk. The example is: \definestructureconversionset[frontpart:pagenumber] [] [romannumerals] \definestructureconversionset[bodypart:pagenumber] [] [numbers] \definestructureconversionset[appendix:pagenumber] [] [numbers] \definestructureconversionset[backpart:pagenumber] [] [numbers] \startstructureblockenvironment[frontpart] \setupuserpagenumber[numberconversion=romannumerals] \setuppagenumber[number=1] \stopstructureblockenvironment \startstructureblockenvironment[bodypart] \setupuserpagenumber[numberconversion=numbers] \setuppagenumber[number=1] \stopstructureblockenvironment \startstructureblockenvironment[appendix] \setupuserpagenumber[numberconversion=numbers] \stopstructureblockenvironment \startstructureblockenvironment[backpart] \setupuserpagenumber[numberconversion=numbers] \stopstructureblockenvironment \starttext \startfrontmatter \completecontent[criterium=all] \chapter{Front} \input tufte \stopfrontmatter \startbodymatter \chapter{Body} \input knuth \stopbodymatter \startappendices \chapter{Appendix} \input knuth \stopappendices \startbackmatter \chapter{Back} \input knuth \stopbackmatter \stoptext The original gave the same error for me. Any help in debugging this would be appreciated. Cheers, Olaf ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] ConTeXt on FreBSD (was: missing *8t.tfm files)
> - Giorgos Keramidas <[EMAIL PROTECTED]> [070828 10:37]: > On 2007-08-27 14:47, Martin Schr?der <[EMAIL PROTECTED]> wrote: > > 2007/8/27, Mojca Miklavec <[EMAIL PROTECTED]> : > >> On 8/27/07, Giorgos Keramidas wrote: > >>> I will, but I'm afraid I am not good enough for "porting" it to the > >>> FreeBSD ports. > >> > >> Doesn't something already exist on the link above (I didn't read > >> carefully and I wasn't sure about the FreeBSD/OpenBSD relation)? > > > > OpenBSD has a port in current (it will make 4.3, to be released in > > 2008-05). FreeBSD clings to tetex. :-{ > > Maybe with enough support from the Ports team of FreeBSD, we can switch > from teTeX to TeXLive? But this is a plan which requires quite a bit of > work from experienced TeXhackers, which I am not :-/ As far as I can tell it's the sheer size of TexLive that is keeping it from being ported. I would think it is not trivial to modularize it enough to bring the installed size down. What I am thinking about is building a minimal context port. This should be easier to accomplish since we already have a minimal texmf tree thanks to Hans. All that is needed is a source for the FreeBSD binaries. These could be built out of the TexLive source tree... I'll try to cook something up the next couple of days. Cheers, Olaf ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] ConTeXt on FreBSD (was: missing *8t.tfm files)
> - Mojca Miklavec <[EMAIL PROTECTED]> [070827 16:16]: > OK, so here is what you need to do to install the non-existing "minimals": > > Step 1: download from PRAGMA: > > wget -c http://www.pragma-ade.com/context/install/justtex.zip > wget -c http://www.pragma-ade.com/context/install/linuxtex.zip > > unzip justtex.zip > unzip linuxtex.zip > > Step 2: download binaries from TeXLive 2007 and prepare a freebsd binary > folder > *snip* I do this regularly (including building luatex from svn). If there is enough demand for it, I can put together a freebsdtex.zip for the wiki. Cheers, Olaf ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] ConTeXt on FreBSD (was: missing *8t.tfm files)
> - Mojca Miklavec <[EMAIL PROTECTED]> [070827 16:16]: > > OK, so here is what you need to do to install the non-existing "minimals": > > > > Step 1: download from PRAGMA: > > > > wget -c http://www.pragma-ade.com/context/install/justtex.zip > > wget -c http://www.pragma-ade.com/context/install/linuxtex.zip > > > > unzip justtex.zip > > unzip linuxtex.zip > > > > Step 2: download binaries from TeXLive 2007 and prepare a freebsd binary > folder > > *snip* I do this regularly (including building luatex from svn). If there is enough demand for it, I can put together a freebsdtex.zip for the wiki. Cheers, Olaf ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] strange text/math spacing
Hi Vyatcheslav, > - Vyatcheslav Yatskovsky <[EMAIL PROTECTED]> [070222 14:17]: > Hi, > > I found a small but annoying thing about math. When I typeset > in-line formula like '...a vector of $a_x$ is...', it creates too > little space between 'of' and succeeding lowercase math > symbol. I cannot reproduce your problem. Take a look at this minimal example: %% Pick one of the following for different types of bounding boxes. %\def\boxit#1{{#1}} %\def\boxit#1{\hbox{#1}} \def\boxit#1{\hbox{\strut #1}} \showmakeup \starttext The absolute value of \boxit{a} is positive.\crlf The absolute value of \boxit{\it a} is positive.\crlf The absolute value of \boxit{$a$} is positive.\crlf The absolute value of \boxit{b} is positive.\crlf The absolute value of \boxit{\it b} is positive.\crlf The absolute value of \boxit{$b$} is positive.\crlf The absolute value of \boxit{A} is positive.\crlf The absolute value of \boxit{\it A} is positive.\crlf The absolute value of \boxit{$A$} is positive.\crlf The absolute value of \boxit{B} is positive.\crlf The absolute value of \boxit{\it B} is positive.\crlf The absolute value of \boxit{$B$} is positive.\crlf \stoptext The distance between the 'of' and the following letter is the same for a math mode $a$ or a regular roman a. Only if we switch to italics is a little extra space added. At least for my eye the letters are evenly spaced. HTH Olaf ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Rescaling pages
Hi List, I have a booklet typset on A5 paper with an A5 pagesize (one page per sheet). The printer-shop wants the pages enlarged to A4, so that they can scale them back down to A5 and imposition 2 on an A4 sheet. Don't ask me why they want this. I don't know. Is it possible to easily do this from within context or what are my options? Any help would be appreciated. Sincerely, Olaf ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Difficulties using the r module
Hi Hans, * Hans Hagen <[EMAIL PROTECTED]> [060702 13:25]: > one problem could be that R has this piping; i wonder why a program that > takes a 50 meg installation does not support something --output or i > must have missed something R does support redirecting output to a file. Use R CMD BATCH [options] -- Olaf ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Problems with columnsets and \startbackground \stopbackground
Hi list, I have some wierd interactions between a columnset and \start- / \stopbackground. cut here \setuppapersize [A4, landscape] [A4, landscape] \setupcolors [state=start] \setupbackground [background=screen, frame=on, frameoffset=2pt, backgroundoffset=2pt] \setuphead [section] [style={\ss\bf}, before={\startbackground}, after={\stopbackground}] \definecolumnset [foo] [n=2] \starttext \startcolumnset[foo] \subject{ABC} \input tufte \input knuth One more line and {\em BOOM} - it's broken.\crlf Here we go. 3 2 1 -- page break! \subject{DEF} \input knuth \stopcolumnset \stoptext cut here The second \subject{} causes a page break instead of wrapping into the second column. Is this a bug, or am I missing something when using \start- / \stopbackground? Would this go away if I where to use a MP graphic for the background? Thanks for any help. -- Olaf ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context