Re: [NTG-context] Monospace fallback kerning

2018-12-11 Thread Pablo Rodriguez
On 12/11/18 3:05 PM, Hans Åberg wrote: > In the example below, multiple spaces do not use the spacing of the > fallback font for multiple spaces, but instead of the main font it > seems, despite the ASCII U+0020 being in the forced override. So the > question is how to force ConTeXt to use the

Re: [NTG-context] issue with optical bounds (OpenType)

2018-12-10 Thread Pablo Rodriguez
On 12/10/18 10:51 AM, Hans Hagen wrote: > On 12/9/2018 8:54 PM, Pablo Rodriguez wrote: >> [] >> My own vectors wouldn’t solve the issue, because the variable would be: >> >> lfbd(Ὧ) = glyph.width(Ω) - glyph.width(Ὧ) >> >> I need to place glyphs accuratel

Re: [NTG-context] issue with optical bounds (OpenType)

2018-12-09 Thread Pablo Rodriguez
On 12/9/18 6:53 PM, Hans Hagen wrote: > On 12/9/2018 5:35 PM, Pablo Rodriguez wrote: >> [...] >> -Is there any way that I can apply pure raw lfbd/rtbd values to >> protrusion with no other protrusion calculation at all in opbd? > > you can create your own vectors

Re: [NTG-context] issue with optical bounds (OpenType)

2018-12-09 Thread Pablo Rodriguez
On 12/9/18 2:22 PM, Hans Hagen wrote: >> [...] > you confuse mechanism: > > - protrusion only happen at the start and end of the line > - kerning (like single does) happens everywhere > > so, you need to extend "lfbd" and not use some own kerning feature > "leftbounds" which applyu it

Re: [NTG-context] fontfamily not loaded anymore

2018-12-09 Thread Pablo Rodriguez
ca Didot solved the problem. Sorry for the noise, Pablo > Pablo Rodriguez schrieb am 09.12.18 um 09:02: >> Dear list, >> >> I have the following source: >> >> \definefontfamily[mainface][rm][GFS Bodoni] >> \definefontfamily[mainface][hw][GFS Artemisia] &

Re: [NTG-context] issue with optical bounds (OpenType)

