[libreoffice-users] Re: Removing Index Markers from Writer: a How-To

2014-02-05 Thread CVAlkan
Hi Peter: Hmmm. I hadn't noticed that there was no attachment button on this forum, as I haven't ever uploaded anything longer than a few lines. Under the More button on the top of the message box, there is an option to upload a file but I don't know if other users will have easy access to that.

Re: [libreoffice-users] Re: Removing Index Markers from Writer: a How-To

2014-02-05 Thread Tom Davies
Hi :) CVAlkan (=Frank) is using Nabble to view things from the mailing-list and for posting. The 2 other ways are GMane and as just normal emails. Of those 3 ways it's only Nabble that has a system for uploading 'attachments'. Follow the links in Frank's email to get to the right place in

Re: [libreoffice-users] Re: Removing Index Markers from Writer: a How-To

2014-02-04 Thread Peter West
Hi Frank, This script works on OS X, to the extent that does the conversions and creates new filtered odt files. The only questions are whether it works in Linux, and whether the filter does the right thing with the index markers. I haven't created any files with such index-markers, so

[libreoffice-users] Re: Removing Index Markers from Writer: a How-To

2014-02-04 Thread CVAlkan
Peter: The actual perl command should be changed slightly to: perl -pi'orig_*' -e 's/text:alphabetical-index-mark text:string-value=[[:alpha:]]*\///g' Index_Experiment.fodt After [[:alpha:]]* the \/ needs to be added to remove the / ending of the XML tag - otherwise it seems to work fine. The

Re: [libreoffice-users] Re: Removing Index Markers from Writer: a How-To

2014-02-04 Thread Peter West
D'uh! Thanks Frank. I've updated the script with that change. Attachments aren't accepted by this list, are they? What did you mean by post the shell script? Peter Peter West ...and a sword will pierce through your own soul also... On 5/02/2014 1:54 am, CVAlkan wrote: Peter: The actual

Re: [libreoffice-users] Re: Removing Index Markers from Writer: a How-To

2014-02-03 Thread Peter West
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

Re: [libreoffice-users] Re: Removing Index Markers from Writer: a How-To

2014-02-03 Thread Peter West
The file name goes at the end of the command, of course. On 4/02/2014 3:44 pm, Peter West wrote: 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' -- Peter

[libreoffice-users] Re: Removing Index Markers from Writer: a How-To

2014-01-29 Thread CVAlkan
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

[libreoffice-users] Re: Removing Index Markers from Writer: a How-To

2014-01-28 Thread Mareich
Thanks for this work-around. I think it will also work on Mac OSX as it includes sed in Terminal. I will try it as soon as I get a chance. -- View this message in context: http://nabble.documentfoundation.org/Removing-Index-Markers-from-Writer-a-How-To-tp4094327p4094380.html Sent from the