Re: [NTG-context] Problems with current experimental branch

2011-03-22 Thread Andreas Harder
Am 22.03.2011 um 14:07 schrieb Hans Hagen:On 22-3-2011 1:01, Andreas Harder wrote:I don't know it its legible to post problems with the current experimental, so tell me if its not.What exactly is current experimental? Works ok here the real experimental -)I tried again with the one from

[NTG-context] Problems with current experimental branch

2011-03-22 Thread Andreas Harder
Hi Hans, I don't know it its legible to post problems with the current experimental, so tell me if its not. 1) With OpenType math fonts italic will not work. \setupbodyfont[asana] % \setupbodyfont[cambria] % \setupbodyfont[xits] % \setupbodyfont[euler] \starttext {\it test} \stoptext 2) Actua

Re: [NTG-context] $n\choose k$-issue with OpenType math fonts

2011-03-13 Thread Andreas Harder
Am 13.03.2011 um 16:51 schrieb Aditya Mahajan: > On Sun, 13 Mar 2011, Andreas Harder wrote: > >> I'm afraid, I don't get it. Here is what I tried: >> I copied all stack-relevant values from asana-math.tma and put them in = >> the return section of the goodie

Re: [NTG-context] $n\choose k$-issue with OpenType math fonts

2011-03-13 Thread Andreas Harder
Am 06.03.2011 um 15:33 schrieb Hans Hagen: > On 6-3-2011 1:22, Andreas Harder wrote: > >> I don't know the best value either, but et least one could manipulate it. > > the next beta will support parameter overload in the goodies > >parameters = { -- tes

Re: [NTG-context] change interwordspace twice

2011-03-12 Thread Andreas Harder
Am 12.03.2011 um 17:00 schrieb Wolfgang Schuster: > > Am 12.03.2011 um 13:04 schrieb Andreas Harder: > >> Am 12.03.2011 um 10:01 schrieb Steffen Wolfrum: >> >>> Is there only one "space" or s is possible to set more fine-tuned valu

Re: [NTG-context] change interwordspace twice

2011-03-12 Thread Andreas Harder
Am 12.03.2011 um 10:01 schrieb Steffen Wolfrum: > > Am 11.03.2011 um 19:56 schrieb Wolfgang Schuster: > >> >> Am 11.03.2011 um 12:36 schrieb Steffen Wolfrum: >> >>> Hi, >>> >>> one time it works, the second it doesn't: >>> >>> \starttext >>> >>> \interwordspace 20.7pt Big Space >>> >>> \p

Re: [NTG-context] $n\choose k$-issue with OpenType math fonts

2011-03-06 Thread Andreas Harder
Am 06.03.2011 um 15:33 schrieb Hans Hagen: > On 6-3-2011 1:22, Andreas Harder wrote: > >> I don't know the best value either, but et least one could manipulate it. > > the next beta will support parameter overload in the goodies > >parameters = { -- tes

Re: [NTG-context] $n\choose k$-issue with OpenType math fonts

2011-03-06 Thread Andreas Harder
Am 06.03.2011 um 12:54 schrieb Hans Hagen: > On 6-3-2011 1:25, Andreas Harder wrote: >> >> Am 04.03.2011 um 15:28 schrieb Hans Hagen: >> >>> On 4-3-2011 2:09, Andreas Harder wrote: >>>> Hi all, >>>> >>>> I'm (re)tying to

Re: [NTG-context] $n\choose k$-issue with OpenType math fonts

2011-03-05 Thread Andreas Harder
Am 04.03.2011 um 15:28 schrieb Hans Hagen: > On 4-3-2011 2:09, Andreas Harder wrote: >> Hi all, >> >> I'm (re)tying to draw some attention to the $n\choose k$-issue with OpenType >> math fonts. >> >> I've made some test files: >> http://d

Re: [NTG-context] $n\choose k$-issue with OpenType math fonts

2011-03-04 Thread Andreas Harder
Am 04.03.2011 um 15:28 schrieb Hans Hagen: > On 4-3-2011 2:09, Andreas Harder wrote: >> Hi all, >> >> I'm (re)tying to draw some attention to the $n\choose k$-issue with OpenType >> math fonts. >> >> I've made some test files: >> http://d

[NTG-context] $n\choose k$-issue with OpenType math fonts

2011-03-04 Thread Andreas Harder
Hi all, I'm (re)tying to draw some attention to the $n\choose k$-issue with OpenType math fonts. I've made some test files: http://dl.dropbox.com/u/151837/OpenType-Math.7z The best output is generated by LuaLaTeX (at least for Asana and Cambria). Would it be possible to correct the ConTeXt o

Re: [NTG-context] Comma spacing in math mode

2011-02-27 Thread Andreas Harder
Am 28.02.2011 um 00:14 schrieb Aditya Mahajan: > On Mon, 28 Feb 2011, Mojca Miklavec wrote: > >> On Sun, Feb 27, 2011 at 23:49, Stefan Müller wrote: >>> Hi! >>> >>> On 27.02.2011 20:58, Aditya Mahajan wrote: On Sun, 27 Feb 2011, S Barmeier wrote: > I don't know if anyone f

