Re: [NTG-context] Problems with column sets?

2022-05-24 Thread T. Kurt Bond via ntg-context
Sigh.  I should have mentioned that that I reinstalled LMTX from scratch on
both machines, and that my mac is running macOS Monterey 12.3.1.

On Tue, May 24, 2022 at 3:40 PM T. Kurt Bond  wrote:

> Huh.  I tried it on a Linux box, and that worked.  But on my main machine,
> a Intel 64 bit mac, I get the original result.  Oh, I changed to use this
> input:
>
> \definecolumnset[TwoColumns][n=2]
> \startcolumnset [TwoColumns]
>   \input knuth
> \stopcolumnset
>
>
> On Tue, May 24, 2022 at 3:09 PM Henning Hraban Ramm via ntg-context <
> ntg-context@ntg.nl> wrote:
>
>> Am 24.05.22 um 20:43 schrieb T. Kurt Bond via ntg-context:
>> > Given the following file that uses definecolumnset and
>> > startcolumnset/stopcolumnset (largely from the wiki
>> > <https://wiki.contextgarden.net/Command/definecolumnset>) for input:
>> >
>> >
>>  
>> 
>> > \setuppapersize[letter]
>> > \definecolumnset[TwoColumns][n=2]
>> > \startcolumnset [TwoColumns]
>> >\title{Test page}
>> >\framed
>> >  [frame=off,
>> >   bottomframe=on,
>> >   width=\textwidth,
>> >   frameoffset=1mm,
>> >   foregroundstyle=small,
>> >  ]{\copyright\ \date[][year] Donald E. Knuth}
>> >\input knuth
>> > \stopcolumnset
>> >
>>  
>> 
>>
>> That’s not a minimal example, but it works for me (even if the text
>> starts only on the second page):
>>
>> \definecolumnset[TwoColumns][n=2]
>>
>> \starttext
>> \startcolumnset [TwoColumns]
>>\title{Test page}
>>\framed
>>  [frame=off,
>>   bottomframe=on,
>>   width=\textwidth,
>>   frameoffset=1mm,
>>   foregroundstyle=small,
>>  ]{\copyright\ \date[][year] Donald E. Knuth}
>>\samplefile{knuth}
>> \stopcolumnset
>> \stoptext
>>
>> Hraban
>>
>> ___
>> If your question is of interest to others as well, please add an entry to
>> the Wiki!
>>
>> maillist : ntg-context@ntg.nl /
>> http://www.ntg.nl/mailman/listinfo/ntg-context
>> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
>> archive  : https://bitbucket.org/phg/context-mirror/commits/
>> wiki : http://contextgarden.net
>>
>> ___
>>
>
>
> --
> T. Kurt Bond, tkurtb...@gmail.com, https://tkurtbond.github.io
>


-- 
T. Kurt Bond, tkurtb...@gmail.com, https://tkurtbond.github.io
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Problems with column sets?

2022-05-24 Thread T. Kurt Bond via ntg-context
Huh.  I tried it on a Linux box, and that worked.  But on my main machine,
a Intel 64 bit mac, I get the original result.  Oh, I changed to use this
input:

\definecolumnset[TwoColumns][n=2]
\startcolumnset [TwoColumns]
  \input knuth
\stopcolumnset


On Tue, May 24, 2022 at 3:09 PM Henning Hraban Ramm via ntg-context <
ntg-context@ntg.nl> wrote:

> Am 24.05.22 um 20:43 schrieb T. Kurt Bond via ntg-context:
> > Given the following file that uses definecolumnset and
> > startcolumnset/stopcolumnset (largely from the wiki
> > <https://wiki.contextgarden.net/Command/definecolumnset>) for input:
> >
> >
>  
> 
> > \setuppapersize[letter]
> > \definecolumnset[TwoColumns][n=2]
> > \startcolumnset [TwoColumns]
> >\title{Test page}
> >\framed
> >  [frame=off,
> >   bottomframe=on,
> >   width=\textwidth,
> >   frameoffset=1mm,
> >   foregroundstyle=small,
> >  ]{\copyright\ \date[][year] Donald E. Knuth}
> >\input knuth
> > \stopcolumnset
> >
>  
> 
>
> That’s not a minimal example, but it works for me (even if the text
> starts only on the second page):
>
> \definecolumnset[TwoColumns][n=2]
>
> \starttext
> \startcolumnset [TwoColumns]
>\title{Test page}
>\framed
>  [frame=off,
>   bottomframe=on,
>   width=\textwidth,
>   frameoffset=1mm,
>   foregroundstyle=small,
>  ]{\copyright\ \date[][year] Donald E. Knuth}
>\samplefile{knuth}
> \stopcolumnset
> \stoptext
>
> Hraban
>
> ___
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : ntg-context@ntg.nl /
> http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
>
> ___
>


-- 
T. Kurt Bond, tkurtb...@gmail.com, https://tkurtbond.github.io
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


[NTG-context] Problems with column sets?

2022-05-24 Thread T. Kurt Bond via ntg-context
Given the following file that uses definecolumnset and
startcolumnset/stopcolumnset (largely from the wiki
<https://wiki.contextgarden.net/Command/definecolumnset>) for input:


\setuppapersize[letter]
\definecolumnset[TwoColumns][n=2]
\startcolumnset [TwoColumns]
  \title{Test page}
  \framed
[frame=off,
 bottomframe=on,
 width=\textwidth,
 frameoffset=1mm,
 foregroundstyle=small,
]{\copyright\ \date[][year] Donald E. Knuth}
  \input knuth
\stopcolumnset


Why does context fail, producing an empty .log and .pdf, with the following
information to the terminal:

resolvers   | formats | executing runner 'run luametatex format':
/usr/local/sw/versions/context-osx-64/tex/texmf-osx-64/bin/luametatex
--jobname="./x.ctx"
--fmt=/usr/local/sw/versions/context-osx-64/tex/texmf-cache/luametatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.fmt
--lua=/usr/local/sw/versions/context-osx-64/tex/texmf-cache/luametatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.lui
 --c:currentrun=1 --c:fulljobname="./x.ctx" --c:input="./x.ctx"
--c:kindofrun=1 --c:maxnofruns=9
--c:texmfbinpath="/usr/local/sw/versions/context-osx-64/tex/texmf-osx-64/bin"
system  >
system  > ConTeXt  ver: 2022.05.11 11:36 LMTX  fmt: 2022.5.24  int:
english/english
system  >
system  > 'cont-new.mkxl' loaded
open source > level 1, order 1, name
'/usr/local/sw/versions/context-osx-64/tex/texmf-context/tex/context/base/mkxl/cont-new.mkxl'
system  > beware: some patches loaded from cont-new.mkiv
close source> level 1, order 1, name
'/usr/local/sw/versions/context-osx-64/tex/texmf-context/tex/context/base/mkxl/cont-new.mkxl'
system  > files > jobname './x', input './x.ctx', result './x'
fonts   > latin modern fonts are not preloaded
languages   > language 'en' is active
open source > level 1, order 2, name './x.ctx'
mtx-context | fatal error: return code: 1

-- 
T. Kurt Bond, tkurtb...@gmail.com, https://tkurtbond.github.io
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


[NTG-context] LMTX mtxrun --script fonts --reload --force isn't finding fonts in tex/texmf-fonts

2021-07-27 Thread T. Kurt Bond via ntg-context
Hello.

I'm trying to get LMTX to use my fonts on Fedora 33 Linux.  I've got LMTX
installed in the directory /sw/versions/context/lmtx and I've put copies of
the fonts I'd like to use in /sw/versions/context/lmtx/tex/texmf-fonts.
Some of them are truetype and some of them are opentype.  When I run

mtxrun --script fonts --reload --force

it says

fonts   | names | scanning path
'/sw/versions/context/lmtx/tex/texmf-fonts' for otf files
fonts   | names | 0 otf files checked,  okay

and later

fonts   | names | scanning path
'/sw/versions/context/lmtx/tex/texmf-fonts' for ttf files
fonts   | names | 0 ttf files checked,  okay


Any ideas of what I'm doing wrong?
-- 
T. Kurt Bond, tkurtb...@gmail.com, https://tkurtbond.github.io
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Every odd row with a background color with extreme tables?

2021-07-23 Thread T. Kurt Bond
Thanks, this has been very helpful.

On Fri, Jul 23, 2021 at 1:02 PM Wolfgang Schuster <
wolfgang.schuster.li...@gmail.com> wrote:

> T. Kurt Bond schrieb am 23.07.2021 um 17:55:
> > With natural tables I can define a color, tell the table to have to
> > use color backgrounds and turn the frame off and get every odd row in
> > all my tables will have that color for the background.
> >
> > == Example
> 
> > \definecolor[grayback][r=.8,g=.8,b=.8]
> > \setupTABLE[background=color,frame=off]
> > \setupTABLE[row][odd][backgroundcolor=grayback]
> > == End of Example
> =
> >
> > Can I get this same effect with extreme tables?
> >
> > My first try with extreme tables looked like this:
> >
> > == Example
> 
> > \definecolor[tablebackground][r=.8,g=.8,b=.8]
> > \setupxtable[background=color,frame=off]
> > \setupxtable[row][odd][backgroundcolor=tablebackground]
> > == End of Example
> =
> >
> > That didn't seem to have any effect.
> >
> > Is there a way to have every odd row of every table in my document
> > have color background?
>
> \startuseMPgraphic{xtablerow}
>  fill OverlayBox withcolor "gray";
> \stopuseMPgraphic
>
> \defineoverlay
>[xtablerow]
>[\ifodd\currentxtablerow
>   \useMPgraphic{xtablerow}%
> \fi]
>
> \starttext
>
> \startxtable[frame=off,background=xtablerow]
> \dorecurse{20}
>{\startxrow
>   \startxcell Column 1 \stopxcell
>   \startxcell Column 2 \stopxcell
> \stopxrow}
> \stopxtable
>
> \stoptext
>
> Wolfgang
>
> ___
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : ntg-context@ntg.nl /
> http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
>
> ___
>


-- 
T. Kurt Bond, tkurtb...@gmail.com, https://tkurtbond.github.io
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


[NTG-context] Every odd row with a background color with extreme tables?

2021-07-23 Thread T . Kurt Bond
With natural tables I can define a color, tell the table to have to
use color backgrounds and turn the frame off and get every odd row in
all my tables will have that color for the background.

== Example 
\definecolor[grayback][r=.8,g=.8,b=.8]
\setupTABLE[background=color,frame=off]
\setupTABLE[row][odd][backgroundcolor=grayback]
== End of Example =

Can I get this same effect with extreme tables?

My first try with extreme tables looked like this:

== Example 
\definecolor[tablebackground][r=.8,g=.8,b=.8]
\setupxtable[background=color,frame=off]
\setupxtable[row][odd][backgroundcolor=tablebackground]
== End of Example =

That didn't seem to have any effect.

Is there a way to have every odd row of every table in my document
have color background?

-- 
T. Kurt Bond, tkurtb...@gmail.com, tkurtbond.github.io and tkb.tx0.org
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] LMTX: different output if dots are used in the file name

2021-07-06 Thread T. Kurt Bond
This is something that has caused me problems in the past, too.

On Tue, Jul 6, 2021 at 4:51 PM Marco Patzer  wrote:

> On Thu, 28 May 2020 18:18:51 +0200
> Hans Hagen  wrote:
>
> > > LMTX:
> > > 10.10.10.tex → 10.10 (not even a PDF suffix)
> > > 10.10.11.tex → 10.10 (file 10.10 is over-written)
> > > 11.10.11.tex → 11.10 (no suffix)
>
> I've checked again with 2021.07.06 18:49 LMTX
>
>   10.10.10.tex → 10.10.pdf + 10.log
>   10.10.11.tex → 10.10.pdf (file 10.10.pdf and 10.log are over-written)
>   11.10.11.tex → 11.10.pdf
>
> > > MkIV is way more predictable and consistent in that regard.
> > I'll look at it but not today ... first I need to play with some
> > other (neat) stuff and run tests.
>
> A gentle reminder.
>
> As by my tests, something has changed in the last months, but the
> behaviour is still weird (e.g. log files differ from pdf file or
> 10.10.10.tex results in 10.10.pdf).
>
> Is there a chance you can look at that at some point?
>
> Marco
>
> ___
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : ntg-context@ntg.nl /
> http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
>
> ___
>


-- 
T. Kurt Bond, tkurtb...@gmail.com, https://tkurtbond.github.io
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Trying to make all links in my document blue instead of red or green

2021-06-21 Thread T. Kurt Bond
Thanks, that did it!

On Mon, Jun 21, 2021 at 11:33 AM Adam Reviczky  wrote:

> Hi Kurt,
>
> It is because of the spaces after the last line in contrastcolor.
>
-- 
T. Kurt Bond, tkurtb...@gmail.com, https://tkurtbond.github.io
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


[NTG-context] Trying to make all links in my document blue instead of red or green

2021-06-21 Thread T. Kurt Bond
I'm trying to make all the hyperlinks in my document blue.  Here's my
example:

\setupinteraction
  [state=start,
  color=blue,
  contrastcolor=blue
  ]


\starttext
\completecontent
\section{Section A}
\subsection{SubSection A.A}
\pagebreak[yes]
\section {Section B — on another page}
\subsection {SubSection B.A — on another page}
\stoptext

When I format it with ConTeXt (ConTeXt  ver: 2021.06.18 23:37 LMTX  fmt:
2021.6.19  int: english/english) links to destinations on the same page
come out black while links to destinations on another page come out blue,
as I'd intended.  Here is a screen shot:
[image: image.png]
Notice that the Contents lines with Section A and SubSection A.A are
black?  I'd expected them to be blue.
-- 
T. Kurt Bond, tkurtb...@gmail.com, https://tkurtbond.github.io
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] \startplacetable[location=none] doesn't have a "Table X" label, but \startplacetable[location=force] does

2021-06-15 Thread T. Kurt Bond
That did it!  Thanks!

On Mon, Jun 14, 2021 at 5:52 AM Wolfgang Schuster <
wolfgang.schuster.li...@gmail.com> wrote:

> T. Kurt Bond  schrieb am Mo., 14. Juni 2021, 09:23:
>
>> I've got three questions:
>>
>>1.
>>
>>I've got a document with some xtables. If I use
>>\startplacetable[location=none] the tables *don't* have a "Table X"
>>label, but they float and end up in locations where I don't want them. If 
>> I
>>use \startplacetable[location=force] the tables *do* have a "Table X"
>>label (which I don't want), but the tables *do* show up where I want
>>them, that is, they don't float.
>>
>>How do I get rid of the "Table X" label when I use
>>\startplacetable[location=force]?
>>
>>
> \startplacetable [location={force,none}]
>
> Wolfgang
>
>
> ___
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : ntg-context@ntg.nl /
> http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
>
> ___
>


-- 
T. Kurt Bond, tkurtb...@gmail.com, https://tkurtbond.github.io
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


[NTG-context] \startplacetable[location=none] doesn't have a "Table X" label, but \startplacetable[location=force] does

2021-06-14 Thread T. Kurt Bond
I've got three questions:

   1.

   I've got a document with some xtables. If I use
   \startplacetable[location=none] the tables *don't* have a "Table X"
   label, but they float and end up in locations where I don't want them. If I
   use \startplacetable[location=force] the tables *do* have a "Table X"
   label (which I don't want), but the tables *do* show up where I want
   them, that is, they don't float.

   How do I get rid of the "Table X" label when I use
   \startplacetable[location=force]?
   2.

   Also, when I constructed the example I used

   \startmode[locationforce]
   \startplacetable[location=force]
   \stopmode
   \startnotmode[locationforce]
   \startplacetable[location=none]
   \stopmode

   so I could build both outputs from the same input file. When the
   locationforce mode was *not* set the command finished with no errors,
   but when the locationforce mode *was* set the command finished with the
   error:

   tex error   > tex error on line 229 in file
./table-location-label-wrong.ctx: The file ended when scanning an
argument.

   however, when I used

   
\doifmodeelse{locationforce}{\startplacetable[location=force]}{\startplacetable[location=none]}

   instead, it worked fine.
   3.

   Even when I use the --noconsole option on my context invocation, there
   is a lot of information that is written to the console. It looks like the
   information is repeated for each run context makes over the file. Is there
   some way to get this information to show up in the log file, instead of on
   the console?

ConTeXt's version information:

ConTeXt  ver: 2021.06.13 19:21 LMTX  fmt: 2021.6.13  int: english/english.

I've attached my example (table-location-label.ctx), the GNUmakefile I use
to build it using --mode so that the same source produces both the version
with location=force and location=none, and the two PDF output files (
table-location-label-none.pdf and table-location-label-force.pdf).

I've also attached the version where I tried to use \startmode/\startnotmode
 (table-location-label-wrong.ctx).

-- 
T. Kurt Bond, tkurtb...@gmail.com, https://tkurtbond.github.io


table-location-label-force.pdf
Description: Adobe PDF document


table-location-label-none.pdf
Description: Adobe PDF document


table-location-label-wrong.ctx
Description: Binary data


table-location-label.ctx
Description: Binary data
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] composing commands

2021-02-06 Thread T. Kurt Bond
Hans Hagen said:

makes me wonder if we should have

   \chr{e"a'}

producing

   ëá

(using real combinings is ok already) which is trivial to implement so
for the fun of it i might as well add that


I think that it would be useful.  I use Unicode characters extensively in
my ConTeXt input, but only because I edit it in Emacs and can set up
keymaps that map to the Unicode characters in a way that I can actually
remember.  I think that this would add an easily remembered way for people
to add combining characters to their documents.  Sometimes a slightly more
verbose way to do something is helpful when it is more easily remembered.
(Honestly, I can't remember the hex codes for any Unicode characters after
you get out of the range that maps to plain ASCII

On Fri, Feb 5, 2021 at 5:29 PM Hans Hagen  wrote:

> On 2/5/2021 6:19 PM, Thomas A. Schmitz wrote:
> >
> > On 2/5/21 5:38 PM, Hans Hagen wrote:
> >> etc ... the ones that make 'composed characters'. I think that anyone
> >> who needs them uses utf . They can be in (say) m-oldschool.mkxl or so.
> >>
> >> Objections? Hurt feelings? Sentiments?
> >
> > No hurt feelings, but I know that in my bib files, there are a couple of
> > old entries that still have these weird composed characters. So I'm fine
> > with upgrading, but it would be nice if this could fail gracefully, with
> > a nice and informative error message...
> btw, something like that will never happen suddenly ... more a matter of
> declaring them obsolete, maybe move them so a module that we could still
> load by default and later maybe on demand
>
> concerning bibtex files, that's another story ... in order to deal well
> with sorting etc quite a bit of sanitizing already takes place there
> (alan and i spent quite a bit of time on that); also there are ways to
> define extra only-used-in-bibtex commands, so we could actually just
> define them for bib stuff only
>
> it's more about "what are the current habits" ... we have commands like
> \" (which is kind of intuitive) but \r and \v and such fall in the
> category, and there are more kind of accents than we currently have
> commands for anyway
>
> a similar discussion (and we already exchanged some mails about that)
> are named glyphs ... we have quite some for latin, greek, cyrillic (like
> \eacute) but how about the rest of unicode
>
> makes me wonder if we should have
>
>\chr{e"a'}
>
> producing
>
>ëá
>
> (using real combinings is ok already) which is trivial to implement so
> for the fun of it i might as well add that; i think most who deal with
> languages that have characters other than ascii will input in the most
> natural way so we're only talking of escapes for those who see accents
> and such as noise (yes we do have accents in dutch)
>
> (in mkii we already had utf so then we actually did much of the
> transition but mkii is stone age in terms of software)
>
> Hans
>
> -
>Hans Hagen | PRAGMA ADE
>Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
> tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
> -
>
> ___
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : ntg-context@ntg.nl /
> http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
>
> ___
>


-- 
T. Kurt Bond, tkurtb...@gmail.com, https://tkurtbond.github.io
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Confusion with fonts

2020-12-08 Thread T. Kurt Bond
Yes, it is.  Thank you for the clarification.

On Tue, Dec 8, 2020 at 4:39 AM Pablo Rodriguez  wrote:

> On 12/8/20 10:13 AM, T. Kurt Bond wrote:
> > I think that what confused me the most is that "\setupbodyfont[pagella]"
> > works fine, but "\definefontfamily[mainface][rm][pagella]" does not.
>
> But is it clear now that identifiers and typeface names (such as
> explained in my previous message) are totally different?
>
> Pablo
> --
> http://www.ousia.tk
>
> ___
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : ntg-context@ntg.nl /
> http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
>
> _______
>


-- 
T. Kurt Bond, tkurtb...@gmail.com, https://tkurtbond.github.io
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] How can I make "natural table" be exactly as wide as the textwidth?

2020-12-08 Thread T. Kurt Bond
Here's a MWE that produces the oddly distributed columns:

\setuplayout[backspace=0.5in,width=4.5in,topspace=0.5in,
top=0in,topdistance=0in,
  header=0in,headerdistance=0in,bottom=0.25in,bottomdistance=0.125in,
  footer=0.25in,footerdistance=0.25in,height=7.75in]
\setuppagenumbering[location={footer,middle}]
\setupwhitespace[quarterline]
\setupbodyfont[pagella,9pt]
\definepapersize[digest][width=5.5in,height=8.5in]
\setuppapersize[digest]
\starttext
\startplacetable[location=force,title={Stun Levels}]
\definecolor[back-3][r=.8,g=.8,b=.8]
\setupTABLE[background=color,frame=off,framecolor=white]
\setupTABLE[row][odd][backgroundcolor=back-3]
\setupTABLE[row][1][topframe=on,bottomframe=on,framecolor=
black,rulethickness=0.75pt]
\setupTABLE[row][4][bottomframe=on,framecolor=black,rulethickness=0.75pt]
\bTABLE[width=broad]
\bTR\bTD {\bf Damage >\\Soak by:}\  \eTD\bTD {\bf
Stun\\Level}\eTD\bTD {\bf Stun\\Effects}   \eTD\eTR
\bTR\bTD 0 or less\eTD\bTD Unharmed \eTD\bTD None.
  \eTD\eTR
\bTR\bTD 1 to 8   \eTD\bTD Stunned  \eTD\bTD -1D on all actions for
2D rounds.   \eTD\eTR
\bTR\bTD 9+   \eTD\bTD Severely\\Stunned\eTD\bTD The character is
knocked unconscious for 2D minutes.\eTD\eTR
\eTABLE
\stopplacetable
\stoptext


Naively, I expected the third column, which has the longest text, to absorb
more of the width, rather than the three columns getting about the same
width.

I added the following two lines before the \bTABLE:

\setupTABLE[column][1][width=6em]
\setupTABLE[column][2][width=6em]


This caused all the space not used by the first two columns to be used by
the third column.

Thinking about it a little more, the first result makes sense: there is
probably no way for ConTeXt to figure out that the third column should be
wider unless it is given some constraints.

Interestingly, groff's tbl has a Column Specifier, x or X, that, after
computing all the widths of columns without an x specifier, uses the
remaining line width for the columns with an x, distributing them equally
across the columns with x specifiers.  (I often use groff for
quick-and-dirty documents, or where ConTeXt is not installed; I use ConTeXt
for documents that are more complex, or ones that need their appearance
customized.)  This is particularly useful when one column has paragraph
length text contents, and the other columns don't.

I don't suppose there is a bTABLE equivalent?  Or an equivalent in one of
ConTeXt's other table types?

On Sun, Dec 6, 2020 at 11:20 PM Aditya Mahajan  wrote:

> On Sun, 6 Dec 2020, T. Kurt Bond wrote:
> > On Sun, Dec 6, 2020 at 2:20 AM Aditya Mahajan  wrote:
> >
> > > On Sun, 6 Dec 2020, T. Kurt Bond wrote:
> > >
> > > > Setting maxwidth and textwidth on the \bTABLE doesn't seem to do
> > > anything.
> > >
> > > Use:
> > >
> > > \bTABLE[width=broad]
> > >
> > > \eTABLE
>
> > That did the trick!  It did distribute the new width oddly, with adding
> > more width to the the first and second columns, while the third column,
> > which had the most text to wrap, was not as wide as it could have been.
> I
> > had to set widths for the first and second columns, and had to experiment
> > to get them right.
>
> A MWE (Minimal working example) is needed to see what is going on.
>
> Aditya
>
> ___
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : ntg-context@ntg.nl /
> http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
>
> ___
>


-- 
T. Kurt Bond, tkurtb...@gmail.com, https://tkurtbond.github.io
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Confusion with fonts

2020-12-08 Thread T. Kurt Bond
I think that what confused me the most is that "\setupbodyfont[pagella]"
works fine, but "\definefontfamily[mainface][rm][pagella]" does not.

On Sun, Dec 6, 2020 at 7:03 AM T. Kurt Bond  wrote:

> I've got a small ConTeXt source file, that is a minimization of a file
> generated by the the ConTeXt output of pandoc using pandoc features to set
> the main font to ebgaramond:
>
> \definefallbackfamily[mainface][rm][CMU Serif][preset=range:greek,
> force=yes]
> \definefontfamily[mainface][rm][ebgaramond]
> \definefontfamily[mainface][mm][Latin Modern Math]
> \definefontfamily[mainface][ss][Latin Modern Sans]
> \definefontfamily[mainface][tt][Latin Modern Typewriter][features=none]
> \setupbodyfont[mainface]
>
> \starttext
>
> Is this text in Pagella?
>
> \stoptext
>
>
> When I run it through context it works and produces output that uses the
> EBGaramond font.  The following also work: antykwapoltawskiego, asana,
> cambria, charter, ebgaramond, gentium, inconsolata, iwona, kurier, lato,
> punknova, stix, and xits.  But other things, like palatino and pagella and
> dejavu.  Those end up using Latin Modern Roman.
>
> I realize I don't understand ConTeXt's font handling and typescripts very
> well, could someone explain why some of those things work, and others don't?
>
> I'll note that pandoc generates this because it lets users of pandoc
> specify different fonts for the main body font, the math font, the sans
> font, and the mono font.
>
> Can anybody suggest a different way of doing that, which works more often
> or more simply?
> --
> T. Kurt Bond, tkurtb...@gmail.com, https://tkurtbond.github.io
>


-- 
T. Kurt Bond, tkurtb...@gmail.com, https://tkurtbond.github.io
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


[NTG-context] Confusion with fonts

2020-12-06 Thread T. Kurt Bond
I've got a small ConTeXt source file, that is a minimization of a file
generated by the the ConTeXt output of pandoc using pandoc features to set
the main font to ebgaramond:

\definefallbackfamily[mainface][rm][CMU Serif][preset=range:greek,
force=yes]
\definefontfamily[mainface][rm][ebgaramond]
\definefontfamily[mainface][mm][Latin Modern Math]
\definefontfamily[mainface][ss][Latin Modern Sans]
\definefontfamily[mainface][tt][Latin Modern Typewriter][features=none]
\setupbodyfont[mainface]

\starttext

Is this text in Pagella?

\stoptext


When I run it through context it works and produces output that uses the
EBGaramond font.  The following also work: antykwapoltawskiego, asana,
cambria, charter, ebgaramond, gentium, inconsolata, iwona, kurier, lato,
punknova, stix, and xits.  But other things, like palatino and pagella and
dejavu.  Those end up using Latin Modern Roman.

I realize I don't understand ConTeXt's font handling and typescripts very
well, could someone explain why some of those things work, and others don't?

I'll note that pandoc generates this because it lets users of pandoc
specify different fonts for the main body font, the math font, the sans
font, and the mono font.

Can anybody suggest a different way of doing that, which works more often
or more simply?
-- 
T. Kurt Bond, tkurtb...@gmail.com, https://tkurtbond.github.io
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] How can I make "natural table" be exactly as wide as the textwidth?

2020-12-06 Thread T. Kurt Bond
That did the trick!  It did distribute the new width oddly, with adding
more width to the the first and second columns, while the third column,
which had the most text to wrap, was not as wide as it could have been.  I
had to set widths for the first and second columns, and had to experiment
to get them right.

Thanks for the help!

On Sun, Dec 6, 2020 at 2:20 AM Aditya Mahajan  wrote:

> On Sun, 6 Dec 2020, T. Kurt Bond wrote:
>
> > Setting maxwidth and textwidth on the \bTABLE doesn't seem to do
> anything.
>
> Use:
>
> \bTABLE[width=broad]
>
> \eTABLE
>
> Aditya
>
> ___
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : ntg-context@ntg.nl /
> http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
>
> _______
>


-- 
T. Kurt Bond, tkurtb...@gmail.com, https://tkurtbond.github.io
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


[NTG-context] How can I make "natural table" be exactly as wide as the textwidth?

2020-12-05 Thread T. Kurt Bond
Setting maxwidth and textwidth on the \bTABLE doesn't seem to do anything.

-- 
T. Kurt Bond, tkurtb...@gmail.com, https://tkurtbond.github.io
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Can I caption a table without using something that makes it float?

2020-12-05 Thread T. Kurt Bond
Oh, after looking at some examples I found that
\startplacetable[location=force,title={Caption
Text}] places the table without the extra vertical space, as long as there
wasn't a \setupalign[line] !

On Sat, Dec 5, 2020 at 11:01 PM T. Kurt Bond  wrote:

> If I use \placetable or startplacetable with location=force it shows up
> but there is lots of space before and after it, I assume it is because it
> is a float.  Is there a way I can caption the table without using something
> that makes it float, or remove the space otherwise?
>
> --
> T. Kurt Bond, tkurtb...@gmail.com, https://tkurtbond.github.io
>


-- 
T. Kurt Bond, tkurtb...@gmail.com, https://tkurtbond.github.io
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


[NTG-context] Can I caption a table without using something that makes it float?

2020-12-05 Thread T. Kurt Bond
If I use \placetable or startplacetable with location=force it shows up but
there is lots of space before and after it, I assume it is because it is a
float.  Is there a way I can caption the table without using something that
makes it float, or remove the space otherwise?

-- 
T. Kurt Bond, tkurtb...@gmail.com, https://tkurtbond.github.io
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Can you make a \setupTABLE only apply to one table?

2020-12-05 Thread T. Kurt Bond
Thanks for the help!


On Sat, Dec 5, 2020 at 10:21 PM Jairo A. del Rio 
wrote:

> Hi,
> You could enclose your table and setup using \bgroup and \egroup
>
> \bgroup
> \setupTABLE ...
> \bTABLE ... \eTABLE
> \egroup
>
> \begingroup ... \endgroup also works, although I have to admit I'm not
> aware of the differences between both.
>
> Regards,
>
> Jairo :)
>
> El sáb., 5 de dic. de 2020 10:01 p. m., T. Kurt Bond 
> escribió:
>
>> If I understand correctly, \setupTABLE applies to each table after the
>> \setupTABLE, correct?  If so, can you make it only apply to one table?
>>
>> --
>> T. Kurt Bond, tkurtb...@gmail.com, https://tkurtbond.github.io
>>
>> ___
>> If your question is of interest to others as well, please add an entry to
>> the Wiki!
>>
>> maillist : ntg-context@ntg.nl /
>> http://www.ntg.nl/mailman/listinfo/ntg-context
>> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
>> archive  : https://bitbucket.org/phg/context-mirror/commits/
>> wiki : http://contextgarden.net
>>
>> ___
>>
>
> ___
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : ntg-context@ntg.nl /
> http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
>
> ___
>


-- 
T. Kurt Bond, tkurtb...@gmail.com, https://tkurtbond.github.io
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


[NTG-context] Can you make a \setupTABLE only apply to one table?

2020-12-05 Thread T. Kurt Bond
If I understand correctly, \setupTABLE applies to each table after the
\setupTABLE, correct?  If so, can you make it only apply to one table?

-- 
T. Kurt Bond, tkurtb...@gmail.com, https://tkurtbond.github.io
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] How do I get rid of the ct and st ligatures in EBGaramond?

2020-12-02 Thread T. Kurt Bond
Oh, so it does.  That doesn't look good.

On Wed, Dec 2, 2020 at 2:21 PM Rik Kabel 
wrote:

>
> On 12/2/2020 13:59, T. Kurt Bond wrote:
>
> Interesting.
>
> Here is a an example that sort of works, Variant 1:
>
> \definefontfamily[english] [rm] [ebgaramond] [features={default, dlig=no}]
> \setupbodyfont[english,10pt]
> \starttext
>
> Variant 1:
> Does this look like EBGaramond?
>
> fi fl ffi ffl ct st
> \stoptext
>
>
> However, it turns of *all* the ligatures.
>
> Here is an example that works as expected, Variant 2:
>
> \definefontfeature[english][dlig=no]
> \definefontfamily[ebgaramond] [rm] [EB Garamond]
>  [features={default,english}]
> \setupbodyfont[ebgaramond,10pt]
>
> \starttext
>
> Variant 2:
> Does this look like EBGaramond?
>
> fi fl ffi ffl ct st
> \stoptext
>
>
> It turns off just the ct and st ligatures.
>
> I've attached the generated PDF files for both variants.
>
>
> No, it turns off other ligatures as well, so is not a generally workable
> solution. (Try *fj* and *ſi*, for two examples.)
>
> --
> Rik
>
> ___
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : ntg-context@ntg.nl /
> http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
>
> ___
>


-- 
T. Kurt Bond, tkurtb...@gmail.com, https://tkurtbond.github.io
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] How do I get rid of the ct and st ligatures in EBGaramond?

