pausing compilation to show a message
Dear list, I have this minimal sample: \starttext \writestatus{apples}{oranges} \message{Have you checked this variable?} \stoptext Is there a way that I can pause the compilation proccess to show the message and that compilation would continue by pressing any key? Many thanks for your help, Pablo -- http://www.ousia.tk
Replying to my own message, I have the following sample: \starttext \message{Important Warning!!! } \message{Have you checked the input text? } \executesystemcommand{read -p ...} \input zapf \stoptext I’m experiencing two issues with the code above: How can I show the message only in the first run? Is there any conditional based on the run number? How can I insert a new line in \message? Many thanks for your help, Pablo On 04/24/2015 07:37 PM, Pablo Rodriguez wrote:
Dear list,
I have this minimal sample:
\starttext \writestatus{apples}{oranges} \message{Have you checked this variable?} \stoptext
Is there a way that I can pause the compilation proccess to show the message and that compilation would continue by pressing any key?
Many thanks for your help,
Pablo
On 4/24/2015 9:10 PM, Pablo Rodriguez wrote:
Replying to my own message, I have the following sample:
\starttext \message{Important Warning!!! } \message{Have you checked the input text? } \executesystemcommand{read -p ...} \input zapf \stoptext
I’m experiencing two issues with the code above:
How can I show the message only in the first run? Is there any conditional based on the run number?
How can I insert a new line in \message?
a system mode: \doifmode{*first}{...}
Many thanks for your help,
Pablo
On 04/24/2015 07:37 PM, Pablo Rodriguez wrote:
Dear list,
I have this minimal sample:
\starttext \writestatus{apples}{oranges} \message{Have you checked this variable?} \stoptext
Is there a way that I can pause the compilation proccess to show the message and that compilation would continue by pressing any key?
Many thanks for your help,
Pablo
-- ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
On 04/25/2015 08:33 PM, Hans Hagen wrote:
[...] How can I show the message only in the first run? Is there any conditional based on the run number? [...]
a system mode: \doifmode{*first}{...}
Many thanks for your help again, Hans. Pablo -- http://www.ousia.tk
On 4/24/2015 7:37 PM, Pablo Rodriguez wrote:
Dear list,
I have this minimal sample:
\starttext \writestatus{apples}{oranges} \message{Have you checked this variable?} \stoptext
Is there a way that I can pause the compilation proccess to show the message and that compilation would continue by pressing any key?
Many thanks for your help,
\wait ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
On 04/25/2015 08:32 PM, Hans Hagen wrote:
On 4/24/2015 7:37 PM, Pablo Rodriguez wrote:
[...] Is there a way that I can pause the compilation proccess to show the message and that compilation would continue by pressing any key?
Many thanks for your help,
\wait
Many thanks for your help, Hans. Pablo -- http://www.ousia.tk
participants (2)
-
Hans Hagen
-
Pablo Rodriguez