[NTG-context] please explain

2020-08-06 Thread Hans van der Meer
=this here: suffi (but suff is ok!)%=\starttypingfonts/mkiv/type-imp-texgyre.mkiv'close source    > level 3, order 4, name '/Users/hansm/TeX/context/tex/texmf-context/tex/context/fonts/mkiv/type-imp-texgyre.mkiv'fonts      

Re: [NTG-context] Installing VSCode extension?

2020-08-05 Thread Mikael Sundqvist
the “tasks":[ ] and save it. > (You have to modify the "texmf-osx-64/bin” path in the following script > from your machine. > > { > "label": "ConTeXt LuaMetaTeX", > "type": "shell", > "command": "expor

Re: [NTG-context] Bug with \wordright in LMTX version 2020-08-03 14:25

2020-08-05 Thread Fabrice Couvreur
thematics{\square}] > \def\qed{\ifmmode\quad\symbol[Fin]\else\strut\wordright{\symbol[Fin]}\fi} > \starttext > \startformula > a^2 + b^2 = c^2. > \stopformula > \startformula > a^2 + b^2 = c^2. \qed > \stopformula > One sees that\type{\qed} in the formula changes the alignm

Re: [NTG-context] Installing VSCode extension?

2020-08-05 Thread Jeong Dal
ipt from your machine. { "label": "ConTeXt LuaMetaTeX", "type": "shell", "command": "export PATH=/Users/graph/ConTeXtLM/tex/texmf-osx-64/bin:$PATH;mtxrun --autogenerate --script conte

Re: [NTG-context] Bug with \wordright in LMTX version 2020-08-03 14:25

2020-08-04 Thread Otared Kavian
-qed.tex \definesymbol[Fin][\mathematics{\square}] \def\qed{\ifmmode\quad\symbol[Fin]\else\strut\wordright{\symbol[Fin]}\fi} \starttext \startformula a^2 + b^2 = c^2. \stopformula \startformula a^2 + b^2 = c^2. \qed \stopformula One sees that\type{\qed} in the formula changes the alignment

[NTG-context] Notation of the first derivative in mathematical mode (lmtx)

2020-08-03 Thread Fabrice Couvreur
Hello, I replaced the context engine with the lmtx engine but I find that the derivative symbol is too high regardless of the font used. I mainly use modern and pagella because I type many texts using mathematics: can we correct this problem, Thanks for your help. Fabrice \starttext \startitemize

Re: [NTG-context] consistent index entries

2020-08-01 Thread Wolfgang Schuster
additional information in the index, e.g. \Locality{Altona (Hamburg)} \Locality{Breslau (pol. Wrocław)} or \Person{Arends, Katharina (née Schoemaker)} \Person{Wilhelm II. (Kaiser)} Now, I need that consistent and I don’t want to type these complicated entries every time. I’m looking for a good way

Re: [NTG-context] consistent index entries

2020-08-01 Thread Jairo A. del Rio
huge >> person and locality indexes (named Person and Locality for the examples). >> > >> > In many cases, the author wants additional information in the index, >> e.g. >> > >> > \Locality{Altona (Hamburg)} >> > \Locality{Breslau (pol. W

Re: [NTG-context] consistent index entries

2020-08-01 Thread Jairo A. del Rio
es, the author wants additional information in the index, e.g. > > > > \Locality{Altona (Hamburg)} > > \Locality{Breslau (pol. Wrocław)} > > or > > \Person{Arends, Katharina (née Schoemaker)} > > \Person{Wilhelm II. (Kaiser)} > > > > Now, I need that c

Re: [NTG-context] consistent index entries

2020-08-01 Thread Henning Hraban Ramm
mation in the index, e.g. > > \Locality{Altona (Hamburg)} > \Locality{Breslau (pol. Wrocław)} > or > \Person{Arends, Katharina (née Schoemaker)} > \Person{Wilhelm II. (Kaiser)} > > Now, I need that consistent and I don’t want to type these complicated > entries ev

[NTG-context] consistent index entries

2020-08-01 Thread Henning Hraban Ramm
)} or \Person{Arends, Katharina (née Schoemaker)} \Person{Wilhelm II. (Kaiser)} Now, I need that consistent and I don’t want to type these complicated entries every time. I’m looking for a good way to handle this – maybe a lookup table in Lua, so that \LookupPerson{Willy II} would call a Lua function

Re: [NTG-context] ntg-context Digest, Vol 193, Issue 65

2020-07-30 Thread Jan Hansen
> > > -- > > Message: 1 > Date: Thu, 30 Jul 2020 12:25:34 +0200 > From: Henning Hraban Ramm > To: mailing list for ConTeXt users > Subject: Re: [NTG-context] Installing VSCode extension? > Message-I

[NTG-context] question on page transitions

2020-07-25 Thread Pablo Rodriguez
j << /Contents 4 0 R /Dur 5 /Trans << /Di 90 /M /O /S /Fly >> /Type /Page >> endobj This forces the viewer to advance the page after 5s. To have a transition duration of 5s, it should read: 6 0 obj &

Re: [NTG-context] Bug with lmtx and color in table

2020-07-22 Thread Wolfgang Schuster
from it. \starttext \startbuffer \vrule width 4cm height 4cm depth 0pt\relax \stopbuffer \typebuffer \getbuffer \startbuffer \hrule width 4cm height 4cm depth 0pt\relax \stopbuffer \typebuffer \getbuffer \startbuffer \frule width 4cm height 4cm type fill\relax \stopbuffer \typebuffer

Re: [NTG-context] french translation of ConTeXt interface - progress (v3)

2020-07-19 Thread Garulfo
file name can be confusing, it's not yet complete TypeNames TranslationsAchievement commands3962954 24% constants 841 708 84% elements26 25 DONE setupstrings135 56

Re: [NTG-context] french translation of ConTeXt interface - progress (v3)

2020-07-15 Thread Hans Hagen
ers : what priorities, in terms of categories, would you advise for the translation ? %- Progress: TYPE TOTAL    DONE commands  3962 943    24% constants  841 708    84% elements    26  26   100% setupstrings   135  57    42% =

[NTG-context] french translation of ConTeXt interface - progress (v3)

2020-07-14 Thread Garulfo
categories, would you advise for the translation ? %- Progress: TYPE TOTALDONE commands 3962 94324% constants 841 70884% elements26 26 100% setupstrings 135 5742% = 100% other are { ( |... variables 13

Re: [NTG-context] gnuplot module broken with latest 2020-07-13 16:31

2020-07-13 Thread Adam Reviczky
, name '/tmp/4/mwe.tex' > > modules > 'gnuplot' is loaded > > open source > level 3, order 4, name > > '/usr/share/texmf/tex/context/third/gnuplot/t-gnuplot.mkiv' > > loading > Gnuplot module > > open source > level 4, order 5, name > &g

Re: [NTG-context] gnuplot module broken with latest 2020-07-13 16:31

2020-07-13 Thread Hans Hagen
ontext/third/gnuplot/t-gnuplot.mkiv' loading         > Gnuplot module open source     > level 4, order 5, name '/usr/share/texmf/tex/context/fonts/mkiv/type-imp-texgyre.mkiv' close source    > level 4, order 5, name '/usr/share/texmf/tex/context/fonts/mkiv/type-imp-texgyre.mkiv' close source    &

[NTG-context] gnuplot module broken with latest 2020-07-13 16:31

2020-07-13 Thread Adam Reviczky
module open source > level 4, order 5, name '/usr/share/texmf/tex/context/fonts/mkiv/type-imp-texgyre.mkiv' close source> level 4, order 5, name '/usr/share/texmf/tex/context/fonts/mkiv/type-imp-texgyre.mkiv' close source> level 3, order 5, name '/usr/share/texmf/tex/context/t

[NTG-context] No inverse Search when using \usepath

2020-07-11 Thread Gerhard Schramm
Hello List, Greetings to all members! This is my first post here... Relatively new in Context, I've loved it since the first minute! I write technical manuals with Context. Some chapters of the manuals are depending on the type of the machine which are described in the manual. I try  to use

Re: [NTG-context] No inverse Search when using \usepath

2020-07-11 Thread Hans Hagen
On 7/11/2020 5:22 PM, Gerhard Schramm wrote: Hello List, Greetings to all members! This is my first post here... Relatively new in Context, I've loved it since the first minute! I write technical manuals with Context. Some chapters of the manuals are depending on the type of the machine which

Re: [NTG-context] Space after Round bracket before Punctuation

2020-07-09 Thread Richard Mahoney | Indica et Buddhica
Thank you Hans, this was very helpful. I found that the following worked (apart from in two or three cases): \startluacode fonts.handlers.otf.addfeature { name = "iebpkerns", type = "kern", data = { [")"] =

Re: [NTG-context] Space after Round bracket before Punctuation

2020-07-09 Thread Hans Hagen
manual(s) ... here is a variant ... \startluacode fonts.handlers.otf.addfeature { name = "mykerns", type = "kern", data = { [")"] = { [","] = -300, ["."] = -300

Re: [NTG-context] About xstring and ConTeXt

2020-07-07 Thread Jairo A. del Rio
s_reserved_C > > > > > > > > > > 1 > > > > \xs_newlines ->\unexpanded {}\xs_def \xs_arg_i {##1 > > > > } > > > > \xs_newmacro_ ...name \xs_myarg }\edef \xs_reserved_C {\unexpanded > \expandafter {\xs_newlines > > > &g

Re: [NTG-context] About xstring and ConTeXt

2020-07-07 Thread Phelype Oleinik
; > }\edef \noexpand \xs_call }\edef \xs_reserved_D {... > > l.372 \xs_newmacro\StrRemoveBraces{}{1}{1} > > {% > > > > > > You meant to type ## instead of #, right? Or maybe a } was forgotten somewhere > > earlier, and things are all screwed up? I'm goi

[NTG-context] About xstring and ConTeXt

2020-07-07 Thread Jairo A. del Rio
1 \xs_newlines ->\unexpanded {}\xs_def \xs_arg_i {##1 } \xs_newmacro_ ...name \xs_myarg }\edef \xs_reserved_C {\unexpanded \expandafter {\xs_newlines }\edef \noexpand \xs_call }\edef \xs_reserved_D {... l.372 \xs_newmacro\StrRemoveBraces{}{1}{1} {% You meant to type ## instead of #,

Re: [NTG-context] \asciimode and \type{%%}

2020-06-27 Thread Wolfgang Schuster
Hans Hagen schrieb am 24.06.2020 um 21:03: But ... we can have \unexpanded\def\literalmode{\setcatcodetable\txtcatcodes} and then: [...] I'll add that command, assuming that someone will document it somewhere. Not really needed in this case but I'm going to document it. I already bet on

Re: [NTG-context] error running wiki example with labels

2020-06-26 Thread Jan-Erik Hägglöf
tem > synctex functionality is enabled, expect 5-10 pct runtime overhead! open source > level 2, order 3, name './labels3.tex' open source > level 3, order 4, name '/Users/janneman/context-osx-64/tex/texmf-context/tex/context/fonts/mkiv/type-imp-texgyre.mkiv' close source

Re: [NTG-context] French interface

2020-06-25 Thread Wolfgang Schuster
       - \startmakeup and \stopmakeup   ^^  ^^ 5- setupstrings, to describe the syntaxe and the type of the arguments 1/ I don't understand how to impact, for example, FLOAT and chemical in: \placeFLOAT   becomes \placerFLOAT \startplaceFLOAT  becomes

[NTG-context] French interface

2020-06-25 Thread Garulfo
^^ ^^ 5- setupstrings, to describe the syntaxe and the type of the arguments 1/ I don't understand how to impact, for example, FLOAT and chemical in: \placeFLOAT becomes \placerFLOAT \startplaceFLOAT becomes \debutplacerFLOAT \placerchemical

[NTG-context] error running wiki example with labels

2020-06-24 Thread Jan-Erik Hägglöf
level 2, order 3, name './labels3.tex' open source > level 3, order 4, name '/Users/janneman/context-osx-64/tex/texmf-context/tex/context/fonts/mkiv/type-imp-plex.mkiv' open source > level 4, order 5, name '/Users/janneman/context-osx-64/tex/texmf-context/tex/context/fonts/mkiv/type-

Re: [NTG-context] \asciimode and \type{%%}

2020-06-24 Thread Hans Hagen
On 6/24/2020 7:59 PM, Wolfgang Schuster wrote: Hans Hagen schrieb am 24.06.2020 um 19:06: On 6/24/2020 6:33 PM, Wolfgang Schuster wrote: Hi, when asciimode is enabled the \type command ignores double comment symbols. \starttext \quotation{\type{%}} \quotation{\type{%%}} \asciimode

Re: [NTG-context] \asciimode and \type{%%}

2020-06-24 Thread Wolfgang Schuster
Hans Hagen schrieb am 24.06.2020 um 19:06: On 6/24/2020 6:33 PM, Wolfgang Schuster wrote: Hi, when asciimode is enabled the \type command ignores double comment symbols. \starttext \quotation{\type{%}} \quotation{\type{%%}} \asciimode \quotation{\type{%}} \quotation{\type

Re: [NTG-context] \asciimode and \type{%%}

2020-06-24 Thread Hans Hagen
On 6/24/2020 6:33 PM, Wolfgang Schuster wrote: Hi, when asciimode is enabled the \type command ignores double comment symbols. \starttext \quotation{\type{%}} \quotation{\type{%%}} \asciimode \quotation{\type{%}} \quotation{\type{%%}} \stoptext It's actually a feature: in ascimode

[NTG-context] \asciimode and \type{%%}

2020-06-24 Thread Wolfgang Schuster
Hi, when asciimode is enabled the \type command ignores double comment symbols. \starttext \quotation{\type{%}} \quotation{\type{%%}} \asciimode \quotation{\type{%}} \quotation{\type{%%}} \stoptext Wolfgang

[NTG-context] Checking existence of a macro (control sequence) by Lua - problem after updating MkIV

2020-06-18 Thread Lukas/ConTeXt
function 502, total: 822 mkiv lua stats > randomizer: resumed with value 0.54769897460938 mkiv lua stats > result saved in file: IsMacDef3.pdf, compresslevel 3, objectcompresslevel 1 mkiv lua stats > loaded patterns: en::1, load time: 0.000 mkiv lua stats > loaded fonts: 2 files:

Re: [NTG-context] using modeset

2020-06-12 Thread Jan Willem Flamma
the English manual and the Dutch manual. Note: I do not intend to create a manual that has the English and Dutch text at opposite sides (as can be done using streams) I’m keen to continue using a single set of source files and thought it would be best to simply type the translated sections and subs

Re: [NTG-context] using modeset

2020-06-11 Thread r . ermers
ual and the Dutch manual. Note: I do not intend to create a manual that > has the English and Dutch text at opposite sides (as can be done using > streams) > > > > I’m keen to continue using a single set of source files and thought it would > be best to simply type the translat

Re: [NTG-context] using modeset

2020-06-11 Thread BPJ
create a manual that > has the English and Dutch text at opposite sides (as can be done using > streams) > > > > I’m keen to continue using a single set of source files and thought it > would be best to simply type the translated sections and subsections just > below the

Re: [NTG-context] using modeset

2020-06-11 Thread Wolfgang Schuster
(as can be done using streams) I’m keen to continue using a single set of source files and thought it would be best to simply type the translated sections and subsections just below the original English sections and subsections using modeset. This gives me the option of creating an English case

[NTG-context] using modeset

2020-06-11 Thread Jan Willem Flamma
set of source files and thought it would be best to simply type the translated sections and subsections just below the original English sections and subsections using modeset. This gives me the option of creating an English case and a Dutch case. Within this two cases I would still apply all sorts

Re: [NTG-context] problem with counters (page)

2020-06-10 Thread Alan Bowen
that resets the counter to one at the start > of the next page (it is useful for footnotes that are numbered > per-page, but not for actual page counters). > > > \definecounter[volpage][type=page] > \starttext > \setcounter[volpage][5] > \dorecurse{3}{\startTEXpage[off

Re: [NTG-context] problem with counters (page)

2020-06-10 Thread Taco Hoekwater
Hi Alan, Sorry, I should have actually tried your MWE. You do *not* want way=bypage here, as that resets the counter to one at the start of the next page (it is useful for footnotes that are numbered per-page, but not for actual page counters). \definecounter[volpage][type=page] \starttext

Re: [NTG-context] problem with counters (page)

2020-06-10 Thread Alan Bowen
Hi, Taco— Thanks for the suggestion. I have tried it with \incrementcounter before and after the TEXpage. Sadly, neither worked. This mwe is an attempt to capture the failure of the following in processing a product with numerous components: \definecounter[volpage][type=page, way=bypage

Re: [NTG-context] problem with counters (page)

2020-06-10 Thread Taco Hoekwater
the problem. > > \definecounter[volpage][type=page, way=bypage] > \starttext > \setcounter[volpage][5] > \dorecurse{3}{\startTEXpage[offset=2pc] > \input ward > \blank[medium] > > \centerline{\red\tfa\rawcounter[volpage]\incrementcounter

[NTG-context] problem with counters (page)

2020-06-09 Thread Alan Bowen
My efforts to set up a new page counter in the footertexts of a book are not proving successful. The following code shows the nature of the problem. \definecounter[volpage][type=page, way=bypage] \starttext \setcounter[volpage][5] \dorecurse{3}{\startTEXpage[offset=2pc] \input ward \blank[medium

Re: [NTG-context] referencing both real and user pagenumbers

2020-05-29 Thread Wolfgang Schuster
] \starttext \chapter[title=My first, reference=First] \page in chapter 1 on page \getreference[realpage][First] \stoptext Create a new reference command with \definereferenceformat [getrealpage] [type=realpage] and use it (e.g. \getrealpage[First]) to show the page number. Wolfgang

Re: [NTG-context] Wiki - Proposal to update the Welcome page

2020-05-25 Thread Taco Hoekwater
e main page as well. But since this is the main >> page, let's wait for the other mods to chime in as well. > > Am I a mod? Just a frequent contributor, I guess... > > I like the new main page, it looks very friendly. Myself I never look a lot > at the main page but use the search or

Re: [NTG-context] Wiki - Proposal to update the Welcome page

2020-05-24 Thread Henning Hraban Ramm
ery friendly. Myself I never look a lot at the main page but use the search or type the URL directly, since I usually know what I’m looking for... Thanks for the efforts though! Hraban ___ If your question is of intere

[NTG-context] Columns: rule=on not working?

2020-05-22 Thread context
izer: resumed with value 0.80032348632813 mkiv lua stats > positions: 8 collected, 8 regular, 0 special mkiv lua stats > result saved in file: ColsRuleOn~.pdf, compresslevel 3, objectcompresslevel 1 mkiv lua stats > loaded patterns: en::1, load time: 0.000 mkiv lua stats > loade

Re: [NTG-context] Inkscape command line arguments have changed

2020-05-19 Thread Thangalin
As a work around, rename /usr/bin/inkscape to new-inkscape, such as: # mv /usr/bin/inkscape /usr/bin/new-inkscape Then change /usr/bin/inkscape to intercept and replace the command line argument: #!/usr/bin/env bash /usr/bin/new-inkscape \ $(echo "$@" | sed 's/--export-pdf/--expor

Re: [NTG-context] Inkscape command line arguments have changed

2020-05-19 Thread mf
Il 19/05/20 20:50, Thangalin ha scritto: Minor correction: \startluacode figures.programs.inkscape={ command="inkscape", pdfargument=[[ "%oldname%" --export-dpi=600 --export-type=pdf --export-filename="%newname%" ]], pngargument=[[

Re: [NTG-context] Inkscape command line arguments have changed

2020-05-19 Thread Thangalin
Minor correction: \startluacode figures.programs.inkscape={ command="inkscape", pdfargument=[[ "%oldname%" --export-dpi=600 --export-type=pdf --export-filename="%newname%" ]], pngargument=[[ "%oldname%" --export-dpi=600

[NTG-context] Inkscape command line arguments have changed

2020-05-19 Thread Thangalin
$ inkscape --version Inkscape 1.0 (4035a4fb49, 2020-05-01) Pango version: 1.44.7 With the new release of Inkscape, --export-pdf no longer exists. The new options appear to be: --export=type=pdf --export=pdf-version=1.5 (or 1.4) --export-filename=filename.pdf Aditya has shown a work

Re: [NTG-context] Minimal code for exporting custom tags

2020-05-18 Thread Hans Hagen
eMap << /document /Div /mycommand /Span /paragraph /P /section /Sect /sectioncaption /Div /sectioncontent /Div /sectionnumber /H /sectiontitle /H >> /Type /StructTreeRoot >> ``` and the tag `mycommand` is used at appropriate location. However, the exported xml file contains

[NTG-context] Minimal code for exporting custom tags

2020-05-18 Thread Aditya Mahajan
aph /P /section /Sect /sectioncaption /Div /sectioncontent /Div /sectionnumber /H /sectiontitle /H >> /Type /StructTreeRoot >> ``` and the tag `mycommand` is used at appropriate location. However, the exported xml file contains no tag: ``` http://www.w3.org/1998/Math/MathML;&

[NTG-context] new lmtx upload

2020-05-12 Thread Hans Hagen
, there are one/two dimensional arrays of variables. Think of: \newarray name whatever type integer nx 100 ny 500 \arrayvalue whatever 20 30 1024 \the\arrayvalue whatever 10 30 \the\arrayvalue whatever 20 30 \the\arrayvalue whatever 30 30 Some more info can be found in the last chapoter

Re: [NTG-context] Retrieving original value of enviroment variable HOME

2020-05-11 Thread context
tats > loaded fonts: 2 files: latinmodern-math.otf, lmroman12-regular.otf mkiv lua stats > font engine: otf 3.111, afm 1.513, tfm 1.000, 7 instances, 3 shared in backend, 3 common vectors, 0 common hashes, load time 0.198 seconds mkiv lua stats > used platform: mswin, type: windo

Re: [NTG-context] Retrieving original value of enviroment variable HOME

2020-05-11 Thread context
501, total: 787 mkiv lua stats > result saved in file: EnvHome.pdf, compresslevel 3, objectcompresslevel 1 mkiv lua stats > loaded patterns: en::1, load time: 0.000 mkiv lua stats > loaded fonts: 2 files: latinmodern-math.otf, lmroman12-regular.otf mkiv lua stats > font engine: ot

Re: [NTG-context] Use \unit for value and uncertainty

2020-05-09 Thread Otared Kavian
min Buchmuller > wrote: > > I know this is quite an old thread, but here is a minimal parser (\units with > an “s”) that wraps around \digits and \unit to produce an acceptable output. > > As I frequently need to write ranges (or measures of uncertainty), I find it > co

Re: [NTG-context] Use \unit for value and uncertainty

2020-05-09 Thread Benjamin Buchmuller
I know this is quite an old thread, but here is a minimal parser (\units with an “s”) that wraps around \digits and \unit to produce an acceptable output. As I frequently need to write ranges (or measures of uncertainty), I find it convenient to able to type \units{4.0 to 5.0 centi meter

Re: [NTG-context] Vertical lines in matrices

2020-05-04 Thread Jeong Dal
in matrices > Message-ID: > Content-Type: text/plain; charset="utf-8" > > Dear List, > > I am trying to get vertical (separating) lines into matrices, as is possible > in tables: > > \starttext > \startformula > \left( > \starttable[|c|c|c|]

Re: [NTG-context] Vertical lines in matrices

2020-05-04 Thread Weber, Matthias
To: mailing list for ConTeXt users >> Subject: [NTG-context] Vertical lines in matrices >> Message-ID: >> Content-Type: text/plain; charset="utf-8" >> >> Dear List, >> >> I am trying to get vertical (separating) lines into matrices, as is pos

Re: [NTG-context] How do I add cyrillic to my typescript/document?

2020-05-04 Thread Henning Hraban Ramm
because you only defined [sans][optima]. > open source > level 3, order 6, name > '/usr/local/context-osx-64/tex/texmf-context/tex/context/fonts/mkiv/type-imp-texgyre.mkiv' > close source> level 3, order 6, name > '/usr/local/context-osx-64/tex/texmf-context/tex/contex

Re: [NTG-context] How do I add cyrillic to my typescript/document?

2020-05-03 Thread Vladimir Lomov
inetypeface [optima] [tt] [mono] [modern] [default] > \definetypeface [optima] [mm] [math] [pagella] [default] > \definefallbackfamily > [optima] > [ss] > [file:Helvetica.ttc] > [preset=range:cyrillic, > force=yes] > \setupbodyfont

Re: [NTG-context] How do I add cyrillic to my typescript/document?

2020-05-03 Thread Gerben Wierda
] [mm] [math] [pagella] [default] \definefallbackfamily [optima] [ss] [file:Helvetica.ttc] [preset=range:cyrillic, force=yes] \setupbodyfont [optima] The error is: fonts > typescripts > unknown library 'optima' open source > level 3, order 6, name '/usr/l

Re: [NTG-context] [ibmplex setup script]

2020-05-03 Thread Henning Hraban Ramm
e ibmplex-thin from the underlying font files? If you can’t handle find | grep, you can use the source browser: https://source.contextgarden.net/?search=ibmplex-thin and you’ll find type-imp-plex.mkiv: https://source.contextgarden.net/tex/context/fonts/mkiv/type-imp-plex.mkiv?search=ibmplex

Re: [NTG-context] module article-basic interferes with \definebodyfont?

2020-05-01 Thread Hans Hagen
ContextGarden vond ik voora l mkii zaken die niet meer geldig/juist zijn. er is een dikke font manual en verder is er wolfgangs module (met documentatie, ook op de wiki) maar meestal is een font setup vrij simple: ik zelf pak gewoon een type-imp-* file, copieer wat regels en vul dan de font file namen

Re: [NTG-context] How do I get an empty line in a \framed[align=flushleft]{} item?

2020-04-30 Thread Gerben Wierda
> On 30 Apr 2020, at 22:54, Wolfgang Schuster > wrote: > > Gerben Wierda schrieb am 30.04.2020 um 22:47: >> In normal TeX, when I type >> AapAap >> I get something like >> Aap >> Aap >> But inside a \framed[align=]{} the empty line disappea

Re: [NTG-context] How do I get an empty line in a \framed[align=flushleft]{} item?

2020-04-30 Thread Gerben Wierda
> On 30 Apr 2020, at 22:51, Henning Hraban Ramm wrote: > > > >> Am 30.04.2020 um 22:47 schrieb Gerben Wierda : >> >> In normal TeX, when I type >> >> AapAap >> >> I get something like >> >> Aap >> >> Aap

Re: [NTG-context] How do I get an empty line in a \framed[align=flushleft]{} item?

2020-04-30 Thread Gerben Wierda
Brilliant! Thank you! > On 30 Apr 2020, at 22:54, Wolfgang Schuster > wrote: > > Gerben Wierda schrieb am 30.04.2020 um 22:47: >> In normal TeX, when I type >> AapAap >> I get something like >> Aap >> Aap >> But inside a \framed[align=]{} the

Re: [NTG-context] How do I get an empty line in a \framed[align=flushleft]{} item?

2020-04-30 Thread Wolfgang Schuster
Gerben Wierda schrieb am 30.04.2020 um 22:47: In normal TeX, when I type AapAap I get something like Aap Aap But inside a \framed[align=]{} the empty line disappears. How do I get it back? Minimal example: \starttext TestingTesting \page \framed[align=flushleft]{Testing

Re: [NTG-context] How do I get an empty line in a \framed[align=flushleft]{} item?

2020-04-30 Thread Henning Hraban Ramm
> Am 30.04.2020 um 22:47 schrieb Gerben Wierda : > > In normal TeX, when I type > > AapAap > > I get something like > > Aap > > Aap > > But inside a \framed[align=]{} the empty line disappears. How do I get it > back? Try \framedt

[NTG-context] How do I get an empty line in a \framed[align=flushleft]{} item?

2020-04-30 Thread Gerben Wierda
In normal TeX, when I type AapAap I get something like Aap Aap But inside a \framed[align=]{} the empty line disappears. How do I get it back? Minimal example: \starttext TestingTesting \page \framed[align=flushleft]{TestingTesting

[NTG-context] Fwd: Unicode normalization and Hebrew in ConTeXt

2020-04-28 Thread Joey McCollum
(bet + > > segol + dagesh + final nun): > > בֶּן > > > > %A word with characters in typographically recommended order (bet + > > dagesh + segol + final nun): > > בֶּן > > \stoptext > > \startluacode > fonts.handlers.otf.addfeature

Re: [NTG-context] contextproject script (was: Typesetting Markdown - Part 8)

2020-04-28 Thread Jan-Erik Hägglöf
ng Hraban Ramm, fiëé > visuëlle > > Options: > --version show program's version number and exit > -h, --helpshow this help message and exit > -m FILETYPE, --mode=FILETYPE >create which type of file? > -c NAME, --component=NAME, --cm

Re: [NTG-context] contextproject script (was: Typesetting Markdown - Part 8)

2020-04-28 Thread Henning Hraban Ramm
ban Ramm, fiëé visuëlle Options: --version show program's version number and exit -h, --helpshow this help message and exit -m FILETYPE, --mode=FILETYPE create which type of file? -c NAME, --component=NAME, --cmp=NAME c

Re: [NTG-context] Unicode normalization and Hebrew in ConTeXt

2020-04-28 Thread Hans Hagen
fonts.handlers.otf.addfeature { name= "normalizehebrew", type= "chainsubstitution", prepend = 1, lookups = { { type = "multiple", data = {

Re: [NTG-context] Basic font question (Optima, but no bold, no italics). Standalone ConTeXt does not work. TeX Live 2019 works

2020-04-26 Thread Benjamin Buchmuller
Bolditalic \stoptext Note 1: mtxrun --script fonts --list --all --pattern=helvetica etc. might still not display all variants correctly in the first place. Note 2: There are predefined typescripts for Mac OS in ConTeXt (type-imp-osx.mkiv) but the file needs a update/cleanup. > On 24 Apr 2

Re: [NTG-context] Basic font question (Optima, but no bold, no italics)

2020-04-23 Thread Gerben Wierda
10, pdf (backend for directly generating pdf output) mkiv lua stats > jobdata time: 0.002 seconds saving, 0.001 seconds loading mkiv lua stats > callbacks: internal: 100, file: 142, direct: 2, late: 0, function 1222, total: 1466 mkiv lua stats > randomizer: resumed with value 0.437166

Re: [NTG-context] Hyphentation/Linebreak after x characters

2020-04-23 Thread Benjamin Buchmuller
no difference towards the result. This is the MWE based on your solution: \define[2]\mycommandc{ \startxrow \startxcell o#1 \stopxcell \startxcell \tt\WORD{5'-#2} \stopxcell \stopxrow } \definebreakpoint[mybreaks][][nright=100,nleft=100,type=1] \setbreakpoints[mybreaks] \starttext

Re: [NTG-context] Hyphentation/Linebreak after x characters inside \WORD?

2020-04-23 Thread Rik Kabel
\stopxcell \stopxrow } Assuming that this has to do with the presence of “-“ which will be the preferred breakpoint. So, I guess the questions boils down to how to define the second argument of \definebreakpoint[mybreaks][][nright=12,nleft=12,type=1] in this case or how to “deactivate

Re: [NTG-context] Hyphentation/Linebreak after x characters inside \WORD?

2020-04-23 Thread Benjamin Buchmuller
that this has to do with the presence of “-“ which will be the preferred breakpoint. So, I guess the questions boils down to how to define the second argument of \definebreakpoint[mybreaks][][nright=12,nleft=12,type=1] in this case or how to “deactivate” the default \setbreakpoints[compound]? > On

Re: [NTG-context] useexternaldocument with custom file type

2020-04-23 Thread Jan U. Hasecke
Am 23.04.20 um 19:25 schrieb Henning Hraban Ramm: > >> Am 23.04.2020 um 16:36 schrieb Jan U. Hasecke : >> >> Am 23.04.20 um 16:10 schrieb Vladimir Lomov: >>> Please see the page about '\goto' command, it was written for a reason! >> >> Ok, with \goto{linkname}[program(target.doc)] it works. >> >>

Re: [NTG-context] useexternaldocument with custom file type

2020-04-23 Thread Henning Hraban Ramm
> Am 23.04.2020 um 16:36 schrieb Jan U. Hasecke : > > Am 23.04.20 um 16:10 schrieb Vladimir Lomov: >> Please see the page about '\goto' command, it was written for a reason! > > Ok, with \goto{linkname}[program(target.doc)] it works. > > "works" means some PDF Viewers opens the right program.

Re: [NTG-context] useexternaldocument with custom file type

2020-04-23 Thread Jan U. Hasecke
Am 23.04.20 um 16:10 schrieb Vladimir Lomov: > Please see the page about '\goto' command, it was written for a reason! Ok, with \goto{linkname}[program(target.doc)] it works. "works" means some PDF Viewers opens the right program. juh

Re: [NTG-context] useexternaldocument with custom file type

2020-04-23 Thread Vladimir Lomov
icking on text in viewer? What application should be used to open a file? Take a look on page I linked in previous message. > The PDF Viewer does not support the file type. What "PDF Viewer"? For example, I use different viewers: mupdf, zathura-pdf-mupdf (zathura with mupdf pdf backend),

Re: [NTG-context] useexternaldocument with custom file type

2020-04-23 Thread Jan U. Hasecke
art] \setupcolors[state=start] \starttext \goto{linkname}[file(target.doc)] \stoptext The PDF Viewer does not support the file type. TIA juh ___ If your question is of interest to others as well, please add an entry to the W

Re: [NTG-context] useexternaldocument with custom file type

2020-04-23 Thread Vladimir Lomov
Hello, ** Jan U. Hasecke [2020-04-23 12:21:27 +0200]: > Hi Wolfgang, > thanks for the fast reply. > Am 23.04.20 um 12:06 schrieb Wolfgang Schuster: >> Jan U. Hasecke schrieb am 23.04.2020 um 11:54: >>> Hi, >>> >>> can I link to a f

Re: [NTG-context] useexternaldocument with custom file type

2020-04-23 Thread Jan U. Hasecke
Hi Wolfgang, thanks for the fast reply. Am 23.04.20 um 12:06 schrieb Wolfgang Schuster: > Jan U. Hasecke schrieb am 23.04.2020 um 11:54: >> Hi, >> >> can I link to a file with custom file type eg. OpenDocument with >> \useexternaldocument? >> >> This do

Re: [NTG-context] useexternaldocument with custom file type

2020-04-23 Thread Wolfgang Schuster
Jan U. Hasecke schrieb am 23.04.2020 um 11:54: Hi, can I link to a file with custom file type eg. OpenDocument with \useexternaldocument? This does not work. \useexternaldocument[test][test.ods][A test document] As the PDF viewer is opened first, it does not recognize the file type

[NTG-context] useexternaldocument with custom file type

2020-04-23 Thread Jan U. Hasecke
Hi, can I link to a file with custom file type eg. OpenDocument with \useexternaldocument? This does not work. \useexternaldocument[test][test.ods][A test document] As the PDF viewer is opened first, it does not recognize the file type. juh

Re: [NTG-context] Setting up macvim in mac os catalina to work with LMTX

2020-04-22 Thread janerik.hagglof
put this line permanent because it is strange to type this every time I want to typeset something.RegardsJanne22 apr. 2020 kl. 16:49 skrev Nicola :On 2020-04-21, Jan-Erik Hägglöf wrote:Hi !I am curious about testing macvim and it seems doing fine in editmode. But how do i set up

Re: [NTG-context] Setting up macvim in mac os catalina to work with LMTX

2020-04-22 Thread Jan-Erik Hägglöf
the question is where do I put this line permanent because it is strange to type this every time I want to typeset something. Regards Janne > 22 apr. 2020 kl. 16:49 skrev Nicola : > > On 2020-04-21, Jan-Erik Hägglöf wrote: >> Hi ! >> >> I am curious about testing mac

Re: [NTG-context] lmtx & lohit-devanagari fonts

2020-04-21 Thread Saša Janiška
1045, total: 1316 mkiv lua stats > randomizer: resumed with value 0.82539481794329 mkiv lua stats > result saved in file: t.pdf, compresslevel 3, objectcompresslevel 1 mkiv lua stats > loaded patterns: en::1, load time: 0.000 mkiv lua stats > loaded fonts: 1 files: lmsans10-regul

[NTG-context] lmtx & lohit-devanagari fonts

2020-04-21 Thread Saša Janiška
: 150, direct: 2, late: 0, function 1062, total: 1336 mkiv lua stats > randomizer: resumed with value 0.82539481794329 mkiv lua stats > result saved in file: t.pdf, compresslevel 3, objectcompresslevel 1 mkiv lua stats > loaded patterns: en::1, load time: 0.000 mkiv lua stats > lo

[NTG-context] font troubles in MkIV

2020-04-13 Thread Henning Hraban Ramm
of the directories in OSFONTDIR, e.g. ~/Library/Fonts, or into the project directory, it works. I don’t see a pattern which fonts are found and which not (except that the only Type 1 font family I tried didn’t work, i.e. only after I installed the TTF version in ~/Libraray/Fonts). I already

Re: [NTG-context] \type -- extra space in TABLE

2020-04-12 Thread Hans Hagen
On 4/11/2020 11:44 PM, Tomas Hala wrote: Hi all, in the following code \starttext \type{6\az12}% \az = \anycommand \bTABLE \bTR\bTD\type{6\az12}\eTD\eTR \eTABLE \stoptext there is a different behaviour of \type: while its parametr in normal text is printed out as is (expected

[NTG-context] \type -- extra space in TABLE

2020-04-11 Thread Tomas Hala
Hi all, in the following code \starttext \type{6\az12}% \az = \anycommand \bTABLE \bTR\bTD\type{6\az12}\eTD\eTR \eTABLE \stoptext there is a different behaviour of \type: while its parametr in normal text is printed out as is (expected), in the TABLE the extra space is displayed after

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