2020-12-02 Thread T. Kurt Bond
I agree, this solution does seem cleaner to me.  Thanks!

On Wed, Dec 2, 2020 at 1:23 PM Pablo Rodriguez  wrote:

> On 12/2/20 6:56 PM, T. Kurt Bond wrote:
> > Ah, ok.
> >
> > Here is a minimal NONWORKING example: the resulting PDF shows the ct and
> > st ligatures.  What commands should I use to turn them off?
>
> Hi Kurt,
>
> here you have the sample that should work:
>
>   %~ \definefontfamily[ebgaramond] [rm] [ebgaramond]
>
> %~ [features={default,dlig=no}]
>
>   \definefontfeature[english][dlig=no]
>
>   \definefontfamily[ebgaramond] [rm] [EB Garamond]
>
> [features={default,english}]
>
>   \setupbodyfont[ebgaramond,10pt]
>
>   \starttext
>
>   ct st
>
>   \stoptext
>
> BTW, on my system the default doesn’t get discretionary ligatures.
>
> Your sample didn’t work because the identifier for \definefontfamily
> (english) was different from the one used in \setupbodyfont. (If they
> don’t match, it cannot work.)
>
> Another cleaner approach is to define font features to invoke them in
> \definefontfamily. This method seems cleaner to me.
>
> I hope it helps,
>
> Pablo
> --
> http://www.ousia.tk
>
> ___
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : ntg-context@ntg.nl /
> http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
>
> ___
>


