Re: [NTG-context] hanging with \bTD[nc=3]

2007-12-13 Thread Hans Hagen
luigi scarso wrote:
 % engine=luatex
 \starttext
 \bTABLE
 \bTR \bTD[nc=3] x\eTD\eTR
 \eTABLE
 \stoptext
 
 
 can you try todays binary?
 
 hmm, frozen  again.
 
 I have download nove last context release:
 This is LuaTeX, Version snapshot-0.20.1-2007120806 (Web2C 7.5.6)
 (./test0010.tex
 
 ConTeXt  ver: 2007.12.07 19:14 MKIV  fmt: 2007.12.13  int: english/english
 
 
 What binary do you mean ?

12/12, well, the one i have on my machine -)

there will be a new beta release this weekend (some directional and 
alignment fixes) so ...


-
   Hans Hagen | PRAGMA ADE
   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | fax: 038 477 53 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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Combining eps figures into a single document

2007-12-13 Thread Hans Hagen
Dave wrote:
 Hi all,
 
 I am not sure if there is an easy way to do this with a generic
 ConTeXt document but I thought I'd ask anyways.  I have a folder full
 of identically sized data plots saved as eps/pdf files and I was
 wondering if there was a quick way to shrink and tile them into a
 multi-page document so that I get 15 plots per page (5 rows x 3
 colums)?  I have scripts that generate these plots and I literally
 have hundreds of them that I need to combine and print.  Any ideas?

texexec --pdfcombine --combinations=5x3 *pdf


-
   Hans Hagen | PRAGMA ADE
   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | fax: 038 477 53 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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] LaTeX float pages in ConTeXt

2007-12-13 Thread Wolfgang Schuster
2007/12/12, Santy, Michael [EMAIL PROTECTED]:



 Thanks, Aditya.  However, I'm don't think that
 \setupfloat[figure][default=here,top,bottom,page] addresses
 my need for float pages.  If you compile the document below, you'll notice
 that the figures at the end of the first section are floated throughout
 sections 2-4.  I would like the rendering of the floats to catch up by
 placing the floats on float pages, before moving on to other text.  Is this
 possible in ConTeXt?

  \setupfloat[figure][default=here,top,bottom,page]

\setupfloat[figure][default={here,top,bottom,page}]

don't forget the braces for more values to one key.

Wolfgang

  \def\ipsum{%
  \par Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do
 eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim
 veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea
 commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit
 esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat
 cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id
 est laborum. }

  \starttext

  \section{First Section}

  \ipsum

  \placefigure {Blah}
 {\externalfigure[figurename][width=5.0in, height=3.0in]}
  \placefigure {Blah}
 {\externalfigure[figurename][width=5.0in, height=3.0in]}
  \placefigure {Blah}
 {\externalfigure[figurename][width=5.0in, height=3.0in]}
  \placefigure {Blah}
 {\externalfigure[figurename][width=5.0in, height=5.0in]}
  \placefigure {Blah}
 {\externalfigure[figurename][width=5.0in, height=3.0in]}
  \placefigure {Blah}
 {\externalfigure[figurename][width=5.0in, height=3.0in]}
  \placefigure {Blah}
 {\externalfigure[figurename][width=5.0in, height=3.0in]}

  \section{Second Section}
  \ipsum
  \ipsum
  \ipsum

  \section{Third Section}
  \ipsum
  \ipsum

  \section{Third Section}
  \ipsum
  \ipsum

  \stoptext

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


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


Re: [NTG-context] MkIV on Ubuntu

2007-12-13 Thread Hans Hagen
Aditya Mahajan wrote:

 However, mtxrun --script fonts --list --pattern=pagella gives
 MtxRun | unknown script: fonts

i sometimes get that too on linux and am not sure why because it works 
ok my vista machine; o need to look into it (actually, font is resolved 
to (mtx-)font(s)

 This is strange. Because locate luat-env.lua gives
 /usr/local/share/texmf/tex/context/base/luat-env.lua
 /usr/share/texmf/tex/context/base/luat-env.lua
 
 and kpsewhich luat-env.lua gives
 /usr/local/share/texmf/tex/context/base/luat-env.lua

we don't use kpse at all in mkiv so there most be something with your 
'luatools --generate' cq. cache path

--verbose will report the cache paths

Hans

-
   Hans Hagen | PRAGMA ADE
   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | fax: 038 477 53 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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] LaTeX float pages in ConTeXt

