Results 1 to 3 of 3

Thread: Can I latex a file encrypted with vim?

  1. #1
    Join Date
    Jul 2005
    Location
    UC Irvine
    Beans
    342
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Can I latex a file encrypted with vim?

    I would like to make an encrypted file that I can latex. vim has a nice blowfish encryption built in that I would like to use to encrypt the file. However if I run latex on the file it fails because it sees gibberish.

    Anyone have any ideas how I could use vim to encrypt the file but still have a way of compiling the file with latex?

  2. #2
    Join Date
    Jul 2009
    Location
    Hamilton, New Zealand
    Beans
    540
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Can I latex a file encrypted with vim?

    The bottom line is that if the file is encrypted then it must be decrypted before latex can compile it. You could perhaps construct a single commandline instruction to do this by using a pipe to send the output of decryption to latex. It does seem like a very odd thing to want to do though. Usually when people want to do such odd things I find that they have a perfectly sane objective in mind but have chosen to go about it in a strange way. So could you perhaps explain why you want to do this. What are you hoping to achieve? I suspect there is likely to be an alternative means of achieving your real objective in a simpler fashion.
    Life's a pitch. And then you sing!

  3. #3
    Join Date
    Nov 2008
    Location
    Maine
    Beans
    1,125
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Can I latex a file encrypted with vim?

    ~Conradin~

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •