ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* texexec page selection changes output?
@ 2003-12-06 22:37 Karl Berry
  2003-12-14 14:43 ` Patrick Gundlach
  0 siblings, 1 reply; 3+ messages in thread
From: Karl Berry @ 2003-12-06 22:37 UTC (permalink / raw)


[-- Attachment #1: message body text --]
[-- Type: text/plain, Size: 816 bytes --]

(Sorry if this is the wrong list, I could not find a better one.)

I recently used texexec to select a given page from a file (attached) of
three pages:
  texexec --pdfselect --selection=2 --result=cover2-tx.pdf covers.pdf

It worked fine, but bnb noticed that the resulting cover2-tx.pdf was
different then the original: it is offset to the right by a pica or so,
and the "TUGboat" is moved down a similar amount.

When I extract the same page from the same file with gs:
  gs -q -dNOPAUSE -sDEVICE=pdfwrite -sOutputFile=cover2-gs.pdf \
     -dFirstPage=2 -dLastPage=2 covers.pdf -c quit 
the result is correct, i.e., the extracted page is identical (as far as
I can tell) to the original.

This happens with texexec 4.0 (and also with 2.8 and 3.1).

This is just FYI in case it's a bug you want to fix ...

karl



[-- Attachment #2: covers.pdf --]
[-- Type: application/pdf, Size: 82759 bytes --]

[-- Attachment #3: cover2-tx.pdf --]
[-- Type: application/pdf, Size: 27892 bytes --]

[-- Attachment #4: cover2-tx.log --]
[-- Type: application/octet-stream, Size: 2945 bytes --]

This is pdfeTeXk, Version 3.141592-1.11a-2.1 (Web2C 7.5.2) (format=cont-en 2003.12.6)  6 DEC 2003 14:15
entering extended mode
 %&-line parsing enabled.
 (/usr/local/texlive2003/texmf/web2c/cp8bit.tcx)
**&cont-en texexec.tex
(./texexec.tex{/usr/local/texlive2003/texmf-var/pdftex/config/pdftex.cfg}

ConTeXt  ver: 2003.9.25  fmt: 2003.12.6  int: english  mes: english

language       : language en is active
<protectionstate 0>
system         : cont-new loaded
(/usr/local/texlive2003/texmf/tex/context/base/cont-new.tex
systems        : beware: some patches loaded from cont-new.tex!
)
system         : cont-old loaded
(/usr/local/texlive2003/texmf/tex/context/base/cont-old.tex
loading        : Context Old Macros
)
system         : cont-fil loaded
(/usr/local/texlive2003/texmf/tex/context/base/cont-fil.tex
loading        : Context File Synonyms
)
bodyfont       : 12pt rm is loaded
language       : patterns 2:2-en-2 3:2-uk-2 4:2-de-2 5:2-fr-2 6:2-es-2 7:2-it-2
 8:2-nl-2 loaded
specials       : tex,postscript,rokicki loaded
\openout2 = `texexec.tui'.

system         : texexec.top loaded
(./texexec.top
specials       : loading definition file tpd
(/usr/local/texlive2003/texmf/tex/context/base/spec-tpd.tex
specials       : loading definition file fdf
(/usr/local/texlive2003/texmf/tex/context/base/spec-fdf.tex <unprotect 3>
<unprotect 4>
system (E-TEX) : [line 1907] \ifcsname 
<protect 4> <protect 3>)
specials       : fdf loaded
<unprotect 3> <protect 3>)
specials       : fdf,tpd loaded
)
\openout0 = `mpgraph.mp'.

\openout0 = `mprun.mp'.

\openout0 = `mpgraph.mp'.

\openout0 = `mprun.mp'.


pdftex         : needs map file: original-context-symbol.map
pdftex         : needs map file: pl0-ams-cmr.map
pdftex         : needs map file: original-vogel-symbol.map
systems        : begin file texexec at line 14
 <./covers.pdf{/usr/local/texlive2003/texmf-var/fonts/map/pdftex/updmap/pdftex.
map}>
figures        : dimensions of ./covers.pdf loaded from figurefile itself
[1.1]
systems        : end file texexec at line 17
 ) 
