Skip to content →

Tag: LaTeX

tiger days 1

It
should be really day 2 but yesterday evening I was a bit overoptimistic
and tried to get MySQL, Ruby, Rails & Tracks installed and in the
process totally wrecked my Ruby-system (and probably a few things more).
Besides, I found out that the _Carbon Copy Cloner_ work-around
doesn\’t really work (that is, one canNOT boot from the cloned copy)
etc. etc. In short, a lot of frustration. So today, I started all over
again (using the install notes below to guide me and so I could reduce
the total time to about 2 hrs). But, as this was the easy bit (still to
come : MySQL, PHP, WordPress+LatexRender, Ruby&Tracks etc.) and I
don\’t want to redo everything again when I do something horribly wrong
I changed my overall tactics. I\’ll keep identical copies on my iBook
and on my iMac and do the next batch of installs on just one machine and
check whether everything works before syncing it to the other. If
something gets messed up I resync to the state of the previous day. Just
one question left : what program to use for the backup/restore now that
CCC seems to be broken? Fortunately, there is still PsyncX which still
seems to work fine (at least today…). Below, for what it is worth,
yesterday\’s log of events :

Okay, I checked that I can still
TeX papers and connect to the printer on the iMac (after Archive/Install
to Tiger). Most other things have broken down, such as my mind on tracks
and my MySQL-database, but I\’m quite hopeful I can rebuild them all.
So, time for a drastic _Erase/Install_ on my iBook.

12:04 : One final safety check. Connect the external
HD, select the _Carbon Copy Cloned_ partition as StartUp Disk and
do a Restart to verify that it can be cloned back should everything go
terribly wrong. Seems to work nicely, so change again from StartUp disk,
restart and disconnect the external HD.

12:16
: Printed the macdevcenter install
tips
and made a fresh pot of coffee. Took the unread part of the
newspaper with me, connected Jan\’s iPod, made it the new StartUp disk
and did another Restart.

12:24 : Selected
\’English\’ as the main language. Selected _DiskUtility_ from the
_Utilities_ menu (before you have to select a Disk destination).
Selected the HD, clicked _Erase_ and choose _Erase Free
Space_ first, then choose the SecurityOption to \’zero out data\’.
(Both steps require a lot of extra time but what is the point of doing
an Erase if you don\’t erase properly? Btw. the macdev-article does not
agree with me on this point.) Meanwhile, had some coffee and a
read…

13:23 : Did quit DiskUtility
which brought me back to the Installer. Selected the HD and clicked on
_Options_ to select Erase&Install and clicked Continue. Then
clicked on _Custom Install_ to choose which Packages to Install.
Did choose _all_ Printer Drivers but in _Language
Translations_ only selected : French, German and Dutch. Didn\’t
select X11! Clicked : _Install_ and had yet another cup of
coffee…

13:45 : Restarted! Got me into
the SetupAssistant. Didn\’t choose to transfer info from another Mac. It
selected our wireless network immediately, and asked me for my .Mac
account info. Did create my main account and finished at
13:53 Only had to stop iTunes from wanting to put
PodSoftware onto the connected iPod… Checked for SoftwareUpdate
but there was none. Am connected to internet but had to add my other
mail-account. Done and received email at 14:05 Found
our Printer but did gray out two-sided printing (have to remember later
how I did set this up…).

14:12 : Time
to add the _Xcode Tools_ : opened the folder on the iPod and
clicked on _XcodeTools.mpkg_ . Followed he default installation.
Finished and deconnected the iPod at 14:24 Took a break
to decide how to continue. (21.97Gb available) Update today : do a
custom install using also cross-development!

14:37 : Okay, first things first : get myself a
working TeX-system starting from this page
to get the latest version of TeXShop and the i-Installer and place both
in the Applications folder and in the Dock. Placed the _To Your
Library_ folder of TeXShop in my ~/Library (containing the texmf
etc. path for pdfsync). Then followed this
page
and the i-Installer to install the packages in the right order
:

  • FreeType 2
  • libwmf
  • Ghostscript
    8
  • ImageMagick
  • FontForge
  • TeX (did a
    Full install with 2005 Devel.)

