[NTG-context] Re: An strange error with section and page

2023-08-27 Thread Xavier B.
Thanks. It works.

On Sun, 27 Aug 2023 21:24:54 +0200
Wolfgang Schuster  ha escrit:

> Am So., 27. Aug. 2023 um 19:54 Uhr schrieb Xavier B.  >:
> 
> > What is the state of this problem?
> > Is it some deadline here?
> >
> > I need to have a "production" document in mid september to show to my
> > students.
> > Can you please make a "push" in this topic.
> >
> 
> 
> Just update your installation, the problem is already fixed.
> 
> 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] Re: Bug between \definealternativestyle and makeup?

2023-08-27 Thread Alex Leray

Ouch, thanks for opening my eyes!

Le 27/08/23 à 21:42, Mikael Sundqvist a écrit :

Remove the period:

\definecharacterkerning [mykerning] [factor=0.15]
\definealternativestyle[mystyle][{\setcharacterkerning[mykerning]}]

\definemakeup [title] [doublesided=empty, pagestate=start]
\starttext
\starttitlemakeup
Title
\stoptitlemakeup
\stoptext

/Mikael

On Sun, Aug 27, 2023 at 9:32 PM Alex Leray  wrote:


Hi,

I found that using \definealternativestyle in conjunction with Makeup
insert a page before my Makeup page.

Any idea?

Thanks

* * *

\definecharacterkerning [mykerning] [factor=0.15]
\definealternativestyle[mystyle][{\setcharacterkerning[mykerning]}]. %%%
BUG!!!

\definemakeup [title] [doublesided=empty, pagestate=start]
\starttext
\starttitlemakeup
Title
\stoptitlemakeup
\stoptext
___
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
___

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


--
Alexandre Leray
+32 487 947 030

Avez-vous pensé à (vous) offrir Médor ?
https://medor.coop/ideescadeau
___
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] Re: Bug between \definealternativestyle and makeup?

2023-08-27 Thread Mikael Sundqvist
Remove the period:

\definecharacterkerning [mykerning] [factor=0.15]
\definealternativestyle[mystyle][{\setcharacterkerning[mykerning]}]

\definemakeup [title] [doublesided=empty, pagestate=start]
\starttext
\starttitlemakeup
Title
\stoptitlemakeup
\stoptext

/Mikael

On Sun, Aug 27, 2023 at 9:32 PM Alex Leray  wrote:
>
> Hi,
>
> I found that using \definealternativestyle in conjunction with Makeup
> insert a page before my Makeup page.
>
> Any idea?
>
> Thanks
>
> * * *
>
> \definecharacterkerning [mykerning] [factor=0.15]
> \definealternativestyle[mystyle][{\setcharacterkerning[mykerning]}]. %%%
> BUG!!!
>
> \definemakeup [title] [doublesided=empty, pagestate=start]
> \starttext
> \starttitlemakeup
> Title
> \stoptitlemakeup
> \stoptext
> ___
> 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
> ___
___
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] Bug between \definealternativestyle and makeup?

2023-08-27 Thread Alex Leray

Hi,

I found that using \definealternativestyle in conjunction with Makeup 
insert a page before my Makeup page.


Any idea?

Thanks

* * *

\definecharacterkerning [mykerning] [factor=0.15]
\definealternativestyle[mystyle][{\setcharacterkerning[mykerning]}]. %%% 
BUG!!!


\definemakeup [title] [doublesided=empty, pagestate=start]
\starttext
\starttitlemakeup
Title
\stoptitlemakeup
\stoptext
___
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] Re: An strange error with section and page

2023-08-27 Thread Wolfgang Schuster
Am So., 27. Aug. 2023 um 19:54 Uhr schrieb Xavier B. :

> What is the state of this problem?
> Is it some deadline here?
>
> I need to have a "production" document in mid september to show to my
> students.
> Can you please make a "push" in this topic.
>


Just update your installation, the problem is already fixed.

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] Re: An strange error with section and page

2023-08-27 Thread Xavier B.
What is the state of this problem?
Is it some deadline here?

I need to have a "production" document in mid september to show to my students.
Can you please make a "push" in this topic.

Thanks in advance,
Xavier

On Wed, 23 Aug 2023 22:04:36 +0200
Wolfgang Schuster  ha escrit:

> Xavier B. schrieb am 23.08.2023 um 15:02:
> > Wolfgang,
> >
> > I detect something extrange: when I use \startexercici \stopexercici (see 
> > [https://repo.or.cz/apunts-espa-matematiques.git/blob/HEAD:/ng-entorn-minimal.conTeXt])
> >  in some cases there is an *undesired* indent (see attachment image). I saw 
> > the source 
> > [https://repo.or.cz/apunts-espa-matematiques.git/blob/HEAD:/ng-aritmetica-problemes-nombres-fraccions.conTeXt]
> >  which is the first time it happens.
> >
> > I don't see anything weird.
> >
> > Can you please help me?
> 
> I found the problem but I have to discuss it with Hans.
> 
> 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] Cron /var/www/aanhet.net/context/bin/cron/context-mirror

2023-08-27 Thread Cron Daemon
receiving incremental file list
 ./
 ctan.lsr
 document-2.htm
 download-1.htm
 download-2.htm
 logo-ade.png
 logo-cts.png
 logo-pod.png
 rss.xml
 show-fil.pdf
 context/latest/
 context/latest/cont-lmt.zip
 context/latest/cont-mpd.zip
 context/latest/cont-ppc.zip
 context/latest/cont-sci.zip
 context/latest/cont-tmf.zip
 context/latest/cont-tst.7z
 context/latest/cont-tst.tar.xz
 context/latest/cont-tst.zip
 general/manuals/
 general/manuals/lowlevel-grouping.pdf
 general/manuals/lowlevel-loops.pdf
 general/manuals/lowlevel-macros.pdf
 general/manuals/musings-assumptions.pdf
 general/manuals/musings-dontusetex.pdf
 general/manuals/musings-history.pdf
 general/manuals/musings-hownotto.pdf
 general/manuals/musings-manuals.pdf
 general/manuals/musings-names.pdf
 general/manuals/musings-perception.pdf
 general/manuals/musings-plain.pdf
 general/manuals/musings-speed.pdf
 general/manuals/musings-stability.pdf
 general/manuals/musings-staygo.pdf
 general/manuals/musings-texlive.pdf
 general/manuals/musings-toocomplex.pdf
 general/manuals/musings-treasures.pdf
 general/manuals/musings-unicode.pdf
 general/manuals/musings-whytex.pdf
 general/manuals/musings.pdf
 general/manuals/primitives.pdf
 
 sent 187,695 bytes  received 50,603,595 bytes  3,762,317.78 bytes/sec
 total size is 566,408,459  speedup is 11.15


Running archiver:

New dir: /var/www/aanhet.net/context//htdocs/archives/context-2023-08-27.14
234889987   
/var/www/aanhet.net/context//htdocs/archives/context-2023-08-27.14/latest
126745317   
/var/www/aanhet.net/context//htdocs/archives/context-2023-08-27.14/current
361639400   
/var/www/aanhet.net/context//htdocs/archives/context-2023-08-27.14
361639400   total
___
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] Re: XML: Correct usage of hash symbol in url / new upload

2023-08-27 Thread Hans Hagen via ntg-context

Hi Denis,


I need to process URLs in XML documents differently depending on the target. 
Thanks to Hans and Thomas I can now deal with the attributes.
Now I need to prefix certain kind of targets with a certain URL (a web viewer 
for IIIF images in this particular case). The prefix contains a #, which, as a 
special character seems to cause an error. Adding a double hash seems to work, 
but those ## will end up in the link URL. How can I properly escape a single #? 
I've already tried using \Ux{23}, but that won't work either.

The duplication of hashes is kind of special. Consider this:

\def\foo#1{#1 test ##}

\def\foo#1{#1 test\def\more##1{(##1)}}

the internal representation of #1 is a reference to parameter 1 while 
the ## becomes one # (cc parameter) in the second exmaple followed by a 
character 1 (cc other)


then, when tex serializes e.g. in tracing it duplicates the hash (with 
cc parameter) so that the user is not confused (an alternative could 
have been to indicate a parameter reference differently but changing 
that now is no real option - what symbol to use anyway?)


with lua(meta)tex opening up matters this duplication becomes a bit 
annoying so i decided to see if it could be avoided in some cases


first i decided to provide an escape, possible because we already have 
such mechanism using # (not advertised because it is still experimental)


then i decided to just not duplicate unless we trace

in the lowlevel macro manual there is a section added that goes in more 
detail


to come back to the escaping: here is a list:

#I  loop iteraor
#P  parent loop iterator
#G  grandparent loop iterator

#H  hash
#S  space (ascii 32)
#T  tab \t
#L  newline \n
#R  return \r
#X  backslash

considering

#N nbsp

and some more. Keep in mind that #1-#9 #A-#E are in use as parameter 
references


but in the case of your url's escaping should not be needed (hopefully)

Hans

ps. all kind of expereimental because it's a bit hairy and we don't want 
to loose compatibility (hashes get interpreted in the macro preamble, 
macro body, running text, serialization etc)


-
  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://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
___