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,
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
:/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.
>
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
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
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:
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
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)
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
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
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
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
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
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
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
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
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
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
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
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
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}]
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:
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
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
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={{
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
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,
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
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
..."
>
>
> 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)
>
>
> --
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
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
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.
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
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
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ú
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
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
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
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 :
> 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
>
> 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
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
> 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
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~}]
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
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,
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
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
Or maybe try with "paragraphs":
https://wiki.contextgarden.net/Columns#Paragraphs
--
Andrés Conrado Montoya
http://chiquitico.org
___
If your question is of interest to others as well, please add an entry to the
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
When updating my LMTX installation today, I got this:
tex error > tex error on line 179 in file
/home/conrado/Apps/lmtx/tex/texmf-context/tex/context/base/mkiv/strc-flt.mkvi:
! Undefined control sequence
\c!compressdistance
=\emwidth
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:
-
|
Thank you. I still don't really understand why can't you have a
"presentational" yaml file and a "content" yaml file (I do it like that...
I have a "variables.yaml" file for content and a "settings.yaml" file for
presentational stuff, and use a "template.context" file with all my mapped
variables
You can do it on the template... you can use a yaml variable to determine
if the toc should be printed or not. Like so:
yaml file:
---
toc: true
...
template file:
%%%
$if(toc)$
\completecontent
$endif$
%%%
Andrés Conrado Montoya
http://chiquitico.org
El lun., 8 jul. 2019 a las 2:52,
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?
>
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
.’” — 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.
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
Tank you very much Pablo. I'll try that. They are proper latex fonts, tho,
so I'm no sure that will do. I also have a background i humanities and book
design, but I'm now making math books, go figure. It's very interesting
from a typographic point of view.
Now I'm more interested in seeing what
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
---
>
> Message: 1
> Date: Sat, 22 Jun 2019 12:03:38 +0200
> From: Pablo Rodriguez
> To: ntg-context@ntg.nl
> Subject: Re: [NTG-context] is it useful to use the option
> "--fonts=all" when running first-setup-sh?
> Mess
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
I think you need to use \insertpages instead. Check this out:
http://wiki.contextgarden.net/Command/insertpages
Andrés Conrado Montoya
http://chiquitico.org
___
If your question is of interest to others as well,
I confirm the issue in NOT present in my machine (Arch Linux x64). I can
see the dashes as they are supposed to be.
Andrés Conrado Montoya
http://chiquitico.org
___
If your question is of interest to others as well,
Thanks Aditya. I will try to work with this and see where it leads me. Will
report with results as soon as I can.
2017-03-28 3:10 GMT-05:00 :
> You are trying to follow the installation process of opentype/ttf fonts.
> MTPro2 is a type1 font and to use them with
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:
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
This works for me, is probably not what you want, but at leat it's
consistent (it uses the interline of the main text).
\definestartstop[passus][
before={\startnarrower},
after={\stopnarrower},
style={\tfxx},
]
\starttext
\subject{It looks OK here:}
\input knuth
\startnarrower
\tfxx \input
2015-09-23 5:00 GMT-05:00 :
> \ConTeXt
This maybe is not very important to you, but, as a designer, I see \ConTeXt
as a logotype, so, it's not supposed to be hyphenated.
Andrés Conrado Montoya
El Andi
andresconr...@gmail.com
http://chiquitico.org
If you use other TeX distribution (TeXlive, MikTeX), you will have
conflicts because your system doesn't know how to differentiate between
your current TeX distro binaries, and Context's binaries, so, the system
will use different (non-compatible) versions of a lot of things, and will
use the
Junicode is a font for medievalists, handles a lot things needed for
analizing old texts. It can handle greek, gothic script, runes, a lot of
marks... Is a very nice font for scholars.
___
If your question is of
I've been using a workflow to generate epub + PDF for several books so far,
and in my experience, using Markdown base files is very good: you can
include images, links, etc., and then you can use pandoc (
http://johnmacfarlane.net/pandoc/) to generate both epub and context
source, also you can
Maybe combinations is what you are looking for? It works very well for me.
http://wiki.contextgarden.net/Command/startcombination
Andres
___
If your question is of interest to others as well, please add an entry to
I forgot to include a MWE:
%%
\starttext
\setupexternalfigures[location={local, default}]
\startcombination[1*3]
{\externalfigure[cow][height=1cm]} {d}
{\externalfigure[cow][height=1cm]} {e}
{\externalfigure[cow][height=1cm]} {f}
\stopcombination
\stoptext
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
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
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
Hello, list. Also posted this to:
http://tex.stackexchange.com/questions/124494/simple-macro-does-not-work-with-context-why
ConTeXt version: 2013.06.10 22:51
MWE:
%%%
\define[1]\anios{{\tfx \inmagin{#1}}}
\starttext
{\tfx \inmargin{2008-2012}}This is what has
I'm so ashamed. I found the typo thanks to marco in tex.sx
Thanks.
Andrés
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl /
Have you tried formatting it this way:
\startsection
[title={my fancy section}]
bla
\stopsection
Breaking before closing or after opening the square braces has always
given trouble to me.
Andrés Conrado Montoya
El Andi
andresconr...@gmail.com
http://chiquitico.org
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,
Thank you so much Hans, for your answer. I understand how difficult it
is. The goodie file works very well, and I'm perfectly happy with
that. :) Thank you again.
Andrés Conrado Montoya
El Andi
andresconr...@gmail.com
http://chiquitico.org
Los fines no
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
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
You can use Pandoc (http://johnmacfarlane.net/pandoc/) to convert from
context to multiple output formats, including txt, html, markdown...
even office!
Hope this helps.
Andrés Conrado Montoya
El Andi
andresconr...@gmail.com
http://chiquitico.org
Los fines
In dont't really know why you think it should render differently.
Everything TeX is supposed to ignore white spaces in math, AFAIK.
If you want a space in math, you need to force it, like this:
\setupmathematics[autopunctuation=yes]
\starttext
$(2,\ 5)$ versus $(2,\ 5)$
\stoptext
Best,
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
88 matches
Mail list logo