Clever quotes

2005-10-19 Thread Paul
and will need manual tweaking, but there must be something to do most of the work. All I can think of is to use some word processor that has a clever quotes function (e.g. MS Word) and then use something like wvLatex to export that to LaTeX format. Or do a search and replace. Is there a command-line

Re: Clever quotes

2005-10-19 Thread Rich Shepard
On Thu, 20 Oct 2005, Paul wrote: Is there a command-line tool that does this using some heuristics to cover most areas that could be problematic? Paul sed. tr, too, but sed would work. Something like s/[A-Z,a-z]?/``?/g. I didn't look at my sed book, but that reads, substitute two single

Re: Clever quotes

2005-10-19 Thread Angus Leeming
be done perfectly and will need manual tweaking, but there must be something to do most of the work. All I can think of is to use some word processor that has a clever quotes function (e.g. MS Word) and then use something like wvLatex to export that to LaTeX format. Or do a search and replace

Re: Clever quotes

2005-10-19 Thread Mike Meyer
In [EMAIL PROTECTED], Rich Shepard [EMAIL PROTECTED] typed: On Thu, 20 Oct 2005, Paul wrote: Is there a command-line tool that does this using some heuristics to cover most areas that could be problematic? Paul sed. tr, too, but sed would work. Something like s/[A-Z,a-z]?/``?/g. I

Re: Clever quotes

2005-10-19 Thread Angus Leeming
Mike Meyer wrote: Is there a command-line tool that does this using some heuristics to cover most areas that could be problematic? sed. tr, too, but sed would work. Something like s/[A-Z,a-z]?/``?/g. I didn't look at my sed book, but that reads, substitute two single backqotes when there's a

Re: Clever quotes

2005-10-19 Thread Juergen Spitzmueller
Paul wrote: Suppose I have some text that has a lot of quoted speech in it, but it's supplied using standard () straight single and double quotes. Is there some pre-processing tool that will try to convert them to proper curly quotes suitable for LaTeX (``) and ('')? Here's some

Clever quotes

2005-10-19 Thread Paul
and will need manual tweaking, but there must be something to do most of the work. All I can think of is to use some word processor that has a clever quotes function (e.g. MS Word) and then use something like wvLatex to export that to LaTeX format. Or do a search and replace. Is there a command-line

Re: Clever quotes

2005-10-19 Thread Rich Shepard
On Thu, 20 Oct 2005, Paul wrote: Is there a command-line tool that does this using some heuristics to cover most areas that could be problematic? Paul sed. tr, too, but sed would work. Something like s/[A-Z,a-z]?/``?/g. I didn't look at my sed book, but that reads, substitute two single

Re: Clever quotes

2005-10-19 Thread Angus Leeming
be done perfectly and will need manual tweaking, but there must be something to do most of the work. All I can think of is to use some word processor that has a clever quotes function (e.g. MS Word) and then use something like wvLatex to export that to LaTeX format. Or do a search and replace

Re: Clever quotes

2005-10-19 Thread Mike Meyer
In [EMAIL PROTECTED], Rich Shepard [EMAIL PROTECTED] typed: On Thu, 20 Oct 2005, Paul wrote: Is there a command-line tool that does this using some heuristics to cover most areas that could be problematic? Paul sed. tr, too, but sed would work. Something like s/[A-Z,a-z]?/``?/g. I

Re: Clever quotes

2005-10-19 Thread Angus Leeming
Mike Meyer wrote: Is there a command-line tool that does this using some heuristics to cover most areas that could be problematic? sed. tr, too, but sed would work. Something like s/[A-Z,a-z]?/``?/g. I didn't look at my sed book, but that reads, substitute two single backqotes when there's a

Re: Clever quotes

2005-10-19 Thread Juergen Spitzmueller
Paul wrote: Suppose I have some text that has a lot of quoted speech in it, but it's supplied using standard () straight single and double quotes. Is there some pre-processing tool that will try to convert them to proper curly quotes suitable for LaTeX (``) and ('')? Here's some

Clever quotes

2005-10-19 Thread Paul
ectly and will need manual tweaking, but there must be something to do most of the work. All I can think of is to use some word processor that has a "clever quotes" function (e.g. MS Word) and then use something like wvLatex to export that to LaTeX format. Or do a search and replace. Is there

Re: Clever quotes

2005-10-19 Thread Rich Shepard
On Thu, 20 Oct 2005, Paul wrote: Is there a command-line tool that does this using some heuristics to cover most areas that could be problematic? Paul sed. tr, too, but sed would work. Something like s/"[A-Z,a-z]?/``?/g. I didn't look at my sed book, but that reads, "substitute two single

Re: Clever quotes

2005-10-19 Thread Angus Leeming
nd ('')? > > I know it can't be done perfectly and will need manual tweaking, but > there must be something to do most of the work. > > All I can think of is to use some word processor that has a "clever > quotes" function (e.g. MS Word) and then use something like wvLatex

Re: Clever quotes

2005-10-19 Thread Mike Meyer
In <[EMAIL PROTECTED]>, Rich Shepard <[EMAIL PROTECTED]> typed: > On Thu, 20 Oct 2005, Paul wrote: > > > Is there a command-line tool that does this using some heuristics to cover > > most areas that could be problematic? > > Paul > >sed. tr, too, but sed would work. Something like

Re: Clever quotes

2005-10-19 Thread Angus Leeming
Mike Meyer wrote: >>> Is there a command-line tool that does this using some heuristics to >>> cover most areas that could be problematic? >> sed. tr, too, but sed would work. Something like s/"[A-Z,a-z]?/``?/g. >> I didn't look at my sed book, but that reads, "substitute two single >> backqotes

Re: Clever quotes

2005-10-19 Thread Juergen Spitzmueller
Paul wrote: > Suppose I have some text that has a lot of quoted speech in it, but it's > supplied using standard (") straight single and double quotes. > > Is there some pre-processing tool that will try to convert them to > proper curly quotes suitable for LaTeX (``) and ('')? Here's some