Re: [libreoffice-users] Open plain text with double-spacing

2014-02-21 Thread nicolai . rostov
On Thu 2014-02-20 22:25, e-letter wrote:
> > It's just awful to write prose in single-spaced lines and monospaced fonts.
> > Writer is way more readable.
> >
> 
> If you really prefer a text-editor, jedit offers nice ways to make
> text look nice, including choice of background colour.

Great! jedit offers both double-spaced lines AND serif fonts.
Thanks a lot!

Nicolai

-- 
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] System-wide document template?

2014-02-20 Thread Nicolai Rostov
On Thu 2014-02-20 09:19, Kracked_P_P---webmaster wrote:
> ---CUT---
> 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?
> ---CUT---

Sorry to disappoint you here. I don't have much to say about LO and
networking. By "system wide" I mean my particular laptop wide.

I was just wondring if I can fool LO Writer into displaying plain text
content as serif+doublespaced by default. Maybe by tweaking something under
/usr instead of ~/.config/libreoffice/

Thanks.
nr

-- 
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] Open plain text with double-spacing

2014-02-20 Thread nicolai . rostov
On Thu 2014-02-20 04:51, Brian Barker wrote:
> o If you need to open the same files repeatedly to edit them, the
> obvious solution is to save them in LibreOffice's native .odt
> format.  So now we have to ask why you need plain text versions of
> the file.  If you wish to print your edited files, you would not
> want to use plain text.  If you wish to exchange your documents with
> others, you would want to use either word-processor formats (such as
> .odt or perhaps .doc) or perhaps PDFs.  You'd need plain text output
> only if you were perhaps feeding your edited results to some other
> application which required this format - and in this case it would
> be a simple matter to save a plain text copy of your edited document
> when necessary.
> 
> I trust this helps.
> 
> Brian Barker

Exactly. As I said in my last message, I feed plain text into a LaTeX
compiler. I want to edit LaTeX files in an environment with both (i)
double-spaced lines, and (ii) serif fonts. No text editor I'm aware of can
do both.  LibreOffice Writer can.

It's just awful to write prose in single-spaced lines and monospaced fonts.
Writer is way more readable.

Nicolai

-- 
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] System-wide document template?

2014-02-20 Thread nicolai . rostov
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+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] System-wide document template?

2014-02-19 Thread nicolai . rostov
I was wondering if there is a system-wide document template that overrides a
user's default template when opening plain text files. If there is one, I
will change it.

LibreOffice Writer just ignores my default template when opening plain text.

Try creating a new style and saving your document as your default template.
The new style is gone if you open a plain text file.

Nicolai

-- 
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] Open plain text with double-spacing

2014-02-19 Thread nicolai . rostov
Thanks, Regina! It works!

nr


On Wed 2014-02-19 22:55, Regina Henschel wrote:
> Hi Nicolai,
> 
> nicolai.ros...@gmail.com schrieb:
> >Hello Regina,
> >
> >A macro is an excellent idea. Let me see how I can do that.
> >
> 
> Of cause you can write a "true" macro, but the needed operations are
> also available by the macro recorder. So you can use that tool.
> 
> First you have to enable the macro recorder.
> (1) Goto Tools > Options > LibreOffice > Advanced. Check "Enable
> macro recording (limited)". OK
> 
> Some preparations.
> (2)Right click the formatting toolbar, click item "Visible buttons",
> click on item "Line Spacing :2". Later you can deactivate it the
> same way.
> (3)Open such plain text document.
> 
> Now record your actions
> (4)Tools > Macros > Record Macros. Notice, that you get a little
> floating toolbar, where you later on can stop the recording.
> (5)Crtl+A, to select the whole text
> (6)Select a paragraph style from the drop down list, which has a
> serif font as default, for example "Text Body" or "Default Style".
> You should use a predefined style, so that it is always available.
> (7)Click on the button "Line Spacing : 2".
> (8)Click on right arrow key in the navigation block. That will
> remove selection.
> (9)Click on "Stop recording".
> 
> Next actions will save the macro to your user directory. You get a
> dialog for organization of macros. The part My Macros > Standard >
> Module should already be selected.
> (10)In the field "Macro name" enter a name for the macro. This name
> is later on used as default label for the button.
> (11)Click on button "Save".
> 
> Now we generate an easy access to the macro using a button.
> (12) Right click the formatting toolbar, click item "Customize
> Toolbar". In the "Command" list click on that item, which you want
> to be left of the new button, click button "Add.."
> (13) In the "Category" list scroll down to the end. Open the +
> "LibreOffice Macros", "My Macros", "Standard", and "Module".
> (14) Now you should see your macros' name in the list "Commands".
> Click on it. Click button "Add". Click button "Close".
> (15) Look whether the macro name is at the desired position; you can
> move it up or down with the arrow buttons. To use a different label
> click button "Modify" and then item "Rename". At last click OK.
> (16) Close your document without saving the changes.
> 
> Test your macro.
> (17) Open a plain text document.
> (18) Click on the new macro button.
> Does it work?
> 
> Alternative/ In addition you can assign a shortcut to the macro.
> (19) Tools > Customize > Keyboard
> (20)~(13) In the "Category" list scroll down to the end. Open the +
> "LibreOffice Macros", "user", "Standard", and "Module".
> (21)~(14) Now you should see your macros' name in the list
> "Function". Click on it.
> (22) In the "Shortcut keys" list click on the desired shortcut, and
> then on button "Modify". OK.
> 
> If you are curious, how the macro looks like: Tools > Macros >
> Organize Macros > LibreOffice Basic. Select your macro and click on
> button "Edit".
> 
> Kind regards
> Regina
> 
> 
> 
> 
> 
> 
> 
> -- 
> 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