Had a brief look
through the other packages and maybe I\’ll install _Latex to RTF_
and _RTF 2 Latex_ later. Created a _DMG_ folder and put
the downloaded disk images into it. Created a_PAPERS_ folder and
transferred the last version of the paper with Stijn to check TeX but
clearly it couldn\’t find the _diagrams.sty_ file (I know I have
to quit using this, but I\’ll better get it over for backward
compatibility; put it into ~/Library/texmf/tex/latex/. Ran TeX again
without problems this time and checked the nice source-PDF syncing
(apple-click to jump). Finished : 15:37

15:56 : As long as administration sends me
_Word_ documents and expects me to read them, I have no choice
but to install _Office X_ . The upshot was that while searching
for the OfficeCD I found also the HP LaserJet 1320 CD and installed the
driver so now I can print 2-sided (using Printer Setup Utility) . Done :
16:15

16:45 : Used the
_.mac System Preference_ to get syncing started with my iDisk to
get adresses, calendars and passwords etc. on my iBook. Also filled in
the Sharing Preferences. Now that I have the passwords at hand, it is
time to get the latest versions of some of the shareware I own (and copy
their disk image to the DMG folder)

  • DevonThink
  • DenonAgent
  • Pod2Go : the site seems to be down at the
    moment but fortunately, I have a disk image of it which will have to do
    for now (note to self : check later whether the site is permanently
    dead…) Update today : it is up and running again…

and while I\’m at it I may as well get my wallet out and
purchase the full version of _Lite_ versions I like and use a lot
:

Fortunately, there is also a lot of excellent freeware that I
want to use

One of the following days : MySQL, PHP and perhaps Tracks but
first I desperately need to do some maths to kick off from all this
nonsense…

Leave a Comment

pdfsync

I
expect to be writing a lot in the coming months. To start, after having
given the course once I noticed that I included a lot of new material
during the talks (mainly concerning the component coalgebra and some
extras on non-commutative differential forms and symplectic forms) so
I\’d better update the Granada notes
soon as they will also be the basis of the master course I\’ll start
next week. Besides, I have to revise the Qurves and
Quivers
-paper and to start drafting the new bachelor courses for
next academic year (a course on representation theory of finite groups,
another on Riemann surfaces and an upgrade of the geometry-101 course).

So, I\’d better try to optimize my LaTeX-workflow and learn
something about the pdfsync package.
Here is what it is supposed to do :

pdfsync is
an acronym for synchronization between a pdf file and the TeX or so
source file used in the production process. As TeX system is not a
WYSIWYG editor, you cannot modify the output directly, instead, you must
edit a source file then run the production process. The pdfsync helps
you finding what part of the output corresponds to what line of the
source file, and conversely what line of the source file corresponds to
a location of a given page in the ouput. This feature is achieved with
the help of an auxiliary file: foo.pdfsync corresponding to a foo.pdf.

All you have to do is to put the pdfsync.sty file
in the directory _~/Library/texmf/tex/latex/pdfsync.sty_ and to
include the pdfsync-package in the preamble of the LaTeX-document. Under
my default iTex-front-end TeXShop it
works well to go from a spot in the PDF-file to the corresponding place
in the source-code, but in the other direction it only shows the
appropriate page rather than indicate the precise place with a red dot
as it does in the alternative front-end iTeXMac.

A major
drawback for me is that pdfsync doesn\’t live in harmony with my
favorite package for drawing commutative diagrams diagrams.sty. For example, the 75 pages of the current
version of the Granada notes become blown-up to 96 pages because each
commutative diagram explodes to nearly page size! So I will also have to
translate everything to xymatrix&#
8230;

One Comment

latex style files

I am
looking for a nice LaTeX-book style file. So far, I like the
thesis package
which has a more European-feel than the AMS-book
package. But surely there are other excellent packages I haven't
tested yet. Please drop a comment (if possible with a link). Also, if
you know of extra features which should be included in our
'house-style-file' or know of CTAN-packages which may be handy,
tell me! Thanks!

Leave a Comment