-- 
T. Kurt Bond, tkurtb...@gmail.com, https://tkurtbond.github.io
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] How do I get rid of the ct and st ligatures in EBGaramond?

2020-12-02 Thread T. Kurt Bond
Interesting.

Here is a an example that sort of works, Variant 1:

\definefontfamily[english] [rm] [ebgaramond] [features={default, dlig=no}]
\setupbodyfont[english,10pt]
\starttext

Variant 1:
Does this look like EBGaramond?

fi fl ffi ffl ct st
\stoptext


However, it turns of *all* the ligatures.

Here is an example that works as expected, Variant 2:

\definefontfeature[english][dlig=no]
\definefontfamily[ebgaramond] [rm] [EB Garamond]
 [features={default,english}]
\setupbodyfont[ebgaramond,10pt]

\starttext

Variant 2:
Does this look like EBGaramond?

fi fl ffi ffl ct st
\stoptext


It turns off just the ct and st ligatures.

I've attached the generated PDF files for both variants.


On Wed, Dec 2, 2020 at 1:23 PM Pablo Rodriguez  wrote:

> On 12/2/20 6:56 PM, T. Kurt Bond wrote:
> > Ah, ok.
> >
> > Here is a minimal NONWORKING example: the resulting PDF shows the ct and
> > st ligatures.  What commands should I use to turn them off?
>
> Hi Kurt,
>
> here you have the sample that should work:
>
>   %~ \definefontfamily[ebgaramond] [rm] [ebgaramond]
>
> %~ [features={default,dlig=no}]
>
>   \definefontfeature[english][dlig=no]
>
>   \definefontfamily[ebgaramond] [rm] [EB Garamond]
>
> [features={default,english}]
>
>   \setupbodyfont[ebgaramond,10pt]
>
>   \starttext
>
>   ct st
>
>   \stoptext
>
> BTW, on my system the default doesn’t get discretionary ligatures.
>
> Your sample didn’t work because the identifier for \definefontfamily
> (english) was different from the one used in \setupbodyfont. (If they
> don’t match, it cannot work.)
>
> Another cleaner approach is to define font features to invoke them in
> \definefontfamily. This method seems cleaner to me.
>
> I hope it helps,
>
> Pablo
> --
> http://www.ousia.tk
>
> ___
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : ntg-context@ntg.nl /
> http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
>
> ___
>


