Re: [libreoffice-users] Find and replace — regular expressions

2013-10-28 Thread Urmas

T. R. Valentine


Per the LO help, use $1 in the replace box, rather than \1.


You need to use '\N' for backreferences in the Search field.


--
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


[libreoffice-users] Re: Huge security bugs

2013-10-28 Thread Urmas

Jan:


After I launched
it then, it immediately and completely illogically asked me about
“restoration” of files I had at the time open in running Open Office.


Please elaborate.


didn't authorize such nonsense, but your software instead of leaving the
files alone deleted the files and destroyed my unfinished work.


Deleted which files?


deleted several dozens of open locked versions of both MS-Excel and Open
Office spreadsheets I was working on,


You had 'several dozens' of spreadsheets opened at once in AOO?


I estimate to several
thousands USD on lost data, calculations and graphical representations,
which took me several weeks to put together, analyze and plot.


Don’t rave, please. 




--
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


Re: [libreoffice-users] Find and replace — regular expressions

2013-10-28 Thread Mirosław Zalewski
Dnia 2013-10-27, o godz. 20:21:53
T. R. Valentine trvalent...@gmail.com napisał(a):

 Where is the reference that it functions as a
 backreference?

It might be that help files are not updated yet.

Since 4.0, LibreOffice is using standard regexp library provided by ICU
project. You can use expressions listed at their webpage:
http://userguide.icu-project.org/strings/regexp
LO does not support Flag Options.
Also, due to some bugs, not all of them work in Impress. But you are
safe in Writer in Calc.
-- 
Best regards
Mirosław Zalewski

-- 
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


Re: [libreoffice-users] Find and replace - regular expressions

2013-10-28 Thread Mirosław Zalewski
Dnia 2013-10-28, o godz. 00:24:38
Brian Barker b.m.bar...@btinternet.com napisał(a):

 That's because your original question was not at all clear!  (You owe 
 it to correspondents not to waste their time.)

I disagree. The question was perfectly clear. Backreference is
one of basic terms in regular expressions theory. If you ask about
regexpes, you may safely assume that your peers knows what
backreference means.
In the same way, when you ask about databases, you don't explain what
SQL is.

Statement in parentheses applies to both sides - the one asking the
question as well as people who answer it.
-- 
Best regards
Mirosław Zalewski

-- 
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


[libreoffice-users] Working sheet Macro file path

2013-10-28 Thread Heena Gupta
Hi,

Can anyone tell me how to get the path of current working sheet macros file
or library through macro ?

Thanks  Regards,
HEENA GUPTA

-- 
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



[libreoffice-users] Re: Huge security bugs

2013-10-28 Thread Werner F. Bruhin

On 28/10/2013 04:10, Jan wrote:

...

Dr. Jan Zeman

Has this really happended to you or ..?

If it really has happened then you should seriously review on how you 
install software and even more important review your backup strategy any 
decent (even simple) backup strategy will prevent you from loosing files 
contains weeks of work.


Werner


--
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


[libreoffice-users] Save as html file

2013-10-28 Thread Thomas Blasejewicz
Good evening from Japan
Maybe I did ask a similar question before ...

I wrote a book using Writer which I am now trying to upload to Kindle.

The instructions say, I must save the file as html and then create a zip
file from the html file + the images.
Save as ... html creates a content file and a whole long list of files
for the images.
However, that did not work. I got an error message and asked for help.
Below a copy the relevant portion of the answer from Amazon.

Since I hate MS Word, I would love to do this with LO.
My question:
Is LO NOT capable of producing the necessary html file as Word does?
What trick is required, apart from save as html file, to make this work?

Thank you.

///
partial copy of the answer from Amazon:

I reviewed the ZIP folder you've uploaded for your title, and found that
you've manually included the HTML file and images separately.
The images aren't correctly referenced in the ZIP folder, which is why
they aren't appearing when converted to Kindle format.

I see that you've created the HTML file in LibreOffice. If you have MS
Word, you can save your document in LibreOffice as a DOC file and open
it in Word to convert it to HTML.

When you save your Word file as HTML (Web page, filtered), a separate
HTML file and a separate folder containing all your images will be
automatically created at the same location in your computer.


-- 
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



[libreoffice-users] Android Apps

2013-10-28 Thread MICHAEL GRAY
When will an Android version of LO be available? 


Mick Gray 
-- 
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


Re: [libreoffice-users] Android Apps