2007-12-13 Thread Willi Egger
Hi, just found this question intriguing ...

When changing Wolgangs suggestion into:

\setupfloat[figure][default={force,top,page}]

You get what you where asking for.

Willi


On Dec 13, 2007, at 9:37 AM, Wolfgang Schuster wrote:

 \setupfloat[figure][default={here,top,bottom,page}]

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


Re: [NTG-context] LaTeX float pages in ConTeXt

2007-12-13 Thread Hans Hagen
Willi Egger wrote:
 Hi, just found this question intriguing ...
 
 When changing Wolgangs suggestion into:
 
 \setupfloat[figure][default={force,top,page}]

in this case top is used, not page

or just feed 'page' to \placefigure


-
   Hans Hagen | PRAGMA ADE
   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | fax: 038 477 53 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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] What's the ps_name of AdobeMingStd-Light?

2007-12-13 Thread Wolfgang Schuster
2007/12/12, Hans Hagen [EMAIL PROTECTED]:
 Wolfgang Schuster wrote:

  Yes I did this and I changed my font settings for the title page to
  \definedfont in my document takes now 80 seconds for a single run
  but it spends most of the time for font loading.

 much overhead is related to things like setting up math, synchronizing
 encodings, mappings, (and hz, protruding if enabled) .. keep in mind
 that we're talking of font systems, not one font

loading the fonts is sometimes the slowest thing in a document.

  But you can beat the process time of plain TeX which can be used
  in simple documents where you can reduce the time with a few tricks.
  My process time for vocabulary cards from a xml file is below 1 second
  and I have more than 4.000 pages ;-) Doing the same thing woth ConTeXt's
  old xml interface and XeTeX takes 30 seconds and I won't talk about mkiv.

 it all depends on what functionality is needed (take pagebody
 construction, which in plain is hardly present, backgrounds, color, etc
 etc) and in the case of xml it also depends on what 'defineXML' commands
 are used; things like namespaces (fallbacks), attributes etc etc ...
 many things play a role and i'm pretty sure that the critical parts of
 context are quite optimized; for sure many (simple) docs can be
 processed using plain tex but as soon as you need a bit more ...

I wanted to show only it is sometimes to enough to use a low level
system and you don't need such a complex system like ConTeXt.
My document was also optimized to speed and I work without page
numbering (first step) and dropped in a second step the output routine,
I use \shipout to place the data from the file and write the information
to the file.

The strong point from my ConTeXt solution is to have better control
over the layout, my plain solution use hboxes and vboxes where I use
layers in ConTeXt and this is easier. My simple XML handler is also very
limited and has only support for environments and pickups but nothing
else.

 (btw, xml in mkiv is quite different, since it operates on trees)

It is possible to use the old and new method in some documents in the
same way but I prefer the new method because I can now use xml files
to store information without the need to store the data before the run
in TeX macros.

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
___


Re: [NTG-context] What's the ps_name of AdobeMingStd-Light?

2007-12-13 Thread Hans Hagen
Wolfgang Schuster wrote:

 It is possible to use the old and new method in some documents in the
 same way but I prefer the new method because I can now use xml files
 to store information without the need to store the data before the run
 in TeX macros.

i will not remove the old method if only because there is code in 
context that uses it (it will take some time to migrate that to mkiv files)

Hans

-
   Hans Hagen | PRAGMA ADE
   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | fax: 038 477 53 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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] What's the ps_name of AdobeMingStd-Light?

2007-12-13 Thread Wolfgang Schuster
2007/12/13, Hans Hagen [EMAIL PROTECTED]:
 Wolfgang Schuster wrote:

  It is possible to use the old and new method in some documents in the
  same way but I prefer the new method because I can now use xml files
  to store information without the need to store the data before the run
  in TeX macros.

 i will not remove the old method if only because there is code in
 context that uses it (it will take some time to migrate that to mkiv files)

I never want the old method to vanisch because mkii (and mkiii) need it
there is often no difference in the code to format the output, the
only difference
is I have to store the the information in mkii before I use them wheras I can
no live without this but thats only a few lines in my code and the
rest is the same.

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
___


Re: [NTG-context] LaTeX float pages in ConTeXt