Re: [NTG-context] \definelistplacement + margin

2011-02-27 Thread Andreas Harder
Am 27.02.2011 um 12:13 schrieb Wolfgang Schuster: > > Am 27.02.2011 um 12:02 schrieb Andreas Harder: > >> I'm aware of this, but the benefit of \definelistplacement is that >> interaction can be used. > > If interaction is the important factor i suggest to ad

Re: [NTG-context] \definelistplacement + margin

2011-02-27 Thread Andreas Harder
Am 27.02.2011 um 11:58 schrieb Wolfgang Schuster: > > Am 26.02.2011 um 20:46 schrieb Andreas Harder: > >> Hi all, >> >> please have a look at the following example. The first chapter entry in the >> table of contents looks good, but the following entries

[NTG-context] \definelistplacement + margin

2011-02-26 Thread Andreas Harder
Hi all, please have a look at the following example. The first chapter entry in the table of contents looks good, but the following entries adopt the margin setting from \setuplist[section][margin=3em] and I can't get rid of it … Any hint? \definelistplacement[ChapListItem][none]#1#2#3% {\in

Re: [NTG-context] Float option “top” affects page break (on following pages)

2011-02-24 Thread Andreas Harder
Am 24.02.2011 um 14:15 schrieb Andreas Harder: > Hi all, > > consider the following example. > > \starttext \showgrid > Try to comment the \tex{placefigure} command, there will be 40 lines on the > second page. If you uncomment it again there are 41 lines! > \

Re: [NTG-context] How to disable hyphenation?

2011-02-24 Thread Andreas Harder
Am 24.02.2011 um 14:05 schrieb Cecil Westerhof: > I have a Dutch document where I use the word genereren. Because it is on the > end of the line ge- is put on the end and nereren is put on the beginning of > the next line. I find this quit ugly. Can I disable hyphenation, or let it > behave mo

[NTG-context] Float option “top” affects page break (on following pages)

