ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* page selection with context magnifies
@ 2004-05-07 13:54 Karl Berry
  2004-05-13 14:14 ` Patrick Gundlach
  0 siblings, 1 reply; 2+ messages in thread
From: Karl Berry @ 2004-05-07 13:54 UTC (permalink / raw)


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

(I believe this is the same bug I reported on December 6, with
additional information.)

I'm using context (from TL 2003) to select pages.  It's apparently
actually changing the content, that is, enlarging it!  Consider page 2
of the attached covers.pdf.  I try to extract it with:

texexec --mode=letter --pdfselect --selection=2 --result=bad2.pdf covers.pdf

The result is the attached bad2.pdf.  If you view at, say, 100% ("fit to
page" will eradicate the difference) and compare to the original page 2,
the fonts appear larger and everything is moved to the right a bit, as
if the page was magnified by some small proportion.

The same thing happens with page 4 and with other files I have tried.

I tried removing the --mode=letter, it made no difference.

Any help appreciated.  Although gs can extract pages correctly, it
loses the searchable text, while context preserves it, so I'd rather use
the latter. :).

Thanks,
k


[-- Attachment #2: ctx.log --]
[-- Type: application/octet-stream, Size: 2891 bytes --]

texexec --mode=letter --pdfselect --selection=2 --result=bad2.pdf covers.pdf

 TeXExec 4.0 - ConTeXt / PRAGMA ADE 1997-2003

               pdffile : covers.pdf
             backspace : 0pt
              topspace : 0pt
           paperoffset : 0pt
             textwidth : unknown
            executable : pdfetex
                format : cont-en
             inputfile : texexec
                output : pdftex
             interface : en
               options : once
          current mode : letter
            outputfile : bad2

This is pdfeTeXk, Version 3.141592-1.11a-2.1 (Web2C 7.5.2)
 %&-line parsing enabled.
 (/usr/local/texlive2003/texmf/web2c/cp8bit.tcx)
entering extended mode
(./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
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
)
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
 ){/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
text.enc}</usr/local/texlive2003/texmf/fonts/type1/bluesky/cm/cmr10.pfb></usr/l
ocal/texlive2003/texmf/fonts/type1/bluesky/cm/cmbx10.pfb>
Output written on texexec.pdf (1 page, 38393 bytes).
Transcript written on texexec.log.

           return code : 0
              run time : 5 seconds
              renaming : texexec to bad2

        total run time : 6 seconds

[-- Attachment #3: covers.pdf --]
[-- Type: application/pdf, Size: 597232 bytes --]

[-- Attachment #4: bad2.pdf --]
[-- Type: application/pdf, Size: 38393 bytes --]

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

* Re: page selection with context magnifies
  2004-05-07 13:54 page selection with context magnifies Karl Berry
@ 2004-05-13 14:14 ` Patrick Gundlach
  0 siblings, 0 replies; 2+ messages in thread
From: Patrick Gundlach @ 2004-05-13 14:14 UTC (permalink / raw)


Hello Karl,

> I'm using context (from TL 2003) to select pages.  It's apparently
> actually changing the content, that is, enlarging it!  Consider page 2
> of the attached covers.pdf.  I try to extract it with:
>
> texexec --mode=letter --pdfselect --selection=2 --result=bad2.pdf covers.pdf

try:

texexec --pdfselect --selection=2 --paper=letter --result=bad2.pdf covers.pdf

Patrick

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

end of thread, other threads:[~2004-05-13 14:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-07 13:54 page selection with context magnifies Karl Berry
2004-05-13 14:14 ` Patrick Gundlach

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