ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Jean-Pierre Delange via ntg-context <ntg-context@ntg.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Jean-Pierre Delange <adeimantos@free.fr>
Subject: Re: critical fun
Date: Thu, 6 Jan 2022 22:09:34 +0100	[thread overview]
Message-ID: <4E8A0FCE-839E-448F-A49E-67E12C4F195D@free.fr> (raw)
In-Reply-To: <c3dc9ce3-bcc5-af0a-3bed-ead795f8c05f@xs4all.nl>

[-- Attachment #1: Type: text/plain, Size: 109 bytes --]

This ‘CriticalFun’ test failed, and CTX complains that \setupsynchronize was never defined (see the log, 

[-- Attachment #2: Hans-CriticalFun-Test-error.log --]
[-- Type: application/octet-stream, Size: 492 bytes --]

return {
 ["errortype"]=0,
 ["filename"]="./Hans-CriticalFun-Test.tex",
 ["lastcontext"]="\n<line 3.1> \n    \\setupsynchronize\n     [paralleltext] [color=darkblue]\n\n",
 ["lastluaerror"]="",
 ["lasttexerror"]="Undefined control sequence \\undefined ",
 ["lasttexhelp"]="The control sequence at the end of the top line of your error message was never\n\\def'ed. You can just continue as I'll forget about whatever was undefined.",
 ["linenumber"]=1,
 ["offset"]=10,
 ["skiplinenumber"]=0,
}

[-- Attachment #3: Type: text/plain, Size: 2261 bytes --]

as attached file)

> Le 6 janv. 2022 à 20:00, Hans Hagen via ntg-context <ntg-context@ntg.nl> a écrit :
> 
> Hi,
> 
> Maybe this is of interest to critical users:
> 
> \setupsynchronize [paralleltext] [color=darkblue]
> % \setupsynchronize [paralleltext] [style=\tx,color=darkred]
> % \setupsynchronize [paralleltext] [style=\txx,color=darkgreen]
> 
> \starttext
> 
> \dorecurse{10}{%
>    \paralleltext
>        {[een allereerste zinnetje]}
>        {[een tweede      zinnetje]}%
>    \space
>    \paralleltext
>        {[een derde zin]}
>        {[een vierde zinnetje]}
>    \space
> } \removeunwantedspaces
> \par test line \page
> 
> \paralleltext
>    {[\ignorespaces\samplefile{tufte}\removeunwantedspaces]}
>    {[\samplefile{ward}\removeunwantedspaces]}%
> \par test line \page
> 
> \paralleltext
>    {[\ignorespaces\samplefile{tufte}\removeunwantedspaces]}
>    {[\ignorespaces\samplefile{tufte}\removeunwantedspaces]}%
> \par test line \page
> 
> \paralleltext
>    {[\ignorespaces\samplefile{ward}\removeunwantedspaces]}%
>    {[\ignorespaces\samplefile{tufte}\removeunwantedspaces]}
> \par test line \page
> 
> \stoptext
> 
> Kind of experimental and semi-automatic (triggered by question from collegue). I want to add some larger text sync points (just mark locations in two running texts) stuff but i have no examples.
> 
> Hans
> 
> 
> -----------------------------------------------------------------
>                                          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 / 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
> ___________________________________________________________________________________


[-- Attachment #4: Type: text/plain, Size: 493 bytes --]

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

  reply	other threads:[~2022-01-06 21:09 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-06 19:00 Hans Hagen via ntg-context
2022-01-06 21:09 ` Jean-Pierre Delange via ntg-context [this message]
2022-01-06 21:14   ` Henning Hraban Ramm via ntg-context
2022-01-06 22:03   ` Otared Kavian via ntg-context
2022-01-08  1:03     ` Jean-Pierre Delange via ntg-context
2022-01-06 21:36 ` Henning Hraban Ramm via ntg-context
2022-01-06 22:19   ` Hans Hagen via ntg-context
2022-01-07 14:34   ` Hans Hagen via ntg-context

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4E8A0FCE-839E-448F-A49E-67E12C4F195D@free.fr \
    --to=ntg-context@ntg.nl \
    --cc=adeimantos@free.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).