Showing posts with label bash. Show all posts
Showing posts with label bash. Show all posts
Thursday, April 28, 2016
Add TEX root in all tex-sources
When working collaboratively with larger LaTeX projects, sources are usually split into many source-files, which are included or inputed into a master document. SyncTeX is a great thing, enable you to jump from pdf-preview directly to the specific source-line. Some tools require that the master-file is specified as root in each of the source files for this to work when the source is split into multiple files.
I wrote a script that perform this trivial and a bit boring task:
https://github.com/mandus/scripts/blob/master/add_tex_root.sh
Run as
add_tex_root.sh [-c] master.tex
Your folder will be scanned for tex-files, and master.tex set as root in all of them (except in master.tex itself). With the -c option, backup files created in the process will be deleted.
Monday, January 22, 2007
Do I want the iPhone?
I will not add much to all the buzz about Apple's iphone, there is already way
to much said about it as it's still months out in the future. For us living in
Norway, I guess it will take almost a year before we can get our hands on it,
unfortunately.
What I will say is: First, I want one! Second, as it is clear now that the
operating system is MacOSX, I really hope that Apple is clever enough to add a
terminal, a bash shell and a ssh client as optional install items on a dvd that
will follow the phone. That will make it so much more interesting! If we even
can get a python interpreter and some GUI toolkit to do programming right on
the phone, we will be happy!
to much said about it as it's still months out in the future. For us living in
Norway, I guess it will take almost a year before we can get our hands on it,
unfortunately.
What I will say is: First, I want one! Second, as it is clear now that the
operating system is MacOSX, I really hope that Apple is clever enough to add a
terminal, a bash shell and a ssh client as optional install items on a dvd that
will follow the phone. That will make it so much more interesting! If we even
can get a python interpreter and some GUI toolkit to do programming right on
the phone, we will be happy!
Subscribe to:
Posts (Atom)