Re: [NTG-context] Spurious space in \startnarrower

2019-03-31 Thread Pablo Rodriguez
On 3/31/19 10:13 PM, Henri Menke wrote: > I see that the patch has been applied in current, but could you please also > apply it in beta (which is what I and probably most others use daily)? Hi Henri, I use beta and I update it with: ./first-setup.sh --modules=all At least my latest beta

Re: [NTG-context] optional hyphenation patterns in ancient Greek

2019-03-31 Thread Pablo Rodriguez
On 3/31/19 10:18 PM, Wolfgang Schuster wrote: > Pablo Rodriguez schrieb am 30.03.19 um 15:40: >> [...] >> For me, adding the command to the document (or the distribution) would >> be easier. But this isn’t about my documents or myself. > > You can put your ext

Re: [NTG-context] optional hyphenation patterns in ancient Greek

2019-03-30 Thread Pablo Rodriguez
On 3/26/19 9:42 AM, Arthur Reutenauer wrote: > On Mon, Mar 25, 2019 at 08:57:40PM +0100, Pablo Rodriguez wrote: >> I read your original message when you sent it, but the issue with that >> kind of hyphenation exceptions is that they are document-based > > No. Why wou

Re: [NTG-context] issue with symbol in attachments

2019-03-25 Thread Pablo Rodriguez
On 3/25/19 10:48 AM, Hans Hagen wrote: > On 3/24/2019 6:47 PM, Pablo Rodriguez wrote: > >> Can anyone confirm that all attachment symbols are distorted, except the >> first one? > hard to say ... support for these symbols / icons in viewers has been an > inconsistent m

Re: [NTG-context] optional hyphenation patterns in ancient Greek

2019-03-25 Thread Pablo Rodriguez
On 3/25/19 3:09 PM, Arthur Reutenauer wrote: > Dear Pablo, > > Five months ago I sent you a private email with detailed explanations > of how you can achieve that in ConTeXt. I suggest you go through that > first before we start talking about a new pattern set. Here is the > email, with

[NTG-context] issue with symbol in attachments

2019-03-24 Thread Pablo Rodriguez
Dear list, I have the following sample: \setupinteraction[state=start] \setuppapersize[A9] \starttext \attachment[xml-mkiv.pdf]\\ \attachment[xml-mkiv.pdf] [symbol=Pushpin width=fit, width=fit, depth=fit]\\ \attachment[xml-mkiv.pdf]

[NTG-context] optional hyphenation patterns in ancient Greek

