[NTG-context] small fontsize and \definecolumnsetspan cause columns to jump (bug?)

2022-06-12 Thread a badin via ntg-context
Hi,

if the fontsize is smaller than ~11pt and there is \startcolumnsetspan used,
then the two first lines of the second column are not aligned to the
grid (they jump). Making the font bigger, or deleting the
\startcolumnsetspan can both fix the problem. It seems like a bug to
me, but maybe I'm doing something wrong. Any idea about how to align
all the lines in this specific table? I'm using it in a whole chapter
in a small book with poems and on a small format the jump is visible.

\showgrid
\setupbodyfont[10pt]
%\setupbodyfont[12pt] % works ok

\setuppapersize[A8] % just to make this visible
\setuplayout[grid=yes]

\definecolumnset[example2][n=6, width=20mm]
\definecolumnsetspan[title][n=6]

\starttext
\startcolumnset[example2]
\startcolumnsetspan[title]
Jumpy table \blank[line]
\stopcolumnsetspan

\input ward
\stoptext

Andrej
___
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] Workshop at FrOSCon

2022-06-09 Thread a badin via ntg-context
> From: juh+ntg-cont...@mailbox.org

> My main problem is that I never used Windows in my life and have no idea
> how to help people with installing lmtx on this platform.
>
> juh

I'm a beginner in context (and not a programmer by profession) and
installing lmtx on windows was very easy for me. the steps are on the
wiki https://wiki.contextgarden.net/Installation and it is as easy as
it is written there. I've been using context thanks to these
installation steps on win 7 and win 10. I'm not sure what the
targetgroup at the conference is, but if the people there ever used a
commandline, they should be good to go. once you install, you open the
commandline using Win+R and then type "cmd". Once in the cmd, you only
need to know the command "cd" (change directory) to navigate to the
folder where the .tex source is, so e.g. "cd c:\users\x\documents\"
and then run "context test.tex". That is the manual way.

I use sublimetext as text editor and made a new build for it, that
when I press Ctrl+B saves all changes in the open file/folder and runs
context on the open file and previews the pdf in mupdf that is zoomed
to be 1:1 paper:print on my dpi. It's a bit like TeXworks, just press
button and see the pdf, because mupdf automatically overwrites the
open pdf without asking.

It's 4 hours by train for me to Bonn and I'm not sure whether I'm a
good candidate to teach people context due to my low skill, but I can
surely teach you how to install lmtx on windows if you like (we could
call or sth).

Best,
Andrej
___
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't accent/fake characters in euler font

2022-05-19 Thread a badin via ntg-context
Hello all,

typesetting accented characters in eulernova font does not seem
possible to me. Is it really impossible? The other math fonts
(stix/xits) do it. I'm using Context LMTX 2022.01.21 20:13

\starttext
\switchtobodyfont[eulernova]
\startlines
euler:
1 - č
2 - \ccaron
3 - \v{c}
\stoplines

\switchtobodyfont[stixtwo]
\startlines
stix:
1 - č
2 - \ccaron
3 - \v{c}
\stoplines

\stoptext

In the end I'd like to be able to make more custom characters, e.g. Ĺ, ô, ä, ...
therefore I wanted to read about how those could be made, but the wiki
points to missing files:
http://source.contextgarden.net/enco-acc.tex
http://source.contextgarden.net/tex/context/base/enco-def.tex

Any help appreciated,
Andrej Badin
___
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] \externafigure and \at do not work together

2021-10-31 Thread a badin via ntg-context
The fix is not really a fix thought, as it makes the image of the
figure disappear.
Still don't know how to make a .jpg work with \at

