ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Re: extra chars at beginning of document
  2002-03-15 12:59 extra chars at beginning of document Samuel Lacas
@ 2002-03-15 12:43 ` Frans Goddijn
  2002-03-15 17:01 ` Hans Hagen
  1 sibling, 0 replies; 8+ messages in thread
From: Frans Goddijn @ 2002-03-15 12:43 UTC (permalink / raw)


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

no problem here..

> \starttext
> \framed{blabla}
> \stoptext
> 
> I get extra "(2)"'s before my text.

[-- Attachment #2: freem.pdf --]
[-- Type: application/pdf, Size: 3759 bytes --]

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

* extra chars at beginning of document
@ 2002-03-15 12:59 Samuel Lacas
  2002-03-15 12:43 ` Frans Goddijn
  2002-03-15 17:01 ` Hans Hagen
  0 siblings, 2 replies; 8+ messages in thread
From: Samuel Lacas @ 2002-03-15 12:59 UTC (permalink / raw)


Hello,

Having just installed ConTeXt (NT, MikTeX), I found a strange thing in
the produced document (BTW, everything worked fine on Unix, this
appears only on my NT installation) from the install notes. I mean,
texexec'ing a file containing

\starttext
\framed{blabla}
\stoptext

I get extra "(2)"'s before my text.
What I actually get is 

   (2)(2)(2)(2)(2)(2)(2)(2)(2)(2)(2)
   blabla

(with blabla framed, of course). 
I tried several other mini documents, and the two's appear randomly.
The output is:

    TeXExec 2.1 - ConTeXt / PRAGMA ADE 1997-2000

	       executable : pdfetex
		   format : cont-en
		inputfile : ESSAI
		   output : pdftex
		interface : en
	     current mode : all
		  TeX run : 1

   This is pdfeTeX, Version 3.14159-14f-released-20000525-2.1 (MiKTeX
   2.1)
   entering extended mode
   (ESSAI.tex{pdftex.cfg}

   ConTeXt  ver: 2001.11.13  fmt: 2002.3.15  int: english  mes: english

   language       : language en is active
   system         : cont-new loaded
   (C:\localtexmf\tex\context\base\cont-new.tex
   systems        : beware: some patches loaded from cont-new.tex!
   system (E-TEX) : [line 473] \ifcsname
   ) (./ESSAI.tuo) (./ESSAI.tuo) (./ESSAI.tuo) (./ESSAI.tuo) (./ESSAI.tuo)
   (./ESSAI.tuo) (./ESSAI.tuo) (./ESSAI.tuo)
   systems        : begin file ESSAI at line 1
   [1.1{psfonts.map}]
   systems        : end file ESSAI at line 29
    )<cmr12.pfb>
   Output written on ESSAI.pdf (1 page, 4327 bytes).
   Transcript written on ESSAI.log.

   run time : 2 seconds
   generating graphics : metaposting mpgraph.mp
   (mpgraph.mp )
   Transcript written on mpgraph.log.
   sorting and checking : running texutil

    TeXUtil 7.3 - ConTeXt / PRAGMA ADE 1992-2000

		   action : processing commands, lists and registers
		   option : sorting IJ under Y
		   option : converting high ASCII values
	       input file : ESSAI.tui
	      output file : ESSAI.tuo
	  passed commands : 6
	    remapped keys : 0
	 register entries : 0 -> 0 entries 0 references
	  synonym entries : 0 -> 0 entries
	   embedded files : 1

I found nothing similar in the mailing list archives, so please
excuse-me if it FAQ.

Sincerely,

sL


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

* Re: extra chars at beginning of document
  2002-03-15 12:59 extra chars at beginning of document Samuel Lacas
  2002-03-15 12:43 ` Frans Goddijn
@ 2002-03-15 17:01 ` Hans Hagen
  2002-03-18  8:37   ` Samuel Lacas
  1 sibling, 1 reply; 8+ messages in thread
From: Hans Hagen @ 2002-03-15 17:01 UTC (permalink / raw)
  Cc: ntg-context

At 01:59 PM 3/15/2002 +0100, Samuel Lacas wrote:

>\starttext
>\framed{blabla}
>\stoptext
>
>I get extra "(2)"'s before my text.
>What I actually get is
>
>    (2)(2)(2)(2)(2)(2)(2)(2)(2)(2)(2)
>    blabla

what happens with

\starttext
\stoptext

maybe something is corrupted, you can fetch the beta from our site if needed

>(with blabla framed, of course).
>I tried several other mini documents, and the two's appear randomly.
>The output is:
>
>     TeXExec 2.1 - ConTeXt / PRAGMA ADE 1997-2000
>
>                executable : pdfetex
>                    format : cont-en
>                 inputfile : ESSAI
>                    output : pdftex
>                 interface : en
>              current mode : all
>                   TeX run : 1
>
>    This is pdfeTeX, Version 3.14159-14f-released-20000525-2.1 (MiKTeX

update your pdfetex to 1.0

Hans

-------------------------------------------------------------------------
                                   Hans Hagen | PRAGMA ADE | pragma@wxs.nl
                       Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
                                   fall-back web server: 
www.pragma-ade.nl
-------------------------------------------------------------------------


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

* Re: extra chars at beginning of document
  2002-03-15 17:01 ` Hans Hagen
@ 2002-03-18  8:37   ` Samuel Lacas
  2002-03-18 10:38     ` Abhishek Seth
  2002-03-19  2:19     ` Guido Governatori
  0 siblings, 2 replies; 8+ messages in thread
From: Samuel Lacas @ 2002-03-18  8:37 UTC (permalink / raw)


Hans Hagen a écrit 1.4K le Fri, Mar 15, 2002 at 06:01:43PM +0100:
# >I get extra "(2)"'s before my text.
# >What I actually get is
# >
# >    (2)(2)(2)(2)(2)(2)(2)(2)(2)(2)(2)
# >    blabla
# 
# what happens with
# 
# \starttext
# \stoptext
# 
# maybe something is corrupted, you can fetch the beta from our site if needed

I get the two's alone indeed. I don't think my ConTeXt stuff is
corrupted, because the same files, installed on my NetBSD partition,
worked perfectly. I suppose the problem comes from either MikTeX or
Cygwin. 

# >    This is pdfeTeX, Version 3.14159-14f-released-20000525-2.1 (MiKTeX
# 
# update your pdfetex to 1.0

I will, thank you. 

sL


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

* Re: extra chars at beginning of document
  2002-03-18  8:37   ` Samuel Lacas
@ 2002-03-18 10:38     ` Abhishek Seth
  2002-03-19  2:19     ` Guido Governatori
  1 sibling, 0 replies; 8+ messages in thread
From: Abhishek Seth @ 2002-03-18 10:38 UTC (permalink / raw)
  Cc: ntg-context

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: TEXT/PLAIN; charset=X-UNKNOWN, Size: 1073 bytes --]