2007-12-13 Thread Wolfgang Schuster
2007/12/13, Hans Hagen [EMAIL PROTECTED]:
 Willi Egger wrote:
  Hi, just found this question intriguing ...
 
  When changing Wolgangs suggestion into:
 
  \setupfloat[figure][default={force,top,page}]

 in this case top is used, not page

 or just feed 'page' to \placefigure

but he want to collect the figures on one page and not
every on a new page.

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
___


Re: [NTG-context] What's the ps_name of AdobeMingStd-Light?

2007-12-13 Thread Zhichu Chen
Hi guys,

Maybe this post has gone too far, and I've tried a bunch of methods to get
my map work. Anyway, I can't. And there's something I must say, why pdftex
must embed the whole otf file? It's about 15M for my only-one-character test
file and about 20M for my another only-two-characters test file, besides,
embedding otf files are so so slow. I don't think I'm ready for otf yet.


-- 
Best Regards
Chen


 Zhi-chu Chen | Shanghai Synchrotron Radiation Facility
No. 2019 | Jialuo Rd. | Jiading | Shanghai | P.R. China
tel: 086 21 5955 3405 | zhichu.chen.googlepages.com
  | www.sinap.ac.cn

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


Re: [NTG-context] What's the ps_name of AdobeMingStd-Light?

2007-12-13 Thread Wolfgang Schuster
2007/12/13, Zhichu Chen [EMAIL PROTECTED]:
 Hi guys,

 Maybe this post has gone too far, and I've tried a bunch of methods to get
 my map work. Anyway, I can't. And there's something I must say, why pdftex
 must embed the whole otf file? It's about 15M for my only-one-character test
 file and about 20M for my another only-two-characters test file, besides,
 embedding otf files are so so slow. I don't think I'm ready for otf yet.

I tried the Song font from Adobe a few days ago with XeTeX and a older
chinese example text from you and the file size with 37 pages of output
was a little bit over 1 MB, the same result with luaTeX but I got more pages.

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
___


Re: [NTG-context] What's the ps_name of AdobeMingStd-Light?

2007-12-13 Thread Hans Hagen
Zhichu Chen wrote:
 Hi guys,
 
 Maybe this post has gone too far, and I've tried a bunch of methods to get
 my map work. Anyway, I can't. And there's something I must say, why pdftex
 must embed the whole otf file? It's about 15M for my only-one-character test
 file and about 20M for my another only-two-characters test file, besides,
 embedding otf files are so so slow. I don't think I'm ready for otf yet.

afaik pdftex does not do subsetting of cid fonts, but luatex does

Hans

-
   Hans Hagen | PRAGMA ADE
   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | fax: 038 477 53 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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] LaTeX float pages in ConTeXt

2007-12-13 Thread Santy, Michael
Wolfgang Schuster wrote:
 but he want to collect the figures on one page and not
 every on a new page.

That's part of the issue, but not the entire issue.  Attached is the equivalent 
LaTeX source and the resultant PDF (both gzipped due to ridiculously low 40k 
email limit).  LaTeX appears to float a series of figures placed with the 
htbp as follows:

1) Try to float the figures on the current page.  They can be here, or at the 
top or bottom of the page.
2) If the figures weren't placed on the current page, finish out the current 
page with content (see pdf page 1), unlike ConTeXt's force option.  Start a 
new page containing only floats and keep doing so until all floats are flushed. 
 (pages 2-4 of the PDF)
3) Try to place content on what would be the last float page (see page 5 of the 
PDF).

The closest analog that I can see in ConTeXt is the force placement option 
for floats, which is mean to ensure strict ordering.  The main difference is 
that the LaTeX htbp placement option will fill the remaining vertical 
whitespace with content before starting a float page.

Cheers,
Mike



floats.tex.gz
Description: floats.tex.gz


floats.tex.gz
Description: floats.tex.gz
___
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
___


Re: [NTG-context] LaTeX float pages in ConTeXt

2007-12-13 Thread Hans Hagen
Santy, Michael wrote:
 Wolfgang Schuster wrote:
 but he want to collect the figures on one page and not
 every on a new page.

in addition to default=, there is a fallback= option

-
   Hans Hagen | PRAGMA ADE
   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | fax: 038 477 53 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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] LaTeX float pages in ConTeXt

2007-12-13 Thread Aditya Mahajan
On Thu, 13 Dec 2007, Santy, Michael wrote:

 Wolfgang Schuster wrote:
 but he want to collect the figures on one page and not
 every on a new page.

 That's part of the issue, but not the entire issue.  Attached is the 
 equivalent LaTeX source and the resultant PDF (both gzipped due to 
 ridiculously low 40k email limit).  LaTeX appears to float a series of 
 figures placed with the htbp as follows:

