Re: [NTG-context] (again) issues with typing

2017-08-17 Thread Pablo Rodriguez
On 08/17/2017 12:46 AM, Alan Braslau wrote: > On Wed, 16 Aug 2017 23:45:30 +0200 Pablo Rodriguez wrote: > >> I have to explain to newcomers (in my Spanish introduction to ConTeXt) >> what comments are and multiple lines don’t affect the final PDF >> document. > &g

Re: [NTG-context] whitespace between endnotes

2017-07-14 Thread Pablo Rodriguez
On 07/14/2017 02:44 PM, Meer, Hans van der wrote: > \placenotes[endnote] puts a list of endnotes spaced out with the > setting of \setupwhitespace. Is there a means to keep > \setupwhitespace undisturbed but changing this for the endnotes > alone? Some parameter to be specified in \setupnote,

Re: [NTG-context] how to hyphenate SHA512?

2017-07-10 Thread Pablo Rodriguez
On 07/08/2017 01:32 PM, Hans Hagen wrote: > On 7/7/2017 10:28 PM, josephcan...@gmail.com wrote: >> A probably quick and dirty « solution », which consists in inserting a >> \discretionary node between each digit using some lua code. There are >> mostly likely better solutions for this. > >

Re: [NTG-context] Footnote in TABLE isn't rendered anywhere

2017-07-10 Thread Pablo Rodriguez
On 07/08/2017 03:17 PM, Mathias Schickel wrote: > Dear Andreas, Pablo and the list, > > I did read your question and answer with great interest, since I > encountered similar issues. Sadly your trick to get footnotes that are > defined in some environments like tables displayed at the bottom of

Re: [NTG-context] how to hyphenate SHA512?

2017-07-08 Thread Pablo Rodriguez
le.concat(out, '\\discretionary{_}{}{}')) > end > > \stopluacode > > \starttext > > \hyphenation > > \ctxlua{sha([[8b2f3c087046c3943ace0dc4f958ef2138e58a51b40eef6fab6fa1aeb845cc257a410ab1b914bc399b4293f31c76fc2c73e5be5ea4d329f9e6820984688efec2]])} > > \stoptext > > > *De : *Pablo Rodriguez <mailto:oi...@gmx.es> > *En

Re: [NTG-context] Footnote in TABLE isn't rendered anywhere

2017-07-15 Thread Pablo Rodriguez
On 07/15/2017 08:07 PM, Mathias Schickel wrote: >> Am 15.07.2017 um 18:07 schrieb Pablo Rodriguez: >> [...] >> Just in case I got you wrong: is your issue that the background also >> covers the footnotes, such as in the first and second pages from: >

Re: [NTG-context] Footnote in TABLE isn't rendered anywhere

2017-07-15 Thread Pablo Rodriguez
On 07/14/2017 05:22 PM, Mathias Schickel wrote: > This indeed does the trick! Thank you very much! Maybe I will take > use of Hans’ suggestion about textbackgrounds, but as I remember I have > switched from those to backgrounds because they sometimes showed strange > behaviour at page breaks if

Re: [NTG-context] footnote placement

2017-07-20 Thread Pablo Rodriguez
On 07/20/2017 10:06 PM, Meer, Hans van der wrote: > I did use: \setupnotes[footnote][split=verystrict,scope=page] so I guess > there is not much hope here. > > A related question: the numbering of endnotes is placed in the > leftmargin. Is there a parameter setting that forces them in the >

[NTG-context] handling code in XML

2017-07-23 Thread Pablo Rodriguez
Hans, I have the following sample: \startbuffer[demo] \command[option=value]{text "<&>"} \command[option=value]{text } \stopbuffer \startxmlsetups xml:initialize

Re: [NTG-context] Unable to switch math fonts

2017-07-23 Thread Pablo Rodriguez
On 07/22/2017 03:16 AM, Sebastian L. wrote: > Hi, I have trouble with Neo Euler font after playing around with those > options. > [...] > I am pretty sure that before I started mixing the fonts in one single > document, Neo Euler was italic. > > Does anybody have a clue what might have went