-- 
T. Kurt Bond, tkurtb...@gmail.com, https://tkurtbond.github.io


ebgaramond-lig.pdf
Description: Adobe PDF document


ebgaramond-lig-variant-2.pdf
Description: Adobe PDF document
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] How do I get rid of the ct and st ligatures in EBGaramond?

2020-12-02 Thread T. Kurt Bond
That did the trick, thanks!

Should I put that on the wiki?  Where should it go?

On Wed, Dec 2, 2020 at 1:07 PM Joey McCollum 
wrote:

> You'll need to use the alias for the font family, as follows:
>
> \definefontfamily[english] [rm] [ebgaramond] [features={default, hlig=no}]
>
> \setupbodyfont[english,10pt]
>
> \starttext
>
> ct st
>
> \stoptext
>
> On Wed, Dec 2, 2020 at 12:56 PM T. Kurt Bond  wrote:
>
>> Ah, ok.
>>
>> Here is a minimal NONWORKING example: the resulting PDF shows the ct and
>> st ligatures.  What commands should I use to turn them off?
>>
>> \definefontfamily[english] [rm] [ebgaramond] [features={default,dlig=no}]
>> \setupbodyfont[ebgaramond,10pt]
>> \starttext
>> ct st
>> \stoptext
>>
>>
>> On Wed, Dec 2, 2020 at 12:35 PM Hans Hagen  wrote:
>>
>>> On 12/2/2020 6:14 PM, T. Kurt Bond wrote:
>>> > It does help.  Thanks.
>>> >
>>> > But how do I turn that font feature off in ConTeXt?
>>> You forget to add a MWE ...
>>>
>>> Hans
>>>
>>> -
>>>Hans Hagen | PRAGMA ADE
>>>    Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>>> tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
>>> -
>>>
>>
>>
>> --
>> T. Kurt Bond, tkurtb...@gmail.com, https://tkurtbond.github.io
>>
>> ___
>> If your question is of interest to others as well, please add an entry to
>> the Wiki!
>>
>> maillist : ntg-context@ntg.nl /
>> http://www.ntg.nl/mailman/listinfo/ntg-context
>> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
>> archive  : https://bitbucket.org/phg/context-mirror/commits/
>> wiki : http://contextgarden.net
>>
>> ___
>>
>
> ___
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : ntg-context@ntg.nl /
> http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
>
> ___
>


