ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* starttyping/stoptyping broken?
@ 2012-01-13 23:40 mathew
  2012-01-14 10:37 ` Hans Hagen
  0 siblings, 1 reply; 3+ messages in thread
From: mathew @ 2012-01-13 23:40 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1448 bytes --]

Just this minute updated via wget
http://minimals.contextgarden.net/setup/first-setup.sh and running
first-setup.sh, getting errors trying to use \starttyping/\stoptyping.

--- example file ---

\starttext
\startframedtext[width=5.5cm]
\starttyping
Line 1
Line 2
Line 3
\stoptyping
\stopframedtext
\stoptext

--- output ---
This is LuaTeX, Version beta-0.70.1-2011051923 (rev 4277)
 \write18 enabled.
(test2.tex

ConTeXt  ver: 2012.01.12 11:03 MKIV  fmt: 2012.1.13  int: english/english

(/usr/local/context/tex/texmf-context/tex/context/base/cont-new.mkiv)
(test2.top){/usr/local/context/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map}
(/usr/local/context/tex/texmf-context/tex/context/base/type-otf.mkiv){/usr/local/context/tex/texmf/fonts/map/dvips/lm/lm-math.map}{/usr/local/context/tex/texmf/fonts/map/dvips/lm/lm-rm.map}
! Missing } inserted.

 1
 2     \starttext
 3     \startframedtext[width=5.5cm]
 4     \starttyping
 5     Line 1
 6     Line 2
 7     Line 3
 8 >>  \stoptyping
 9     \stopframedtext
10     \stoptext
11

<inserted text>
                }
<to be read again>
                   \endgroup
\stoppacked ...level =\plusone \ifvmode \endgroup
                                                  \fi \fi \global \advance
\...
\dostoptyping #1->\stoppacked
                              \typingparameter \c!after
\useindentnextparame...
l.8 \stoptyping

--- end output ---


mathew
-- 
<URL:http://www.pobox.com/~meta/>

[-- Attachment #1.2: Type: text/html, Size: 2287 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 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] 3+ messages in thread

* Re: starttyping/stoptyping broken?
  2012-01-13 23:40 starttyping/stoptyping broken? mathew
@ 2012-01-14 10:37 ` Hans Hagen
  2012-01-16 17:17   ` mathew
  0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen @ 2012-01-14 10:37 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 14-1-2012 00:40, mathew wrote:
> Just this minute updated via wget
> http://minimals.contextgarden.net/setup/first-setup.sh and running
> first-setup.sh, getting errors trying to use \starttyping/\stoptyping.
>
> --- example file ---
>
> \starttext
> \startframedtext[width=5.5cm]
> \starttyping
> Line 1
> Line 2
> Line 3
> \stoptyping
> \stopframedtext
> \stoptext
>
> --- output ---
> This is LuaTeX, Version beta-0.70.1-2011051923 (rev 4277)
>   \write18 enabled.
> (test2.tex
>
> ConTeXt  ver: 2012.01.12 11:03 MKIV  fmt: 2012.1.13  int: english/english
>
> (/usr/local/context/tex/texmf-context/tex/context/base/cont-new.mkiv)
> (test2.top){/usr/local/context/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map}
> (/usr/local/context/tex/texmf-context/tex/context/base/type-otf.mkiv){/usr/local/context/tex/texmf/fonts/map/dvips/lm/lm-math.map}{/usr/local/context/tex/texmf/fonts/map/dvips/lm/lm-rm.map}
> ! Missing } inserted.
>
>   1
>   2     \starttext
>   3     \startframedtext[width=5.5cm]
>   4     \starttyping
>   5     Line 1
>   6     Line 2
>   7     Line 3
>   8>>   \stoptyping
>   9     \stopframedtext
> 10     \stoptext
> 11
>
> <inserted text>
>


this related to the buffer bug (still no new beta as i'm redoing some 
font code and have not much time today)

Hans


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: starttyping/stoptyping broken?
  2012-01-14 10:37 ` Hans Hagen
@ 2012-01-16 17:17   ` mathew
  0 siblings, 0 replies; 3+ messages in thread
From: mathew @ 2012-01-16 17:17 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Sat, Jan 14, 2012 at 04:37, Hans Hagen <pragma@wxs.nl> wrote:
> this related to the buffer bug (still no new beta as i'm redoing some font
> code and have not much time today)

OK. Is there some convenient way to revert to the last known good
version of standalone ConTeXt?

I ended up installing the Ubuntu package, which was confused by my
standalone install until I deleted that. Then I had to mess with
OSFONTDIR to get my fonts working again. I then got the error (noted
on the mailing list before) involving

   ! Math error: parameter \Umathquad\displaystyle is not set.

which as you probably recall, is caused by

   font with asked name 'lmmath' is not found using lookup 'file'
   unknown font lmmath, loading aborted

when trying to use a custom typescript that doesn't have a math font,
and \startitemize.

There is a Ubuntu package lmodern which claims to be OpenType versions
of Latin Modern, and it's installed as a dependency when installing
Ubuntu's ConTeXt package, but it only includes LMMathSymbols,
LMMathExtension and LMMathItalic, none of which seem acceptable to
ConTeXt as lmmath.

After struggling with *that* for a while, I found the easiest solution
was to go to http://www.gust.org.pl/projects/e-foundry/lm-math/download/index_html
and download the latest lmmath, rename it as lmmath.otf and install it
in my personal ~/.fonts.

Noting all this here as searching the mailing list and Google hadn't
pointed me at that solution. Is there a better one?


mathew
--
<URL:http://www.pobox.com/~meta/>
___________________________________________________________________________________
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] 3+ messages in thread

end of thread, other threads:[~2012-01-16 17:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-13 23:40 starttyping/stoptyping broken? mathew
2012-01-14 10:37 ` Hans Hagen
2012-01-16 17:17   ` mathew

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