ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* \type with spaces
@ 2001-09-20 19:51 Johannes Huesing
  2001-09-21  8:17 ` Hans Hagen
  0 siblings, 1 reply; 10+ messages in thread
From: Johannes Huesing @ 2001-09-20 19:51 UTC (permalink / raw)


Another question:

what is the easy way to set up \type so spaces in, say, 
\type{one two  three   } are typed as blanks but without
these oben boxes at the bottom? Guess I could map the 
character for that to a simple space, but maybe it's 
even easier.

Greetings

Johannes
-- 
Johannes Hüsing  | Terrorism treats the ending of a 
hannes@ruhrau.de | state as damage, and routes around it 


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

* Re: \type with spaces
  2001-09-20 19:51 \type with spaces Johannes Huesing
@ 2001-09-21  8:17 ` Hans Hagen
  2001-09-22  6:37   ` Johannes Huesing
  0 siblings, 1 reply; 10+ messages in thread
From: Hans Hagen @ 2001-09-21  8:17 UTC (permalink / raw)
  Cc: ntg-context

At 09:51 PM 9/20/2001 +0200, Johannes Huesing wrote:
>what is the easy way to set up \type so spaces in, say,
>\type{one two  three   } are typed as blanks but without
>these oben boxes at the bottom? Guess I could map the
>character for that to a simple space, but maybe it's
>even easier.

do you mean that you get no spaces? strange, in verb-ini there should be a 
def:

\def\obeyedspace {\hbox{ }}

it's this macro that you can play with,

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


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

* Re: \type with spaces
  2001-09-21  8:17 ` Hans Hagen
@ 2001-09-22  6:37   ` Johannes Huesing
  2001-09-22 18:34     ` Hans Hagen
  0 siblings, 1 reply; 10+ messages in thread
From: Johannes Huesing @ 2001-09-22  6:37 UTC (permalink / raw)


On Fri, Sep 21, 2001 at 10:17:05AM +0200, Hans Hagen wrote:
> At 09:51 PM 9/20/2001 +0200, Johannes Huesing wrote:
> >what is the easy way to set up \type so spaces in, say,
> >\type{one two  three   } are typed as blanks but without
> >these oben boxes at the bottom? Guess I could map the
> >character for that to a simple space, but maybe it's
> >even easier.
> 
> do you mean that you get no spaces? 

sorry, I wasn't precise enough: leadins spaces are not typeset.

Greetings 

Johannes

-- 
Johannes Hüsing  | Terrorism treats the ending of a 
hannes@ruhrau.de | state as damage, and routes around it 


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

* Re: \type with spaces
  2001-09-22  6:37   ` Johannes Huesing
@ 2001-09-22 18:34     ` Hans Hagen
  2001-09-23 18:12       ` Johannes Huesing
  2001-09-24 12:47       ` Michael Hallgren
  0 siblings, 2 replies; 10+ messages in thread
From: Hans Hagen @ 2001-09-22 18:34 UTC (permalink / raw)
  Cc: ntg-context

At 08:37 AM 9/22/2001 +0200, Johannes Huesing wrote:

>sorry, I wasn't precise enough: leadins spaces are not typeset.

i'm not sure about this patch, so i let you play with it; you can best put 
this in a file called cont-loc.tex, which (like cont-new) is loaded at 
runtime but not in the distribution [i use that file for local patches that 
i first want to test myself]

\unprotect