-- 
T. Kurt Bond, tkurtb...@gmail.com, https://tkurtbond.github.io
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] How do I get rid of the ct and st ligatures in EBGaramond?

2020-12-02 Thread T. Kurt Bond
Ah, ok.

Here is a minimal NONWORKING example: the resulting PDF shows the ct and st
ligatures.  What commands should I use to turn them off?

\definefontfamily[english] [rm] [ebgaramond] [features={default,dlig=no}]
\setupbodyfont[ebgaramond,10pt]
\starttext
ct st
\stoptext


On Wed, Dec 2, 2020 at 12:35 PM Hans Hagen  wrote:

> On 12/2/2020 6:14 PM, T. Kurt Bond wrote:
> > It does help.  Thanks.
> >
> > But how do I turn that font feature off in ConTeXt?
> You forget to add a MWE ...
>
> Hans
>
> -
>Hans Hagen | PRAGMA ADE
>Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
> tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
> ---------
>


-- 
T. Kurt Bond, tkurtb...@gmail.com, https://tkurtbond.github.io
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] How do I get rid of the ct and st ligatures in EBGaramond?

2020-12-02 Thread T. Kurt Bond
It does help.  Thanks.

But how do I turn that font feature off in ConTeXt?

On Wed, Dec 2, 2020 at 11:55 AM Joey McCollum 
wrote:

