Re: [NTG-context] delimitedtext, spacebefore and grid
I want to have both a halfline space before and after blockquotations. Normally, this works fine; after the quotation the main text snaps back to the grid (see page 3 of the example file). \setupdelimitedtext [blockquote] [spacebefore=halfline] >>> >>> spacebefore={force,halfline} >> >> Hello Wolfgang, thank you for your answer. Sadly, your solution only >> works for blockquotes starting at the top of the page. When blockquotes >> are broken up between two pages the main text doesn't find its way back >> to the grid (see page 2 of my minimal example). > > I think I've discovered another little problem of the same sort if directly > after the quotation a blank line is requested: > > --- > \setuplayout >[grid=yes] > > \setupdelimitedtext >[quotation] >[spacebefore=halfline] > > \showgrid > > \starttext > > \input tufte > > \startquotation >\input tufte > \stopquotation > > \blank > \input tufte > > \stoptext > --- > > Unfortunately the trailing main text doesn't align with the grid either. Any > solution to both problems? Just wanted to ask whether anyone has looked into these issues… a solution would be much appreciated (and put to immediate use in a current project ;-) Oliver ___ 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 ___
Re: [NTG-context] references
On 11-2-2011 8:23, Florian Wobbe wrote: I uploaded a beta. New: [...] \at{(}{)}[two] Hi Hans, is there a way to get rid of the extra space after the opening bracket? unofficially yes, but officially no as it is expected when you use 'page' instead of '(' and the \at command is definitely to be downward compatible so, if you want it different, you need to define a reference format Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ 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 ___
Re: [NTG-context] references
> I uploaded a beta. New: > [...] > \at{(}{)}[two] Hi Hans, is there a way to get rid of the extra space after the opening bracket? Florian ___ 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 ___
[NTG-context] references
Hi, I uploaded a beta. New: - Improved \textxt behaviour (for Mojca's code). - Korean labels and index tagging (with help from Jeong Dalyoung). - Cleaned of referencing (formats). \setupinteraction[state=start] \startbuffer[definitions] \definereferenceformat [PageOne] [left=(,right=),text=sometext] \definereferenceformat [PageTwo] [label=page] \definereferenceformat [PageThree] [label=*] \definereferenceformat [PageFour] [label=both] \setuplabeltext[en][page=page~] \setuplabeltext[en][chapter=chapter~] \setuplabeltext[en][both={chapter~,~retpahc}] \stopbuffer \getbuffer[definitions] \starttext \chapter[one]{One} \typebuffer[definitions] \startbuffer \PageOne[two] \PageTwo[two] \PageThree[two] \PageFour[two] \at{(}{)}[two] \at{!}[two] \at{page}[two] <<\at[two]>> \stopbuffer \typebuffer \startlines \getbuffer \stoplines \chapter[two]{Two} \typebuffer[definitions] \startbuffer \PageOne[one] \PageTwo[one] \PageThree[one] \PageFour[one] \at{(}{)}[one] \at{!}[one] \at{page}[one] <<\at[one]>> \stopbuffer \typebuffer \startlines \getbuffer \stoplines \stoptext -- - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ 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 ___
Re: [NTG-context] how to remove unwanted coordinate numbers(metafun)
On 11-2-2011 3:26, Jeong Dalyoung wrote: Dear all. I try to draw a circle with points on it as following: path p; p:= fullcircle scaled 5cm; draw p; pickup pencircle scaled 2mm; k:=1; for i = 2.2,3,3.5,4.5,5,7,0,.7,1.3: drawpoint point i of p; label.lft(decimal k, point i of p); k:= k+1; endfor; It draws a circle, points, label, but unwanted coordinate numbers like (60.43535, 36.97691), too. I didn't see such numbers in any example in metafun document. If I use z[k] like z[k] = point i of P; draw z[k] Then such a long numbers disappeared. Is it the only way to surpress those numbers not using z? use drawdot then ... drawpoints is one of the tracing macros - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ 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 ___
Re: [NTG-context] Iwona-Light error
I'm using Windows on a PC. Tom Benjey 717-258-9733 voice 717-243-0074 fax blog: www.TomBenjey.com -Original Message- From: ntg-context-boun...@ntg.nl [mailto:ntg-context-boun...@ntg.nl] On Behalf Of Mojca Miklavec Sent: Friday, February 11, 2011 11:08 AM To: mailing list for ConTeXt users Subject: Re: [NTG-context] Iwona-Light error On Fri, Feb 11, 2011 at 16:34, Tom wrote: > I just attempted to install Tex Live 2010 & got a warning about a conflict > with [pdf]tex program on the Tex Live 2008 system path. 2008 still comes up > when I run Context, but the system path was automatically updated with the > install. What else must I do? Are you using Windows on unix/linux/freebsd/mac? Mojca ___ 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 ___
Re: [NTG-context] Iwona-Light error
Windows Vista Tom Benjey 717-258-9733 voice 717-243-0074 fax blog: www.TomBenjey.com -Original Message- From: ntg-context-boun...@ntg.nl [mailto:ntg-context-boun...@ntg.nl] On Behalf Of Mojca Miklavec Sent: Friday, February 11, 2011 11:08 AM To: mailing list for ConTeXt users Subject: Re: [NTG-context] Iwona-Light error On Fri, Feb 11, 2011 at 17:07, Mojca Miklavec wrote: > On Fri, Feb 11, 2011 at 16:34, Tom wrote: >> I just attempted to install Tex Live 2010 & got a warning about a conflict >> with [pdf]tex program on the Tex Live 2008 system path. 2008 still comes up >> when I run Context, but the system path was automatically updated with the >> install. What else must I do? > > Are you using Windows on unix/linux/freebsd/mac? typo: "or", not "on" of course Mojca ___ 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 ___
Re: [NTG-context] Iwona-Light error
On Fri, Feb 11, 2011 at 17:07, Mojca Miklavec wrote: > On Fri, Feb 11, 2011 at 16:34, Tom wrote: >> I just attempted to install Tex Live 2010 & got a warning about a conflict >> with [pdf]tex program on the Tex Live 2008 system path. 2008 still comes up >> when I run Context, but the system path was automatically updated with the >> install. What else must I do? > > Are you using Windows on unix/linux/freebsd/mac? typo: "or", not "on" of course Mojca ___ 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 ___
Re: [NTG-context] Iwona-Light error
On Fri, Feb 11, 2011 at 16:34, Tom wrote: > I just attempted to install Tex Live 2010 & got a warning about a conflict > with [pdf]tex program on the Tex Live 2008 system path. 2008 still comes up > when I run Context, but the system path was automatically updated with the > install. What else must I do? Are you using Windows on unix/linux/freebsd/mac? Mojca ___ 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 ___
Re: [NTG-context] Iwona-Light error
I just attempted to install Tex Live 2010 & got a warning about a conflict with [pdf]tex program on the Tex Live 2008 system path. 2008 still comes up when I run Context, but the system path was automatically updated with the install. What else must I do? Tom Benjey 717-258-9733 voice 717-243-0074 fax blog: www.TomBenjey.com -Original Message- From: ntg-context-boun...@ntg.nl [mailto:ntg-context-boun...@ntg.nl] On Behalf Of Mojca Miklavec Sent: Thursday, February 10, 2011 12:26 PM To: mailing list for ConTeXt users Subject: Re: [NTG-context] Iwona-Light error On Thu, Feb 10, 2011 at 15:37, Tom wrote: > I'm using TexLive 2008.05.21 15:21 MKII fmt: 2009.7.8 int: English/English > (I haven't upgraded to a more recent version because I don't know how to > have 2 executable versions on my PC at the same time) > > I can't find Helvetica-Caps or Helvetica-Caps-Regular in type-one.tex, the > only file I changed. I can't find them in the original, unchanged version of > the file either. I can email you the file if you'd like. Then it is in type-tfm.tex (or something like that). But I would advice you to install minimals in parallels (you can then switch between both). All you need to do is to change PATH when you want to switch. (But in any case it might be better to use at least TeX Live 2010.) Mojca ___ 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 ___
Re: [NTG-context] grid=verytolerant causes overlapping
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, sometimes the value is checked but no with > gridsnapping. > > The “yes” value is defined as > > \definegridsnapping[yes][maxheight,maxdepth,strut] > > and you enable with with “grid=yes” a where context tests if “yes” > is a predefined lists but “grid={maxheight,maxdepth,strut}” is also > valid and in this case context defined a dummy list which is passed > to lua. The same happens with “verytolerant”, context creates > a dummy list and use ”verytolerant” as value for this list. Thank you Wolfgang! Now I've defined verytolerant in order to get some fractions on grid. \definegridsnapping[verytolerant][maxdepth:1.6,maxheight:1.4,strut] \setuplayout[grid=verytolerant] % \setuplayout[grid=tolerant] \setupbodyfont[palatino] \starttext test\crlf $b = \frac p q$\crlf test \stoptext Andreas ___ 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 ___
Re: [NTG-context] grid=verytolerant causes overlapping
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, sometimes the value is checked but no with gridsnapping. The “yes” value is defined as \definegridsnapping[yes][maxheight,maxdepth,strut] and you enable with with “grid=yes” a where context tests if “yes” is a predefined lists but “grid={maxheight,maxdepth,strut}” is also valid and in this case context defined a dummy list which is passed to lua. The same happens with “verytolerant”, context creates a dummy list and use ”verytolerant” as value for this list. Wolfgang ___ 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 ___
Re: [NTG-context] grid=verytolerant causes overlapping
On Fri, Feb 11, 2011 at 3:27 PM, Wolfgang Schuster wrote: > > Am 11.02.2011 um 14:33 schrieb 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 > > 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. -- luigi ___ 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 ___
Re: [NTG-context] grid=verytolerant causes overlapping
Am 11.02.2011 um 14:33 schrieb 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 There is no grid option “verytolerant”. Wolfgang ___ 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 ___
[NTG-context] how to remove unwanted coordinate numbers(metafun)
Dear all. I try to draw a circle with points on it as following: path p; p:= fullcircle scaled 5cm; draw p; pickup pencircle scaled 2mm; k:=1; for i = 2.2,3,3.5,4.5,5,7,0,.7,1.3: drawpoint point i of p; label.lft(decimal k, point i of p); k:= k+1; endfor; It draws a circle, points, label, but unwanted coordinate numbers like (60.43535, 36.97691), too. I didn't see such numbers in any example in metafun document. If I use z[k] like z[k] = point i of P; draw z[k] Then such a long numbers disappeared. Is it the only way to surpress those numbers not using z? Thank you for reading. best regards, Dalyoung ___ 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 ___
Re: [NTG-context] grid=verytolerant causes overlapping
On Fri, Feb 11, 2011 at 3:15 PM, Andreas Harder wrote: > > 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: > 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 \showgrid > \placelist[chapter,section,subsection,subsubsection] > \def\SampleHead{\dorecurse{10}{test } test} > \dorecurse > {5} > {\chapter{\SampleHead} > \section{\SampleHead} > \subsection{\SampleHead} > \subsubsection{\SampleHead}} > \stoptext I don't see problems here with latest minimals --- what is wrong in your pdf ? >>> >>> Hmm, I've just updated the beta … >> this is my pdf > > You have commented the paper size setting, therefore the lines do not break. > Otherwise in your pdf nothing is on grid, although you're using the same > minimals … true sorry. > > I've changed the example a bit: > > \setuplayout[grid=verytolerant] % -> overlapping > \setupheads[expansion=yes] > > \starttext \showgrid > \placelist[chapter,section,subsection,subsubsection] > \def\SampleHead{\dorecurse{15}{test } test} > \dorecurse > {5} > {\chapter{\SampleHead} > \section{\SampleHead} > \subsection{\SampleHead} > \subsubsection{\SampleHead}} > \stoptext same here: both examples show overlapping. -- luigi ___ 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 ___
Re: [NTG-context] grid=verytolerant causes overlapping
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: 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 \showgrid \placelist[chapter,section,subsection,subsubsection] \def\SampleHead{\dorecurse{10}{test } test} \dorecurse {5} {\chapter{\SampleHead} \section{\SampleHead} \subsection{\SampleHead} \subsubsection{\SampleHead}} \stoptext >>> I don't see problems here with latest minimals --- what is wrong in your >>> pdf ? >> >> Hmm, I've just updated the beta … > this is my pdf You have commented the paper size setting, therefore the lines do not break. Otherwise in your pdf nothing is on grid, although you're using the same minimals … I've changed the example a bit: \setuplayout[grid=verytolerant] % -> overlapping \setupheads[expansion=yes] \starttext \showgrid \placelist[chapter,section,subsection,subsubsection] \def\SampleHead{\dorecurse{15}{test } test} \dorecurse {5} {\chapter{\SampleHead} \section{\SampleHead} \subsection{\SampleHead} \subsubsection{\SampleHead}} \stoptext Andreas ___ 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 ___
Re: [NTG-context] grid=verytolerant causes overlapping
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: >>> 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 \showgrid >>> \placelist[chapter,section,subsection,subsubsection] >>> \def\SampleHead{\dorecurse{10}{test } test} >>> \dorecurse >>> {5} >>> {\chapter{\SampleHead} >>> \section{\SampleHead} >>> \subsection{\SampleHead} >>> \subsubsection{\SampleHead}} >>> \stoptext >> I don't see problems here with latest minimals --- what is wrong in your pdf >> ? > > Hmm, I've just updated the beta … this is my pdf -- luigi test.pdf Description: Adobe PDF document ___ 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 ___
Re: [NTG-context] grid=verytolerant causes overlapping
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 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 \showgrid >> \placelist[chapter,section,subsection,subsubsection] >> \def\SampleHead{\dorecurse{10}{test } test} >> \dorecurse >>{5} >>{\chapter{\SampleHead} >> \section{\SampleHead} >> \subsection{\SampleHead} >> \subsubsection{\SampleHead}} >> \stoptext > I don't see problems here with latest minimals --- what is wrong in your pdf ? Hmm, I've just updated the beta … test-toc-on-grid.pdf Description: Adobe PDF document Andreas___ 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 ___
[NTG-context] gridsnapping question
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% {\setuphead[chapter][grid={#1}] \startchapter[title={Test: #1}] test \par test \par test \stopchapter \startchapter[title={Test: #1\\test\\test}] test \par test \par test \stopchapter} \definegridsnapping[whatever][strut,offset:-2pt] \definegridsnapping[chapter] [mindepth,maxheight,local] \starttext \showgrid % \showbaselinecorrection \title{Test: no grid option} test \par test \par test \processcommalist [strut, {local,strut}, {strut,top:3}, normal, bottom, both, broad, fit, first, last, high, low, line, halfline, max, min, none, whatever, chapter] \ChapterTest \stoptext Greeting Andreas ___ 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 ___
Re: [NTG-context] grid=verytolerant causes overlapping
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 > 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 \showgrid > \placelist[chapter,section,subsection,subsubsection] > \def\SampleHead{\dorecurse{10}{test } test} > \dorecurse > {5} > {\chapter{\SampleHead} > \section{\SampleHead} > \subsection{\SampleHead} > \subsubsection{\SampleHead}} > \stoptext I don't see problems here with latest minimals --- what is wrong in your pdf ? -- luigi ___ 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 ___
[NTG-context] grid=verytolerant causes overlapping
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 \showgrid \placelist[chapter,section,subsection,subsubsection] \def\SampleHead{\dorecurse{10}{test } test} \dorecurse {5} {\chapter{\SampleHead} \section{\SampleHead} \subsection{\SampleHead} \subsubsection{\SampleHead}} \stoptext Greeting Andreas ___ 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 ___
Re: [NTG-context] odd end-of-line error w/ Minion Pro
Am Freitag, 11. Februar 2011, um 09:26:59 schrieben Sie: > Hi, > > I'm seeing a strange behavior with Minion Pro in OTF and the simplefont > package. I'm not sure if it only happens with simplefont because I don't > know how to set up a typescript. In any case, in breaking a line between > roman and italic text, ConTeXt is losing a bit of space at the end of > line. I thought it might be related to using hz or hanging alignment, or > the quality option for protrusion and expansion, but it seems to happen > even with these features disabled. Very unclear what could be causing > this. Is it a known issue? What is this kind of bad behavior called? > > I've attached an image to which I've added a red line to show where the 'a' > is leaving extra space before the newline. > > Thanks again, > > — > Daniel Lyons Are you shure it's not the "isn't" that is penetrating the margin? One can't really tell from the provided picture if the "a" or the "t" is the actual edge of the text. I also included a typescript for adobe fonts (incl. MinionPro) that was kindly shared on this list by Florian Wobbe. \usemodule[type-adobeoptical] \starttypescript [myFont] \definetypeface [\typescriptone] [rm] [serif][minion] [optical] %[rscale=1.14407] \stoptypescript \setupalign[hanging,hz] % main body font \usetypescript[myFont] \setupbodyfont[myFont,12pt] \starttext Minion Normal\\ {\it Minion Italic}\\ {\cn Minion Condensed}\\ {\ci Minion CondensedItalic}\\ {\sb Minion Semibold}\\ {\sbi Minion SemiboldItalic}\\ {\bf Minion Bold}\\ {\bi Minion BoldItalic}\\ ff fi ffi ffl fk fb fj --\\ \stoptext %D \module %D [ file=type-adobeoptical, %Dversion=2010.09.20, %D title=\CONTEXT\ Typescript Macros, %D subtitle=Adobe Optical Font Definitions, %D author=Florian Wobbe, %D date=\currentdate, %D copyright=Florian Wobbe] %C %C Copyright 2010 Florian Wobbe. %C This file may be distributed under the GNU General Public License v. 2.0. %% font sizes %% Cronos Pro %% Caption: 6--8 point %% Normal (Regular): 8--14 point %% Subhead: 14--24 point %% Display: 24+ point %% Minion Pro %% Caption: 6--8.4 point %% Normal (Regular): 8.4--13 point %% Subhead: 13--19.9 point %% Display: 19.9+ point %% Brioso Pro %% Caption: 6--9.4 point %% Normal (Regular): 9.4--14 point %% Subhead: 14--21 point %% Display: 21+ point %% Utopia Pro %% Caption: 6--8.9 point %% Normal (Regular): 8.9--13 point %% Subhead: 13--20 point %% Display: 20+ point %% Kepler Std %% Caption: 6--8.9 point %% Normal (Regular): 8.9--13.9 point %% Subhead: 13.9--23 point %% Display: 23+ point %% Warnock Pro %% Caption: 1--8.9 point %% Normal (Regular): 8.9--12.9 point %% Subhead: 12.9--22.9 point %% Display: 22.9+ point %% Serif %% Caption: 6--9 point %% Normal (Regular): 9--13 point %% Subhead: 13--22 point %% Display: 22+ point %% our setup (for now): %% Caption: 4,5,6,7,8 point %% Normal (Regular): 9,10,11 point %% Subhead: 12,14.4,17.3 point %% Display: 20.7,24.9 point % 4pt,4.8pt,5pt,5.8pt,6pt,6.9pt,7pt,7.2pt,8pt,8.3pt,8.4pt,8.6pt % 9pt,9.6pt,10pt,10.1pt,10.4pt,10.8pt,11pt,11.5pt % 12pt,12.1pt,12.4pt,13pt,13.2pt,13.8pt,14.4pt,14.5pt,14.9pt,15.6pt,15.8pt,16.6pt,17.3pt,17.4pt % 18.7pt,19pt,19.9pt,20.7pt,22.4pt,22.8pt,24.8pt,24.9pt,27.4pt,29.8pt,29.9pt,35.8pt,35.9pt,42.9pt,43pt,52.5pt %% Font features %% Small caps % \definefontfeature[default][liga=yes,texligatures=yes,texquotes=yes] \definefontfeature[default][default][expansion=quality,protrusion=quality,mode=node,script=latn,kern=yes,palt=yes,tlig=yes,trep=yes,init=yes,size=yes] \definefontfeature[dlig][default][dlig=yes] % Discretionary Ligatures: Activates uncommon ligatures \definefontfeature[frac][default][frac=yes,numr=yes] % Fractions e.g. 3/4 \definefontfeature[pnum][default][pnum=yes] % Proportional Figures \definefontfeature[tnum][default][tnum=yes] % Tabular Figures \definefontfeature[hist][default][hist=yes] % Historical Forms \definefontfeature[ornm][default][ornm=yes] % Ornaments \definefontfeature[salt][default][salt=yes] % Stylistic Alternates \definefontfeature[sups][default][sups=yes] % Superscript \definefontfeature[subs][default][subs=yes] % Subscript % small caps wrapper \def\smcp#1{{\setff{smallcaps}#1}} \definefontfeature[addfssmcp][mode=node,smcp=yes] \unexpanded\def\sc{\addfs{addfssmcp}} %% We need style switches for semibold and other variants \definefontalternative [bc] \definefontalternative [bci] \definefontalternative [sb] \definefontalternative [sbc] \definefontalternative [sbci] \definefontalternative [sbi] \definefontalternative [mf] \definefontalternative [mc] \definefontalternative [mci] \definefontalternative [mi] \definefontalternative [lf] \definefontalternative [li] \definefontalternative [lp] \definefontalternative [lpi] \definefontalternative [cn] \definefontalternative [ci] \definestyle [boldcondensed] [\bc] [] \definestyle [boldcondenseditalic] [\bci] [] \definestyle [semibold][\s
Re: [NTG-context] odd end-of-line error w/ Minion Pro
On 11-2-2011 9:26, Daniel Lyons wrote: Hi, I'm seeing a strange behavior with Minion Pro in OTF and the simplefont package. I'm not sure if it only happens with simplefont because I don't know how to set up a typescript. In any case, in breaking a line between roman and italic text, ConTeXt is losing a bit of space at the end of line. I thought it might be related to using hz or hanging alignment, or the quality option for protrusion and expansion, but it seems to happen even with these features disabled. Very unclear what could be causing this. Is it a known issue? What is this kind of bad behavior called? I've attached an image to which I've added a red line to show where the 'a' is leaving extra space before the newline. hard to say without the input ... could be a spurious space Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ 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 ___
[NTG-context] odd end-of-line error w/ Minion Pro
Hi, I'm seeing a strange behavior with Minion Pro in OTF and the simplefont package. I'm not sure if it only happens with simplefont because I don't know how to set up a typescript. In any case, in breaking a line between roman and italic text, ConTeXt is losing a bit of space at the end of line. I thought it might be related to using hz or hanging alignment, or the quality option for protrusion and expansion, but it seems to happen even with these features disabled. Very unclear what could be causing this. Is it a known issue? What is this kind of bad behavior called? I've attached an image to which I've added a red line to show where the 'a' is leaving extra space before the newline. Thanks again, — Daniel Lyons <>___ 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 ___