On Sun, 31 Oct 2021 at 13:07, a badin  wrote:
>
> Hello, perhaps this is how it is supposed to work, but:
>
> \externalfigure[clock.jpg][clock]
> \starttext
> \at[clock] refers to a clock
> \stoptext
>
> produces "?? refers to a clock", instead of "1 refers a clock" --- the
> wiki of \at says, that labels of figures can be refered to. Is this a
> bug, or can only some labels be refered to? I was able to fix it
> using:
>
> \reference[clock]{\externalfigure[clock.jpg]}
> \starttext
> \at[clock] refers to a clock
> \stoptext
>
> and
>
> \externalfigure[clock][]
> \starttext
> \at
> \stoptext
>
> produces an interesting artwork... so I thought maybe this could be a
> bug. LMTX 2021.10.21
>
> Best,
> Andrej
___
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] \externafigure and \at do not work together

2021-10-31 Thread a badin via ntg-context
Hello, perhaps this is how it is supposed to work, but:

\externalfigure[clock.jpg][clock]
\starttext
\at[clock] refers to a clock
\stoptext

produces "?? refers to a clock", instead of "1 refers a clock" --- the
wiki of \at says, that labels of figures can be refered to. Is this a
bug, or can only some labels be refered to? I was able to fix it
using:

\reference[clock]{\externalfigure[clock.jpg]}
\starttext
\at[clock] refers to a clock
\stoptext

and

\externalfigure[clock][]
\starttext
\at
\stoptext

produces an interesting artwork... so I thought maybe this could be a
bug. LMTX 2021.10.21

Best,
Andrej
___
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] some ConTeXt distribution's Fonts don't work

2021-10-22 Thread a badin via ntg-context
double-checking the fonts, two still don't switch. this example
procudes a pdf with Latin Modern instead ALM Fixed and Kurier. Any
ideas on how to use those?

\starttext
\switchtobodyfont[almfixed,tt] 123abc \par
\switchtobodyfont[almfixed] 123abc \par
\switchtobodyfont[kurier] 123abc \par
\switchtobodyfont[kurier,ss] 123abc
\stoptext

Luis, the folder you've mentioned does not contain anything that would
resemble Almfixed. Kurier does not have a .lfg file there - perhaps
these are hints at a solution, but I don't know.

Andrej

On Fri, 22 Oct 2021 at 09:28, Hans Hagen  wrote:
>
> On 10/22/2021 6:30 AM, Luis Montgomery via ntg-context wrote:
> > See in
> >
> > .../context/tex/texmf-context/tex/context/fonts/mkiv/
> >
> > The names have chsnged... Ex. antykwa
> >
> > For that reason
> >
> > unknown library 'antykwatorunska'
> >
> > Cheers,
> >
> > Luis Montgomery
> >
> >
> >
> > El jue., 21 de octubre de 2021 16:01, a badin via ntg-context
> > mailto:ntg-context@ntg.nl>> escribió:
> >
> > Hi all,
> > I suppose this is a bug or something unresolved, the following code
> > renders a pdf in LMRoman (lmserif) only:
> >
> > \starttext
> > \startitemize[none]
> > \switchtobodyfont[antykwatorunska] \item font-test 123
> > \switchtobodyfont[kurier] \item font-test 123
> > \switchtobodyfont[almfixed] \item font-test 123
> > \switchtobodyfont[neoeuler] \item font-test 123
> > \switchtobodyfont[stixtwotext] \item font-test 123
> > \stopitemize
> > \stoptext
> >
> > How to switch to these fonts? Could this be fixed by default? I'm on
> > ConTeXt  ver: 2021.10.21 19:57 LMTX.
> > I've tested all the fonts from
> > https://wiki.contextgarden.net/ConTeXt_distribution%27s_Fonts
> > <https://wiki.contextgarden.net/ConTeXt_distribution%27s_Fonts> and
> > these are the only one that do not work.
> >
> > Kind regards and thanks for the great work on context, I just updated
> > and was able to run my previous code resulting in a slightly smaller
> > pdf, which I find great!
> > Andrej
> also, some are ss or tt
>
> \starttext
> \startitemize[none]
> \switchtobodyfont[antykwa] \item font-test 123
> \switchtobodyfont[kurier,ss]   \item font-test 123
> \switchtobodyfont[almfixed,tt] \item font-test 123
> \switchtobodyfont[eulernova]   \item font-test 123
> \switchtobodyfont[stixtwo] \item font-test 123
> \stopitemize
> \stoptext
>
> best wikify this
>
>
> -
>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
___