-- 
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] Open plain text with double-spacing

2014-02-19 Thread nicolai . rostov
It might be related but I don't think my issue is a bug. As Regina has
pointed out, the default template is invoked only when creating new
documents. And I'm not creating new documents. I'm just opening old files.

nr


On Wed 2014-02-19 20:59, e-letter wrote:
> On 19/02/2014, nicolai.ros...@gmail.com  wrote:
> >
> > However, I couldn't get (ii). I tried to create a template in which the
> > "Preformatted Text" style looks the way I want it to be, and then I made
> > this
> > template default.  But LibreOffice Writer just ignores the default template
> > when opening plain text files.
> >
> 
> This reads like a bug behaviour; is it related to:
> https://bugs.freedesktop.org/show_bug.cgi?id=54081

-- 
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] Open plain text with double-spacing

2014-02-19 Thread nicolai . rostov
Hello Regina,

A macro is an excellent idea. Let me see how I can do that.

Thanks,
Nicolai


On Wed 2014-02-19 20:03, Regina Henschel wrote:
> Hi Nicolai,
> 
> nicolai.ros...@gmail.com schrieb:
> >Hi, I was wondering if it's possible to make LibreOffice Writer open a plain
> >text file with paragraph double-spacing already applied to all of it.
> >
> >My aim is to be able edit plain text files in (i) serif fonts and (ii)
> >double-spaced paragraphs.
> 
> Plain text opens here in "preformatted text" and font "Liberation
> Mono". I see no option to change that behavior.
> 
> >
> >I keep my documents in plain text but find myself having to change the
> >entire formatting of the document every time I open a plain text file for
> >editing.
> >
> >I managed to get (i) working by means of Tools: Options: LibreOffice: Fonts:
> >Replacement Table.
> >
> >However, I couldn't get (ii). I tried to create a template in which the
> >"Preformatted Text" style looks the way I want it to be, and then I made this
> >template default.  But LibreOffice Writer just ignores the default template
> >when opening plain text files.
> 
> I would expact that, because the default template is used for _new_
> documents, and a file opened is not new.
> 
> You can make a template with the desired settings. Then do not open
> the plain text directly. But start with a new file based on your
> template and then use Insert > File to get the plain text. It will
> use the style of that paragraph where it is inserted.
> 
> Or don't care that it opens with the wrong font and spacing, and
> change it after opening. (1) When you once make a macro to change it
> and assign it to a button or to a shortcut, it will only be 1 click
> to convert the text. (2) Enable "Line Spacing : 2" in the Formatting
> toolbar or assign it to a short cut. Then you get it with actions:
> Ctrl+A (select all), Ctrl+0 (set TextBody style), and Click or
> shortcut for Line Spacing : 2. I think, that is not too long.
> 
> Kind regards
> Regina
> 
> 
> -- 
> 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

-- 
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] Open plain text with double-spacing

2014-02-19 Thread nicolai . rostov
Yes. But the formatting is not supposed to remain. It's just for displaying
it on the screen.  I just want to edit plain text in a more comfortable
environment, and still keep them as old plain text.

As far as I know, only LibreOffice can do both (serif and double-spaced
plain text), even if not automatically upon opening a file.

It's not saving but just opening with a particular style.

Thanks,
Nicolai


On Wed 2014-02-19 14:02, Virgil Arrington wrote:
> Plain text files are files without formatting. That's what makes
> them "plain" text. I've never known a way to apply paragraph
> formatting to a plain text file and have it remain with the file for
> later use.
> 
> Virgil
> 
> -Original Message- From: nicolai.ros...@gmail.com
> Sent: Wednesday, February 19, 2014 1:06 PM
> To: users@global.libreoffice.org
> Subject: [libreoffice-users] Open plain text with double-spacing
> 
> Hi, I was wondering if it's possible to make LibreOffice Writer open a plain
> text file with paragraph double-spacing already applied to all of it.
> 
> My aim is to be able edit plain text files in (i) serif fonts and (ii)
> double-spaced paragraphs.
> 
> I keep my documents in plain text but find myself having to change the
> entire formatting of the document every time I open a plain text file for
> editing.
> 
> I managed to get (i) working by means of Tools: Options: LibreOffice: Fonts:
> Replacement Table.
> 
> However, I couldn't get (ii). I tried to create a template in which the
> "Preformatted Text" style looks the way I want it to be, and then I
> made this
> template default.  But LibreOffice Writer just ignores the default template
> when opening plain text files.
> 
> Thank you.
> 
> -- 
> 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
> 

-- 
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] Open plain text with double-spacing

2014-02-19 Thread nicolai . rostov
Hi, I was wondering if it's possible to make LibreOffice Writer open a plain
text file with paragraph double-spacing already applied to all of it.

My aim is to be able edit plain text files in (i) serif fonts and (ii)
double-spaced paragraphs.

I keep my documents in plain text but find myself having to change the
entire formatting of the document every time I open a plain text file for
editing.

I managed to get (i) working by means of Tools: Options: LibreOffice: Fonts:
Replacement Table.

However, I couldn't get (ii). I tried to create a template in which the
"Preformatted Text" style looks the way I want it to be, and then I made this
template default.  But LibreOffice Writer just ignores the default template
when opening plain text files.

Thank you.

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