Reputation
Top tag
Next privilege 200 Rep.
See reduced ads
Badges
2 3 12
Impact
~41k people reached

  • 0 posts edited
  • 0 helpful flags
  • 2 votes cast
Jan
9
awarded  Famous Question
Dec
31
awarded  Popular Question
Nov
13
comment Auto Generating and Printing PDF Files From Markdown?
Attempting to install html doc on el capitan yields: htmldoc: This formula either does not compile or function as expected on OS X versions newer than Yosemite due to an upstream incompatibility. Error: An unsatisfied requirement failed this build.
Nov
13
comment Auto Generating and Printing PDF Files From Markdown?
Running the test yields: "pandoc: xelatex not found. xelatex is needed for pdf output."
Jul
17
awarded  Notable Question
Feb
23
comment Auto Generating and Printing PDF Files From Markdown?
Very interesting. I'll play around with the option. Thank you.
Jan
28
awarded  Popular Question
Jan
28
awarded  Commentator
Jan
28
comment Auto Generating and Printing PDF Files From Markdown?
I can see there is still a problem: instead of creating and printing 'my filename.pdf' it's trying to do 'my.pdf' and 'filename.pdf'
Jan
27
comment Auto Generating and Printing PDF Files From Markdown?
I think I just realized that this is my own dumb fault for having pipes in my file names.
Jan
27
accepted Auto Generating and Printing PDF Files From Markdown?
Jan
27
comment Auto Generating and Printing PDF Files From Markdown?
There is still one problem: this loop just prints the first file over and over, not all the files once. for filename in ls *.md; do echo $(markdown $filename) "<p>$filename</p>" | htmldoc --no-toc --no-title --fontspacing 3 --size a4 -f ${filename}.pdf -lpr ${filename}.pdf done
Jan
27
comment Auto Generating and Printing PDF Files From Markdown?
Edit: Hazel to the rescue!
Jan
27
comment Auto Generating and Printing PDF Files From Markdown?
Thanks for your help. I've played with htmldoc and can see how to get it to do what I want, but you'll have to forgive me, because I'm not sure where to put that piece of code to actually have it run at a particular time.
Jan
27
revised Auto Generating and Printing PDF Files From Markdown?
deleted 2 characters in body
Jan
27
comment Auto Generating and Printing PDF Files From Markdown?
RVM: command not found.
Jan
27
awarded  Editor
Jan
27
revised Auto Generating and Printing PDF Files From Markdown?
added 30 characters in body
Jan
27
asked Auto Generating and Printing PDF Files From Markdown?
Jan
24
asked Setting Global Volume / Track Keyboard Shortcut with Non-Apple Keyboard