[NTG-context] Re: Chemnitz, Leipzig, Call for Poster

2024-01-09 Thread juh via ntg-context
Dear Hraban,

Am Sun, Jan 07, 2024 at 09:59:14AM +0100 schrieb Henning Hraban Ramm:
> I’d like to have a poster that shows off ConTeXt/MetaFun features.
> Do you have suggestions or (even better) would you like to create it?
> It would be nice to have for further events (last year I presented ConTeXt
> at FrOSCon and CCCamp and lacked a poster).

I just submitted a talk about how we use Markdown, Pandoc and ConTeXt at
Hostsharing eG, so maybe we'll meet in Chemnitz. 

A poster would be nice. ConTeXt/MetaFun are overwhelmingly flexible and 
powerful. It is hard to come up with a good idea. Who is targeted?

ConTeXt is interesting for people that want to 

integrate a typesetting system in a publishing environment, because
ConTeXt does not stand in your way as LaTeX often do and has many
programming features (lua, xml ...) or

typeset very customized layouts.

These two target groups are very different. Integratable building blocks
for a complex publishing system or programmable layout machine – sorry, I am 
just
brainstorming, but I like the idea of a poster.

juh

-- 
Autoren-Homepage: . http://literatur.hasecke.com
Satiren & Essays: . http://www.sudelbuch.de
Privater Blog:  http://www.hasecke.eu
Netzliteratur-Projekt:  http://www.generationenprojekt.de




signature.asc
Description: PGP signature
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] Re: Fwd: Re: x mark symbol and general symbol guide

2024-01-09 Thread Hans Hagen

On 1/9/2024 8:31 PM, Gerion Entrup wrote:


My system awesome font is version 6 but isn't the one bundled with
ConTeXt version 5 (FontAwesome.otf)? This one:
tex/texmf/fonts/data/fonticons/fontawesome/FontAwesome.otf: OpenType font data

I would assume that ConTeXt is using the bundled file by default.
It's not our hobby to keep up with font versions and changing names so 
we depend on users to signal that. Also, with fonts you never know what 
updated fonts will break.


In a next upload we'll define a list of names [5-9] so that we're more 
future proof.


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 / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] Width of captions and notes in outer margin not correct on even pages

2024-01-09 Thread Milan cel Mare via ntg-context

Hi,

I have observed that the widths of captions and also notes on even pages
is not as I would expect them to be.

Reading through the documentation I figured out that the width for
captions has to be set manually when they are placed in the outer
margin. I did so by setting it to width=\outermarginwidth.

But it seems that for captions the width is derived from the inner
margin width on even pages.

The width of notes in the outer margin placed with \inouter is also off
on even pages. They are too narrow and do not "fill" the available space
(things seems to work for notes in inner margins though).

Here is an example:

\setuppapersize[A4]
\setuplayout[backspace=40mm, width=100mm, leftmargindistance=5mm,
leftmargin=30mm, rightmargindistance=5mm, rightmargin=50mm, topspace=10mm]
\setuppagenumbering[alternative=doublesided]
\setupcaptions[location={outermargin, low}, width=\outermarginwidth,
headcolor=red, color=green, style={\tfx\setupinterlinespace}, align=width]
\setupexternalfigures[location=default]
\setupmargindata[style={\tfx}, stack=yes]
\setupmargindata[inouter][color=orange]
\setupmargindata[ininner][color=blue]

\showframe

\starttext
\section{Margin Tests}
\input knuth
Some more stuff\inouter{Some multi-line text to be placed in the outer
margin to check whether it is positioned correctly.} to
read\inouter{Another multi-line text to be placed in the outer margin to
check whether it is positioned correctly.}.

\startplacefigure[title={A lengthy caption perfectly suited to perform
some tests, which cause lines to wrap.}]
{\externalfigure[cow][maxwidth=80mm]}
\stopplacefigure

More stuff\ininner{A1, A2, A3, A4 are well-known paper formats used in
Europe and in some other places.}.

\input zapf
Some more stuff\inouter{Some multi-line text to be placed in the outer
margin to check whether it is positioned correctly.} to read.

\startplacefigure[title=A SVG test with a long caption to cause line wraps.]
{\externalfigure[cow][maxwidth=70mm]}
\stopplacefigure

More stuff\ininner{A1, A2, A3, A4 are well-known paper formats used in
Europe and in some other places.} to read.

\input knuth

\stoptext


As a workaround the width for captions can be set to
width=\rightmarginwidth, but how can I solve the issue with the notes?