2013-10-28 Thread Mirosław Zalewski
Dnia 2013-10-28, o godz. 10:10:13
MICHAEL GRAY michael.g...@tesco.net napisał(a):

 When will an Android version of LO be available? 

When it will be done.

Sorry for such ambiguous answer, but there is no estimated date.
-- 
Best regards
Mirosław Zalewski

-- 
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


Re: [libreoffice-users] Re: Huge security bugs

2013-10-28 Thread Gabriel Risterucci
2013/10/28 Werner F. Bruhin werner.bru...@free.fr

 On 28/10/2013 04:10, Jan wrote:

 ...

 Dr. Jan Zeman

 Has this really happended to you or ..?

 If it really has happened then you should seriously review on how you
 install software and even more important review your backup strategy any
 decent (even simple) backup strategy will prevent you from loosing files
 contains weeks of work.


Also, considering that document recovery is very unlikely to delete files
if canceled, or lose weeks of work if accepted (since at worst it restore a
backup made regularly by the software), there's probably something else at
work here.​​

-- 
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


Re: [libreoffice-users] Huge security bugs

2013-10-28 Thread James Knott
I have been using LibreOffice and OpenOffice before it for many years
and have never seen such behaviour.  As for associating older files,
that's an operating system function, where all files of a specific type,
no matter how old, are associated with the specified app.  So, if you
associate XLS files, then every one of them on your computer will now be
associated with LibreOffice, no matter how old.  You cannot control this
according to age.

Jan wrote:
 Today in good faith I downloaded and for trial your Libre Office pack. I
 installed it and already during the installation I expressly didn't wish
 it to associate with files created by other software. After I launched
 it then, it immediately and completely illogically asked me about
 “restoration” of files I had at the time open in running Open Office. I
 didn't authorize such nonsense, but your software instead of leaving the
 files alone deleted the files and destroyed my unfinished work. It
 deleted several dozens of open locked versions of both MS-Excel and Open
 Office spreadsheets I was working on, caused immediate crash of Open
 Office subsequently, while even - perhaps to add insult to injury -
 associated itself AGAINST my authorization with old versions of the
 files created in Open Office and MS Excel - which could be all described
 as most violent malware behavior imaginable. Your pack maybe is for
 free, but the damages caused to me by its behavior on my computer,
 intruding files created by other software, I estimate to several
 thousands USD on lost data, calculations and graphical representations,
 which took me several weeks to put together, analyze and plot.
 Nobody can wonder I'm now considering gain publicity for whole affair
 and get your software blacklisted by antimalware providers, because it
 clearly behaves against the general contract and legal regulations,
 intruding and destroying intelectual property created using the software
 provided by third parties.

 Dr. Jan Zeman





-- 
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


Re: [libreoffice-users] Save as html file

2013-10-28 Thread Jay Lozier
On Mon, 2013-10-28 at 18:58 +0900, Thomas Blasejewicz wrote: 
 Good evening from Japan
 Maybe I did ask a similar question before ...
 
 I wrote a book using Writer which I am now trying to upload to Kindle.
 
 The instructions say, I must save the file as html and then create a zip
 file from the html file + the images.
 Save as ... html creates a content file and a whole long list of files
 for the images.
 However, that did not work. I got an error message and asked for help.
 Below a copy the relevant portion of the answer from Amazon.
 
 Since I hate MS Word, I would love to do this with LO.
 My question:
 Is LO NOT capable of producing the necessary html file as Word does?
 What trick is required, apart from save as html file, to make this work?
 
 Thank you.
 
 ///
 partial copy of the answer from Amazon:
 
 I reviewed the ZIP folder you've uploaded for your title, and found that
 you've manually included the HTML file and images separately.
 The images aren't correctly referenced in the ZIP folder, which is why
 they aren't appearing when converted to Kindle format.
 
 I see that you've created the HTML file in LibreOffice. If you have MS
 Word, you can save your document in LibreOffice as a DOC file and open
 it in Word to convert it to HTML.
 
 When you save your Word file as HTML (Web page, filtered), a separate
 HTML file and a separate folder containing all your images will be
 automatically created at the same location in your computer.
 
 
Thomas

I would contact Amazon technical support and ask what is the problem. It
appears that they want the images in the same directory as the html
files. If so, it is relatively easy to correct the html file references
to the images, if a bit tedious, and move the images into the same
folder. LO actual exports html in the preferred mode with the images
stored in separate folder.

-- 
Jay Lozier
jsloz...@gmail.com


