On 4/21/2013 10:32 PM, Leo Liu wrote:
> Hi there,
>
> I have been thinking about this after quite a few troubles of getting
> documents written long ago to compile cleanly under TeX live 2012 due to
> the new releases of packages the documents depend on. I haven't been
> able to make them all compile cleanly again.
>
> My conclusion is using LaTeX as a document format is a nightmare.
>
But isn't still better than using closed source binary format, where
one day you'll find you have 100's of binary files that can not
be read any more when you upgrade something? remember corel wordperfect?
lotus 123? chiwriter? etc...
But what else is better than Latex? not MSword surely?
> What is your experience and what are the best practices that you follow
> to ensure the document you write today will compile any day later?
>
> (for example, it would seem useful if I can easily freeze the list of
> packages my document depends on).
>
How about this: Make a virtual machine just for your latex
setup, and do not change it. The nice thing about virtual machines,
is that you can have many of them and they do not cost anything. VBox
is free. disk space is cheap.
This is what I do. I have a Linux VM to use just for my latex,
and I do not change it, if everything is working fine on it.
If I want to try something, I try that first on different VM
first. So if a new version of Latex is out, try it first on a new
VM, make sure it works for you. If not, just delete that VM
and you still have the stable one.
You can access all your shared data from the VM easily by
mounting disks into it. So your data still lives where it is,
but your application is saved in its own VM. This way you
know any changes you make in one VM do not affect the
other. The VM is just a file. So just make sure you back up
your disk where the VM is created on ofcourse.
--Nasser