Vocre is a free speech translator that instantly translates voice | 9to5Mac | Apple Intelligence

This will change our approach to languages. _DP

[From Vocre is a free speech translator that instantly translates voice | 9to5Mac | Apple Intelligence]

Use a batch (or script) file to do complex operations like compiling a latex file in macosx

If you want to run a batch file (or script file) in macosx to compile a latex file where for compiling I mean bibtex, latex and skim read these two posts

http://www.alvinpoh.com/how-to-make-and-run-batch-files-in-terminal-in-mac-osx/

http://www.noendpress.com/vroman/shellscripting/index.php

To summarize you can create a file ‘latexsript’ whose content is

#### latexscript file starts here

FILENAME=’synergyhand’

svn up

svn commit -m”dp automatic”

bibtex ./$FILENAME

latex ./$FILENAME.tex

latex ./$FILENAME.tex

dvips -o $FILENAME.ps $FILENAME.dvi

ps2pdf $FILENAME.ps $FILENAME.pdf

open ./$FILENAME.pdf

# tth ./$(FILENAME).tex

# zip -r proposal.zip *

# SVN ?

# cp $(FILENAME).pdf ~/Dropbox/Public/$(FILENAME).pdf

# cp $(FILENAME).html ~/Dropbox/Public/$(FILENAME).html

# cp $(FILENAME).tex ~/Dropbox/Public/$(FILENAME).tex

# cp todo.txt ~/Dropbox/Public/todo.txt

# rm -f *.aux *.log *.out *.ps *.toc *.nav *.snm *.dvi

#### latexscript file ends here

then you need to run in a terminal this command

> chmod 755 latexscript

and then simply run the script

> ./latexscript

Note that even if you change the contents of the file you do not need to run chmod again.

_DP

Aquamacs, letters with accent problem solved

The problem was that I was not able to use option-` for accent. The solution is (from the aquamacs manual) reported in the following paragraph.

Inputting characters with the Option key on non-English keyboards. In most non-English keyboard layouts, the Option key also serves to input characters such as { or or @. Using Option as Meta would inhibit you from inputting those characters. You have three options to get around this. Either, you deselect “Option Key for Meta” in the Options menu (under “Option Key”), in which case you will have to use ESC for Meta, or you toggle back and forth between the modes using Command-;, or you use Option for Meta, but enable one of the emulation modes provided in the same menu under “Option Key”. For those keyboard layouts supported, this option is the most conve- nient. The emulation will allow you to input all common characters with the Option key, while using Option for Meta in general.