[NTG-context] stretch framed text to width

2013-10-08 Thread Pablo Rodriguez
Dear list, I have a very simple request, but I wasn’t able to find information on the wiki or the ConTeXt manual. Here is the sample: \starttext \framed[width=40mm]{word} \stoptext How can I get the word stretched to the frame width? Many thanks for your help, Pablo --

Re: [NTG-context] stretch framed text to width

2013-10-08 Thread Pablo Rodriguez
On 10/08/2013 08:15 PM, Wolfgang Schuster wrote: Am 08.10.2013 um 20:04 schrieb Pablo Rodriguez oi...@gmx.es: [...] How can I get the word stretched to the frame width? \starttext \framed[width=40mm]{word} \framed[width=40mm]{\stretched[features=none,width=\framedwidth]{word}} \stoptext

[NTG-context] issue with layers and layouts

2013-10-21 Thread Pablo Rodriguez
Dear list, I have the following sample and two issues that I must solve: \showframe\setuplayout[margin=20mm, width=fit, topspace=45mm, bottomspace=25mm, height=fit] \definelayout[first][topspace=70mm, bottomspace=30mm] \definelayer[avoidasfloat][x=0mm, y=0mm, hoffset=8mm, voffset=101mm,

Re: [NTG-context] issue with layers and layouts

2013-10-21 Thread Pablo Rodriguez
On 10/21/2013 05:43 PM, luigi scarso wrote: On Mon, Oct 21, 2013 at 5:23 PM, Pablo Rodriguez wrote: [...] First, the layout is right on the first two pages, but it is wrong from page three. The text doesn’t reach the bottom frame. [...] If this isn’t a bug, what am I missing here

Re: [NTG-context] issue with layers and layouts

2013-10-22 Thread Pablo Rodriguez
On 10/22/2013 12:29 PM, Wolfgang Schuster wrote: Am 21.10.2013 um 18:28 schrieb Pablo Rodriguez oi...@gmx.es: [...] Layer has text inside in the sample above. I’d like to have it as a float. You can use positioned layers (mentioned in the metafun manual but currently broken in MkIV

[NTG-context] \setuptyping[lines=yes] bug in beta?

2013-10-22 Thread Pablo Rodriguez
Dear list, the following sample: \showframe \setuppapersize[S6] \setuptyping[option=TEX,lines=yes] \starttext \starttyping \startvariante[MRU]{{\em om} X}En un lugar de la Mancha, de cuyo nombre no quiero acordarme, no ha mucho tiempo que vivía un hidalgo de los de lanza en astillero, adarga

Re: [NTG-context] issue with layers and layouts

2013-10-23 Thread Pablo Rodriguez
On 10/23/2013 02:55 AM, Wolfgang Schuster wrote: Am 22.10.2013 um 19:13 schrieb Pablo Rodriguez oi...@gmx.es: On 10/22/2013 12:29 PM, Wolfgang Schuster wrote: Am 21.10.2013 um 18:28 schrieb Pablo Rodriguez oi...@gmx.es: [...] Layer has text inside in the sample above. I’d like to have

Re: [NTG-context] \setuptyping[lines=yes] bug in beta?

2013-10-23 Thread Pablo Rodriguez
On 10/23/2013 12:28 PM, Wolfgang Schuster wrote: Am 22.10.2013 um 19:47 schrieb Pablo Rodriguez oi...@gmx.es: Dear list, the following sample: \showframe \setuppapersize[S6] \setuptyping[option=TEX,lines=yes] You can use this setup for the moment: \setuptyping[option=TEX,align

[NTG-context] not getting latest beta from Suite

2013-10-26 Thread Pablo Rodriguez
Dear list, as Alan pointed two days ago, running: rsync -ptv rsync://contextgarden.net/minimals/setup/first-setup.sh . ./first-setup.sh --modules=all gets beta from 2013.10.15 13:52, while I think it should get beta from 2013.10.20 07:09. I’m on Fedora 19, not on MacOSX (just in case anyone

[NTG-context] ConTeXt Suite and system fonts

2013-10-26 Thread Pablo Rodriguez
Dear list, since the topic isn’t specific to MacOSX, I’m starting a new thread. [I assume that OSFONTDIR won’t be set by default in Linux. I’m fine with that.] I think system fonts should be enabled by default in Win and Mac. I think it is a nice feature to newcomers. Of course, Thomas is

[NTG-context] nested linenotes

2013-10-29 Thread Pablo Rodriguez
Dear list, I have the following sample: \newcounter\MyCounter \def\CritApp#1#2{\increment\MyCounter% \startlinenote[Varia:\MyCounter]{#1] #2}#1% \prewordbreak\stoplinenote[Varia:\MyCounter]} \starttext \startlinenumbering \CritApp{this is a first \CritApp{legibility}{how about a nested

[NTG-context] issue with linenotes command

2013-11-04 Thread Pablo Rodriguez
Dear list, in order to avoid the issue with many references in critical editions and linenotes, I have a command that makes this automatic (thanks to Wolfgang’s help). But the issue is that it breaks the “external” linenote when a linenote is nested in it. Here you have a sample:

[NTG-context] conditional argument and \doifemptyelse

2013-11-06 Thread Pablo Rodriguez
Dear list, I’m trying to define a command that has a conditional argument: \def\MyCommand#1#2#3{#1, #2, \doifemptyelse{#3}{#1}{#3}} \starttext \MyCommand{first}{second} \stoptext The problem is that \doifemtpyelse only works if there the third argument is there as {}. And the

Re: [NTG-context] conditional argument and \doifemptyelse

2013-11-07 Thread Pablo Rodriguez
On 11/06/2013 10:33 PM, Wolfgang Schuster wrote: Am 06.11.2013 um 20:26 schrieb Pablo Rodriguez oi...@gmx.es: [...] Is there no way to make \MyCommand above work with \doifemptyelse even if its third argument is not defined? \def\MyCommand {\dotriplegroupempty\doMyCommand} \def

[NTG-context] bug in linenote?

2013-11-07 Thread Pablo Rodriguez
Dear list, I have a sample of nested linenotes (containing an user-defined command): \setuppapersize[A8] \newcounter\MyCounter \def\CritApp#1#2{\increment\MyCounter% \startlinenote[Varia:\MyCounter]{#1] #2}#1% \prewordbreak\stoplinenote[Varia:\MyCounter]} \starttext \startlinenumbering

[NTG-context] two suggestions to \typesetbuffer

2013-11-08 Thread Pablo Rodriguez
Dear Hans, I have presentations that include buffers typeset with \typesetbuffer. One of the presentation includes 33 buffers, which are small ConTeXt samples. Any time I change anything on the presentation (not on the buffers themselves), every buffer is typeset again. And the compilation time

Re: [NTG-context] two suggestions to \typesetbuffer

2013-11-09 Thread Pablo Rodriguez
On 11/08/2013 11:39 PM, Hans Hagen wrote: On 11/8/2013 7:11 PM, Pablo Rodriguez wrote: Dear Hans, I have presentations that include buffers typeset with \typesetbuffer. One of the presentation includes 33 buffers, which are small ConTeXt samples. Any time I change anything

Re: [NTG-context] two suggestions to \typesetbuffer

2013-11-10 Thread Pablo Rodriguez
On 11/10/2013 12:30 PM, Hans Hagen wrote: You can try the beta ... i'm not sure about it yes but this one is faster, we might end up with several methods to choose from depending on usage. Many thanks for the improvement, Hans. Compilation for the first time decreased from 210 seconds to

Re: [NTG-context] announcement and call

2013-11-14 Thread Pablo Rodriguez
On 11/14/2013 03:08 PM, Thomas A. Schmitz wrote: Dear list, today, I have an announcement to make and a call for contributions. We have obtained a medium-sized grant at my university to further development of ConTeXt. Specifically, our project wants to facilitate typesetting critical

[NTG-context] middle align without ascenders and descenders

2013-11-14 Thread Pablo Rodriguez
Dear list, I have the following code: \setuppapersize[S6] \usemodule[simplefonts][size=340pt] \setmainfont[TeX Gyre Pagella] \setupmakeup[standard][align=middle] \starttext \startstandardmakeup aa \stopstandardmakeup \startstandardmakeup db \stopstandardmakeup \startstandardmakeup pq

[NTG-context] (critical edition) not hyphenated body with linenotes

2013-11-18 Thread Pablo Rodriguez
Dear Thomas, Luigi and Hans, here is my first sample to the critical edition project of Thomas. I think it is a bug. This is the code: \setuppapersize[A8] \starttext \startlinenumbering This text shows a \startlinenote[one]{bariant H} variant \stoplinenote[one]. This text shows a

[NTG-context] (critical edition) nesting linenotes

2013-11-18 Thread Pablo Rodriguez
Dear Thomas, Luigi and Hans, my second sample might be related to the first one. But I’m not sure it is a bug. Here is the code: \setuppapersize[A8] \newcounter\MyCounter \def\CritApp#1#2{\increment\MyCounter% \startlinenote[Varia:\MyCounter]{#1] #2}#1%

[NTG-context] (critical edition) compressseparatorbefore and compressseparatorafter

2013-11-18 Thread Pablo Rodriguez
Dear Thomas, Luigi and Hans, code first: \definepapersize[mine][width=3in,height=2in] \setuppapersize[mine] \definelinenote[Variant] \setupnote[Variant][paragraph=yes, inbetween=\hskip2.5em] \setupnotation[Variant][alternative=serried,distance=1em,compress=yes, width=broad] \starttext

[NTG-context] (critical edition) orphan and widows in lines environment

2013-11-18 Thread Pablo Rodriguez
Dear Thomas, Luigi and Hans, an old issue is that there is no way to prevent widows an orphans in the lines environment. This would be important for verse. Hans, you told us that you have it in the agenda (http://www.ntg.nl/pipermail/ntg-context/2013/073769.html). It might be interesting to

Re: [NTG-context] (critical edition) orphan and widows in lines environment

2013-11-18 Thread Pablo Rodriguez
On 11/18/2013 09:41 PM, Thomas A. Schmitz wrote: On 11/18/2013 09:35 PM, Pablo Rodriguez wrote: Dear Thomas, Luigi and Hans, Hi Pablo, thanks for your examples, they will go into the test repository. We'll have to think about the nested linenotes; I'm not sure that this is a good way

Re: [NTG-context] (critical edition) nesting linenotes

2013-11-19 Thread Pablo Rodriguez
On 11/18/2013 11:25 PM, Hans Hagen wrote: [...] \unexpanded\def\doCritApp#1#2#3% {\startlinenote[#1]{#2 #3}(#2)\stoplinenote[#1]} \newcounter\MyCounter \unexpanded\def\CritApp {\doglobal\increment\MyCounter \normalexpanded{\doCritApp{Varia:\MyCounter}}} [...] so, in your macro

[NTG-context] (critical edition) verses and margin data ranges in page

2013-11-19 Thread Pablo Rodriguez
Hi Thomas, I guess it might be interesting to have the following feature: a command that prints the range of lines on the page. \setupheadertexts[firstlineinpage--lastlineinpage] \getmarking[chapter] \starttext \startlinenumbering \dorecurse{200}{This is verse number \recurselevel.\\}

[NTG-context] (critical edition) counter range in page

2013-11-19 Thread Pablo Rodriguez
Hi Thomas, after thinking about the issue I wrote in my last message, I guess that implementing a general method with any counter could be better. I mean, implement three commands that could be applied to any counter: \getrangeinpage: first--last counter in page. \getfirstinpage: first

[NTG-context] (critical edition) index to line number

2013-11-20 Thread Pablo Rodriguez
Hi Thomas, I think it would be important to be able to index to the line number. Do you need a code sample for this? Many thanks for your help, Pablo -- http://www.ousia.tk ___ If your question is of interest to

Re: [NTG-context] line notes compress

2013-12-02 Thread Pablo Rodriguez
On 12/02/2013 03:31 PM, Hans Hagen wrote: Hi, The linenote compression options (and control) has been upgraded: Hi Hans, many thanks for the new compression options. Keep in mind that paragraph notes are somewhat special so some tolerance in alignment helps. This is not directly related

[NTG-context] (critical edition) text reducing command

2013-12-06 Thread Pablo Rodriguez
Hi Thomas, Luigi and Hans, I have a feature suggestion that might be interesting to implement for critical editions. Here is my code sample: \mainlanguage[la] \unexpanded\def\doVariant#1#2#3% {\startlinenote[#1]{#2] #3}#2% \prewordbreak\stoplinenote[#1]} \newcounter\VarCounter

[NTG-context] cannot update latest beta

2013-12-22 Thread Pablo Rodriguez
Dear list, I have just tried to update ConTeXt to latest beta (as many times before) with rsync -ptv rsync://contextgarden.net/minimals/setup/first-setup.sh . and I got the following error message: rsync: failed to connect to contextgarden.net (193.2.4.200): No route to host (113) rsync error:

[NTG-context] (critical edition) notes alphabetically sorted

2013-12-22 Thread Pablo Rodriguez
Hi Thomas, Luigi and Hans, I’m aware that this isn’t exactly a feature for critical editions, but this is a useful feature for educational material. This is a minimal sample: \mainlanguage[en] \setuplanguage[en][patterns={en,agr}] \setuppapersize[A5] \usemodule[simplefonts] \setmainfont[DejaVu

Re: [NTG-context] (critical edition) notes alphabetically sorted

2013-12-22 Thread Pablo Rodriguez
On 12/22/2013 10:37 PM, Hans Hagen wrote: On 12/22/2013 10:22 PM, Pablo Rodriguez wrote: Hi Thomas, Luigi and Hans, I’m aware that this isn’t exactly a feature for critical editions, but this is a useful feature for educational material. [...] Having these notes alphabetically ordered would

Re: [NTG-context] cannot update latest beta

2013-12-22 Thread Pablo Rodriguez
On 12/23/2013 01:05 AM, Mojca Miklavec wrote: On Mon, Dec 23, 2013 at 12:07 AM, Mojca Miklavec wrote: On Sun, Dec 22, 2013 at 9:40 PM, Pablo Rodriguez wrote: Dear list, I have just tried to update ConTeXt to latest beta (as many times before) with rsync -ptv rsync://contextgarden.net

Re: [NTG-context] Comfortaa font and ligatures

2013-12-30 Thread Pablo Rodriguez
On 12/30/2013 11:09 AM, Flavien Lambert wrote: Dear all, I would like to use the comfortaa font available at http://www.dafont.com/comfortaa.font. I managed - maybe in a wrong way - to do it through the following example: [...] Unfortunately, there are no ligatures whereas the snapshots given

[NTG-context] luatex or luajittex?

2014-01-06 Thread Pablo Rodriguez
Dear list, first of all, best wishes to all for the new year 2014. I have just updated the ConTeXt Suite and I discovered that the latest luatex version is newer than the luajittex version (0.78.0 vs. 0.77.0). Which one is preferable: luatex or luajittex? Many thanks for your help, Pablo --

Re: [NTG-context] luatex or luajittex?

2014-01-07 Thread Pablo Rodriguez
On 01/06/2014 10:38 PM, Hans Hagen wrote: On 1/6/2014 9:29 PM, Pablo Rodriguez wrote: [...] Which one is preferable: luatex or luajittex? both should work although at some point we will move on to 0.77 specific functionality there will be a luajittex 0.78.1 soon (there is already

Re: [NTG-context] luatex or luajittex?

2014-01-07 Thread Pablo Rodriguez
On 01/07/2014 07:24 PM, Mojca Miklavec wrote: On Tue, Jan 7, 2014 at 7:07 PM, Pablo Rodriguez wrote: On 01/06/2014 10:38 PM, Hans Hagen wrote: On 1/6/2014 9:29 PM, Pablo Rodriguez wrote: [...] Which one is preferable: luatex or luajittex? both should work although at some point we will move

Re: [NTG-context] luatex or luajittex?

2014-01-07 Thread Pablo Rodriguez
On 01/07/2014 07:17 PM, Hans Hagen wrote: On 1/7/2014 7:07 PM, Pablo Rodriguez wrote: I have just updated the ConTeXt Suite (for Linux) and luajittex seems to be broken. When removing tex/texmf-cache/luatex-cache, context isn’t able to recreate it. If I try to recreate it manually (invoking

Re: [NTG-context] luatex or luajittex?

2014-01-07 Thread Pablo Rodriguez
On 01/07/2014 08:36 PM, Mojca Miklavec wrote: [...] Please try again. (Or at least I hope that the new binary has proliferated to the distribution already.) Many thanks for your help, Mojca. I tried and it seems that I still have the issue. I will check tomorrow again. Pablo --

Re: [NTG-context] luatex or luajittex?

2014-01-08 Thread Pablo Rodriguez
On 01/07/2014 10:14 PM, Hans Hagen wrote: On 1/7/2014 9:58 PM, Pablo Rodriguez wrote: [...] Many thanks for your help, Mojca. I tried and it seems that I still have the issue. I will check tomorrow again. or move to 64 bit linux (makes normal luatex faster too) My processor and system

Re: [NTG-context] luatex or luajittex?

2014-01-08 Thread Pablo Rodriguez
On 01/07/2014 08:36 PM, Mojca Miklavec wrote: [...] Please try again. (Or at least I hope that the new binary has proliferated to the distribution already.) Mojca, just now the ConTeXt Suite still downloads version 0.78.0 for Linux 32-bit (This is LuaTeX, Version beta-0.78.0-2014010116 (TeX

Re: [NTG-context] luatex or luajittex?

2014-01-08 Thread Pablo Rodriguez
On 01/08/2014 05:11 PM, Mojca Miklavec wrote: On Jan 8, 2014 5:02 PM, Pablo Rodriguez wrote: On 01/07/2014 08:36 PM, Mojca Miklavec wrote: [...] Please try again. (Or at least I hope that the new binary has proliferated to the distribution already.) Mojca, just now the ConTeXt Suite

Re: [NTG-context] luatex or luajittex?

2014-01-08 Thread Pablo Rodriguez
On 01/08/2014 08:17 PM, Pablo Rodriguez wrote: On 01/08/2014 05:11 PM, Mojca Miklavec wrote: [...] Which version do you expect? There won't be any updates to this unless/until Taco or Luigi release a new one. I expected version 0.78.1, since version 0.78.0 seems not to be able to generate

[NTG-context] latest beta and luajittex in Linux 32-bit

2014-01-08 Thread Pablo Rodriguez
Dear list, could anyone using the latest beta from ConTeXt Suite in Linux 32-bit confirm whether compilation with the option --engine=luajittex works? Many thanks for your help, Pablo -- http://www.ousia.tk ___ If

Re: [NTG-context] latest beta and luajittex in Linux 32-bit

2014-01-09 Thread Pablo Rodriguez
On 01/09/2014 01:37 PM, Mojca Miklavec wrote: On Wed, Jan 8, 2014 at 8:47 PM, Pablo Rodriguez wrote: I added Alan's binary now, but I currently don't have a suitable linux box to test whether it works. Many thanks for the replies and the help, Luigi, Alan and Mojca. Everything works fine

[NTG-context] apply typing environment to \typebuffer

2014-01-14 Thread Pablo Rodriguez
Dear list, I have a presentation that defines a typing environment and I would like to know who to apply it to \typebuffer. Here is a sample: \definetyping[TeXcode][option=TEX] \starttext \startbuffer[a] \starttext \input knuth \stoptext \stopbuffer \typesetbuffer[a] \typebuffer[a] \stoptext

Re: [NTG-context] apply typing environment to \typebuffer

2014-01-15 Thread Pablo Rodriguez
On 01/15/2014 01:12 AM, Marco Patzer wrote: On 2014–01–14 Pablo Rodriguez wrote: I have a presentation that defines a typing environment and I would like to know who to apply it to \typebuffer. Use: \setuptyping [buffer] [option=TEX] Many thanks for your reply, Marco

Re: [NTG-context] apply typing environment to \typebuffer

2014-01-15 Thread Pablo Rodriguez
On 01/15/2014 08:50 PM, Peter Münster wrote: On Wed, Jan 15 2014, Pablo Rodriguez wrote: \definetyping[buffer][option=TEX,before=\startframedtext,after=\stopframedtext] \setuptyping[buffer][style=\tt\setupinterlinespace,align={right,broad}] Why \definetyping[buffer] ? \typebuffer

[NTG-context] hyphenating \ConTeXt

2014-01-15 Thread Pablo Rodriguez
Dear list, how should I invoke \hyphenation so it hyphens the \ConTeXt command? 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

Re: [NTG-context] hyphenating \ConTeXt

2014-01-17 Thread Pablo Rodriguez
On 01/15/2014 11:56 PM, Marco Patzer wrote: On 2014–01–15 Pablo Rodriguez wrote: how should I invoke \hyphenation so it hyphens the \ConTeXt command? \ConTeXt is defined as “Con\TeX t” and \TeX uses kerns and boxes, both of which suppress hyphenation. AFAIK there's no easy way around

Re: [NTG-context] hyphenating \ConTeXt

2014-01-17 Thread Pablo Rodriguez
On 01/17/2014 07:18 PM, Aditya Mahajan wrote: On Fri, 17 Jan 2014, Pablo Rodriguez wrote: [...] I would like to hyphenate ConTeXt as the standard English word (Con-TeXt). Sorry for having to explain that ;-), but I’m writing an introduction to ConTeXt in Spanish. I had already rewritten two

[NTG-context] issues with \setuplist

2014-01-17 Thread Pablo Rodriguez
Dear list, generating a table of contents with the following sample: \setupinterlinespace[line=3.5ex] \setuplist[section][alternative=d, style={\itx\setupinterlinespace}, separator={·}] \starttext \placecontent \dorecurse{5}{\chapter{Chapter}\dorecurse{10}{\section{Long Section Title}}}

Re: [NTG-context] hyphenating \ConTeXt

2014-01-17 Thread Pablo Rodriguez
On 01/17/2014 08:04 PM, Marco Patzer wrote: On 2014–01–17 Pablo Rodriguez wrote: [...] I would like to hyphenate ConTeXt as the standard English word (Con-TeXt). Sometimes I'm missing the obvious and make things more complicated than necessary. Many thanks for the reply and for your help

Re: [NTG-context] footnotes in appendices

2014-01-19 Thread Pablo Rodriguez
On 01/19/2014 12:29 PM, Marco Patzer wrote: On 2014–01–19 Pablo Rodriguez wrote: on a document I have, I want to have footnotes in appendices, but they are numbered in uppercase Roman numbers. [...] How can I change it to Arabic numbers? \setupnotation [footnote

[NTG-context] enable kerning with discretionary hyphen

2014-01-19 Thread Pablo Rodriguez
Dear list, as I have asked in a previous message to the list, I wanted to be able to hyphenate \ConTeXt. Aditya kindly suggested the use of \discretionary, but this has an unintended collateral effect: kerning is disabled in the word. I can specify kerning with \discretionary, such as in:

Re: [NTG-context] footnotes in appendices

2014-01-19 Thread Pablo Rodriguez
On 01/19/2014 06:58 PM, Wolfgang Schuster wrote: [...] You can set a conversionset also for certain sectionblocks when you add the name of the block as prefix for the name of the set. \defineconversionset[frontpart:pagenumber][][A] \defineconversionset [bodypart:pagenumber][][R]

Re: [NTG-context] enable kerning with discretionary hyphen

2014-01-21 Thread Pablo Rodriguez
On 01/19/2014 11:43 PM, Hans Hagen wrote: On 1/19/2014 6:51 PM, Pablo Rodriguez wrote: [...] Even in the case it could work, I would like to know how I could define commands (\ConTeXt or \TeX) only referred to individual fonts. just use \def\ConTeXt{Con\-TeXt} then or \def\ConTeXt{Con\-text

Re: [NTG-context] enable kerning with discretionary hyphen

2014-01-22 Thread Pablo Rodriguez
On 01/21/2014 10:01 PM, Wolfgang Schuster wrote: You can use the \fontalternative command to check for the current alternative (upright, italic, bold etc.) of the font. \def\Test {\processaction [\fontalternative] [ tf=Upright, it=Italic, sl=Slanted,

[NTG-context] new interface to simplefonts

2014-01-22 Thread Pablo Rodriguez
Dear list, using the latest beta from today (ConTeXt - 2014.01.22 01:31) in Linux 32-bit, I cannot get the new simplefonts working. Here is the sample: \definefallbackfamily [mainface] [serif] [DejaVu Serif] [range={greek,extendedgreek},force=yes] \definefontfamily [mainface] [serif] [TeX

Re: [NTG-context] new interface to simplefonts

2014-01-22 Thread Pablo Rodriguez
On 01/23/2014 02:06 AM, Hans Hagen wrote: On 1/22/2014 10:49 PM, Wolfgang Schuster wrote: This is a context bug which was probably introduced with the recent optimization/speedup for the generation of the font database. As a result of this the following fields in the database (which are needed

[NTG-context] fallback font in new interface to simplefonts

2014-01-25 Thread Pablo Rodriguez
Dear list, the following code doesn’t find the fallback font for Hebrew: \definefallbackfamily[mainface][serif][FreeMono-Bold][range={hebrew, alphabeticpresentationforms}, force=yes] \definefontfamily[mainface][serif][TeX Gyre Pagella] \setupbodyfont[mainface] \starttext ץ׃​. \stoptext But the

Re: [NTG-context] fallback font in new interface to simplefonts

2014-01-25 Thread Pablo Rodriguez
On 01/25/2014 01:20 PM, Wolfgang Schuster wrote: Hi Pablo, you have to use the name of the font family (the name which is displayed in word processors when you choose a font). When you want to use the bold font for the upright style you can add “tf=style:bold” to the fourth argument of

[NTG-context] definefontfamily options for caps and capsbold fonts

2014-01-25 Thread Pablo Rodriguez
Hi Wolfgang, with the new simplefonts interface I have two options that used to work with the old interface, but that don’t work now. Here is the command: \definefontfamily[mainface][mono][ryt1xtt][capsfont=ryt1xttsc, boldfont=ryt1xbtt, capsboldfont=ryt1xttsc] I get mono the bold font, but I

[NTG-context] special case to disable italic correction

2014-01-26 Thread Pablo Rodriguez
Hi Hans, after reading the relevant part for italic correction in fonts-mkiv.pdf and enabling it in my documents, I have found a case in which the italic correction could be improved. My settings are: \definefontfeature[default][default][itlc=yes] \setupitaliccorrection[global,always] If I

Re: [NTG-context] definefontfamily options for caps and capsbold fonts

2014-01-27 Thread Pablo Rodriguez
On 01/26/2014 10:54 PM, Wolfgang Schuster wrote: Am 26.01.2014 um 00:07 schrieb Pablo Rodriguez oi...@gmx.es: Hi Wolfgang, with the new simplefonts interface I have two options that used to work with the old interface, but that don’t work now. Here is the command: \definefontfamily

Re: [NTG-context] special case to disable italic correction

2014-01-28 Thread Pablo Rodriguez
On 01/28/2014 03:14 PM, Hans Hagen wrote: On 1/26/2014 8:24 PM, Pablo Rodriguez wrote: [...] If I get it right, the italic correction should be avoided before points and commas (these are all the exceptions I can imagine for this case). The explanation is simple: the space is already

[NTG-context] on the \show command

2014-01-29 Thread Pablo Rodriguez
Dear list, I have discovered today the \show command in TeX. But I cannot get it work in ConTeXt: \starttext \show\input \stoptext What am I doing wrong? Many thanks for your help, Pablo -- http://www.ousia.tk

Re: [NTG-context] on the \show command

2014-01-29 Thread Pablo Rodriguez
On 01/29/2014 07:39 PM, Aditya Mahajan wrote: On Wed, 29 Jan 2014, Pablo Rodriguez wrote: [...] I have discovered today the \show command in TeX. But I cannot get it work in ConTeXt: [...] BTW, you can also run context --pipe to start an interactive session. Many thanks, Aditya

[NTG-context] issue with font in typing environment

2014-02-02 Thread Pablo Rodriguez
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):

Re: [NTG-context] issue with font in typing environment

2014-02-02 Thread Pablo Rodriguez
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

Re: [NTG-context] issue with font in typing environment

2014-02-02 Thread Pablo Rodriguez
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

[NTG-context] printing visible space in \tex

2014-02-02 Thread Pablo Rodriguez
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

Re: [NTG-context] printing visible space in \tex

2014-02-02 Thread Pablo Rodriguez
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

[NTG-context] two question on ConTeXt terminology

2014-02-02 Thread Pablo Rodriguez
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

Re: [NTG-context] two questions on ConTeXt terminology

2014-02-02 Thread Pablo Rodriguez
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

Re: [NTG-context] two questions on ConTeXt terminology

2014-02-03 Thread Pablo Rodriguez
Hi Keith, many thanks for your explanation. I cannot see the “structural” difference ;-) between the start/stop and the begin/end pairs. But I think structure is fine. Structural element seems too complex to me. Many thanks for your help again, Pablo On 02/03/2014 10:07 AM, Keith J.

Re: [NTG-context] two questions on ConTeXt terminology

2014-02-03 Thread Pablo Rodriguez
On 02/03/2014 02:33 PM, Henning Hraban Ramm wrote: Maybe use „container“, since \start \stop is just like { }. Many thanks for your reply, Hraban. “Containner” seems to generic to me. I meant any \startx \stopx structure. Many thanks for your help, Pablo -- http://www.ousia.tk

Re: [NTG-context] two questions on ConTeXt terminology

2014-02-04 Thread Pablo Rodriguez
Hi Keith, many thanks for your explanation. Now I understand why start/stop in ConTeXt and begin/end in LaTeXt may be different. The audience I intend to address is people that can use a word processor. The less technical the details are, the easier would be the explanation to be understood.

[NTG-context] another question on simplefonts

2014-02-04 Thread Pablo Rodriguez
Hi Wolfgang, I have the following code: \definefontfeature[fakeslanted][slant=.25] \definefontfamily[mainface][serif][TeX Gyre Pagella][slantedfont={* Regular},sl=features:fakeslanted] \setupbodyfont[mainface] \starttext This is {\em slanted}. \stoptext But I don’t know how to define

Re: [NTG-context] another question on simplefonts

2014-02-05 Thread Pablo Rodriguez
On 02/05/2014 12:39 AM, Wolfgang Schuster wrote: Am 04.02.2014 um 21:19 schrieb Pablo Rodriguez oi...@gmx.es: [...] But I don’t know how to define slantedfont={* Regular} with the new syntax. sl=style:tf or sl=style:regular don’t work (the italic font is the slanted one). Which is the right

[NTG-context] suggestion on [option=TEX]

2014-02-05 Thread Pablo Rodriguez
Hi Hans, I have the following sample: \setuptyping[option=TEX] \starttext \starttyping \input zapf % knuth \stoptyping \stoptext The percent character is in bold font and gray color, but the rest of the commented text isn’t. My suggestion would be to apply the same color and font of the

Re: [NTG-context] suggestion on [option=TEX]

2014-02-06 Thread Pablo Rodriguez
On 02/06/2014 12:57 AM, Wolfgang Schuster wrote: Am 05.02.2014 um 19:50 schrieb Pablo Rodriguez oi...@gmx.es: Hi Hans, I have the following sample: \setuptyping[option=TEX] \starttext \starttyping \input zapf % knuth \stoptyping \stoptext The percent character is in bold font

Re: [NTG-context] suggestion on [option=TEX]

2014-02-12 Thread Pablo Rodriguez
On 02/07/2014 12:36 AM, Wolfgang Schuster wrote: Am 06.02.2014 um 19:29 schrieb Pablo Rodriguez: [...] After reading the document, I think it could be achieved with: [...] But this doesn’t work. I must be missing something obvious. You have to add a comma after \letterpercent. You should

[NTG-context] bug in page break and footnotes

2014-02-14 Thread Pablo Rodriguez
Dear list, I have just discovered that there is a buggy interaction between references and footnotes. The sample is taken form a book I’m writing. When including two \about and a footnote at the end of the paragraph, ConTeXt is not able to move the two last lines from paragraph to the next page

[NTG-context] bug with \setupdirection[bidi=on]

2014-02-15 Thread Pablo Rodriguez
Dear list, the following sample shows the bug I tried to report yesterday: \setupdirections[bidi=on] \starttext \section[sectionone]{Section one} \section[sectiontwo]{Section two} \section[sectionthree]{Section three} \section{Section four} As said in \about[sectionone], \about[sectiontwo]

[NTG-context] wrong \sc i with Palatino Linotype

2014-02-17 Thread Pablo Rodriguez
Dear list, I have noticed that ConTeXt (beta from 2014.02.14 17:07) has a problem with Palatino Linotype. Here the sample: \definefontfeature[capstosc][c2sc=yes] \definefontfamily[mainface][serif][Palatino Linotype] \setupbodyfont[mainface] \starttext {\addfeature[capstosc] AEIOU} \sc aeiou

Re: [NTG-context] wrong \sc i with Palatino Linotype

2014-02-17 Thread Pablo Rodriguez
On 02/17/2014 08:46 PM, Jan Tosovsky wrote: On 2014-02-17 Pablo Rodriguez wrote: I have noticed that ConTeXt (beta from 2014.02.14 17:07) has a problem with Palatino Linotype. [...] All vowels are fine, but the i is a dotted small cap i. The regular small cap i is defined as i.sc

[NTG-context] \setuplist[alternative=inmargin, sectionsegments=section]?

2014-02-19 Thread Pablo Rodriguez
Dear list, I have the following sample: \setupheads\setuphead[chapter][sectionsegments=chapter, align=center] \setuphead[section][alternative=inmargin] \setuplist[section][alternative=d, style=\itx] \starttext \placecontent \startfrontmatter \dorecurse{2}{\chapter{Chapter}

Re: [NTG-context] \setuplist[alternative=inmargin, sectionsegments=section]?

2014-02-19 Thread Pablo Rodriguez
On 02/19/2014 07:48 PM, Wolfgang Schuster wrote: Am 19.02.2014 um 19:02 schrieb Pablo Rodriguez: [...] My question is: how can I achieve \setuplist[chapter][alternative=inmargin] and Write your own list layout. Many thanks for your reply, Wolfgang. I have no idea about how to do it. What

[NTG-context] \asciimode not working when in \footnote

2014-02-19 Thread Pablo Rodriguez
Dear list, I have the following sample: \starttext {\asciimode It works in body%.}\footnote{But not in footnotes {\asciimode %}.} \stoptext I’m afraid \asciimode cannot be included within a footnote. Is this a bug or am I missing something? Many thanks for your help, Pablo --

Re: [NTG-context] \asciimode not working when in \footnote

2014-02-19 Thread Pablo Rodriguez
On 02/19/2014 08:24 PM, Wolfgang Schuster wrote: Am 19.02.2014 um 20:18 schrieb Pablo Rodriguez oi...@gmx.es: [...] I’m afraid \asciimode cannot be included within a footnote. Is this a bug or am I missing something? You have to enable ascii mode before you write the footnote. Many thanks

Re: [NTG-context] \setuplist[alternative=inmargin?

2014-02-19 Thread Pablo Rodriguez
On 02/19/2014 08:26 PM, Wolfgang Schuster wrote: Am 19.02.2014 um 20:14 schrieb Pablo Rodriguez: On 02/19/2014 07:48 PM, Wolfgang Schuster wrote: [...] Write your own list layout. I have no idea about how to do it. What should I start reading? Search for \definelistalternative

[NTG-context] \doifemptyelse

2014-02-20 Thread Pablo Rodriguez
Dear list, I have the following sample: \starttext \chapter{Chapter} .\doifemptyelse{\getmarking[section][current]} {\getmarking[chapter][current]} {\getmarking[section][current]}. \section{Section} .\doifemptyelse{\getmarking[section][current]} {\getmarking[chapter][current]}

Re: [NTG-context] \doifemptyelse

2014-02-20 Thread Pablo Rodriguez
On 02/20/2014 09:39 PM, Wolfgang Schuster wrote: Am 20.02.2014 um 21:12 schrieb Pablo Rodriguez: [...] How can I make the first conditional work? You can’t, markings are only reliable when you use them in the header of footer of the page. To access the values of a heading you can use

Re: [NTG-context] \doifemptyelse

2014-02-22 Thread Pablo Rodriguez
On 02/20/2014 11:23 PM, Wolfgang Schuster wrote: Am 20.02.2014 um 23:09 schrieb Pablo Rodriguez oi...@gmx.es: [...] Only a minor detail: is there a more proper way to center both headings? You can use the simple version of \setupheadertexts and use \doifoddpageelse to check whether you’re

Re: [NTG-context] \doifemptyelse

2014-02-22 Thread Pablo Rodriguez
On 02/20/2014 11:32 PM, Thangalin wrote: Have you looked at: http://wiki.contextgarden.net/Headers_and_Footers#Marginal_headings_and_centered_headings ? Many thanks for your reply, Thagalin. I even compiled the sample code, but I hadn’t understood how the \setupheadertexts worked with a

[NTG-context] \definefallbackfamily issues

2014-02-23 Thread Pablo Rodriguez
Hi Wolfgang, sorry for asking about the \definefallbackfamily again, but I have the impression that the more I use, the less I understand it. Here is the sample: \setuplanguage[en][patterns={en,agr,ru}] \definefallbackfamily[mainface][serif][CMU Serif][preset={range:greek, range:cyrillic},

Re: [NTG-context] \definefallbackfamily issues

2014-02-23 Thread Pablo Rodriguez
On 02/23/2014 07:26 PM, Wolfgang Schuster wrote: Am 23.02.2014 um 11:00 schrieb Pablo Rodriguez oi...@gmx.es: How can I define one fallback with more than one range preset? (I tried many combinations, but none of them worked.) Your example above uses two presets and both are used

  1   2   3   4   5   6   7   8   9   10   >