[NTG-context] (beta) underbar in mkiv
Hi, underbar slides to the left, if the underbar area is restricted to only one char of a word. Example attached. I need this for showing the keyboard shortcuts in my graphics. :) MTXrun | current version: 2009.11.07 17:59 Best wishes, Peter \starttext underbar the b from under\underbar{b}ar \stoptext ___ 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] New TexLive 2009
http://www.tug.org/texlive/doc/texlive-en/texlive-en.html#news -- 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] (beta) underbar in mkiv
Peter Rolf wrote: Hi, underbar slides to the left, if the underbar area is restricted to only one char of a word. Example attached. I need this for showing the keyboard shortcuts in my graphics. :) ok, i need to discuss this with taco quick hack: \let\normalunderbar\underbar \def\underbar#1{\normalunderbar{#1\hskip\zeropoint\relax}} Hans - 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] Itemize within description
Thank you very much, Aditya! I'm glad it is so easy! )) Change location=serried to location=top. Serried ignores the inbetween option as it does not make sense with serried. Vyatcheslav ___ 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] Math setup with Times (Termes)
Thank you, I'll try it. Maybe you also know how to italize Roman letters? (like $abc$) Vyatcheslav \usetypescript[termes]\setupbodyfont[termes, 14pt] \startbuffer $αβγ$ \stopbuffer \starttext \getbuffer \setupmathematics[lcgreek=normal]\getbuffer \stoptext 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] (beta) underbar in mkiv
Hans Hagen wrote: Peter Rolf wrote: Hi, underbar slides to the left, if the underbar area is restricted to only one char of a word. Example attached. I need this for showing the keyboard shortcuts in my graphics. :) ok, i need to discuss this with taco There was a luatex bug. Fix is in the repository trunk already, until the next release just keep using Hans' hack. Best wishes, Taco quick hack: \let\normalunderbar\underbar \def\underbar#1{\normalunderbar{#1\hskip\zeropoint\relax}} Hans ___ 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] (beta) underbar in mkiv
bedankt :) Taco Hoekwater schrieb: Hans Hagen wrote: Peter Rolf wrote: Hi, underbar slides to the left, if the underbar area is restricted to only one char of a word. Example attached. I need this for showing the keyboard shortcuts in my graphics. :) ok, i need to discuss this with taco There was a luatex bug. Fix is in the repository trunk already, until the next release just keep using Hans' hack. Best wishes, Taco quick hack: \let\normalunderbar\underbar \def\underbar#1{\normalunderbar{#1\hskip\zeropoint\relax}} Hans ___ 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] fixme setup
Hi Wolfgang, Thank you. Can be location of fixmes be set globally (once for whole document)? I definitely want all to be inner. Vyatcheslav I uploaded a new version which should be available with the minimals till tomorrow but you can get it also from http://bitbucket.org/wolfs/fixme/. Usage: \fixme[inner]{text} \fixme[outer]{text} \fixme[left]{text} \fixme[right]{text} \fixme[margin]{text} 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] Itemize setup
Thank you, Aditya. Now let me ask you about second big problem with my setup. I cannot get itemize indent woking properly. I need it be the same as bodytext indent (starting from the bullet) and the first line indented too. Please, help me with it. Vyatcheslav Change location=serried to location=top. Serried ignores the inbetween option as it does not make sense with serried. Aditya \setupindenting[yes, big] \setupitemize[each][1,packed,nowhite,text] \definedescription[reviewquestions][location=top, text={Review questions}, before={\blank[small]\startitemize}, inbetween={\blank[small]}, after={\stopitemize\blank[small]}] \starttext The section ends here. The section ends here. The section ends here. The section ends here. The section ends here. The section ends here. The section ends here.The section ends here. The section ends here. The section ends here. The section ends here. The section ends here. The section ends here. The section ends here. The section ends here. The section ends here. The section ends here. The section ends here. \startreviewquestions \item Question 1. Question 1. Question 1. Question 1. Question 1. Question 1. Question 1. Question 1. Question 1. Question 1. Question 1. Question 1. Question 1. \item Question 2. Question 2. Question 2. Question 2. Question 2. Question 2. Question 2. Question 2. Question 2. Question 2. Question 2. Question 2. Question 2. \item Question 3. Question 3. Question 3. Question 3. Question 3. Question 3. Question 3. Question 3. Question 3. Question 3. Question 3. Question 3. Question 3. \stopreviewquestions The next section starts here. \stoptext \setupindenting[yes, big] \setupitemize[each][1,packed,nowhite,text] \definedescription[reviewquestions][location=top, text={Review questions}, before={\blank[small]\startitemize}, inbetween={\blank[small]}, after={\stopitemize\blank[small]}] \starttext The section ends here. The section ends here. The section ends here. The section ends here. The section ends here. The section ends here. The section ends here.The section ends here. The section ends here. The section ends here. The section ends here. The section ends here. The section ends here. The section ends here. The section ends here. The section ends here. The section ends here. The section ends here. \startreviewquestions \item Question 1. Question 1. Question 1. Question 1. Question 1. Question 1. Question 1. Question 1. Question 1. Question 1. Question 1. Question 1. Question 1. \item Question 2. Question 2. Question 2. Question 2. Question 2. Question 2. Question 2. Question 2. Question 2. Question 2. Question 2. Question 2. Question 2. \item Question 3. Question 3. Question 3. Question 3. Question 3. Question 3. Question 3. Question 3. Question 3. Question 3. Question 3. Question 3. Question 3. \stopreviewquestions The next section starts here. \stoptext___ 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] \setupmathematics[lcgreek=normal] problem with default font
Hello, BTW, after setting \setupmathematics[lcgreek=normal] with default TeX math font, all low case greek letters are disappeared :( Vyatcheslav ___ 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] After \placefigure the first paragraph of body text is not indented
Hi I noticed that after \placefigure the first paragraph of body text is not indented. Can I enable the indenting after figures? My setups are like this: \setupindenting[yes, big] \placefigure[middle]{ } {\externalfigure[image015][width=0.9\textwidth]} Regards, Vyatcheslav ___ 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] After \placefigure the first paragraph of body text is not indented
Am 09.11.2009 um 18:18 schrieb Vyatcheslav Yatskovsky: Hi I noticed that after \placefigure the first paragraph of body text is not indented. Can I enable the indenting after figures? \setupfloat[figure][indentnext=yes] 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] After \placefigure the first paragraph of body text is not indented
On Mon, 9 Nov 2009, Vyatcheslav Yatskovsky wrote: I noticed that after \placefigure the first paragraph of body text is not indented. Can I enable the indenting after figures? My setups are like this: \setupindenting[yes, big] \placefigure[middle]{ } {\externalfigure[image015][width=0.9\textwidth]} Hello, The opposite is also true. See http://tracker.luatex.org/view.php?id=105 Cheers, Peter -- Contact information: http://pmrb.free.fr/contact/ ___ 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 redefine tfx font selector
Am 09.11.2009 um 18:55 schrieb Vyatcheslav Yatskovsky: Hi, I try to redefine tfx font selector to be exactly 10pt. My guess is \usetypescript[termes] \definebodyfont [11pt] [rm] [tfx=Serif at 10pt] \setupbodyfont[termes, 11pt] but it doesn't wok. How can I specify bodyfont at 11pt and tfx at 10pt? \setupbodyfontenvironment [11pt] [x=10pt] 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] \setupmathematics[lcgreek=normal] problem with default font
On Mon, Nov 09, 2009 at 12:18:55PM -0500, Aditya Mahajan wrote: On Mon, 9 Nov 2009, Vyatcheslav Yatskovsky wrote: Vyatcheslav, if you want upright greek letters, you should really consider using an opentype math font (cambria, asana, irianis ADF math). Do Irianis ADF Math include MATH table? I just checked 1.005 version and I see math glyphs but no MATH table. Regards, Khaled -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer signature.asc Description: Digital signature ___ 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] balancing column sets does not work in mark iv
[Resending message: the first post bounced, because I used a non-subscriber address.] Hello, the following code does not work with mark iv: \definecolumnset [example-1] [n=2,balance=yes] \starttext \showgrid \startcolumnset [example-1] \dorecurse {1}{\input tufte \par} \stopcolumnset \stoptext This is the error I get with latest minimals: , | ! Undefined control sequence. | inserted text ...etbox 3\vbox {\unvbox \footins | } | \dodonormaloutput ...lty \the \OTRcommand \output | \outputmessage -{normal}\o... | \invokeoutputroutine ...enalty }\dodonormaloutput | \outputmessage -{trying}\o... | output ...e \everybeforeoutput \the \mainoutput | \the \everyafteroutput } | \ejectpenalty --\plustenthousand | | \eject -\par \ifvmode \penalty \ejectpenalty | \fi \resetpagebreak | ... | l.3 ...curse {1}{\input tufte \par} \stopcolumnset ` Best regards, olli -- Oliver Heins he...@sopos.orghttp://oliverheins.net/ http://blog.overheins.net/ F27A BA8C 1CFB B905 65A8 http://scriptorium-adp.de/ 2544 0F07 B675 9A00 D827 1024D/9A00D827 2004-09-24 -- gpg --recv-keys 0x9A00D827 Please avoid sending me Word or PowerPoint attachments: http://www.gnu.org/philosophy/no-word-attachments.html ___ 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] \setupmathematics[lcgreek=normal] problem with default font
On Mon, 9 Nov 2009, Khaled Hosny wrote: On Mon, Nov 09, 2009 at 12:18:55PM -0500, Aditya Mahajan wrote: On Mon, 9 Nov 2009, Vyatcheslav Yatskovsky wrote: Vyatcheslav, if you want upright greek letters, you should really consider using an opentype math font (cambria, asana, irianis ADF math). Do Irianis ADF Math include MATH table? I just checked 1.005 version and I see math glyphs but no MATH table. The NOTICE file says that it does (but I don't even know how to check that in the font) RELEASE 1.000 - Initial release (June 2008) 1.001 - letterlike symbols and presentation symbols addition 1.002 - mathematic letter 1.003 - Math table addition 1.004 - Greek and Turkish, SansSerif and sript glyph addition in the Mathematical Alphanumeric Symbols, kern by kerning class 1.005 - Math table completed with big variantes. Arrows glyhs set completed with some dingbat ghyphs. 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] \setupmathematics[lcgreek=normal] problem with default font
On Mon, Nov 9, 2009 at 8:14 PM, Aditya Mahajan adit...@umich.edu wrote: On Mon, 9 Nov 2009, Khaled Hosny wrote: On Mon, Nov 09, 2009 at 12:18:55PM -0500, Aditya Mahajan wrote: On Mon, 9 Nov 2009, Vyatcheslav Yatskovsky wrote: Vyatcheslav, if you want upright greek letters, you should really consider using an opentype math font (cambria, asana, irianis ADF math). Do Irianis ADF Math include MATH table? I just checked 1.005 version and I see math glyphs but no MATH table. The NOTICE file says that it does (but I don't even know how to check that in the font) fontforge ? ttx ? -- 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] \setupmathematics[lcgreek=normal] problem with default font
On Mon, 9 Nov 2009, luigi scarso wrote: On Mon, Nov 9, 2009 at 8:14 PM, Aditya Mahajan adit...@umich.edu wrote: The NOTICE file says that it does (but I don't even know how to check that in the font) fontforge ? ttx ? Let me rephrase. I am not motivated enough to learn how to check a MATH table in a font :) ___ 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] \setupmathematics[lcgreek=normal] problem with default font
On Mon, Nov 9, 2009 at 8:44 PM, Aditya Mahajan adit...@umich.edu wrote: On Mon, 9 Nov 2009, luigi scarso wrote: On Mon, Nov 9, 2009 at 8:14 PM, Aditya Mahajan adit...@umich.edu wrote: The NOTICE file says that it does (but I don't even know how to check that in the font) fontforge ? ttx ? Let me rephrase. I am not motivated enough to learn how to check a MATH table in a font :) # ttx -t MATH Asana-Math.otf Dumping Asana-Math.otf to Asana-Math.ttx... Dumping 'MATH' table... # ttx -t MATH IrianisADFMath-Regular.otf Dumping IrianisADFMath-Regular.otf to IrianisADFMath-Regular#1.ttx... No 'MATH' table found. -- 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] Wolfgang hints
Thank you, Wolfgang, for both hints. They do work! )) \setupbodyfontenvironment [11pt] [x=10pt] \setupfloat[figure][indentnext=yes] Vyatcheslav ___ 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] \setupmathematics[lcgreek=normal] problem with default font
Hello, Vyatcheslav, if you want upright greek letters, you should really consider using an opentype math font (cambria, asana, irianis ADF math). Aditya, I'm trying to use math provided with Termes (don't know what math fonts are used). But the first thing I stuck is just the opposite -- I cannot get Latin letters italized. How I can setup this? Vyatcheslav ___ 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] \getfiguredimensions again in mkiv
Hans, Something is also wrong with getting the width and height of a figure in mkiv. Minimal example: \starttext \getfiguredimensions[filename] \figurewidth \figureheight \stoptext 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] mkiv: missing \colon, \colonequals is just an equality sign
Hi Aditya, On Nov 2, 2009, at 1:19 PM, Aditya Mahajan wrote: On Sun, 1 Nov 2009, Jesse Alama wrote: It seems that \colon is missing and \colonequals is mapped to the wrong symbol in the latest mkiv (I'm using the minimals). A minimal example: \starttext \startitemize \item $\colon$ \item $\colonequals$ \stopitemize \stoptext No colon is generated from the first command (in fact, nothing at all appears), and the $\colonequals$ produces an equality sign, not a :=. I am not sure what is the right way to fix this. I am attaching a patch that works, but this might break the mathdesign virtual fonts. In that case, we need separate vectors for gyre and mathdesign. Apply this to math-vfu.lua and regenerate formats. That did the trick -- thanks. Jesse ___ 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] balancing column sets does not work in mark iv
Hello, the following code does not work with mark iv: \definecolumnset [example-1] [n=2,balance=yes] \starttext \showgrid \startcolumnset [example-1] \dorecurse {1}{\input tufte \par} \stopcolumnset \stoptext This is the error I get with latest minimals: , | ! Undefined control sequence. | inserted text ...etbox 3\vbox {\unvbox \footins | } | \dodonormaloutput ...lty \the \OTRcommand \output | \outputmessage -{normal}\o... | \invokeoutputroutine ...enalty }\dodonormaloutput | \outputmessage -{trying}\o... | output ...e \everybeforeoutput \the \mainoutput | \the \everyafteroutput } | \ejectpenalty --\plustenthousand | | \eject -\par \ifvmode \penalty \ejectpenalty | \fi \resetpagebreak | ... | l.3 ...curse {1}{\input tufte \par} \stopcolumnset ` Best regards, olli -- Oliver Heins he...@sopos.orghttp://oliverheins.net/ http://blog.overheins.net/ F27A BA8C 1CFB B905 65A8 http://scriptorium-adp.de/ 2544 0F07 B675 9A00 D827 1024D/9A00D827 2004-09-24 -- gpg --recv-keys 0x9A00D827 Please avoid sending me Word or PowerPoint attachments: http://www.gnu.org/philosophy/no-word-attachments.html ___ 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 ___