[libreoffice-users] In Writer, how can I type characters from the IPA (International Phonetic Alphabet)?

2011-09-22 Thread Winston C. Yang

I'm using LibreOffice 3.3.3 on Linux (Trisquel 5.0).

In Writer, how can I type characters from the IPA (International 
Phonetic Alphabet)?


Thank you.

Winston

--
For unsubscribe instructions e-mail to: users+h...@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] can't print to pages on a single side of paper

2011-10-29 Thread Winston C. Yang

On 10/29/2011 02:38 AM, Thomas Knierim wrote:

Offtopic - anyway: I'm often trying different distros (just for fun and) to see 
how they develop. Every distro has it's own pros and cons. (I haven't found a 
perfect distro for me). I'm going to check ubuntu again (last time was a year 
ago). But ubuntu is somehow proprietary which I dislike. And since I set up 
some computers for friends I'm always looking for a distro with actual software 
and long and good support - which is opensuse (do you know another?)



Thomas,

Have you heard of the Linux distribution called Trisquel? I use it.

Below are some excerpts from web pages, with my comments in brackets:

1. http://trisquel.info/en/wiki
Trisquel is a fully free (as in *free speech*, not merely as in free 
of charge) GNU http://www.gnu.org//Linux 
http://www.fsfla.org/svnwiki/selibre/linux-libre/ based operating 
system. It is derived from Ubuntu, but includes only free software 
http://www.gnu.org/philosophy/free-sw.html.
Trisquel has several editions, designed for different uses: [Home, 
Edu, Pro, and Mini]

Long Term Support versions have several editions, [...]

2. http://trisquel.info/en/faq
It [the Trisquel project] was officially presented 
http://trisquel.info/presentacion on April 2005 with the presence and 
support of Richard Stallman, founder of the Free Software Foundation 
http://fsf.org.


3. http://www.fsf.org/associate/benefits
*Here are just some of the benefits of being an associate member of the 
Free Software Foundation...*
You will receive an ultra slim, credit-card-sized, 2GB card loaded with 
Trisquel Live http://www.fsf.org/associate/card, a fully free 
GNU/Linux distribution.


Winston

--
For unsubscribe instructions e-mail to: users+h...@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] testing out 2 new large word list English dictionaries.

2011-11-05 Thread Winston C. Yang

webmaster:

Possibly a convenient language for comparing the word lists would be Python.

--- Python has a data structure dict (dictionary, hashtable, 
associative array).


--- Python has a data structure set.

If you wish, I can email you short, working, example code.

Winston

On 11/05/2011 10:08 PM, webmaster for Kracked Press Productions wrote:


If I still could remember my basic C programming, I would write a 
program comparing the different word lists to see which words are not 
common, but after 3 strokes I have not programmed such a package in 
many years.  Actually a few months after the last stroke.




--
For unsubscribe instructions e-mail to: users+h...@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] testing out 2 new large word list English dictionaries.

2011-11-07 Thread Winston C. Yang

On 11/06/2011 07:55 AM, webmaster for Kracked Press Productions wrote:


I would like to see a simple working code in Python though.  If I 
ever decided to try to retrain the programming part of my brain, I was 
told to try Python.



On 11/05/2011 11:05 PM, Winston C. Yang wrote:

webmaster:

Possibly a convenient language for comparing the word lists would be 
Python.


--- Python has a data structure dict (dictionary, hashtable, 
associative array).


--- Python has a data structure set.

If you wish, I can email you short, working, example code.

Winston

On 11/05/2011 10:08 PM, webmaster for Kracked Press Productions wrote:


If I still could remember my basic C programming, I would write a 
program comparing the different word lists to see which words are 
not common, but after 3 strokes I have not programmed such a package 
in many years.  Actually a few months after the last stroke.










webmaster:

Below is some example, elementary Python code that reads two files, with 
one word per line, and writes an output file with the words that are in 
exactly one of the files.


If you wish, you can use the code in LibreOffice.

If you have any comments or questions, email me.

Winston



Possibly it is good that you see the results first. Then, if you are 
interested, then you can read about how to generate the results.


On a command line, you will type the following:

python3.2 find_nonshared_words.py

(You can also type python2.7 instead of python3.2. But realize that 
Python 3.2 is not always backwards-compatible with Python 2.7.)


This command will generate the following output file:

output_file.txt:
a1
a2
a3
a4
a5
a6
b1
b2
b3
b4

Below, I show you how to create the results:

Create the following two input files. (Words starting with a appear in 
only file 1. Words starting with b appear in only file 2. Words 
starting with c appear in both files, and should be ignored by the code.)


input_file1.txt:
a1
a2
c1
a3
a4
c2
a5
c3
a6

input_file2.txt:
c1
b1
b2
b3
c2
c3
b4

Then create a file called find_nonshared_words.py:

def create_set_from_file(input_file_name):

input_file = open(input_file_name)

s = set()
for line in input_file:
# Delete any leading or trailing whitespace.
s.add(line.strip())

input_file.close()

return s

set1 = create_set_from_file(input_file1.txt)
set2 = create_set_from_file(input_file2.txt)
set_of_words_in_exactly_one_file = set1.symmetric_difference(set2)

output_file_name = output_file.txt
output_file = open(output_file_name, w+)
for word in sorted(set_of_words_in_exactly_one_file):
output_file.write(word + \n)

output_file.close()

--
For unsubscribe instructions e-mail to: users+h...@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