-- 
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


Re: [libreoffice-users] Huge security bugs

2013-10-28 Thread jonathon
On 10/28/2013 03:10 AM, Jan wrote:

 Today in good faith I downloaded and for trial your Libre Office pack.

Please provide the URL that you downloaded the software from.

 deleted several dozens of open locked versions of both MS-Excel and Open 
 Office spreadsheets I was working on,

Please provide copies of all of those files, so that this issue can be
accurately reproduced, and the cause found, and then fixed.

caused immediate crash of Open Office subsequently,

What operating system are you using?
What version of that operating system are you using?
What localization of that operating system are you using?

 free, but the damages caused to me by its behavior on my computer,
 intruding files created by other software, I estimate to several

I'll reserve comment on this, until the answers to the previous
questions are provided.

 Nobody can wonder I'm now considering gain publicity for whole affair
 and get your software blacklisted by antimalware providers, because it

I'll reserve comment on this, until both the requested documents, and
answers to the questions are provided.

jonathon

-- 
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


Re: [libreoffice-users] Re: Huge security bugs

2013-10-28 Thread jonathon
On 10/28/2013 11:50 AM, Gabriel Risterucci wrote:

  there's probably something else at work here.​​

Back in the days of OOo 1.1.x, similar issues were reported. The problem
was not with version of OOo that was allegedly downloaded and installed.
(The people reporting the problem did not install OOo.)

jonathon

-- 
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


Re: [libreoffice-users] Save as html file

2013-10-28 Thread Tim Deaton
Did you zip up the html file and the subdirectory containing the images 
as one operation?  And did your settings also save the relative path of 
the subdirectory?


If you zipped the html file, and then went to the subdirectory and 
zipped the files there (even into the same zip file), the zip file would 
then not have the relative relationship info needed.  The same failure 
would happen if you zipped it all at once, but had the setting to save 
the relative path turned off.


-- Tim
===

On 10/28/2013 8:31 AM, Jay Lozier wrote:

On Mon, 2013-10-28 at 18:58 +0900, Thomas Blasejewicz wrote:

Good evening from Japan
Maybe I did ask a similar question before ...

I wrote a book using Writer which I am now trying to upload to Kindle.

The instructions say, I must save the file as html and then create a zip
file from the html file + the images.
Save as ... html creates a content file and a whole long list of files
for the images.
However, that did not work. I got an error message and asked for help.
Below a copy the relevant portion of the answer from Amazon.

Since I hate MS Word, I would love to do this with LO.
My question:
Is LO NOT capable of producing the necessary html file as Word does?
What trick is required, apart from save as html file, to make this work?

Thank you.

///
partial copy of the answer from Amazon:

I reviewed the ZIP folder you've uploaded for your title, and found that
you've manually included the HTML file and images separately.
The images aren't correctly referenced in the ZIP folder, which is why
they aren't appearing when converted to Kindle format.

I see that you've created the HTML file in LibreOffice. If you have MS
Word, you can save your document in LibreOffice as a DOC file and open
it in Word to convert it to HTML.

When you save your Word file as HTML (Web page, filtered), a separate
HTML file and a separate folder containing all your images will be
automatically created at the same location in your computer.



Thomas

I would contact Amazon technical support and ask what is the problem. It
appears that they want the images in the same directory as the html
files. If so, it is relatively easy to correct the html file references
to the images, if a bit tedious, and move the images into the same
folder. LO actual exports html in the preferred mode with the images
stored in separate folder.




--
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


Re: [libreoffice-users] How to make a document Read-Write ?

2013-10-28 Thread Steve Edmonds


On 2013-10-28 09:44, Sheafe Ewing wrote:

I have created a  Text document file… sent it to a recipient who
notes it is Read-only.

How do I make the file Read-Write   in order that he be able work the file at 
his end.

(I’ve consulted LibreOffice Help… the instructions under Read only don’t work…. 
(Select) is greyed out.)

Sheafe Ewing

Hi.
As previously stated, it is probably read only as the file is in 
temporary storate from the email. He can click the Edit button 2 to the 
right of the file file save button to edit.

Steve

--
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



Re: [libreoffice-users] Huge security bugs