Re: [NTG-context] handling code in XML

2017-07-24 Thread Pablo Rodriguez
On 07/24/2017 10:48 AM, Hans Hagen wrote: > On 7/23/2017 9:28 PM, Pablo Rodriguez wrote: >> [...] >> Which is the way to get this expanded \xmlprettyprint? > The xml that we see is getting more weird every day .. anyway > > \startluacode > > function

Re: [NTG-context] Odd numbering of pp. in PDF viewer

2017-07-27 Thread Pablo Rodriguez
On 07/26/2017 10:09 PM, Sebastian L. wrote: > Hi Pablo, I attached what I see. ;) It is an already known bug in MuPDF: https://github.com/sumatrapdfreader/sumatrapdf/issues/353 (even the latest unstable version hasn’t been fixed yet). Could you test your original issue with Acrobat? Pablo --

Re: [NTG-context] context-2011-mathml-update.pdf FlushStep and mupdf

2017-07-27 Thread Pablo Rodriguez
On 07/27/2017 11:48 AM, Henning Hraban Ramm wrote: > Am 2017-07-27 um 09:21 schrieb dam...@thiriet.web4me.fr: >> >> I am working under OpenBSD and context TeXLive 2017 pre-release. >> Acrobat Reader is not avalaible. > [...] > Steps work with JavaScript in PDF, and AFAIK only AR supports that - >

Re: [NTG-context] Odd numbering of pp. in PDF viewer

2017-07-27 Thread Pablo Rodriguez
On 07/27/2017 10:19 PM, Sebastian L. wrote: > Hi Pablo, > > interesting issue, I will keep your github link focused, thanks. I > installed Adobe Reader DC and opened the original document with it. > Screenshots attached. > TBH, this also isn't the correct numbering if you ask me. It goes 1, 1,

Re: [NTG-context] Odd numbering of pp. in PDF viewer

2017-07-27 Thread Pablo Rodriguez
On 07/27/2017 11:59 PM, Sebastian L. wrote: > Actually SumatraPDF works pretty fine with the setting your proposed > (see attached screens). > Thanks. You are right, Sebastian. SumatraPDF has problems to deal with page labels using the same values (1, 1, 1, for example). Pablo --

Re: [NTG-context] Extensible arrows in ConTeXT

2017-07-26 Thread Pablo Rodriguez
On 07/26/2017 07:20 AM, Mathias Schickel wrote: >> Am 26.07.2017 um 00:47 schrieb Hans Hagen: >> [...]>> you can patch this in that file and remake the format >> >>elseif kind == e_right then >>local charlist = data[3].horiz_variants >>if charlist then >>local right

Re: [NTG-context] Odd numbering of

