Hi Frank,

Finally got back to this. Can you check this for me against an .fodt file, please?

perl -pi'orig_*' -e 's/<text:alphabetical-index-mark text:string-value="[[:alpha:]]*"//g'
On 29/01/2014 11:23 pm, CVAlkan wrote:
Peter:

I mentioned sed and grep, but don't see any reason why perl couldn't be used
as well. If you test this and it works, please post back to give others
another option.

BUT: my sed command only removed the markers from the fodt. As I mentioned I
was unable to convert the odt to an fodt (essentially uncompressing the odt
to readable xml) using the unzip capability of my OS (as I'm pretty sure
could be done with earlier open office documents).

Since LO can easily write and read fodt files, though, it really wasn't
necessary to do any file format conversion, and I didn't bother spending the
time to figure out how to do everything in one shot.

Frank



--
View this message in context: 
http://nabble.documentfoundation.org/Removing-Index-Markers-from-Writer-a-How-To-tp4094327p4094482.html
Sent from the Users mailing list archive at Nabble.com.


--
Peter West
"...and a sword will pierce through your own soul also..."

--
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted

Reply via email to