> If you're using Octavio Pardo's version of EB Garamond (
> https://github.com/octaviopardo/EBGaramond12), then these ligatures are
> covered (along with the Th ligature) by the "dlig" (discretionary
> ligatures) feature, so you'll need to disable that. Unfortunately, this
> will also disable the Th ligature. This is a known, open issue for the
> font: https://github.com/octaviopardo/EBGaramond12/issues/20.
>
> I hope this helps.
>
> On Wed, Dec 2, 2020 at 11:41 AM T. Kurt Bond  wrote:
>
>> Searches didn't reveal the answer.
>>
>> --
>> T. Kurt Bond, tkurtb...@gmail.com, https://tkurtbond.github.io
>>
>> ___
>> If your question is of interest to others as well, please add an entry to
>> the Wiki!
>>
>> maillist : ntg-context@ntg.nl /
>> http://www.ntg.nl/mailman/listinfo/ntg-context
>> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
>> archive  : https://bitbucket.org/phg/context-mirror/commits/
>> wiki : http://contextgarden.net
>>
>> ___
>>
>
> ___
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : ntg-context@ntg.nl /
> http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
>
> ___
>


-- 
T. Kurt Bond, tkurtb...@gmail.com, https://tkurtbond.github.io
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


[NTG-context] How do I get rid of the ct and st ligatures in EBGaramond?

2020-12-02 Thread T. Kurt Bond
Searches didn't reveal the answer.

-- 
T. Kurt Bond, tkurtb...@gmail.com, https://tkurtbond.github.io
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] How do I specify a fallback to Symbola for the playing card range?

