[NTG-context] Re: [off topic] non-English programming languages: Arab and Cuneiform

2024-04-20 Thread Andres Conrado Montoya
Oh, I do, fascinating stuff! Regarding languages, I also came by a very interesting writing system, called Ditema tsa Dinoko, designed to write different african languages: https://en.wikipedia.org/wiki/Ditema_tsa_Dinoko Not really a programming language, but I could see one developing from this,

[NTG-context] Re: error with \sc

2024-04-02 Thread Andres Conrado Montoya
You shouldn't run context as root in any case. But glad it worked. El mar, 2 abr 2024 a las 15:34, Peter Münster () escribió: > On Tue, Apr 02 2024, Pablo Rodriguez via ntg-context wrote: > > > mtxrun --script cache --erase && mtxrun --generate > > Thanks. It did not work after doing it as

[NTG-context] Re: ConTeXt on RPI400

2024-03-26 Thread Andres Conrado Montoya
:/usr/bin:/sbin:/bin > ``` > > Here it is the output of `which context`: > > ``` > /home/hf/WORKSPACE/TOOLS/ConTeXt/tex/texmf-linux-aarch64/bin/context > ``` > > To use the full path of context on hello-world.tex generated the same > error message. > > Thank you. >

[NTG-context] Re: ConTeXt on RPI400

2024-03-25 Thread Andres Conrado Montoya
You can invoke it directly, with a complete path, and it will work even if it's not in your $PATH variable. In my personal installation I have context at `/home/andi/Apps/lmtx/tex/texmf-linux-64/bin`, so I can call it saying `/home/andi/Apps/lmtx/tex/texmf-linux-64/bin/context hello-world.tex` and

[NTG-context] Re: Use of marking

2024-03-20 Thread Andres Conrado Montoya
As I understand, Thomas needs a layout in which the header shows something like 1. Chapter title -- 1.1. Section title (including the numbers! *This is the important bit!*) There are a couple things about this: 1. In a section (part, chapter, section, etc.) you can introduce three versions of

[NTG-context] Re: can we do binding correction?

2024-03-19 Thread Andres Conrado Montoya
There is some mention of a mechanism to get binding correction from an old article in the wiki about emulating the Koma TypeArea from LaTeX, you can see it in https://wiki.contextgarden.net/KOMA-scrartcl_Type_Area There is also some discussion about the subject in SE:

[NTG-context] Creating a module for calligraphy practice templates

2024-03-12 Thread Andres Conrado Montoya
Hello, list! I've been working on a module to typeset calligraphy practice templates using ConTeXt and MetaPost. You are welcome to check it out on github: https://github.com/conradolandia/pauta I'm not including a MWE because the repository has all the current code. I hope this is fine. I did

[NTG-context] Re: Strange error at lxml-mms.lmt:749

2024-02-25 Thread Andres Conrado Montoya
Thank you for your interest, Aditya. The error was kindly fixed by Hans introducing the following fix at line 993 in tex/texmf-context/tex/context/base/mkxl/back-exp-imp-mth.lmt: function extras.msubsup(di,element,n,fulltag) local data = di.data local nuc = found(data)

[NTG-context] Re: Strange error at lxml-mms.lmt:749

2024-02-25 Thread Andres Conrado Montoya
x/tex/texmf-context/tex/context/base/mkxl/node-shp.lmt:38: in function <...mtx/tex/texmf-context/tex/context/base/mkxl/node-shp.lmt:37> (...tail calls...) El dom, 25 feb 2024 a las 16:41, Andres Conrado Montoya (< andresconr...@gmail.com>) escribió: > IntroEstadisticaNP-error.lo

[NTG-context] Re: Strange error at lxml-mms.lmt:749

2024-02-25 Thread Andres Conrado Montoya
Another remark: It seems this behavior is consistent: if I comment out the last equation before the one I told you before, again the next formula works fine, El dom, 25 feb 2024 a las 15:38, Andres Conrado Montoya (< andresconr...@gmail.com>) escribió: > A remark: A few lines above

[NTG-context] Re: Strange error at lxml-mms.lmt:749

2024-02-25 Thread Andres Conrado Montoya
A remark: A few lines above the error triggering point, I found a single digit presented as math: \math{5}. Removing this and leaving the 5 in text mode removes the error below it. Could it be a bug in the distribution? El dom, 25 feb 2024 a las 15:24, Andres Conrado Montoya (< andresc

[NTG-context] Strange error at lxml-mms.lmt:749

2024-02-25 Thread Andres Conrado Montoya
I keep bumping into this error, I have no idea what may be causing it, in a statistics book with lots of math: registered function call [250]: ...mtx/tex/texmf-context/tex/context/base/mkxl/lxml-mms.lmt:749: attempt to index a nil value (local 'a2') I have checked everything. I have tried

[NTG-context] Re: Text in Margin

2024-02-19 Thread Andres Conrado Montoya
There is a package on github https://github.com/andythomas/TeX-sidenotes that can help you with that. Check the "context" folder on that repo. Also, you can find an example of its use at https://github.com/zvonkok/perf-panacea Caveat emptor: It has not been updated in 12 years. It should work for

[NTG-context] Drawing calligraphy practice grid in metafun

2023-11-20 Thread Andres Conrado Montoya
Hello list I've been working on a little project of mine. I give calligraphy workshops and I have been using a nice tool created by Josselin Cuette, available at http://ductus.josselincuette.com/ to generate practice templates for interested people. However, I would prefer to have an offline

[NTG-context] Re: Wiki problem - labels missing from the main diagram on the Page Layout page

2023-11-07 Thread Andres Conrado Montoya
A possible reason for this is that the use of xlink:href, the attribute used to render the text glyphs created by symbol elements in https://wiki.contextgarden.net/images/5/54/layout.svg, has been deprecated since SVG 2.0, as you can see in

[NTG-context] Re: wiki update: Modules

2023-10-01 Thread Andres Conrado Montoya
In the wiki, if I click a link to check a source code file (for example https://source.contextgarden.net/tex/context/base/mkiv/m-catchword.mkiv) I get a blank page with a very long list of source files on the left. If I search for the file with my browser's ctrl+f on that page, it returns zero

[NTG-context] Re: Install fonts on MS Windows

2023-09-23 Thread Andres Conrado Montoya
I did a test with Windows 10. Installed a fresh copy from the garden, Got the GFS Didot font from Google Fonts, and installed it system-wide (C:\Windows\fonts). After that, I ran mtxrun --script fonts --reload Then tried the pattern suggested but did not work. However, then I tried a pattern

[NTG-context] Re: Using structureuservariables before the heading

2023-09-12 Thread Andres Conrado Montoya
You can find some examples in the wiki to do something similar: https://wiki.contextgarden.net/Generate_Authorlist_from_Head_Content Also you can use setups instead of macro definitions, and create spaces with \space, \par, etc: https://wiki.contextgarden.net/Setups -- Andrés Conrado Montoya

[NTG-context] Better option for a macro with lots of arguments

2023-08-22 Thread Andres Conrado Montoya
I have been using the following macro to add a bunch of sections to the start of chapters in a book, it works but I think is kind of weak: %%% \define[7]\metadatos{ \startsection[title={Resumen}] #1 \stopsection \startsection[title={Palabras clave}] #2 \stopsection \start

[NTG-context] Re: Not getting a page break in the ToC

2023-08-22 Thread Andres Conrado Montoya
Apologies, I just found the solution: https://wiki.contextgarden.net/Command/setinjector El lun, 21 ago 2023 a las 23:43, Andres Conrado Montoya (< andresconr...@gmail.com>) escribió: > I'm trying to force a page break in a table of contents, using what is > recommende

[NTG-context] Not getting a page break in the ToC

2023-08-21 Thread Andres Conrado Montoya
I'm trying to force a page break in a table of contents, using what is recommended at https://wiki.contextgarden.net/Table_of_Contents#Forced_Page_Break However, it does not work. Here's a MWE: \definelistextra[page][before=\page] \starttext \starttitle[title={Table of contents}]

[NTG-context] Re: Experiments with \doloopoverlist

2023-08-18 Thread Andres Conrado Montoya
I was using an old LMTX copy, and that was the issue. Thanks to Hans for pointing that out. Now I'm trying to expand my solution a little more. Is there any way to retrieve an element in a dataset by using the key? For example, given an "authors" dataset, I would like to do something similar to:

[NTG-context] Re: Experiments with \doloopoverlist

2023-08-17 Thread Andres Conrado Montoya
Thank you Hanks, seems to work well after some tweaking. I had an issue, the patch you sent me gave an error when I ran 'context --make'. The error said: tex error > tex error on line 51 in file core-dat.mkxl: Parameters must be numbered consecutively [#1]#*[ S

[NTG-context] Experiments with \doloopoverlist

2023-08-16 Thread Andres Conrado Montoya
Hello List. I've been trying to typeset a somewhat complex list of authors for several articles and a book. My proof of concept seems to work fine, however, I know I am doing weird things that I think could probably be done in a better way. I'm using datasets and a recursion, kind of hacky but I

[NTG-context] Wikfication of \commalistsentence

2021-12-03 Thread Andres Conrado Montoya via ntg-context
I talked too soon. This won't work, and I have no idea why: \setuplabeltext [en] [and-1={{, }}, and-2={{ and }}]% Should be: 1, 2 and 3 \setuplabeltext [es] [and-1={{, }}, and-2={{ y }}]% Should be: 1, 2 y 3 \setuplabeltext [de] [and-1={{, }}, and-2={{

[NTG-context] Wikified \commalistsentence

2021-12-03 Thread Andres Conrado Montoya via ntg-context
Hi, just to let you know https://wiki.contextgarden.net/Command/commalistsentence has been wikified, feel free to make corrections or changes. -- Andrés Conrado Montoya Andi Kú andresconr...@gmail.com http://sesentaycuatro.com http://messier87.com http://chiquitico.org

Re: [NTG-context] Macro for a comma separated list of authors

2021-11-27 Thread Andres Conrado Montoya via ntg-context
Gracias, Jairo! This works great. I will go ahead and document it on the wiki, if that's Ok. -- Andrés Conrado Montoya Andi Kú andresconr...@gmail.com http://sesentaycuatro.com http://messier87.com http://chiquitico.org Los fines no justifican los medios,

[NTG-context] Macro for a comma separated list of authors

2021-11-24 Thread Andres Conrado Montoya via ntg-context
I'm trying to produce a document with several authors, using macros for comma separated lists. My MWE is as follows: %% \def\autores{% {Luis David Gómez-Méndez, Ph. D.}, {Adriana del Pilar Pulido-Villamarín, M. Sc.}, {Rubiela Castañeda-Salazar, M. Sc.}, {Juan Carlos

[NTG-context] fixing indentation of xtable inside item

2021-11-22 Thread Andres Conrado Montoya via ntg-context
Considering the following MWE, I would like to know how I can get the table inside the item to be aligned with the item. It seems the tabel takes the width right, but it gets pushed to the left, disregarding the item's indentation. I think I read about this behaviour somewhere, but I have spent 4

Re: [NTG-context] Missing images in Wiki?

2021-01-22 Thread Andres Conrado Montoya Acosta
..." > > > Today's Topics: > >1. Missing images in Wiki? (Andres Conrado Montoya) >2. Re: Missing images in Wiki? (Taco Hoekwater) >3. new lmtx / fonts (Hans Hagen) >4. \doassign variable - updates not picked up (Werner Hennrich) > > > --

[NTG-context] Missing images in Wiki?

2021-01-21 Thread Andres Conrado Montoya
It seems a lot of image examples from the wiki are gone now. Most articles lost many images. Is this on purpose? -- Andrés Conrado Montoya ___ If your question is of interest to others as well, please add an entry to

[NTG-context] 3 questions about xtables after reading manuals

2021-01-18 Thread Andres Conrado Montoya
I've been trying out xtables and reading the manual, some things I can't find how to do (or if it's possible on xtables): 1. How to align whole columns. It seems I have to add [align=middle] to each cell I want to have centered in a raggedright aligned table. In tabulate you can use [|l|c|] to do

[NTG-context] "Nicefracs" hidden in math-frc.mkiv

2021-01-18 Thread Andres Conrado Montoya
Hello, list. I Was checking out math-frc.mkiv to learn stuff, and found out that at the end of that file, from line 673, there is a couple commented out macros to generate "nice fractions'', i.e.: ½ (as in the LaTeX package nicefrac). Why has this code been commented out? These are quite useful.

Re: [NTG-context] SILE typesetter and other projects

2021-01-03 Thread Andres Conrado Montoya
Hi Denis. SILE seems interesting, aslo Patoline. However, I think both of these are very immature, and I feel somewhat puzzled by the authors of SILE when they say that you can't do grid typesetting on TeX without horrible hacks, blatantly ignoring ConTeXt's achievements on the matter. If you

[NTG-context] Regarding XML export and EPUB

2020-12-21 Thread Andres Conrado Montoya
Hello, list. I've been experimenting with the export scripts and the instructions and manuals you can find in: https://wiki.contextgarden.net/XML https://wiki.contextgarden.net/Export https://wiki.contextgarden.net/Epub https://wiki.contextgarden.net/ePub This with the expectation of being able

Re: [NTG-context] checkbox in fields show the word yes

2020-12-11 Thread Andres Conrado Montoya
Firefox doesn't show the "yes", nor Acrobat X, but SumatraPDF does. I modified your definition as: \definefield[test][check][cbox][][] And now the "yes" doesn't appear. However, I don't know how this affects the functionality of the form. -- Andrés Conrado Montoya Andi Kú

Re: [NTG-context] basic issues with formulas

2020-12-03 Thread Andres Conrado Montoya
Hi pablo, regaring 1) TeX assumes that each character is a variable on math mode. You need to tell it that each "word" is, well, a "word": \starttext \startitemize[packed] \item Valor actual neto: $\text{\em beneficios} - \text{\em costes}$. % you can use typographical variations inside

Re: [NTG-context] ntg-context Digest, Vol 198, Issue 8

2020-12-02 Thread Andres Conrado Montoya
You are naming your font "english". If you call "ebgaramond" it will always take the default ebgaramond features. Just call your font with the name you gave it. \definefontfamily[english] [rm] [ebgaramond] [features={dlig=no}] \setupbodyfont[english,10pt] \starttext ct st \stoptext -- Andrés

Re: [NTG-context] question about frames

2020-11-26 Thread Andres Conrado Montoya
A bit late to the party but maybe this helps... try "frameoffset": \defineframed[caja][frameoffset=\zeropoint,width=5cm,height=2cm] \starttext \dorecurse{5}{\caja[frame=on]{Hello}} \stoptext -- Andrés Conrado Montoya

Re: [NTG-context] question about frames

2020-11-26 Thread Andres Conrado Montoya
Disregard that... that is the default... it doesn't work as I thought initially. Sorry for the noise. ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist :

Re: [NTG-context] Bug in overprint? (was: how to set overprint)

2020-11-16 Thread Andres Conrado Montoya
> What editors do you use? I checked using Acrobat X on windows, PDFStudio 12 and Master PDF Editor on linux -- Andrés Conrado Montoya Andi Kú andresconr...@gmail.com http://sesentaycuatro.com http://messier87.com http://chiquitico.org Los fines no

Re: [NTG-context] Bug in overprint? (was: how to set overprint)

2020-11-10 Thread Andres Conrado Montoya Acosta
> > may I ask someone, who understands knockout and overprint in the printing > press, to check test cases in the attached file from the test suite, if > overprint is working or not in Mark IV, please? > > Regards, > Jano > > Hi Jano, as far as I can check with my pdf editors, it seems

Re: [NTG-context] How can I make the notes under this table inherit the width of the table, and not the \textwidth?

2020-11-10 Thread Andres Conrado Montoya
By the way, I already tried with \framed, but I can't get it to take the current float width. -- Andrés Conrado Montoya Andi Kú andresconr...@gmail.com http://sesentaycuatro.com http://messier87.com http://chiquitico.org Los fines no justifican los

Re: [NTG-context] How can I make the notes under this table inherit the width of the table, and not the \textwidth?

2020-11-10 Thread Andres Conrado Montoya
> Hi Andrés, > > You could probably put the notes inside a \start...\stopxtablefoot > > Sylvain Thanks Sylvain, but I have a lot of tables to edit...This may work, but I would prefer to explore programmatic solutions involving the two defined macros(\fuentent & \fuente in my example), because I

[NTG-context] How can I make the notes under this table inherit the width of the table, and not the \textwidth?

2020-11-10 Thread Andres Conrado Montoya
MWE (sorry for the long table, I hadn't anything else at hand): \definehighlight[emph][style={\em}] \definehighlight[strong][style={\bf}] \setupfloat[table][default={here}] \definereferenceformat[figura][text={Figura~}] \definereferenceformat[tabla][text={Tabla~}]

[NTG-context] The correct way to add emphasis to text using italics

2020-10-21 Thread Andres Conrado Montoya
I've seen in several articles on the Wiki, some differences about how this is done, and I'm confused about the differences: *Font_Switching* says: "There is a font switch \em to emphasize text. This is somewhat special: it does automatic italic correction and changes the alternative depending on

Re: [NTG-context] issue with interaction=all and \insertpages

2020-09-22 Thread Andres Conrado Montoya Acosta
I am also following this question and some related ones by Pablo with great interest, and it seems to me that it's falling through the cracks... so, I am asking again: is it possible to preserve links correctly when imposing / inserting pdf pages in ConTeXt? El lun., 21 sept. 2020 a las 5:00,

Re: [NTG-context] Can't output direct glyphs either in MKIV

2020-09-07 Thread Andres Conrado Montoya
Hi Taco, thanks for the input. Your example works, and produces the glyphs. Pdf attached, I hope this system allows it (only 36.3 kB). "u101F2" is the unicode name for the glyph. I would guess, according to what you told me, that the code point would be "00024", but honestly, I have no idea. This

[NTG-context] Can't output direct glyphs either in MKIV or LMTX

2020-09-07 Thread Andres Conrado Montoya
Hello list. I'm trying to call a direct glyph from the Phaistos font, but it seems it doesn't work. The font is loaded, the log file says it so: system > 12: filename=/home/vantta/.fonts/Phaistos.otf format=otf foundname=/home/vantta/.fonts/Phaistos.otf

Re: [NTG-context] notes in the margin

2019-10-03 Thread Andres Conrado Montoya
I've been tinkering with this problem. It's kind of frustrating not having a right solution for this. After trying and failing to the last solution published by Hraban on 2018-02-12, I tried to implement my own approach, from the other way around, I mean: not trying to implement notes as marginal

[NTG-context] Is it possible to define a float environment that uses 2 captions? (and another question)

2019-07-09 Thread Andres Conrado Montoya
I'm working on a book that uses tables and figures, but the editors want to use to diffferent captions for each figure: one as usual, with the float description and number, and another one with a "Source" for said float. Something like: - |

Re: [NTG-context] Why is the list so quiet these days?

2019-07-02 Thread Andres Conrado Montoya
of a million miles out and say, ‘Look at that, you son of a bitch.’” — Apollo 14 astronaut Edgar Mitchell El mar., 2 jul. 2019 a las 13:19, Hans Hagen () escribió: > On 7/2/2019 8:09 PM, Andres Conrado Montoya wrote: > > Is there an event or something else? Or everybody is just busy? >

[NTG-context] Why is the list so quiet these days?

2019-07-02 Thread Andres Conrado Montoya
Is there an event or something else? Or everybody is just busy? Andrés Conrado Montoya Andi Kú andresconr...@gmail.com http://sesentaycuatro.com http://messier87.com http://chiquitico.org Los fines no justifican los medios, porque la medida verdadera de

Re: [NTG-context] Strange behavior in somewhat complex layout (again)

2019-06-27 Thread Andres Conrado Montoya
.’” — Apollo 14 astronaut Edgar Mitchell El jue., 27 jun. 2019 a las 13:17, Wolfgang Schuster (< wolfgang.schuster.li...@gmail.com>) escribió: > Andres Conrado Montoya schrieb am 27.06.2019 um 19:22: > > Hi List, it seems my message went unnoticed, if you can help me out, > please do.

[NTG-context] Strange behavior in somewhat complex layout (again)

2019-06-27 Thread Andres Conrado Montoya
Hi List, it seems my message went unnoticed, if you can help me out, please do. I'm an struggling with this layout. I'm trying to make something using bits and examples found here and elsewhere, but I'm hitting a wall. I know there's a flawed logic in my approach, but I can't figure it out. Any

[NTG-context] Strange behavior in somewhat complex layout

2019-06-23 Thread Andres Conrado Montoya
Hello list, I'm trying to make something using bits and examples found here and elsewhere, but I'm hitting a wall. I know there's a flawed logic in my approach, but I can't figure it out. Any help is appreciated. Expected behavior of the following MWE: When starting a new chapter, check if the

[NTG-context] is it useful to use the option "--fonts=all" when running first-setup-sh?

2019-06-20 Thread Andres Conrado Montoya
As the subject says. I've been experimenting with having a by-project context folder, so I can have a "frozen" version for each project. I see there's an option to install more fonts (including utopia, useful for a project I'm working on). However, I have no idea how to use these fonts. Are they

Re: [NTG-context] Using MTPro2 math Fonts with ConTeXt

2017-03-27 Thread Andres Conrado Montoya
Thank you for your tips. I'm using Linux. } However, as I researched the matter, it seems to me is not a trivial task... these fonts were made with LaTeX/Plain TeX in mind. I don't even know how I would implement the font options (like mtpfrak, mtpcal, etc). The font comes with two versions:

[NTG-context] Using MTPro2 math Fonts with ConTeXt

2017-03-27 Thread Andres Conrado Montoya
Hello, List. I am using the MTPro2 complete fonts (provided by the publisher house) for typesetting some math books in LaTeX this year. I also want to use ConTeXt to typeset other math books, those that don't come originally in LaTeX. However, the publisher requires that I use the MTPro2 fonts

Re: [NTG-context] About Hyphenation

2013-07-24 Thread Andres Conrado Montoya
Thanks, Marco. That seems to work with final hyphens. Why this does not work instead?: \setpenalties\brokenpenalties{1}{1} I have tried both, but your solution works better. Andrés Conrado Montoya ___ If your

Re: [NTG-context] About Hyphenation

2013-07-24 Thread Andres Conrado Montoya
So, it seems that this configuration worked (more or less), to avoid: Widows, Orphans, 3 or more consecutive hyphens, and final hyphens. \startsetups[grid][correcto] \setups[*reset] \setpenalties\widowpenalties{1}{1} \setpenalties\clubpenalties{1}{1} \stopsetups

[NTG-context] About Hyphenation

2013-07-23 Thread Andres Conrado Montoya
Hi List, I am very grateful with you all. Thanks for all the teaching. Sorry if the message is too long. I have read in several places that the commands \doublehyphendemerits and \finalhyphendemerits are not a real way of dealing with the design issue of too many hyphens in a row and/or avoiding

[NTG-context] Possible bug with new \start ... \stop way for title, chapter, subject, etc.?

2013-06-28 Thread Andres Conrado Montoya
I was trying to implement the solution provided by this thread: http://www.mail-archive.com/ntg-context@ntg.nl/msg51152.html and it works very well. However, finding a problem related to this implementation, I found that the output of the new \start ... \stop versions of the title, section,

Re: [NTG-context] Auto selecting optical sizes for a font

2013-06-24 Thread Andres Conrado Montoya
Thank you so much, Hans. :) It works great!. I must agree, however, with Georg's considerations. I am very grateful for the current solution, but an automatic selection of optical sizes could be insanely good, from a book designer point of view (I'm a book designer). Just for the curious, these

[NTG-context] Auto selecting optical sizes for a font

2013-06-21 Thread Andres Conrado Montoya
Hello friends. I'm trying to design a book using the typescript you can find at the end of this message. I'm using the beautiful EBGaramond fonts from Georg Duffner (http://www.georgduffner.at/ebgaramond/). This font provides optical sizes to be used in different sizes (named 12 for 10.1pt or

[NTG-context] Question about language

2012-10-19 Thread Andres Conrado Montoya
Greetings! I want to contribute to the Spanish translation in the lang-txt.luahttp://gitorious.org/context/context/blobs/origin/tex/context/base/lang-txt.lua file. How do I do that? Thanks! ___ If your question is of