2017-07-26 Thread Pablo Rodriguez
On 07/26/2017 09:20 AM, Sebastian L. wrote: > Hi folks, > [...] > How would one change the frontmatter counter to roman numbers (I, II, > III etc.)? And the first page of the bodymatter to 1 instead of 1.1? For > the record: within the PDF itself the numbers are printed correctly > (front: no

Re: [NTG-context] Extensible arrows in ConTeXT

2017-07-26 Thread Pablo Rodriguez
On 07/26/2017 01:31 PM, Mathias Schickel wrote: > [...] > Hi Pablo, > > thank you for advice! Unfortunately I still get the error > [...] > I see two possible reasons for that: > > Either the command „context --make --all“ is not the right one > (besides: How can I check if ConTeXt has remade

Re: [NTG-context] context-2011-mathml-update.pdf FlushStep and mupdf

2017-07-26 Thread Pablo Rodriguez
On 07/26/2017 09:00 PM, Damien Thiriet wrote: > [...] > The trouble is that when opening context-2011-mathml-update.pdf with mupdf > I do not see anything similar to beamer > \pause. The whole slides are shown in one piece. > > Did I miss something or is it a viewer issue? Hi Damien, I guess

Re: [NTG-context] Odd numbering of pp. in PDF viewer

2017-07-26 Thread Pablo Rodriguez
On 07/26/2017 09:25 PM, Sebastian L. wrote: > [..] > ... I initially didn't plan on using roman numbers. But right now > this seems the only proper solution to the wrong numbering in my > case. I attached an explanation document to show you what I mean. > > If you still wish for the source files

Re: [NTG-context] Unable to switch math fonts

2017-07-20 Thread Pablo Rodriguez
On 07/20/2017 09:38 AM, Kumar Appaiah wrote: > Hi. > > I'm using the Debian packaged ConTeXt, version 2017.05.15.20170613-2. > I have the Neo Euler OTF font and mtxrun --script fonts finds it. > > I am unable to get the following to work: > > \definefontfamily [myfamily] [math] [Neo Euler] >

Re: [NTG-context] footnote placement

2017-07-20 Thread Pablo Rodriguez
On 07/20/2017 11:16 AM, Meer, Hans van der wrote: > It happens that a footnote generated on a certain page is typeset on > the page preceding it. Rather than that, I would like to force a > footnote to appear either on the page where it is defined or on the > following page. Can such behaviour be

Re: [NTG-context] Problem with columns and footnotes

2017-06-30 Thread Pablo Rodriguez
On 06/30/2017 09:33 AM, Henri Menke wrote: > Dear list, > > motivated by a question on TeX.SX I wanted to typeset multicolumn text with > multicolumn footnotes. > However, on the first page the distance between the columns and the footnote > area is way too large. > Occurs in TL2017 and

[NTG-context] how to hyphenate SHA512?

2017-07-06 Thread Pablo Rodriguez
Dear list, I have the following sample: \starttext \hsize\zeropoint hyphenation 8b2f3c087046c3943ace0dc4f958ef2138e58a51b40eef6fab6fa1aeb845cc25% 7a410ab1b914bc399b4293f31c76fc2c73e5be5ea4d329f9e6820984688efec2 \stoptext I plan to use underscore hyphenation. How can I

Re: [NTG-context] Footnote in TABLE isn't rendered anywhere

2017-07-05 Thread Pablo Rodriguez
On 07/03/2017 05:00 PM, Andreas Schneider wrote: > Hello, > > in the current ConTeXt Minimals (ver: 2017.06.30 19:45 MKIV beta fmt: > 2017.7.3) the following example doesn't show any footnotes: > > > \starttext >

Re: [NTG-context] Problem with columns and footnotes

2017-07-05 Thread Pablo Rodriguez
On 07/01/2017 03:04 AM, Henri Menke wrote: > On 07/01/2017 04:33 AM, Pablo Rodriguez wrote: >> On 06/30/2017 09:33 AM, Henri Menke wrote: >>> [...] >>> \setupnotation >>> [footnote] >>> [alternative=hanging, >>>align={raggedrigh

[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] (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

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/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] TeXworks or TeXItEasy as ConTeXt editors

2017-08-05 Thread Pablo Rodriguez
On 08/05/2017 03:36 PM, Jean-Pierre Delange wrote: > [...] > You only have to configure two things : the path where texworks > finds context executable (~/home/context/tex/texmf-linux32/bin or > /.../linux64/bin, and the same for Microsoft Windows). And a to give > a little parameter to TeXworks.

[NTG-context] concatenating attribute values in XML

2017-08-06 Thread Pablo Rodriguez
Dear list, I have the following definition: \startxmlsetups xml:image:sidebyside \blank\startalign[center] \dontleavehmode \externalfigure[\xmlattribute{#1}{./p/img}{src}] [width=.5\textwidth] %~ \xmlconcat{#1}{./p/img}{ }

[NTG-context] (bug?) itlc removes liga

2017-07-28 Thread Pablo Rodriguez
Dear list, using latest beta (2017.07.28 14:24), I have the following sample: \definefontfeature [default] [default] [script=latn, itlc=yes] \setupitaliccorrection [global, always] \definefontfamily [mainfont] [rm]

[NTG-context] imposition with some rotated pages

2017-07-30 Thread Pablo Rodriguez
Dear list, I have a PDF document in A4 paper size with some rotated pages. I would like to make a booklet of it: \setuppapersize [A5][A4, landscape] \setuparranging [2UP] \setuplayout [backspace=0pt, topspace=0pt, width=middle, height=middle,

Re: [NTG-context] source code and result side by side

2017-07-30 Thread Pablo Rodriguez
On 07/30/2017 07:13 PM, Henning Hraban Ramm wrote: > [...] > But I’d like to show a lot of similar examples to explain several options. > Therefore, if I’d like to simplify my code, but this doesn’t work: > > \def\CodeExample#1{% > \startbuffer[zB] > #1 > \stopbuffer > \typebuffer[zB] >

[NTG-context] inline code in XML

2017-07-28 Thread Pablo Rodriguez
Hans, many thanks for having added \xmlprettyprinttext to ConTeXt. I have now another problem with inline code: \definetype[TeX][option=TEX, lines=hyphenated] \starttext \startTEXpage[offset=1em] This is inline code: \TeX{\command[option=value]{final text}} \startXML Inline code:

Re: [NTG-context] BUG: Colour spilling in btxrendering

2017-08-08 Thread Pablo Rodriguez
On 08/08/2017 11:02 PM, Henri wrote: > On Tue, 2017-08-08 at 17:31 +0200, Pablo Rodriguez wrote: >> [...] >> This fixes in my computer what I guess is your problem. > > I would call this a workaround. What I want are coloured links. > Usually only the cl

Re: [NTG-context] xml verbatim in xml...

2017-08-08 Thread Pablo Rodriguez
On 08/08/2017 10:46 PM, Schmitz Thomas A. wrote: > Hi all, > > excellent excuse to pester the list with a program: it’s for my > presentation at the ConTeXt meeting (have YOU registered yet?)… > So: I want to show verbatim xml, and I’m writing in xml. This > solution:

Re: [NTG-context] xml verbatim in xml...

2017-08-08 Thread Pablo Rodriguez
On 08/08/2017 11:26 PM, Pablo Rodriguez wrote: > On 08/08/2017 10:46 PM, Schmitz Thomas A. wrote: >> Hi all, >> >> excellent excuse to pester the list with a program: it’s for my >> presentation at the ConTeXt meeting (have YOU registered yet?)… >> So: I want to s

Re: [NTG-context] imposition with some rotated pages

2017-08-02 Thread Pablo Rodriguez
On 08/02/2017 01:40 PM, Willi Egger wrote: > Hi Pablo, > > hm, it seems that this is a special issue. Hi Willi, many thanks for your reply. After printing some imposed pages (the ones that didn’t need rotation), I realized the text was barely readable. So I will print it normal > [...] > The

Re: [NTG-context] Disable overlay on chapter pages

2017-08-02 Thread Pablo Rodriguez
On 08/02/2017 12:00 PM, Mikael P. Sundqvist wrote: > Hi, > > I'm trying to print chapter and section titles in the margins, and it > works fine, except that the chapter title is also printed on the same > page as the chapter starts, which I find unnecessary. Hi Mikael, margintext as alternative

Re: [NTG-context] (again) \typebufferinline for XML inline code

2017-08-01 Thread Pablo Rodriguez
On 08/01/2017 04:27 PM, Hans Hagen wrote: > On 7/31/2017 7:16 PM, Pablo Rodriguez wrote: >> [...] >> Would it be possible to have a new \typebufferinline that behaves such >> as \type above (and has the same options in \setuptype)? >> >> The most important part isn

Re: [NTG-context] (again) \typebufferinline for XML inline code

2017-08-02 Thread Pablo Rodriguez
On 08/02/2017 11:21 AM, Hans Hagen wrote: > On 8/1/2017 9:12 PM, Pablo Rodriguez wrote: >> Many thanks for your reply, Hans. >> >> I’m afraid this isn’t what I was looking for. > > i'll make \xmlinlineprettyprinttext but there is where this madness stops Many thanks f

Re: [NTG-context] methods for numbered paragraphs (ii)

2017-08-08 Thread Pablo Rodriguez
On 08/08/2017 09:36 AM, Hans Hagen wrote: > On 8/7/2017 11:03 PM, Pablo Rodriguez wrote: >> But even in that case, numbering from: >> >>\section{A} >>\subsubsection{B} >> >> gives: >> >>1 A >>1 B >> >> Shoul

[NTG-context] comment colors in \typebuffers

2017-08-08 Thread Pablo Rodriguez
Hans, I have the following sample: \starttext \startTEXpage[offset=1em] \startTEX This is text. % and this is a comment \stopTEX \startXML This is text. \stopXML \startLUA if code=="code" then --this is a comment --[[ and this is a multiline

Re: [NTG-context] \setupcombinations and the after-key

2017-08-09 Thread Pablo Rodriguez
On 08/09/2017 07:50 PM, Mathias Schickel wrote: > Dear List, > > it seems that the after key of the \setupcombinations-command is broken. I am not able to get zero space between the cells. I have attached a minimal example. Changing the after command does not have any effect at all. Matthias,

Re: [NTG-context] \setupcombinations and the after-key

2017-08-09 Thread Pablo Rodriguez
On 08/09/2017 11:31 PM, Mathias Schickel wrote: > Hi Pablo, > > thank you a lot! This was really helpful. Maybe the garden page should > be altered then. If you have a look at > > http://wiki.contextgarden.net/Command/setupcombinations > > you get the impression that „after“ is the key I was

Re: [NTG-context] How can I add “page # of ##” on my document ?

2017-08-09 Thread Pablo Rodriguez
On 08/09/2017 11:42 PM, Fabrice Couvreur wrote: > Hello, > With Latex, I did this : > > \usepackage[colorlinks=true,pdfstartview=FitV,linkcolor=blue,citecolor=blue,urlcolor=blue]{hyperref} > \rfoot{\scriptsize{\textsf{Page~\thepage{}~sur~\pageref{LastPage Hi Fabrice, this is a ConTeXt list.

Re: [NTG-context] BUG: Colour spilling in btxrendering

2017-08-08 Thread Pablo Rodriguez
On 08/08/2017 08:04 AM, Henri wrote: > This problem is still present in latest beta (see attached). I was unable to > identify the cause. > Please fix this. Bibliographies are somewhat unusable with coloured links > right now. Hi Henri, I don’t think there is a problem with the bibliographies.

Re: [NTG-context] concatenating attribute values in XML

2017-08-07 Thread Pablo Rodriguez
On 08/06/2017 10:11 PM, Pablo Rodriguez wrote: > [...] > This is what I have in the XML file: > > > > > Sorry, Hans. Today I realize I was saying nonsense. I solved it with: \xmlsetsetup{\xmldocument} {[contains(@c

Re: [NTG-context] methods for numbered paragraphs (ii)

2017-08-08 Thread Pablo Rodriguez
On 08/08/2017 02:42 PM, Idris Samawi Hamid ادريس سماوي حامد wrote: > [...] > - see attached - so maybe the criterium=all support wasn't included in > yesterday's release but is intended for a subsequent one.. I think so (he said he would support). It will be in next beta. According to "curl -I

Re: [NTG-context] methods for numbered paragraphs (ii)

2017-08-07 Thread Pablo Rodriguez
On 08/07/2017 08:57 PM, Hans Hagen wrote: > On 8/7/2017 5:08 PM, Pablo Rodriguez wrote: >> [...] >> I mean, in a common sectioning structure a \subsubsection comes after a >> \subsection. But I don’t think it must be mandatory. > > Well, it's all on purpose ... no

Re: [NTG-context] xml verbatim in xml...

2017-08-09 Thread Pablo Rodriguez
On 08/09/2017 11:03 AM, Hans Hagen wrote: > \startbuffer[test] > > > \starttext > \ConTeXt\ is awesome! > \stoptext > > > > > > ... > > > ... > > > > > \stopbuffer > > \startxmlsetups xml:testsetups >

Re: [NTG-context] About \setupbackgrounds (again)

2017-08-09 Thread Pablo Rodriguez
On 08/09/2017 02:59 PM, Fabrice Couvreur wrote: > Hello, > How do I make the header appear on the first page only ? > Thank you > Fabrice Hello Fabrice, a workaround would be to suppress header dimension for all pages other than the first one. \definelayout [noheader]

Re: [NTG-context] methods for numbered paragraphs (ii)

2017-08-07 Thread Pablo Rodriguez
On 08/06/2017 11:08 PM, Idris Samawi Hamid ادريس سماوي حامد wrote: > [...] > Challenges: > > 1. How can we get automatic indentation for all heads *except* the first > one that occurs after the \starttitle? Hi Idris, this should be the default (it is actually \setupheads[indentnext=no]). I

[NTG-context] TeXworks or TeXItEasy as ConTeXt editors

2017-08-05 Thread Pablo Rodriguez
Dear list, I’m writing an introduction to ConTeXt in Spanish. Before any new user can start compiling ConTeXt sources, I realize that I have to explain how to configure an editor for ConTeXt. Since I plan to deal with the latest beta from the ConTeXt Suite, I need to explain how to deploy it.

Re: [NTG-context] TeXworks or TeXItEasy as ConTeXt editors

2017-08-05 Thread Pablo Rodriguez
On 08/05/2017 01:50 PM, Arthur Reutenauer wrote: >> Does anyone know how to make the previous commands work with TeXworks? > > Not off the top of my head; you’ll probably find more help on the > TeXworks list (http://tug.org/mailman/listinfo/texworks), I’m sure I’ve > seen this question

Re: [NTG-context] methods for numbered paragraphs (ii)

2017-08-06 Thread Pablo Rodriguez
On 08/06/2017 03:54 PM, Idris Samawi Hamid ادريس سماوي حامد wrote: > [...] > Something along the lines of the following would be a sufficient (and > easier) first step for the current project, although we may want to > revisit the above for the future: > > 3 % section > 3.0.1 %

Re: [NTG-context] methods for numbered paragraphs (ii)

2017-08-06 Thread Pablo Rodriguez
On 08/06/2017 03:54 PM, Idris Samawi Hamid ادريس سماوي حامد wrote: > In addition to the two dropbox links above, see the following: > > https://people.umass.edu/klement/tlp/tlp.html#bodytext > https://people.umass.edu/klement/tlp/tlp.pdf > > The dropbox links (from Introduction to Hegel by GRG

Re: [NTG-context] concatenating attribute values in XML

2017-08-06 Thread Pablo Rodriguez
On 08/06/2017 12:05 PM, Hans Hagen wrote: > On 8/6/2017 11:37 AM, Pablo Rodriguez wrote: >> [...] >> How can I define the external figure so I concatenate the image file >> names in the code above? >> >> I mean, \xmlconcat is great, but I don’t see how I could m

Re: [NTG-context] Strange behavior with the Garamond font

2017-08-18 Thread Pablo Rodriguez
On 08/17/2017 11:11 PM, Fabrice Couvreur wrote: > Hi Pablo, > When I speak of non-readable, I mean it looks like "hieroglyphics". > > fab@debian:~$ mtxrun --script fonts --list --pattern=garamond --all Hi Fabrice, sorry, I asked you to use pdffonts on the output PDF document to check which

Re: [NTG-context] unwanted space after \in

2017-08-18 Thread Pablo Rodriguez
On 08/18/2017 09:33 PM, Alan Bowen wrote: > Unlike \goto and \at, \in seems to insert an unwanted space before any > text that follows. Alan, I’m not sure I get what is the issue: \starttext \chapter[abc]{Chapter} \reference[bca]{} \page \in{in reference}[abc], \in{in

[NTG-context] (again) issues with typing

2017-08-16 Thread Pablo Rodriguez
Dear list, sorry for insisting, but I need to solve this. I have to explain to newcomers (in my Spanish introduction to ConTeXt) what comments are and multiple lines don’t affect the final PDF document. I have the following sample: \setuptyping[lines=yes] \starttext

Re: [NTG-context] Strange behavior with the Garamond font

2017-08-17 Thread Pablo Rodriguez
On 08/17/2017 08:28 PM, Fabrice Couvreur wrote: > Hello, > I compiled the following document with Context Standalone and viewed the > file with Evince, it is not readable ! Hi Fabrice, I copied the fonts from http://wiki.contextgarden.net/URW_Garamond to tex/texmf-fonts/ and I got a PDF document

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

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] problem loading attachments (important for my work)

2017-06-08 Thread Pablo Rodriguez
On 06/09/2017 12:36 AM, Hans Hagen wrote: > On 6/8/2017 9:40 PM, Pablo Rodriguez wrote: >> [...] >> I’m afraid that the file exists and ConTeXt in Win10 (64bit) isn’t able >> to load the file. > > When I test with > > \attachment[file={t:/sources/cow.pdf}]

Re: [NTG-context] question about STIX fonts (versions one and two)

2017-06-19 Thread Pablo Rodriguez
On 06/19/2017 07:30 AM, Henri Menke wrote: > On Mon, 2017-06-19 at 07:19 +0200, Pablo Rodriguez wrote: >> [...] >> Are the STIX fonts distributed with the ConTeXt Suite? > > No. You can get them from http://www.stixfonts.org/ Many thanks for your fast reply, H

Re: [NTG-context] Initials and short paragraph

2017-06-20 Thread Pablo Rodriguez
On 06/20/2017 10:15 PM, Martin Oppegaard wrote: > Thanks for the suggestions! Is there a way to get the amount of > horizontal space the initial takes so that can be put in manually in > front of the next paragraph? Martin, how about making the initial transparent?

[NTG-context] full expansion in widgets

2017-06-22 Thread Pablo Rodriguez
Hans, I have the following sample: \def\hola{hola} \def\MyContent{B \quotation{C} \hola\ D} \enabledirectives[interaction.identity.preroll] \setupinteraction[state=start, title={\MyContent}] \setupinteractionscreen[option=attachment] \setuppapersize[A5, landscape]

[NTG-context] \startcomment...\stopcomment with XML processing

2017-06-24 Thread Pablo Rodriguez
Dear list, I have the following sample: \startbuffer[demo] 1 2 3 4 5 \stopbuffer \startxmlsetups xml:initialize \xmlsetsetup{#1}{doc}{xml:doc} \xmlsetsetup{\xmldocument} {pre[contains(@class,'copy\letterpercent-code')]/code}

Re: [NTG-context] \startcomment...\stopcomment with XML processing

2017-06-25 Thread Pablo Rodriguez
On 06/25/2017 12:18 PM, Hans Hagen wrote: > On 6/24/2017 10:53 PM, Pablo Rodriguez wrote: >> [...] >> I don’t know why I cannot get \startcomment...\stopcomment with >> \xmlpure{#1}. >> >> This is the only way I have to get lines and spaces in comments. &

Re: [NTG-context] full expansion in widgets

2017-06-24 Thread Pablo Rodriguez
On 06/22/2017 11:13 PM, Henri Menke wrote: > On Thu, 2017-06-22 at 20:03 +0200, Pablo Rodriguez wrote: >> [...] >> Would it be possible to have full expansion in PDF widgets? (I mean, the >> attachment fields and annotation. and the fill-in text field.) > > Full expa

Re: [NTG-context] Initials and short paragraph

2017-06-20 Thread Pablo Rodriguez
On 06/09/2017 07:05 AM, Martin Oppegaard wrote: > Hi, > > When placing an initial and the paragraph is short, the initial is > laid over the next paragraph. Example: > > \starttext > \placeinitial > Knuth writes: > > \input knuth > \stoptext > > Is there anything to do about this? Hi Martin,

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

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

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] 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

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] 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

[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] 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 >

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

2017-06-07 Thread Pablo Rodriguez
On 06/07/2017 10:09 AM, Hans Hagen wrote: > On 6/7/2017 7:02 AM, Pablo Rodriguez wrote: >> [...] >> If I runt "mtxrunjit --autogenerate --script check b.tex", I get the >> following message: >> >> no error >> >> Is there no way to chec

Re: [NTG-context] aligning external figures

2017-06-07 Thread Pablo Rodriguez
On 06/07/2017 03:55 PM, Hans Hagen wrote: > On 6/4/2017 11:29 AM, Pablo Rodriguez wrote: >> [...] >> Does anyone know how the align key in \setupexternalfigure works? > > it doesn't (no clue what it should be doing anyway) Many thanks for your reply, Hans. grph-inc.mkiv i

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

2017-06-07 Thread Pablo Rodriguez
On 06/07/2017 09:08 PM, Hans Hagen wrote: > On 6/7/2017 8:11 PM, Pablo Rodriguez wrote: >> My question here isn’t about speed. If a source may load twenty source >> files and it actually loads five source files, the problem is having to >> check the files individually. >

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

2017-06-07 Thread Pablo Rodriguez
On 06/07/2017 10:16 PM, Idris Samawi Hamid ادريس سماوي حامد wrote: > On Wed, 07 Jun 2017 14:08:21 -0600, Pablo Rodriguez <oi...@gmx.es> wrote: > >> And creating a keyboard shortcut to launch the script automatically >> helps a lot. > > Scite: Ctrl-0 > Notepad++:

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

2017-06-07 Thread Pablo Rodriguez
On 06/07/2017 09:02 PM, Idris Samawi Hamid ادريس سماوي حامد wrote: > [...] > As a matter of workflow, I would just check each \input when editing it, > don't see the need to check them all over and over - but maybe you have > some huge collaborative project with lots of \inputs frequently

Re: [NTG-context] aligning external figures

2017-06-07 Thread Pablo Rodriguez
On 06/07/2017 09:02 PM, Hans Hagen wrote: > On 6/7/2017 8:23 PM, Pablo Rodriguez wrote: >> [...] >> \c!align=\v!none, % New, for Tacos extremely large graphics. >> >> Sorry for asking, but would it be possible that the key should set >> alignment for e

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

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

[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 =

[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

[NTG-context] problem loading attachments (important for my work)

2017-06-08 Thread Pablo Rodriguez
Dear list, I have the following sample: \setupinteraction[state=start] \setupinteractionscreen[option=attachment] \setuppapersize[A5, landscape] \setuppagenumbering[location=] \starttext File: \attachment[file={h:/general-documents/document.pdf}] \stoptext I’m afraid

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

2017-06-07 Thread Pablo Rodriguez
On 06/07/2017 11:01 PM, Hans Hagen wrote: > sure it's no big deal to write such a script but in decades of tex i > never felt the need I wrote a small script for my Linux machine (check-context.sh), to be able to check a single file: source $HOME/ctxbeta/tex/setuptex mtxrunjit

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] Choosing font range

2017-06-16 Thread Pablo Rodriguez
On 06/16/2017 09:34 PM, Hans Åberg wrote: > Thank you for the help. But the math characters do not show in \tt, > as in the example below. (Tried with TeX Live 2017.) > [...] > \definefontfamily[mainface][rm][TeX Gyre Pagella] > \definefontfamily[mainface][mm][TeX Gyre Pagella Math] >

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