[NTG-context] issue with font in typing environment
Dear list, I converted the monospace fonts of txfonts (http://www.ctan.org/tex-archive/fonts/txfonts/pfb) from pbf to otf using FontForge. They work fine (http://www.ousia.tk/ryfonts.zip). But the issue is shown in the following sample (beta from 2014.02.01 14:22): \definefontfamily[mainface][mono][ryt1xtt][bf=ryt1xbtt] \setupbodyfont[mainface] \definetyping[TeXcode][option=TEX] \starttext \starttyping \ConTeXt\ is \stoptyping \startTeXcode \ConTeXt\ is \stopTeXcode \stoptext If option=TEX is enabled, there is no space after the backslash. I have checked the font and it seems to work fine, so it might be a bug. Many thanks for your help, Pablo -- http://www.ousia.tk ___ 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] issue with font in typing environment
Am 02.02.2014 um 09:33 schrieb Pablo Rodriguez oi...@gmx.es: Dear list, I converted the monospace fonts of txfonts (http://www.ctan.org/tex-archive/fonts/txfonts/pfb) from pbf to otf using FontForge. They work fine (http://www.ousia.tk/ryfonts.zip). But the issue is shown in the following sample (beta from 2014.02.01 14:22): \definefontfamily[mainface][mono][ryt1xtt][bf=ryt1xbtt] \setupbodyfont[mainface] \definetyping[TeXcode][option=TEX] \starttext \starttyping \ConTeXt\ is \stoptyping \startTeXcode \ConTeXt\ is \stopTeXcode \stoptext If option=TEX is enabled, there is no space after the backslash. I have checked the font and it seems to work fine, so it might be a bug. I can reproduce the problem with the type1 fonts: \starttypescript[serif][txfonts] \setups[font:fallback:serif] \definefontsynonym [Serif] [file:t1xtt.afm] [features=complete] \definefontsynonym [SerifBold] [file:t1xbtt.afm] [features=complete] \definefontsynonym [SerifCaps] [file:t1xttsc.afm] [features=complete] \stoptypescript \starttypescript[mono][txfonts] \setups[font:fallback:mono] \definefontsynonym [Mono] [file:t1xtt.afm] [features=none] \definefontsynonym [MonoBold] [file:t1xbtt.afm] [features=none] \stoptypescript \definetypeface [mainface] [rm] [serif] [txfonts] [default] \definetypeface [mainface] [tt] [mono] [txfonts] [default] \setupbodyfont[mainface] \starttext Regular, {\bf Bold} and {\sc Smallcaps}. \starttyping[option=tex] \CONTEXT\ is wonderful! \stoptyping \stoptext Even though this is something that should be fixed using a different font in truetype/opentype format solves your problem as well. The following two fonts are similar to the monospaced font of the txfonts package: - http://www.fontsquirrel.com/fonts/Luxi-Mono - http://www.fontsquirrel.com/fonts/pt-mono 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] issue with font in typing environment
On 02/02/2014 10:53 AM, Wolfgang Schuster wrote: Am 02.02.2014 um 09:33 schrieb Pablo Rodriguez oi...@gmx.es: I converted the monospace fonts of txfonts (http://www.ctan.org/tex-archive/fonts/txfonts/pfb) from pbf to otf using FontForge. They work fine (http://www.ousia.tk/ryfonts.zip). [...] If option=TEX is enabled, there is no space after the backslash. I can reproduce the problem with the type1 fonts: [...] Even though this is something that should be fixed using a different font in truetype/opentype format solves your problem as well. The following two fonts are similar to the monospaced font of the txfonts package: Many thanks for the reply, Wolfgang. Is there no way to tell what is wrong in the font, so it could be fixed? BTW, I’m afraid I cannot compile your sample. Many thanks again for your help, Pablo -- http://www.ousia.tk ___ 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] issue with font in typing environment
Am 02.02.2014 um 12:34 schrieb Pablo Rodriguez oi...@gmx.es: On 02/02/2014 10:53 AM, Wolfgang Schuster wrote: Am 02.02.2014 um 09:33 schrieb Pablo Rodriguez oi...@gmx.es: I converted the monospace fonts of txfonts (http://www.ctan.org/tex-archive/fonts/txfonts/pfb) from pbf to otf using FontForge. They work fine (http://www.ousia.tk/ryfonts.zip). [...] If option=TEX is enabled, there is no space after the backslash. I can reproduce the problem with the type1 fonts: [...] Even though this is something that should be fixed using a different font in truetype/opentype format solves your problem as well. The following two fonts are similar to the monospaced font of the txfonts package: Many thanks for the reply, Wolfgang. Is there no way to tell what is wrong in the font, so it could be fixed? I think the missing space in the font is the problem because after I replaced the visible space with a normal space there was also a space after the backslash in the typing environment. BTW, I’m afraid I cannot compile your sample. My example uses the type1 version of the font from CTAN, you have to put the afm and pfb files into the fonts folder of your tex directory. 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] issue with font in typing environment
On 02/02/2014 02:14 PM, Wolfgang Schuster wrote: Am 02.02.2014 um 12:34 schrieb Pablo Rodriguez oi...@gmx.es: [...] Is there no way to tell what is wrong in the font, so it could be fixed? I think the missing space in the font is the problem because after I replaced the visible space with a normal space there was also a space after the backslash in the typing environment. Many thanks for the reply, Wolfgang. You are right. The space was missing in the font. I defined it and it works fine now. Many thanks again for your help, Pablo -- http://www.ousia.tk ___ 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] printing visible space in \tex
Dear list, I would like to use \tex{visiblespace} which is actually character. c. \starttext \tex{\u2420} \stoptext Above is the way I tried to implement, but it doesn’t make sense. How could I do it? Many thanks for your help, Pablo -- http://www.ousia.tk ___ 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] printing visible space in \tex
Am 02.02.2014 um 19:12 schrieb Pablo Rodriguez oi...@gmx.es: Dear list, I would like to use \tex{visiblespace} which is actually character. c. \starttext \tex{\u2420} \stoptext Above is the way I tried to implement, but it doesn’t make sense. How could I do it? \setuptype [space=on] \setuptyping[space=on] \starttext \type{x y} \starttyping x y \stoptyping 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] printing visible space in \tex
On 02/02/2014 07:16 PM, Wolfgang Schuster wrote: Am 02.02.2014 um 19:12 schrieb Pablo Rodriguez oi...@gmx.es: I would like to use \tex{visiblespace} which is actually character u2420. [...] \setuptype [space=on] \setuptyping[space=on] \starttext \type{x y} \starttyping x y \stoptyping Many thanks for the quick reply, Wolfgang. I’m afraid it doesn’t work this with option=TEX and \ a: \setuptype [space=on,option=TEX] \setuptyping[space=on,option=TEX] \starttext \type{\ y} \starttyping \ y \stoptyping \stoptext I actually need backslash plus space character. Many thanks for your help, Pablo -- http://www.ousia.tk ___ 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] two question on ConTeXt terminology
Dear list, I’m writing a document on ConTeXt and I have two questions on terminology. As I have been using LaTeX over a decade, I don’t know whether my descriptions are accurate in ConTeXt. Don’t worry, My questions are extremely basic ;-). What is the name for the part of the document that comes before \starttext? The ConTeXt manual seems to use preamble, but I would like to confirm this use. The other question is more tricky. Or at least I don’t find an obvious answer. Which is the correct expression to name any \start...-\stopstructure? Environment would be the LaTeX term, but this is reserved in ConTeXt. Many thanks for your help, Pablo -- http://www.ousia.tk ___ 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] two question on ConTeXt terminology
On 2/2/2014 9:44 PM, Pablo Rodriguez wrote: Dear list, I’m writing a document on ConTeXt and I have two questions on terminology. As I have been using LaTeX over a decade, I don’t know whether my descriptions are accurate in ConTeXt. Don’t worry, My questions are extremely basic ;-). What is the name for the part of the document that comes before \starttext? The ConTeXt manual seems to use preamble, but I would like to confirm this use. preamble is fine (one can also speak of source header, but i think preamble is better) ... anything after \stoptext is ignored so that would be 'comment' The other question is more tricky. Or at least I don’t find an obvious answer. Which is the correct expression to name any \start...-\stopstructure? Environment would be the LaTeX term, but this is reserved in ConTeXt. (structure) element is fine (also in sync with xml begin/end) Many thanks for your help, 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] two questions on ConTeXt terminology
On 02/02/2014 10:30 PM, Hans Hagen wrote: On 2/2/2014 9:44 PM, Pablo Rodriguez wrote: [...] The other question is more tricky. Or at least I don’t find an obvious answer. Which is the correct expression to name any \start...-\stopstructure? Environment would be the LaTeX term, but this is reserved in ConTeXt. (structure) element is fine (also in sync with xml begin/end) Many thanks for your reply, Hans. I’m not sure whether structure element is too generic. But I will think about it. Many thanks for your help again, Pablo -- http://www.ousia.tk ___ 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 ___