I am running ConteXt 2023.09.26 18:19 on Windows 10.

Thanks and best regards

Milan
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] Re: Fwd: Re: x mark symbol and general symbol guide

2024-01-09 Thread Gerion Entrup
Am Dienstag, 9. Januar 2024, 18:31:10 CET schrieb Wolfgang Schuster:
> Gerion Entrup schrieb am 09.01.2024 um 16:21:
> > Hi,
> >
> > I have to come back to that topic, since it seems not to work.
> > The said source code produces just the text "times" and "check" for me
> > (see 1.pdf). I also tried:
> >
> > ```
> > \usesymbols[fontawesome]
> >
> > \starttext
> > \showsymbolset[fontawesome-solid]
> > \stoptext
> > ```
> > and get a list of symbols that do not belong to fontawesome (see 2.pdf).
> >
> > I also tried to find the symbol file directly in the context
> > distribution and found:
> > tex/texmf-context/tex/context/base/mkiv/symb-imp-fontawesome.mkiv
> >
> > However, most parts are commented out there, one of the few remaining
> > symbols is wheelchair. However, when using that, I just got the string
> > _378 (3.pdf). Source code:
> >
> > ```
> > \usesymbols[fontawesome]
> >
> > \startTEXpage[offset=1pt]
> > \symbol[fontawesome][wheelchair]
> > \stopTEXpage
> > ```
> >
> > Is there a problem with my installation?
> > Additional output:
> > ```
> > % mtxrun --script fonts --list --all --pattern='fontawesome'
> > identifier familyname   fontname
> > filename 
> > subfont   instances
> >
> > fontawesomefontawesome  fontawesome 
> > FontAwesome.otf
> > fontawesome6brands fontawesome6brands   fontawesome6brandsregular   
> > /usr/share/fonts/fontawesome/Font Awesome 6 Brands-Regular-400.otf
> > fontawesome6brandsnormal   fontawesome6brands   fontawesome6brandsregular   
> > /usr/share/fonts/fontawesome/Font Awesome 6 Brands-Regular-400.otf
> > fontawesome6freenormal fontawesome6free fontawesome6freesolid   
> > /usr/share/fonts/fontawesome/Font Awesome 6 Free-Solid-900.otf
> > fontawesomenormal  fontawesome  fontawesome 
> > FontAwesome.otf
> > fontawesomeregular fontawesome  fontawesome 
> > FontAwesome.otf
> > ```
> 
> The symbols expect version 5 of fontawesome but you have version 6.
> 
> I guess it's time to switch to the new version of the fonts which can be 
> done by replacing 5 (file:fontawsome5...) with 6 (file:fontawsome6...) 
> in the following lines in symb-imp-fontawesome.mkiv
> 
> \definefontsynonym [FontAwesomeBrands] 
> [file:fontawesome5brandsregular400.otf]
> \definefontsynonym [FontAwesomeRegular] 
> [file:fontawesome5freeregular400.otf]
> \definefontsynonym [FontAwesomeSolid] [file:fontawesome5freesolid900.otf]
> 
> Wolfgang

My system awesome font is version 6 but isn't the one bundled with
ConTeXt version 5 (FontAwesome.otf)? This one:
tex/texmf/fonts/data/fonticons/fontawesome/FontAwesome.otf: OpenType font data

I would assume that ConTeXt is using the bundled file by default.

Gerion


signature.asc
Description: This is a digitally signed message part.
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] Re: Fwd: Re: x mark symbol and general symbol guide

2024-01-09 Thread Wolfgang Schuster

Gerion Entrup schrieb am 09.01.2024 um 16:21:

Hi,

I have to come back to that topic, since it seems not to work.
The said source code produces just the text "times" and "check" for me
(see 1.pdf). I also tried:

```
\usesymbols[fontawesome]

\starttext
\showsymbolset[fontawesome-solid]
\stoptext
```
and get a list of symbols that do not belong to fontawesome (see 2.pdf).

I also tried to find the symbol file directly in the context
distribution and found:
tex/texmf-context/tex/context/base/mkiv/symb-imp-fontawesome.mkiv

However, most parts are commented out there, one of the few remaining
symbols is wheelchair. However, when using that, I just got the string
_378 (3.pdf). Source code:

```
\usesymbols[fontawesome]

\startTEXpage[offset=1pt]
\symbol[fontawesome][wheelchair]
\stopTEXpage
```

