kraigus shmeggus ([info]kraig) wrote,
@ 2007-04-19 01:11:00
Previous Entry  Add to memories!  Tell a Friend!  Next Entry
Hobbies(ish)
No progress on the Scheme front, but I started teaching myself LaTeX in order to produce some nicely-formatted documentation for our still-fairly-new clusters. That's like crack too. Three or four hours to write up maybe 15 pages worth of text, then a couple of hours to roughly TeX-ify it... then another 5 or 6 hours to clean up the last 10% of the formatting. I got it all down except the best way to handle URLs - do you wrap them in the middle if they come at the end of a line, or force a newline? Either way looks like crap.

It's easy to lose several hours mucking around with that. I didn't let myself use TeXShop at first, just so I'd have a better handle on how things worked, but when I started using it last night, man. Finestkind.

Now I should sleep.



(Post a new comment)


(Anonymous)
2007-04-19 01:55 pm UTC (link)
You have a professional reason to get the TeXBook, which is... well, just get it. Not like crack. More like acid.

URLs just suck. Put them on a line by themselves, or rewrite the paragraph so that they come closer to the start of a line.

TeXShop doesn't take you too far away from the command line, and what it adds is nice, though Emacs modes for LaTeX are pretty sophisticated.

(Reply to this) (Thread)


[info]kraig
2007-04-21 01:02 am UTC (link)
Mostly what it adds for me is a GUI editor (click to where I want to go, yay!) and splat-t to compile and look at the PDF. I wound up going back to my Makefile when I wanted to also produce HTML output though.

(Reply to this) (Parent)


[info]sdt
2007-04-21 12:10 am UTC (link)
The way to do URLs is:

\usepackage{url}

Then

\url{http://example.com/}

(Reply to this) (Thread)


[info]kraig
2007-04-21 01:01 am UTC (link)
I wound up doing
\usepackage {hyperref}

and using \url from that instead. heava understands the syntax too, so it makes proper URLs out of them when you convert to HTML. Yum.

(Reply to this) (Parent)(Thread)


(Anonymous)
2007-04-25 12:27 am UTC (link)
They still don't wrap properly, though I am not sure how one would wrap URLs properly. I don't even know how to put them at the end of a sentence. Do you put the period right afterwards or not?

(Reply to this) (Parent)(Thread)


[info]kraig
2007-04-25 01:58 am UTC (link)
Yeah, I'm not sure how you do it properly either. It breaks between words though, which is better than nothing, and (I think) better than having to massage everything so you get the impossibly-long URL on one line by itself - because what happens when you get a URL that's 90 characters+ long? Ridiculous, but it happens.

I put periods right after. I used to dispense with the period altogether, but that offends my sensibilities somehow. I am worried about c&p'ers getting it by mistake, but the more I think about it - not my problem.

(Reply to this) (Parent)


Create an Account
Forgot your login or password?
Login w/ OpenID
English • Español • Deutsch • Русский…