Here is how much of TeX's memory you used:
 809 strings out of 67444
 12266 string characters out of 736237
 4415773 words of memory out of 5521258
 31198 multiletter control sequences out of 10000+50000
 11353 words of font info for 37 fonts, out of 1000000 for 2000
 64 hyphenation exceptions out of 1000
 39i,16n,45p,186b,395s stack positions out of 5000i,500n,6000p,200000b,40000s
 34 PDF objects out of 300000
 0 named destinations out of 131072
 11 words of extra memory for PDF output out of 65536
{/usr/local/texlive2003/texmf/dvips/ai/aicmsy.enc}</usr/local/texlive2003/tex
mf/fonts/type1/bluesky/cm/cmsy8.pfb>{/usr/local/texlive2003/texmf/dvips/ai/aicm
mi.enc}</usr/local/texlive2003/texmf/fonts/type1/bluesky/cm/cmmi10.pfb>{/usr/lo
cal/texlive2003/texmf/dvips/ai/aicmitext.enc}</usr/local/texlive2003/texmf/font
s/type1/bluesky/cm/cmti10.pfb>
Output written on texexec.pdf (1 page, 27892 bytes).

[-- Attachment #5: cover2-gs.pdf --]
[-- Type: application/pdf, Size: 15444 bytes --]

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

* Re: texexec page selection changes output?
  2003-12-06 22:37 texexec page selection changes output? Karl Berry
@ 2003-12-14 14:43 ` Patrick Gundlach
  2003-12-14 16:29   ` Hans Hagen
  0 siblings, 1 reply; 3+ messages in thread
From: Patrick Gundlach @ 2003-12-14 14:43 UTC (permalink / raw)


Hello out there

> I recently used texexec to select a given page from a file (attached) of
> three pages:
>   texexec --pdfselect --selection=2 --result=cover2-tx.pdf covers.pdf

When I try to do the above, ConTeXt looks for a font "aicmti10". What
is going on here? Something misconfigured?

This is pdfeTeXk, Version 3.141592-1.11a-2.1 (Web2C 7.5.2)
 \write18 enabled.
 %&-line parsing enabled.
 (/opt/texlive/8/texmf/web2c/cp8bit.tcx)
entering extended mode
(./texexec.tex{/opt/local/texmf/pdftex/config/pdftex.cfg}

ConTeXt  ver: 2003.11.27  fmt: 2003.11.30  int: english  mes: english


[...]

systems        : begin file texexec at line 14
 <./covers.pdf{/opt/texlive/8/texmf/fonts/map/pdftex/updmap/pdftex.map}{/opt/lo
cal/texmf/dvips/config/dolly.map}{/opt/local/texmf/dvips/config/typedesign.map}
kpathsea: Running mktextfm aicmti10
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input aicmti10
This is METAFONT, Version 2.71828 (Web2C 7.5.2)
(/opt/texlive/8/texmf/web2c/cp8bit.tcx)

kpathsea: Running mktexmf aicmti10


-> error 


Patrick
-- 
mon trainsistor j'adore

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

* Re: Re: texexec page selection changes output?
  2003-12-14 14:43 ` Patrick Gundlach
@ 2003-12-14 16:29   ` Hans Hagen
  0 siblings, 0 replies; 3+ messages in thread
From: Hans Hagen @ 2003-12-14 16:29 UTC (permalink / raw)


At 15:43 14/12/2003, Patrick Gundlach wrote:
>Hello out there
>
> > I recently used texexec to select a given page from a file (attached) of
> > three pages:
> >   texexec --pdfselect --selection=2 --result=cover2-tx.pdf covers.pdf
>
>When I try to do the above, ConTeXt looks for a font "aicmti10". What
>is going on here? Something misconfigured?
>
>This is pdfeTeXk, Version 3.141592-1.11a-2.1 (Web2C 7.5.2)
>  \write18 enabled.
>  %&-line parsing enabled.
>  (/opt/texlive/8/texmf/web2c/cp8bit.tcx)
>entering extended mode
>(./texexec.tex{/opt/local/texmf/pdftex/config/pdftex.cfg}

this is a side effect of the big map file approach: if pdftex locates a 
file in that map file then it also assumes that it is present (based on the 
"Name"); (recent versions of texexec have --nomap as a way out); it's also 
one of the reasons for me loading map files on demand and omit "Names" in 
those files; next versions of pdftex will have more map manipulating 
features built in

Hans  

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

end of thread, other threads:[~2003-12-14 16:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-12-06 22:37 texexec page selection changes output? Karl Berry
2003-12-14 14:43 ` Patrick Gundlach
2003-12-14 16:29   ` 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).