From: Aditya Mahajan <adityam@umich.edu>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Images in MultiMarkdown -> context -> PDF
Date: Fri, 23 Nov 2012 16:45:48 -0500 (EST) [thread overview]
Message-ID: <alpine.LNX.2.02.1211231643170.30905@ybpnyubfg.ybpnyqbznva> (raw)
In-Reply-To: <50AFEBEB.6090107@wisc.edu>
On Fri, 23 Nov 2012, Guy Stalnaker wrote:
> But I'm left with another problem, again something that becomes apparent as
> the difference between having two output formats in my document workflow:
> markdown -> pandoc -> html/text -> context tex -> pdf. This time it's images
> that are too wide for the available textarea in the pdf document. Now that
> the dpi is set, they display at the expected full resolution, yet if they are
> greater than 6.5*72=438 pixels, they go over the right margin. I know I can,
> individually, modify each /externalfigure directive and add
> 'width=\textwidth', but that really is a PITA. This document will have close
> to a hundred images.
>
> I will investigate using a commandline script, exif data, and convert to work
> through all of the images in the folder to scale/resize them so that they fit
> in the PDF document margin width. I don't think that the html version will
> suffer if I do this.
\setupexternalfigures[maxwidth=\textwidth]
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 : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2012-11-23 21:45 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-21 4:42 Guy Stalnaker
2012-11-21 10:07 ` Martin Schröder
2012-11-21 13:21 ` Guy Stalnaker
2012-11-21 14:35 ` Sietse Brouwer
2012-11-21 14:55 ` Guy Stalnaker
2012-11-21 17:44 ` Peter Rolf
[not found] ` <CAF=dkzwfNWgMQpGe3HXeuAZxpCjmzvJTHxxb-2pK6zKJ3+uBPw@mail.gmail.com>
2012-11-21 18:17 ` Guy Stalnaker
2012-11-21 20:36 ` Sietse Brouwer
2012-11-23 21:34 ` Guy Stalnaker
2012-11-23 21:45 ` Aditya Mahajan [this message]
2012-11-23 23:25 ` Guy Stalnaker
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=alpine.LNX.2.02.1211231643170.30905@ybpnyubfg.ybpnyqbznva \
--to=adityam@umich.edu \
--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).