ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* bug with columnsets in projects
@ 2010-09-28 14:25 Steffen Wolfrum
  2010-09-29  7:27 ` Steffen Wolfrum
  2010-09-29 18:05 ` Wolfgang Schuster
  0 siblings, 2 replies; 6+ messages in thread
From: Steffen Wolfrum @ 2010-09-28 14:25 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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

Hi,

please see attached example:

If you run the file containing the columnset directly (chap_X) it runs fine.

But if you run MyProduct.tex there is an error:



! Missing } inserted.

system          > error on line 21 in file MyProduct.tex: Missing  ...

11     %\component TOCtocDatei
12     \stopfrontmatter
13     %
14     \startbodymatter
15     \component chap_X
16     %\component teil_1
17     %\component teil_2
18     %\component teil_3
19     %\component teil_4
20     %\component teil_5
21 >>  \stopbodymatter
22     %
23     \startbackmatter
24     %\component register
25     \stopbackmatter
26     \stopproduct

<inserted text> 
                }
<to be read again> 
                   \endgroup 
l.21 \stopbodymatter
                    
? 




This is with MkIV.

Steffen
-------


[-- Attachment #2: project_minimal.zip --]
[-- Type: application/zip, Size: 12704 bytes --]

[-- Attachment #3: Type: text/plain, Size: 486 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: bug with columnsets in projects
  2010-09-28 14:25 bug with columnsets in projects Steffen Wolfrum
@ 2010-09-29  7:27 ` Steffen Wolfrum
  2010-09-29  7:35   ` Steffen Wolfrum
  2010-09-29 18:05 ` Wolfgang Schuster
  1 sibling, 1 reply; 6+ messages in thread
From: Steffen Wolfrum @ 2010-09-29  7:27 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 28.09.2010 um 16:25 schrieb Steffen Wolfrum:

> Hi,
> 
> please see attached example:
> 
> If you run the file containing the columnset directly (chap_X) it runs fine.
> 
> But if you run MyProduct.tex there is an error:
> 
> 
> 
> ! Missing } inserted.
> 
> system          > error on line 21 in file MyProduct.tex: Missing  ...
> 
> 11     %\component TOCtocDatei
> 12     \stopfrontmatter
> 13     %
> 14     \startbodymatter
> 15     \component chap_X
> 16     %\component teil_1
> 17     %\component teil_2
> 18     %\component teil_3
> 19     %\component teil_4
> 20     %\component teil_5
> 21 >>  \stopbodymatter
> 22     %
> 23     \startbackmatter
> 24     %\component register
> 25     \stopbackmatter
> 26     \stopproduct
> 
> <inserted text> 
>                }
> <to be read again> 
>                   \endgroup 
> l.21 \stopbodymatter
> 
> ? 
> 
> 
> 
> 
> This is with MkIV.



If I would use columns instead of columnsets there is also an error, but different:

systems         : end file chap_X at line 15
structure       : end of sectionblock bodypart
backends        > using xmp file '/Users/steffen/context/tex/texmf-context/tex/context/base/lpdf-pdx.xml'
pages           > flushing realpage 1, userpage 1, subpage 1
structure       : begin of sectionblock backpart
structure       : end of sectionblock backpart
)
*


Hope that helps?

Steffen
___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: bug with columnsets in projects
  2010-09-29  7:27 ` Steffen Wolfrum
@ 2010-09-29  7:35   ` Steffen Wolfrum
  0 siblings, 0 replies; 6+ messages in thread
From: Steffen Wolfrum @ 2010-09-29  7:35 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 29.09.2010 um 09:27 schrieb Steffen Wolfrum:

> 
> Am 28.09.2010 um 16:25 schrieb Steffen Wolfrum:
> 
>> Hi,
>> 
>> please see attached example:
>> 
>> If you run the file containing the columnset directly (chap_X) it runs fine.
>> 
>> But if you run MyProduct.tex there is an error:
>> 
>> 
>> 
>> ! Missing } inserted.
>> 
>> system          > error on line 21 in file MyProduct.tex: Missing  ...
>> 
>> 11     %\component TOCtocDatei
>> 12     \stopfrontmatter
>> 13     %
>> 14     \startbodymatter
>> 15     \component chap_X
>> 16     %\component teil_1
>> 17     %\component teil_2
>> 18     %\component teil_3
>> 19     %\component teil_4
>> 20     %\component teil_5
>> 21 >>  \stopbodymatter
>> 22     %
>> 23     \startbackmatter
>> 24     %\component register
>> 25     \stopbackmatter
>> 26     \stopproduct
>> 
>> <inserted text> 
>>               }
>> <to be read again> 
>>                  \endgroup 
>> l.21 \stopbodymatter
>> 
>> ? 
>> 
>> 
>> 
>> 
>> This is with MkIV.
> 
> 
> 
> If I would use columns instead of columnsets there is also an error, but different:
> 
> systems         : end file chap_X at line 15
> structure       : end of sectionblock bodypart
> backends        > using xmp file '/Users/steffen/context/tex/texmf-context/tex/context/base/lpdf-pdx.xml'
> pages           > flushing realpage 1, userpage 1, subpage 1
> structure       : begin of sectionblock backpart
> structure       : end of sectionblock backpart
> )
> *


In this case (columns) it would help to include the file not as a \component but as a regular file via \input.
This runs without "*" error.

Yet, trying the same with the original case (columnsets) fails: this just does not get processed!
Again a "}" is supposed to be missing.


Can someone confirm this? Is there a workaround?

Steffen
___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: bug with columnsets in projects
  2010-09-28 14:25 bug with columnsets in projects Steffen Wolfrum
  2010-09-29  7:27 ` Steffen Wolfrum
@ 2010-09-29 18:05 ` Wolfgang Schuster
  2010-09-29 18:51   ` Steffen Wolfrum
  1 sibling, 1 reply; 6+ messages in thread
From: Wolfgang Schuster @ 2010-09-29 18:05 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Steffen Wolfrum


Am 28.09.2010 um 16:25 schrieb Steffen Wolfrum:

> Hi,
> 
> please see attached example:
> 
> If you run the file containing the columnset directly (chap_X) it runs fine.

The error message is misleading but after i copied everything in one file i found the culprit,
there is a invalid character in your chap_X file you can see in this message:

! Missing } inserted.

system          > error on line 16 in file MyProduct.tex: Missing  ...

 6     
 7     \startcolumnset[INDEX]
 8     
 9     one
10     
11     \column
12     
13     two
14     ^^L\stopcolumnset
15     
16 >>  \stopbodymatter
17     
18     \stopproduct

Remove the form feed between the two and \stopcolumnset and your document runs.

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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: bug with columnsets in projects
  2010-09-29 18:05 ` Wolfgang Schuster
@ 2010-09-29 18:51   ` Steffen Wolfrum
  2010-09-29 19:08     ` Wolfgang Schuster
  0 siblings, 1 reply; 6+ messages in thread
From: Steffen Wolfrum @ 2010-09-29 18:51 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 29.09.2010 um 20:05 schrieb Wolfgang Schuster:

> 
> Am 28.09.2010 um 16:25 schrieb Steffen Wolfrum:
> 
>> Hi,
>> 
>> please see attached example:
>> 
>> If you run the file containing the columnset directly (chap_X) it runs fine.
> 
> The error message is misleading but after i copied everything in one file i found the culprit,
> there is a invalid character in your chap_X file you can see in this message:


Oh, then this really was misleading!
I never would have searched for this character ...

How did you recognize it?
You wear special glasses for seeing invisible characters, don't you?!


Whatever, thank you very, very much for your efforts :o)

Great!
Steffen
___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: bug with columnsets in projects
  2010-09-29 18:51   ` Steffen Wolfrum
@ 2010-09-29 19:08     ` Wolfgang Schuster
  0 siblings, 0 replies; 6+ messages in thread
From: Wolfgang Schuster @ 2010-09-29 19:08 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 29.09.2010 um 20:51 schrieb Steffen Wolfrum:

> Oh, then this really was misleading!
> I never would have searched for this character ...
> 
> How did you recognize it?

1. Create a *minimal* example with only one file, yours was too big to notice the control command.

2. Take a look at the command line, in my example i saw ^^L as the problem in your text.

> You wear special glasses for seeing invisible characters, don't you?!

You need only a text editor which allows you to visualize control commands.

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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-09-29 19:08 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-28 14:25 bug with columnsets in projects Steffen Wolfrum
2010-09-29  7:27 ` Steffen Wolfrum
2010-09-29  7:35   ` Steffen Wolfrum
2010-09-29 18:05 ` Wolfgang Schuster
2010-09-29 18:51   ` Steffen Wolfrum
2010-09-29 19:08     ` Wolfgang Schuster

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).