2013-10-28 Thread P NIKOLIC
On Mon, 28 Oct 2013 04:10:49 +0100
Jan tumetuestumefaisdub...@gmail.com wrote:

 Today in good faith I downloaded and for trial your Libre Office pack. I
 installed it and already during the installation I expressly didn't wish
 it to associate with files created by other software. After I launched
 it then, it immediately and completely illogically asked me about
 “restoration” of files I had at the time open in running Open Office. I
 didn't authorize such nonsense, but your software instead of leaving the
 files alone deleted the files and destroyed my unfinished work. It
 deleted several dozens of open locked versions of both MS-Excel and Open
 Office spreadsheets I was working on, caused immediate crash of Open
 Office subsequently, while even - perhaps to add insult to injury -
 associated itself AGAINST my authorization with old versions of the
 files created in Open Office and MS Excel - which could be all described
 as most violent malware behavior imaginable. Your pack maybe is for
 free, but the damages caused to me by its behavior on my computer,
 intruding files created by other software, I estimate to several
 thousands USD on lost data, calculations and graphical representations,
 which took me several weeks to put together, analyze and plot.
 Nobody can wonder I'm now considering gain publicity for whole affair
 and get your software blacklisted by antimalware providers, because it
 clearly behaves against the general contract and legal regulations,
 intruding and destroying intelectual property created using the software
 provided by third parties.
 
 Dr. Jan Zeman
 
 

I can read lots into this episode and the main thing i can read into it is that
something other than Lo damaged your files but you think you have found the 
easy way
out of admitting you are wrong and your backup stratergy is for want of a better
description Pants .

Pete 

Open Office and now Libre office with no files mangled up .

 

-- 
Linux 7-of-9 3.11.6-1-ARCH #1 SMP PREEMPT Fri Oct 18 23:22:36 CEST 2013 x86_64
GNU/Linux

-- 
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


Re: [libreoffice-users] Working sheet Macro file path

2013-10-28 Thread Andrew Douglas Pitonyak

On 10/28/2013 03:54 AM, Heena Gupta wrote:

Hi,

Can anyone tell me how to get the path of current working sheet macros file
or library through macro ?

Thanks  Regards,
HEENA GUPTA



Can you clarify your question? Specifically, are you asking:

1. What is the path to the current document (easy, it is available from 
ThisComponent)
2. Where are my macros usually stored (also easy, but I would need to 
look up how to get it, probably from the configuration provider)
3. What is the path to the library that contains the maro that is 
currently running (no idea if that is possible)



--
Andrew Pitonyak
My Macro Document: http://www.pitonyak.org/AndrewMacro.odt
Info:  http://www.pitonyak.org/oo.php


--
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



Re: [libreoffice-users] Save as html file

2013-10-28 Thread Thomas Blasejewicz

(2013/10/29 2:06), Tim Deaton wrote:
Did you zip up the html file and the subdirectory containing the 
images as one operation?  And did your settings also save the relative 
path of the subdirectory?


If you zipped the html file, and then went to the subdirectory and 
zipped the files there (even into the same zip file), the zip file 
would then not have the relative relationship info needed.  The same 
failure would happen if you zipped it all at once, but had the setting 
to save the relative path turned off.


-- Tim
===

On 10/28/2013 8:31 AM, Jay Lozier wrote:

On Mon, 2013-10-28 at 18:58 +0900, Thomas Blasejewicz wrote:

Good evening from Japan
Maybe I did ask a similar question before ...

I wrote a book using Writer which I am now trying to upload to Kindle.

The instructions say, I must save the file as html and then create a 
zip

file from the html file + the images.
Save as ... html creates a content file and a whole long list of 
files

for the images.
...

Thomas

I would contact Amazon technical support and ask what is the problem. It
appears that they want the images in the same directory as the html
files. If so, it is relatively easy to correct the html file references
to the images, if a bit tedious, and move the images into the same
folder. LO actual exports html in the preferred mode with the images
stored in separate folder.





Thank you.
I am afraid, I am not following you.
save the relative path of the subdirectory ...
Where and how am I supposed to do that.
This morning I tried to
* save the Writer file as html
* copy the created/indexed image files into a separate folder (like the 
Word procedure)

* zipped both.
But nowhere I can see any setting/check boxes etc. (including options - 
paths) where I can set a relative path ...

And the uploaded zip file again gives the same error.
So does the zip file created with Word for that matter.


--
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


Re: [libreoffice-users] Save as html file

2013-10-28 Thread Steve Edmonds


On 2013-10-29 16:04, Thomas Blasejewicz wrote:

(2013/10/29 2:06), Tim Deaton wrote:
Did you zip up the html file and the subdirectory containing the 
images as one operation?  And did your settings also save the 
relative path of the subdirectory?


