On 02/20/2014 03:37 AM, nicolai.rostov@gmail.com wrote:
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.
Yes, I use LibreOffice for plain text, or encoded text, on many
different types of projects. For all the others, I use "Kate" on my
"default" Ubuntu system.
Beyond the "plain text file" question, there is another question here,
if I read the posts correctly.
You asked how to use your template "system wide". What do you mean by
"system wide". All users on a single PC, or all PCs [Windows, Mac, or
Linux] on a network?
If on many networked PCs, were you intention to manually set up the
network PCs, or to have the template on a network server and each LO
package go out to the "networked drive" for that default template.
I know that there are a lot of business networks that want each user's
computer to have the same packages on it and maybe even use the same
templates for their documents. This is an important question for LO to
be part of a business network. Can you change the
"Tools>Options>LibreOffice>Paths>Templates" to a networked drive or a
file server? If so, how is that done, with examples? I do not remember
if there are any references for this type of thing in the "guides" or on
the wiki pages. Since this is one of the business "options" that may be
required to deploy LO to their network, we need to have some good
documentation for this, and other network deployment, question[s].
Since I do not use a networked drive or file server, I cannot test out
any examples that I might be able to give.
--
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.