Re: [NTG-context] Images in MultiMarkdown - context - PDF

2012-11-23 Thread Guy Stalnaker
Sietse, I have confirmed, after significant testing, that 'convert -density 72' against existing non-png images produces the expected results in context output pdf documents. But I'm left with another problem, again something that becomes apparent as the difference between having two output

Re: [NTG-context] Images in MultiMarkdown - context - PDF

2012-11-23 Thread Aditya Mahajan
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

Re: [NTG-context] Images in MultiMarkdown - context - PDF

2012-11-23 Thread Guy Stalnaker
In case anyone else has been following this thread, here is the shell script I wrote to resize an image width to 6.5x72dpi so they fit in the standard letter pagesize \textwidth with 1-inch margins and add image density/resolution information so that context correctly sizes them in the PDF

Re: [NTG-context] Images in MultiMarkdown - context - PDF

2012-11-21 Thread Martin Schröder
2012/11/21 Guy Stalnaker jstal...@wisc.edu: I get a very good pdf document, but there is one bewildering issue -- the images in the ConTeXt output pdf document are scaled very small. All of Sounds like the TeX engine gets the wrong idea about the dpi of the images. Are you using MkII or MkIV?

Re: [NTG-context] Images in MultiMarkdown - context - PDF

2012-11-21 Thread Guy Stalnaker
I get the same results using texexec and context which means, if I understand rightly, I have used both MkII and MkIV. Interestingly I get similar results using oft as the pandit output. When I open the doc in LibreOffice the images are all scaled too small. Yet I can right-click each and

Re: [NTG-context] Images in MultiMarkdown - context - PDF

2012-11-21 Thread Sietse Brouwer
Guy Stalnaker jstal...@wisc.edu wrote: I get the same results using texexec and context which means, if I understand rightly, I have used both MkII and MkIV. Yes, this is correct. Interestingly I get similar results using oft as the pandit output. That does suggest it might be something in

Re: [NTG-context] Images in MultiMarkdown - context - PDF

2012-11-21 Thread Guy Stalnaker
Thanks - see my first post for a link to a web folder where you can find the .tex file, the .pdf context produces, two screenshots of the differing image treatment and two of the image files shown in the screenshots. Guy Stalnaker jstal...@wisc.edu jimmyg...@gmail.com On Nov 21, 2012, at

Re: [NTG-context] Images in MultiMarkdown - context - PDF

2012-11-21 Thread Peter Rolf
I suggest that you use 'identify' from ImageMagick to check your graphics. identify -verbose foo.jpg One graphic has a defined resolution (72ppi) and one has none. I also use ImageMagick to automatically add the resolution info to the graphics. No problems with graphic sizes since then. Here is

Re: [NTG-context] Images in MultiMarkdown - context - PDF

2012-11-21 Thread Guy Stalnaker
Well, that lead to an interesting experiment. I used convert to -resample a set of images to 300dpi and redid the compile. They are all now too bod, many off the right side of the page. Then did the same but set to 72. They are still too big. Odd, from too small to too big. I will try and be

Re: [NTG-context] Images in MultiMarkdown - context - PDF

2012-11-21 Thread Sietse Brouwer
Guy wrote: Well, that lead to an interesting experiment. I used convert to -resample a set of images to 300dpi and redid the compile. They are all now too bod, many off the right side of the page. Then did the same but set to 72. They are still too big. Odd, from too small to too big. I think

[NTG-context] Images in MultiMarkdown - context - PDF

2012-11-20 Thread Guy Stalnaker
Hello, Thanks to Aditya I have discovered ConTeXt which, thus far, seems to give me much more control over the images than LaTex does. Yay! Before we get the reason for this post, I should note that my workflow is MultiMarkdown file, pandoc output of standalone context file, then context on