try: texexec --runs=1 file.tex

On Mon, 18 Mar 2002, Samuel Lacas wrote:

> Hans Hagen a écrit 1.4K le Fri, Mar 15, 2002 at 06:01:43PM +0100:
> # >I get extra "(2)"'s before my text.
> # >What I actually get is
> # >
> # >    (2)(2)(2)(2)(2)(2)(2)(2)(2)(2)(2)
> # >    blabla
> #
> # what happens with
> #
> # \starttext
> # \stoptext
> #
> # maybe something is corrupted, you can fetch the beta from our site if needed
>
> I get the two's alone indeed. I don't think my ConTeXt stuff is
> corrupted, because the same files, installed on my NetBSD partition,
> worked perfectly. I suppose the problem comes from either MikTeX or
> Cygwin.
>
> # >    This is pdfeTeX, Version 3.14159-14f-released-20000525-2.1 (MiKTeX
> #
> # update your pdfetex to 1.0
>
> I will, thank you.
>
> sL
>

-- 
Abhishek Seth
email: abhi@aero.iisc.ernet.in
--------------------------------------------------
 /"\
 \ /
  X  ASCII RIBBON CAMPAIGN - AGAINST HTML MAIL
 / \
--------------------------------------------------
Stupid, n.:
        Losing $25 on the game and $25 on the instant replay.


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

* Re: extra chars at beginning of document
  2002-03-18  8:37   ` Samuel Lacas
  2002-03-18 10:38     ` Abhishek Seth
@ 2002-03-19  2:19     ` Guido Governatori
  2002-03-19 21:49       ` Abhishek Seth
  2002-03-25 15:02       ` Abhishek Seth
  1 sibling, 2 replies; 8+ messages in thread
From: Guido Governatori @ 2002-03-19  2:19 UTC (permalink / raw)


> # >I get extra "(2)"'s before my text.
> # >What I actually get is
> # >
> # >    (2)(2)(2)(2)(2)(2)(2)(2)(2)(2)(2)
> # >    blabla
> #
> # what happens with
> #
> # \starttext
> # \stoptext
> #
> # maybe something is corrupted, you can fetch the beta from our site if
needed
>
> I get the two's alone indeed. I don't think my ConTeXt stuff is
> corrupted, because the same files, installed on my NetBSD partition,
> worked perfectly. I suppose the problem comes from either MikTeX or
> Cygwin.
>
> # >    This is pdfeTeX, Version 3.14159-14f-released-20000525-2.1 (MiKTeX
> #
> # update your pdfetex to 1.0
>

I hade the same problem, and I discovered that it is due to the cygwin
version of perl.

If you use emacs to open the <jobname>.tuo file you can notice extra ^M at
the end of each line.

Hope this help

Guido


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

* Re: extra chars at beginning of document
  2002-03-19  2:19     ` Guido Governatori
