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+unsubscribe@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
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.