[NTG-context] Spurious space in \startnarrower

2019-03-05 Thread Henri Menke
Patch for the core file is attached.

Cheers, Henri
diff --git a/tex/context/base/mkiv/spac-hor.mkiv b/tex/context/base/mkiv/spac-hor.mkiv
index 32b7f06fb..24c7c7893 100644
--- a/tex/context/base/mkiv/spac-hor.mkiv
+++ b/tex/context/base/mkiv/spac-hor.mkiv
@@ -717,7 +717,7 @@
\global\s_spac_narrower_left  \zeropoint
\global\s_spac_narrower_right \zeropoint
\global\s_spac_narrower_middle\zeropoint
-   \edef\askednarrower{#1}
+   \edef\askednarrower{#1}%
\ifx\askednarrower\v!reverse
  \ifconditional\s_spac_narrower_last_swap
\leftskip \s_spac_narrower_right_last
___
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] issue with \startattachment...\stopattachment

2019-03-05 Thread Pablo Rodriguez
On 3/5/19 9:17 PM, Wolfgang Schuster wrote:
> Pablo Rodriguez schrieb am 05.03.19 um 20:57:
>> [...]
>> I have a question: shouldn’t be “Attached file.” typeset on the main text?
> 
> No because
> 
> \startattachment ... \stopattachment
> 
> is the same as
> 
> \startbuffer[...] ... \stopbuffer
> 
> \attachment[buffer=...]
> 
> where you combine the buffer and \attachment in a single construct.

Many thanks for your reply, Wolfgang.

I thought it could be used as a kind of link.

> This does also mean the argument you pass to \startattachment is wrong.
Of course, I was thinking of something different.

Many thanks for your help,

Pablo
-- 
http://www.ousia.tk
___
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] issue with \startattachment...\stopattachment

2019-03-05 Thread Wolfgang Schuster

Pablo Rodriguez schrieb am 05.03.19 um 20:57:

Dear list,

I have the following sample:

 \setupinteraction[state=start]
 \starttext
 \startTEXpage[offset=1em]
 \startattachment
 [http://pragma-ade.com/general/manuals/xtables-mkiv.pdf]
 Attached file.
 \stopattachment
 Attached on \currentdate.
 \stopTEXpage
 \stoptext

I have a question: shouldn’t be “Attached file.” typeset on the main text?


No because

\startattachment
...
\stopattachment

is the same as

\startbuffer[...]
...
\stopbuffer

\attachment[buffer=...]

where you combine the buffer and \attachment in a single construct.

This does also mean the argument you pass to \startattachment is wrong.

Wolfgang
___
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] issue with \startattachment...\stopattachment

2019-03-05 Thread Pablo Rodriguez
Dear list,

I have the following sample:

\setupinteraction[state=start]
\starttext
\startTEXpage[offset=1em]
\startattachment
[http://pragma-ade.com/general/manuals/xtables-mkiv.pdf]
Attached file.
\stopattachment
Attached on \currentdate.
\stopTEXpage
\stoptext

I have a question: shouldn’t be “Attached file.” typeset on the main text?

Many thanks for your help,

Pablo
-- 
http://www.ousia.tk
___
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] expansion inside PDF annotations

2019-03-05 Thread Pablo Rodriguez
Dear list,

I have the following sample:

\setupinteraction[state=start]
\starttext
\startTEXpage[offset=1em]
Attached on \currentdate.
\attachment
[http://pragma-ade.com/general/manuals/xtables-mkiv.pdf]
[author={Attached on \currentdate},
 title={Attached on \currentdate}]
\stopTEXpage
\stoptext

How can I get \currentdate expanded in the PDF annotation?

Many thanks for your help,

Pablo
-- 
http://www.ousia.tk
___
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] attachment from URL

2019-03-05 Thread Pablo Rodriguez
Dear list,

I have the following sample:

\setupinteraction[state=start]
\setupinteractionscreen[option=attachment]
\starttext
\attachment

[https://eur-lex.europa.eu/legal-content/ES/TXT/PDF/?uri=CELEX:12016E/TXT]
[name=TFUE.pdf]
\stoptext

Is there a way that curl may download it to the specified name?

Many thanks for your help,

Pablo
-- 
http://www.ousia.tk
___
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] Question to key commnad at \setuphead

2019-03-05 Thread Tomas Hala
Thank you, Wolgang, that's it. 

Yesterday I tried also numbercommand, textcommand, etc. and the described
problem did not appear. Why the key "command" needs \unexpanded and
other keys (*command) not? 

Best wishes,

Tomáš 


Mon, Mar 04, 2019 ve 06:50:27PM +0100 Wolfgang Schuster napsal(a):
# Tomas Hala schrieb am 04.03.19 um 18:42:
# >Hi all,
# >
# >compiling the ME below (ConTeXt from TeXlive) I got this error message:
# >
# >! Argument of \MyChapterCommand has an extra }
# >
# >and I do not know why. What am I doing wrong?
# >
# >Best wishes,
# >
# >Tomáš
# >
# >===
# >\starttext
# >\def\MyChapterCommand#1#2{::#1//#2==}
# 
# Use
# 
# \define[2]\MyChapterCommand{::#1//#2==}
# 
# or
# 
# \unexpanded\def\MyChapterCommand#1#2{::#1//#2==}
# 
# Wolfgang

___
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] xtables rowspan

2019-03-05 Thread Arthur Reutenauer
Felipe,

On Mon, Mar 04, 2019 at 12:19:02PM -0600, Felipe de Jesús Molina Bravo wrote:
> I don't know what is happening, but i don't receive emails from de list
> ...only i receive the "Digest" emails.

  That’s a setting that you can change yourself: 
https://mailman.ntg.nl/mailman/options/ntg-context
-- you will need your list password, which you can have sent to you if
you lost it.  Once you’re logged in, look for “Your ntg-context
Subscription Options”, then “Set Digest Mode”.  It needs to be Off.
Don’t forget to save by clicking “Submit My Changes” at the very bottom.

Best,

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