@ 2002-03-19 21:49       ` Abhishek Seth
  2002-03-25 15:02       ` Abhishek Seth
  1 sibling, 0 replies; 8+ messages in thread
From: Abhishek Seth @ 2002-03-19 21:49 UTC (permalink / raw)
  Cc: Samuel Lacas, ntg-context

On Tue, 19 Mar 2002, Guido Governatori wrote:

> > # >I get extra "(2)"'s before my text.
> > # >What I actually get is
> > # >
> > # >    (2)(2)(2)(2)(2)(2)(2)(2)(2)(2)(2)
> > # >    blabla
> > #
> > # what happens with
> > #
> > # \starttext
> > # \stoptext
> > #
> > # maybe something is corrupted, you can fetch the beta from our site if
> needed
> >
> > I get the two's alone indeed. I don't think my ConTeXt stuff is
> > corrupted, because the same files, installed on my NetBSD partition,
> > worked perfectly. I suppose the problem comes from either MikTeX or
> > Cygwin.
> >
> > # >    This is pdfeTeX, Version 3.14159-14f-released-20000525-2.1 (MiKTeX
> > #
> > # update your pdfetex to 1.0
> >
>
> I hade the same problem, and I discovered that it is due to the cygwin
> version of perl.
>
> If you use emacs to open the <jobname>.tuo file you can notice extra ^M at
> the end of each line.
>
> Hope this help
>
> Guido
>
>

Well, this does seem to be the problem, but I haven't been able to fix
it. To check whether the \r characters were doing some mischief, I
compiled a file, say (file.tex)
\starttext
This is a test
\stoptext

Then I removed the \r characters from the file.tuo, and compiled again
with texexec --once file.tex. The result was that there was no twos.
However when the same process was done _without_ removing the
characters from file.tuo, the twos were present.

Unfortunately the problem has persisted even when I used Active state's
perl. Any suggestions?

-- 
Abhishek Seth
email: abhi@aero.iisc.ernet.in
--------------------------------------------------
 /"\
 \ /
  X  ASCII RIBBON CAMPAIGN - AGAINST HTML MAIL
 / \
--------------------------------------------------


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

* Re: extra chars at beginning of document
  2002-03-19  2:19     ` Guido Governatori
  2002-03-19 21:49       ` Abhishek Seth
@ 2002-03-25 15:02       ` Abhishek Seth
  1 sibling, 0 replies; 8+ messages in thread
From: Abhishek Seth @ 2002-03-25 15:02 UTC (permalink / raw)
  Cc: Samuel Lacas, ntg-context

On Tue, 19 Mar 2002, Guido Governatori wrote:

> > # >I get extra "(2)"'s before my text.
> > # >What I actually get is
> > # >
> > # >    (2)(2)(2)(2)(2)(2)(2)(2)(2)(2)(2)
> > # >    blabla
> > #
> > # what happens with
> >
>
> I hade the same problem, and I discovered that it is due to the cygwin
> version of perl.
>
> If you use emacs to open the <jobname>.tuo file you can notice extra ^M at
> the end of each line.
>
> Hope this help
>
> Guido
>
>

Thanks. Indeed the two's are because of cygwin version of perl.
Uninstalling it, and then installing Activestate activeperl does remedy
the problem.

-- 
Abhishek Seth
email: abhi@aero.iisc.ernet.in
--------------------------------------------------
 /"\
 \ /
  X  ASCII RIBBON CAMPAIGN - AGAINST HTML MAIL
 / \
--------------------------------------------------


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

end of thread, other threads:[~2002-03-25 15:02 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-03-15 12:59 extra chars at beginning of document Samuel Lacas
2002-03-15 12:43 ` Frans Goddijn
2002-03-15 17:01 ` Hans Hagen
2002-03-18  8:37   ` Samuel Lacas
2002-03-18 10:38     ` Abhishek Seth
2002-03-19  2:19     ` Guido Governatori
2002-03-19 21:49       ` Abhishek Seth
2002-03-25 15:02       ` Abhishek Seth

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