Re: [NTG-context] Different author rendering in entry citation vs. list

2021-08-27 Thread Joey McCollum via ntg-context
t; editor occurs in the "author" position (i.e., at the start of the citation, > which happens when a book has an editor but no author), then the > authorconversion should be inverted, but if the editor occurs after the > author position (which happens when a book also has an author), th

Re: [NTG-context] Different author rendering in entry citation vs. list

2021-08-27 Thread Ágoston Volcz via ntg-context
go.lua file >> addresses this by specifying an "ineditor" set containing only the "editor" >> field (essentially making it an alias to be used later), and then >> publ-imp-chicago.mkvi defines a style specifically for this field. I could >> solve the authorcon

Re: [NTG-context] Different author rendering in entry citation vs. list

2021-08-26 Thread Joey McCollum via ntg-context
go.mkvi defines a style specifically for this field. I could > solve the authorconversion, etallimit, and etaldisplay problems using an > "entryauthor" field, but is this actually the recommended way to do this? > Using this approach, I would have to have duplicate sets for nearly al

Re: [NTG-context] Different author rendering in entry citation vs. list

2021-08-26 Thread Joey McCollum via ntg-context
ield. I could solve the authorconversion, etallimit, and etaldisplay problems using an "entryauthor" field, but is this actually the recommended way to do this? Using this approach, I would have to have duplicate sets for nearly all "author"-type fields to ensure that they have diff

Re: [NTG-context] TOC labeltext and no partlabel

2021-08-25 Thread Adam Reviczky via ntg-context
h LMTX and > MKIV). > > The easy way is to create a new heading for the appendices (e.g. > \extrachapter) and set the label you want to use in the list. > > \setuplist [chapter] [label=chapter] > \setuplist [extrachapter] [label=appendix] > > >

Re: [NTG-context] TOC labeltext and no partlabel

2021-08-25 Thread Wolfgang Schuster via ntg-context
want to use in the list. \setuplist [chapter] [label=chapter] \setuplist [extrachapter] [label=appendix] A complexer solution where you can keep \chapter in the appendices can be achieved with a customized number type and the use of the processor mechanism to set

Re: [NTG-context] lmtx update/t-vim (again)

