Date: prev next · Thread: first prev next last
2014 Archives by date, by thread · List index


On Thu 2014-02-20 05:08, Dave Barton wrote:
I thought that Regina had helped you resolve this issue, but...

Yes, there is a global default template, but it is hard wired (coded)
into the software. That is what the user's default or any other template
overrides.

Unless there is something extremely abnormal about your plain text file,
the user default or any other template used definitely will format plain
text as set in the template. So the question is:
Are you setting the default template as described here?:
https://help.libreoffice.org/Writer/Changing_the_Default_Template
and in chapter 10 of the Writer User Guide here:
https://wiki.documentfoundation.org/Documentation/Publications#LibreOffice_Writer_Guide

I am cc'ing you with an example template (the list server normally
strips attachments). You do not have to install or do anything special
with it. Simply open it in Writer and then use the "Insert -> File..."
menu option to insert any plain text file. Your text should appear in
some ugly blue font, with double spaced lines centered on the page.

Please write back to the list and let us know if this works for you.

Regards
Dave

She did help me a lot. I'm happy with my macro and the shortcut assigned to
it.  Your method also works. But it doesn't preserve the filename, though.

I was just wondering why my default template is ignored when opening plain
text. After all, a plain text obviously doesn't come with a style. My
default template was supposed to take over and provide a style, right?
I thought so.  But this doesn't happen.

This might not be an issue. It's just counterintuitive. Again, I'm fine with
workarounds.

If any one of you think this can be an issue, here is how to reproduce it.

1. Create an empty OpenDocument Text.
2. Modify its "Preformatted Text" style to double-spacing and serif font.
3. Save this ODT as a template.
4. Make this template your default.
5. Create another empty OpenDocument Text, and you will see that the
   "Preformated Text" style rightly conforms to your modifications.
6. Close your empty OpenDocument Text.
7. Open any plain text file.
8. This plain text file will not be double-spaced nor in a
   serif font. The "Preformatted Style" will not conform to your default
   template. It actually goes back to the hard-coded one.

Thank you all for your helpful suggestions.

nr

ps: There is nothing abnormal about my plain text files. They are just prose in
LaTeX that I want to edit using LibreOffice Writer. Writer is just great for
writing prose. Text editors are limited to single-spacing and monospaced
fonts, which is awful for prose writing.


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