ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Context & TeXLive 2008
@ 2008-09-26 21:37 Brian R. Landy
  2008-09-26 22:08 ` Wolfgang Schuster
  0 siblings, 1 reply; 3+ messages in thread
From: Brian R. Landy @ 2008-09-26 21:37 UTC (permalink / raw)
  To: ntg-context

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

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.

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.

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.

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.

Anyway, I hope this is useful to other users and to the developers.

Best Regards,
Brian

[-- Attachment #2: test_placefloat.tex --]
[-- Type: text/x-tex, Size: 51 bytes --]

\starttext
\placefloat[here]{none}{test}
\stoptext

[-- Attachment #3: test_color.tex --]
[-- Type: text/x-tex, Size: 434 bytes --]

\usetypescript[modern][ec]
\setupcolors[state=start]%
\definecolor[clear][y=1,t=0,a=1]%
\setupbodyfont[modern,10pt]
\starttext%
\start%
\setupTABLE[1][1,2,3][aligncharacter=yes,alignmentcharacter={/}]%
\bTABLE%
\bTABLEbody
\bTR%
\bTD{4 \startcolor[clear] 0/8\stopcolor}\eTD%
% the below line works
%\bTD{9 \color[clear] 0/8}\eTD%
\eTR%
\bTR%
\bTD{9 1/8}\eTD%
\eTR%
\bTR%
\bTD{9 1/4}\eTD%
\eTR%
\eTABLEbody%
\eTABLE%
\stop%
\stoptext%

[-- Attachment #4: test.tex --]
[-- Type: text/x-tex, Size: 9731 bytes --]

\setupbodyfont[7pt]%
\starttext%
\bTABLE[left=\setupinterlinespace,strut=yes,autostrut=no,frame=off,headstyle=bold,align={middle,lohi},alignmentcharacter={.},aligncharacter=yes,background=color,backgroundcolor=screen,option=stretch,aligncharacter=no,style={\switchtobodyfont[tt]},frame=off]%
\chardef\characteralignmentmode=2%
\bTABLEhead%
\bTR%
\bTH[nc=22]{\setupinterlinespace\strut}{\strut}\eTH%
\eTR%
\bTR%
\bTH[]{\setupinterlinespace\strut}{}\eTH%
\bTH[]{\setupinterlinespace\strut}{}\eTH%
\bTH[]{\setupinterlinespace\strut}{}\eTH%
\bTH[]{\setupinterlinespace\strut}{}\eTH%
\bTH[]{\setupinterlinespace\strut}{}\eTH%
\bTH[]{\setupinterlinespace\strut}{}\eTH%
\bTH[]{\setupinterlinespace\strut}{}\eTH%
\bTH[]{\setupinterlinespace\strut}{}\eTH%
\bTH[]{\setupinterlinespace\strut}{Price}\eTH%
\bTH[nc=2]{\setupinterlinespace\strut}{\Delta Price}\eTH%
\bTH[]{\setupinterlinespace\strut}{Yield}\eTH%
\bTH[nc=2]{\setupinterlinespace\strut}{\Delta Yield (bps)}\eTH%
\bTH[nc=5]{\setupinterlinespace\strut}{Historical Levels}\eTH%
\bTH[nc=3]{\setupinterlinespace\strut}{Average}\eTH%
\eTR%
\bTR%
\bTH[]{\setupinterlinespace\strut}{Term}\eTH%
\bTH[]{\setupinterlinespace\strut}{Cpn}\eTH%
\bTH[]{\setupinterlinespace\strut}{Mat}\eTH%
\bTH[]{\setupinterlinespace\strut}{Dur}\eTH%
\bTH[]{\setupinterlinespace\strut}{\$ Dur}\eTH%
\bTH[]{\setupinterlinespace\strut}{\#}\eTH%
\bTH[]{\setupinterlinespace\strut}{*}\eTH%
\bTH[]{\setupinterlinespace\strut}{Cx}\eTH%
\bTH[]{\setupinterlinespace\strut}{9/10}\eTH%
\bTH[]{\setupinterlinespace\strut}{1d}\eTH%
\bTH[]{\setupinterlinespace\strut}{5d}\eTH%
\bTH[]{\setupinterlinespace\strut}{9/10}\eTH%
\bTH[]{\setupinterlinespace\strut}{1d}\eTH%
\bTH[]{\setupinterlinespace\strut}{5d}\eTH%
\bTH[]{\setupinterlinespace\strut}{9/9}\eTH%
\bTH[]{\setupinterlinespace\strut}{9/8}\eTH%
\bTH[]{\setupinterlinespace\strut}{9/5}\eTH%
\bTH[]{\setupinterlinespace\strut}{9/4}\eTH%
\bTH[]{\setupinterlinespace\strut}{9/3}\eTH%
\bTH[]{\setupinterlinespace\strut}{20d}\eTH%
\bTH[]{\setupinterlinespace\strut}{60d}\eTH%
\bTH[]{\setupinterlinespace\strut}{120d}\eTH%
\eTR%
\eTABLEhead%
\bTABLEbody%
\bTR%
\bTD[]{1y$^{\dag}$}\eTD%
\bTD[]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[]{3.20}\eTD%
\bTD[]{-15.25}\eTD%
\bTD[]{4.21}\eTD%
\bTD[]{4.27}\eTD%
\bTD[]{4.33}\eTD%
\bTD[]{4.33}\eTD%
\bTD[]{4.40}\eTD%
\bTD[]{4.47}\eTD%
\bTD[]{4.64}\eTD%
\bTD[]{4.54}\eTD%
\eTR%
\bTR%
\bTD[]{}\eTD%
\bTD[]{}\eTD%
\bTD[]{}\eTD%
\bTD[]{}\eTD%
\bTD[nc=3]{30y}\eTD%
\bTD[]{4.58}\eTD%
\bTD[]{2.50}\eTD%
\bTD[]{-16.15}\eTD%
\bTD[]{4.56}\eTD%
\bTD[]{4.62}\eTD%
\bTD[]{4.67}\eTD%
\bTD[]{4.68}\eTD%
\bTD[]{4.75}\eTD%
\bTD[]{4.81}\eTD%
\bTD[]{4.97}\eTD%
\bTD[]{4.93}\eTD%
\eTR%
\eTABLEbody%
\eTABLE%
\stoptext%

[-- Attachment #5: 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] 3+ messages in thread

end of thread, other threads:[~2008-09-27 11:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-09-26 21:37 Context & TeXLive 2008 Brian R. Landy
2008-09-26 22:08 ` Wolfgang Schuster
2008-09-27 11:06   ` 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).