-
I posted to my blog
Emacs, Org-mode, CSS, and Prince XML for Beautiful Handouts
Have you ever watched the movie Field of Dreams? Don't worry, I haven't either. It's an old movie about a guy who wants to build…...
-
I posted to my blog
An excellent tip from /home/evidad. Use C-x C-v RET to quickly reload a file. (It’s technically the command to find an alternate file, but it…...
-
I posted to my blog
Getting Search in Files to Work in Emacs in Win32
The command you want is find-grep-dired. This searches all files in a directory (recursively) for a phrase contained inside the file, aka Search in Files.…...
-
I posted to worthyisthelamb.info
http://worthyisthelamb.info/blog/rss.xml
worthyisthelamb.info
The command you want is find-grep-dired. This searches all files in a directory (recursively) for a phrase contained inside the file, aka Search in Files. In Emacs running on windows, typing M-x find-grep-dired gives an error, and the Emacs FAQ isn’t very helpful. After fiddling with Emacs, I finally got it to work by setting the right windows variables. <!--break-->
Download CoreUtils and FindUtils from GnuWin32. Install the packages in the default location. Add the default location, c:\Program Files\GnuWin32\bin, to the windows variable PATH. IMPORTANT: The trick is that this directory needs to go BEFORE the windows system directories. See this useful guide on how to change variables in windows. My PATH setting looks something like this: C:\Program Files\GnuWin32\bin; C:\WINDOWS\system32;C:\WINDOWS; C:\WINDOWS\System32\Wbem;
Reboot your computer.
This works on my WinXP box. The downside is that it replaces the windows version of the find command with the GNU version. Any windows programs that use this command will fail! However, I haven’t encountered any programs that use this command. (I use my computer in a very “light” way — internet, email, and word rocessing.) Your mileage will vary.
Array ( [title] => Getting Search in Files to Work in Emacs in Win32 [permalink] => http://worthyisthelamb.info/blog/content/getting-search-files-work-emacs-win32 [content] =>
The command you want is
find-grep-dired. This searches all files in a directory (recursively) for a phrase contained inside the file, aka Search in Files. In Emacs running on windows, typingM-x find-grep-diredgives an error, and the Emacs FAQ isn’t very helpful. After fiddling with Emacs, I finally got it to work by setting the right windows variables.
<!--break-->- Download
CoreUtilsandFindUtilsfrom GnuWin32. - Install the packages in the default location.
- Add the default location,
c:\Program Files\GnuWin32\bin, to the windows variablePATH. IMPORTANT: The trick is that this directory needs to go BEFORE the windows system directories. See this useful guide on how to change variables in windows. MyPATHsetting looks something like this:C:\Program Files\GnuWin32\bin; C:\WINDOWS\system32;C:\WINDOWS; C:\WINDOWS\System32\Wbem;
- Reboot your computer.
This works on my WinXP box. The downside is that it replaces the windows version of the find command with the GNU version. Any windows programs that use this command will fail! However, I haven’t encountered any programs that use this command. (I use my computer in a very “light” way — internet, email, and word rocessing.) Your mileage will vary.
[enclosures] => Array ( [0] => SimplePie_Enclosure Object ( [bitrate] => [captions] => [categories] => [channels] => [copyright] => [credits] => [description] => [duration] => [expression] => [framerate] => [handler] => [hashes] => [height] => [javascript] => js [keywords] => [lang] => [length] => [link] => [medium] => [player] => [ratings] => [restrictions] => [samplingrate] => [thumbnails] => [title] => [type] => [width] => ) ) [categories] => Array ( [0] => SimplePie_Category Object ( [term] => Emacs [scheme] => [label] => ) [1] => SimplePie_Category Object ( [term] => Windows [scheme] => [label] => ) ) [tags] => Array ( [0] => Emacs [1] => Windows ) [image] => ) - Download
-
I posted to worthyisthelamb.info
http://worthyisthelamb.info/blog/rss.xml
worthyisthelamb.info
In my job, we work in Microsoft Word and MathType. But as any geek will tell you, “Word (and MathType) suck.” So I started editing in Emacs and AucTeX and then importing into MathType.
AucTeX is a little too powerful for my needs. I don’t really use LaTeX to typeset documents— I just use LaTeX for math equations. AucTeX, however, is an editing mode for LaTeX. Like other programming modes, it doesn’t let you do things like insert tabs (which I often need to do — I’m sure there’s a workaround but my emacs kung fu is a little rusty).
AucTeX also won’t let you work with a plain text file, so you’ll need to wrap your document in this:
\documentclass[12pt]{article} \begin{document} Your document. \end{document}
In the windows version, unless I’m misunderstanding how equation previews work, preview at point does NOT work. When you preview at point, equations are rendered all over the place. However, preview document works fine in windows with its obvious disadvantage — for long documents or slow computers, you’ll be waiting a long time for the preview. Oh and if you’re a fan of longlines-mode, it doesn’t work with AucTeX. (Note that you don’t need this mode if you’re working with pure LaTeX — I do need it, though.)
Despite the whining, AucTeX is awesome. It’s definitely going to become part of my work flow.
Array ( [title] => The Adventures of Windows, AucTeX, and Uri (Part 2) [permalink] => http://worthyisthelamb.info/blog/content/adventures-windows-auctex-and-uri-part-2 [content] =>
In my job, we work in Microsoft Word and MathType. But as any geek will tell you, “Word (and MathType) suck.” So I started editing in Emacs and AucTeX and then importing into MathType.
AucTeX is a little too powerful for my needs. I don’t really use LaTeX to typeset documents— I just use LaTeX for math equations. AucTeX, however, is an editing mode for LaTeX. Like other programming modes, it doesn’t let you do things like insert tabs (which I often need to do — I’m sure there’s a workaround but my emacs kung fu is a little rusty).
AucTeX also won’t let you work with a plain text file, so you’ll need to wrap your document in this:
\documentclass[12pt]{article} \begin{document} Your document. \end{document}In the windows version, unless I’m misunderstanding how equation previews work,
preview at pointdoes NOT work. When you preview at point, equations are rendered all over the place. However,preview documentworks fine in windows with its obvious disadvantage — for long documents or slow computers, you’ll be waiting a long time for the preview. Oh and if you’re a fan oflonglines-mode, it doesn’t work with AucTeX. (Note that you don’t need this mode if you’re working with pure LaTeX — I do need it, though.)Despite the whining, AucTeX is awesome. It’s definitely going to become part of my work flow.
[enclosures] => Array ( [0] => SimplePie_Enclosure Object ( [bitrate] => [captions] => [categories] => [channels] => [copyright] => [credits] => [description] => [duration] => [expression] => [framerate] => [handler] => [hashes] => [height] => [javascript] => js [keywords] => [lang] => [length] => [link] => [medium] => [player] => [ratings] => [restrictions] => [samplingrate] => [thumbnails] => [title] => [type] => [width] => ) ) [categories] => Array ( [0] => SimplePie_Category Object ( [term] => aucTeX [scheme] => [label] => ) [1] => SimplePie_Category Object ( [term] => emacs [scheme] => [label] => ) [2] => SimplePie_Category Object ( [term] => LaTeX [scheme] => [label] => ) [3] => SimplePie_Category Object ( [term] => TeX [scheme] => [label] => ) [4] => SimplePie_Category Object ( [term] => win [scheme] => [label] => ) ) [tags] => Array ( [0] => aucTeX [1] => emacs [2] => LaTeX [3] => TeX [4] => win ) [image] => ) -
I posted to worthyisthelamb.info
http://worthyisthelamb.info/blog/rss.xml
worthyisthelamb.info
I’ve been trying to get emacs with AucTeX to run on my windows machine. Emacs is the swiss-army knife of text editors. AucTeX is an emacs module that allows you to work with LaTeX in an almost WYSIWYG way. Unfortunately, so far, it’s not working. <!--break--> As per the installation instructions for windows, you first install MikTeX, Ghostscript and emacs, followed by a simple unpacking of the AucTeX files into the emacs directory.
If only it were that easy. Unfortunately, the version of windows that’s supposed to work with AucTeX doesn’t work with AucTeX — DOH! The reason is that it doesn’t come with the libraries for working with images. As per the README file, you need libpng. After installing this library, I got a new type of error — the rendered equations were all over the place! I also tried another version emacs, NTemacs and got the same problem.
Will report back later. Over and out. LOL
Array ( [title] => Misadventures of Windows, AucTeX, and Uri [permalink] => http://worthyisthelamb.info/blog/node/16 [content] =>
I’ve been trying to get emacs with AucTeX to run on my windows machine. Emacs is the swiss-army knife of text editors. AucTeX is an emacs module that allows you to work with LaTeX in an almost WYSIWYG way. Unfortunately, so far, it’s not working.
<!--break-->
As per the installation instructions for windows, you first install MikTeX, Ghostscript and emacs, followed by a simple unpacking of the AucTeX files into the emacs directory.If only it were that easy. Unfortunately, the version of windows that’s supposed to work with AucTeX doesn’t work with AucTeX — DOH! The reason is that it doesn’t come with the libraries for working with images. As per the README file, you need libpng. After installing this library, I got a new type of error — the rendered equations were all over the place! I also tried another version emacs, NTemacs and got the same problem.
Will report back later. Over and out. LOL
[enclosures] => Array ( [0] => SimplePie_Enclosure Object ( [bitrate] => [captions] => [categories] => [channels] => [copyright] => [credits] => [description] => [duration] => [expression] => [framerate] => [handler] => [hashes] => [height] => [javascript] => js [keywords] => [lang] => [length] => [link] => [medium] => [player] => [ratings] => [restrictions] => [samplingrate] => [thumbnails] => [title] => [type] => [width] => ) ) [categories] => Array ( [0] => SimplePie_Category Object ( [term] => emacs [scheme] => [label] => ) [1] => SimplePie_Category Object ( [term] => LaTeX [scheme] => [label] => ) [2] => SimplePie_Category Object ( [term] => TeX [scheme] => [label] => ) [3] => SimplePie_Category Object ( [term] => win [scheme] => [label] => ) ) [tags] => Array ( [0] => emacs [1] => LaTeX [2] => TeX [3] => win ) [image] => ) -
I posted to worthyisthelamb.info
http://worthyisthelamb.info/blog/rss.xml
worthyisthelamb.info
I found a Maxima mode for emacs the other day: Imaxima. Installing it on Windows was actually a snap. There are easy to follow instructions for running Imaxima on your Windows box. It uses LaTeX to render equations. <!--break--> The only drawback is that Imaxima’s interface is similar to wxMaxima’s old one-line-at-a-time interface. You can only work on one line at a time. You can’t scroll up and down to edit previous input. In other words, even though the interface looks like a notebook, it’s really not. It’s more like a bash shell.
Other than that, you get the power of both Emacs and Maxima. Enjoy!
Array ( [title] => Maxima and Emacs on Win and Linux [permalink] => http://worthyisthelamb.info/blog/node/15 [content] =>
I found a Maxima mode for emacs the other day: Imaxima. Installing it on Windows was actually a snap. There are easy to follow instructions for running Imaxima on your Windows box. It uses LaTeX to render equations.
<!--break-->
The only drawback is that Imaxima’s interface is similar to wxMaxima’s old one-line-at-a-time interface. You can only work on one line at a time. You can’t scroll up and down to edit previous input. In other words, even though the interface looks like a notebook, it’s really not. It’s more like a bash shell.Other than that, you get the power of both Emacs and Maxima. Enjoy!
[enclosures] => Array ( [0] => SimplePie_Enclosure Object ( [bitrate] => [captions] => [categories] => [channels] => [copyright] => [credits] => [description] => [duration] => [expression] => [framerate] => [handler] => [hashes] => [height] => [javascript] => js [keywords] => [lang] => [length] => [link] => [medium] => [player] => [ratings] => [restrictions] => [samplingrate] => [thumbnails] => [title] => [type] => [width] => ) ) [categories] => Array ( [0] => SimplePie_Category Object ( [term] => emacs [scheme] => [label] => ) [1] => SimplePie_Category Object ( [term] => Maxima [scheme] => [label] => ) [2] => SimplePie_Category Object ( [term] => win [scheme] => [label] => ) ) [tags] => Array ( [0] => emacs [1] => Maxima [2] => win ) [image] => )
Page: 1