2011-02-24 Thread Andreas Harder
Hi all, consider the following example. \starttext \showgrid Try to comment the \tex{placefigure} command, there will be 40 lines on the second page. If you uncomment it again there are 41 lines! \placefigure[top,nonumber]{}{\externalfigure[dummy]} \page \dorecurse{30}{line \recursel

Re: [NTG-context] increase space on the left of pages included using \copypages

2011-02-23 Thread Andreas Harder
Am 23.02.2011 um 16:27 schrieb Aditya Mahajan: > On Wed, 23 Feb 2011, Curiouslearn wrote: > >> I will try to do this using lua loop. I should learn it. I am learning >> so many new things currently that I have not had a chance to learn >> Lua. >> >> I was wondering if Aditya's filter module cou

[NTG-context] itemize in smaller font size

2011-02-21 Thread Andreas Harder
Hi all, consider the following example. I there a proper way to hook \tfxx in an itemize environment? \starttext \showframe \startitemize[n,packed][before=\tfxx,distance=5em] \dorecurse{12}{\item test} \stopitemize Desired output is: \tfxx \startitemize[n,packed][distance=5em]

Re: [NTG-context] grid=verytolerant causes overlapping

2011-02-11 Thread Andreas Harder
Am 11.02.2011 um 15:55 schrieb Wolfgang Schuster: > > Am 11.02.2011 um 15:32 schrieb luigi scarso: > >>> There is no grid option “verytolerant”. >> true, the same with >> \setuplayout[grid=ztolerant] >> If I recall correctly there a way to see the in the log. > > Depends on the commands, somet

Re: [NTG-context] grid=verytolerant causes overlapping

2011-02-11 Thread Andreas Harder
Am 11.02.2011 um 15:08 schrieb luigi scarso: > On Fri, Feb 11, 2011 at 2:55 PM, Andreas Harder > wrote: >> >> Am 11.02.2011 um 14:46 schrieb luigi sc >> arso: >> >>> On Fri, Feb 11, 2011 at 2:33 PM, Andreas Harder >>> wrote: >&g

Re: [NTG-context] grid=verytolerant causes overlapping

2011-02-11 Thread Andreas Harder
Am 11.02.2011 um 14:46 schrieb luigi sc test-toc-on-grid.pdf Description: Adobe PDF document arso: > On Fri, Feb 11, 2011 at 2:33 PM, Andreas Harder > wrote: >> Hi all, >> >> if one sets the grid option to verytolerant the list entries overlap. Is >> this

[NTG-context] gridsnapping question

2011-02-11 Thread Andreas Harder
Hello, I've another grid question: What is the goal of all the grid options? It seems that neither the head nor the following text is aligned to the grid. I've adapted the grid-001-example. \setuppapersize[A5][A5] \setuplayout[grid=tolerant] \setupbodyfont[palatino] \def\ChapterTest#1% {\se

[NTG-context] grid=verytolerant causes overlapping

2011-02-11 Thread Andreas Harder
Hi all, if one sets the grid option to verytolerant the list entries overlap. Is this a but or did I miss something? \setuppapersize[A5][A5] % \setuplayout[grid=yes] % OK % \setuplayout[grid=tolerant] % OK \setuplayout[grid=verytolerant] % -> overlapping \setupheads[expansion=yes] \starttext

Re: [NTG-context] Speech bubbles

2011-02-08 Thread Andreas Harder
Am 08.02.2011 um 16:44 schrieb Wolfgang Schuster: > > Am 08.02.2011 um 13:09 schrieb Philipp A.: > >> @wolfgang: was my example helpful? > > Your example doesn’t work and I’m not interested to look into the manual how > to fix it. This worked for me. tikz-speechbubbles.tex Description: Bi

Re: [NTG-context] chapter head and placelist

2011-02-05 Thread Andreas Harder
Hi,you could play with my attached example. head-with-subtitle.tex Description: Binary data Nearly the same is wikified under http://wiki.contextgarden.net/Generate_Authorlist_from_Head_Content Greeting AndreasAm 05.02.2011 um 02:13 schrieb Jeong Dalyoung:Dear all,The otherday, I asked about three

Re: [NTG-context] error updating beta WAS: beta

2011-02-01 Thread Andreas Harder
Am 01.02.2011 um 16:47 schrieb Hans Hagen: > On 1-2-2011 4:41, luigi scarso wrote: >> On Tue, Feb 1, 2011 at 4:34 PM, Marco wrote: >>> BTW: Is it possible to only build mkiv and the english interface? Maybe by >>> passing some options to first-setup.sh? I never need other interfaces and >>> hard

[NTG-context] Conversion sets broken with newest beta

2011-02-01 Thread Andreas Harder
Hi, \starttext \startitemize[set 2] \item test \item test \item test \stopitemize \stoptext stops with ! Undefined control sequence. \@@cvset 2 ->\docheckedconversion … Can someone confirm? Greeting Andreas _

Re: [NTG-context] beta/problem with layers

2011-02-01 Thread Andreas Harder
Am 01.02.2011 um 12:11 schrieb Wolfgang Schuster: > > Am 01.02.2011 um 11:43 schrieb Andreas Harder: > >> Hi, >> >> it seems there go something wrong with layers. > > With the last beta context postpones font loading till \starttext. > > As there is

[NTG-context] beta/problem with layers

2011-02-01 Thread Andreas Harder
Hi, it seems there go something wrong with layers. \definelayer[test-layer][width=\paperwidth,height=\paperheight] \setlayer[test-layer][preset=middle]{why is this text not visible?} \setlayerframed [test-layer] % [preset=topright] [width=5cm,height=3cm,background=color,backgroundcolor=red

Re: [NTG-context] new beta

2011-01-25 Thread Andreas Harder
Am 25.01.2011 um 21:18 schrieb Marco Pessotto: > Hans Hagen writes: > >> - If you are adventurous you can add the following to cont-new.mkiv >> >> \enablemode[*nofonts] >> >> This will postpone font loading and will be default soon. This saves >> runtime when you use another font than l

[NTG-context] Request for delimited texts

2011-01-22 Thread Andreas Harder
Hi all, is it possible to extend the delimited texts implementation in such a way that the environment would accept optional arguments. What I have in mind is something like this: \setupdelimitedtext [quotation] [% author=Default Author, right=”\wordright{\delimitedtextparameter{author}}

[NTG-context] Problem with \nonknuthmode

2011-01-21 Thread Andreas Harder
Hi, the following seems problematic with \nonknuthmode enabled. \starttext % \nonknuthmode $x'^2$ \stoptext Greeting Andreas ___ If your question is of interest to others as well, please add an entry to the

Re: [NTG-context] style=\setff{…} deprecated?

2011-01-21 Thread Andreas Harder
Am 21.01.2011 um 14:48 schrieb Wolfgang Schuster: >> \definefontfeature[default] [default] [mode=node,onum=yes] >> \definefontfeature[plf] [default] [pnum=yes,lnum=yes] >> \definefontfeature[tlf] [default] [tnum=yes,lnum=yes] >> >> \def\plf{\groupedcommand{\setfontfeature{plf}}{}} >> \def

[NTG-context] style=\setff{…} deprecated?

2011-01-21 Thread Andreas Harder
Hi all, I have some setups like: \setupfootnotes[textstyle=\plf] or \setupitemize[style=\plf] where \plf is defined as: \definefontfeature[plf][default] [pnum=yes,lnum=yes] \def\plf{\groupedcommand{\setfontfeature{plf}}{}} With the newest beta this setup fails. For footnotes one can use textcom

Re: [NTG-context] \index{…} causes space

2010-12-24 Thread Andreas Harder
Am 24.12.2010 um 12:53 schrieb Alan BRASLAU: > On Friday 24 December 2010 11:54:17 Taco Hoekwater wrote: >>> On 12/24/2010 11:48 AM, Andreas Harder wrote: >>> \index{test}test >> >> \ignorespaces could be possibly be added to \index in your case, >>

[NTG-context] \index{…} causes space

2010-12-24 Thread Andreas Harder
Hi all, is it possible to make \index{…} more robust, so that one could set a space between command an followed word? \startTEXpage[offset=1ex] test test\vl \crlf test \index{test}test\vl \crlf % OK test \index{test} test\vl % not OK \stopTEXpage But more important, even if there isn’t a spa

[NTG-context] No references

2010-12-10 Thread Andreas Harder
Hello Hans, I've updated to todays beta and the indenting bug is gone; thanks again. But now there seems to be a problem with referencing. \starttext \placefigure[here][ref:fig]{}{} \in{Fig.}[ref:fig] \stoptext Greeting Andreas __

[NTG-context] Bugs with newest beta

2010-12-06 Thread Andreas Harder
Hello Hans, I've downloaded the newest beta, but \comments still don't work. Besides of that there is a curious indenting problem with delimited text definitions (and floats). I will attach some test files. test-comment.tex Description: Binary data test-delimitedtext-indenting.tex Descriptio

Re: [NTG-context] Which way to type greek letters in synonym list?

2010-12-06 Thread Andreas Harder
Hi! > But if I type > \nomenclature{$\alpha$}{Angle of something} Try \nomenclature[alpha]{$\alpha$}{…} Greeting Andreas ___ If your question is of interest to others as well, please add an entry to the Wiki!

[NTG-context] \comment broken

2010-12-03 Thread Andreas Harder
Hi, the compilation of \starttext test \comment{test} \stoptext stops (at least for me) with: ! LuaTeX error ...text/tex/texmf-context/tex/context/base/lpdf-wid.lua:124: attempt to call field 'collect' (a nil value) I'm using the latest beta. Greeting Andreas _

Re: [NTG-context] Another indenting problem

2010-12-03 Thread Andreas Harder
Am 03.12.2010 um 15:45 schrieb Wolfgang Schuster: > > Am 03.12.2010 um 13:03 schrieb Andreas Harder: > >> Hi all, >> >> it took me a while to track this down. It seems that if one uses \in[…] and >> \footnote{…} in the same paragraph the following \noindenta

[NTG-context] Another indenting problem

2010-12-03 Thread Andreas Harder
Hi all, it took me a while to track this down. It seems that if one uses \in[…] and \footnote{…} in the same paragraph the following \noindentation-command is ignored. Here is an example: \setupindenting[big,yes] \setupdelimitedtext[blockquote][before=\noindentation] \starttext \showframe[tex

Re: [NTG-context] Indent after Float

2010-12-01 Thread Andreas Harder
Am 01.12.2010 um 13:02 schrieb Andreas Harder: > Hi all, > > please consider the following example: > > \setupindenting[big,yes] > \setupfloats[indentnext=yes] % default: no > > \def\TestFloatPlacement#1% > {\input tufte \par > \placefigure[#1,nonumber]{place=

[NTG-context] Indent after Float

2010-12-01 Thread Andreas Harder
Hi all, please consider the following example: \setupindenting[big,yes] \setupfloats[indentnext=yes] % default: no \def\TestFloatPlacement#1% {\input tufte \par \placefigure[#1,nonumber]{place=#1}{} \dorecurse{2}{\input tufte \par} \page} \starttext \TestFloatPlacement{top} \TestFloatPl

[NTG-context] sensible math

2010-11-27 Thread Andreas Harder
Hi all, the following used to work in earlier releases \starttext $M\limits^4$ $a\!b$ % <- error (whereby $a\,b\;c$ is OK) % $\mathop{M}\limits^4$ $a\! b$ % <- workaround \stoptext Will this change again? Greeting Andreas _

[NTG-context] Interaction + Footnotes = invalid page reference

2010-11-19 Thread Andreas Harder
Hi again, this is no error, but I wondered why my log is cluttered with "invalid page reference: 0"-messages … till I found out. It seems that every time a reference and its destination are on the same page the above warning is caused. \setupinteraction[state=start] % \setupfootnotes[interacti

[NTG-context] Export-backend and Ligatures

2010-11-19 Thread Andreas Harder
Hi all, can someone confirm the weird result of this example \setupbackend[export=yes] \starttext ff ff fi fi \stoptext In the .export-file I see "fififi" (without space)! Greeting Andreas ___ If you

[NTG-context] placelistofsorts

2010-11-17 Thread Andreas Harder
Hi Hans, also with the newest beta—the bug is still there. \definesorting[test][texts] \setupsorting [test][criterium=all,after=\hairline] \starttext \test{bb} \test{cc} \test{xx} \test{aa} % \placelistofsorts[test][] % works (but one can't customize the formatting) % \placelistoftests % error

[NTG-context] database module

2010-11-17 Thread Andreas Harder
Hi all, the database module don't seem to work as expected. I've tried an example from m-database.mkiv, no pdf is produced, or did I miss something? \usemodule[database] \starttext \defineseparatedlist [CSV] [separator={,}, before=\bTABLE,after=\eTABLE, first=\bTR,last=\eTR, left=\

[NTG-context] Hook environment into head/structure setup

2010-11-15 Thread Andreas Harder
Hi all, I don't think it is yet possible, but it would be nice if there was something like: \setuphead % or perhaps \setupstructure [chapter] [beforestructure=\startlinenumbering, afterstructure=\stoplinenumbering] Which should result in: \startlinenumbering \startchapter[title=test]

Re: [NTG-context] No line break with math

2010-11-10 Thread Andreas Harder
Am 10.11.2010 um 10:25 schrieb Hans Hagen: > On 9-11-2010 2:23, Andreas Harder wrote: >> Hi all, >> >> I'm pretty sure this used to work not long time ago. >> >> \starttext \showframe >> $a+b+c+d+e+f+g+h+i+j+k+l+m+n+o+p+q+r+s+t+u+v+w+x+y+z+a+b+c+d

[NTG-context] Formula not in \displaystyle

2010-11-09 Thread Andreas Harder
Hi again, consider the following example: \startTEXpage[offset=1ex] \startformula \lim_{n\rightarrow\infty} \stopformula \stopTEXpage The output is not in \displaystyle. Greeting Andreas ___ If your questi

[NTG-context] No line break with math

2010-11-09 Thread Andreas Harder
Hi all, I'm pretty sure this used to work not long time ago. \starttext \showframe $a+b+c+d+e+f+g+h+i+j+k+l+m+n+o+p+q+r+s+t+u+v+w+x+y+z+a+b+c+d+e+f+g+h+i+j+k+l+m+n+o+p+q+r+s+t+u+v+w+x+y+z=$ \stoptext Is there a fix? Greeting Andreas _

Re: [NTG-context] FiXme-module

2010-11-08 Thread Andreas Harder
Am 08.11.2010 um 20:16 schrieb Wolfgang Schuster: > > Am 05.11.2010 um 13:12 schrieb Andreas Harder: > >> Hi Wolfgang, >> >> I've played a bit with your FiXme-module. First of all, thanks for the work! >> But I ran into following issues. >>

[NTG-context] FiXme-module

2010-11-05 Thread Andreas Harder
Hi Wolfgang, I've played a bit with your FiXme-module. First of all, thanks for the work! But I ran into following issues. 1. Something is going wrong if I allow interaction. So the text is marked as a link, but one can't jump to the right location. 2. Instead of margin notes I would like to u

Re: [NTG-context] Page layout: doublesided

2010-11-04 Thread Andreas Harder
\setuppagenumbering[alternative=doublesided] > \starttext \showframe > \dorecurse{10}{\input knuth\par} > \stoptext Greeting Andreas ___ If your question is of interest to others as well, please add an entr

[NTG-context] interaction in included pdfs

2010-10-28 Thread Andreas Harder
Hi all, what happened with the "experimental support for keeping links in included pdfs"? \setupinteraction[state=start] \starttext \externalfigure[cow.pdf][interaction=yes] \stoptext gives an error: \@@su:epdf-overlay ...oodies("\@@efinteraction ")}

Re: [NTG-context] 2SIDE-arranging + doublesided

2010-10-27 Thread Andreas Harder
; > e.g. > \starttext > \strut\page > \dorecurse{5}{test~\pagenumber\page} > \stoptext > > Willi > On 21 Oct 2010, at 18:05, Andreas Harder wrote: > >> Hi all, >> >> please have a look at my example. >> >> \setuppapersize[A5][A4,landscape] >&g

[NTG-context] 2SIDE-arranging + doublesided

2010-10-21 Thread Andreas Harder
Hi all, please have a look at my example. \setuppapersize[A5][A4,landscape] \setuplayout[location=middle] \setuppagenumbering[alternative=doublesided] \setuparranging[2SIDE] \defineoverlay[right][{\scale[width=\textwidth]{right page}}] \defineoverlay[left] [{\scale[width=\textwidth]{left page}}]

Re: [NTG-context] header setting

2010-10-20 Thread Andreas Harder
Am 20.10.2010 um 20:32 schrieb Herbert Voss: > in my example I have set the numbers in the margin. > In fact of using the twoside layout I get the > numbers only for odd pages in the margin. > Is this also possible for the even pages, > just like "header 1.2" instead of "1.2 header"? > > Herbert

[NTG-context] OpenType Math

2010-10-13 Thread Andreas Harder
Hi all, there are still some problems with OpenType math. I've collected some: % \setupbodyfont[palatino] % reference % \setupbodyfont[cambria] % \setupbodyfont[euler] \setupbodyfont[asana] \startTEXpage[offset=1ex] $n\choose k$ \crlf $1+\cdots+n$ \crlf $1+\frac{a}{b}$ \crlf $(a+b)\cdot

Re: [NTG-context] \setfontfeature-problem

2010-10-13 Thread Andreas Harder
Am 13.10.2010 um 14:40 schrieb Hans Hagen: > On 13-10-2010 12:48, Andreas Harder wrote: > >> It seems that if a line starts with \sc{…} the onum-option is ignored. Is >> there a solution? > > fixed in upcoming bet

[NTG-context] \setfontfeature-problem

2010-10-13 Thread Andreas Harder
Hi all, please have a look at my example: \definefontfeature[default][default][mode=node,onum=yes] \definefontfeature[sc][default][smcp=yes] \def\sc{\groupedcommand{\setfontfeature{sc}}{}} \setupbodyfont[palatino] \starttext \startTEXpage[offset=1ex] {\sc Abc} 0369 \crlf \sc{Abc} 0369 \sto

Re: [NTG-context] vertical space between \framed ’s

2010-10-13 Thread Andreas Harder
Am 13.10.2010 um 10:54 schrieb Philipp Gesang: > Hi, > > > how do I get rid of the space between two consecutive framed > texts? In the following example: > > ···8< > > \def\testbox{\framed[frame=on,width=2em,height=2em]{A\par}} > \s

Re: [NTG-context] wrong itemize indenting

2010-10-07 Thread Andreas Harder
Am 06.10.2010 um 15:24 schrieb Andreas Harder: > Hi all, > > I mentioned it already but so far I couldn't find a solution. Here is an > example of my problem: > > \starttext \showframe \overfullrule=4pt > \startbuffer > \startitemize[n,fit][left={Abb. },distance

[NTG-context] wrong itemize indenting

2010-10-06 Thread Andreas Harder
Hi all, I mentioned it already but so far I couldn't find a solution. Here is an example of my problem: \starttext \showframe \overfullrule=4pt \startbuffer \startitemize[n,fit][left={Abb. },distance=.5em] \item \dorecurse{20}{eins } \item \dorecurse{20}{zwei } \item \dorecurse{20}{drei

Re: [NTG-context] Formatting in TOC

2010-09-29 Thread Andreas Harder
Am 29.09.2010 um 23:16 schrieb Tomas Bures: > Dear all, > > I would like to generate a table of contents, where each item should have a > number, title and date. I use the user variables this way: > > > \define[1]\ChapterListTextCommand{% > #1\hskip 1.5em > \hbox{ > \doiftextelse{\structureli

[NTG-context] Cambria/Asana/Neo-Euler (n\choose k)

2010-09-29 Thread Andreas Harder
Hi again. When it comes to OpenType math fonts … % \setupbodyfont[cambria] % \setupbodyfont[asana] \setupbodyfont[euler] \startTEXpage[offset=1ex] $n\choose k$ \stopTEXpage The output ist still wrong with the newest beta. It works ok with Type 1 fonts. Greeting Andreas __

Re: [NTG-context] prevent page break after head

2010-09-29 Thread Andreas Harder
Am 29.09.2010 um 13:22 schrieb Wolfgang Schuster: > > Am 29.09.2010 um 10:21 schrieb Andreas Harder: > >> Hi all, >> >> please have a look at the following example: >> >> \starttext \showframe >> \section{test} >> \dorecurse{36}{test\par} &g

Re: [NTG-context] prevent page break after head

2010-09-29 Thread Andreas Harder
Am 29.09.2010 um 10:29 schrieb Steffen Wolfrum: > > Am 29.09.2010 um 10:21 schrieb Andreas Harder: > >> Hi all, >> >> please have a look at the following example: >> >> \starttext \showframe >> \section{test} >> \dorecurse{36}{test\par}

[NTG-context] prevent page break after head

2010-09-29 Thread Andreas Harder
Hi all, please have a look at the following example: \starttext \showframe \section{test} \dorecurse{36}{test\par} \section{test} \startitemize \dorecurse{12}{\item #1} \stopitemize % \dorecurse{12}{• #1\blank} \stoptext I would like to prevent the page break after the second section. It works

[NTG-context] Interline space in block quotes

2010-09-29 Thread Andreas Harder
Hi all, it is not possible to adapt the interline space in delimited text environments (without explicit add a \par) anymore. Example: \setupdelimitedtext[blockquote][style=small] \starttext \input tufte \startblockquote \input tufte % \par \stopblockquote \input tufte \stoptext Greeting

[NTG-context] itemize in TABLE

2010-09-27 Thread Andreas Harder
Hi all, please have a look at the following example \starttext \showframe \startbuffer \startitemize[n,fit][left={Abb. },distance=.5em] \item \dorecurse{20}{eins } \item \dorecurse{20}{zwei } \item \dorecurse{20}{drei } \stopitemize \stopbuffer \bTABLE % it works if you comment out th

Re: [NTG-context] Fwd: Re: New beta 2010-09-22 and xits fonts

2010-09-25 Thread Andreas Harder
Am 25.09.2010 um 18:07 schrieb Hans Hagen: > > > Original Message > Subject: Re: [NTG-context] New beta 2010-09-22 and xits fonts > Date: Sat, 25 Sep 2010 11:03:13 +0200 > From: Otared Kavian > To: Hans Hagen > > > On 24 sept. 2010, at 12:00, Hans Hagen wrote: > >> […] >>

[NTG-context] startlocalfootnotes

2010-09-22 Thread Andreas Harder
Hi, it seems that it is not longer possible to set options for local footnotes. \starttext \startbuffer \bTABLE \bTR \bTD one \footnote{\dorecurse{10}{abcd }} \eTD \bTD two \eTD \eTR \bTR \bTD three fout five six seven eight nine \eTD \bTD ten \eTD \eTR \eTABLE \stopbuffer \startlocalfootnotes[n

Re: [NTG-context] export

2010-09-22 Thread Andreas Harder
Am 22.09.2010 um 14:25 schrieb Alan BRASLAU: > \setupbackend [export=yes] > > \starttext > > \startchapter [title=First chapter] > > \startparagraph > \input ward > \stopparagraph > > \stopchapter > > \stoptext Results in "Undefined control sequence. \setupbackend" (newest beta; OS X)

Re: [NTG-context] picture- and formula-references broken with current beta

2010-09-22 Thread Andreas Harder
Am 22.09.2010 um 12:40 schrieb Hans Hagen: > On 22-9-2010 11:50, Andreas Harder wrote: >> Hi all, >> >> can someone confirm that picture- and formula-references are broken with the >> current beta. Here is a test file: >> >> \starttext >> \plac

[NTG-context] picture- and formula-references broken with current beta

2010-09-22 Thread Andreas Harder
Hi all, can someone confirm that picture- and formula-references are broken with the current beta. Here is a test file: \starttext \placefigure[auto][pic:1]{caption}{\externalfigure[dummy]} \placeformula[for:1] \startformula a+b \stopformula \in{picture}[pic:1] \in{formula}[for:1] \stoptext

Re: [NTG-context] Chapter-author in TOC

2010-09-19 Thread Andreas Harder
Am 19.09.2010 um 18:36 schrieb Wolfgang Schuster: > > Am 19.09.2010 um 17:44 schrieb Andreas Harder: > >> Hi all! >> >> I’m using the structureuservariable to set an author on a per chapter basis. >> But I would also like to have them in the table of conte

[NTG-context] Chapter-author in TOC

2010-09-19 Thread Andreas Harder
Hi all! I’m using the structureuservariable to set an author on a per chapter basis. But I would also like to have them in the table of contents, so I tried the following: \setuplist[chapter][alternative=MyListItem] \definelistplacement[MyListItem][none]#1#2#3% {#1 #2 (\structureuservariable

[NTG-context] \centercolon and friends with PX-fonts

2010-09-18 Thread Andreas Harder
Hi all, because \left(…\right) and \sqrt{…} is broken with OpenType math fonts I had to switch to the PX-fonts but there the colon is eaten if one uses the \centercolon commands. \setupbodyfont[palatino] % \setupbodyfont[euler] % OK % \setupbodyfont[cambria] % OK % \setupbodyfont[asana] %

[NTG-context] intertext is broken

2010-09-17 Thread Andreas Harder
Hi all, the intertext-environment seems to be brkoken (at leas in MkIV). \starttext \startformula \startalign \NC ab+cd \NC= ab+cd \NR \startintertext test \stopintertext \NC a + a \NC= 2a \NR \stopalign \stopformula \stoptext Greeting Andreas

Re: [NTG-context] Designing a ConTeXt thesis template

2010-09-14 Thread Andreas Harder
Am 14.09.2010 um 21:35 schrieb Vedran Miletić: > Hi guys, > > I'm designing a student BSc and MSc/MEd thesis template for our > department[1]. Our student volunteered to help me by doing his thesis > in ConTeXt, so I could really see what we have to fix or work around. > We actually managed to f

Re: [NTG-context] Fonts

2010-09-10 Thread Andreas Harder
Am 10.09.2010 um 21:54 schrieb Peter Schorsch: > You can list all local availble fonts with: > > mtxrun --script fonts --list –all But this is broken with the latest beta. At least for me (OS X 10.6.4). Greeting Andreas _

[NTG-context] Indent after \placefigure

2010-09-10 Thread Andreas Harder
Hello, if one uses the right-option in \placefigure the paragraph indent is omitted. Example: \setupindenting[small,yes,next] \setupfloats[indentnext=yes] % no effect \starttext \input tufte \par \placefigure [right]{caption} {\framed[width=5cm,height=3cm]{some figure}} \input tufte \par \in

Re: [NTG-context] Prevent Ligatures

2010-09-10 Thread Andreas Harder
Am 10.09.2010 um 13:42 schrieb Taco Hoekwater: > On 09/10/2010 01:01 PM, Andreas Harder wrote: >> Hi all, >> >> I've two questions. >> 1. Is f|*|f still the right way to prevent a ligature? >> 2. \setff{noligs} don't seem to have effect, while the

[NTG-context] Prevent Ligatures

2010-09-10 Thread Andreas Harder
Hi all, I've two questions. 1. Is f|*|f still the right way to prevent a ligature? 2. \setff{noligs} don't seem to have effect, while the defined font is working. What is wrong? \definefontfeature[noligs] [default][liga=no] \definefont[test][Serif*noligs] \startTEXpage[offset=1ex] ff fi fl

[NTG-context] New beta: protrusion and expansion

2010-09-03 Thread Andreas Harder
Hi Hans, it seems that protrusion and expansion do not work with the latest beta. Here is a test file: \definefontfeature [default] [default] [mode=node,protrusion=quality,expansion=quality] \setupalign[hz,hanging] \starttext \showframe \input tufte \stoptext Greeting Andreas ___

Re: [NTG-context] PDF fields

2010-08-31 Thread Andreas Harder
Am 31.08.2010 um 14:30 schrieb Lutz Haseloff: >> 1) After I fill one field in the PDF-file all other fields inherit the text. >> How can I prevent this? > > The fields are all the same. You can: > > \dorecurse{31}{\definefield [hours#1] [line] [setup] [] []} > > \def\Feld#1% > {\bTR\bTD \dat

[NTG-context] PDF fields

2010-08-31 Thread Andreas Harder
Hi all, please have a look at my attached example. I've two problems. pdf-fields.tex Description: Binary data 1) After I fill one field in the PDF-file all other fields inherit the text. How can I prevent this? 2) The text in the left column an the text in the field are not on the same basel

Re: [NTG-context] Items with head

2010-08-25 Thread Andreas Harder
Am 25.08.2010 um 12:24 schrieb Andreas Harder: > Hi all, > > in strc-itm.mkiv I found the following example: > > \def\MyItemCommand#1{{\bf#1}\quad} > \setupitemgroup[itemize][command=\MyItemCommand] > > \startitemize > \item {test} is this okay? > \item {test} i

[NTG-context] Items with head

2010-08-25 Thread Andreas Harder
Hi all, in strc-itm.mkiv I found the following example: \def\MyItemCommand#1{{\bf#1}\quad} \setupitemgroup[itemize][command=\MyItemCommand] \startitemize \item {test} is this okay? \item {test} is this okay? \item {test} is this okay? \stopitemize Is it deprecated? Is there an alternative? Gre

Re: [NTG-context] \framed \placelist

2010-08-17 Thread Andreas Harder
Am 17.08.2010 um 00:49 schrieb taco: > Andreas Harder wrote: >> Hi all, >> if I try to put \placelist in \framed an error (You can't use `\prevdepth' >> in restricted horizontal mode) occurs. >> \starttext >> \framed >> [background=co

[NTG-context] \framed \placelist

2010-08-16 Thread Andreas Harder
Hi all, if I try to put \placelist in \framed an error (You can't use `\prevdepth' in restricted horizontal mode) occurs. \starttext \framed [background=color,backgroundcolor=gray] {\placelist[section]} \dorecurse{10}{\section{test #1} \input tufte } \stoptext So what is the way to put a ba

Re: [NTG-context] Whitespace before \placenotes

2010-08-11 Thread Andreas Harder
Am 11.08.2010 um 19:36 schrieb Hans Hagen: > On 11-8-2010 7:24, Andreas Harder wrote: >> \setupnote[footnote][location=none] >> >> \starttext >> \dorecurse{5}{text\footnote{test}} >> >> \framed[align=normal]{\placenotes[footnote]} >> \stoptext &g

[NTG-context] Whitespace before \placenotes

2010-08-11 Thread Andreas Harder
Hi all, please have a look at the following example. \setupnote[footnote][location=none] \starttext \dorecurse{5}{text\footnote{test}} \framed[align=normal]{\placenotes[footnote]} \stoptext How can I prevent the vertical space before the first note? Greeting Andreas __

Re: [NTG-context] Bugs in current beta

2010-08-11 Thread Andreas Harder
Am 11.08.2010 um 11:22 schrieb Hans Hagen: > On 10-8-2010 5:36, Andreas Harder wrote: >> Hi all, >> >> for me (OS X 10.6.4) >> mtxrun –script server –auto >> do not work. If I click on a font name I get: >> MTXrun | request from: 127.0.0.1 >> M

Re: [NTG-context] Bugs in current beta

2010-08-10 Thread Andreas Harder
Am 10.08.2010 um 17:36 schrieb Andreas Harder: > Hi all, > > for me (OS X 10.6.4) > mtxrun –script server –auto > do not work. If I click on a font name I get: > MTXrun | request from: 127.0.0.1 > MTXrun | requested action: > /mtx-server-ctx-fonttest.lua?selection=hoe

<    1   2   3   4   >