2019-03-24 Thread Pablo Rodriguez
Dear list (especially Thomas and Arthur), I opened a request for optional hyphenation patterns at GitHub (https://github.com/hyphenation/tex-hyphen/issues/34). I’m not advocating changing the default, but only providing hyphenation patterns that allow hyphenating consonant pairs that cannot be

Re: [NTG-context] Spacing between text and footnote line

2019-03-24 Thread Pablo Rodriguez
On 3/24/19 3:50 PM, Huseyin Özoguz wrote: > [...] > Thanks, but that does not work. It only changes the distance between the > footnote-line and the footnote-text. But I want to manipulate the > distance above the footnote-line: between the (standard) text and the > footnote-line. Hi Huseyin, it

[NTG-context] new LuaTeX binaries in latest beta

2019-03-23 Thread Pablo Rodriguez
Dear list, I have just downloaded the latest beta from the ConTeXt Suite and I found that it includes the new LuaTeX binaries. These ones fix the issue reported in https://mailman.ntg.nl/pipermail/ntg-context/2019/094266.html. Many thanks to each one involved in the timely release of each

Re: [NTG-context] inmargin for only Roman-numbered items

2019-03-20 Thread Pablo Rodriguez
On 3/20/19 8:50 PM, Wolfgang Schuster wrote: > Pablo Rodriguez schrieb am 20.03.19 um 20:43: >> [...] >> Is there a way with a \setupitemize (or \setupitemgroup) to configure >> only one kind of numbered (or unnumbered, for that matter) item groups? > > You hav

Re: [NTG-context] inmargin for only Roman-numbered items

2019-03-20 Thread Pablo Rodriguez
On 3/20/19 8:09 PM, Wolfgang Schuster wrote: > Pablo Rodriguez schrieb am 20.03.19 um 20:03: >> [...] >> Is there a way to get only [option=inmargin] for the items that are >> Roman-numbered? > > \startitemize[I,inmargin] Many thanks for your reply, Wolfgang. I need

[NTG-context] inmargin for only Roman-numbered items

2019-03-20 Thread Pablo Rodriguez
Dear list, I have the following sample: \showframe \setupitemize[each][option=inmargin] \starttext \startitemize[n] \dorecurse{5}{\item item} \stopitemize \startitemize \dorecurse{5}{\item item} \stopitemize \startitemize[I]

Re: [NTG-context] single command for \ctxlua{context(...)}

2019-03-12 Thread Pablo Rodriguez
On 3/11/19 10:36 PM, Wolfgang Schuster wrote: > Pablo Rodriguez schrieb am 11.03.19 um 22:23: >> [...] >> Is there a single command for \ctxlua{context(...)}? > > \cldcontext{...} Many thanks for your fast reply, Wolfgang. Pablo --

[NTG-context] single command for \ctxlua{context(...)}

2019-03-11 Thread Pablo Rodriguez
Dear list, I know this has been already posted to the list, but I cannot find it right now. Is there a single command for \ctxlua{context(...)}? Many thanks for your help, Pablo -- http://www.ousia.tk ___ If your

[NTG-context] inmargin attachments from notes

2019-03-10 Thread Pablo Rodriguez
Dear list, I have the following sample: \setupinteraction[state=start] \setupinteractionscreen[option=attachment] \setuppapersize[A9, landscape] \starttext \footnote{attachment\attachment [xml-mkiv.pdf] [location=inmargin]} \stoptext Using latest beta

Re: [NTG-context] expansion inside PDF annotations

2019-03-07 Thread Pablo Rodriguez
On 3/6/19 10:34 PM, Wolfgang Schuster wrote: > Pablo Rodriguez schrieb am 05.03.19 um 17:44: >> [...] >> \attachment >> [http://pragma-ade.com/general/manuals/xtables-mkiv.pdf] >> [author={Attached on \currentdate}, >> title={Att

Re: [NTG-context] issue with \startattachment...\stopattachment

2019-03-05 Thread Pablo Rodriguez
On 3/5/19 9:17 PM, Wolfgang Schuster wrote: > Pablo Rodriguez schrieb am 05.03.19 um 20:57: >> [...] >> I have a question: shouldn’t be “Attached file.” typeset on the main text? > > No because > > \startattachment ... \stopattachment > > is the same as >

[NTG-context] issue with \startattachment...\stopattachment

2019-03-05 Thread Pablo Rodriguez
Dear list, I have the following sample: \setupinteraction[state=start] \starttext \startTEXpage[offset=1em] \startattachment [http://pragma-ade.com/general/manuals/xtables-mkiv.pdf] Attached file. \stopattachment Attached on \currentdate. \stopTEXpage

[NTG-context] expansion inside PDF annotations

2019-03-05 Thread Pablo Rodriguez
Dear list, I have the following sample: \setupinteraction[state=start] \starttext \startTEXpage[offset=1em] Attached on \currentdate. \attachment [http://pragma-ade.com/general/manuals/xtables-mkiv.pdf] [author={Attached on \currentdate},

[NTG-context] attachment from URL

2019-03-05 Thread Pablo Rodriguez
Dear list, I have the following sample: \setupinteraction[state=start] \setupinteractionscreen[option=attachment] \starttext \attachment [https://eur-lex.europa.eu/legal-content/ES/TXT/PDF/?uri=CELEX:12016E/TXT] [name=TFUE.pdf] \stoptext Is there a way that curl may

[NTG-context] (huge thanks) attaching files from links

2019-03-04 Thread Pablo Rodriguez
Dear list, I was about to ask how to attach a file from links and I just discovered that it works perfectly fine. \attachment[http://pragma-ade.com/general/manuals/xtables-mkiv.pdf] I just wanted to thank Hans and all developers for the awesome work with ConTeXt and LuaTeX. They are

Re: [NTG-context] util-sha.lua misbehaving?

2019-03-04 Thread Pablo Rodriguez
On 3/4/19 9:20 PM, Hans Hagen wrote: > On 3/4/2019 6:48 PM, Pablo Rodriguez wrote: >> [...] >> Sorry for the impatience (the feature is essential for me): when could >> be the new version expected a beta or stable version of the ConTeXt Suite? > we found the issu

Re: [NTG-context] util-sha.lua misbehaving?

2019-03-04 Thread Pablo Rodriguez
On 3/4/19 7:33 PM, luigi scarso wrote: > [...] >  what does  > $ luatex --credits  > say ? $ luatex --credits This is LuaTeX, Version 1.09.2 (TeX Live 2019/dev) [...] Development id: 7075 Pablo -- http://www.ousia.tk

Re: [NTG-context] util-sha.lua misbehaving?

2019-03-04 Thread Pablo Rodriguez
On 3/4/19 7:12 PM, luigi scarso wrote: > [...] > Sorry for the impatience (the feature is essential for me): when could > be the new version expected a beta or stable version of the ConTeXt > Suite? >   > r7090 | luigi.sca...@gmail.com | > 2019-02-28

Re: [NTG-context] util-sha.lua misbehaving?

2019-03-04 Thread Pablo Rodriguez
On 3/4/19 4:34 PM, luigi scarso wrote: > On Thu, Feb 28, 2019 at 10:37 PM Hans Hagen wrote: > > On 2/28/2019 6:46 PM, Pablo Rodriguez wrote: > > Dear list, > > > Could anyone tell me what I am missing here? > it's bug in the engine ... as a workaroun

[NTG-context] util-sha.lua misbehaving?

2019-02-28 Thread Pablo Rodriguez
Dear list, I have the following sample: \startluacode function document.capture(cmd, raw) local f = assert(io.popen(cmd, 'r')) local s = assert(f:read('*a')) f:close() if raw then return s end s = string.gsub(s, '^%s+', '') s =

Re: [NTG-context] cross references to chapters in a book

2019-02-25 Thread Pablo Rodriguez
On 2/23/19 10:51 AM, Wolfgang Schuster wrote: > [...] >> Is this because I am using MkII with XeTeX? > > Is there a reason why you stick with MkII or XeTeX. Hi Wolfgang, support for Indic languages seems to be the reason to use MkII. Pablo -- http://www.ousia.tk

Re: [NTG-context] markdown module vs pandoc

2019-02-22 Thread Pablo Rodriguez
On 2/21/19 9:59 PM, Gour wrote: > On Thu, 21 Feb 2019 18:50:41 +0100 Pablo Rodriguez wrote: > >> I’m still behind the environment itself, although I realized that >> these may not be relevant to everybody. I store the new commits in a >> private repository. >

Re: [NTG-context] markdown module vs pandoc

2019-02-21 Thread Pablo Rodriguez
On 2/19/19 2:22 PM, Gour wrote: > On Mon, 18 Feb 2019 17:08:44 +0100 Pablo Rodriguez wrote: > [...] >> I convert Markdown to XHTML and then I compile the XML sources with >> ConTeXt. > > I've tried it and it works nicely. The possibility to have one-source-does-all >

Re: [NTG-context] interactive tests with AcroJS

2019-02-18 Thread Pablo Rodriguez
On 2/12/19 10:58 AM, Hans Hagen wrote: > On 2/11/2019 8:16 PM, Pablo Rodriguez wrote: >> Dear list, >> >> is there any way that I can generate PDF document with ConTeXt >> containing a test with questions and multiple-choice answers and that >> the user can check t

Re: [NTG-context] markdown module vs pandoc

2019-02-18 Thread Pablo Rodriguez
On 2/14/19 11:00 PM, Gour wrote: > Hello, > > I'm interested for using markdown markup and typeset such documents via > ConTeXt, but wonder whether it is recommended to use Markdown module or do > markdown --> ConTeXt via Pandoc? Hi Gour, I convert Markdown to XHTML and then I compile the XML

[NTG-context] interactive tests with AcroJS

2019-02-11 Thread Pablo Rodriguez
Dear list, is there any way that I can generate PDF document with ConTeXt containing a test with questions and multiple-choice answers and that the user can check the right and wrong answers (using AcroJS)? Sorry for the too general question, but I think it is clear enough. Many thanks for your

Re: [NTG-context] Creating business cards with CSV

2019-02-11 Thread Pablo Rodriguez
On 2/10/19 11:01 AM, Jan U. Hasecke wrote: > Thanks Pablo, > > great documentation and just the tool I was looking for. Jan Ulrich, Jaroslav Hajtmar has done a great job with the handlecsv module. I have used it and I find it extremely useful. The least I could do was to write the

Re: [NTG-context] Creating business cards with CSV

2019-02-08 Thread Pablo Rodriguez
On 2/7/19 2:27 PM, Jan U. Hasecke wrote: > Hi all, > > I found some hints to CSV in the wiki, but they all refer to tables. > > What are the building block to create business cards from a csv file? Hi Jan Ulrich, there is a module that does it (handlecsv, which comes with the ConTeXt Suite [I

Re: [NTG-context] 404 error: Not found for first-setup.sh

2019-02-08 Thread Pablo Rodriguez
On 2/8/19 7:02 PM, Marcus Vinicius Mesquita wrote: > Hi, Taco > > I tried again, but the server still answers with a 404 error.  Hi Marcus, I have just updated my ConTeXt Suite to its latest beta. And the following command downloads the file (I don’t have wget installed): $ curl -O

Re: [NTG-context] Making ConTeXt stop on all or some errors

2019-02-06 Thread Pablo Rodriguez
On 2/5/19 8:07 AM, Jan U. Hasecke wrote: > Hola Pablo, Hallo Jan-Ulrich, > I inserted this in the setupbackend command so that ConTeXt stops with > the unknown command \colorprofilenotfound I inserted in the else clause. > > But more and more I think that ConTeXt should fail if it does not find

Re: [NTG-context] Making ConTeXt stop on all or some errors

2019-02-04 Thread Pablo Rodriguez
On 2/4/19 7:30 AM, Jan U. Hasecke wrote: > Hi all, > > yesterday I asked about where to put color profiles. > > My problem was that ConTeXt for some unknown reason didn't find the > color profiles I downloaded. But most annoying was the fact that I > didn't saw the error in the log because

Re: [NTG-context] fontloader error in latex: attempt to call upvalue 'getdirection' (a nil value)

2019-01-10 Thread Pablo Rodriguez
On 1/7/19 12:40 AM, Ulrike Fischer wrote: > I just tried to import the fontloader from 2019-01-03 into latex, > and get on a simple document the error > > (./test-utf8.aux)error: > ...ad/texmf/tex/luatex/luaotfload/fontloader-2019-01-03.lua:23868: > attempt to call upvalue 'getdirection' (a nil

[NTG-context] issue with backend.date

2019-01-10 Thread Pablo Rodriguez
Dear list, I have the following sample: \enabledirectives[backend.date=no] \enabledirectives[backend.info=no] \enabledirectives[backend.xmp=no] \starttext a \stoptext At least, backend.date doesn’t work with latest beta (2019.01.07 16:10) as it used to work before. I

[NTG-context] issue with initial

2018-12-20 Thread Pablo Rodriguez
Dear list, I have the following sample: \definefallbackfamily [mainface] [rm] [GFS Didot] [preset=range:greek, force=yes] \definefontfamily [mainface] [rm] [TeX Gyre Pagella] \setupbodyfont[mainface] \starttext

[NTG-context] fallback family not working for \setinitial

2018-12-19 Thread Pablo Rodriguez
Dear list, I have the following sample: \mainlanguage[agr] \setuppapersize[A5] \definefallbackfamily [mainface] [rm] [GFS Didot] [preset=range:greek, force=yes] \definefontfamily [mainface] [rm] [TeX Gyre Pagella]

Re: [NTG-context] \showhyphens

2018-12-18 Thread Pablo Rodriguez
On 12/18/18 12:01 PM, Tomas Hala wrote: > Hi all, > > I would like to detect hyphen points in a paragraph. > I hoped that the plain \showhyphens{text} can do it > but it displays nothing. Is this plain macro available yet, > or is it covered by other command? Hi Tomáš, \hyphenatedword is the

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

  1   2   3   4   5   6   7   8   9   10   >