Only the tex file was attached, no pdf. When I compile the latex file, it 
doesn't work propoerly. I set all figures as
   (boxed [)width=5.0in, height=3.0in]
I think that this is because \fbox in latex does not take an optional 
argument.

Aditya

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


Re: [NTG-context] MkIV on Ubuntu

2007-12-13 Thread Aditya Mahajan
On Thu, 13 Dec 2007, Hans Hagen wrote:

 Aditya Mahajan wrote:

 However, mtxrun --script fonts --list --pattern=pagella gives
 MtxRun | unknown script: fonts

 i sometimes get that too on linux and am not sure why because it works
 ok my vista machine; o need to look into it (actually, font is resolved
 to (mtx-)font(s)

Ok, I set TEXMFCNF explicitly, and I do not get an error. I regenerated 
the formats, and the simple hello world document compiles correctly.

pdffonts test.pdf gives me
name type  emb sub uni object ID
 - --- --- --- -
ZGSVCK+LMRoman12-Regular CID Type 0C   yes yes yes  4  0

I think that this means that otf fonts are embedded (not sure). I start 
exploring mkiv more extensively. But something is still wrong with mtxrun.

$ locate bonum gives me
/usr/share/texmf/fonts/opentype/public/tex-gyre/texgyrebonum-regular.otf
/usr/share/texmf/fonts/opentype/public/tex-gyre/texgyrebonum-bolditalic.otf
/usr/share/texmf/fonts/opentype/public/tex-gyre/texgyrebonum-bold.otf
/usr/share/texmf/fonts/opentype/public/tex-gyre/texgyrebonum-italic.otf
/usr/share/texmf/tex/latex/tex-gyre/tgbonum.sty

which means that the fonts are installed in /usr/share/texmf/

When I do
$ mtxrun --scripts fonts --verbose --list --pattern=bonum

I get

MtxRun | version 1.0.2 - 2007+ - PRAGMA ADE / CONTEXT

MtxRun | loading configuration for /usr/share/texmf/web2c from 
///tmp/luatex-cache/context/e027248d6557d124c703335e8a95ecd5/trees/e027248d6557d124c703335e8a95ecd5
MtxRun | locating list of /home/adityam/.texmf-config
MtxRun | locating list of /home/adityam/.texmf-var
MtxRun | locating list of /home/adityam/texmf
MtxRun | locating list of /etc/texmf
MtxRun | locating list of /var/lib/texmf
MtxRun | locating list of /usr/local/share/texmf
MtxRun | locating list of /usr/share/texmf %--- /usr/share/texmf is
%--- being read
MtxRun | locating list of /usr/share/texmf-texlive
MtxRun | loading files for /var/lib/texmf from 
///tmp/luatex-cache/context/e027248d6557d124c703335e8a95ecd5/trees/c99fbb6307ce58c4c8d3687f791de5f6
MtxRun | loading files for /usr/local/share/texmf from 
///tmp/luatex-cache/context/e027248d6557d124c703335e8a95ecd5/trees/b8a1cf189bc82d8722e834ba72af3440
MtxRun | loading files for /usr/share/texmf from 
///tmp/luatex-cache/context/e027248d6557d124c703335e8a95ecd5/trees/9ea5cec901854e6fa728c2ba01c0bb52
MtxRun | loading files for /usr/share/texmf-texlive from 
///tmp/luatex-cache/context/e027248d6557d124c703335e8a95ecd5/trees/c136f4d84c0b9fde8e19a42543a2e07d

It looks like mtxrun is scanning the correct directories, but cannot find 
the font files. On the other hand,

luatools texgyrebonum-regular.otf works fine and gives me the correct 
location.

If I use texexec to compile things, do I need mtxrun? If not, then I can 
just wait for things to get sorted at the distribution level, but still 
use (a possibly half-broken) mkiv in the meanwhile.

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


Re: [NTG-context] LaTeX float pages in ConTeXt

2007-12-13 Thread Santy, Michael
Sorry about that, the PDF and TeX (that compiles) is now attached.

Cheers,
Mike


floats.pdf
Description: floats.pdf
\documentclass[12pt]{article}
\usepackage{graphicx}
\begin{document}

\def\ipsum{%
\par Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. }

\def\testfigure{
  \begin{figure}[htbp]
\fbox{
  [EMAIL PROTECTED]
}
\caption{Blah}
  \end{figure}
}

\section{First Section}
\ipsum
\testfigure
\testfigure
\testfigure
\testfigure
\testfigure
\testfigure
\testfigure
\testfigure

\section{Second Section}
\ipsum
\ipsum
\ipsum

\section{Third Section}
\ipsum
\ipsum

\section{Third Section}
\ipsum
\ipsum

\end{document}

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


Re: [NTG-context] updateLuaTeX.sh (was: hanging with \bTD[nc=3])

2007-12-13 Thread Peter Münster
On Thu, Dec 13, 2007 at 09:26:55AM +0100, Hans Hagen wrote:
  
  can you try todays binary?
  
  hmm, frozen  again.
  
  [...]
  
  What binary do you mean ?
 
 12/12, well, the one i have on my machine -)

