From: karl@freefriends.org (Karl Berry)
Subject: page selection with context magnifies
Date: Fri, 7 May 2004 09:54:31 -0400 [thread overview]
Message-ID: <200405071354.i47DsVF02777@f7.net> (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 --]
next reply other threads:[~2004-05-07 13:54 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-07 13:54 Karl Berry [this message]
2004-05-13 14:14 ` Patrick Gundlach
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=200405071354.i47DsVF02777@f7.net \
--to=karl@freefriends.org \
--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).