If you zipped the html file, and then went to the subdirectory and 
zipped the files there (even into the same zip file), the zip file 
would then not have the relative relationship info needed.  The same 
failure would happen if you zipped it all at once, but had the 
setting to save the relative path turned off.


-- Tim
===

On 10/28/2013 8:31 AM, Jay Lozier wrote:

On Mon, 2013-10-28 at 18:58 +0900, Thomas Blasejewicz wrote:

Good evening from Japan
Maybe I did ask a similar question before ...

I wrote a book using Writer which I am now trying to upload to Kindle.

The instructions say, I must save the file as html and then create 
a zip

file from the html file + the images.
Save as ... html creates a content file and a whole long list of 
files

for the images.
...

Thomas

I would contact Amazon technical support and ask what is the 
problem. It

appears that they want the images in the same directory as the html
files. If so, it is relatively easy to correct the html file references
to the images, if a bit tedious, and move the images into the same
folder. LO actual exports html in the preferred mode with the images
stored in separate folder.





Thank you.
I am afraid, I am not following you.
save the relative path of the subdirectory ...
Where and how am I supposed to do that.
This morning I tried to
* save the Writer file as html
* copy the created/indexed image files into a separate folder (like 
the Word procedure)

* zipped both.
But nowhere I can see any setting/check boxes etc. (including options 
- paths) where I can set a relative path ...

And the uploaded zip file again gives the same error.
So does the zip file created with Word for that matter
Have you tried saving the document from LO as a .doc and uploading that 
to Amazon. They say tey accept .doc format.

For the HTML documents there is information here
https://kdp.amazon.com/self-publishing/help?topicId=A1KSPVAI36UUC1
http://kindleformatting.com/book/files/KindleHTMLtags.pdf

It seems fairly specific but may not align with the default formatting 
produced by LO.


Steve


--
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


Re: [libreoffice-users] Save as html file

2013-10-28 Thread Thomas Blasejewicz

(2013/10/29 12:32), Steve Edmonds wrote:


On 2013-10-29 16:04, Thomas Blasejewicz wrote:

(2013/10/29 2:06), Tim Deaton wrote:
Did you zip up the html file and the subdirectory containing the 
images as one operation?  And did your settings also save the 
relative path of the subdirectory?


If you zipped the html file, and then went to the subdirectory and 
zipped the files there (even into the same zip file), the zip file 
would then not have the relative relationship info needed.  The same 
failure would happen if you zipped it all at once, but had the 
setting to save the relative path turned off.


-- Tim
===

On 10/28/2013 8:31 AM, Jay Lozier wrote:

On Mon, 2013-10-28 at 18:58 +0900, Thomas Blasejewicz wrote:

Good evening from Japan
Maybe I did ask a similar question before ...

I wrote a book using Writer which I am now trying to upload to 
Kindle.


The instructions say, I must save the file as html and then create 
a zip

file from the html file + the images.
Save as ... html creates a content file and a whole long list of 
files

for the images.

I am afraid, I am not following you.
save the relative path of the subdirectory ...
Where and how am I supposed to do that.
This morning I tried to
* save the Writer file as html
* copy the created/indexed image files into a separate folder (like 
the Word procedure)

* zipped both.
But nowhere I can see any setting/check boxes etc. (including options 
- paths) where I can set a relative path ...

And the uploaded zip file again gives the same error.
So does the zip file created with Word for that matter
Have you tried saving the document from LO as a .doc and uploading 
that to Amazon. They say tey accept .doc format.

For the HTML documents there is information here
https://kdp.amazon.com/self-publishing/help?topicId=A1KSPVAI36UUC1
http://kindleformatting.com/book/files/KindleHTMLtags.pdf

It seems fairly specific but may not align with the default formatting 
produced by LO.


Steve



Thank you.
I tried to save the LO file as .doc - save as html etc.
1) Got the same error that I got for the LO file ..
AND
2) the Word file obtained from saving the ODF file as .doc looked rather 
messed up! Standard fonts in headings like Times Roman being replaced by 
fonts I have never seen before,
German characters being dirty black patches ... I would have to redo the 
entire file to make it looke at lease half way acceptable.

I have not yet tried to upload the Word file directly,
but I would like to believe, there is a more elegant way ...


--
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


Re: [libreoffice-users] Save as html file

2013-10-28 Thread Tim Deaton