Well, I see: sometimes we need the trunk version of luatex...
That's why there is now a new script updateLuaTeX.sh in the
texlive rpm-package (see http://pmrb.free.fr/texlive/).

In all, there are now 3 interesting commands:
updateLuaTeX.sh  (update to trunk version)
updateConTeXt.sh (update to current version)
updateConTeXt.sh beta(update to beta version)

Cheers, Peter

-- 
http://pmrb.free.fr/contact/
___
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
___


Re: [NTG-context] What's the ps_name of AdobeMingStd-Light?

2007-12-13 Thread Zhichu Chen
Hi Wolfgang,

On Dec 13, 2007 7:17 PM, Wolfgang Schuster [EMAIL PROTECTED]
wrote:

 2007/12/13, Zhichu Chen [EMAIL PROTECTED]:
  Hi guys,
 
  Maybe this post has gone too far, and I've tried a bunch of methods to
 get
  my map work. Anyway, I can't. And there's something I must say, why
 pdftex
  must embed the whole otf file? It's about 15M for my only-one-character
 test
  file and about 20M for my another only-two-characters test file,
 besides,
  embedding otf files are so so slow. I don't think I'm ready for otf yet.

 I tried the Song font from Adobe a few days ago with XeTeX and a older
 chinese example text from you and the file size with 37 pages of output
 was a little bit over 1 MB, the same result with luaTeX but I got more
 pages.

Then XeTeX can treat otf fonts correctly? I never tried that. I convert the
otf file into multiple type1 fonts (which compiles much more faster on my
PC) and I got 1.7M with 60 pages with pdftex embed the subsets. And I got
440.9K with the same document and the same tfm files except I specify Adobe
Reader to use SimSun and not embed any fonts. I like the later.



 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

 ___




-- 
Best Regards
Chen


 Zhi-chu Chen | Shanghai Synchrotron Radiation Facility
No. 2019 | Jialuo Rd. | Jiading | Shanghai | P.R. China
tel: 086 21 5955 3405 | zhichu.chen.googlepages.com
  | www.sinap.ac.cn

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


Re: [NTG-context] What's the ps_name of AdobeMingStd-Light?

2007-12-13 Thread Zhichu Chen
Thanks Hans. Do you have any comments about how to now embed the standard
Adobe CJK fonts?

On Dec 13, 2007 8:25 PM, Hans Hagen [EMAIL PROTECTED] wrote:

 Zhichu Chen wrote:
  Hi guys,
 
  Maybe this post has gone too far, and I've tried a bunch of methods to
 get
  my map work. Anyway, I can't. And there's something I must say, why
 pdftex
  must embed the whole otf file? It's about 15M for my only-one-character
 test
  file and about 20M for my another only-two-characters test file,
 besides,
  embedding otf files are so so slow. I don't think I'm ready for otf yet.

 afaik pdftex does not do subsetting of cid fonts, but luatex does

 Hans

 -
   Hans Hagen | PRAGMA ADE
   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | fax: 038 477 53 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  : https://foundry.supelec.fr/projects/contextrev/
 wiki : http://contextgarden.net

 ___




-- 
Best Regards
Chen


 Zhi-chu Chen | Shanghai Synchrotron Radiation Facility
No. 2019 | Jialuo Rd. | Jiading | Shanghai | P.R. China
tel: 086 21 5955 3405 | zhichu.chen.googlepages.com
  | www.sinap.ac.cn

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