Not signed in (Sign In)

Vanilla 1.1.9 is a product of Lussumo. More Information: Documentation, Community Support.

    •  
      CommentAuthormszargar
    • CommentTimeJan 15th 2012
     
    Hello,

    I use Ulysses' semantic editor to generate Tex code and I am pretty happy with the options (I hope they keep doing the excellent job). I just have one issue: The export window can run LaTeX or XeLaTeX up to three consecutive times, but it does not contain any option for running BibTex to integrate citations (Actually if you have citations you need to run it between the 1st and the 2nd time you run LaTeX). I tried to create a bash script to do that and put it into TeXLive's Bin directory, which works correctly from the command line, but Ulysses seems to be unable to run it. Even if it can run it, it won't work because when Ulysses passes the name of the exported TeX file as an argument to the TeX compiler, it passes along the file extension, but BibTex needs the name of the TeX file without extension. I am perplexed by this issue, and I can't believe there is no solution to it. Anybody with such an experience? I am sure many of you use Ulysses for academic writing.
    •  
      CommentAuthormszargar
    • CommentTimeJan 15th 2012
     
    My bash script:

    !#/bin/bash

    xelatex "$*"
    biber "$*"
    xelatex "$*"
    xelatex "$*"

    I have put it in /usr/texbin along with the rest of tex executable files.
    •  
      CommentAuthorvze26m98
    • CommentTimeJan 15th 2012
     
    I haven' t tried it, but how about running latexmk.pl?
    •  
      CommentAuthormszargar
    • CommentTimeJan 15th 2012
     
    I didn't know such a thing exists. I will give it a try and will keep you posted. Just one question: is there any way to run xelatex rather than latex with latexmk? I need to use it since I am using MacOS's native fonts. I have been searching for it in the manual file, but I can't find much.
    •  
      CommentAuthormszargar
    • CommentTimeJan 15th 2012
     
    Well, I got a grip on that, now the script runs XeLaTeX. I will keep you posted about whether it works in action with Ulysses.
    •  
      CommentAuthormszargar
    • CommentTimeJan 17th 2012
     
    Works à la perfection. Thank you Vze26m98.
    •  
      CommentAuthorsmolk
    • CommentTimeJan 30th 2012
     
    Could you explain how you use this?

    (I still have to find a way to create a suitable .bst file for the humanities, so I'm using LaTeX but not BiBtex. However, I maintain all references in BiBdesk...)
    •  
      CommentAuthormszargar
    • CommentTimeJan 31st 2012
     
    Smolk, what citation style do you use. You risk finding a ready-made style file for it. I found an excellent one for APA6 that I use now.

    Apparently the compile function exists only in non-appstore version. I am filing a complaint with them.
    •  
      CommentAuthormszargar
    • CommentTimeFeb 1st 2012
     
    Hi Smolk,

    Apparently no way to do it in the appstore version. It is possible in the on-site version of Ulysses. The option is at the bottom of the export window. I use biblatex instead of natbib for citation management (to have easier access to humanities styles such as APA6). I have added the latexmk command by choosing Other... from Export | LaTeX Processing | command and I have put "-latex=xelatex -f" in the options. Everything works à la perfection.

    Mah
    •  
      CommentAuthorsmolk
    • CommentTimeFeb 3rd 2012
     
    Thanks, I'l give all that a spin when I've got some time. My problem always was that I could not find a suitable style, and that it is so hard to make one yourself...

    I did hear about biblatex before, so I'll use that.

    Thanks for sharing,

    W