Tell me more ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I have been trying to get moderncv working for a while now. I was missing some packages so I upgraded from texlive 2009basic to texlive 2010.

Everything went as expected however I am getting a little bit of strange behavior. I am using:

In the past to compile I used the keyboard shortcut: \ll. This still works sometimes. Here are reproduction steps:

  1. From the terminal go: gvim ass1v2.tex this opens macvim
  2. Make a change to the document
  3. Press \ll to compile the document
  4. Open the document: open ass1v2.pdf. The document is opened in preview and the change made in step 2 is NOT visible.
  5. Quit preview.
  6. Save and Quit MacVim.
  7. Open MacVim.
  8. Press \ll to compile the document
  9. Open the document: open ass1v2.pdf. The document is opened in preview and the change made in step 2 is visible.

The only way to get the \ll shortcut working again is to quit macvim and relaunch it. This will allow one fresh compile before a restart is required again.

Couple questions:

  • How can I tell what \ll is mapped to? Maybe then I can debug the command itself
  • It seems very strange that it will compile once but requires a restart of MacVim before it will work again. Any ideas why this would be?

To Test I opened a file that I had been working on with Tex 2009basic and checked to make sure that this problem was being caused my my new installation.

share|improve this question
Do you get the same behavior if you just use vim? – TH. Dec 21 '10 at 16:53
2  
please accept your answer. – Caramdir Jan 20 '11 at 17:49
Does this question count as 'too localised'? – Joseph Wright Feb 19 '11 at 19:14
@Joseph: I'd say (and vote) so. – TH. Mar 21 '11 at 23:45

closed as too localized by TH., Caramdir, Joseph Wright Mar 22 '11 at 6:47

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, see the FAQ.

1 Answer

Dahm. I am dumb. I was flustered and forgetting to save my docuemnt before compiling. That will teach me. Steps to solve:

  1. Save .tex file
  2. Compile .tex file
  3. Open .pdf file
share|improve this answer
2  
Add set autowrite in your .vimrc (not sure where it is with Macvim) and you'll never have this problem again. – mpg Dec 21 '10 at 17:03
@mpg, thanks very helpful! – sixtyfootersdude Dec 22 '10 at 4:12
1  
If this answer solved your problem, you should accept it. – Hendrik Vogt Dec 22 '10 at 16:01
If this answer solved your problem, you should accept it. :-) – Hendrik Vogt Mar 21 '11 at 21:09

Not the answer you're looking for? Browse other questions tagged or ask your own question.