2021-08-23 Thread Benjamin Buchmuller via ntg-context
=on, framecolor=black, background=, location=paragraph, ] \definevimtyping[vimR] [ syntax=r, space=off, lines=split, numbering=yes, numberstep=5, alternative=pscolor, margin=.5em, style={\switchtobodyfont[type

[NTG-context] pgfplots module needs update from December

2021-08-20 Thread Gavin via ntg-context
\begin {axis}[#1,data cs=polar,axis type=polar] ] This bug was described and fixed on the pgfplots GitHub repository in December (https://github.com/pgf-tikz/pgfplots/pull/382). I fixed the bug on my personal installation, but when I update the modules using the wiki instructions, the bug r

Re: [NTG-context] JavaScript in multimedia PDF

2021-08-12 Thread Pablo Rodriguez via ntg-context
On 8/12/21 3:02 AM, Michal Vlasák via ntg-context wrote: > On Thu Aug 12, 2021 at 12:55 AM CEST, Hans Hagen via ntg-context wrote: >> Hi >> >>> -Type = pdfconstant(MediaPermissions), >>> +Type = pdfconstant("MediaPermi

Re: [NTG-context] JavaScript in multimedia PDF

2021-08-11 Thread Michal Vlasák via ntg-context
On Thu Aug 12, 2021 at 12:55 AM CEST, Hans Hagen via ntg-context wrote: > Hi > > > -Type = pdfconstant(MediaPermissions), > > +Type = pdfconstant("MediaPermissions"), > That's an interesting one ... easilly goes unnoticed ... than

Re: [NTG-context] JavaScript in multimedia PDF

2021-08-11 Thread Hans Hagen via ntg-context
Hi -Type = pdfconstant(MediaPermissions), +Type = pdfconstant("MediaPermissions"), That's an interesting one ... easilly goes unnoticed ... th

Re: [NTG-context] JavaScript in multimedia PDF

2021-08-11 Thread Michal Vlasák via ntg-context
= bc, AA = actions, @@ -693,7 +694,7 @@ local function insertrendering(specification) -- } -- } local parameters = pdfdictionary { - Type = pdfconstant(MediaPermissions), + Type = pdfconstant("M

[NTG-context] Both pdfinfo & exiftool have trouble with 1.0.4 but works with 1.0.3

2021-08-09 Thread Ramkumar KB via ntg-context
File Permissions: -rwxr-x--- File Type : PDF File Type Extension : pdf MIME Type : application/pdf PDF Version : 1.7 Linearized : No Warning : Error reading stream data ~/exiftool/Image-ExifTool-12.29/exiftool

Re: [NTG-context] copies from \setupinteractionscreen not working?

2021-08-04 Thread Wolfgang Schuster via ntg-context
is? A fix is needed in layo-ini.lmt, maybe not in the same way as below but the value has to be stored in canvas.copies. function layouts.setupcanvas(specification) [...] -- local copies = specification.copies if type(copies) == "number" and copies < 2 then

Re: [NTG-context] Additional font variants

2021-08-01 Thread Hans Hagen via ntg-context
is rather complex also because we need to retain performance; some of thsn is still present in mkiv/lmtx unless we drop old-school type 1 setups (again it's the design sizes that complicate that but only cm had that so in the end we can as well drop that bit too) compact fonts on the other han

Re: [NTG-context] ligature exceptions

2021-07-28 Thread Hans Hagen via ntg-context
pecial treatment of dropped caps I wonder -- if I can make this one more clever (probably in a few more dev steps). For instance -- injecting nodes or replacing nodes. It's a prelude to a kind of lpeg for nodes, -- although (given experiences so far) we don't really need that. After all, each pr

Re: [NTG-context] Multimedia, PDF and ConTeXt

2021-07-27 Thread Hans Hagen via ntg-context
sting time in some formats worth the effort The support for video and audio in Okular and Evince is based on Gstreamer. Explaining Gstreamer is tricky, but essentially it allows the viewers to play any media type as long as the right plugin is installed. These plugins are distributed in bundless

[NTG-context] Multimedia, PDF and ConTeXt

2021-07-26 Thread Michal Vlasák via ntg-context
aScript, (AFAIK) only Acrobat Reader supports that, this further limits the viewer support or available features, choose one. The support for video and audio in Okular and Evince is based on Gstreamer. Explaining Gstreamer is tricky, but essentially it allows the viewers to play any media type as long

Re: [NTG-context] ntg-context Digest, Vol 205, Issue 1 // log: use \thinspace instead of \,

2021-07-21 Thread Rudd, Kevin
enting most of my documents from compiling. Is there solution that restores \, (and friends) for abbreviated spacing in text mode that doesn't require bulk changes to all of my documents (and making the source documents hard to type/read)? I appreciate using the more verbose \thinspace in macros

Re: [NTG-context] ntg-context Digest, Vol 205, Issue 1 // log: use \thinspace instead of \,

2021-07-21 Thread Hans Hagen
spacing in text mode that doesn't require bulk changes to all of my documents (and making the source documents hard to type/read)? I appreciate using the more verbose \thinspace in macros but the abbreviations have real value in bulk text, especially when heavily used. I have many uses

Re: [NTG-context] ntg-context Digest, Vol 205, Issue 1 // log: use \thinspace instead of \,

2021-07-21 Thread Rudd, Kevin
bulk changes to all of my documents (and making the source documents hard to type/read)? I appreciate using the more verbose \thinspace in macros but the abbreviations have real value in bulk text, especially when heavily used. I have many uses throughout my documents where I need a thin space

Re: [NTG-context] drop cap (initial) and indentation

2021-07-19 Thread Pablo Rodriguez
uth \stoptext Sectioning commands never indent next paragraph by default. You have to type either \setuphead[chapter][indentnext=yes] or \setupheads[indentnext=yes] to enable it. If every chapter starts with an initial, \setuphead[chapter][after={\blank[2*big]\placeinitial}] enables this automaticall

Re: [NTG-context] A not so short introduction to ConTeXt - French version - progress report.

2021-07-14 Thread Joaquín Ataz López
have. In fact I am going to study it carefully. Thank you very much, Garulfo. It would be desirable that through initiatives of this type we manage to generate a good introductory literature to this fantastic text composition system that is ConTeXt. El 14/7/21 a las 23:51, Garulfo escribió

Re: [NTG-context] A not so short introduction to ConTeXt - French version - progress report.

2021-07-13 Thread Joaquín Ataz López
To whom should I send them? Personally for a introductory manual I would prefer the presentation of Joaquín with less colours and a little bigger type. The notes would be better at the bottom of the page, like in Joaquín document, because they are very long. But the translation is real

Re: [NTG-context] A not so short introduction to ConTeXt - French version - progress report.

2021-07-13 Thread Alain Delmotte
ry manual I would prefer the presentation of Joaquín with less colours and a little bigger type. The notes would be better at the bottom of the page, like in Joaquín document, because they are very long. But the translation is really needed for eas

Re: [NTG-context] Missing symb-imp-was.mkiv ?

2021-07-11 Thread Ramkumar KB
t; Anyway, the wasy font symbol setup was never converted to mkiv so > attached is a draft. > > Up to you to complete it. From CTAN, download the type one package and > put the afm and pfb files under (e.g.) texmf-fonts/fonts/data/wasy (no > need for subdirs) and run "mtxrun --generate&quo

Re: [NTG-context] Missing symb-imp-was.mkiv ?

2021-07-10 Thread Hans Hagen
symbol setup was never converted to mkiv so attached is a draft. Up to you to complete it. From CTAN, download the type one package and put the afm and pfb files under (e.g.) texmf-fonts/fonts/data/wasy (no need for subdirs) and run "mtxrun --generate" to update the file database. You can

Re: [NTG-context] names of cached images

2021-07-02 Thread Jano Kula
, only when some conversion > > is used. I'd like to cache images without any transformation. Is there > any > > conversion which doesn't alter the figure, just caches it? Is new > > conversion type needed? Or is there other way to force caching without > > conversion? &g

Re: [NTG-context] names of cached images

2021-07-02 Thread Aditya Mahajan
irectory has mkiv syntax with m_k_i_v_ > prefix. > > *Third figure* > The images are cached to a specified directory, only when some conversion > is used. I'd like to cache images without any transformation. Is there any > conversion which doesn't alter the figure, just caches i

Re: [NTG-context] names of cached images

2021-07-02 Thread Jano Kula
some conversion is used. I'd like to cache images without any transformation. Is there any conversion which doesn't alter the figure, just caches it? Is new conversion type needed? Or is there other way to force caching without conversion? Thank you, Jano On Wed, Jun 9, 2021 at 3:23 PM Jano Kula

Re: [NTG-context] Different authorconversion for citation alternatives and bibliographic entries

2021-06-30 Thread Ágoston Volcz
}\btxperiod > > \stopsetups > > > > ``` > > In the setup and definition, the fields I defined do get into the > > citation correctly, but the authorconversion remains 'normal'. If I > > comment out the lines which set up 'normal' authorconversion for the &

Re: [NTG-context] Different authorconversion for citation alternatives and bibliographic entries

2021-06-30 Thread Alan Braslau
, the fields I defined do get into the citation correctly, but the authorconversion remains 'normal'. If I comment out the lines which set up 'normal' authorconversion for the list, everything, including the bibliography and 'entry' type citations get 'normalshort'. Is that a bug or am I missing

[NTG-context] Different authorconversion for citation alternatives and bibliographic entries

2021-06-30 Thread Ágoston Volcz
setup and definition, the fields I defined do get into the citation correctly, but the authorconversion remains 'normal'. If I comment out the lines which set up 'normal' authorconversion for the list, everything, including the bibliography and 'entry' type citations get 'normalshort'. Is that a bug o

Re: [NTG-context] simplifying repeated macro calls in metafun

2021-06-24 Thread Hans Hagen
sophisticated when we pass colors, numerics, dimensions there is some guess work going on wrt the type of the variable and on the average that works ok but in lmtx we can also fetch variables so here is a basic setup for you (not much animation but it shows the idea \unprotect

Re: [NTG-context] Straight Quotes / Curly Quotes

2021-06-18 Thread Hans Hagen
ticular tool chain. YMMV. A deeper solution allows users to type the correctly curled quotes directly into the document. As with may things today this quote is rather english language centered .. tex operates in a multi lingual domain and quotes have always been dealt with using macros so that we

Re: [NTG-context] Straight Quotes / Curly Quotes

2021-06-18 Thread Thangalin
cument should be presented is best avoided, so as to keep the document decoupled from a particular tool chain. YMMV. A deeper solution allows users to type the correctly curled quotes directly into the document. ___ If your qu

Re: [NTG-context] Straight Quotes / Curly Quotes

2021-06-18 Thread Henning Hraban Ramm
> Am 18.06.2021 um 04:08 schrieb Thangalin : > > Hraban, > > > In what kind of workflows does your program make sense? > > Have you looked around the web lately? > > KeenWrite (https://github.com/DaveJarvis/keenwrite), my plain text editor, > can neither con

[NTG-context] Functionnames disappearing (sometimes)

2021-06-18 Thread Mikael Sundqvist
, together with the output and the typescript file. I use the latest ConTeXt version and I have cleared the cache, but no change. Maybe I'm overlooking something, but what? /Mikael functions.pdf Description: Adobe PDF document type-imp-concrete-euler.mkxl Description: Binary data functions.mkxl

Re: [NTG-context] Straight Quotes / Curly Quotes

2021-06-18 Thread Hans Hagen
nvert nor easily type curly quotes into the application. Recently, I added ConTeXt integration for exporting to PDF files. ConTeXt doesn't curl the quotes, which I found a little surprising (because LaTeX has a quote curling package). Not seeing an obvious solution, I coded my own library because all

Re: [NTG-context] Straight Quotes / Curly Quotes

2021-06-17 Thread Thangalin
Hraban, > In what kind of workflows does your program make sense? Have you looked around the web lately? KeenWrite (https://github.com/DaveJarvis/keenwrite), my plain text editor, can neither convert nor easily type curly quotes into the application. Recently, I added ConTeXt integrat

Re: [NTG-context] Trouble with using predefined typescript files

2021-06-15 Thread Hans Hagen
On 6/15/2021 6:56 AM, mastermind_ x wrote: Hello everyone, I am reading the ConTexT manual’s chapter on Typography. I want to achieve a Palatino-like small font which is bolder than the default provided by ConTeXt like in some math textbooks. So I loaded the typescript files ie type-xxx

[NTG-context] Trouble with using predefined typescript files

2021-06-14 Thread mastermind_ x
Hello everyone, I am reading the ConTexT manual’s chapter on Typography. I want to achieve a Palatino-like small font which is bolder than the default provided by ConTeXt like in some math textbooks. So I loaded the typescript files ie type-xxx stated in the chapter in turns no matter the type

Re: [NTG-context] upload / some new math stuff

2021-06-11 Thread Pablo Rodriguez
the issue: --- context/tex/texmf-context/tex/context/fonts/mkiv/type-imp-newcomputermodern.mkiv 2021-06-11 16:58:53.742990586 +0200 +++ type-imp-newcomputermodern.mkiv 2021-06-11 16:51:57.861274985 +0200 @@ -46,7 +46,7 @@ \definefontsynonym [\s!MonoItalic] [\s!file:newcmmono10-itali

Re: [NTG-context] upload / some new math stuff

2021-06-11 Thread Fabrice Couvreur
> level 1, order 2, name './hans-33.tex' open source > level 2, order 3, name '/home/viserion/LMTX/tex/texmf-context/tex/context/fonts/mkiv/type-imp-newcomputermodern.mkiv' close source> level 2, order 3, name '/home/viserion/LMTX/tex/texmf-context/tex/context/fonts/mkiv/type-i

[NTG-context] yscale not working

2021-06-05 Thread Hans van der Meer
.\starttextTest \tex{externalfigure} scaling - \ConTeXt\ \contextversion\blank\type{\externalfigure[test][width=0.50\textwidth]}\crlf\externalfigure[test][width=0.50\textwidth]\blank\type{\externalfigure[test][width=0.50\textwidth,yscale=2000]}\crlf\externalfigure[test][width=0.50\textwidth,yscale=2000]\stoptext

[NTG-context] new upload

2021-05-31 Thread Hans Hagen
. The alternative interface discussed here is a bit simpler and has (at least now) less commands and, combined with local name spaces, can be easier to use in more local situations. It's also integrated in the frequently used \type {\framed} commands and has basic support at the \METAFUN\ end

Re: [NTG-context] BibTeX inproceedings entries not rendered correctly in APA style

2021-05-28 Thread Rik Kabel
n, there might be alternatives for when one does not need to adhere to those styles. Does ConTeXt (LMTX) currently provide anything else besides apa and aps? I have read the BibTeX manual looong time ago, but I remember that there were mandatory and optional fields for each reference type. My m

Re: [NTG-context] BibTeX inproceedings entries not rendered correctly in APA style

2021-05-28 Thread Alan Braslau
l > for enforcing constraints if a given bibliographic style requires > them. But then, there might be alternatives for when one does not > need to adhere to those styles. Does ConTeXt (LMTX) currently provide > anything else besides apa and aps? > > I have read the BibTeX manual looong time

Re: [NTG-context] BibTeX inproceedings entries not rendered correctly in APA style

2021-05-28 Thread Nicola
styles. Does ConTeXt (LMTX) currently provide anything else besides apa and aps? I have read the BibTeX manual looong time ago, but I remember that there were mandatory and optional fields for each reference type. My memory may fail me, but I think that Editor and Publisher were not mandatory fields for

Re: [NTG-context] LMTX and my custom typescripts

2021-05-28 Thread Michael Guravage
solve this would be much appreciated. > > > > Hi Michael, > > Try renaming it to type-imp-DollyPro.tex (and then of course > \usetypescriptfile[type-imp-DollyPro]), that should help. This changed a > couple of months ago and was announced on the list, so shame on you for not

Re: [NTG-context] LMTX and my custom typescripts

2021-05-28 Thread Thomas A. Schmitz
> On 28. May 2021, at 18:40, Michael Guravage > wrote: > > Any encouragement in how to resolve this would be much appreciated. > Hi Michael, Try renaming it to type-imp-DollyPro.tex (and then of course \usetypescriptfile[type-imp-DollyPro]), that should help. This c

[NTG-context] LMTX and my custom typescripts

2021-05-28 Thread Michael Guravage
; the result of which I see in the typeset results. Regardless of whether a typescript files, e.g. type-DollyPro.tex, is in the texmf-tree or in the same directory as the ConTeXt source file, evoking \usetypescriptfile[type-DollyPro] fails. The log says: fonts > typescripts > unknown l

Re: [NTG-context] t-vim module: no highlighting for custom filetypes

2021-05-27 Thread Nicola
0 0 0 system > top 46691740032 131074 2948 546407 0 281 38 10 12 37245250250 50 10 system > ---

Re: [NTG-context] Luatex format error

2021-05-24 Thread Hans Åberg
local/texlive/2021/bin/universal-darwin" >> This is LuaTeX, Version 1.13.2 (TeX Live 2021) >> system commands enabled. >> ** >> Please type the name of your input file. >> ** > So this is not lmtx (which also has luatex) but the regular installation > right? % co

Re: [NTG-context] Luatex format error

2021-05-23 Thread Hans Hagen
ulljobname="./math_style.tex" --c:input="./math_style.tex" --c:kindofrun=1 --c:maxnofruns=9 --c:texmfbinpath="/usr/local/texlive/2021/bin/universal-darwin" This is LuaTeX, Version 1.13.2 (TeX Live 2021) system commands enabled. ** Please type the name of your input file

[NTG-context] Luatex format error

2021-05-23 Thread Hans Åberg
tex" --c:input="./math_style.tex" --c:kindofrun=1 --c:maxnofruns=9 --c:texmfbinpath="/usr/local/texlive/2021/bin/universal-darwin" This is LuaTeX, Version 1.13.2 (TeX Live 2021) system commands enabled. **

Re: [NTG-context] Unwanted upright math in MkIV

2021-05-23 Thread Gavin
iv lua stats > callbacks: internal: 132, file: 64, direct: 2, late: 0, > function 507, total: 705 (705 per page) > mkiv lua stats > randomizer: resumed with value 0.58778292965144 > mkiv lua stats > result saved in file: GlyphExp.pdf, compresslevel 3, > objectcompresslevel 1 >

Re: [NTG-context] Hand Style Sketching in Metapost

2021-05-20 Thread Aditya Mahajan
ketch; %D %Dbeginfig(1) %D sketchypaths; % Make draw and fill sketchy %D ... %D naturalizepaths; % Restore the value of draw and fill %D ... %Dendfig %D \stoptyping %D %D The code is heavily inspired by Hans Hagen's Metafun macros. %D %D The macro \type{sketchypaths} i

Re: [NTG-context] TeX capacity exceeded

2021-05-18 Thread Hans Hagen
-regular.otf, dejavusansmono.ttf mkiv lua stats  > font engine: otf 3.113, afm 1.513, tfm 1.000, 17 instances, 6 shared in backend, 0 common vectors, 6 common hashes, load time 0.146 seconds mkiv lua stats  > used platform: linux-64, type: unix, binary subtree: texmf-linux-64 mkiv lua stats 

[NTG-context] TeX capacity exceeded

2021-05-17 Thread Thomas A. Schmitz
mosu.otf, oldstandard-bold.otf, oldstandard-italic.otf, xitsmath-regular.otf, dejavusansmono.ttf mkiv lua stats > font engine: otf 3.113, afm 1.513, tfm 1.000, 17 instances, 6 shared in backend, 0 common vectors, 6 common hashes, load time 0.146 seconds mkiv lua stats > used platform: l

Re: [NTG-context] Fuzzy lines

2021-05-13 Thread Aditya Mahajan
ke draw and fill sketchy %D ... %D naturalizepaths; % Restore the value of draw and fill %D ... %Dendfig %D \stoptyping %D %D The code is heavily inspired by Hans Hagen's Metafun macros. %D %D The macro \type{sketchypaths} is modeled after \type{visualizepaths} from %D \filename{mp-

Re: [NTG-context] Fuzzy lines

2021-05-13 Thread Aditya Mahajan
l sketchy %D ... %D naturalizepaths; % Restore the value of draw and fill %D ... %Dendfig %D \stoptyping %D %D The code is heavily inspired by Hans Hagen's Metafun macros. %D %D The macro \type{sketchypaths} is modeled after \type{visualizepaths} from %D \filename{mp-tool}.

Re: [NTG-context] Issue running ConTeXt from TeX Live 2019 on Alpine Linux 3.12

2021-05-01 Thread Nicola
ocal = resolvers.prefixes.selfautoparent(); texmflocal = string.gsub(texmflocal, "20%d%d$", "texmf-local"); return { type= "configuration", version = "1.1.0", date= "2012-05-24", time= "12:12:12",

Re: [NTG-context] How to write readable source files?

2021-04-25 Thread Hans Hagen
cannot remember all commands and options. If my editor would give me a list of possible commands when I just type some letters and then give possible options when I edit inside a command – that would be great. If there is a way to automatically get a list of all ConTeXt commands and options

Re: [NTG-context] How to write readable source files?

2021-04-25 Thread Nicola
commands > and options. If my editor would give me a list of possible commands when > I just type some letters and then give possible options when I edit > inside a command – that would be great. If there is a way to automatically get a list of all ConTeXt commands and options (and, ideally, M

Re: [NTG-context] How to write readable source files?

2021-04-25 Thread juh
tation would make them even longer. I real IDE-like support for ConTeXt would be nice: setup-en.pdf is always open when I write environments as I cannot remember all commands and options. If my editor would give me a list of possible commands when I just type some letters and then give possible op

Re: [NTG-context] How to write readable source files?

2021-04-24 Thread Nicola
dentation style, so forcing one on the user is not a good idea. That said, if you have a list of desiderata, I may consider adding an option to enable them. You may open an issue here for further discussion: https://github.com/lifepillar/vim-context-metapost If you need to reflow paragraphs, t

Re: [NTG-context] arm osx

2021-04-23 Thread Charles Doherty
arlesdoherty/Library/TeXShop/Engines/ARM.engine:3: bad CPU type in executable: /Users/charlesdoherty/context-osx-arm64/tex/texmf-osx-64/bin/mtxrun I have tried various options to no avail but I would really appreciate some help on this (longhand rather than cryptic would be really helpfu

Re: [NTG-context] arm osx

2021-04-23 Thread Keith McKay
his engine I get: /Users/charlesdoherty/Library/TeXShop/Engines/ARM.engine:3: bad CPU type in executable: /Users/charlesdoherty/context-osx-arm64/tex/texmf-osx-64/bin/mtxrun I have tried various options to no avail but I would really appreciate some help on this (longhand rather than cryptic woul

Re: [NTG-context] arm osx

2021-04-23 Thread Keith McKay
-arm64/tex/texmf-osx-64/bin/mtxrun --autogenerate --script context --directives="system.showerror" --autopdf "$1" --purgeall I made it executable. When I typeset a file in TeXShop using this engine I get: /Users/charlesdoherty/Library/TeXShop/Engines/ARM.engine:3: bad CP

[NTG-context] next upload

2021-04-21 Thread Hans Hagen
secondpart\blank firstpart\char"2010 secondpart\blank firstpart\char"2013 secondpart\blank firstpart\char"2014 secondpart \type{firstpart---secondpart} all work as I expect (both words get hyphenated). The trep feature was already stripped to only ' replacment but in th

Re: [NTG-context] Verbose numbers in swedish

2021-04-17 Thread Wolfgang Schuster
s a format file which contains the content of the source files (which is a lot faster). When you make a change in one of the source files you have to create a new format with includes these changes, to create such a format files type     context --make

Re: [NTG-context] Ligature suppression word list

2021-04-12 Thread denis.maier
:03:54 + From: mailto:denis.ma...@ub.unibe.ch>> To: mailto:j.ha...@xs4all.nl>>, mailto:ntg-context@ntg.nl>> Subject: Re: [NTG-context] Ligature suppression word list Message-ID: <41e6530172b54bffb7a82febff0a6...@ub.unibe.ch<mailto:41e6530172b54bffb7a82febff0a6...@ub.un

Re: [NTG-context] files not readable

2021-04-10 Thread Hans Hagen
t; resolvers       > resolving > file 'type-imp-loc.mkxl' is not readable > resolvers       > resolving > file './type-imp-loc.mkxl' is not readable > resolvers       > resolving > file 'type-imp-loc.mkxl' is not readable > resolvers    

Re: [NTG-context] files not readable

2021-04-10 Thread Jano Kula
Hello Hans, more specific resolver now: \enabletrackers[resolvers.details] \starttext Readable? \stoptext On Sat, Apr 10, 2021 at 3:29 PM Hans Hagen wrote: > On 4/10/2021 3:10 PM, Jano Kula wrote: > > > resolvers > resolving > file 'type-imp-loc.mkxl' is not read

Re: [NTG-context] files not readable

2021-04-10 Thread Hans Hagen
On 4/10/2021 3:10 PM, Jano Kula wrote: Hello, updated lmtx (ver: 2021.04.09 19:59 LMTX), paths updated, etc. \enabletrackers[resolvers.*] \starttext Readable? \stoptext shows in log some file are "not readable": resolvers       > resolving > file 'type-imp-loc.mkxl' is not re

[NTG-context] files not readable

2021-04-10 Thread Jano Kula
Hello, updated lmtx (ver: 2021.04.09 19:59 LMTX), paths updated, etc. \enabletrackers[resolvers.*] \starttext Readable? \stoptext shows in log some file are "not readable": resolvers > resolving > file 'type-imp-loc.mkxl' is not readable resolvers > resolving

[NTG-context] Arabic place names

2021-04-09 Thread jbf
I have a lengthy text in English which occasionally uses Arabic place names in brackets, e.g. Khàbab ( خبب )is a Syrian town 50 km south of Damascus The text is copy-pasted from a Word file, so I do not have to type the Arabic as such, and would not know how to do that anyway. Since I never

Re: [NTG-context] Ligature suppression word list

2021-04-07 Thread rha17
bffb7a82febff0a6...@ub.unibe.ch > <mailto:41e6530172b54bffb7a82febff0a6...@ub.unibe.ch>> > Content-Type: text/plain; charset="iso-8859-1" > >> -Ursprüngliche Nachricht- >> Von: Hans Hagen mailto:j.ha...@xs4all.nl>> >> Gesendet: Samstag, 3. April

Re: [NTG-context] Another bug with ligature-blocking?

2021-03-24 Thread Hans Hagen
'bug' is not a good one the font just has no ligatures defined which you can remedy (in this cae) with because it does have the glyphs \startluacode fonts.handlers.otf.addfeature { name = "moreligatures", type = "ligature", data = {

Re: [NTG-context] Another bug with ligature-blocking?

2021-03-24 Thread denis.maier
s > cae) with because it does have the glyphs > > \startluacode > fonts.handlers.otf.addfeature { > name = "moreligatures", > type = "ligature", > data = { > ['ff'] = { "f", "f" }, >

Re: [NTG-context] Another bug with ligature-blocking?

2021-03-24 Thread Hans Hagen
\startluacode fonts.handlers.otf.addfeature { name = "moreligatures", type = "ligature", data = { ['ff'] = { "f", "f" }, ['fi'] = { "f", "i" }, ['fl'] = { "f"

Re: [NTG-context] Typing within doifmode leads to error

2021-03-19 Thread Christoph Reller
gt; \definetyping[T] > \definemode[mode][yes] > \starttext > \startmode[mode] > \startT > Bla > \stopT > \stopmode > \stoptext > > Or use buffers (to avoid catcode all together): > > \definetyping[T] > \definemode[mode][yes] > \starttext > \s

Re: [NTG-context] Typing within doifmode leads to error

2021-03-18 Thread Aditya Mahajan
finemode[mode][yes] \starttext \startbuffer[code] \startT Bla \stopT \stopbuffer \doifmode{mode}{\getbuffer[code]} \stoptext or (note type**T**buffer so that the output is formatting according to the options of \definetyping[T]) \definetyping[T] \definemode[mode][yes] \starttext \startbuffer[

[NTG-context] ConTeXt, KeenWrite, Markdown, and XHTML

2021-03-06 Thread Thangalin
The Lua code to generate start/stop environments with Pandoc is described in Part 8 of my Typesetting Markdown series. https://dave.autonoma.ca/blog/2020/04/28/typesetting-markdown-part-8/#annotations The XML-MKIV documentation shows how to map a specific setup to a particular attribute: \xmlsets

[NTG-context] Warning: "nodes: unable to store reference from lua in tex"

2021-02-26 Thread Lukas/ConTeXt
seconds loading mkiv lua stats > callbacks: internal: 55815, file: 82, direct: 3, late: 0, function 6072, total: 61972 (632 per page) mkiv lua stats > randomizer: resumed with value 0.30966186523438 mkiv lua stats > v-node processing time: 0.366 seconds mkiv lua stats > result saved in fi

Re: [NTG-context] Lua code and table

2021-02-17 Thread Bruce Horrocks
= "middle", style = "type", background = "DiagonalRule", } local letters_1 = { "A", "B", "C", "D", "E", "F", "G", "H" } local pattern_1 = { ".XXX..XX", "X...

Re: [NTG-context] Lua code and table

2021-02-17 Thread Tomas Hala
   \NC\NR #  \stoptabulate #} #\starttext #\startluacode #  local background_one = { #   align = "middle", #   style = "type", #   background = "DiagonalRule", #  } # #  local letters_1 = { "A", "B", "C

[NTG-context] Lua code and table

2021-02-17 Thread Fabrice Couvreur
\NC \bf #1 \NC\NC\NR \stoptabulate } \starttext \startluacode local background_one = { align = "middle", style = "type", background = "DiagonalRule", } local letters_1 = { "A", "B", "C", "D", "E

Re: [NTG-context] vertical offset with "i" in position-command

2021-02-12 Thread Wolfgang Schuster
Peter Münster schrieb am 12.02.2021 um 13:31: Hi, When I want to type an "i" in the position-command, there is some vertical offset: \starttext \startpositioning \position(1, 1){i} \position(2, 1){x} \position(1, 2){x} \position(2, 2){i} \position(1, 3){a} \position(2, 3){x} \positi

[NTG-context] vertical offset with "i" in position-command

2021-02-12 Thread Peter Münster
Hi, When I want to type an "i" in the position-command, there is some vertical offset: \starttext \startpositioning \position(1, 1){i} \position(2, 1){x} \position(1, 2){x} \position(2, 2){i} \position(1, 3){a} \position(2, 3){x} \position(1, 4){x} \position(2, 4){a} \stoppositioning

Re: [NTG-context] midi

2021-02-04 Thread Henning Hraban Ramm
ould > say). It usually makes no sense to typeset music directly from a MIDI file, there’s too much information missing (e.g. time, measures, repeats) or subject to individual interpretation. There’s midi2ly.py included with LilyPond, bu

Re: [NTG-context] Bib support broken in lmtx

2021-01-30 Thread Philipp A.
>> tex.print(table.serialize(current.luadata)) >> -- to show that the key doesn’t contain weird invisible characters, I’ll >> type it here: >> tex.print(table.serialize(current.luadata.angerer2016)) >> tex.print('\\stoptyping') >> \stopluacode >> >>

Re: [NTG-context] font fallback hook (alphabet suspects)

2021-01-29 Thread Hans Hagen
with finalizers. One should also think of hyphenation and l2r/r2l direction, so in the end the usual approach might be the best way. You might use other approaches, how to deal with suspects of this type. Below the MWE for font fallbacks with distribution fonts. Not critical, just looking

[NTG-context] font fallback hook (alphabet suspects)

2021-01-29 Thread Jano Kula
be the other approach (also visible in print). I think, the color could be achieved with finalizers. One should also think of hyphenation and l2r/r2l direction, so in the end the usual approach might be the best way. You might use other approaches, how to deal with suspects of this type. Below the MWE

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

2021-01-22 Thread Andres Conrado Montoya Acosta
> > Message: 1 > Date: Thu, 21 Jan 2021 14:30:59 -0500 > From: Andres Conrado Montoya > To: mailing list for ConTeXt users > Subject: [NTG-context] Missing images in Wiki? > Message-ID: > z7sh-ng53xaxs6lr

Re: [NTG-context] lmtx

2021-01-19 Thread Jano Kula
Hello, On Tue, 19 Jan 2021 at 12:11, Hans Hagen wrote: > On 1/19/2021 11:57 AM, Floris van Manen wrote: > > > > > > On 18/01/2021 19:20, Hans Hagen wrote: > >> You can run > >> > >>meta-imp-punk.mkxl > >> > >> to get a

Re: [NTG-context] lmtx

2021-01-19 Thread Hans Hagen
On 1/19/2021 11:57 AM, Floris van Manen wrote: On 18/01/2021 19:20, Hans Hagen wrote: You can run    meta-imp-punk.mkxl to get an idea. There's also a typescript:    type-imp-punk.mkxl How to run these? Normally with: context --global

Re: [NTG-context] lmtx

2021-01-19 Thread Floris van Manen
On 18/01/2021 19:20, Hans Hagen wrote: You can run   meta-imp-punk.mkxl to get an idea. There's also a typescript:   type-imp-punk.mkxl How to run these? .F ___ If your question is of interest to others

Re: [NTG-context] LMTX isn't typesetting math correctly with Pagella

2021-01-18 Thread Mikael Sundqvist
Pagella font (I do not know if the same issue > >> occurs with other fonts as I haven't tested them). > >> > >> If I compile with LMTX, the spacing between letters becomes very small > >> so that when I type "|f|", for example, the second "|"

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