Is there a problem with my installation?
Additional output:
```
% mtxrun --script fonts --list --all --pattern='fontawesome'
identifier familyname   fontname
filename subfont   
instances

fontawesomefontawesome  fontawesome 
FontAwesome.otf
fontawesome6brands fontawesome6brands   fontawesome6brandsregular   
/usr/share/fonts/fontawesome/Font Awesome 6 Brands-Regular-400.otf
fontawesome6brandsnormal   fontawesome6brands   fontawesome6brandsregular   
/usr/share/fonts/fontawesome/Font Awesome 6 Brands-Regular-400.otf
fontawesome6freenormal fontawesome6free fontawesome6freesolid   
/usr/share/fonts/fontawesome/Font Awesome 6 Free-Solid-900.otf
fontawesomenormal  fontawesome  fontawesome 
FontAwesome.otf
fontawesomeregular fontawesome  fontawesome 
FontAwesome.otf
```


The symbols expect version 5 of fontawesome but you have version 6.

I guess it's time to switch to the new version of the fonts which can be 
done by replacing 5 (file:fontawsome5...) with 6 (file:fontawsome6...) 
in the following lines in symb-imp-fontawesome.mkiv


\definefontsynonym [FontAwesomeBrands] 
[file:fontawesome5brandsregular400.otf]
\definefontsynonym [FontAwesomeRegular] 
[file:fontawesome5freeregular400.otf]

\definefontsynonym [FontAwesomeSolid] [file:fontawesome5freesolid900.otf]

Wolfgang

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] Re: vim syntax highlighting bug?

2024-01-09 Thread Gerion Entrup
Thanks for your effort!
I have the same problem in Neovim and linked the pull request there:
https://github.com/neovim/neovim/issues/26966

Best,
Gerion

Am Montag, 8. Januar 2024, 12:16:14 CET schrieb Vincent Hennebert:
> I was in touch with the maintainer of the context.vim syntax file about 
> this. It turns out to be an issue with the lua.vim file that is included 
> in the context one. Lua.vim highlights trailing parentheses as errors, 
> but that’s done in a way that doesn’t work well when the file is 
> included by other syntax files. It somehow steals the syntax context and 
> makes Vim stay in Lua mode when it should go back to ConTeXt mode (I’m 
> not too savvy of the details).
> 
> The maintainer came up with a workaround [1] to force returning to 
> ConTeXt mode, although the parenthesis remains highlighted as an error.
> 
> That highlight bothers me, so my own workaround is to copy the lua.vim 
> file in my own .vim/syntax folder and comment out the ‘syn match 
> luaParenError ")"’ line (l.61 in my Vim version).
> 
> Maybe playing with the ‘contained’ keyword (in lua.vim) could lead to a 
> proper solution, but I’m happy enough with my workaround that I haven’t 
> felt the need to investigate this issue any further.
> 
> Hope that helps,
> Vincent
> 
> [1] https://github.com/vim/vim/pull/13778
> 
> On 06/01/2024 12:28, Damien Thiriet via ntg-context wrote:
> > Hello,
> > 
> > 
> > Happy New Year!
> > 
> > I got into a bug in my Vim syntax highlighting version.
> > Highlight stays in lua mode after ctxlua macro is closed.
> > Here is a MWE, where «this should not be highlitghted as
> > a comment indeed is.
> > 
> > \starttext
> > 
> > Hello!
> > \ctxlua{context("does the parser work?")}
> > 
> > -- this should not be highlighted as a comment
> > 
> > \stoptext
> > 
> > Do other Vim users come into this?
> > Is my syntax file outdated?
> > 
> > I am using this Vim version on OpenBSD 7.3 -stable:
> > VIM - Vi IMproved 9.0 (2022 Jun 28, compiled Sep  6 2023 08:55:14)
> > Included patches: 1-1876
> > 
> > Best regards,
> > 
> > Damien Thiriet



signature.asc
Description: This is a digitally signed message part.
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] Re: Fwd: Re: x mark symbol and general symbol guide

2024-01-09 Thread Gerion Entrup
Hi,

I have to come back to that topic, since it seems not to work.
The said source code produces just the text "times" and "check" for me
(see 1.pdf). I also tried:

```
\usesymbols[fontawesome]

\starttext
\showsymbolset[fontawesome-solid]
\stoptext
```
and get a list of symbols that do not belong to fontawesome (see 2.pdf).

I also tried to find the symbol file directly in the context
distribution and found:
tex/texmf-context/tex/context/base/mkiv/symb-imp-fontawesome.mkiv