2020-09-11 Thread T. Kurt Bond
My apologies for my confusion, and my thanks!  That did it!

On Fri, Sep 11, 2020 at 10:15 AM Wolfgang Schuster <
wolfgang.schuster.li...@gmail.com> wrote:

> T. Kurt Bond schrieb am 11.09.2020 um 16:12:
> > I tried using
> >
> "\definefontfallback[mainface][rm][Symbola][range=playingcards,force=yes]"
> > and the PLAYING CARD ACE OF SPADES still didn't show up in the output.
>
> It's the wrong command, you need \definefallbackfamily when you use
> \definefontfontfamily.
>
> \definefallbackfamily[mainface][rm][Symbola][range=playingcards,force=yes]
>
> Wolfgang
>
>

-- 
T. Kurt Bond, tkurtb...@gmail.com, https://tkurtbond.github.io
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] How do I specify a fallback to Symbola for the playing card range?

2020-09-11 Thread T. Kurt Bond
I tried using
"\definefontfallback[mainface][rm][Symbola][range=playingcards,force=yes]"
and the PLAYING CARD ACE OF SPADES still didn't show up in the output.

I'm using " ConTeXt  ver: 2020.09.03 20:03 LMTX  fmt: 2020.9.3  int:
english/english",


On Thu, Sep 10, 2020 at 9:05 AM Wolfgang Schuster <
wolfgang.schuster.li...@gmail.com> wrote:

> T. Kurt Bond schrieb am 09.09.2020 um 21:40:
> > I want to use the Unicode Character PLAYING CARD ACE OF SPADES in a
> > ConTeXt document.  Because of the way the source document is created it
> > has to be as the actual unicode character itself, rather than a
> > reference to a specific character in a specific font.
> >
> > Here's what I've tried, but it doesn't work:
> >
> >
> \definefontfallback[mainface][rm][Symbola][preset=range:playingcards,force=yes]
>
> Try
>
> \definefontfallback[mainface][rm][Symbola][range=playingcards,force=yes]
>
> The "range:..." presets are just a comma separated list of name which
> are passed to the range key.
>
> Wolfgang
>


-- 
T. Kurt Bond, tkurtb...@gmail.com, https://tkurtbond.github.io
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


[NTG-context] How do I specify a fallback to Symbola for the playing card range?

2020-09-09 Thread T. Kurt Bond
I want to use the Unicode Character PLAYING CARD ACE OF SPADES in a ConTeXt
document.  Because of the way the source document is created it has to be
as the actual unicode character itself, rather than a reference to a
specific character in a specific font.

Here's what I've tried, but it doesn't work:

\definefontfallback[mainface][rm][Symbola][preset=range:playingcards,force=yes]
\definefontfamily[mainface][rm][LibertinusSerif]
\enabletrackers[fonts.missing]
\setupbodyfont[mainface]
\starttext
🂡 Testing!
\stoptext

The PLAYING CARD ACE OF SPADES character does not show up in the output
PDF.

Can anyone tell me how to do this?

Thanks!
-- 
T. Kurt Bond, tkurtb...@gmail.com, https://tkurtbond.github.io
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] LMTX running on macOS Catalina; fuzzy paragraphs; unwanted whitespace

2020-03-23 Thread T. Kurt Bond
Yes, that did the trick!  Thanks!

On Mon, Mar 23, 2020 at 3:15 PM Wolfgang Schuster <
wolfgang.schuster.li...@gmail.com> wrote:

> T. Kurt Bond schrieb am 23.03.2020 um 16:50:
> > It turns out that the extra whitespace before and after the section
> > headers in the body appears when I put \startcolumns[n=2] before the
> > body text and \stopcolumns after it.  Here's the MWE, just slightly
> > modified from your example:
> >
> >  begin example
> > [...]
> >  end example
>
> The old columns environment was replaced a while ago with the newer
> (although available since a few years) mixedcolumns environment.
>
> A big difference between the old columns code and new code is that the
> new code relies on a page grid which can lead to extra lines in the
> output, because ConTeXt adds extra space to put text on the grid.
>
> When you don't care about the grid you can disable it for the columns
> environment but this has to be done also for headers which have their
> own grid option.
>
> Another option is to try the pagecolumns environment, which is another
> environment for multi columns text but it's a very recent addition and
> lacks some features like column balancing.
>
>  begin columns
> \setuphead
>[chapter,section,subsection,subsubsection]
>[before={\blank[nowhite]},
> after={\blank[nowhite]},
> grid=no]
>
> \setupwhitespace
>[medium]
>
> \setuplist
>[chapter,section,subsection,subsubsection]
>[before={\blank[nowhite]},
> after={\blank[nowhite]}]
>
> \setupcolumns
>[grid=no]
>
> \starttext
>
> \startcolumns
>
> \completecontent
>
> \chapter{Chapter}
>
> \samplefile{knuth}
>
> \section{Section}
>
> \samplefile{weisman}
>
> \subsection{Subsection}
>
> \samplefile{weisman}
>
> \subsubsection{Subsubsection}
>
> \samplefile{weisman}
>
> \stopcolumns
>
> \stoptext
>  end columns
>
> Wolfgang
>


-- 
T. Kurt Bond, tkurtb...@gmail.com
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] LMTX running on macOS Catalina; fuzzy paragraphs; unwanted whitespace

2020-03-23 Thread T. Kurt Bond
It turns out that the extra whitespace before and after the section headers
in the body appears when I put \startcolumns[n=2] before the body text and
\stopcolumns after it.  Here's the MWE, just slightly modified from your
example:

 begin example
\setuphead
   [chapter,section,subsection,subsubsection]
   [before={\blank[nowhite]},
after={\blank[nowhite]}]

\setupwhitespace
   [medium]

%\showgrid

\starttext

