Re: [NTG-context] processdatabasefile styling of table cells

2022-04-06 Thread Bruce Horrocks via ntg-context


> On 6 Apr 2022, at 12:18, juh+ntg-context--- via ntg-context 
>  wrote:
> 
> 
> Hi all,
> 
> I include tables via csv files like this
> 
> \processdatabasefile[test][test.csv]
> 
> I was able to style the tables with this:
> 
> \setupTABLE [ split=yes, header=repeat, option=stretch,
> loffset=.5ex,roffset=.5ex]
> 
> \setupTABLE [row] [odd]
> [background=color,backgroundcolor=hs-hellblau,]
> 
> \setupTABLE [start] [spaceinbetween=25pt]
> 
> \defineseparatedlist
>   [preislistecsv]
>   [separator={;}, % tab
>before=\bTABLE,after=\eTABLE,
>first=\bTR,last=\eTR,
>left=\bTD,right=\eTD]
> 
> Is it possible to align decimal numbers in cells to the right?

This previous announcement from Hans might help.


> The data differs a lot. Sometimes only the last column contains decimal 
> numbers, sometimes the last two columns.
Not sure what will happen here - try it and see. Whenever my table layouts go 
wildly wrong, Context usually manages to display something rather than fail 
with an error code. :-)

—
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 / 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] two requests for ConTeXt

2022-04-06 Thread Henning Hraban Ramm via ntg-context

Am 06.04.22 um 17:02 schrieb Pablo Rodriguez via ntg-context:

The first one is to allow that ConTeXt LMTX also downloads the available
modules.

The second feature would be the addition of an "emoji" range for font
fallbacks.


+2

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
___


[NTG-context] not working "mtxrun --scripts cache --erase"

2022-04-06 Thread Pablo Rodriguez via ntg-context
Dear list,

I’m afraid that I have just found out that "mtxrun --scripts cache
--erase" doesn’t delete a single file from the cache.

Here is the output I get:


  $ mtxrun --scripts cache --erase

  mtx-cache   | writable path: /context/tex/texmf-cache/
luametatex-cache/context/5fe67e0bf

  mtx-cache   |

  mtx-cache   | fmt:1

  mtx-cache   | log:1

  mtx-cache   | lua:7

  mtx-cache   | lud:7

  mtx-cache   | lui:1

  mtx-cache   | luv:1

  mtx-cache   | tma:   42

  mtx-cache   | tmd:   42

  mtx-cache   |

  mtx-cache   | total  :  102

  mtx-cache   |

  mtx-cache   | writable path: /context/tex/texmf-cache/
luametatex-cache/context/5fe67e0bf

  mtx-cache   |

  mtx-cache   | fmt:0 gone,0 kept

  mtx-cache   | log:0 gone,0 kept

  mtx-cache   | lua:0 gone,0 kept

  mtx-cache   | lud:0 gone,0 kept

  mtx-cache   | lui:0 gone,0 kept

  mtx-cache   | luv:0 gone,0 kept

  mtx-cache   | tma:0 gone,0 kept

  mtx-cache   | tmd:0 gone,0 kept

  mtx-cache   |


Could anyone confirm the issue?

I’m using current latest (2022.04.01 09:37) on Linux 64bit.

Many thanks for your help,

Pablo
___
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] two requests for ConTeXt

2022-04-06 Thread Pablo Rodriguez via ntg-context
Hi Hans,

I have a couple of suggestions to be added to a not so distant release

The first one is to allow that ConTeXt LMTX also downloads the available
modules.

The second feature would be the addition of an "emoji" range for font
fallbacks.

Many thanks for your help,

Pablo
___
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] processdatabasefile styling of table cells

2022-04-06 Thread juh+ntg-context--- via ntg-context


Hi all,

I include tables via csv files like this

\processdatabasefile[test][test.csv]

I was able to style the tables with this:

\setupTABLE [ split=yes, header=repeat, option=stretch,
loffset=.5ex,roffset=.5ex]

\setupTABLE [row] [odd]
[background=color,backgroundcolor=hs-hellblau,]

\setupTABLE [start] [spaceinbetween=25pt]

\defineseparatedlist
   [preislistecsv]
   [separator={;}, % tab
before=\bTABLE,after=\eTABLE,
first=\bTR,last=\eTR,
left=\bTD,right=\eTD]

Is it possible to align decimal numbers in cells to the right?


The data differs a lot. Sometimes only the last column contains decimal 
numbers, sometimes the last two columns.


juh
___
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
___