Hi everyone,
I am using markdown to write the texts I write from time to time. Nothing official only internal stuff. In order to have nice printouts I include pictures as pdfs (if there is a better solution please let me know) since this gives me a nice html of my texts (Safari supports pdf as pictures) and the print quality is perfect as well. But I cannot use the command “convert document to pdf” since the Textmate internal html viewer does not support pdfs. So the questions are 1) Is there a better way to implement “printable” pictures? 2) how to workaround the “convert document to pdf” bug?
Thanks Christoph
~~~~~ Christoph Biela
cbiela@gmail.com
On Jun 12, 2006, at 8:23 AM, Christoph Biela wrote:
But I cannot use the command “convert document to pdf” since the Textmate internal html viewer does not support pdfs. So the questions are
- Is there a better way to implement “printable” pictures?
- how to workaround the “convert document to pdf” bug?
Not sure what you mean by the pdf bug. I have opened pdfs via the internal html viewer in the past. I use the Schubert plugin (http:// www.schubert-it.com/pluginpdf/). I also am still puzzled as to why you don't use jpeg for the pictures.
I personally use LaTeX for my writing, so that is what I would suggest, to convert your Markdown to LaTeX, and then convert that to pdf, and in the meantime keep the pictures in jpeg or png format.
But I guess I haven't really fully understood your problem. Can you give us a small test case and what the problems are? How do you include a pdf as a picture? What happens when you try to preview this in the internal viewer?
Haris
Sorry, I was not clear enough as it seems,
I like markdown, since it is easy to write and to read, so when I make notes its quite easy to use. I also have to include drawings or graphs, where jpg is not the best format (png as well).
Example # Project ONE some notes # Project TWO some notes ![sampledrawing](sdrawing.pdf) # Project THREE
Using the multimarkdown preview does not show the pdfs, but safari does
Christoph
On 2006-06-12, at 16:29, Charilaos Skiadas wrote:
On Jun 12, 2006, at 8:23 AM, Christoph Biela wrote:
But I cannot use the command “convert document to pdf” since the Textmate internal html viewer does not support pdfs. So the questions are
- Is there a better way to implement “printable” pictures?
- how to workaround the “convert document to pdf” bug?
Not sure what you mean by the pdf bug. I have opened pdfs via the internal html viewer in the past. I use the Schubert plugin (http:// www.schubert-it.com/pluginpdf/). I also am still puzzled as to why you don't use jpeg for the pictures.
I personally use LaTeX for my writing, so that is what I would suggest, to convert your Markdown to LaTeX, and then convert that to pdf, and in the meantime keep the pictures in jpeg or png format.
But I guess I haven't really fully understood your problem. Can you give us a small test case and what the problems are? How do you include a pdf as a picture? What happens when you try to preview this in the internal viewer?
Haris
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
~~~~~ Christoph Biela
cbiela@gmail.com
On Jun 12, 2006, at 10:30 AM, Christoph Biela wrote:
Using the multimarkdown preview does not show the pdfs, but safari does
That's interesting, hopefully someone more versed in multimarkdown can help you there, but for the time being if I do a preview of a file like you described in markdown instead of multimarkdown, it works just fine. Maybe the same can be done in your case?
I still don't understand though why jpg/png/gif is not the best format for your drawings. These are after all standard image formats, as opposed to pdf which serves a slightly different purpose. Just out of curiosity, how do you generate the drawings in the first place?
Christoph
Haris
Haris,
These are after all standard image formats, as opposed to pdf which serves a slightly different purpose
I don't see this as so far off - pdf files can be vector graphics (i.e. eps, but without the problems you can have with eps). I do my chemical formulae in pdf as well (and even my OmniGraffle stuff) -> but for my thesis in LaTeX. It might not be necessary in every case, but it sure helps with vector data.
And to the original poster: have you tried the pathway multimarkdown -
LaTeX -> PDF?
Dan