\startcolumns[n=2]

\completecontent

\chapter{Chapter}

\samplefile{knuth}

\section{Section}

\samplefile{weisman}

\subsection{Subsection}

\samplefile{weisman}

\subsubsection{Subsubsection}

\samplefile{weisman}

\stopcolumns

\stoptext
 end example

On Sun, Mar 22, 2020 at 10:07 PM Wolfgang Schuster <
wolfgang.schuster.li...@gmail.com> wrote:

> T. Kurt Bond schrieb am 22.03.2020 um 23:37:
> > I got LMTX running on macOS Catalina.  I followed the directions here
> > <https://wiki.contextgarden.net/Installing_ConTeXt_LMTX_on_MacOS> for
> > versions prior to Catalina, including authorizing the mtxrun script
> > through Security & Privacy General tab.  The first run of install.sh
> > stopped with the errors:
> >
> > cp: cannot stat
> >
>  '/Users/tkb/context-osx-64/tex/texmf-context/scripts/context/lua/mtxrun.lua':
> > No such file or directory
> > cp: cannot stat
> >
>  
> '/Users/tkb/context-osx-64/tex/texmf-context/scripts/context/lua/mtx-install.lua':
> > No such file or directory
> >
> >
> > So I ran install.sh again.  This time it said a bunch of things were
> > missing and downloaded them.  It seemed to finish ok, so I ran context
> > on my document and it produced a PDF!  (The ConTexT with TeXLive 2018
> > and TeXLive 2019 both died on this document with different unhelpful
> > errors, by the way.)
> >
> > Both LMTX and TeXLive 2019 ran 5 to 10 times slower than TeXLive 2018,
> > and both complain about "fuzzy paragraphs" with a list of U+
> > codepoints.  What's that mean?
> >
> > However, the PDF has unwanted whitespace in many areas.
> >
> >   * It has unwanted whitespace between the entries in the Table of
> > Contents.
> >   * It has unwanted whitespace before and after section headings,
> > despite me having "before={},after={}" in the \setuphead commands
> > for all the levels of sections.
> >   * And it had a large unwanted white space between paragraphs until I
> > \setupwhitespace[none]. I'd prefer a little bit of white space
> > between paragraphs, but I tried \setupwhitespace[0.5ex] and
> > \definemeasure[between][0.25ex] with
> > \setupwhitespace[\measure{between}], and \setupwhitespace[5pt] but
> > all those went back to way too much white space between paragraphs.
> >
> > Any ideas?
>
> Do you have a working minimal example for the problem because when I run
> the following example on my machine there is no extra whitespace.
>
>  begin example
> \setuphead
>[chapter,section,subsection,subsubsection]
>[before={\blank[nowhite]},
> after={\blank[nowhite]}]
>
> \setupwhitespace
>[medium]
>
> %\showgrid
>
> \starttext
>
> \completecontent
>
> \chapter{Chapter}
>
> \samplefile{knuth}
>
> \section{Section}
>
> \samplefile{weisman}
>
> \subsection{Subsection}
>
> \samplefile{weisman}
>
> \subsubsection{Subsubsection}
>
> \samplefile{weisman}
>
> \stoptext
>  end example
>
> Wolfgang
>
>

-- 
T. Kurt Bond, tkurtb...@gmail.com
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


[NTG-context] LMTX running on macOS Catalina; fuzzy paragraphs; unwanted whitespace

2020-03-22 Thread T. Kurt Bond
I got LMTX running on macOS Catalina.  I followed the directions here
<https://wiki.contextgarden.net/Installing_ConTeXt_LMTX_on_MacOS> for
versions prior to Catalina, including authorizing the mtxrun script through
Security & Privacy General tab.  The first run of install.sh stopped with
the errors:

cp: cannot stat
'/Users/tkb/context-osx-64/tex/texmf-context/scripts/context/lua/mtxrun.lua':
No such file or directory
cp: cannot stat
'/Users/tkb/context-osx-64/tex/texmf-context/scripts/context/lua/mtx-install.lua':
No such file or directory


So I ran install.sh again.  This time it said a bunch of things were
missing and downloaded them.  It seemed to finish ok, so I ran context on
my document and it produced a PDF!  (The ConTexT with TeXLive 2018 and
TeXLive 2019 both died on this document with different unhelpful errors, by
the way.)

Both LMTX and TeXLive 2019 ran 5 to 10 times slower than TeXLive 2018, and
both complain about "fuzzy paragraphs" with a list of U+ codepoints.
What's that mean?

However, the PDF has unwanted whitespace in many areas.

   - It has unwanted whitespace between the entries in the Table of
   Contents.
   - It has unwanted whitespace before and after section headings, despite
   me having "before={},after={}" in the \setuphead commands for all the
   levels of sections.
   - And it had a large unwanted white space between paragraphs until I
   \setupwhitespace[none]. I'd prefer a little bit of white space between
   paragraphs, but I tried \setupwhitespace[0.5ex] and
   \definemeasure[between][0.25ex] with \setupwhitespace[\measure{between}],
   and \setupwhitespace[5pt] but all those went back to way too much white
   space between paragraphs.

Any ideas?
-- 
T. Kurt Bond, tkurtb...@gmail.com
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


[NTG-context] Indenting entries in the table of contents?

2020-03-20 Thread T. Kurt Bond
I'd like subsection entries in the table of contents to be indented
slightly, and subsubsection entries to be indented slightly more, and
subsubsubsection entries to be indented some more.

Is there any way to do this?

-- 
T. Kurt Bond, tkurtb...@gmail.com
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


[NTG-context] Finding a

2018-03-03 Thread T. Kurt Bond
If I have a module I want to use from several documents in different places
in my home directory tree, is there some directory under my directory where
I can put the module where it will be found?  Someplace under $HOME/texmf
for instance?

-- 
T. Kurt Bond, tkurtb...@gmail.com and http://consp.org/~tkb
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

[NTG-context] Extend is indented after section (2nd try)

2017-11-03 Thread T. Kurt Bond
[This is a second try at sending this message, after I got the not that I'm
on the mailing list now.]

Hello,

When I'm using an exdent after a section command, the first line of the
exdented paragraph is indented, instead of exdented.  Here's an example:

=
\definestartstop
  [exdent]
  [before={\startnarrower[left]\setupindenting[-\leftskip,yes]},
   after=\stopnarrower]
\starttext
\startcolumns[n=2]
\section{Heading 1}
Some text.
\startexdent
This sentence needs to be long enough to wrap at least once.

This sentence needs to be long enough to wrap at least once.
\stopexdent
\section{Heading 2}
\startexdent
This sentence needs to be long enough to wrap at least once.

This sentence needs to be long enough to wrap at least once.
\stopexdent
\stoptext
=

The paragraph after "Heading 2" is indented.  If I delete the text "Some
text." after "Heading 1", the exdented paragraph is is also indented
instead of exdented.

What can I do to prevent this?

-- 
T. Kurt Bond, tkurtb...@gmail.com and http://consp.org/~tkb
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___