Hi,

due to some reasons I don't want to put my "converter" into /usr/bin
neither /usr/local/bin. It's, let's say, somewhere in my home
directory. But when I put into converter list: /home/me/my_converter -
it doesn't work. Yep, path's correct and double checked ;-)

The second problem for me is making non-breaking spaces between a
single letter and a word. It's necessary in polish typography. It can
be done with a simple script:

#!/bin/bash
if [ "$1" ]; then
        cat "$1" | sed '
        / [aeiouwzAEIOUWZ] *$/ {
        N
        s/  *\([aeiouwzAEIOUWZ]\)\n */ \1~/g
        }' | sed 's/^ *\([aeiouwzAEIOUWZ]\)  */ \1~/g'  | sed 's/
*\([aeiouwzAEIOUWZ]\)  */ \1~/g'
fi

but sometimes it breaks my document. Is there a way to run this script
only in text blocks, i.e. omit arguments of commands and maths.

Tomasz

Reply via email to