ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* endlinechar redefinition
@ 2007-06-01  7:42 Vit Zyka
  2007-06-02 20:58 ` Hans Hagen
  0 siblings, 1 reply; 18+ messages in thread
From: Vit Zyka @ 2007-06-01  7:42 UTC (permalink / raw)
  To: ConTeXt; +Cc: hajtmar

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

Hi Hans,

Jaroslav Hajtnar (in czech TeX list) encountered the problem with \input 
primitive redefinition. He uses a macro package for comma separated 
value file (CSV) inclusion. It redefines some catcodes and \endlinechar 
before start reading such file by \input. The problem is that during 
reading CSV the reading is interrupted by reading another file like

\readfilename ->pdfr-ec
(c:/TeXLive2005/texmf-context-a/tex/context/base/pdfr-ec.tex

ConTeXt macro \input takes care about catcodes but not about 
\endlinechar so in this situation the file pdfr-ec is read with wrong 
\endlinechar which causes error.

We believe that system solution is the ConTeXt takes care about 
\endlinechar when automatically starts reading some standard files. 
Please Hans can you look at it?

Thanks
Vit

------------------
Minimal demo attached. As a result of this problem, see the '00000' in 
the lower left page corner. Actually it is character ^^X (0x18, part of 
per-cent/per-mil char) which is used as \endlinechar delimiter.

[-- Attachment #2: endlinechar.zip --]
[-- Type: application/x-zip-compressed, Size: 3243 bytes --]

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

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

end of thread, other threads:[~2007-06-07 23:29 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-06-01  7:42 endlinechar redefinition Vit Zyka
2007-06-02 20:58 ` Hans Hagen
2007-06-04 11:38   ` Vit Zyka
2007-06-04 13:34     ` Hans Hagen
2007-06-04 14:24       ` Vit Zyka
2007-06-04 14:33         ` Hans Hagen
2007-06-04 15:50           ` Vit Zyka
2007-06-04 21:02             ` Hans Hagen
2007-06-04 14:14     ` docbook in context R. Ermers
2007-06-04 14:42       ` luigi scarso
2007-06-04 14:56         ` context file to publisher (was: docbook in context) R. Ermers
2007-06-04 16:44           ` luigi scarso
2007-06-05  8:18         ` docbook in context R. Ermers
2007-06-07  7:43         ` R. Ermers
2007-06-07  9:23           ` luigi scarso
2007-06-07 10:14             ` R. Ermers
2007-06-07 17:00               ` Aditya Mahajan
2007-06-07 23:29                 ` luigi scarso

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