Re: [NTG-context] some ConTeXt distribution's Fonts don't work

2021-10-22 Thread a badin via ntg-context
Thank you, I've put it on the wiki.
Andrej

On Fri, 22 Oct 2021 at 09:28, Hans Hagen  wrote:
>
> On 10/22/2021 6:30 AM, Luis Montgomery via ntg-context wrote:
> > See in
> >
> > .../context/tex/texmf-context/tex/context/fonts/mkiv/
> >
> > The names have chsnged... Ex. antykwa
> >
> > For that reason
> >
> > unknown library 'antykwatorunska'
> >
> > Cheers,
> >
> > Luis Montgomery
> >
> >
> >
> > El jue., 21 de octubre de 2021 16:01, a badin via ntg-context
> > mailto:ntg-context@ntg.nl>> escribió:
> >
> > Hi all,
> > I suppose this is a bug or something unresolved, the following code
> > renders a pdf in LMRoman (lmserif) only:
> >
> > \starttext
> > \startitemize[none]
> > \switchtobodyfont[antykwatorunska] \item font-test 123
> > \switchtobodyfont[kurier] \item font-test 123
> > \switchtobodyfont[almfixed] \item font-test 123
> > \switchtobodyfont[neoeuler] \item font-test 123
> > \switchtobodyfont[stixtwotext] \item font-test 123
> > \stopitemize
> > \stoptext
> >
> > How to switch to these fonts? Could this be fixed by default? I'm on
> > ConTeXt  ver: 2021.10.21 19:57 LMTX.
> > I've tested all the fonts from
> > https://wiki.contextgarden.net/ConTeXt_distribution%27s_Fonts
> > <https://wiki.contextgarden.net/ConTeXt_distribution%27s_Fonts> and
> > these are the only one that do not work.
> >
> > Kind regards and thanks for the great work on context, I just updated
> > and was able to run my previous code resulting in a slightly smaller
> > pdf, which I find great!
> > Andrej
> also, some are ss or tt
>
> \starttext
> \startitemize[none]
> \switchtobodyfont[antykwa] \item font-test 123
> \switchtobodyfont[kurier,ss]   \item font-test 123
> \switchtobodyfont[almfixed,tt] \item font-test 123
> \switchtobodyfont[eulernova]   \item font-test 123
> \switchtobodyfont[stixtwo] \item font-test 123
> \stopitemize
> \stoptext
>
> best wikify this
>
>
> -
>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
___


[NTG-context] some ConTeXt distribution's Fonts don't work

2021-10-21 Thread a badin via ntg-context
Hi all,
I suppose this is a bug or something unresolved, the following code
renders a pdf in LMRoman (lmserif) only:

\starttext
\startitemize[none]
\switchtobodyfont[antykwatorunska] \item font-test 123
\switchtobodyfont[kurier] \item font-test 123
\switchtobodyfont[almfixed] \item font-test 123
\switchtobodyfont[neoeuler] \item font-test 123
\switchtobodyfont[stixtwotext] \item font-test 123
\stopitemize
\stoptext

How to switch to these fonts? Could this be fixed by default? I'm on
ConTeXt  ver: 2021.10.21 19:57 LMTX.
I've tested all the fonts from
https://wiki.contextgarden.net/ConTeXt_distribution%27s_Fonts and
these are the only one that do not work.

Kind regards and thanks for the great work on context, I just updated
and was able to run my previous code resulting in a slightly smaller
pdf, which I find great!
Andrej
___
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
___