[NTG-context] mixing English and Hebrew

2013-07-21 Thread Pablo Rodríguez
Dear list, I was asked how to mix l2r and r2l scripts on the same document. (Just in case, I have no idea what the Hebrew text below means.) I have this sample: \usemodule[simplefonts] \definefontfeature[hebrew][lang=heb,script=hebr]

Re: [NTG-context] mixing English and Hebrew

2013-07-22 Thread Pablo Rodríguez
On 22/07/13 10:02, Hans Hagen wrote: On 7/21/2013 9:29 PM, Pablo Rodríguez wrote: [...] How can I enable r2l alignment only for Hebrew in the sample above? \setupdirections[bidi=on] but keep in mind that as we're deling with tex i.e. a programmable system which has commands for changing

Re: [NTG-context] mixing English and Hebrew

2013-07-22 Thread Pablo Rodríguez
On 22/07/13 18:20, Hans Hagen wrote: On 7/22/2013 5:07 PM, Pablo Rodríguez wrote: [...] Everything seems to work fine with bidirectionality, but some characters disappear. [...] I don’t know what is wrong here. The font seems to have defined the glyph (I‘ve checked it with fontforge

Re: [NTG-context] mixing English and Hebrew

2013-07-22 Thread Pablo Rodríguez
On 22/07/13 19:59, Wolfgang Schuster wrote: [...] FreeSerif works but Linux Libertine doesn’t: It might be something stupid, but I don’t know what is wrong in the \setmainfontfallback from the following sample: \usemodule[simplefonts] \setupdirections[bidi=on]

[NTG-context] wrong font fallback for Hebrew?

2013-07-25 Thread Pablo Rodríguez
Dear list, using simplefonts (sorry, I don’t know how to do it with the standard typescripts [it might fail there too]), I don’t get font fallback working for some Hebrew characters. Here is the sample: \usemodule[simplefonts] \setupdirections[bidi=on]

Re: [NTG-context] wrong font fallback for Hebrew?

2013-07-25 Thread Pablo Rodríguez
On 25/07/13 19:16, Wolfgang Schuster wrote: Am 25.07.2013 um 18:39 schrieb Pablo Rodríguez oi...@web.de: Dear list, using simplefonts (sorry, I don’t know how to do it with the standard typescripts [it might fail there too]), I don’t get font fallback working for some Hebrew characters

Re: [NTG-context] OSFONTDIR kills gui fonts.

2013-07-26 Thread Pablo Rodríguez
On 26/07/13 21:08, john Culleton wrote: I am trying to follow the wiki on Fonts in Luatex. It suggests the following statement for Linux systems: export OSFONTDIR=/usr/local/share/fonts;$HOME/.fonts But I store my fonts in /usr/share/fonts so I used: export OSFONTDIR=/usr/share/fonts

[NTG-context] faking fonts with simplefonts

2013-07-26 Thread Pablo Rodríguez
Dear list, I don’t get slanted fonts that I have to fake for a monospaced typeface that lacks an italic font. Here is a sample with a standard font that shows the same problem: \usemodule[simplefonts] \definefontfeature[fakeitalic][default][slant=.25] \setmonofont[DejaVu Sans

Re: [NTG-context] faking fonts with simplefonts

2013-07-27 Thread Pablo Rodríguez
On 27/07/13 06:48, Wolfgang Schuster wrote: Am 26.07.2013 um 22:22 schrieb Pablo Rodríguez oi...@web.de: Dear list, I don’t get slanted fonts that I have to fake for a monospaced typeface that lacks an italic font. [...] I can only get the second \em working, unless I don’t fake

[NTG-context] bug in \type?

2013-07-27 Thread Pablo Rodríguez
Dear list, using the latest beta (it also happens with ConTeXt from TL 2013), I don’t get the space in \type{\em #1}. Here you have a minimal sample that shows the difference with other verbatim commands: \starttext \type{\em #1} \arg{\em #1} \starttyping\em #1\stoptyping

Re: [NTG-context] OSFONTDIR kills gui fonts.

2013-07-27 Thread Pablo Rodríguez
On 27/07/13 16:34, john Culleton wrote: On Fri, 26 Jul 2013 22:15:58 +0200 Pablo Rodríguez oi...@web.de wrote: [...] Using the ConTeXt Suite the command I use is: export OSFONTDIR=/usr/share/fonts// Hmm. Why do you use // at the end of the statement? Does that have some kind of magic

[NTG-context] matching font sizes with fallback fonts

2013-07-31 Thread Pablo Rodríguez
Dear list, I’m trying to match the fallback font size with the lowercase size of the main font, as shown in this sample: \usemodule[simplefonts][size=90pt] \setmainfontfallback[GFS Neohellenic] [range={greekandcoptic,greekextended}, force=yes, rscale=auto] \setmainfont[TeX Gyre

[NTG-context] wrong \setupinteraction[focus=standard]?

2013-07-31 Thread Pablo Rodríguez
Dear list, I’m trying to get internal links to footnotes without having the focus changed. I try this minimal sample: \setupinteraction[state=start,focus=standard] \starttext Body text\footnote{Footnote.}. \stoptext But I cannot get it working (it should work, according to the

Re: [NTG-context] matching font sizes with fallback fonts

2013-08-01 Thread Pablo Rodríguez
On 07/31/2013 10:43 PM, Wolfgang Schuster wrote: Am 31.07.2013 um 18:16 schrieb Pablo Rodríguez oi...@web.de: [...] \usemodule[simplefonts][size=90pt] \setmainfontfallback[GFS Neohellenic] [range={greekandcoptic,greekextended}, force=yes, rscale=auto] \setmainfont[TeX Gyre

Re: [NTG-context] wrong \setupinteraction[focus=standard]?

2013-08-01 Thread Pablo Rodríguez
On 07/31/2013 09:48 PM, Marco Patzer wrote: On 2013–07–31 Pablo Rodríguez wrote: I’m trying to get internal links to footnotes without having the focus changed. […] Is this a bug? Yes, it's a known issue since quite a while. Hans confirmed it on 2013-03-28: This is a long term

[NTG-context] unwanted extra interline space in typing environment

2013-08-07 Thread Pablo Rodríguez
Dear list, I have a document (http://ediciones-criticas.tk/pdf/criticas-context.pdf), which is shows a weird issue: some typing lines have an extra interline space added. It can be found on the first code samples on pages 11 and 12 from the above-mentioned document (sorry, but I have no other

Re: [NTG-context] problem with Persian feature

2013-08-07 Thread Pablo Rodríguez
On 08/07/2013 04:09 PM, Mingranina Gingranina wrote: [...] For TrueType fonts which are in the directory '/usr/share/fonts/TTF/' everything works fine, but if the font is in '/usr/local/share/fonts/' then the code fails. Please note that I have already executed the commands:

Re: [NTG-context] unwanted extra interline space in typing environment

2013-08-07 Thread Pablo Rodríguez
On 08/07/2013 08:00 PM, Wolfgang Schuster wrote: Am 07.08.2013 um 19:47 schrieb Pablo Rodríguez oi...@web.de: [...] How can avoid the unwanted extra interline space in the typing environment? Can you make a minimal example which shows the wrong spacing? I can see it in your document

Re: [NTG-context] unwanted extra interline space in typing environment

2013-08-08 Thread Pablo Rodríguez
On 08/07/2013 11:04 PM, Hans Hagen wrote: On 8/7/2013 10:52 PM, Pablo Rodríguez wrote: On 08/07/2013 08:00 PM, Wolfgang Schuster wrote: Am 07.08.2013 um 19:47 schrieb Pablo Rodríguez oi...@web.de: [...] How can avoid the unwanted extra interline space in the typing environment? [...] you

Re: [NTG-context] unwanted extra interline space in typing environment

2013-08-08 Thread Pablo Rodríguez
On 08/08/2013 07:24 PM, Hans Hagen wrote: On 8/8/2013 4:50 PM, Pablo Rodríguez wrote: [...] Isn’t it a bug? yes, but in fact a side effect of trying to fix another page-crossing issue ... i'll try a different trick Many thanks for the fix, Hans. Pablo -- http://www.ousia.tk

[NTG-context] simplefonts doesn’t select the font

2013-08-08 Thread Pablo Rodríguez
Dear list, I have the following sample: \starttext \startbuffer[testbuffer] \setuppapersize[A7] \usemodule[simplefonts][size=10.5pt] \setmainfont[TeX Gyre Pagella] \starttext This isn’t \TeX\ Gyre Pagella. \stoptext \stopbuffer \typesetbuffer[testbuffer]

[NTG-context] include two pages from typesetbuffer

2013-08-08 Thread Pablo Rodríguez
Dear list, I would like to be able to include the first two pages of a typeset buffer (included with \typesetbuffer[sample][frame=on]). Is there any way to do this? I’d like to avoid to save the buffer to a file. Many thanks for your help, Pablo -- http://www.ousia.tk

Re: [NTG-context] include two pages from typesetbuffer

2013-08-09 Thread Pablo Rodríguez
On 08/08/2013 10:40 PM, Hans Hagen wrote: On 8/8/2013 10:15 PM, Hans Hagen wrote: On 8/8/2013 9:01 PM, Pablo Rodríguez wrote: Dear list, I would like to be able to include the first two pages of a typeset buffer (included with \typesetbuffer[sample][frame=on]). Is there any way to do

Re: [NTG-context] include two pages from typesetbuffer

2013-08-10 Thread Pablo Rodríguez
On 08/09/2013 11:42 PM, Hans Hagen wrote: [...] actually there was already a test for that but i made a better one, so now we have: \starttext \enabletrackers[buffers.run] \startbuffer [sample] \starttext \startTEXpage[offset=10pt] one \stopTEXpage

[NTG-context] \typesetbuffer at wiki

2013-08-10 Thread Pablo Rodríguez
Dear list, I have just created http://wiki.contextgarden.net/Command/typesetbuffer. In the typeset sample, it seems that \typesetbuffer doesn’t work at the wiki (it doesn’t include the image). Am I missing something here? Many thanks for your help, Pablo -- http://www.ousia.tk

[NTG-context] issue with \stoplinenote

2013-08-10 Thread Pablo Rodríguez
Dear Hans, the following sample shows an already described issue with linenotes: \mainlanguage[es] \setuppapersize[A7] \starttext \startlinenumbering \startlinenote[MRU]{{\em om.} X}En un lugar de la Mancha, de cuyo nombre no quiero acordarme, no ha mucho tiempo que vivía

Re: [NTG-context] \typesetbuffer at wiki

2013-08-10 Thread Pablo Rodríguez
On 08/10/2013 01:51 PM, Sietse Brouwer wrote: Hi Pablo, This is probably a backend problem. I know that examples where multiple pages are imposed onto one sheet also don’t work; this is probably similar. I might look into it at some point, try to improve the php, but it’s not a priority.

Re: [NTG-context] Part numbers

2013-08-11 Thread Pablo Rodríguez
On 08/11/2013 03:08 PM, Tim Steenvoorden wrote: Hi all, I have a document with parts and chapters. I'd like to number the chapters continuously through the whole document. Figured out this has to be done with \definestructureresetset instead of the resetnumber=no option in \setuphead. But I

[NTG-context] slow compilation?

2013-08-12 Thread Pablo Rodríguez
Dear list, although I cannot find it now, I sent a message to the list describing that I suspected ConTeXt wasn’t as fast as it should on my computer. Here you have a minimal sample: \starttext \input knuth \stoptext It takes about 3.5 seconds total runtime to compile. Is this the

Re: [NTG-context] slow compilation?

2013-08-12 Thread Pablo Rodríguez
On 08/12/2013 07:20 PM, Wolfgang Schuster wrote: Am 12.08.2013 um 18:40 schrieb Pablo Rodríguez oi...@web.de: [...] It takes about 3.5 seconds total runtime to compile. Is this the standard required time? Your minimal example takes for me on the first 1.8 (terminal) to 2 seconds (editor

Re: [NTG-context] slow compilation?

2013-08-12 Thread Pablo Rodríguez
On 08/12/2013 09:55 PM, Hans Hagen wrote: On 8/12/2013 6:40 PM, Pablo Rodríguez wrote: It takes about 3.5 seconds total runtime to compile. Is this the standard required time? Actually what I wonder is why the compilation requires three runs to output the final document. mkiv lua stats

Re: [NTG-context] slow compilation?

2013-08-12 Thread Pablo Rodríguez
On 08/12/2013 10:37 PM, Aditya Mahajan wrote: On Mon, 12 Aug 2013, Pablo Rodríguez wrote: So if I need three times for each compilation (since I use --purgeall), the time is fine, since my laptop is already some years old. Out of curiosity, why do you use --purgeall? ConTeXt only generates

[NTG-context] \Bigr broken in latest beta

2013-08-17 Thread Pablo Rodríguez
Dear Hans, I‘m afraid that beta from today doesn’t compile what beta from tow days ago compiled. Here is the minimal sample: \starttext \startformula \Bigl(\sqrt{\phi \sqrt{5}}-\phi\Bigr) \stopformula \stoptext Many thanks for your help, Pablo -- http://www.ousia.tk

[NTG-context] error when installing ConTeXt Standalone

2013-09-24 Thread Pablo Rodríguez
Dear list, I have installed a system-wide ConTeXt Standalone in Fedora 19, following the instructions from the wiki. But when I try to rebuild the font cache, I get the following error (with option verbose): resolvers | resolving | remembering file 'font-otp.lua'cannot open : No such file

Re: [NTG-context] error when installing ConTeXt Standalone

2013-09-25 Thread Pablo Rodríguez
On 09/25/2013 12:01 AM, Mica Semrick wrote: Have you added the bin directory to your PATH? No, I invoke source tex/setuptex, which does the same job. Pablo On Tue, Sep 24, 2013 at 1:55 PM, Pablo Rodríguez wrote: Dear list, I have installed a system-wide ConTeXt Standalone

Re: [NTG-context] error when installing ConTeXt Standalone

2013-09-25 Thread Pablo Rodríguez
On 09/25/2013 10:21 PM, John Kitzmiller wrote: Maybe you need to specify the installation directory or issue tex/setuptex from inside the install folder? font-opt.lua should be in install folder/tex/texmf-context/tex/context/base Well, that’s exactly what the following command does (at

Re: [NTG-context] error when installing ConTeXt Standalone

2013-09-26 Thread Pablo Rodríguez
On 09/25/2013 10:55 PM, Mica Semrick wrote: $ source tex/setuptex Do you do that as root? You probably need to add it to something like /etc/bashrc or the like... it sounds like you don't have permission/your shell isn't getting the right path... Both as root and as a regular user. Missing

Re: [NTG-context] error when installing ConTeXt Standalone

2013-10-03 Thread Pablo Rodríguez
On 09/26/2013 07:44 AM, Thomas A. Schmitz wrote: On 25.09.2013 22:50, Pablo Rodríguez wrote: It worked with Fedora 16, but after installing Fedora 19 it doesn’t work. http://thread.gmane.org/gmane.comp.tex.context/83357 [Sorry for the much delayed reply, Thomas. One of the mail servers seem

[NTG-context] a question on coloring \tex and \var

2013-10-03 Thread Pablo Rodríguez
Dear list, I have this sample: \definetype[TeXcode][option=TEX] \starttext \TeXcode{\mainlanguage[la]}, but \tex{ConTeXt} and \arg{option=value}. \stoptext I need ot have \tex and \arg colored with [option=TeX] (and I would avoid having \type colored). How can I do that?

[NTG-context] (again) coloring \tex with [option=TeX]

2013-10-05 Thread Pablo Rodríguez
Dear list, I would like to have \tex using [option=TEX]. But I cannot get it working, even if I setup \type to [option=TEX]. Here you have the minimal sample: \setuptype[option=TEX] \starttext \type{\ConTeXt} comes from \tex{TeX}. \stoptext How can I have \tex with colored

Re: [NTG-context] (again) coloring \tex with [option=TeX]

2013-10-05 Thread Pablo Rodríguez
On 10/05/2013 10:58 PM, Hans Hagen wrote: On 10/5/2013 8:21 PM, Pablo Rodríguez wrote: [...] How can I have \tex with colored output, the same way \type is colored above? by redefining it: \unexpanded\def\tex#1{\normalexpanded{\type{\letterbackslash#1}}} Many thanks for your help, Hans

[NTG-context] image vertical positioning in xtable

2013-10-06 Thread Pablo Rodríguez
Dear list, I have the following sample that places the image below the text in the same cell: \starttext \startxtable \startxrow \startxcell This is an \stopxcell \startxcell image \externalfigure[cow.pdf][height=.5em] \stopxcell \stopxrow

[NTG-context] on the xcorresp module

2013-10-06 Thread Pablo Rodríguez
Dear Hans, I’m very interested in using ConTeXt to generate the correspondence at work. I have seen the xcorresp module documentation and I wonder whether it is under development or not. Thanks, Pablo -- http://www.ousia.tk

[NTG-context] wrong positioning of MP graphic in layer

2013-10-07 Thread Pablo Rodríguez
Dear list, I have the following sample: \definelayer[wrongpositioned][x=0mm, y=0mm, hoffset=0mm, voffset=48mm, state=start] \setuplayer[wrongpositioned]{\startMPcode draw (0mm,0mm)--(8mm,0mm)--(8mm,38mm)--(14mm,38mm) ; \stopMPcode}

Re: [NTG-context] wrong positioning of MP graphic in layer

2013-10-07 Thread Pablo Rodríguez
On 10/07/2013 07:16 PM, luigi scarso wrote: On Mon, Oct 7, 2013 at 5:56 PM, Pablo Rodríguez wrote: Dear list, I have the following sample: [...] Many thanks for your reply, Luigi. I need to insist on this sample, because the layer doesn’t behave as such: \definelayer[wrongpositioned][x

Re: [NTG-context] wrong positioning of MP graphic in layer

2013-10-08 Thread Pablo Rodríguez
On 10/07/2013 10:48 PM, Hans Hagen wrote: On 10/7/2013 10:04 PM, Pablo Rodríguez wrote: [...] I need to insist on this sample, because the layer doesn’t behave as such: \definelayer[wrongpositioned][x=5000cm, y=5000cm, state=start] \setuplayer[wrongpositioned]{\startMPcode draw (0mm,0mm

Re: [NTG-context] wrong positioning of MP graphic in layer

2013-10-08 Thread Pablo Rodríguez
On 10/07/2013 11:01 PM, luigi scarso wrote: On Mon, Oct 7, 2013 at 10:04 PM, Pablo Rodríguez wrote: I need to insist on this sample, because the layer doesn’t behave as such: \definelayer[wrongpositioned][x=5000cm, y=5000cm, state=start] \setuplayer[wrongpositioned

[NTG-context] layers in empty pages

2013-10-08 Thread Pablo Rodríguez
Dear list, I have the following sample: \setuppagenumbering[alternative=doublesided] \definelayer[MyLayer][state=continue] \setlayer[MyLayer]{This is my layer.} \setupbackgrounds[page][background={MyLayer}] \starttext \input knuth \stoptext I need the text to be

Re: [NTG-context] Embedded fonts question

2008-10-25 Thread Pablo Rodríguez
David Wooten wrote: Greetings all, A sad story: My context-typeset dissertation was printed/distributed by a POD publisher with aweful typographical errors (like all commas in the main font being replaced by an ff ligature). Obviously the printer didn't check their results. The file

Re: [NTG-context] Embedded fonts question

2008-10-26 Thread Pablo Rodríguez
David Wooten wrote: On Oct 25, 2008, at 11:18 AM, Pablo Rodríguez wrote: David Wooten wrote: Greetings all, A sad story: My context-typeset dissertation was printed/ distributed by a POD publisher with aweful typographical errors (like all commas in the main font being replaced

[NTG-context] on imposition and local or external files

2008-11-06 Thread Pablo Rodríguez
Hi there, I would like to use imposition to rearrange an existing PDF as a booklet, but I don' have ConTeXt installed on the machine I would like to do it. Using http://live.contextgarden.net/ might do the job, but I have problems to load the local file. Is there any way to load a local file

Re: [NTG-context] on imposition and local or external files

2008-11-08 Thread Pablo Rodríguez
Thanks, Taco, Luigi, Hans and Mojca. Mojca Miklavec wrote: Is there any way to load a local file (or even an URL) with ConTeXt? How should I rewrite the following command to load a local file or an URL in ConteXt live? Live doesn't allow you to load local files. People could upload all

Re: [NTG-context] on imposition and local or external files

2008-11-08 Thread Pablo Rodríguez
Peter Münster wrote: On Fri, Nov 07 2008, Pablo Rodríguez wrote: Is there any way to load a local file (or even an URL) with ConTeXt? How should I rewrite the following command to load a local file or an URL in ConteXt live? \insertpages[original_file.pdf][width=0pt] I did not find

[NTG-context] ConTeXt Live not working

2008-11-09 Thread Pablo Rodríguez
Trying to typeset the default ConTeXt Live \starttext Hello world! \stoptext I get the following message: TeXExec | processing document 'texweb.tex' TeXExec | no ctx file found TeXExec | tex processing method: context TeXExec | TeX run 1 TeXExec | writing option file texweb.top TeXExec | using

Re: [NTG-context] ConTeXt Live not working

2008-11-09 Thread Pablo Rodríguez
Thanks, Yue, for your reply. Yue Wang wrote: Hi: pls try texexec --make --all luatools --generate context --make Are you sure that users can access to http://live.contextgarden.net/? I think this would be a big security hole. Pablo Yue Wang On Sun, Nov 9, 2008 at 7:35 PM, Pablo

Re: [NTG-context] ConTeXt Live not working

2008-11-09 Thread Pablo Rodríguez
Thanks, Peter, for the reply. Peter Münster wrote: On Sun, Nov 09 2008, Pablo Rodríguez wrote: I can't find the format file `cont-en.fmt'! TeXExec | runtime: 0.776454 It seems that it doesn't work. It happens also with XeTeX and LuaTeX. Sure? No problem here with LuaTeX

[NTG-context] pdftex and xetex not working at live.contextgarden.net

2008-11-10 Thread Pablo Rodríguez
Hi there, LuaTeX seems to have been removed from live.contextgarden.net, but it seems that neither the pdftex nor xetex engine is able to compile the most basic \starttext Hello world! \stoptext Just in case it helps and none has noticed it. Pablo

[NTG-context] issue with imposition

2009-01-18 Thread Pablo Rodríguez
Hi there, I would like to use the imposition capabilities from ConTeXt to be able to print a PDF book in a standard laser printer. To save paper, I use the 2UP arranging option thanks to this code from the wiki: \definepapersize[filius][width=135.9mm, height=231.8mm] \setuppapersize

Re: [NTG-context] issue with imposition

2009-01-18 Thread Pablo Rodríguez
] \stoptext On the commandline call conTeXt as follows texmfstart texexec --pdfarrange --environments=arrange --result=output.pdf input-scaled.pdf I hope this helps Willi On Jan 18, 2009, at 8:05 PM, Pablo Rodríguez wrote: Hi there, I would like to use the imposition capabilities from ConTeXt

Re: [NTG-context] issue with imposition

2009-01-19 Thread Pablo Rodríguez
Pablo Rodríguez wrote: Willi Egger wrote: Hi Pablo, The problem is that the filius-page is higher than the width of an A4. So there is no way other than to scale the original pages down to a height of 210mm. For this action you can use something like Thanks for your fast reply. I thought

<    1   2   3   4