ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Context & TeXLive 2008
Date: Sat, 27 Sep 2008 00:08:32 +0200	[thread overview]
Message-ID: <CAB71211-5E7A-4E3D-AC56-4539D54E2E3F@gmail.com> (raw)
In-Reply-To: <20080926173727.17585qfrzn7a3lkw@serenity.landy.cx>


Am 26.09.2008 um 23:37 schrieb Brian R. Landy:

> Hi, I wanted to share some observations from enabling the latest  
> MkIV code (2008.09.24, compiled luatex from svn just now) to run on  
> a new installation of TeXLive 2008 on 64bit Linux.  This is my first  
> time trying MkIV.
>
> First -- a comment on installing using TeXLive 2008, which hopefully  
> is helpful to others.  In my installation I noticed that x86-64/bin/ 
> luatools was symlinked to texmf-dist/scripts/context/stubs/unix/ 
> luatools.  The rsync update process as outlined on garden does not  
> update this file; it updates texmf-dist/scripts/context/lua/ 
> luatools.lua.  So this needs to be copied (or linked) over to make  
> the update work.  The same issues exists with mtxrun.  The symptom  
> was a broken "context --make".
>
> Now, on to my issues.  I am listing anything that used to work in my  
> TeXLive 2007 installation of MkII but fails in 2008 (MkII or MkIV).   
> Items 1-3 were tested on garden as well to ensure it was not an  
> issue in my setup --
>
> 1. \placefloat[here]{none} fails.  \placegraphic works instead.   
> This works on MkII.  See test_placefloat.tex.

Use \placefigure, \placefigure ... the correct syntax is  
\placefloat[floattype][here|page|...]{}{}

> 2. MkIV fails due to the \startcolor...\stopcolor sequence embedded  
> in a natural table (see test_color.tex).  A working alternative is  
> commented in that file.

\bTD 4 \clear 0/8 \eTD

I think Hans is faster to find the bug, here is a shorter example:

\starttext

\bTABLE[aligncharacter=yes,alignmentcharacter={/}]
\bTR
\bTD 4 \startcolor[red] 0/8 \stopcolor \eTD
\eTR
\eTABLE

\stoptext

> 3. MkIV will not typeset the file test.tex.  It is due to using  
> {style=\switchtobodyfont[tt]} in the table setup.  Using [modern,tt]  
> works fine, but this is not necessary with MkII.

Use style=mono.

> 4. This is a MkII issue (or maybe it is a pdftex problem?)  MkII on  
> 2007, texexec --dvi on 2008, and MkIV all work.  The problem is with  
> pulling in an external figure like this --
>
> \externalfigure[/tmp/testfigure]
>
> The files /tmp/testfigure.eps and /tmp/testfigure.pdf exist.  This  
> should use the full path to find the file, and will pick the eps  
> when creating dvi and the pdf when creating pdf's.  As mentioned,  
> this works with every combination I tested except 2008 MkII.  Some  
> (not very usable for me) workarounds are --
>
> - use the filename without the path and add the path using  
> \setupexternalfigures[directory=]
> - specify the .pdf extension (means I cannot typeset to dvi if I  
> want to; I find this useful for previewing with xdvi's auto-reload)
> - use \setupexternalfigures[directory=/] and use a relative path
>
> 5. Just a comment on performance -- I noticed that using MkIV on a  
> complicated document I have took 23 minutes vs. 12 minutes with  
> MkII.  I didn't know if MkIV is expected to be slower/comparable/ 
> faster at this stage.

Depends on your document, a few things are slower like font loading
but other things like MetaPost graphics are faster, it is also good to  
have
a machine with 2 GB of memory or more  .

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


  reply	other threads:[~2008-09-26 22:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-26 21:37 Brian R. Landy
2008-09-26 22:08 ` Wolfgang Schuster [this message]
2008-09-27 11:06   ` Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAB71211-5E7A-4E3D-AC56-4539D54E2E3F@gmail.com \
    --to=schuster.wolfgang@googlemail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).