-- Tim
===
225 Janice Drive
Athens, GA 30606-1638
email: t...@timdeaton.org
home: 706-543-0592
cell: 706-248-6544
fax: 888-415-5991
web: www.timdeaton.org
===
I know the plans I have for you:
Plans to prosper you and not to harm you;
Plans to give you hope and a future.
   --- God (Jeremiah 29:11)

On 10/28/2013 11:04 PM, Thomas Blasejewicz wrote:

(2013/10/29 2:06), Tim Deaton wrote:
Did you zip up the html file and the subdirectory containing the 
images as one operation?  And did your settings also save the 
relative path of the subdirectory?


If you zipped the html file, and then went to the subdirectory and 
zipped the files there (even into the same zip file), the zip file 
would then not have the relative relationship info needed.  The same 
failure would happen if you zipped it all at once, but had the 
setting to save the relative path turned off.


-- Tim
===

On 10/28/2013 8:31 AM, Jay Lozier wrote:

On Mon, 2013-10-28 at 18:58 +0900, Thomas Blasejewicz wrote:

Good evening from Japan
Maybe I did ask a similar question before ...

I wrote a book using Writer which I am now trying to upload to Kindle.

The instructions say, I must save the file as html and then create 
a zip

file from the html file + the images.
Save as ... html creates a content file and a whole long list of 
files

for the images.
...

Thomas

I would contact Amazon technical support and ask what is the 
problem. It

appears that they want the images in the same directory as the html
files. If so, it is relatively easy to correct the html file references
to the images, if a bit tedious, and move the images into the same
folder. LO actual exports html in the preferred mode with the images
stored in separate folder.





Thank you.
I am afraid, I am not following you.
save the relative path of the subdirectory ...
Where and how am I supposed to do that.
This morning I tried to
* save the Writer file as html
* copy the created/indexed image files into a separate folder (like 
the Word procedure)

* zipped both.
But nowhere I can see any setting/check boxes etc. (including options 
- paths) where I can set a relative path ...

And the uploaded zip file again gives the same error.
So does the zip file created with Word for that matter.

First of all, I am no expert.  I have not (until just now) tried saving 
an odt document as an html document, and it has been a decade since I 
tried it (in a class) with MS Word.  But I have saved web pages to my 
hard drive, including backup copies of the code of my own website 
generated by my wysiwyg editor.


In all that saved code (including from the 2002 class using MS Word), 
the basic structure I see is a file with the .html extension and a 
subdirectory with the same name - except that the .html is replaced 
with _files.  Inside that subdirectory are all the other files (gif, 
jpg, css, ..) that are part of that webpage.  So the result looks 
something like this:

\website_test  -parent directory
test_page_files -subdirectory with files used by the .html file
test_page.html -html file

To archive that into a .zip file, you open your archive program, go to 
the \website_test directory, and add both the .html file and the 
subdirectory into the .zip file.  (Older archiving programs I've used 
gave you the option of whether to remember the relative directory 
structure or not.  That's why I asked about the settings. The program I 
currently use - 7zip - doesn't appear to give you a choice; it always 
remembers the directory structure, which is what you want.)


When you look at the .html file with a text editor, you see all the 
code.  If the .html uses a picture file called sample.jpg, then 
somewhere in that code you will see a reference that looks something 
like this:
IMG SRC=test_page_files/sample.jpg NAME=graphics1 ALIGN=LEFT 
WIDTH=350 HEIGHT=350 BORDER=0BR CLEAR=LEFTBR


HOWEVER, based on the test I did when starting this reply, LO Writer 
appears to do things somewhat differently.


I opened an existing .odt file, added a picture to it, and used save 
as to save it to test_page.odt.  Then I used save as again to save 
it to test_page.html.  It DID NOT create the structure I've always 
seen elsewhere and which I outlined above. First, when you open the file 
in your browser, the formatting will not look the same as it did in LO.  
Second (a minor point), the .jpg gets a random 8-digit name instead of 
keeping the name of the original picture.  But more importantly, the 
picture is NOT stored in a sub-directory.  Instead, the name of the 
.html file (with underscores replacing the extension dot and trailing 
the html) is appended to the beginning of the .jpg name, and the .jpg 
file is stored in the SAME directory as the .html file.  Finally, the 
picture is referenced in the .html file as shown here:
IMG SRC=test_page_html_m6869e14e.jpg NAME=graphics1 ALIGN=LEFT 
WIDTH=350