Re: [NTG-context] table alignment
On Fri, 26 Feb 2010, Wolfgang Werners-Lucchini wrote: Thank you Taco, I want some space on the left of \start\stoptables. What I get is SOME space, but not that what I wanted! --- \starttext vorher \setupnarrower[left=3cm] \startnarrower[left] \starttables[|l|] Where is that little space from? How can I get a left space of, say 3cm? \starttables[s0|l|] I see. So, there is no space anymore. But how can I get my 3cm? If you do not use horizontal lines \starttable[o(3cm)|l|] Aditya ___ 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] table alignment
Thank you Taco, > > I want some space on the left of \start\stoptables. What I get is > > SOME space, but not that what I wanted! > > > > --- > > \starttext vorher > > \setupnarrower[left=3cm] > > \startnarrower[left] > > \starttables[|l|] > > > > Where is that little space from? How can I get a left space of, > say 3cm? > > \starttables[s0|l|] > I see. So, there is no space anymore. But how can I get my 3cm? 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] table alignment
Hallo, > > I want some space on the left of \start\stoptables. What I get > is > > SOME space, but not that what I wanted! > > > \starttabulate[|l|] > \NC hmm \NC\NR > \stoptabulate > > Wolfgang Does this mean, that there is no solution with \start\stoptables? 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] METAPOST -- specifying an unknown point coordinate by giving the angle from another known point
In article <771da05a1002251718l55669a0co770b5a78bed84...@mail.gmail.com>, James Fisher wrote: > This isn't specifically a ConTeXt question, but via it I've run into a > seemingly simple problem in METAPOST that I just can't solve. I'm > trying to draw a parallelogram by specifying: (1) the length of sides > parallel to the x-axis; (2) the total height of the figure; (3) one of > the interior angles. Curiously enough, nobody has posted a solution that uses 'whatever', so here it is: z0 = origin;% bottom left z1 = (5,0); % bottom right y3 = y2 = 10; z3 = z0 + whatever*dir(87); % z3 is obtained by starting at z0 and % moving along dir(87) z2-z1 = whatever*(z3-z0); % The line z1--z2 is parallel to z0--z3 That is, what you were trying to achieve: angle(z3-z0) = dir(87); can be written instead: z3 - z0 = whatever*dir(87); Nicola ___ 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] [MkII] Difference in output in minimals versus TeX Live 2009
I suspect (though I don't really know) that the difference comes from different versions of TeX Gyre. There's a quick experiment you can do: rsync -av \ /usr/local/texlive/2009/texmf-dist/fonts/tfm/public/tex-gyre/ \ /path/to/minimals/tex/texmf/fonts/tfm/public/tex-gyre/ (unless you want to make a backup, but you can quickly revent to the old state anyway by updating the minimals.) The weird thing is that it may be that the minimals contain an older version, but I can fix that soon (I need to double-check why the font didn't get updated automatically since many other fonts do). 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 ___
[NTG-context] [ntg-context] ppchtex questions and maybe buglets
Hi all,ppchtex is really nice. after experimenting with it i found some buglets:\starttext\setupchemical[axis=off,frame=on, option=test, size=medium, scale=medium, right=2000, left=3000, height=6000,textsize=medium]%textsize and option=test has no effect - why?\startchemical \chemical[SIX,SB135,DB246,SR6,Z,CRZ6][N,C,N,C,C,C,{\LC{\color[green]{NH}}}]%here color works\color[green]{\chemical[ADJ3,Five,SB235,DB4,Z345,SR3,CRZ3][N,C,H,H]}%color does not work here, manual says it should -why?\bottext{\offset[y=-\baselineskip]{Adenin}}\stopchemical\stoptextmaybe someone can also explain how the OFF key works. the behaviour is strange in my opinion. i found nothing precise in the manual. onhttp://chneukirchen.org/blog/archive/2004/05/ppchtex.html i found following explanation:18OFF1: do 18 small steps in direction 1 (right)but this don´t work - even with the example on the homepage.best regardsBernhard colortest.tex Description: Binary data ___ 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] PPCHTEX - questions and maybe buglet
Hi all, ppchtex is really nice. after experimenting with it i found some buglets: \starttext \setupchemical[axis=off,frame=on, option=test, size=medium, scale=medium, right=2000, left=3000, height=6000,textsize=medium]%textsize and option=test has no effect - why? \startchemical \chemical[SIX,SB135,DB246,SR6,Z,CRZ6][N,C,N,C,C,C,{\LC{\color[green]{NH}}}]%here color works \color[green]{\chemical[ADJ3,Five,SB235,DB4,Z345,SR3,CRZ3][N,C,H,H]}%color does not work here, manual says it should -why? \bottext{\offset[y=-\baselineskip]{Adenin}} \stopchemical \stoptext maybe someone can also explain how the OFF key works. the behaviour is strange in my opinion. i found nothing precise in the manual. on http://chneukirchen.org/blog/archive/2004/05/ppchtex.html i found following explanation: 18OFF1: do 18 small steps in direction 1 (right) but this don´t work - even with the example on the homepage. best regards Bernhard colortest.tex Description: Binary data ___ 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] [MkII] Difference in output in minimals versus TeX Live 2009
2010/2/26 Mojca Miklavec : > 2010/2/26 Vedran Miletić je napisal: >> Hi, >> >> is minimals supposed to have the same output using MkII as TeX Live >> 2009? Or have I missunderstood what does it mean that 'MkII is >> frozen'? > > It is declared frozen, but it may still happen that something changes > unintentionally (and bugs that are easy to fix might be fixed as > well). > >> I ask because I get different results on same document. I'm using >> Palatino font. It seems related to spacing between letters in "il" and >> "ij" that is larger in current minimals. Any ideas why? > > No. Can you please send a sample tex & both pdf documents? (If it's > bigger than 40 or 60 kb, you need to post it somewhere.) > > There was a big difference between TL 2008 and now (when the whole > font has been replaced from URW to TeX Gyre), but I see no reason why > you should get a different result now. > > Mojca All three are in: http://www.ri.linux.hr/soiletak.zip Hope it helps. -- Vedran Miletić ___ 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] bookmarks point to page, not to section start
Hello Hans, I suspect that bookmarks to sections point to pages only, not to the exact position where the sections start. I have another document generated with Word and when I click to it, the viewer (Preview.app) goes straight to section start, while when I generate the document with ConTeXt, it only goes to the page, not to exact section start. The behaviour seems to be the same in both MKII and MKIV (MKII only doesn't respect the accented characters; but I understand the pain of recoding). I'm using the following code to place the bookmarks: \setupinteraction [state=start] \setupinteractionscreen [option=bookmark] \placebookmarks [section,subsection,subsubsection] [section,subsection] \starttext \dorecurse{20}{\section{title} \input tufte} \stoptext Mojca PS: I can send a sample word-generated document off-list for comparison if needed. ___ 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] [MkII] Difference in output in minimals versus TeX Live 2009
2010/2/26 Vedran Miletić je napisal: > Hi, > > is minimals supposed to have the same output using MkII as TeX Live > 2009? Or have I missunderstood what does it mean that 'MkII is > frozen'? It is declared frozen, but it may still happen that something changes unintentionally (and bugs that are easy to fix might be fixed as well). > I ask because I get different results on same document. I'm using > Palatino font. It seems related to spacing between letters in "il" and > "ij" that is larger in current minimals. Any ideas why? No. Can you please send a sample tex & both pdf documents? (If it's bigger than 40 or 60 kb, you need to post it somewhere.) There was a big difference between TL 2008 and now (when the whole font has been replaced from URW to TeX Gyre), but I see no reason why you should get a different result now. 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 ___
[NTG-context] Math formula numbering by section in MK-IV
In MK-II I use \setupnumbering[way=section] to number math formulae by section. What is the equivalent for MK-IV ? ___ 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] [MkII] Difference in output in minimals versus TeX Live 2009
Hi, is minimals supposed to have the same output using MkII as TeX Live 2009? Or have I missunderstood what does it mean that 'MkII is frozen'? I ask because I get different results on same document. I'm using Palatino font. It seems related to spacing between letters in "il" and "ij" that is larger in current minimals. Any ideas why? -- Vedran Miletić ___ 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] Lua fonttester error
On 26-2-2010 7:11, Lutz Haseloff wrote: Hi Hans Hi all, since yesterday evening (Context 2010.02.25 19:46 MKIV) the Lua fonttester doesn't work anymore. After starting it with mtxrun --script server --auto (MAPS 39, page E75 :-) I can see the Startpage in my Browser. After clicking fonttest the script breaks with following errormessage: MTXrun | requested action: mtx-server-ctx-fonttest.lua MTXrun | performing action: mtx-server-ctx-fonttest.lua MTXrun | locating script: C:/contextminimal/texmf-context/scripts/context/lua/mtx-server-ctx-fonttest.lua MTXrun | loading script: C:/contextminimal/texmf-context/scripts/context/lua/mtx-server-ctx-fonttest.lua MTXrun | return type: function textminimal/texmf-context/tex/context/base/l-aux.lua:212: attempt to index field 'patterns' (a nil value) C:\contextminimal> you probably forgot to update mtxrun.lua then (you can comment the l-aux line in mtx-server-ctx-fonttest.lua as an alternative) - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 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] Margin terminology -- badly documented, undocumented, or misdocumented
On Thu, Feb 25, 2010 at 9:17 PM, James Fisher wrote: > document this myself, but what is it that "width=middle" actually *does*? I suppose if cutspace == 0pt then cutspace = backspace end makeupwidth = paperwidth- backspace -cutspace (as wiki says, from page-lay.mkiv, 2009-11-17 - 23:59) (btw I'm the author of the irrelevant code ) -- 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] table alignment
Am 25.02.10 23:24, schrieb Wolfgang Werners-Lucchini: Hallo, I asked this question some times before but I can't remember if I got some answers. Sorry! I want some space on the left of \start\stoptables. What I get is SOME space, but not that what I wanted! \starttabulate[|l|] \NC hmm \NC\NR \stoptabulate 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 ___