\def\dotype#1%
   {\bgroup
    \strut % enables leading space in \type { abc } at par start
    \edef\@@currenttype{#1}%
    \catcode`\<=\@@other
    \catcode`\>=\@@other
    \futurelet\next\dodotype}

\protect

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


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

* Re: \type with spaces
  2001-09-22 18:34     ` Hans Hagen
@ 2001-09-23 18:12       ` Johannes Huesing
  2001-09-24 12:47       ` Michael Hallgren
  1 sibling, 0 replies; 10+ messages in thread
From: Johannes Huesing @ 2001-09-23 18:12 UTC (permalink / raw)


On Sat, Sep 22, 2001 at 08:34:17PM +0200, Hans Hagen wrote:
> At 08:37 AM 9/22/2001 +0200, Johannes Huesing wrote:
> 
> >sorry, I wasn't precise enough: leadins spaces are not typeset.
> 
> i'm not sure about this patch, so i let you play with it; you can best put 
> this in a file called cont-loc.tex, which (like cont-new) is loaded at 
> runtime but not in the distribution [i use that file for local patches that 
> i first want to test myself]
> 
> \unprotect
> 
> \def\dotype#1%
>    {\bgroup
>     \strut % enables leading space in \type { abc } at par start
>     \edef\@@currenttype{#1}%
>     \catcode`\<=\@@other
>     \catcode`\>=\@@other
>     \futurelet\next\dodotype}
> 
> \protect
> 

Works for me; and inserting this one strut should not hurt to much
-- I don't know enough about TeX to see why these \hbox{ }es are 
crimped to zero at the beginning. 

Thanks and greetings

JOhannes

-- 
Johannes Hüsing  | Terrorism treats the ending of a 
hannes@ruhrau.de | state as damage, and routes around it 


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

* Re: \type with spaces
  2001-09-22 18:34     ` Hans Hagen
  2001-09-23 18:12       ` Johannes Huesing
@ 2001-09-24 12:47       ` Michael Hallgren
  2001-09-24 14:02         ` 'capacity exceeded' ConTeXt over Win2k -- Was: [Re: \type with spaces] Michael Hallgren
  2001-09-29 12:50         ` \type with spaces Hans Hagen
  1 sibling, 2 replies; 10+ messages in thread
From: Michael Hallgren @ 2001-09-24 12:47 UTC (permalink / raw)


Hi,

playing with the TeX-Live 5; installing over a Win2k, I get the 
following 'capacity exceeded'. Scanning the archives, I saw a proposed
fix, applied it, but no luck. Thoughts? Known fix? (I can't seem to
reproduce the problem on my FreeBSD box, and I'm very satisfied with
the ConTeXt development.) 

C:\Documents and Settings\Administrateur\Mes documents\Teleglobe\Drafts and Spec
ifications\By Me\Temporary>texexec --pdf test.tex

 TeXExec 1.9 - ConTeXt / PRAGMA ADE 1997-2000

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

This is pdfeTeX, Version 3.14159-14f-released-20000525-2.1 (Web2c 7.3.2x)
(./TeX.tex{c:/Local/TeX/texmf-var/pdftex/config/pdftex.cfg}

ConTeXt  ver: 2000.5.11  fmt: 2001.9.24  int: english  mes: english

language       : language en is active
system         : cont-new loaded
(c:/Local/TeX/texmf/tex/context/base/cont-new.tex
systems        : beware: some patches loaded from cont-new.tex!
! TeX capacity exceeded, sorry [number of strings=100].
<recently read> \endcsname

<to be read again>
                   {
<to be read again>
                   \@@oidiepte
\docopyvalue ...name \@EA {\csname #2#3\endcsname
                                                  }\else \let \c!internal! \...

\next1 #1,->\docopyparameter {#1}
                                 \doprocesscommaitem
<argument> ...eg , \c!straal ,\c!hoek ,\c!diepte ,
                                                  \c!kader ,\c!kaderkleur , ...
...
l.302   [\??ks]

No pages of output.
Transcript written on test.log.

              run time : 1 seconds

mh

--
Michael Hallgren, http://m.hallgren.free.fr/, MH2198-RIPE


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

* 'capacity exceeded' ConTeXt over Win2k -- Was: [Re: \type with spaces]
  2001-09-24 12:47       ` Michael Hallgren
@ 2001-09-24 14:02         ` Michael Hallgren
  2001-09-24 15:35           ` 'capacity exceeded' ConTeXt over Win2k Frans Goddijn
  2001-09-29 12:50         ` \type with spaces Hans Hagen
  1 sibling, 1 reply; 10+ messages in thread
From: Michael Hallgren @ 2001-09-24 14:02 UTC (permalink / raw)


Quoting Michael Hallgren <m.hallgren@free.fr>:

> Hi,

Hrm, sorry, sent this with misleading subject.

mh

> 
> playing with the TeX-Live 5; installing over a Win2k, I get the 
> following 'capacity exceeded'. Scanning the archives, I saw a proposed
> fix, applied it, but no luck. Thoughts? Known fix? (I can't seem to
> reproduce the problem on my FreeBSD box, and I'm very satisfied with
> the ConTeXt development.) 
> 
> 
> 
> C:\Documents and Settings\Administrateur\Mes documents\Teleglobe\Drafts
> and Spec
> ifications\By Me\Temporary>texexec --pdf test.tex
> 
>  TeXExec 1.9 - ConTeXt / PRAGMA ADE 1997-2000
> 
>             executable : pdfetex
>                 format : cont-en
>              inputfile : TeX
>                 output : pdftex
>              interface : en
>           current mode : all
>                TeX run : 1
> 
> This is pdfeTeX, Version 3.14159-14f-released-20000525-2.1 (Web2c
> 7.3.2x)
> (./TeX.tex{c:/Local/TeX/texmf-var/pdftex/config/pdftex.cfg}
> 
> ConTeXt  ver: 2000.5.11  fmt: 2001.9.24  int: english  mes: english
> 
> language       : language en is active
> system         : cont-new loaded
> (c:/Local/TeX/texmf/tex/context/base/cont-new.tex
> systems        : beware: some patches loaded from cont-new.tex!
> ! TeX capacity exceeded, sorry [number of strings=100].
> <recently read> \endcsname
> 
> <to be read again>
>                    {
> <to be read again>
>                    \@@oidiepte
> \docopyvalue ...name \@EA {\csname #2#3\endcsname
>                                                   }\else \let
> \c!internal! \...
> 
> \next1 #1,->\docopyparameter {#1}
>                                  \doprocesscommaitem
> <argument> ...eg , \c!straal ,\c!hoek ,\c!diepte ,
>                                                   \c!kader
> ,\c!kaderkleur , ...
> ...
> l.302   [\??ks]
> 
> No pages of output.
> Transcript written on test.log.
> 
>               run time : 1 seconds
> 
> 
> mh
> 
> --
> Michael Hallgren, http://m.hallgren.free.fr/, MH2198-RIPE
> 

--
Michael Hallgren, http://m.hallgren.free.fr/, MH2198-RIPE

"Be careful what you sell. It may do exactly
 what the customer expects." - Ferengi Rule #32


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

* Re: 'capacity exceeded' ConTeXt over Win2k
  2001-09-24 14:02         ` 'capacity exceeded' ConTeXt over Win2k -- Was: [Re: \type with spaces] Michael Hallgren
@ 2001-09-24 15:35           ` Frans Goddijn
  2001-09-24 18:54             ` Michael Hallgren
  0 siblings, 1 reply; 10+ messages in thread
From: Frans Goddijn @ 2001-09-24 15:35 UTC (permalink / raw)


Can you also provide the .tex file causing the error? It looks like a
forgotten } somewhere.

Frans

----- Original Message -----
From: Michael Hallgren <m.hallgren@free.fr>
> > ! TeX capacity exceeded, sorry [number of strings=100].
> > <recently read> \endcsname


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

* Re: 'capacity exceeded' ConTeXt over Win2k
  2001-09-24 15:35           ` 'capacity exceeded' ConTeXt over Win2k Frans Goddijn
@ 2001-09-24 18:54             ` Michael Hallgren
  0 siblings, 0 replies; 10+ messages in thread
From: Michael Hallgren @ 2001-09-24 18:54 UTC (permalink / raw)
  Cc: ntg-context

Quoting Frans Goddijn <frans@goddijn.com>:

> Can you also provide the .tex file causing the error? It looks like a
> forgotten } somewhere.

.tex file is minimal - "hello world" style, and the 'capacity exceeded'
is happening earlier than that it seems. I read it was a TeX-Live bug,
but haven't yet had the time to look into it (memory parameter values
too low?)

Thanks for your response with very short delay.

mh

> 
> Frans
> 
> ----- Original Message -----
> From: Michael Hallgren <m.hallgren@free.fr>
> > > ! TeX capacity exceeded, sorry [number of strings=100].
> > > <recently read> \endcsname
> 
> 
> 

--
Michael Hallgren, http://m.hallgren.free.fr/, MH2198-RIPE


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

* Re: \type with spaces
  2001-09-24 12:47       ` Michael Hallgren
  2001-09-24 14:02         ` 'capacity exceeded' ConTeXt over Win2k -- Was: [Re: \type with spaces] Michael Hallgren
@ 2001-09-29 12:50         ` Hans Hagen
  1 sibling, 0 replies; 10+ messages in thread
From: Hans Hagen @ 2001-09-29 12:50 UTC (permalink / raw)
  Cc: ntg-context

At 02:47 PM 9/24/2001 +0200, Michael Hallgren wrote:

>playing with the TeX-Live 5; installing over a Win2k, I get the

there has indeed be a problem in one of the tl5's; why not use tl6? On 
win2k you can install over the internet

>following 'capacity exceeded'. Scanning the archives, I saw a proposed
>fix, applied it, but no luck. Thoughts? Known fix? (I can't seem to
>reproduce the problem on my FreeBSD box, and I'm very satisfied with
>the ConTeXt development.)

say

kpsewhich texmf.cnf

in this file, search for the context.* mem settings and correct them, 
something:

buf_size.context         =  200000
extra_mem_bot.context    = 4000000
extra_mem_top.context    = 2000000
font_mem_size.context    =  500000
hash_extra.context       =   50000
main_memory.context      = 1500000
max_strings.context      =  100000
nest_size.context        =     500
obj_tab_size.context     =  300000
param_size.context       =    5000
pool_free.context        =   47500
pool_size.context        = 1250000
save_size.context        =   50000
stack_size.context       =    5000
string_vacancies.context =   90000

in tl6 (fptex) the values are okay.

>  TeXExec 1.9 - ConTeXt / PRAGMA ADE 1997-2000

quite old

>This is pdfeTeX, Version 3.14159-14f-released-20000525-2.1 (Web2c 7.3.2x)
>(./TeX.tex{c:/Local/TeX/texmf-var/pdftex/config/pdftex.cfg}

replace by version 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
-------------------------------------------------------------------------


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

end of thread, other threads:[~2001-09-29 12:50 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-09-20 19:51 \type with spaces Johannes Huesing
2001-09-21  8:17 ` Hans Hagen
2001-09-22  6:37   ` Johannes Huesing
2001-09-22 18:34     ` Hans Hagen
2001-09-23 18:12       ` Johannes Huesing
2001-09-24 12:47       ` Michael Hallgren
2001-09-24 14:02         ` 'capacity exceeded' ConTeXt over Win2k -- Was: [Re: \type with spaces] Michael Hallgren
2001-09-24 15:35           ` 'capacity exceeded' ConTeXt over Win2k Frans Goddijn
2001-09-24 18:54             ` Michael Hallgren
2001-09-29 12:50         ` \type with spaces Hans Hagen

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