Re: [NTG-context] Tabulate: Change cell orienation for individual cells?

2023-06-27 Thread Bruce Horrocks via ntg-context


> On 27 Jun 2023, at 09:56, Denis Maier via ntg-context  
> wrote:
> 
> Hi,
>  is it possible to override the defined orienatation for a given cell ?

\starttext
\starttabulate[|l|c|r|]
\NC this and that \NC left and right \NC here and there \NC \NR
\NC such and so \NC \rotate[rotation=90]{up and down} \NC on and on \NC \NR
\stoptabulate
\stoptext

—
Bruce Horrocks
Hampshire, UK

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

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


Re: [NTG-context] how to install on M2 Mac?

2023-06-27 Thread Henning Hraban Ramm via ntg-context

Am 27.06.23 um 22:02 schrieb Hans van der Meer via ntg-context:
After transferring the context directory to my new M2 Mac Studio 
sh.install.sh complains "Your system "Darwin arm64" is not supported 
(yet)". What now? I cannot live without TeX-ing 沈


You just copied the binaries from another computer? That doesn’t work.
Download the arm64 binaries from 
https://wiki.contextgarden.net/Installation, i.e. 
https://lmtx.pragma-ade.com/install-lmtx/context-osx-arm64.zip


Hraban

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

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


[NTG-context] how to install on M2 Mac?

2023-06-27 Thread Hans van der Meer via ntg-context
After transferring the context directory to my new M2 Mac Studio sh.install.sh 
complains "Your system "Darwin arm64" is not supported (yet)". What now? I 
cannot live without TeX-ing 沈

yours sincerely
dr. Hans van der Meer



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

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


Re: [NTG-context] expansion of section title

2023-06-27 Thread Henning Hraban Ramm via ntg-context

Am 27.06.23 um 21:01 schrieb Wolfgang Schuster via ntg-context:

Henning Hraban Ramm via ntg-context schrieb am 27.06.2023 um 20:55:

\defineregister[todos]

% add a "todos" index entry with the current section title
\define[1]\TODO{\todos{\structurevariable{title}}}

\chapter{Something}
\TODO{This is still empty!}

% at the end of the book
\chapter{work list}
\placetodos 


\define[1]\TODO{\expanded{\todos{\structurevariable{title


Thank you, that works.
I thought I tried that, but probably forgot the braces.


What is the purpose of the argument for \TODO when you don't use it?


I simplified too much, the actual definition is (now):

\define[1]\TODO{\inouter{\tt\color[ColTodo]{TODO}}\expanded{\todos{\structurevariable{title}}}\color[ColTodo]{\bf 
#1}\autoinsertnextspace}


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

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


[NTG-context] Problem with bibliography in apa

2023-06-27 Thread Marcelo Chaparro via ntg-context
Dear List,
I am using ConTeXt with TeXlive 2023. This problem did not exist in TeXlive 
2022. Also, I tried to use ConTeXt by installing it from the ConTeXt page and 
had the same problem.

When I use the apa format in the bibliography, the text "internal(number)" 
appears at the beginning of each citation:

For example:
---
A Chapter

A text (Anonymous, 2023). And (Unknown, 2022).

Bibliography

internal(1)Anonymous, A. (2023).Any book.Publisher Unknown.

internal(2)Unknown, A. (2022).An untitled book.Publisher Non-existent.

--
The source code is:

\usebtxdataset[biblio.bib]
\usebtxdefinitions[apa]

\starttext

\startchapter[title={A Chapter}]
A text \cite[book1]. And \cite[book2]
\stopchapter

\startchapter[title=Bibliography]
\placelistofpublications
\stopchapter
\stoptext
---
The bibliographic database is:

@book{book1,
author={Author Anonymous},
title={An untitled book},
year=2023,
publisher={Publisher Unknown},
}

@book{book2,
author={Author Unknown},
title={An untitled book},
year=2022,
publisher={Publisher Non-existent},}

Best regards,

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

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


Re: [NTG-context] expansion of section title

2023-06-27 Thread Wolfgang Schuster via ntg-context

Henning Hraban Ramm via ntg-context schrieb am 27.06.2023 um 20:55:

\defineregister[todos]

% add a "todos" index entry with the current section title
\define[1]\TODO{\todos{\structurevariable{title}}}

\chapter{Something}
\TODO{This is still empty!}

% at the end of the book
\chapter{work list}
\placetodos 


\define[1]\TODO{\expanded{\todos{\structurevariable{title

What is the purpose of the argument for \TODO when you don't use it?

Wolfgang

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

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


[NTG-context] expansion of section title

2023-06-27 Thread Henning Hraban Ramm via ntg-context
I think I had a good idea how to keep an overview of the “todos” in my 
book project:


\defineregister[todos]

% add a "todos" index entry with the current section title
\define[1]\TODO{\todos{\structurevariable{title}}}

\chapter{Something}
\TODO{This is still empty!}

% at the end of the book
\chapter{work list}
\placetodos


But the section title is always "work list" in the "todos" index.
I guess I need some expansion and tried \expanded, \safeexpanded, 
\expandoneargafter, \fullexpandoneargafter, but probably not in the 
right place.


How does this work?

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

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


Re: [NTG-context] Tabulate: Change cell orienation for individual cells?

2023-06-27 Thread Denis Maier via ntg-context
Ok, if you use p for the column definition you can just use \setupalign on 
individual cells...

%%%
\starttext
\starttabulate[|pA{verytolerant,extremestretch}|pA{verytolerant,extremestretch}|]
\NC Heading flushleft \NC \setupalign[flushright] Heading flushright \NC \NR
\NC \input ward  \NC \input ward \NC \NR
\stoptabulate
\stoptext
%%%

Best,
Denis

Von: ntg-context  Im Auftrag von Denis Maier via 
ntg-context
Gesendet: Dienstag, 27. Juni 2023 10:56
An: ntg-context@ntg.nl
Cc: Maier, Denis Christian (UB) 
Betreff: [NTG-context] Tabulate: Change cell orienation for individual cells?

Sie erhalten nicht oft eine E-Mail von 
ntg-context@ntg.nl. Erfahren Sie, warum dies wichtig 
ist
Hi,

is it possible to override the defined orienatation for a given cell ?

Take this example from the wiki:
%%
\starttext
\starttabulate[|l|c|r|]
\NC this and that \NC left and right \NC here and there \NC \NR
\NC such and so \NC up and down \NC on and on \NC \NR
\stoptabulate
\stoptext
%%

How can I change the alignment for a particular cell?

Best,
Denis

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

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


[NTG-context] Tabulate: Change cell orienation for individual cells?

2023-06-27 Thread Denis Maier via ntg-context
Hi,

is it possible to override the defined orienatation for a given cell ?

Take this example from the wiki:
%%
\starttext
\starttabulate[|l|c|r|]
\NC this and that \NC left and right \NC here and there \NC \NR
\NC such and so \NC up and down \NC on and on \NC \NR
\stoptabulate
\stoptext
%%

How can I change the alignment for a particular cell?

Best,
Denis

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

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