2018-12-09 Thread Pablo Rodriguez
On 12/7/18 11:25 PM, Hans Hagen wrote: > On 12/7/2018 9:14 PM, Pablo Rodriguez wrote: >> [...] >> The issue is that, although opbd values are used, that results from opbd >> and from single placement in addfeature are different (although LuaTeX >> reports the same val

[NTG-context] fontfamily not loaded anymore

2018-12-09 Thread Pablo Rodriguez
Dear list, I have the following source: \definefontfamily[mainface][rm][GFS Bodoni] \definefontfamily[mainface][hw][GFS Artemisia] \definefontfamily[mainface][ss][GFS Neohellenic] \definefontfamily[mainface][tt][GFS Didot] %[tf=file:{GFSDidot-Regular.otf}]

Re: [NTG-context] issue with optical bounds (OpenType)

2018-12-07 Thread Pablo Rodriguez
On 12/7/18 8:15 PM, Hans Hagen wrote: > On 12/7/2018 7:54 PM, Pablo Rodriguez wrote: >> Shouldn’t be the output from both methods be exactly the same? > > maybe you need to choose a script and/or language Many thanks for your reply, Hans. I modified the font myself and t

[NTG-context] issue with optical bounds (OpenType)

2018-12-07 Thread Pablo Rodriguez
Dear list, I’m experiencing a weird issue with optical bounds in OpenType. Here you have the mandatory sample (font avaiable at https://gitlab.com/ousia/greek-lfbd/raw/master/TypographicaOStandard-Regular.otf): \startluacode fonts.handlers.otf.addfeature { name = "leftbounds",

[NTG-context] glyph width and bearings of a given glyph?

2018-12-06 Thread Pablo Rodriguez
Dear list, how can I get the value in Lua of width and the bearings of a given glyph (such as Ὧ)? Many thanks for your help, Pablo -- http://www.ousia.tk ___ If your question is of interest to others as well,

Re: [NTG-context] question about fonts.handlers.otf.addfeature

2018-12-06 Thread Pablo Rodriguez
On 12/6/18 11:03 PM, Hans Hagen wrote: > On 12/6/2018 9:55 PM, Pablo Rodriguez wrote: >> Dear list, >> >> as far as I know, fonts.handlers.otf.addfeature has the following types: >> substitution, alternate, multiple, ligature, kern and chainsubstitution. >&

[NTG-context] question about fonts.handlers.otf.addfeature

2018-12-06 Thread Pablo Rodriguez
Dear list, as far as I know, fonts.handlers.otf.addfeature has the following types: substitution, alternate, multiple, ligature, kern and chainsubstitution. Is there a type of feature that simply moves a single glyph when activated? Many thanks for your help, Pablo -- http://www.ousia.tk

Re: [NTG-context] indenting after placefigure

2018-12-06 Thread Pablo Rodriguez
On 12/6/18 9:38 PM, Hans van der Meer wrote: > Thanks, indeed this does the trick. > But I wonder:  Has \placefigure then a default [indentnext=no] instead > of abstaining from meddling with the indent setting? This might be similar to indenting after headings. To get the paragraphs indented

Re: [NTG-context] indenting after placefigure

2018-12-06 Thread Pablo Rodriguez
On 12/6/18 6:10 PM, Hans van der Meer wrote: > I used \setupindenting[always,medium]. This works everywhere except > after a figure placed with \placefigure. Why does placing the figure > suppress the indent after it? And how can this behaviour be changed? I wonder whehter

Re: [NTG-context] align in setuphead

2018-12-06 Thread Pablo Rodriguez
On 12/6/18 7:36 AM, Jan U. Hasecke wrote: > Hi all, > > why aligns left to right and right to left in this example? > > \setuphead [title] [align=left] Hi Jan U., flushleft is the value to get left aligninig. I read the explanation somewhere. Left and right aligned to the right and left. They

Re: [NTG-context] color check

2018-12-06 Thread Pablo Rodriguez
On 12/6/18 10:55 AM, Floris van Manen wrote: > while experimenting with the sample transparency color code > [...] > if i change the yellow t value to .99  > \definecolor [solidyellow]  [y=1,t=0.99,a=1] > some green layer pops up. > > as this is all about software, there is a reason to this. >

[NTG-context] question about a ligature

2018-12-02 Thread Pablo Rodriguez
Dear list, diving into the Lua code from MkIV, I found a way to add ligatures. But I have a problem with the following sample: \startluacode fonts.handlers.otf.addfeature { name = "linearb", type = "ligature", data = { C = { "d", "w", "e" },

Re: [NTG-context] vertically centering line numbers

2018-12-01 Thread Pablo Rodriguez
On 12/1/18 9:49 AM, Wolfgang Schuster wrote: > Pablo Rodriguez schrieb am 30.11.18 um 19:29: >> [...] >> Is there a way to center vertically the line numbers? > > \defineshift [RaiseNumber] [dy=-0.25,style=\tfxx] > > \setuplinenumbering [step=3,command=\RaiseNumber

Re: [NTG-context] whitespace inside a description

2018-12-01 Thread Pablo Rodriguez
On 12/1/18 9:21 AM, Wolfgang Schuster wrote: > Pablo Rodriguez schrieb am 30.11.18 um 19:36: >> [...] >> How can I get a different whitespace inside the description? > > \setupdescription >[description] >[style={\setupwhitespace[small]}] Many thanks for your

[NTG-context] whitespace inside a description

2018-11-30 Thread Pablo Rodriguez
Dear list, I have the following sample: \setupwhitespace[big] \startsetups[small:whitespace] \setupwhitespace[small] \stopsetups \definedescription [description] [setups={small:whitespace}, inbetween={\directsetup[small:whitespace]}]

[NTG-context] vertically centering line numbers

2018-11-30 Thread Pablo Rodriguez
Dear list, I have the following sample: \setuplinenumbering[step=3, style=\tfxx] \starttext \startlinenumbering \dorecurse{40}{This is a verse.\\} \stoplinenumbering \stoptext Is there a way to center vertically the line numbers? Many thanks for your help, Pablo --

[NTG-context] (bug?) weird line break in firstlines-001.tex

2018-11-28 Thread Pablo Rodriguez
Dear list, the following code comes from firstlines-001.tex: \setupbodyfont [pagella] \setupfirstline [fancy] [n=3] \starttext \setupindenting[medium,yes] \setfirstline[fancy] \input ward \par \stoptext I’m afraid that the

Re: [NTG-context] checking sources with \input

2018-11-27 Thread Pablo Rodriguez
On 11/27/18 5:54 PM, Hans Hagen wrote: > On 11/27/2018 5:42 PM, Pablo Rodriguez wrote: >> [...] >> Besides asking for "--verbose", I know that we have the following command: >> >> mtxrunjit --autogenerate --script check file.tex >> >> But it d

[NTG-context] checking sources with \input

2018-11-27 Thread Pablo Rodriguez
Hans, at work, we use ConTeXt to automagically generate PDF documents merging data from CSV files. The files are generated from ca. 30 ConTeXt sources and about another 30 Windows batch files. The system works fine with LuaTeX 1.07, but it doesn’t work either with LuaTeX 1.08 or 1.09. There is

Re: [NTG-context] optical bounds with hanging diacritics

2018-11-27 Thread Pablo Rodriguez
On 11/27/18 12:33 AM, Hans Hagen wrote: > On 11/24/2018 10:02 PM, Pablo Rodriguez wrote: >> [...] >> BTW, to get pure lfbd values, I had to replace line 361 from >> font-imp-quality lua with: >> >> local p = d/1000 > > two issues: > > - no 100

Re: [NTG-context] optical bounds with hanging diacritics

2018-11-25 Thread Pablo Rodriguez
On 11/25/18 7:26 PM, luigi scarso wrote: > On Sun, Nov 25, 2018 at 7:24 PM Pablo Rodriguez wrote: > > Hans, > > I added lfbd values for GFS Didot (attached) to get hanging diacritics > in Greek. > > The attached PDF document is the optput from the followi

Re: [NTG-context] issues with optical bounds

2018-11-19 Thread Pablo Rodriguez
On 11/18/18 10:37 PM, Hans Hagen wrote: > On 11/18/2018 10:22 PM, Pablo Rodriguez wrote: >> [...] >> \starttext >> W >> \stoptext >> >> Although the value for that lfbd is only -29, the W is moved too much >> from its original posit

[NTG-context] issues with optical bounds

2018-11-18 Thread Pablo Rodriguez
Hi Hans, many thanks for having released the new beta. I experience opposite results with opbd. The first sample is: \definefontfeature[default][default][protrusion=quality, opbd=yes] \definefontfamily[mainface][rm][Linux Libertine O] \setupbodyfont[mainface, 300pt]

Re: [NTG-context] Footnotes and endnotes

2018-11-17 Thread Pablo Rodriguez
On 11/17/18 1:51 PM, Axel Kielhorn wrote: > Hello, Hi Axel, > I want to show the translator notes in a different way. Right now I > have the footnote in green, but the footnote marker in the text does > change neither font nor color?> Shouldn’t the marker be green and > bold? Setting

Re: [NTG-context] TextMate ConTeXt bundle

2018-11-14 Thread Pablo Rodriguez
On 11/14/18 1:55 PM, Manuel Blanco wrote: >>> [...] >>> Any updated documentation that takes you from beginner to intermediate >>> would be apreciated too. >> >> For ConTeXt or for the TextMate bundle? > > ConTeXt, but I don't think there's an _updated_ structured > introduction. For instance

Re: [NTG-context] align=broad not working in typing

2018-11-13 Thread Pablo Rodriguez
On 11/13/18 8:13 PM, Wolfgang Schuster wrote: > Pablo Rodriguez schrieb am 13.11.18 um 19:58: >> Dear list, >> >> I have the following sample: >> [...] >> The broad value for align doesn’t seem to work in typing. >> >> Could anyone confirm this or tell

[NTG-context] align=broad not working in typing

2018-11-13 Thread Pablo Rodriguez
Dear list, I have the following sample: \showframe \setuppapersize[A6] \setuptyping[TEX][align={right, broad}] \starttext \startTEX \showframe \setuppapersize[A5] \setuptyping[TEX][align={right,broad}] \starttext \startTEX

Re: [NTG-context] optical bounds in ConTeXt

2018-10-28 Thread Pablo Rodriguez
On 10/28/18 12:50 PM, Hans Hagen wrote: > On 10/28/2018 11:11 AM, Pablo Rodriguez wrote: >> [...] >> Optical bounds used to work with the previous ConTeXt versions, but I >> cannot get them working with the new font reader (the explanation comes >> from Hans). &

[NTG-context] optical bounds in ConTeXt

2018-10-28 Thread Pablo Rodriguez
Dear list, I have the following sample: \definefontfeature[default][default][protrusion=quality, opbd=yes] \definefontfamily[mainface][rm][Linux Libertine O] \setupbodyfont[mainface, 300pt] \setuppagenumbering[location=] \setupalign[hanging] \showframe \starttext

Re: [NTG-context] Problem updating 32b version

2018-10-24 Thread Pablo Rodriguez
On 10/24/18 2:58 PM, Procházka Lukáš Ing. wrote: > Hello, > > I encountered problem updating ConTeXt. > > I'm still using 32b built due to some deps on 3rd party libs (32b, too). > > Running 'first-setup.bat' doesn't create 'tex\texmf-mswin\' directory as > usually. > [...] > Could anyone test

Re: [NTG-context] \setuphead for a section block

2018-10-23 Thread Pablo Rodriguez
On 10/23/18 9:25 PM, Wolfgang Schuster wrote: > Pablo Rodriguez schrieb am 23.10.18 um 21:18: >> [...] >> But wasn’t there a command similar to the following one for such purposes? >> >> \setuphead[bodypart:chapter][style=\em] >> >> I remember that ther

[NTG-context] \setuphead for a section block

2018-10-23 Thread Pablo Rodriguez
Dear list, imagine that I need a different setup for chapter in the bodymatter than in the frontmatter and appendices. The way to do it seems to be: \setuphead[chapter][style=\bf] \startsectionblockenvironment[bodypart] \setuphead[chapter][style=\em]

Re: [NTG-context] issue loading fonts

2018-10-22 Thread Pablo Rodriguez
f at 10pt] But not with \definefontfamily. Pablo > Pablo Rodriguez schrieb am 22.10.18 um 21:18: >> Dear list, >> >> I have the following sample: >> >> \definefontfamily >> [mainface] >> [rm] >> [Pagella] >> [tf={file:texgyre

[NTG-context] ConTeXt source from XML

2018-10-22 Thread Pablo Rodriguez
Dear list, when dealing with XML, sometimes I find errors that I don’t know where they might come from. Is it possible to get the full ConTeXt source from a XML document instead of typesetting it? Many thanks for your help, Pablo -- http://www.ousia.tk

[NTG-context] issue loading fonts

2018-10-22 Thread Pablo Rodriguez
Dear list, I have the following sample: \definefontfamily [mainface] [rm] [Pagella] [tf={file:texgyrepagella-regular.otf}, bf={file:texgyrepagella-regular-500.otf}, it={file:texgyrepagella-regular-2000.otf}] \setupbodyfont[mainface]

Re: [NTG-context] what defines the font size?

2018-10-22 Thread Pablo Rodriguez
On 10/19/18 8:24 AM, luigi scarso wrote: > On Tue, Oct 16, 2018 at 7:48 PM Pablo Rodriguez wrote: > > I tried to experiment (modifying TeX Gyre Pagella from 1000 to > UPM), but for some reason, I wasn’t able to load the font. > > hm.  > Weird. Many thanks for your

Re: [NTG-context] Questions to font family Pagella

2018-10-22 Thread Pablo Rodriguez
On 10/18/18 10:25 PM, Arthur Reutenauer wrote: >> But for single letters (such as in heading numbers [12.A.γ] and >> references to them), I would like to use the Greek glyphs that come with >> Pagella. > > I see: it clearly makes sense to use the same font for Greek and Latin > in this

Re: [NTG-context] German introduction to context

2018-10-21 Thread Pablo Rodriguez
Hi Axel, how about creating a repository at GitLab with the contents you provide? This would make contributions easier. Just in case it helps, Pablo PS: ConTeXt can deal with XML directly, so I wonder whether it makes sense to convert from pandoc to ConTeXt. PS²: hyphenation is wrong in US

Re: [NTG-context] Questions to font family Pagella

2018-10-18 Thread Pablo Rodriguez
On 10/18/18 3:51 PM, Arthur Reutenauer wrote: > On Wed, Oct 17, 2018 at 06:17:22PM +0200, Pablo Rodriguez wrote: >> do you know if the new Greek glyphs will be extended to support >> polytonic Greek? > > Not any more than Hans does, but I agree with his assessment that

Re: [NTG-context] what defines the font size?

2018-10-18 Thread Pablo Rodriguez
On 10/18/18 10:37 AM, Taco Hoekwater wrote: > Hi Pablo, > > Let me go back an try to answer the original question: > [...] > Nothing more, nothing less. Many thanks for your explanation, Taco. I think the basic issue is clear to me now: different typefaces may have different dimensions (when

Re: [NTG-context] Questions to font family Pagella

2018-10-17 Thread Pablo Rodriguez
On 10/17/18 11:48 AM, Arthur Reutenauer wrote: > On Wed, Oct 17, 2018 at 11:31:42AM +0200, Tomas Hala wrote: >> Hans, thank you for the explanation, I agree, I did not like that cyrillic, >> too. >> >> Does somebody know whether TeXGyre team plans some additions of cyrillic to >> their font

Re: [NTG-context] what defines the font size?

2018-10-17 Thread Pablo Rodriguez
On 10/17/18 11:13 AM, luigi scarso wrote: > [...] > Nice to/must have : > > Fonts & Encodings > Book by Yannis Haralambous > > https://docs.microsoft.com/en-us/typography/ > and pdf at  > https://docs.microsoft.com/en-us/typography/opbuildpdf/TOC.pdf?branch=live Many thanks for the references,

Re: [NTG-context] what defines the font size?

2018-10-17 Thread Pablo Rodriguez
On 10/17/18 11:02 AM, Arthur Reutenauer wrote: > On Tue, Oct 16, 2018 at 07:48:41PM +0200, Pablo Rodriguez wrote: > [...] > It’s less clear what you’re trying to do next: >> [...] > What are you trying to demonstrate with this? If you change the size > of the font, obvi

Re: [NTG-context] what defines the font size?

2018-10-17 Thread Pablo Rodriguez
On 10/17/18 12:59 AM, Hans Hagen wrote: > On 10/16/2018 7:48 PM, Pablo Rodriguez wrote: > >> I tried to experiment (modifying TeX Gyre Pagella from 1000 to >> UPM), but for some reason, I wasn’t able to load the font. > Messing with such value is asking for problem

Re: [NTG-context] what defines the font size?

2018-10-16 Thread Pablo Rodriguez
On 10/15/18 10:59 PM, Hans Hagen wrote: >>> [...] >>> If two fonts have the same size, I think there may be a dimension which >>> has the same length in both. Which one is this? >> >> None. The font decides about its size. > actually, the designer ... anyway, one can compare 10pt dejavu with 10pt

Re: [NTG-context] what defines the font size?

2018-10-16 Thread Pablo Rodriguez
On 10/15/18 10:02 PM, Ulrike Fischer wrote: > Am Mon, 15 Oct 2018 21:21:32 +0200 schrieb Pablo Rodriguez: >> [...] >> If two fonts have the same size, I think there may be a dimension which >> has the same length in both. Which one is this? > > None. The font decides ab

Re: [NTG-context] Odd/even page test

2018-10-16 Thread Pablo Rodriguez
On 10/16/18 4:25 PM, Procházka Lukáš Ing. wrote: > Hello, > > I need to check whether even or odd page is to be printed. I'm starting with > the following simple code: > > > \def\T{\ifodd\pagenumber ODD\else EVEN\fi} > > \starttext >\dorecurse{2}{\T\page} >

[NTG-context] what defines the font size?

2018-10-15 Thread Pablo Rodriguez
Dear list, sorry for this basic question, but what defines the size in a font? I mean, we can take TeX Gyre Bonum and TeX Gyre Adventor at twelve points. x-height is different, M-width is slightly different. I thought it was the same A-height, but it isn’t. If two fonts have the same size, I

Re: [NTG-context] wrong hyphenation in ancient Greek?

2018-10-15 Thread Pablo Rodriguez
On 10/15/18 10:44 AM, Arthur Reutenauer wrote: > [...] > You can see that γμ is not there (nor, of course, γν, which was > expected). If it was, the pattern 2γ1μ would force the break πράγ-μα, > hence its absence leads me to believe that the breaks before γμ are > intentional. I suggest you

[NTG-context] weird spacing after command type

2018-10-14 Thread Pablo Rodriguez
Dear list, I have the following sample: \define[1]\slide{\startmakeup[standard]#1\stopmakeup} \definetype[texcode][style=\ttd, option=TEX] \starttext \slide{\texcode{\ifodd\pageno impar\else par\fi}} \startmakeup[standard] \texcode{\ifodd\pageno impar\else par\fi}

Re: [NTG-context] wrong hyphenation in ancient Greek?

2018-10-13 Thread Pablo Rodriguez
On 10/13/18 11:49 AM, Pablo Rodriguez wrote: > On 10/13/18 11:05 AM, Thomas A. Schmitz wrote: >> On 13.10.2018 10:05, Pablo Rodriguez wrote: >>> [...] >>> Γν may be the beginning of word in Greek (such as γνῶσις), but even LSJ >>> has no word that begins with γμ

Re: [NTG-context] wrong hyphenation in ancient Greek?

2018-10-13 Thread Pablo Rodriguez
On 10/13/18 11:05 AM, Thomas A. Schmitz wrote: > On 13.10.2018 10:05, Pablo Rodriguez wrote: >> [...] >> Γν may be the beginning of word in Greek (such as γνῶσις), but even LSJ >> has no word that begins with γμ. > > You're right, this shouldn't happen. I tried

[NTG-context] wrong hyphenation in ancient Greek?

2018-10-13 Thread Pablo Rodriguez
Dear list, I have the following sample: \mainlanguage[agr] \setupbodyfont[dejavu] \starttext \startTEXpage[offset=2em] \hyphenatedword{πρᾶγμα πράγματος} \stopTEXpage \stoptext that ouputs: πρᾶ-γμα πρά-γμα-τος As far as I know, two consonants in ancient Greek

Re: [NTG-context] Text around a table (xtables)

2018-10-10 Thread Pablo Rodriguez
On 10/10/18 7:26 PM, Fabrice Couvreur wrote: > Hello, > Why is the text wrapping around the board or far too far ? Hi Fabrice, replace the following command: \startxtable[align={middle,lohi}] It works now. It is rather weird that the total width for the table is 1.7cm and one of its cells

Re: [NTG-context] embedded sounds

2018-10-10 Thread Pablo Rodriguez
On 10/9/18 8:24 PM, Alan Braslau wrote: > On Tue, 9 Oct 2018 19:49:44 +0200 Hans Hagen wrote: > [...] > Embedded media is an illness inherited from PowerPointers. In my > experience as a seminar presentation organizer, this messes-up 9 > times out of 10 (unless the presenter is using his or her

[NTG-context] embedded sounds

2018-10-09 Thread Pablo Rodriguez
Hi Hans, this is a lighter version from sound-001.tex from your test samples: \definerenderingwindow [example] [width=0pt,height=0pt,frame=off] \setupinteraction[state=start] \useexternalrendering [mysound] [audio/x-mp3] % audio/x-mp3 [sound.mp3]

Re: [NTG-context] OT: mupdf 1.14

2018-10-09 Thread Pablo Rodriguez
On 10/9/18 7:19 AM, luigi scarso wrote: > https://mupdf.com > > The basic viewer mupdf-gl has now a minimal UI interface and  an add > annotation mode ('a') . > The mutool show command line tool is useful to inspect pdf . I’m experiencing a weird issue with mupdf-1.14. According to

Re: [NTG-context] linking to an external PDF file

2018-10-08 Thread Pablo Rodriguez
then 200. > \ifnum\returncode=200\relax > % Page number might be added. > \doifelse{\xmlatt{#1}{page}}{\empty} > {\let\thep\empty} > {\edef\thep{\letterhash page=\xmlatt{#1}{page}}} > > % Place the link, ref-attribute prevales in the presentation. > \doifelse{\xmlatt{#1}

[NTG-context] OpenType optical bounds not working

2018-10-08 Thread Pablo Rodriguez
Hans, I reported this issue some time ago. The new fontloader crashed when the opbd feature was invoked. That issue was fixed, but opbd is still not working, as shown in the following sample: \definefontfeature[default][default][protrusion=quality, opbd=yes]

Re: [NTG-context] linking to an external PDF file

2018-10-07 Thread Pablo Rodriguez
On 10/7/18 8:33 PM, Hans Hagen wrote: > On 10/7/2018 8:19 PM, Pablo Rodriguez wrote: >> [...] >> Is there a way to hyperlink to an attached document? I mean, no matter >> whether it has been generated by ConTeXt or not. > > i have no clue what you mean Is th

Re: [NTG-context] linking to an external PDF file

2018-10-07 Thread Pablo Rodriguez
On 10/7/18 8:05 PM, Hans Hagen wrote: > On 10/7/2018 6:26 PM, Alan Bowen wrote: >> A how-to question that has come up: >> >> Is there a way to establish to hyperlink to a specific page or footnote >> in an external PDF document? Many thanks for your reply, Hans. Is there a way to hyperlink to

Re: [NTG-context] Can anyone connect context to R or python?

2018-10-05 Thread Pablo Rodriguez
On 10/5/18 4:55 PM, Kelley, Claire wrote: > Hi All,  > I am very interested in creating pdf documents using Context with > calculations done in R or Python and then added into the document.  Hi Claire, ConTeXt MkIV comes with Lua inside. Would Lua fit your purposes? > If you were using

Re: [NTG-context] rscale with auto value

2018-09-27 Thread Pablo Rodriguez
On 9/26/18 5:31 PM, Aditya Mahajan wrote: > On Wed, 26 Sep 2018, Pablo Rodriguez wrote: >> [...] >> Would it be possible that rscale could have the auto value? > > See my answer to a similar question on TeX.SE > > https://tex.stackexchange.com/a/450658/323 Hi Ad

Re: [NTG-context] startpar and startparagraph

2018-09-27 Thread Pablo Rodriguez
On 9/27/18 10:18 AM, mf wrote: > What is the difference between \startpar and \startparagraph? > > Are these two equivalent? Hi Massimiliano, according to tex/texmf-context/tex/context/interface/mkiv/i-context.pdf, both inherit from \setupparagraph. I’d say that these are equivalent. And

[NTG-context] rscale with auto value

2018-09-26 Thread Pablo Rodriguez
Wolfgang, explaining the following sample to ConTeXt newbies, I have a problem: \setuppapersize[A5, landscape] \definefontfamily[mainface][rm][TeX Gyre Pagella] \definefontfamily[mainface][tt][DejaVu Sans Mono][rscale=0.825] \setupbodyfont[mainface, 22pt] \starttext

Re: [NTG-context] Why do I have to enclose \rawcounter in braces in this MWE ?

2018-09-25 Thread Pablo Rodriguez
On 9/25/18 9:22 PM, Damien Thiriet wrote: > Hello list, > > Why do I have to enclose \rawcountervalue in braces to get this MWE > compiled ? Hi Damien, just as you wrote it is the way to enclose brackets inside brackets (you need a pair of braces between them. >

Re: [NTG-context] Taco's TODO list: server upgrade

2018-09-24 Thread Pablo Rodriguez
On 9/24/18 7:39 PM, Taco Hoekwater wrote: > [...] > Yes, I knew that. The perl code that runs that site did not like the newer, > stricter version of mysql after the upgrade (or the other way around, > depending on how you look at it). > > It should be better now, I am not 100% sure

Re: [NTG-context] Taco's TODO list: server upgrade

2018-09-24 Thread Pablo Rodriguez
On 9/24/18 6:35 PM, Pablo Rodriguez wrote: > On 9/24/18 5:43 PM, Taco Hoekwater wrote: >> Afaik, ‘my' other cg sites (articles, live, sourcebrowser) seem to be >> functioning normally. > > Taco, > > many thanks for your work at the ConTeXt Garden serv

Re: [NTG-context] Taco's TODO list: server upgrade

2018-09-24 Thread Pablo Rodriguez
On 9/24/18 5:43 PM, Taco Hoekwater wrote: > [...] > The site modules.contextgarden.net is more than a bit broken, I’ll > try to fix that later today.> > Afaik, ‘my' other cg sites (articles, live, sourcebrowser) seem to be > functioning normally. Taco, many thanks for your work at the ConTeXt

[NTG-context] issue with interaction

2018-09-24 Thread Pablo Rodriguez
Hans, I have the following sample (sorry, but I’m afraid I don’t know how to write a lopp here): \setupinteraction[state=start] \setupcomment[location=inmargin] \showframe \starttext This is a sample comment. \startcomment Just a comment \stopcomment This is

Re: [NTG-context] interaction

2018-09-24 Thread Pablo Rodriguez
On 9/24/18 2:08 PM, Hans Hagen wrote: >> [...] >> The latest beta has a version of the ongoing manual at >> tex/texmf-context/doc/context/documents/general/manuals/interaction.pdf. >> >> Just in case it might be relevant, > preliminary stuff I thought so, but I was unsure whether you wanted to

Re: [NTG-context] interaction

2018-09-24 Thread Pablo Rodriguez
On 9/21/18 6:06 PM, Hans Hagen wrote: > On 9/21/2018 3:50 PM, Tomas Hala wrote: >> [...] >> Where could I find the current version of the mentioned >> 'interactions' manual now? > On my machine ... I'll add stepwise chapters to the distribution, The latest beta has a version of the ongoing manual

Re: [NTG-context] font in \setuplanguage

2018-09-19 Thread Pablo Rodriguez
On 9/18/18 5:50 AM, Wolfgang Schuster wrote: > With the font key you can apply certain font features for a different > language but you can’t use it to switch to a different font. > > To switch to a different font for your greek texts use this method: Many thanks for your reply, Wolfgang. I

[NTG-context] font in \setuplanguage

2018-09-17 Thread Pablo Rodriguez
Dear list, I have the following sample: \mainlanguage[es] \setuplanguage[agr][font=\grcface] \definefontfamily[grcface][rm][DejaVu Sans] \definefontfamily[mainface][rm][DejaVu Serif] \setupbodyfont[mainface] \starttext \startTEXpage[offset=1em] a {\agr β}

Re: [NTG-context] t-scancsv_ConTeXT_module can't filter anymore

2018-09-17 Thread Pablo Rodriguez
On 9/17/18 7:50 PM, Jorge Manuel wrote: >> [...] >> My guess is that you need to enclose text strings in quotes, so that >> your conditionals read: >> >> \doloopif{\Flag}{~=}{"anl"}{\lineaction} >> \doloopif{\Flag}{==}{"anl"}{\lineaction} > > Thanks for your reply. This code don’t work. I

Re: [NTG-context] t-scancsv_ConTeXT_module can't filter anymore

2018-09-17 Thread Pablo Rodriguez
On 9/17/18 3:05 PM, Jorge Manuel wrote: > Dear Sirs > > I'm trying to run an old code that imports the t-scancsv module. Dear Jorge Manuel, I’m afraid that the scancsv module has been deprecated. handlecsv is the new csv module (that replaces scancsv). Could you use the handlecsv module

Re: [NTG-context] ConTeXt ignores crop in some pdf graphics

2018-09-05 Thread Pablo Rodriguez
On 09/05/2018 07:56 PM, Mari Voipio wrote: > Hello Pablo, > > thank you for digging up all of that. What I found out today is that > while a graphic outputted from an old Corel (output e.g. pdf 1.3) has > all that extra whitespace, a graphic outputted from my newish Corel > 2017 (pdf 1.7) seems

Re: [NTG-context] ConTeXt ignores crop in some pdf graphics

2018-09-05 Thread Pablo Rodriguez
On 09/04/2018 10:40 PM, Henning Hraban Ramm wrote: > [...] > Hans investigated and could trace my problem to an Acrobat bug (or at > least it doesn't adhere to the PDF specs): I had my logo exported from > Illustrator and changed the boxes in Acrobat Pro 9, then saved. But if > you don't "save

Re: [NTG-context] ConTeXt ignores crop in some pdf graphics

2018-09-04 Thread Pablo Rodriguez
On 09/04/2018 09:00 AM, Henning Hraban Ramm wrote: > Hi Mari, > I can confirm the same behaviour with graphics from other sources like > Illustrator - seems like ConTeXt doesn't use the CropBox (visible size) > any more, but the MediaBox (full sheet). Or maybe the TrimBox (cut size). > It would

Re: [NTG-context] opbd not behaving properly?

2018-09-01 Thread Pablo Rodriguez
On 09/01/2018 08:24 PM, Hans Hagen wrote: > On 9/1/2018 7:18 PM, Pablo Rodriguez wrote: >> [...] >> \definefontfeature[opbd][protrusion=yes, opbd=yes] >> >> \setupalign[hanging] >> >> \showframe >> >> \starttext >&g

[NTG-context] opbd not behaving properly?

2018-09-01 Thread Pablo Rodriguez
Dear list, I have the following sample: \definefontfeature[default][default][protrusion=quality] \definefontfeature[opbd][protrusion=yes,opbd=yes] \setupalign[hanging] \showframe \starttext \definedfont[LinLibertine_R.otf*default at 450pt] %~

Re: [NTG-context] luatex on the garden

2018-08-31 Thread Pablo Rodriguez
On 08/31/2018 10:27 AM, Hans Hagen wrote: > [...] > A lot of work went into this release and we hope that it's worth it. I > will rmove some older code paths in a few weeks (less code that way) so > then beta's will assume the new binary is used. Many thanks for the new LuaTeX, Hans. I have

Re: [NTG-context] Adjust the dimensions of a sub-table in an extreme table ?

2018-08-30 Thread Pablo Rodriguez
On 08/30/2018 10:16 PM, Fabrice Couvreur wrote: > Hello, > In the main table there are three sub-tables. How to adapt the > dimensions of the second and third sub-tables to that of the first > sub-table ? Hi Fabrice, I guess that \startxtable[option=stretch] is what you might need for your

Re: [NTG-context] about character expansion

2018-08-30 Thread Pablo Rodriguez
On 08/30/2018 03:27 AM, Henri Menke wrote: > See also “8.9 Expansion” in > http://www.pragma-ade.nl/general/manuals/fonts-mkiv.pdf > > \setupfontexpansion > [extremehz] > [stretch=50,shrink=50,step=.5,vector=default,factor=1] > > \definefontfeature > [default] > [default] >

Re: [NTG-context] for-loop

2018-08-30 Thread Pablo Rodriguez
On 08/30/2018 05:15 PM, Hans van der Meer wrote: > Sorry to ask, but I forgot how to execute a (for)-loop in an environment > where \loop..\repeat gives the error: > > ! Undefined control sequence > > \loop #1\repeat ->\def \@@plnbody  >                                   {#1}\@@plniterate I

Re: [NTG-context] protrusion with opening exclamation and question marks

2018-08-30 Thread Pablo Rodriguez
On 08/30/2018 12:58 AM, Hans Hagen wrote: > On 8/29/2018 10:12 PM, Pablo Rodriguez wrote: >> [...] >> Well, in Spanish (and Galician in some ortographies) there are opening >> exclamation and quotation marks. >> >> I think it would make sense to have the same

[NTG-context] about character expansion

2018-08-29 Thread Pablo Rodriguez
Dear list, I would like to introduce character expansion to novice users. I know that ConTeXt adds values automatically. But I’m interested in showing extremely stretched and shrinked characters, as an example of character expansion done wrong. Sorry for not providing a minimal example, but I

[NTG-context] protrusion with opening exclamation and question marks

2018-08-29 Thread Pablo Rodriguez
Hi Hans, I have the following sample: \definefontfeature[default][default] [protrusion=quality] \setupxtable[frame=off, option=stretch] \startbuffer[standard] ¿Cómo? ¡No! \stopbuffer \startbuffer[right] \hfill¿Cómo? \hfill¡No! \stopbuffer

Re: [NTG-context] question about German hyphenation

2018-08-28 Thread Pablo Rodriguez
On 08/26/2018 09:36 PM, Ulrike Fischer wrote: > Am Sun, 26 Aug 2018 17:26:45 +0200 schrieb Pablo Rodriguez: >> [...] >> I’m not a native speaker, but I think that "Rindfleisch-etikettierung" >> is right in German. (And I think that "Rindflei-schetikettier

[NTG-context] question about German hyphenation

2018-08-26 Thread Pablo Rodriguez
Dear list, I have the following sample: \starttext \de\hyphenatedword{Rindfleisch} \de\hyphenatedword{Rindfleischetikettierung} \stoptext I’m not a native speaker, but I think that "Rindfleisch-etikettierung" is right in German. (And I think that "Rindflei-schetikettierung" is

Re: [NTG-context] Text wrapped with an ornement

2018-08-19 Thread Pablo Rodriguez
On 08/18/2018 11:51 PM, Fabrice Couvreur wrote: > Hi Palbo, > In fact I want the text '' Coming back ... '' to start on the same > baseline as the title of the ornament as in the photo. Hi Fabrice, I’m afraid I don’t know how to do that (if that is possible with frames). Pablo --

Re: [NTG-context] Text wrapped with an ornement

2018-08-18 Thread Pablo Rodriguez
On 08/18/2018 11:11 AM, Fabrice Couvreur wrote: > Hi Pablo, > These options are to be added to \defineframedtext [] [] ? > Without success at home ! Hi Fabrice, your sample should read: \definecolor[MyColorA][r=0.8784, g=0.8784, b=0.8784]

Re: [NTG-context] Text wrapped with an ornement

2018-08-18 Thread Pablo Rodriguez
On 08/18/2018 01:08 AM, Fabrice Couvreur wrote: > Hello, > That's true Wolfgang, I just checked right now, sorry! > What I would like to do is on the image below. Hi Fabrice, you should use the following commands: align={right, broad}, radius=2em, And I don’t know why the width option

Re: [NTG-context] Text wrapped with an ornement

2018-08-17 Thread Pablo Rodriguez
On 08/17/2018 11:24 AM, Fabrice Couvreur wrote: > Hello, > Aditya offered me the following code to insert comments with an > ornament. I notice that the option alternative= serried does not seem to > work. Hi Fabrice, I think it is not clear what do you intend to do with the frame. If text

Re: [NTG-context] The dimensions of the first page are not taken into account

2018-08-17 Thread Pablo Rodriguez
On 08/17/2018 11:04 AM, Fabrice Couvreur wrote: > Hello, > I want to create a template with a header on the first page for student > testing. If the document contains text that is on more than one page, it > works perfectly. On the other hand, if the document has text on one > page, it does not

<    8   9   10   11   12   13   14   15   16   17   >