0

I would like to make ViMLaTeX compilation to produce two outputs - let's say, one with the draft option in the documentclass command. Or even better - to have two different ViM commands, one for normal compilation (\ll etc.) and one for a draft compilation.

Appreciate any assistance,

  • Assuming that the answer to your previous question works correctly, isn't this just a question about making a vim command to run make draft or make pdf in the shell? – Mike Renfro Apr 26 '15 at 13:27
  • I'm not exactly sure how to control the latex commands vimlatex uses. for instance, for can I get the 'source' for the \ll command and edit it? – yoki Apr 26 '15 at 19:11
  • I don't use vim, but I suspect Vim documentation: Customizing Latex-Suite would be a start. Or you could run make inside vim with :make, and I assume that will take a pdf or draft argument for your previous Makefile. But this is still really a vim question, not a LaTeX one. – Mike Renfro Apr 26 '15 at 20:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.