However, most parts are commented out there, one of the few remaining
symbols is wheelchair. However, when using that, I just got the string
_378 (3.pdf). Source code:

```
\usesymbols[fontawesome]

\startTEXpage[offset=1pt]
\symbol[fontawesome][wheelchair]
\stopTEXpage
```

Is there a problem with my installation?
Additional output:
```
% mtxrun --script fonts --list --all --pattern='fontawesome'
identifier familyname   fontname
filename subfont   
instances

fontawesomefontawesome  fontawesome 
FontAwesome.otf
fontawesome6brands fontawesome6brands   fontawesome6brandsregular   
/usr/share/fonts/fontawesome/Font Awesome 6 Brands-Regular-400.otf
fontawesome6brandsnormal   fontawesome6brands   fontawesome6brandsregular   
/usr/share/fonts/fontawesome/Font Awesome 6 Brands-Regular-400.otf
fontawesome6freenormal fontawesome6free fontawesome6freesolid   
/usr/share/fonts/fontawesome/Font Awesome 6 Free-Solid-900.otf
fontawesomenormal  fontawesome  fontawesome 
FontAwesome.otf
fontawesomeregular fontawesome  fontawesome 
FontAwesome.otf
```

Best,
Gerion



Am Montag, 16. Oktober 2023, 15:36:34 CET schrieb Gerion Entrup:
> Hans already answered my question. Thank you!
> 
> Gerion
> --  Forwarded Message  --
> 
> Subject: Re: [NTG-context] x mark symbol and general symbol guide
> Date: Freitag, 13. Oktober 2023, 18:13:42 CEST
> From: Hans Hagen 
> To: Gerion Entrup 
> 
> On 10/13/2023 2:33 PM, Gerion Entrup wrote:
> > Hi,
> > 
> > I recently tried to typeset a table with checkmarks and x marks.
> > \checkmark exists but is there a predefined x mark symbol (\xmark does
> > not work)?
> > 
> > In general: For LaTeX there exists the very helpful comprehensive LaTeX 
> > symbol list [1].
> > Is there a similar documentation for ConTeXt somewhere?
> \usesymbols[fontawesome]
> 
> \startTEXpage[offset=1ts]
>  \symbol[fontawesome-solid][times]\quad
>  \symbol[fontawesome-solid][check]
> \stopTEXpage
> 
> you can run symb-imp-fontawesome and get a list
> 
> 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
> -
> 
> -
> 



1.pdf
Description: Adobe PDF document


2.pdf
Description: Adobe PDF document


3.pdf
Description: Adobe PDF document


signature.asc
Description: This is a digitally signed message part.
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] Re: Setuphead issue!

2024-01-09 Thread G.C.H.M. Verhaag via ntg-context
Hi,
Thanks for all your attention and suggestions! I'll give them a try!
Gerard
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] Re: Setuphead issue!

2024-01-09 Thread G.C.H.M. Verhaag via ntg-context
Hi Mikael,

Figured out that the grid=yes option in the setuplayout command caused the 
issue. When I set it to no/off, the problem is gone!
However, I need it because of the columnset, when I switch the grid option off 
than the pdf-output is totally messed up, sorry!

Gerard
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] Re: Setuphead issue!

2024-01-09 Thread Henning Hraban Ramm

Am 09.01.24 um 14:43 schrieb G.C.H.M. Verhaag via ntg-context:

Hi,
The example below works as expected, but within my product it doesn't.

% Subject example before and after!

\setuphead[subject][color=limegreen,before={\blank[none]},after={\blank[none]},align={flushleft,nothyphenated,tolerant}]

\starttext
A paragraph before calling the subject.

\subject{\sc The subject}

A paragrapf after the subject was called.
\stoptext

I use the \subject command within a columnset, could that be the problem?


Yes, because text in column(sets)s is typeset on a grid.

Try \showgrid to visualize.

You can try to reduce the interlinespace for your headline font size like
\setupbodyfontenvironment[16pt][interlinespace=12pt]

That will get ugly as soon as your headlines need more than one line.

Look into details.pdf for more information on working with grids.

Hraban
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] Re: Setuphead issue!

2024-01-09 Thread Mikael Sundqvist
Hi,

On Tue, Jan 9, 2024 at 2:45 PM G.C.H.M. Verhaag via ntg-context
 wrote:
>
> Hi,
> The example below works as expected, but within my product it doesn't.
>
> % Subject example before and after!
>
> \setuphead[subject][color=limegreen,before={\blank[none]},after={\blank[none]},align={flushleft,nothyphenated,tolerant}]
>
> \starttext
> A paragraph before calling the subject.
>
> \subject{\sc The subject}
>
> A paragrapf after the subject was called.
> \stoptext
>
> I use the \subject command within a columnset, could that be the problem?

Take the file that is not working. Comment out as much as possible,
but so that you still have something that gives unexpected output. A
sample file that gives correct output is not so easy to help from.

/Mikael

PS The \sc could go into the style= in the setup.
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] Re: Setuphead issue!

2024-01-09 Thread G.C.H.M. Verhaag via ntg-context
Hi,
The example below works as expected, but within my product it doesn't.

% Subject example before and after!

\setuphead[subject][color=limegreen,before={\blank[none]},after={\blank[none]},align={flushleft,nothyphenated,tolerant}]

\starttext
A paragraph before calling the subject.

\subject{\sc The subject}

A paragrapf after the subject was called.
\stoptext

I use the \subject command within a columnset, could that be the problem?

Gerard
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] Re: Setuphead issue!

2024-01-09 Thread Mikael Sundqvist
Hi,

On Tue, Jan 9, 2024 at 11:30 AM G.C.H.M. Verhaag via ntg-context
 wrote:
>
> Hi,
>
> I'm a bit puzzled by the mkiv setuphead command of ConTeXt!
>
> The space before and after the subject command can usually be set by the 
> before and after arguments of the setuphead command.
>
> Now I'd like to have no vertical space before and after the header. I've 
> tried just that by setting either before= and after= and before=\blank[none] 
> and after=\blank[none].
>
> But none of these seem to work. Any idea?
>
> Gerard

Can you give a small but complete example where this happens?

/Mikael
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] Setuphead issue!

2024-01-09 Thread G.C.H.M. Verhaag via ntg-context

Hi,

I'm a bit puzzled by the mkiv /setuphead/ command of ConTeXt!

The space *before* and *after* the /subject/ command can usually be set 
by the *before* and *after* arguments of the /setuphead/ command.


Now I'd like to have _no vertical space_ before and after the header. 
I've tried just that by setting either *before=* and *after=* and 
*before=\blank[none]* and *after=\blank[none]*.


But none of these seem to work. Any idea?

Gerard

--
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] Setuphead issue!

2024-01-09 Thread G.C.H.M. Verhaag via ntg-context
Hi,

I'm a bit puzzled by the mkiv setuphead command of ConTeXt!

The space before and after the subject command can usually be set by the before 
and after arguments of the setuphead command.

Now I'd like to have no vertical space before and after the header. I've tried 
just that by setting either before= and after= and before=\blank[none] and 
after=\blank[none].

But none of these seem to work. Any idea?

Gerard
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] Re: Links

2024-01-09 Thread Ursula Hermann
Dear Henning, 

Many thanks .

Uschi 

-Ursprüngliche Nachricht-
Von: Henning Hraban Ramm  
Gesendet: Montag, 08. Jänner 2024 16:00
An: ntg-context@ntg.nl
Betreff: [NTG-context] Re: Links

Am 08.01.24 um 14:10 schrieb Ursula Hermann:
> Dear List,
> 
> Is this the right way?
> 
> I want to use linked bibliography numbers, linked Chapter, section 
> subsection, linked margin numbers, in the text.
> 
> \setupinteraction[state=start]

This is essential.

> 
> \starttext
> 
> Der Wert von \m{y = f(x)} ist unabhängig von der Wahl\par von 
> \m{x\doubleprime} ist gleichbedeutend mit \m{∃y : ∀x : f(x) = y} \par 
> (Beutelspacher [\hyphenatedurl {10},S.54]).
> 
> \stoptext

\hyphenatedurl only changes the hyphenation of its content, it doesn’t create a 
link. In your example it makes no sense.

Generally, you need an anchor (link target) to link to, e.g.

\startchapter[title={My chapter},reference=chap:first] or 
\chapter[chap:first]{My chapter}

This works the same for other structure levels. I’m not sure about 
bibliography, but I think you must use the bib entry code.

You can also set anchors manually using \textreference and \pagereference.

Then you can use \in[chap:first], \about[chap:first] or \at[chap:first].

For external links, you use \goto (it’s a bit extensive).

Please look up the syntax reference in the wiki.

Hraban
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) 
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___