Jump to content
Willem

Markdown > Pandoc > Xelatex

Recommended Posts

I am considering the Alfred Powerpack for a rather specific use (although if it works, I guess others will follow):

 

I started writing in markdown (in Ulysses III to be precise). It can save to FILE.md, and then

 

1. I open the terminal,

2. make terminal know in which directory the file resides (in my case standard: cd Documents/Pandoc )

3. type

 

 
               pandoc -o FILE.tex --template=TEMPLATE.xelatex FILE.md
 
4. and then in TeXshop I search and replace (because I often use very specific environments, which I cannot do without)
 
               \textbackslash{} to \
               \{ to {
               \} to }
 
5. and finally I can run XeLaTeX on it.
 
It would be nice to create a workflow for steps 1-4. Can James, sorry, Alfred do this?
 

 

All the best,
 
Willem
Edited by Willem

Share this post


Link to post

 

I am considering the Alfred Powerpack for a rather specific use (although if it works, I guess others will follow):

 

I started writing in markdown (in Ulysses III to be precise). It can save to FILE.md, and then

 

1. I open the terminal,

2. make terminal know in which directory the file resides (in my case standard: cd Documents/Pandoc )

3. type

 

 
               pandoc -o FILE.tex --template=TEMPLATE.xelatex FILE.md
 
4. and then in TeXshop I search and replace (because I often use very specific environments, which I cannot do without)
 
               \textbackslash{} to \
               \{ to {
               \} to }
 
5. and finally I can run XeLaTeX on it.
 
It would be nice to create a workflow for steps 1-4. Can James, sorry, Alfred do this?
 

 

All the best,
 
Willem

 

 

Willem,

 

Alfred should definitely be able to accomplish 1-3. The 4th step, since I am not really familiar with TeXshop, I can't give a 100% confirmation on that. Is the action in step 4 something performed from the command line? I'm guessing no since TeXshop does appear to be a gui based application. If it's something you have to click through or action in the application itself, Alfred could potentially help. If it could be performed with keyboard hotkeys or if the application has AppleScript support, it may be a little easier. As mentioned though, since I'm not really familiar with it at all, it's hard to say.

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...