Re: [libreoffice-users] Glosses in linguistics

2018-06-11 Thread John Jason Jordan
On Mon, 11 Jun 2018 12:28:18 -0400
"Paul D. Mirowsky"  dijo:

>It might also be possible to use a "Customize" style of "Bullets and 
>Numbering" with Paragraph styles.

The problem is that the position of each item in the first and second
lines changes with each gloss. I started just using tabs, but the tabs
were set in Writer > General to 1.25cm, which frequently made a lot of
white space between each word.

I finally figured out a workaround. I made a paragraph style (cleverly
named 'Gloss'), where I stipulated tabs at the width of an 'l' in Times
10pt. I created enough such tabs to allow me to tab all the way across
a long line, although it would take many, many tabs. Now I can adjust
the spacing between items on the line with tabs so that an item on the
first line is aligned with its counterpart on the second line, making
them both start at exactly the same position. My tabs stay at 1.25cm
throughout the document and become very narrow only in text where I
have applied my Gloss style.

I started this quest hoping there would be a feature in LO to do this,
but eventually realized that there was no such feature. On the other
hand, I did discover an extension that adds tools for linguistics. The
extension requires standalone programs, which I installed, but I
haven't figured out yet how to use them. It looks like one of the tools
might do what I'm trying to accomplish here, and without tabs.

-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy



Re: [libreoffice-users] Glosses in linguistics

2018-06-11 Thread Paul D. Mirowsky
It might also be possible to use a "Customize" style of "Bullets and 
Numbering" with Paragraph styles.



On 6/11/2018 12:20 PM, Paul D. Mirowsky wrote:
I may be misunderstanding what you want to do, but you might be able 
to cheat a little by using a mix of Index and Paragraph Styles.




    To Define Index Entries

 1. Click in a word, or select the words in your document that you
    want to use as an index entry.
 2. Choose *Insert - Table of Contents and Index - Index Entry*, and
    do one of the following:

  * To change the text that appears in the index, type the text that
    you want in the *Entry*box. The text that you type here does not
    replace the selected text in the document.
  * To add an index mark to similar words in your document, select
    *Apply to all similar texts*.
  * To add the entries to a custom index, click the *New User-defined
    Index* icon, enter the name of the index, and then click *OK*.


Then...



    To Apply a Different Paragraph Style to an Index Level

 1. Right-click in the index or table of contents, and then choose
    *Edit Index or Table of Contents*.
 2. Click the *Styles* tab.
 3. Click an index level in the *Levels* list.
 4. Click the style that you want to apply in the *Paragraph Style* 
list.

 5. Click the assign button *<*.
 6. Click *OK*.

From: 
https://help.libreoffice.org/Writer/Defining_Index_or_Table_of_Contents_Entries 
and 
https://help.libreoffice.org/Writer/Formatting_an_Index_or_a_Table_of_Contents


Hope this helps.


On 6/8/2018 3:52 PM, John Jason Jordan wrote:

Linguists frequently need to write glosses. Here are a couple examples
using Spanish as the source language and English as the language that
the author is writing in:

Todos iremos   a   la playa.
All.m.pl  go.1.pl.fut  to  the.art.sg.fem  beach
'We will all go to the beach.'

Juan no sabía    qué    hacer.
John neg.  know.1.sg.imperf  what  do.inf
'John didn't know what to do.'

(Note that there are rules for how the gloss abbreviations are supposed
to be abbreviated and used, and for the sake of simplicity in the above
examples I did not always follow them rigorously.)

Glosses are typically three lines, as in the above examples. Each
component of the first two lines must be lined up. Here in e-mail I
tried to do this with the space bar, but the results may not appear
perfectly as I intended for all people on this list. They don't even
appear lined up for me because I use a proportional font in my mail
client.

The only way I know to get this right is to use tabs, but the tab
spacings have to be changed for each gloss. If you have a lot of
glosses in your paper tabs will quickly become a serious pain.

I searched the Help, but came up empty-handed. Any suggestions?







--
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy


Re: [libreoffice-users] Glosses in linguistics

2018-06-11 Thread Paul D. Mirowsky
I may be misunderstanding what you want to do, but you might be able to 
cheat a little by using a mix of Index and Paragraph Styles.




To Define Index Entries

 1. Click in a word, or select the words in your document that you
want to use as an index entry.
 2. Choose *Insert - Table of Contents and Index - Index Entry*, and
do one of the following:

  * To change the text that appears in the index, type the text that
you want in the *Entry*box. The text that you type here does not
replace the selected text in the document.
  * To add an index mark to similar words in your document, select
*Apply to all similar texts*.
  * To add the entries to a custom index, click the *New User-defined
Index* icon, enter the name of the index, and then click *OK*.


Then...



To Apply a Different Paragraph Style to an Index Level

 1. Right-click in the index or table of contents, and then choose
*Edit Index or Table of Contents*.
 2. Click the *Styles* tab.
 3. Click an index level in the *Levels* list.
 4. Click the style that you want to apply in the *Paragraph Style* list.
 5. Click the assign button *<*.
 6. Click *OK*.

From: 
https://help.libreoffice.org/Writer/Defining_Index_or_Table_of_Contents_Entries 
and 
https://help.libreoffice.org/Writer/Formatting_an_Index_or_a_Table_of_Contents


Hope this helps.


On 6/8/2018 3:52 PM, John Jason Jordan wrote:

Linguists frequently need to write glosses. Here are a couple examples
using Spanish as the source language and English as the language that
the author is writing in:

Todos iremos   a   la playa.
All.m.pl  go.1.pl.fut  to  the.art.sg.fem  beach
'We will all go to the beach.'

Juan no sabíaquéhacer.
John neg.  know.1.sg.imperf  what  do.inf
'John didn't know what to do.'

(Note that there are rules for how the gloss abbreviations are supposed
to be abbreviated and used, and for the sake of simplicity in the above
examples I did not always follow them rigorously.)

Glosses are typically three lines, as in the above examples. Each
component of the first two lines must be lined up. Here in e-mail I
tried to do this with the space bar, but the results may not appear
perfectly as I intended for all people on this list. They don't even
appear lined up for me because I use a proportional font in my mail
client.

The only way I know to get this right is to use tabs, but the tab
spacings have to be changed for each gloss. If you have a lot of
glosses in your paper tabs will quickly become a serious pain.

I searched the Help, but came up empty-handed. Any suggestions?




--
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy