[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

Re: [NTG-context] embedded sounds aren’t played

2018-08-15 Thread Pablo Rodriguez
On 08/15/2018 09:34 PM, Hans Hagen wrote: > On 8/15/2018 7:25 PM, Pablo Rodriguez wrote: >>> If you need it you can spend some time on deciphering the latest spec >>> and tell me what is missing. >> >> I need it. I already spent some time trying to deciphe

Re: [NTG-context] latest beta (2018.08.14 23:10)

2018-08-15 Thread Pablo Rodriguez
On 08/15/2018 06:31 PM, Pablo Rodriguez wrote: > On 08/15/2018 05:49 PM, Alan Bowen wrote: >> When I run the latest standalone beta, the following >> >> \starttext >> Hello, world! >> \stoptext >> >> fails with the error message: >> [...] >

Re: [NTG-context] embedded sounds aren’t played

2018-08-15 Thread Pablo Rodriguez
On 08/14/2018 06:35 PM, Hans Hagen wrote: > On 8/14/2018 5:38 PM, Pablo Rodriguez wrote: >> Dear list, >> >> this is sounds-001.tex from the examples: >> [...] >> As I cannot check it myself with Acrobat for Linux (it seems to lack a >> player for MP3 fil

Re: [NTG-context] latest beta (2018.08.14 23:10)

2018-08-15 Thread Pablo Rodriguez
On 08/15/2018 05:49 PM, Alan Bowen wrote: > When I run the latest standalone beta, the following > > \starttext > Hello, world! > \stoptext > > fails with the error message: > [...] I can confirm that the break in the compilation. Exactly the same message here. Pablo -- http://www.ousia.tk

[NTG-context] embedded sounds aren’t played

2018-08-14 Thread Pablo Rodriguez
Dear list, this is sounds-001.tex from the examples: \definerenderingwindow [example] [width=0pt,height=0pt,frame=off] \setupinteraction[state=start] \useexternalrendering [mysound] [audio/mpeg] % audio/x-mp3 [akkerman.mp3] [embed]

Re: [NTG-context] date calculated with currentdate plus n days

2018-08-14 Thread Pablo Rodriguez
On 08/14/2018 09:24 AM, Henri Menke wrote: > On 14/08/18 17:29, Pablo Rodriguez wrote: >> [...] >> Where are those context.* Lua commands documented? >> >> I want to generate an xtable using Lua code, but I don’t know where to read. > > They aren't documented

Re: [NTG-context] date calculated with currentdate plus n days

2018-08-13 Thread Pablo Rodriguez
On 08/14/2018 01:46 AM, Henri Menke wrote: > On top of that I recommend to use context.date to get the correct > formatting according to the current language options: > > \def\duedate{\ctxlua{ >local t = os.date('*t', os.time()+ 10 * 24 * 3600) >context.date{ d = t.day, m = t.month, y =

Re: [NTG-context] date calculated with currentdate plus n days

2018-08-13 Thread Pablo Rodriguez
On 08/13/2018 05:19 PM, Jan U. Hasecke wrote: > Hi all, > > I want to insert a due date for payments in my invoice and I would like > to calculate it from \currentdate. Something like > > define \duedate = \currentdate plus 10 days > > Is this possible? Hi Jan-Ulrich, if you don’t mind using

Re: [NTG-context] referencing a footnote (and getting the right number)

2018-08-13 Thread Pablo Rodriguez
On 08/12/2018 10:10 PM, Robert Zydenbos wrote: > [...] > What does disturb me, however, is that I have this one chapter where > the wrong note number is indicated (note 19 is referred to as note > '18'), and I do not know why. Could it be that this is because earlier > in the chapter I have also

Re: [NTG-context] referencing a footnote

2018-08-12 Thread Pablo Rodriguez
On 08/12/2018 05:38 PM, Pablo Rodriguez wrote: >> On 08/12/2018 04:34 PM, Robert Zydenbos wrote: >> [..] >> … >> \footnote[uvu-avu]{These two suffixes […]} >> … >> \footnote{See n.~\note[uvu-avu].} >> … > > Hi Robert, > > the ref

Re: [NTG-context] referencing a footnote

2018-08-12 Thread Pablo Rodriguez
On 08/12/2018 04:34 PM, Robert Zydenbos wrote: > Another footnote question for the experts. I want to refer to a note > from within another, later note. I thought I could do this in > the following way: > > … > \footnote[uvu-avu]{These two suffixes […]} > … > \footnote{See n.~\note[uvu-avu].} > …

Re: [NTG-context] integer displayed as .0 float in Lua-5.3

2018-08-11 Thread Pablo Rodriguez
On 08/09/2018 10:25 PM, Hans Hagen wrote: > In addition to what others already explained, you should not depend on > features that are implementation dependent or might disappear. Many thanks for your detailed explanation, Hans. I had no idea that the automatic conversion from string to number

Re: [NTG-context] integer displayed as .0 float in Lua-5.3

2018-08-11 Thread Pablo Rodriguez
On 08/09/2018 10:20 PM, Hans Åberg wrote: >> On 9 Aug 2018, at 21:20, Pablo Rodriguez wrote: >> [...] >> My background is in humanities and I don’t understand the exponent for >> being a float ("10²" contains an exponent >> [https://www.m-w.com/dictionary/

Re: [NTG-context] integer displayed as .0 float in Lua-5.3

2018-08-11 Thread Pablo Rodriguez
On 08/09/2018 10:16 PM, Alan Braslau wrote: > On Thu, 9 Aug 2018 22:00:48 +0200 > Pablo Rodriguez wrote: > >> I guess that backwards compatibility should be important here, but I >> hope there are stronger reasons for breaking it. > > tonumber() provi

Re: [NTG-context] integer displayed as .0 float in Lua-5.3

2018-08-09 Thread Pablo Rodriguez
On 08/09/2018 09:34 PM, Alan Braslau wrote: > The lua manual also states that one should NOT rely on the implicit > conversion of a string to its numerical value, and suggests the > systematic use of tonumber(). Many thanks for your reply, Alan. I guess that backwards compatibility should be

Re: [NTG-context] integer displayed as .0 float in Lua-5.3

2018-08-09 Thread Pablo Rodriguez
On 08/09/2018 08:12 PM, Wolfgang Schuster wrote: > Use tonumber. Many thanks for your reply, Wolfgang. The issue is in Lua itself: print(5+"5") In versions prior to 5.3, result is "10". From version 5.3, result is "10.0", I would say this might be a bug. According to the “Lua 5.3 Reference

Re: [NTG-context] general suggestion for ConTeXt documentation

2018-08-09 Thread Pablo Rodriguez
On 08/09/2018 02:17 PM, Robert Zydenbos wrote: > [...] > That (and the footnotes :-) ) covers just about all my typesetting > needs. I had already prepared numerous smaller documents as practice > before I started to process the book with ConTeXt, was delighted with > the results, and so I thought

[NTG-context] integer displayed as .0 float in Lua-5.3

2018-08-09 Thread Pablo Rodriguez
Dear list, I have the following sample \starttext \startTEXpage[offset=1em] Pages: \ctxlua{context([[\lastpage]])}. Next page: \ctxlua{context([[\lastpage]] + 1)}. (Lua \luaversion) \stopTEXpage \stoptext With Lua-5.2 (ConTeXt with JIT), I get the expected results.

Re: [NTG-context] general suggestion for ConTeXt documentation

2018-08-08 Thread Pablo Rodriguez
On 08/08/2018 08:50 AM, Henning Hraban Ramm wrote: > [...] > I’m also writing a (beginners) book on ConTeXt in German, and I find > it really hard to decide what I should include. It can’t become a > reference, a complete one is impossible anyway. Hi Hraban, your book will be an important

Re: [NTG-context] resetting footnote counter

2018-08-08 Thread Pablo Rodriguez
On 08/08/2018 05:03 PM, Robert Zydenbos wrote: > Sorry, neither of these work (MkII with XeTeX). I get no error > messages with Pablo's suggestion, but not the desired result either. Weird, this works for me (with and without XeTeX): \setuppapersize[A8]

Re: [NTG-context] general suggestion for ConTeXt documentation

2018-08-08 Thread Pablo Rodriguez
On 08/08/2018 03:30 PM, Robert Zydenbos wrote: > On 8. Aug 2018, at 00:54, Alan Braslau wrote: >> >> tex/context/interface/mkiv/i-context.pdf > > Thank you! I didn’t know I already had this updated version of a > document I’ve already been using. But however useful this document > already is, it

Re: [NTG-context] resetting footnote counter

2018-08-08 Thread Pablo Rodriguez
On 08/08/2018 03:55 PM, Taco Hoekwater wrote: >> On 8 Aug 2018, at 15:33, Robert Zydenbos wrote: >> >> A simple footnote question this time. I would like to print >> endnotes at the end of every chapter in my book, and then reset the >> footnote ounter so that in the next chapter the first note

Re: [NTG-context] general suggestion for ConTeXt documentation

2018-08-08 Thread Pablo Rodriguez
On 08/08/2018 12:40 AM, Robert Zydenbos wrote: > That is it. I have no idea why – but that is the solution. Dear Robert, I will try to explain the reason of this (in my very limited understanding of how ConTeXt works). Notes in both MkII and MkII have two setup commands. One is for the group of

Re: [NTG-context] footnote and endnote markers aligned with the left margin of the main text

2018-08-07 Thread Pablo Rodriguez
On 08/06/2018 11:59 PM, Robert Zydenbos wrote: > Sorry for all these footnote questions, but here's another one. I > want to print the notes without the footnote marker jutting out into > the margin, but flushed with the left margin of the main text. > > Any help will be highly appreciated. Hi

Re: [NTG-context] preventing endnotes from running off the page

2018-08-06 Thread Pablo Rodriguez
On 08/06/2018 12:54 AM, Robert Zydenbos wrote: > When using endnotes, it seems that all the notes that are collected > in the text are placed together in a frame – but I have so many notes > in a chapter that the frame runs off the last page. > > Is there any way to let the endnotes run on

Re: [NTG-context] columns unexpected (odd) results

2018-08-02 Thread Pablo Rodriguez
On 08/01/2018 10:16 PM, Floris van Manen wrote: > Not sure as how to tell why it is misusing the line environment. > But the suggested \par solution does not work. > > .F > >> On 1 Aug 2018, at 21:28, Wolfgang Schuster wrote: >> >> Ending each line in a proper (e.g. by adding \par to finish the

Re: [NTG-context] columns unexpected (odd) results

2018-08-01 Thread Pablo Rodriguez
On 08/01/2018 11:48 AM, Henri Menke wrote: > Cannot reproduce with TL2018 or latest beta. Hi Henri, I’m afraid that Floris is right. With latest beta and a simple improvement to your file, I get wrong output: \starttext \startlines Testing 1971-04-26 \startcolumns[n=3]

Re: [NTG-context] Problem with an enumeration

2018-08-01 Thread Pablo Rodriguez
On 07/31/2018 11:58 PM, Fabrice Couvreur wrote: > Hi Pablo, > That's not what I'm looking for but rather this: > > *1.a.* blablablabla > blablablabla > *b.* blablablabla > blablablabla > *c.* blablablabla > blablablabla > > Which explains the use of the key intext Hi Fabrice, this is the best

Re: [NTG-context] Problem with an enumeration

2018-07-31 Thread Pablo Rodriguez
On 07/31/2018 12:18 PM, Fabrice Couvreur wrote: > Hello, > Wolfgang helped me to get this: > > 1.a. > b. > c. > 2.a > b. > c. > > I have unfortunately lost the code he had proposed to me. I get this: > > 1.a. > 1b > 1 C > 2.a > 2.b > 2.c Hi Fabrice, I don’t get your output. I had to remove

Re: [NTG-context] xtables setup

2018-07-29 Thread Pablo Rodriguez
On 07/29/2018 01:19 PM, Hans Hagen wrote: > On 7/29/2018 11:28 AM, Henning Hraban Ramm wrote: >> Hello again, >> I’m trying xtables for the first time. >> >> Is it possible to setup defined rows/columns like with natural tables, e.g. >> for a header, like in my example? >> The commented lines

Re: [NTG-context] xtables setup

2018-07-29 Thread Pablo Rodriguez
On 07/29/2018 11:28 AM, Henning Hraban Ramm wrote: > Hello again, > I’m trying xtables for the first time. > > Is it possible to setup defined rows/columns like with natural tables, e.g. > for a header, like in my example? > The commented lines below are wrong. Is there another way? Hi Hraban,

Re: [NTG-context] using both footnotes and endnotes in a document

2018-07-28 Thread Pablo Rodriguez
On 07/27/2018 11:47 AM, Robert Zydenbos wrote: > This works fine with MkIV, but not with MkII (I tried by altering > \setupnotation to the MkII command \setupfootnotes, but that doesn't > work). I need MkII for my project. Hi Robert, why is this required? Support for Indic scripts? I think Hans

Re: [NTG-context] issue with font features

2018-07-24 Thread Pablo Rodriguez
On 07/24/2018 09:52 PM, Hans Hagen wrote: > On 7/24/2018 9:24 PM, Pablo Rodriguez wrote: >> [...] >> The new font instance is what I was missing in many of the issues I had >> with features. > > hm, only with those that affect the glyph shapes in some way, not with >

Re: [NTG-context] future versions

2018-07-24 Thread Pablo Rodriguez
On 07/24/2018 09:07 PM, Hans van der Meer wrote: > I am using XML a lot for structured data and typesetting them with > hopefully not too much attention to detail — although I must confess > often being a hopeless perfectionist. But is it possible to use ConTeXt without paying attention to the

Re: [NTG-context] future versions

2018-07-24 Thread Pablo Rodriguez
On 07/24/2018 08:43 PM, Hans Hagen wrote: > [...] > It's not my intention to implement each possible feature as core feature > (no one would document it anyway). Also, as development is basically a > spare time effort, don't expect complex commercially interesting niches > to come for free

Re: [NTG-context] issue with font features

2018-07-24 Thread Pablo Rodriguez
On 07/24/2018 07:02 PM, Hans Hagen wrote: > On 7/24/2018 6:20 PM, Pablo Rodriguez wrote: >> [...] >> \starttext >> {\feature[+][effect]1234567890} >> 1234567890 {\feature[+][oldle]1234567890} >> \stoptext >> >> I wonder why the fir

[NTG-context] issue with font features

2018-07-24 Thread Pablo Rodriguez
Dear list, I have the following sample: \definefontfeature[effect]%[effect=.2] [effect={width=.3,delta=0.4,factor=0.3}] \definefontfeature[oldle][onum=yes] \setupbodyfont[palatino] \starttext {\feature[+][effect]1234567890} 1234567890

Re: [NTG-context] Numbering properties in a chapter

2018-07-24 Thread Pablo Rodriguez
On 07/24/2018 11:04 AM, Fabrice Couvreur wrote: > Hi Pablo, > Thank you Pablo for your answer that corresponds to what I seek to do. > Small question: how to have a point at the end of the numbering that is > to say : > > Property 1.1. > Property 1.2. Hi Fabrice, the option seems to be:

Re: [NTG-context] SHA512 for LuaTeX-5.2

2018-07-23 Thread Pablo Rodriguez
On 07/23/2018 06:23 PM, Hans Hagen wrote: > On 7/23/2018 6:04 PM, Pablo Rodriguez wrote: >> [...] >> Would it be possible to use the function to hash external binary files? >> >> Many thanks for your help, > > utilities.sha2.hash512(io.loaddata("foo.bin&q

Re: [NTG-context] SHA512 for LuaTeX-5.2

2018-07-23 Thread Pablo Rodriguez
On 07/23/2018 05:42 PM, Hans Hagen wrote: > On 7/23/2018 4:51 PM, Pablo Rodriguez wrote: >> On 07/22/2018 10:56 PM, Hans Hagen wrote: >>> why not use >>> >>> utilities.sha2.hash512(str) >> >> Many thanks for your reply, Hans. >> >

Re: [NTG-context] Numbering properties in a chapter

2018-07-23 Thread Pablo Rodriguez
On 07/23/2018 05:11 PM, Fabrice Couvreur wrote: > Hello, > I would like the numbering of the properties to be like this : > [...] > I thought it was enough to use the key way = bychapter Hi Fabrice, "way=bychapter" resets numbering in each chapter. You need this: \setupenumerations[

Re: [NTG-context] Align the chapter-title to the middle of the header

2018-07-23 Thread Pablo Rodriguez
On 07/23/2018 03:59 PM, Huseyin Özoguz wrote: > Dear list, > > how can I align the text of the header in the double-page layout to the > middle? > > I want something like that: > > \setupheadertexts > [{\startalignment[middle] \definedfont[name:Gentium_Basic at > 9pt]\getmarking[chapter]

Re: [NTG-context] SHA512 for LuaTeX-5.2

2018-07-23 Thread Pablo Rodriguez
On 07/22/2018 10:56 PM, Hans Hagen wrote: > why not use > > utilities.sha2.hash512(str) Many thanks for your reply, Hans. \starttext \def\hashfive#1{\ctxlua{context(utilities.sha2.hash512("#1"))}} \hashfive{a} \stoptext ConTeXt complains: [ctxlua]:1: attempt to index field

[NTG-context] SHA512 for LuaTeX-5.2

2018-07-22 Thread Pablo Rodriguez
Dear list, I have the following sample (adapted from https://stackoverflow.com/q/50442185): ✂️ \starttext \startlua -- -- UTILITY FUNCTIONS -- -- transform a string of bytes in a string of hexadecimal digits local function str2hexa (s)

Re: [NTG-context] page ranges in \markpage

2018-07-22 Thread Pablo Rodriguez
On 07/20/2018 12:19 AM, Hans Hagen wrote: > [...] > or even better > > local function getpagearray(str,max) > local list = { } > local function add(i) > list[i] = true > end > if max then > utilities.parsers.stepper(str,max,add) > else >

Re: [NTG-context] Some questions about the presentation of a book

2018-07-21 Thread Pablo Rodriguez
On 07/21/2018 11:41 AM, Fabrice Couvreur wrote: > Hello, > To center the titles, we must add the key alternative = middle Hi Fabrice, no, you should add: \setuphead[chapter][align=center] > However for the title of the summary, it is correct because a single > word but for the titles of

Re: [NTG-context] page ranges in \markpage

2018-07-19 Thread Pablo Rodriguez
On 07/18/2018 09:08 PM, Wolfgang Schuster wrote: > > [...] > Afterwards you can use a loop where you add the markpage commands at > the begin and end of the range, below is a simple example but it’s easy > to write a better loop with Lua. > > \setuplayout[page] > \setupinteraction[state=start] >

Re: [NTG-context] page ranges in \markpage

2018-07-18 Thread Pablo Rodriguez
On 07/18/2018 09:08 PM, Wolfgang Schuster wrote: >> Sorry, but how do I apply that with to imposed pages with \insertpages? >> >> I know that \filterpages is there, but I need to have the complete >> document to print only some of the pages. > > You can get the number of pages of the included

Re: [NTG-context] page ranges in \markpage

2018-07-18 Thread Pablo Rodriguez
On 07/18/2018 07:40 PM, Wolfgang Schuster wrote: > >> Pablo Rodriguez 18. Juli 2018 um 18:19 >> Hans, >> >> would it be possible that \markpage could have page ranges as in the >> following sample? >> >> \setuplayout >> [backspace=0pt,

[NTG-context] page ranges in \markpage

2018-07-18 Thread Pablo Rodriguez
Hans, would it be possible that \markpage could have page ranges as in the following sample? \setuplayout [backspace=0pt, topspace=0pt, width=middle, height=middle, location=middle, header=0pt, footer=0pt]

Re: [NTG-context] Compilation problem with the latest version of standalone context(Metafun)

2018-07-17 Thread Pablo Rodriguez
On 07/17/2018 12:36 PM, Fabrice Couvreur wrote: > Hi Hans, > In fact, the file compiles well with the beta version but only from a > terminal by running the > /home/aragorn/context/tex/texmf-linux-64/bin/context Test.tex && evince > Test.pdf command. > On the other hand, if I compile with Emacs,

Re: [NTG-context] Disproportion in initializing user counters

2018-07-15 Thread Pablo Rodriguez
On 07/15/2018 07:54 PM, Rik wrote: > Easier than counters: > > \definelabel [QQ][text=,headcolor=red] > \starttext > \startxtable > \startxrow > \startxcell one \stopxcell > \startxcell two \QQ[there] \stopxcell > \stopxrow > \startxrow >

Re: [NTG-context] Disproportion in initializing user counters

2018-07-15 Thread Pablo Rodriguez
On 07/15/2018 07:20 PM, Wolfgang Schuster wrote: > Hi Pablo, > > when you use the label mechanism to create a counter context ensures to > print the right counter value in the table. Hi Wolfgang, would it be possible to provide me with a minimal sample? I don‘t use labels and I don’t know how

[NTG-context] issue with balanced columns

2018-07-15 Thread Pablo Rodriguez
Dear list, I have the following sample: \showframe \showgrid \setuplanguage[agr][patterns={agr, us}] \mainlanguage[agr] \definepapersize[HippPaper][width=6in, height=9in] \setuppapersize[HippPaper] \setupbodyfont[dejavu, 13pt]

Re: [NTG-context] Disproportion in initializing user counters

2018-07-15 Thread Pablo Rodriguez
On 07/15/2018 03:49 PM, Hans Hagen wrote: > On 7/15/2018 12:33 PM, Jaroslav Hajtmar wrote: >> Hello ConTeXist. >> >> I encountered a disproportion in initializing user counters. Why >> initialization at the beginning of the source text does not work and >> what is the mechanism of how the user

Re: [NTG-context] loading hyphenation patterns (again)

2018-07-10 Thread Pablo Rodriguez
On 07/10/2018 07:44 PM, Hans Hagen wrote: > On 7/10/2018 5:20 PM, Pablo Rodriguez wrote: >> [...] >> I wonder why English cannot have extra hyphenation patterns, while >> ancient Greek allows them. > > there are no patterns 'en', just 'us' and 'uk' Many thanks for you

[NTG-context] loading hyphenation patterns (again)

2018-07-10 Thread Pablo Rodriguez
Dear list, sorry for bothering with this again: \setuplanguage[agr][patterns={agr, en}] \setuplanguage[en][patterns={en, agr}] \starttext \hyphenatedword{judgmental} \agr\hyphenatedword{judgmental} \stoptext I wonder why English cannot have extra hyphenation patterns,

Re: [NTG-context] issues with \comment

2018-07-06 Thread Pablo Rodriguez
On 07/06/2018 11:34 AM, Wolfgang Schuster wrote: >> Pablo Rodriguez 6. Juli 2018 um 11:14 >> [...] >> Locations for leftedge, rightedge and text don’t seem to work (in >> Acrobat Reader, SumatraPDF and Evince). > > By default the leftedge and rightedge areas ar

[NTG-context] issues with \comment

2018-07-06 Thread Pablo Rodriguez
Dear list, I have the following sample: \setupinteraction[state=start] \setupcomment[location=inmargin, color=darkred] \showframe \startbuffer[abc] \input zapf \stopbuffer \setuptype[option=tex] \starttext \comment[space=yes,buffer=abc]{}

[NTG-context] about \useexternalsoundtrack

2018-07-02 Thread Pablo Rodriguez
Dear list, I’m interesting in embedding media clip objects (sounds) in PDF documents and using them with JavaScript (something I’d have to learn later). I found the \useexternalsoundtrack command, but I don’t get it working (https://mailman.ntg.nl/pipermail/ntg-context/2006/016503.html). I

Re: [NTG-context] 6-sided letter fold (TRYPTICHON) with unequal page size

2018-06-27 Thread Pablo Rodriguez
On 06/27/2018 07:54 PM, Wolfgang Schuster wrote: > This isn’t possible because the imposition mechanism puts the finished pages > in boxes with the same size. Wolfgang, isn’t it a case for \definepageshift and \setuppageshift? >> Marco Patzer 27. Juni 2018 um 18:35 >> On Tue, 19 Jun 2018

Re: [NTG-context] \nopdfcompression and no date information

2018-06-24 Thread Pablo Rodriguez
On 06/24/2018 09:54 PM, Hans Hagen wrote: > On 6/23/2018 6:07 PM, Pablo Rodriguez wrote: >> [...] >> Is there a command (similar to \nopdfcompression) that has the same >> effect than compiling the document with "context --nodates"? > no, and there won't be eith

[NTG-context] \nopdfcompression and no date information

2018-06-23 Thread Pablo Rodriguez
Dear list, I would like to avoid adding date info in certain PDF documents to be able to regenerate them having the same SHA512s. Is there a command (similar to \nopdfcompression) that has the same effect than compiling the document with "context --nodates"? Many thanks for your help, Pablo --

Re: [NTG-context] Questions to PDF/A compliant documents: missing ICC files?

2018-06-18 Thread Pablo Rodriguez
On 06/18/2018 05:20 PM, Tomas Hala wrote: > Hi all, > > at http://wiki.contextgarden.net/PDF/A I found the following: > [...] > So I checked that they are present (CentOS 6.6, GPL Ghostscript 8.70) and > I discovered that these files are not present at any ConTeXt (or TeX) > installation from

Re: [NTG-context] xml, language, btx problems

2018-06-18 Thread Pablo Rodriguez
On 06/17/2018 10:10 PM, Thomas A. Schmitz wrote: > On 06/17/2018 09:37 PM, Pablo Rodriguez wrote: > [...] > Thank you for your suggestion, Pablo, but this is just a slightly > different syntax to express the same test, this doesn't change anything. > Maybe this document is cleare

Re: [NTG-context] xml, language, btx problems

2018-06-17 Thread Pablo Rodriguez
On 06/17/2018 07:52 PM, Thomas A. Schmitz wrote: > Hi, > > I have a conceptual problem integrating btx into my xml workflow. There > are too many files involved, so no minimal example, but a minimal > description. Root of my xml document: > > > ... > > > I have two files with btx

Re: [NTG-context] Confusing level change message, why?

2018-06-17 Thread Pablo Rodriguez
On 06/15/2018 11:03 PM, Rik Kabel wrote: > The example below is taken from the wiki article "Titles > ," with pdf bookmark apparatus > prepended and a second chapter added to the bodymatter. > > In the log, this produces the lines: > > backend >

[NTG-context] issue with hyphenation patterns

2018-06-11 Thread Pablo Rodriguez
Dear list, I have the following sample: \setuplanguage[agr][patterns={agr, en}] \setuplanguage[en][patterns={en, agr}] \starttext \hyphenatedword{judgmental} \agr \hyphenatedword{judgmental} \stoptext I wonder why \en hyphenates the word and \agr doesn’t. I mean, both

Re: [NTG-context] sort order in registers (indexes)

2018-06-10 Thread Pablo Rodriguez
On 06/10/2018 06:16 PM, Henning Hraban Ramm wrote: > [...] > * Aren’t language specific sorting rules possible at the current state? Or > does "unicode" handle that? > E.g. > -- DIN 5007-1 (German default sorting) is like zm,zc,uc, but ß should be > sorted like ss. > -- DIN 5007-2 (German

Re: [NTG-context] sort order in registers (indexes)

2018-06-10 Thread Pablo Rodriguez
On 06/10/2018 11:49 AM, Henning Hraban Ramm wrote: > Ahoi, > > usually, uppercase index entries are sorted before all lowercase entries. > Is there a simple setup to change that? > > i.e. I need the sorting > sum - Sun - sunny > instead of > Sun - sum - sunny > > I know I can influence sort

Re: [NTG-context] Commands \inmargin and \inouter not working

2018-06-04 Thread Pablo Rodriguez
On 06/04/2018 08:35 PM, Marcus Vinicius Mesquita wrote: > Thank you, Pablo.  > > My version was from 2 of June. I updated again today, and the problem > was solved. I knew that you generated the PDF document with that beta. But I don’t have that version, so I wasn’t able to check with it. Glad

Re: [NTG-context] Commands \inmargin and \inouter not working

2018-06-04 Thread Pablo Rodriguez
On 06/04/2018 02:25 AM, Marcus Vinicius Mesquita wrote: > Dear list, > > After updating ConTeXt, commands \inmargin and \inouter do not work anymore. Hi Marcus Vinicius, I’m using latest beta (from 2018.06.04 12:18) and both commands work fine. I’m on linux-64 too. My previous beta is from

[NTG-context] issue with hyphenation

2018-05-31 Thread Pablo Rodriguez
Dear list, I have the following sample: % \setuplanguage[agr][patterns={agr, en}] % \mainlanguage[agr] \setuplanguage[en][patterns={en, agr}] \mainlanguage[en] \starttext \hyphenatedword{judgmental} \stoptext I get hyphenation if I use English as main language, but

Re: [NTG-context] question about MP drawing with dir

2018-05-25 Thread Pablo Rodriguez
On 05/24/2018 10:23 PM, Alan Braslau wrote: > On Thu, 24 May 2018 21:01:59 +0200 > Pablo Rodriguez <oi...@gmx.es> wrote: > >> dir seems magic to me. I don’t understand how it works, not even how >> it can be used for drawing not having an origin. > > All MP

Re: [NTG-context] question about MP drawing with dir

2018-05-25 Thread Pablo Rodriguez
On 05/24/2018 09:33 PM, Hans Hagen wrote: > [...] > reusing a picture is more efficient > > \startMPpage > draw fullcircle scaled (.06TextWidth - .05LineHeight); > picture t ; t := textext("\cldcontext{utf.char(0xEB09)}") ; > for m=1 step 2 until 10 : > path s ; s :=

[NTG-context] question about MP drawing with dir

2018-05-24 Thread Pablo Rodriguez
Dear Alan, I have the following sample (as I wrote, this is addictive ;-)): \startMPpage draw fullcircle scaled (.06TextWidth - .05LineHeight); for m=1 step 2 until 10 : path s ; s := (dir30--dir150--dir315--dir90--dir225--cycle) scaled m; n := (m * 50) ;

Re: [NTG-context] question about followtext in MP

2018-05-24 Thread Pablo Rodriguez
On 05/24/2018 06:30 PM, Alan Braslau wrote: > On Thu, 24 May 2018 18:11:05 +0200 Pablo Rodriguez wrote: > >> paging through the manuals, Metafun seems easier than MetaPost. >> >> I think it will take me a while to understand the basics of it. > > Metafun is an ex

Re: [NTG-context] question about followtext in MP

2018-05-24 Thread Pablo Rodriguez
On 05/23/2018 11:24 PM, Alan Braslau wrote: > On Wed, 23 May 2018 21:06:42 +0200 > [...] > If you are going to use MP, why not read the manual (mpman.pdf) or > better yet, refer to the MetaFun manual that is even available in > printed form at http://www.h2o-books.com/catalog/context/metafun?

Re: [NTG-context] question about followtext in MP

2018-05-23 Thread Pablo Rodriguez
On 05/23/2018 07:19 PM, Alan Braslau wrote: > On Wed, 23 May 2018 18:40:14 +0200 Pablo Rodriguez wrote: >> >> I have tried to add the shifted option to the path definition and >> drawing and there was no shift in the MP page. > > (If you only have one MPpage, then ther

Re: [NTG-context] question about followtext in MP

2018-05-23 Thread Pablo Rodriguez
On 05/23/2018 06:05 PM, Hans Hagen wrote: > On 5/23/2018 5:50 PM, Pablo Rodriguez wrote: >> >> Many thanks for your reply, Hans. >> >> Is there any way to set origin to another value than (0, 0) in MP? >> >> I realize it might sound weird, but it would make

Re: [NTG-context] question about followtext in MP

2018-05-23 Thread Pablo Rodriguez
On 05/22/2018 10:22 PM, Hans Hagen wrote: > On 5/22/2018 9:05 PM, Pablo Rodriguez wrote: >> Dear list, >> [...] >> Is there any way to followtext in q without changing text direction? >> >> I need to write the text counter-clockwise, but on outside of the path

[NTG-context] question about followtext in MP

2018-05-22 Thread Pablo Rodriguez
Dear list, I have the following sample: \starttext \startMPcode path p ; p := reverse halfcircle scaled 5cm; path q ; q := reverse halfcircle rotatedaround (origin, 180) scaled 5cm ; draw p; draw q; draw followtext(p, "·Just follow the

Re: [NTG-context] Fwd: Re: roadmap

2018-05-16 Thread Pablo Rodriguez
On 05/16/2018 05:37 PM, Hans Hagen wrote: >>> [...] >>> actually it was something that came up when talking with Hermann Zapf >>> years ago: he suggested to just vertically scale the text area (i >>> actully implemented that an hour later) ... his opinion was that only a >>> very small percentage

Re: [NTG-context] roadmap

2018-05-16 Thread Pablo Rodriguez
On 05/15/2018 11:26 PM, Hans Hagen wrote: > On 5/15/2018 9:17 PM, Pablo Rodriguez wrote: >> [...] >> Hans, >> >> I wonder whether it would be possible to implement a feature that you >> mentioned in the past. >> >> In order to avoid widow

Re: [NTG-context] roadmap

2018-05-15 Thread Pablo Rodriguez
On 05/14/2018 05:17 PM, Hans Hagen wrote: > Hi, > > The ConTeXt meeting is - as usual - the right place and moment to > discuss the roadmap. We never had real binding roadmaps, more informal > ones. Anyway, here are some thoughts on the two main components: MkIV > and LuaTeX. > > ConTeXt

Re: [NTG-context] packslashes not working in latest beta

2018-05-12 Thread Pablo Rodriguez
On 05/01/2018 05:34 PM, Pablo Rodriguez wrote: > Dear list, > > I have the following sample: > > \enabledirectives[hyphenators.urls.packslashes] > \starttext > \hsize\zeropoint > \hyphenatedurl{http://www.pragma-ade.com} > \stoptext > > Us

Re: [NTG-context] embolden a font

2018-05-12 Thread Pablo Rodriguez
On 10/22/2017 07:31 PM, Ulrike Fischer wrote: > Am Sun, 22 Oct 2017 18:50:39 +0200 schrieb Pablo Rodriguez: > >>> Is there anywhere an option to get an embolden effect as with the >>> following pdf literal? I found the extend option but it doesn't give >>>

[NTG-context] packslashes not working in latest beta

2018-05-01 Thread Pablo Rodriguez
Dear list, I have the following sample: \enabledirectives[hyphenators.urls.packslashes] \starttext \hsize\zeropoint \hyphenatedurl{http://www.pragma-ade.com} \stoptext Using latest beta (2018.04.19 15:53), the directive doesn’t seem to work. (The two contiguous slashes are

Re: [NTG-context] Question to sectioning

2018-04-25 Thread Pablo Rodriguez
On 04/24/2018 12:59 AM, Tomas Hala wrote: > Hi Wolfgang, > > some deep error appeared, unfortunately. I tested it on TL2014--17. Did you > use TL2018? It seems similarly as any other error related with the change of > dimensions maintanance betweeen TL2017 and 2018. Hi Tomáš, both issues (the

Re: [NTG-context] issues with \typesetbuffer

2018-04-18 Thread Pablo Rodriguez
On 04/18/2018 08:22 PM, Hans Hagen wrote: > On 4/18/2018 6:38 PM, Pablo Rodriguez wrote: >> Hans, >> >> I have the following sample: >> >> \setuppapersize[A5][A4, landscape] >> >> \setuparranging[2SIDE] > works ok here but arranging mi

[NTG-context] issues with \typesetbuffer

2018-04-18 Thread Pablo Rodriguez
Hans, I have the following sample: \setuppapersize[A5][A4, landscape] \setuparranging[2SIDE] \setuplayout [backspace=0pt, topspace=0pt, width=middle, height=middle, location=middle, header=0pt, footer=0pt]

<    1   2   3   4   5   6   7   8   9   10   >