Re: [NTG-context] Fuzzy paragraph when exporting to XML

2022-05-01 Thread Hans Hagen via ntg-context

On 5/1/2022 12:17 AM, Aditya Mahajan via ntg-context wrote:

On Sat, 30 Apr 2022, Hans Hagen via ntg-context wrote:


On 4/29/2022 4:59 PM, Aditya Mahajan via ntg-context wrote:

Hi,

I am trying to debug a bug-report for t-vim:

https://github.com/adityam/filter/issues/64 Exporting with trackers=export*
gives a warning:


  backend > export > fuzzy paragraph:

I have managed to narrow it down to the attached MWE (which does not depend

on the t-vim module at all). Compiling it using


  $context --trackers=export\* lines

gives the fuzzy paragraph warning. Any hints on how to resolve this?

As you like challenges ... you can way more narrow it down ...

\setupbackend[export=yes]

\starttext
{
  \forgetall
% \forgeteverypar
  x\strut\par
}
\stoptext

the problem is that you basically loose *all* par related tagging now so
you need to bring that back, which is (of course i had to look it up) is
done with for instance \forgeteverypar which forgets (as in \forgetall)
but not really all


Thanks!

I manually tag start and end of lines anyways (using \SYNBOL ... \SYNEOL), so I 
can add \dotagsetparcounter in \SYNBOL and that removes the warning!

dangerous ... what if you get



every line cna be a par or the while can have the same par number ...






these par numbers are used to determine what text belongs to a 
meanignful something


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
___


Re: [NTG-context] Fuzzy paragraph when exporting to XML

2022-04-30 Thread Aditya Mahajan via ntg-context
On Sat, 30 Apr 2022, Hans Hagen via ntg-context wrote:

> On 4/29/2022 4:59 PM, Aditya Mahajan via ntg-context wrote:
> > Hi,
> > 
> > I am trying to debug a bug-report for t-vim:
> https://github.com/adityam/filter/issues/64 Exporting with trackers=export*
> gives a warning:
> > 
> >  backend > export > fuzzy paragraph:
> > 
> > I have managed to narrow it down to the attached MWE (which does not depend
> on the t-vim module at all). Compiling it using
> > 
> >  $context --trackers=export\* lines
> > 
> > gives the fuzzy paragraph warning. Any hints on how to resolve this?
> As you like challenges ... you can way more narrow it down ...
> 
> \setupbackend[export=yes]
> 
> \starttext
> {
>  \forgetall
>% \forgeteverypar
>  x\strut\par
> }
> \stoptext
> 
> the problem is that you basically loose *all* par related tagging now so 
> you need to bring that back, which is (of course i had to look it up) is 
> done with for instance \forgeteverypar which forgets (as in \forgetall) 
> but not really all

Thanks!

I manually tag start and end of lines anyways (using \SYNBOL ... \SYNEOL), so I 
can add \dotagsetparcounter in \SYNBOL and that removes the warning!

Thanks,
Aditya
___
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] Fuzzy paragraph when exporting to XML

2022-04-30 Thread Hans Hagen via ntg-context

On 4/29/2022 4:59 PM, Aditya Mahajan via ntg-context wrote:

Hi,

I am trying to debug a bug-report for t-vim: 
https://github.com/adityam/filter/issues/64 Exporting with trackers=export* 
gives a warning:

 backend > export > fuzzy paragraph:

I have managed to narrow it down to the attached MWE (which does not depend on 
the t-vim module at all). Compiling it using

 $context --trackers=export\* lines

gives the fuzzy paragraph warning. Any hints on how to resolve this?

As you like challenges ... you can way more narrow it down ...

\setupbackend[export=yes]

\starttext
{
\forgetall
  % \forgeteverypar
x\strut\par
}
\stoptext

the problem is that you basically loose *all* par related tagging now so 
you need to bring that back, which is (of course i had to look it up) is 
done with for instance \forgeteverypar which forgets (as in \forgetall) 
but not really all


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
___


[NTG-context] Fuzzy paragraph when exporting to XML

2022-04-29 Thread Aditya Mahajan via ntg-context
Hi,

I am trying to debug a bug-report for t-vim: 
https://github.com/adityam/filter/issues/64 Exporting with trackers=export* 
gives a warning: 

backend > export > fuzzy paragraph:

I have managed to narrow it down to the attached MWE (which does not depend on 
the t-vim module at all). Compiling it using 

$context --trackers=export\* lines

gives the fuzzy paragraph warning. Any hints on how to resolve this?

Thanks,
Aditya

lines.tex
Description: TeX document
___
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
___