Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Regular Expressions replacement affacts the formatting

I use regular expression to convert straight quotation marks to the correct ones. i.e. "..." to “...” My Libreoffice version is 4.0.0.3 on Mac os X 10.6.8

To tackle to opening quotation mark, I use the following regx in Find and Replace:

"([:alnum:])

Replace with

“$1

However, I found that although it works, it affects the formatting of the text, i.e. italics. here is an example:

Even when you are filling the war chest at the edge of the pavement it is not impossible, I find, to spare a little pity for those who pass as well as for those who are passed by. "L'homme oisif tue le temps; le temps tue l'homme oisif,"

After running the above the regx, one can notice that the Italic ‘L’ is now in regular ‘L’. Please find the attached screenshot. Is there anyway such can be avoided?

L is not in Italics

click to hide/show revision 2
retagged

Regular Expressions replacement affacts the formatting

I use regular expression to convert straight quotation marks to the correct ones. i.e. "..." to “...” My Libreoffice version is 4.0.0.3 on Mac os X 10.6.8

To tackle to opening quotation mark, I use the following regx in Find and Replace:

"([:alnum:])

Replace with

“$1

However, I found that although it works, it affects the formatting of the text, i.e. italics. here is an example:

Even when you are filling the war chest at the edge of the pavement it is not impossible, I find, to spare a little pity for those who pass as well as for those who are passed by. "L'homme oisif tue le temps; le temps tue l'homme oisif,"

After running the above the regx, one can notice that the Italic ‘L’ is now in regular ‘L’. Please find the attached screenshot. Is there anyway such can be avoided?

L is not in Italics

click to hide/show revision 3
retagged

Regular Expressions replacement affacts the formatting

I use regular expression to convert straight quotation marks to the correct ones. i.e. "..." to “...” My Libreoffice version is 4.0.0.3 on Mac os X 10.6.8

To tackle to opening quotation mark, I use the following regx in Find and Replace:

"([:alnum:])

Replace with

“$1

However, I found that although it works, it affects the formatting of the text, i.e. italics. here is an example:

Even when you are filling the war chest at the edge of the pavement it is not impossible, I find, to spare a little pity for those who pass as well as for those who are passed by. "L'homme oisif tue le temps; le temps tue l'homme oisif,"

After running the above the regx, one can notice that the Italic ‘L’ is now in regular ‘L’. Please find the attached screenshot. Is there anyway such can be avoided?

L is not in Italics

click to hide/show revision 4
retagged

Regular Expressions replacement affacts the formatting

I use regular expression to convert straight quotation marks to the correct ones. i.e. "..." to “...” My Libreoffice version is 4.0.0.3 on Mac os X 10.6.8

To tackle to opening quotation mark, I use the following regx in Find and Replace:

"([:alnum:])

Replace with

“$1

However, I found that although it works, it affects the formatting of the text, i.e. italics. here is an example:

Even when you are filling the war chest at the edge of the pavement it is not impossible, I find, to spare a little pity for those who pass as well as for those who are passed by. "L'homme oisif tue le temps; le temps tue l'homme oisif,"

After running the above the regx, one can notice that the Italic ‘L’ is now in regular ‘L’. Please find the attached screenshot. Is there anyway such can be avoided?

L is not in Italics

Regular Expressions replacement affacts the formatting

I use regular expression to convert straight quotation marks to the correct ones. i.e. "..." to “...” My Libreoffice version is 4.0.0.3 on Mac os X 10.6.8

To tackle to opening quotation mark, I use the following regx in Find and Replace:

"([:alnum:])

Replace with

“$1

However, I found that although it works, it affects the formatting of the text, i.e. italics. here is an example:

Even when you are filling the war chest at the edge of the pavement it is not impossible, I find, to spare a little pity for those who pass as well as for those who are passed by. "L'homme oisif tue le temps; le temps tue l'homme oisif,"

After running the above the regx, one can notice that the Italic ‘L’ is now in regular ‘L’. Please find the attached screenshot. Is there anyway such can be avoided?

L is not in Italics