Re: [NTG-context] how to prevent stupid typos?

2017-06-06 Thread Pablo Rodriguez
On 06/06/2017 10:57 PM, Alan BRASLAU wrote: > My favorite is: > > \startext > > ;-) Well, I guess this is our star typo :-). Pablo -- http://www.ousia.tk ___ If your question is of interest to others as well,

Re: [NTG-context] how to prevent stupid typos?

2017-06-06 Thread Pablo Rodriguez
On 06/06/2017 10:56 PM, Idris Samawi Hamid ادريس سماوي حامد wrote: >> [...] >> Would it be any way to make ConTeXt report that \linenote{ hasn’t been >> closed? > > Just check your file before running it: > > mtxrun --autogenerate --script check test.tex > > Running this on your example gives >

[NTG-context] how to prevent stupid typos?

2017-06-06 Thread Pablo Rodriguez
Dear list, I have the following sample: \starttext This is \linenote{abed intended. \stoptext From which I get the error: close source> level 2, order 3, name '/home/ousia/untitled.tex' close source> level 1, order 3, name

[NTG-context] bug with hidden attachments?

2017-06-06 Thread Pablo Rodriguez
Dear list, I have the following sample: \setupinteraction[state=start] \setupinteractionscreen[option=attachment] \setuppapersize[A5, landscape] \setuppagenumbering[location=] \starttext \startbuffer[abc] hola μαριόλα \stopbuffer This PDF document contains a

[NTG-context] aligning external figures

2017-06-04 Thread Pablo Rodriguez
Dear list, I have the following sample: \setupexternalfigure[location=default, align=middle] \starttext \dontleavehmode\externalfigure[cow.pdf] \externalfigure[cow.pdf] \stoptext As you can see, \dontleavehmode makes no difference. Does anyone know how the align key in

Re: [NTG-context] Opentype features and space after comma in math mode

2017-06-03 Thread Pablo Rodriguez
On 06/03/2017 09:58 AM, Jose Luis Arellano wrote: > Thanks guys, but unfortunately the code provided doesn't works. > > \definefontfeature[mathdigits][mode=base,tnum=yes,lnum=yes] > \definefontfeature[mathdigits][tnum=yes,lnum=yes] José Luis, could you provide a minimal complete sample that

Re: [NTG-context] Opentype features and space after comma in math mode

2017-06-01 Thread Pablo Rodriguez
On 06/02/2017 06:40 AM, Jose Luis Arellano wrote: > Dear Wolfgang. > > In recents versions of Context, what is the correct way to use lnum > feature in maths? > > This doesn't works anymore: > > \definefontfeature[mathdigits][default][mode=base,tnum=yes,lnum=yes] José Luis, I think that line

[NTG-context] a special kind of notes in each page

2017-06-01 Thread Pablo Rodriguez
Hans, I have a document http://tex.ousia.tk/hippocratic-oath.pdf (source as attachment to the PDF document itself). The special kind of notes are the first group in two columns. I need that their space and location in page are calculated by the notes mechanism. And also that the notes mechanism

Re: [NTG-context] slashes in paths (Lua code)

2017-06-01 Thread Pablo Rodriguez
On 06/01/2017 05:47 AM, Akira Kakuto wrote: >> Directories are a problem here. I mean, >> \shatwo{Desktop/i-context.pdf} >> cannot work in Windows. > > Here both of your example and an example by Hans > worked fine on Windows. > Note that > \shatwo{Desktop/i-context.pdf} > works only if the

Re: [NTG-context] slashes in paths (Lua code)

2017-06-01 Thread Pablo Rodriguez
On 05/31/2017 10:00 PM, Hans Hagen wrote: > On 5/31/2017 8:51 PM, Pablo Rodriguez wrote: >> Dear list, >> >> I need to add checksums to files I attach to PDF documents. >> [...] >> Directories are a problem here. I mean, \shatwo{Desktop/i-context.pdf} >> ca

[NTG-context] slashes in paths (Lua code)

2017-05-31 Thread Pablo Rodriguez
Dear list, I need to add checksums to files I attach to PDF documents. Following the suggestion from https://stackoverflow.com/a/326715, I wrote: \starttext \startluacode function document.capture(cmd, raw) local f = assert(io.popen(cmd, 'r')) local s =

Re: [NTG-context] Modes in Lua

2017-05-31 Thread Pablo Rodriguez
On 05/31/2017 04:51 PM, Pablo Rodriguez wrote: > [...] > This is the way to detect system modes, but I don’t know how to do it > for \mainlanguage (**en). It was simple (not even using tex.systemmodes): \mainlanguage[es] \starttext \en\startlua if tex.m

Re: [NTG-context] Modes in Lua

2017-05-31 Thread Pablo Rodriguez
On 05/31/2017 11:03 AM, MF wrote: > if tex.modes['specialmode'] then > context('I’m special.') > end > > Best greetings, > Massi > >> Hi, this should be easy: >> >> How can I access ConTeXt’s modes in Lua? Is it any different with >> language modes (*en)? This is the way to detect system

Re: [NTG-context] issue with annotation flags

2017-05-27 Thread Pablo Rodriguez
On 05/25/2017 06:24 PM, Pablo Rodriguez wrote: > [...] > Is there a way that I can set the annotation flag in the sample above to > Print (/F 3)? (This would be unambiguous, since only a bit can be set > [11 would be an invalid flag value].) > > Or am I missing som

[NTG-context] issue with annotation flags

2017-05-25 Thread Pablo Rodriguez
Dear list, I have the following code: \setupinteraction[state=start, color=] \enabledirectives[references.border] \starttext \startTEXpage[offset=1em] \useURL[url1][http://some-url.com]\from[url1] \stopTEXpage \stoptext The annotation code in the PDF file reads:

Re: [NTG-context] issue with signature field

2017-05-25 Thread Pablo Rodriguez
On 05/24/2017 11:57 AM, luigi scarso wrote: > On Sun, May 21, 2017 at 9:17 PM, Pablo Rodriguez <oi...@gmx.es> wrote: >> Dear list, >> >> some time ago, Hans implemented signature fields: >> >> \setupinteraction[state=start] >> \starttext >

Re: [NTG-context] \start pagefigure not working as expected

2017-05-25 Thread Pablo Rodriguez
On 05/25/2017 05:22 PM, cryo shock wrote: > Hi guys, > > I created a CTX document and now I am trying to merge it with two other > pages from another (already compiled) pdf document. Usually I did this > job with PDF Split And Merge software, but if CTX (mkiv, LuaTeX) is > capable of doing the

Re: [NTG-context] issue with signature field

2017-05-25 Thread Pablo Rodriguez
On 05/24/2017 11:00 AM, Hans Hagen wrote: > On 5/21/2017 9:17 PM, Pablo Rodriguez wrote: >> \setupinteraction[state=start] >> \starttext >> \definefield[x][signature] >> \field[x] >> \stoptext >> >> I’m afraid I’m n

[NTG-context] issue with signature field

2017-05-21 Thread Pablo Rodriguez
Dear list, some time ago, Hans implemented signature fields: \setupinteraction[state=start] \starttext \definefield[x][signature] \field[x] \stoptext I’m afraid I’m not able to sign it using Acrobat 9.5.5, which is the latest version released for Linux. Acrobat Reader 9.5.5

Re: [NTG-context] bug with en and em dashes

2017-05-15 Thread Pablo Rodriguez
On 05/15/2017 03:52 PM, Hans Hagen wrote: > On 5/14/2017 8:21 PM, Pablo Rodriguez wrote: >> [...] >> Select all, copy and paste it on a pure-text editor. You will get two >> and four hyphens for en and em dashes, respectively. >> >> Could you confirm this? Until

Re: [NTG-context] bug with en and em dashes

2017-05-14 Thread Pablo Rodriguez
On 05/11/2017 09:25 PM, Mikael P. Sundqvist wrote: > I'm not sure what you see but I attach the resulting file, and I see no > problem. > > $ uname -a > Linux hurf 4.8.0-41-generic #44-Ubuntu SMP Fri Mar 3 15:27:17 UTC 2017 > x86_64 x86_64 x86_64 GNU/Linux > > mtx-context | current version:

Re: [NTG-context] Bold italic font in Math (\definefallbackfamily)

2017-05-14 Thread Pablo Rodriguez
On 05/12/2017 07:58 PM, Jose Luis Arellano wrote: > Dear list. > Please your help > I've troubles to use this code from Wolfgang. > > \definefontfamily [minionmath] [rm] [Minion Pro] > \definefallbackfamily [minionmath] [mm] [Minion Pro] > [preset=math:lowercasenormal] > \definefallbackfamily

Re: [NTG-context] bug with en and em dashes

2017-05-11 Thread Pablo Rodriguez
On 05/11/2017 04:17 PM, Thomas Floeren wrote: >> On 9. May 2017, at 21:10, Pablo Rodriguez wrote: >> [...] >> Ligatures aren’t converted and even real en and em dashes are converted >> to hyphens. >> >> Could anyone confirm the issue? > > Works as expect

[NTG-context] bug with en and em dashes

2017-05-09 Thread Pablo Rodriguez
Dear list, using latest beta from 2017.05.09 10:14 with the following sample: \starttext \startTEXpage[offset=1em] -- --- – — \stopTEXpage \stoptext I get as result: -- -- Ligatures aren’t converted and even real en and em dashes are converted to

[NTG-context] get the dimensions of xcell

2017-05-08 Thread Pablo Rodriguez
Dear list, sorry for bothering you with this minor question, but this information is important for me. I have the following sample: \starttext \startxtable[option=stretch] \startxrow \startxcell \the\lineheight\stopxcell \startxcell how do

[NTG-context] expansion in widgets

2017-05-04 Thread Pablo Rodriguez
Hans, I have the following sample: \setupinteraction[state=start] \starttext \setupfield [TextSetup] [width=.5\textwidth, height=.5\textwidth, frame=off] \definefield [SomeField] [text] [TextSetup] [\input knuth] \field[SomeField] \stoptext Would it be

Re: [NTG-context] The Wiki is down

2017-05-02 Thread Pablo Rodriguez
On 05/02/2017 03:06 AM, Mojca Miklavec wrote: > On 2 May 2017 at 01:41, Henri Menke wrote: >> No it is not just me: >> >> http://www.isup.me/http://wiki.contextgarden.net > > The machine doesn't even seem to ping for me. > > Taco is at TUG / BachoTeX meeting at the moment with close-to-no >

Re: [NTG-context] (again) index sorting of accented characters

2017-05-01 Thread Pablo Rodriguez
On 04/29/2017 05:36 PM, Schmitz Thomas A. wrote: > [...]> Who is going to profit from this long discussion? Sorry for having abused your help and your time, Thomas. I’m afraid I cannot explain such a basic issue clearly. Many thanks again for your kind help, Pablo -- http://www.ousia.tk

Re: [NTG-context] (again) index sorting of accented characters

2017-04-29 Thread Pablo Rodriguez
On 04/29/2017 01:42 PM, Schmitz Thomas A. wrote: >> Could you confirm that the right word order is the second list in this >> message instead of the first one that ConTeXt generates by default? > > No, I don't see why yours should be “right” and the order that is > produced now should be “wrong.”

Re: [NTG-context] (again) index sorting of accented characters

2017-04-29 Thread Pablo Rodriguez
On 04/28/2017 06:27 PM, Florian Grammel wrote: >>> Have you played with the different "methods" defined in sort-ini.lua, >>> lines 96-103? >> >> Many thanks for your reply, Thomas. >> >> The right values seem to be {zm, zc}. This works fine with Spanish and >> French, […] > > Even with {zm, zc}

Re: [NTG-context] (again) index sorting of accented characters

2017-04-29 Thread Pablo Rodriguez
On 04/27/2017 11:08 PM, Thomas A. Schmitz wrote: > Two remarks: > > 1. I'm not sure what you're looking for. Sorry, Thomas, it is a question on pure word order. No correction in form selection for any existing or possible index. This is my sample: \setupbodyfont[dejavu]

Re: [NTG-context] (again) index sorting of accented characters

2017-04-27 Thread Pablo Rodriguez
On 04/27/2017 08:51 PM, Thomas A. Schmitz wrote: > On 04/27/2017 07:21 PM, Pablo Rodriguez wrote: >> I mean, if this is the way, I have other two patches for other two >> languages in which I have indices. >> >> And if I’m wrong, I would like to know how to get right w

[NTG-context] (again) index sorting of accented characters

2017-04-27 Thread Pablo Rodriguez
Dear list, sorry for bothering again with this issue, but I need to have indices in my documents. I have the following sample: \mainlanguage[es] \setupregister[method=default] \starttext \startTEXpage[offset=1em] \index{ámame}\index{arisco}\index{ándrago}

Re: [NTG-context] Modern CV like cover letter example

2017-04-19 Thread Pablo Rodriguez
On 04/20/2017 07:08 AM, Jonas Baggett wrote: > Hello Henri, > > I tried to use labeltexts without success so far. Here is the simple > example I tried to do : > >\setuplabeltext [East=east, West=west] >\setuplabeltext [en] [Name=name] >\setuplabeltext [fr] [Name=nom] > >

Re: [NTG-context] location of command reference

2017-04-15 Thread Pablo Rodriguez
On 04/14/2017 03:09 PM, Meer, Hans van der wrote: > Where is the handy Command Reference to be found in the beta distribution? > I do not see it in ./tex/texmf-context/doc/context/documents/general/manuals > and could not spot it elsewhere. Hans, the ConTeXt Suite has it at

Re: [NTG-context] notes in the margin

2017-04-09 Thread Pablo Rodriguez
On 04/08/2017 07:01 PM, Henning Hraban Ramm wrote: > Am 2017-04-05 um 20:42 schrieb Pablo Rodriguez: >> doesn’t \setupmargindata[inmargin][location=right] do the trick? > > No, but \setupmargindata[inmargin][location=outer] Hi Hraban, since your layout had left margin width

Re: [NTG-context] notes in the margin

2017-04-05 Thread Pablo Rodriguez
On 04/04/2017 10:27 AM, Henning Hraban Ramm wrote: > Bump. I’d really appreciate answers, since my next project depends on it. > Thank you. > > Am 2017-03-30 um 10:30 schrieb Henning Hraban Ramm : > >> While I’m still waiting for answers to my other questions, I got some more:

[NTG-context] bug in index sorting with latest beta?

2017-04-03 Thread Pablo Rodriguez
Dear list, I have this minimal sample: \mainlanguage[fr] \setupregister[method=default] \starttext Aristote\index{Aristote}, %~ Œdipe\index{Œdipe} Platon\index{Platon} d'Ænésidème\index{Ænésidème} \placeindex \stoptext If I comment the “Platon” entry, a is

[NTG-context] wrong sending (was new version at Gitlab)

2017-04-02 Thread Pablo Rodriguez
for the noise. Pablo On 04/02/2017 09:27 PM, Pablo Rodriguez wrote: > Jean-Pierre, > > I have a new version at Gitlab: > > https://gitlab.com/ousia/adeimantos-cours-philosophie/uploads/cfbb32c6a49e82b4e73f30af96b0a31c/ConTEXt_Philosophy_Cours-de-philosophie_Cadres_Chapters

[NTG-context] new version at Gitlab

2017-04-02 Thread Pablo Rodriguez
Jean-Pierre, I have a new version at Gitlab: https://gitlab.com/ousia/adeimantos-cours-philosophie/uploads/cfbb32c6a49e82b4e73f30af96b0a31c/ConTEXt_Philosophy_Cours-de-philosophie_Cadres_Chapters_25-03-2017.pdf But it requires that you are part of the project (that you are invited to it). See

Re: [NTG-context] ConTeXt not finding fonts in OSFONTDIR

2017-04-02 Thread Pablo Rodriguez
On 04/02/2017 03:38 PM, Alan Bowen wrote: > Thank you, Pablo! The font files have been discovered and the source > files now process as they should. You are a lifesaver—this book may > still see the light of day! Glad to read it helped, Alan. May we know which book you are working on? Pablo --

Re: [NTG-context] Hieroglyphic font query

2017-04-02 Thread Pablo Rodriguez
On 04/02/2017 05:23 PM, Alan Bowen wrote: > I have the hieroglyphic font, New Gardiner Medium, in .otf and .ttf > formats. It is installed in my OSFONTDIR and is accessible using other > applications. > > But > > \switchtobodyfont[newgardiner,14pt]ㇼ㋹ > > does not work (with either the .ttf or

[NTG-context] Greek word sorting

2017-04-01 Thread Pablo Rodriguez
Hans, I have the following source: \mainlanguage[agr] \setupbodyfont[dejavu] \defineregister[indexgr][indexgrs] \setupregister[indexgr][pagenumber=no, balance=yes] \define[1]\grcindx{#1\index{#1}\indexgr{#1}} \setupregisters[n=3, pagenumber=no, method=default]

Re: [NTG-context] ConTeXt not finding fonts in OSFONTDIR

2017-04-01 Thread Pablo Rodriguez
On 04/02/2017 12:37 AM, Alan Bowen wrote: > Thanks, Pablo: > > I have revised the line in my bash profile to read > export OSFONTDIR=/Users/bowen1/Library/Fonts/ > and the problem persists—assuming that I have the absolute path correct. Sorry, add another slash to to the final slash and put

Re: [NTG-context] understanding index sorting

2017-04-01 Thread Pablo Rodriguez
On 04/01/2017 10:51 PM, Rik Kabel wrote: > On 2017-04-01 16:07, Pablo Rodriguez wrote: >> [...] >> Sorry, but I don’t see a reason to have this as default. I mean, I have >> never seen any encyclopedia or dictionary that sorts entries according >> to letter case. >

Re: [NTG-context] ConTeXt not finding fonts in OSFONTDIR

2017-04-01 Thread Pablo Rodriguez
On 04/01/2017 11:17 PM, Alan Bowen wrote: > ConTeXT does not seem to be finding the fonts that I have in my > OSFONTDIR, which is set in my .bash_profile by the line > export OSFONTDIR=./Users/bowen1/Library/Fonts/ Alan, I see two issues with your font directory. 1. The initial point in the

[NTG-context] understanding index sorting

2017-04-01 Thread Pablo Rodriguez
Hans, I have just discovered the following: \define[1]\indx{#1\index{#1}} \starttext \indx{an} \indx{american} \indx{Aphrodite} \placeindex \stoptext Lowercase letters are placed after its uppercase counterparts. I don’t have (almost) any experience with indices in ConTeXt,

Re: [NTG-context] Aligning subsection head with following paragraph in tagged pdf output

2017-04-01 Thread Pablo Rodriguez
On 04/01/2017 05:32 PM, Rik Kabel wrote: > On 2017-04-01 00:10, Todd DeVries wrote: >> Thanks for your assistance. Was unaware of using the setupheads >> command incorrectly. Good information to have. I am still not >> able to produce an automatic period (.) at the end of the section >> title

Re: [NTG-context] aligning heads in indices

2017-04-01 Thread Pablo Rodriguez
On 04/01/2017 04:04 PM, Rik Kabel wrote: > On 2017-04-01 08:38, Pablo Rodriguez wrote: >> Dear list, >> >> I have the following sample: >> >> \showframe >> \definefontfeature[smcp][smcp=yes] >> \definefontfamily[mainface][r

[NTG-context] aligning heads in indices

2017-04-01 Thread Pablo Rodriguez
Dear list, I have the following sample: \showframe \definefontfeature[smcp][smcp=yes] \definefontfamily[mainface][rm][GFS Didot] \setupbodyfont[mainface] \setupregister[index][style=\addfs{smcp}, command={\hfill}] \starttext ancient\index{ancient}

[NTG-context] slanting small cap glpyhs

2017-04-01 Thread Pablo Rodriguez
Dear list, I have the following sample: \definefontfeature[smcp][smcp=yes] \definefontfeature[slsmcp][smcp=yes, slant=0.2] \definefontfamily[yourface][rm][GFS Didot][it={features:slsmcp}] \definefontfamily[mainface][rm][GFS Didot] \setupbodyfontenvironment [default]

Re: [NTG-context] bug getting part for \setupheadertexts?

2017-04-01 Thread Pablo Rodriguez
On 04/01/2017 10:33 AM, Pablo Rodriguez wrote: > Dear list, > > as Hraban already reported, there might be a bug in: > > \setupheadertexts[section][chapter][part][section] > > \starttext > \dorecurse{10}{\part{Part} > \chapter{Chapter} >

[NTG-context] bug getting part for \setupheadertexts?

2017-04-01 Thread Pablo Rodriguez
Dear list, as Hraban already reported, there might be a bug in: \setupheadertexts[section][chapter][part][section] \starttext \dorecurse{10}{\part{Part} \chapter{Chapter} \dorecurse{5}{\section{Section}\page}} \stoptext Replacing [part] with [\getmarking{part}]

[NTG-context] adding fill-in fields to an existing PDF

2017-03-28 Thread Pablo Rodriguez
Dear list, I have to add some fill-in fields (mainly digital signatures) to existing PDF documents which contain other fill-in fields. I found a PDF sample at http://www.thewebjockeys.com/TheWebJockeys/Fillable_PDF_Sample_from_TheWebJockeys_vC5.pdf. If I try to impose the document, I loose all

Re: [NTG-context] two suggestions for \setuphead

2017-03-28 Thread Pablo Rodriguez
On 03/27/2017 10:15 PM, Hans Hagen wrote: > On 3/27/2017 9:49 PM, Pablo Rodriguez wrote: >> [...] >> One of the results of no value for width in margin data is a tricky >> approach to its alignment. >> >> But since I seem to be the only one interested in

Re: [NTG-context] two suggestions for \setuphead

2017-03-27 Thread Pablo Rodriguez
On 03/27/2017 09:29 PM, Hans Hagen wrote: > On 3/27/2017 8:00 PM, Pablo Rodriguez wrote: >> Sorry, I was trying to understand why width has no default value in >> margin data. > > because there was no need, as it anchors at the side of the text Sorry again, but I must

Re: [NTG-context] two suggestions for \setuphead

2017-03-27 Thread Pablo Rodriguez
On 03/27/2017 05:22 PM, Hans Hagen wrote: > On 3/27/2017 3:57 PM, Pablo Rodriguez wrote: >> [...] >> On a second thought, I wonder why width in \setupmargindata hasn’t its >> default value to \leftmarginwidth or \rightmarginwidth depending on the >> chosen

Re: [NTG-context] two suggestions for \setuphead

2017-03-27 Thread Pablo Rodriguez
On 03/26/2017 10:20 PM, Wolfgang Schuster wrote: >> Pablo Rodriguez schrieb am 26. März 2017 um 22:09: >> [...] >> I’m afraid that I found an issue. Alignment in margindata doesn’t work: >> >> \showframe >> >> \definemargindata[outerhead][outer] &

Re: [NTG-context] two suggestions for \setuphead

2017-03-26 Thread Pablo Rodriguez
On 03/26/2017 10:20 PM, Wolfgang Schuster wrote: >> Pablo Rodriguez schrieb am 26. März 2017 um 22:09: >> [...] >> \definemargindata[outerhead][outer] >> \setupmargindata[outerhead][align=center] > > \setupmargindata[outerhead][align=center,width=\rightmarginwid

Re: [NTG-context] two suggestions for \setuphead

2017-03-26 Thread Pablo Rodriguez
On 03/26/2017 04:11 PM, Hans Hagen wrote: > On 3/23/2017 8:45 PM, Pablo Rodriguez wrote: >> [...] >> Would it be possible to implement both proposals in ConTeXt? > > i'll add this (should cover both) Many thanks for the implementation, Hans. I’m afraid that I foun

Re: [NTG-context] two suggestions for \setuphead

2017-03-23 Thread Pablo Rodriguez
On 03/22/2017 10:13 PM, Hans Hagen wrote: > On 3/15/2017 8:59 PM, Pablo Rodriguez wrote: >> [...] >> Would it be possible in this case to set both numberalign and textalign? >> (If no margin or inmargin alternative is selected and both numberalign >> and textalign are

Re: [NTG-context] sorting languages

2017-03-21 Thread Pablo Rodriguez
On 03/21/2017 06:44 PM, Wolfgang Schuster wrote: >> Pablo Rodriguez schrieb am 21. März 2017 um 18:19: >> After updating to latest beta (2017.03.21 14:21), I’m afraid I still get >> wrong alphabetic sorting for both Spanish and ancient Greek texts. >> [...] >> In the

Re: [NTG-context] sorting languages

2017-03-21 Thread Pablo Rodriguez
On 03/21/2017 11:08 AM, Hans Hagen wrote: > On 3/20/2017 10:45 PM, Pablo Rodriguez wrote: >> On 03/20/2017 10:28 PM, Pablo Rodriguez wrote: >>> Diacritics don‘t affect to Greek alphabetic sorting. [...] > > then you probably want replacements too: After updating to lates

Re: [NTG-context] \showlayout values

2017-03-21 Thread Pablo Rodriguez
On 03/20/2017 02:14 PM, Hans Hagen wrote: > On 3/19/2017 9:28 PM, Pablo Rodriguez wrote: >> [...] >> Values equal to 0pt are written as 0ptpt. I guess this might be a typo >> somewhere in the code. > > fixed in next beta Many thanks for the fast fix, Hans. >> Bu

Re: [NTG-context] sorting languages

2017-03-20 Thread Pablo Rodriguez
On 03/20/2017 10:28 PM, Pablo Rodriguez wrote: > Diacritics don‘t affect to Greek alphabetic sorting. This sort order > makes more sense: > > orders = { > "α", "β", "γ", "δ", "ε", "ζ", "η", "θ

[NTG-context] sorting languages

2017-03-20 Thread Pablo Rodriguez
Hans, in the ouput at http://www.ousia.tk/grc-order.pdf, you can see that the vocabulary list, in both Spanish and ancient Greek are wrong sorted. After that, I discovered sort-lan.lua. There must be something else interferring in the sorting, because I read this list in the linked document:

Re: [NTG-context] bug in \definefontfamily?

2017-03-19 Thread Pablo Rodriguez
On 03/19/2017 09:58 PM, Wolfgang Schuster wrote: >> Pablo Rodriguez 19. März 2017 schrieb: >> But [features={none, quality}] disables everything and I canot enable >> protrusion plus expansion only. >> >> At least, it doesn’t work with \defi

Re: [NTG-context] bug in \definefontfamily?

2017-03-19 Thread Pablo Rodriguez
On 03/19/2017 09:32 PM, Wolfgang Schuster wrote: >> Pablo Rodriguez 19. März 2017 um 21:07via Postbox >> [...] >> BTW, does it happen the same to mono fonts? In the past, I wanted to >> check whether quality values for protrusion and expansion would make >> sense in

[NTG-context] \showlayout values

2017-03-19 Thread Pablo Rodriguez
Dear list, I have the following sample: \setuplayout[backspace=2.5cm, cutspace=2.5\backspace, rightmargin=1.75\leftmarginwidth, width=middle] \showframe \starttext \showlayout \stoptext Values equal to 0pt are written as 0ptpt. I guess this might be a typo

Re: [NTG-context] bug in \definefontfamily?

2017-03-19 Thread Pablo Rodriguez
On 03/19/2017 08:38 PM, Wolfgang Schuster wrote: >> Pablo Rodriguez 19. März 2017 schrieb: >> [...] >> Is this a bug or what am I missing? > > When you use a math font (which Neo Euler is) the argument of the > features key is ignored and \definefontfamily uses interna

Re: [NTG-context] How to use tex.print in ctxlua

2017-03-19 Thread Pablo Rodriguez
On 03/19/2017 04:30 PM, Otared Kavian wrote: > Hi, > > I would like to print in a text the values of a array computed in a > \startluacode …. \stopluacode combination. > How can I do it properly? Please have a look at the example below > and its output, which is not satisfactory because the right

[NTG-context] bug in \definefontfamily? (was: Re: OT salt feature not working?)

2017-03-19 Thread Pablo Rodriguez
On 03/19/2017 12:19 PM, josephcan...@gmail.com wrote: > Hi Pablo, > > When I typeset your MWE below with latest beta version (on win 10) you > use too, I see 2 lines of 1110 with different appearance. Hi Joseph, sorry, the second sample was different. The first line was TeX Gyre Pagella and the

Re: [NTG-context] OT salt feature not working?

2017-03-19 Thread Pablo Rodriguez
On 03/18/2017 11:05 PM, Pablo Rodriguez wrote: > Dear list, > > I have the following sample: > [...] > I get the same results with or without the first line commented out. > (I’m using latest beta from 2017.03.02 22:23.) > > Is this a bug or what am I missing? Th

[NTG-context] OT salt feature not working?

2017-03-18 Thread Pablo Rodriguez
Dear list, I have the following sample: \definefontfeature[default][default][salt=yes] \definefontfamily[mainface][rm][Neo Euler] \setupbodyfont[mainface] \starttext \startTEXpage[offset=1em] 1110 \type{1110} \stopTEXpage \stoptext I get the same results

[NTG-context] two suggestions for \setuphead

2017-03-15 Thread Pablo Rodriguez
Hans, here is my minimal sample: \showframe \starttext \setuphead[section][alternative=margin] \section{This is a title} \stoptext After having to adapt a special page design for a friend, I realized that reverse would be an even greater value for the alternative option in

Re: [NTG-context] The requested font has no files for the 'tf' alternative

2017-03-15 Thread Pablo Rodriguez
On 03/15/2017 12:56 PM, Marco Patzer wrote: > [...] > Thanks to Wolfgang's assistance I figured that the syntax in my OP > was correct and the issue is with my installation. It works for me > in a virgin installation, but throws the abovementioned error in my > current installation. > > I don't

Re: [NTG-context] bug in filling fields and Acrobat Reader XI?

2017-03-15 Thread Pablo Rodriguez
On 03/14/2017 07:27 PM, Pablo Rodriguez wrote: > On 03/14/2017 07:06 PM, Henning Hraban Ramm wrote: >> Am 2017-03-14 um 18:44 schrieb Pablo Rodriguez: >> [...] >>> There you have the validation script, but I’m afraid this is Greek to me. >> >> But guessing fro

Re: [NTG-context] bug in filling fields and Acrobat Reader XI?

2017-03-14 Thread Pablo Rodriguez
On 03/14/2017 07:06 PM, Henning Hraban Ramm wrote: > Am 2017-03-14 um 18:44 schrieb Pablo Rodriguez: > >> Text is red and border is blue. These are the defaults set in >> http://source.contextgarden.net/tex/context/modules/mkiv/m-fields.mkiv. >> >> There you have

Re: [NTG-context] bug in filling fields and Acrobat Reader XI?

2017-03-14 Thread Pablo Rodriguez
On 03/14/2017 06:36 PM, Henning Hraban Ramm wrote: > [...] > I was wrong. The validation script is stored as document level > script, because it’s within JSpreamble. And it sets the value to "", > regardless of the content. See >

Re: [NTG-context] bug in filling fields and Acrobat Reader XI?

2017-03-14 Thread Pablo Rodriguez
On 03/14/2017 06:22 PM, Henning Hraban Ramm wrote: > Am 2017-03-14 um 18:05 schrieb Pablo Rodriguez: >> [...] >> I’m afraid that Adobe Reader XI (in Windows 10) isn’t able to keep the >> text in the field after the pointer moves outside the field. >> >> Could any

[NTG-context] bug in filling fields and Acrobat Reader XI?

2017-03-14 Thread Pablo Rodriguez
Dear list, I have the following sample: \usemodule[fields] \starttext This is a \fillinfield[name]{text that defines field length}. \stoptext I’m afraid that Adobe Reader XI (in Windows 10) isn’t able to keep the text in the field after the pointer moves outside the field.

Re: [NTG-context] The requested font has no files for the 'tf' alternative

2017-03-13 Thread Pablo Rodriguez
On 03/13/2017 09:55 PM, Marco Patzer wrote: > On Fri, 10 Mar 2017 17:12:36 +0100 Pablo Rodriguez wrote: >> [...] >> \definefontfamily[mainface][rm][Caecilia LT Std-Roman] > > This also shows: > > selectfont > The requested font 'Caecilia LT Std-Roman' has no fi

[NTG-context] hidden file attachments in beta from 2017.03.02 22:23

2017-03-13 Thread Pablo Rodriguez
Dear list, I have the following sample: \setupinteraction[state=start] \starttext \attachment[file=oeps.tex,title=Oeps,author=Hans, subtitle=TeX File,method=hidden] \input zapf \stoptext I’m afraid that all I get is an empty text file labeled as attachment. If I

Re: [NTG-context] adding forms to an existing PDF document

2017-03-13 Thread Pablo Rodriguez
On 03/13/2017 07:29 PM, Henning Hraban Ramm wrote: > Am 2017-03-13 um 17:17 schrieb Pablo Rodriguez <oi...@gmx.es>: > >> But I have to ask it: is there any other way to get absolute >> positions for those field avoiding layers? > > Hi Pablo, > if you need absol

[NTG-context] adding forms to an existing PDF document

2017-03-13 Thread Pablo Rodriguez
Dear list, I have received a PDF document, in which I have to add fill-in fields. The wiki provides good information on how to do the widget part (of course, most comes from “Widgets uncovered” by Hans ;-)). After searching in the wiki, I realize that my question may be stupid. But I have to ask

Re: [NTG-context] The requested font has no files for the 'tf' alternative

2017-03-10 Thread Pablo Rodriguez
On 03/09/2017 10:33 AM, Marco Patzer wrote: > \definefontfamily > [mainface] > [rm] > [Caecilia LT Std Roman] > %% doesn't work, either > %% [tf=file:CaeciliaLTStd-Roman.otf] > [...] > %% \definedfont [name:CaeciliaLTStd-Roman] %% this works Hi Marco, how about the following?

Re: [NTG-context] (off-topic) concatenating signed PDF documents

2017-03-08 Thread Pablo Rodriguez
On 03/08/2017 07:35 PM, Henri Menke wrote: > »If you have PDF documents digitally signed the only way to combine > them preserving their signatures is to create a PDF Portfolio with > Acrobat Pro.« Many thanks for your reply, Henri. I saw that a way is attaching the PDF files to another PDF

[NTG-context] (off-topic) concatenating signed PDF documents

2017-03-08 Thread Pablo Rodriguez
Dear list, I have a question for users with more knowledge on digitally-signed PDF documents. Is it possible to concatenate PDF documents (each signed by a different certificate [by a different person]) into a single PDF document without invalidating any signature? I tried to join all PDF files

Re: [NTG-context] list items not broken in lines

2017-03-06 Thread Pablo Rodriguez
On 03/06/2017 09:45 PM, Henning Hraban Ramm wrote: > Am 2017-03-06 um 21:23 schrieb Pablo Rodriguez: >> [...] >> I’m afraid I wasn’t clear. This is required for: >> >>\placelist[section][alternative=d]. >> >> I’m afraid it doesn’t work there. > >

Re: [NTG-context] list items not broken in lines

2017-03-06 Thread Pablo Rodriguez
On 03/06/2017 09:01 PM, Henning Hraban Ramm wrote: > Am 2017-03-06 um 19:04 schrieb Pablo Rodriguez: >> I would like to avoid line breaks in section items. Which would be the >> right way of doing it? >> >> This would be similar (I think) to know how to get th

[NTG-context] list items not broken in lines

2017-03-06 Thread Pablo Rodriguez
Dear list, I have the following sample: \setupinteraction[state=start, color=, style=, contrastcolor=] \enabledirectives[references.border] \startsetups[placelist:section] \startalign[center] \setupinterlinespace[line=2.8ex] \placelist[section]

Re: [NTG-context] compression not working in linenotes

2017-03-02 Thread Pablo Rodriguez
On 03/01/2017 07:40 PM, Pablo Rodriguez wrote: > Dear list, > > I don’t get compressed linenotes with this source: > > \setuppapersize[A5] > \setupnote[linenote][paragraph=yes] > \setupnotation[linenote] > [alternative=serried, compress=yes, compressse

Re: [NTG-context] two framed item lists side by side

2017-03-01 Thread Pablo Rodriguez
On 02/09/2017 06:21 PM, Csikos Bela wrote: > Dear context user: > > I would like to put two itemized lists side by side (1cm between them), top > aligned. > I inserted each lists in framedtext and tried to use combinations but the > distance > between the two frames is too big, and the list are

Re: [NTG-context] xtables different frame thickness for one side only

2017-03-01 Thread Pablo Rodriguez
On 02/24/2017 01:19 PM, Csikos Bela wrote: > Dear context users: > > Is it possible to change the rulethickness of one side of a row in xtables? > I the example below I'd like the bottom of the first row to be thicker than > other sides. Sorry for the delayed reply, Csikos. You can accomplish

[NTG-context] compression not working in linenotes

2017-03-01 Thread Pablo Rodriguez
Dear list, I don’t get compressed linenotes with this source: \setuppapersize[A5] \setupnote[linenote][paragraph=yes] \setupnotation[linenote] [alternative=serried, compress=yes, compressseparator=] \starttext \startlinenumbering

Re: [NTG-context] Context install from Texlive2016 mtxrun problem

2017-02-28 Thread Pablo Rodriguez
On 02/28/2017 02:23 PM, Geert Dobbels wrote: > Hello, > > After several years away from Context, I would like to start using it > again and encounter the following problem: > > I am on a Fedora 25 system, 64bit machine and installed context from the > rpm repositories via dnf. The

Re: [NTG-context] Formula numbering conversion

2017-02-27 Thread Pablo Rodriguez
On 02/27/2017 04:55 PM, Antoine Cailliau wrote: > The following code is documented to change the numbering of the equations. > However, this still use numerals for the equations. > [...] > Is this a bug ? Is it the correct way to change the numbering ? Hi Antoine, it’s numberconversion (as it

Re: [NTG-context] issue with linenotes and columns

2017-02-26 Thread Pablo Rodriguez
On 02/26/2017 08:08 PM, Hans Hagen wrote: > On 2/25/2017 8:24 PM, Pablo Rodriguez wrote: >> Dear list, >> >> I have the following sample: http://www.ousia.tk/hippocratic-oath.tex >> >> After the fix from last beta, I’m afraid I’m still experiencing wrong >&

Re: [NTG-context] Columns with different width.

2017-02-26 Thread Pablo Rodriguez
On 02/26/2017 04:10 PM, Jose Luis Arellano wrote: > Thanks for the answer Henning. Can you please write an example? Hi José Luis, there is a sample on page 32 (from the document [or 34, from the PDF viewer]): http://www.pragma-ade.com/general/manuals/columns.pdf#page=34. Sorry, but my current

[NTG-context] issue with linenotes and columns

2017-02-25 Thread Pablo Rodriguez
Dear list, I have the following sample: http://www.ousia.tk/hippocratic-oath.tex After the fix from last beta, I’m afraid I’m still experiencing wrong column breaks, as displayed in http://www.ousia.tk/hippocratic-oath.pdf. Page 1: last line from first column should move to second column. Page

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