Re: Importing doc documents

2010-03-29 Thread Guenter Milde
On 2010-03-29, Tim Wescott wrote:
 rgheck wrote:
 On 03/27/2010 02:41 PM, Claudio Beccari wrote:

 those using LyX or direct LaTeX (pdflatex) often need to convert 
 sources in MS Word .doc format into .lyx format.
 On Linux platforms there are at least AbiWord and Kword that can open 
 doc files and save them in various other formats, .tex included. 
 Unfortunately the LaTeX file thus obtained is pittyful.

 OpenOffice will also save in LaTeX format.
...

 My version of OpenOffice -- 3.1, on Ubuntu 9.10, did not seem to have 
 this capability, either as a save as or export to.

The latex export is in a separate Debian package

  openoffice.org-writer2latex

I expect the same to be true on Ubuntu.

Günter




Re: PDF Fonts

2010-03-29 Thread Guenter Milde
On 2010-03-29, Alan Tyree wrote:
 --000e0cd118864eb5900482e8a698
 Content-Type: text/plain; charset=ISO-8859-1

 On Mon, Mar 29, 2010 at 1:20 PM, Paul Rubin ru...@msu.edu wrote:

 Typhoon typh...@... writes:
 
  I'm preparing a manuscript for printing. The LyX Wiki recommends Latin
  Modern as the best choice of fonts for a PDF document.

Latin Modern is the recommended choice if you want the look and feel
of Computer Modern.

  Is this still the font of choice for PDF documents? 

Font choice depends on so many factors that a general advise is not
possible.

  The MS is plain text with no diagrams or math symbols. Preparation
  will be with pdflatex unless there is some particular reason to use
  a different method.

This opens a wide choice of fonts to select from. I found the LaTeX
Font Catalogue (http://www.tug.dk/FontCatalogue/) a valuable ressource.
Most fonts will need manual setup in the LaTeX preamble (with the
GUI font selector set to [Default].

Günter



Re: Shortcut for pdflatex on mac

2010-03-29 Thread Johannes Knaus
Thank you. That solved my problem.
I simply overlooked that GUI based bind editing is now possible.

buffer-view pdf2

did the trick.

Johannes


Am 26.03.2010 um 20:50 schrieb BH:

 On Fri, Mar 26, 2010 at 3:23 PM, Johannes Knaus knausli...@freenet.de wrote:
 Hello,
 
 I'd like to create a keyboard-shortcut for PDF (pdflatex) in LyX.
 I'm using a Mac and LyX 1.6.5.
 After some reading in the wiki and on this list I tried the following:
 
 I'm not sure what you were reading, but it looks like this is the
 wrong advice for LyX-1.6. It would have been better to look in the
 User's Guide, which tells you to use the GUI (see below).
 
 1) I created a file myshortcuts.bind in ~/Library/Lyx-1.6/bind/ with the 
 following content (copied and pasted from the wiki and the mailinglist):
 
 # include one of the basic flavours (cua or emacs)
 \bind_file  cua
 # add your own bindings (overwriting the included ones)
 \bind   C-y buffer-export pdf2
 
 this didn't work.
 
 2.) I saved the same thing inside ~/Library/Lyx-1.6/bind/user.bind
 
 this worked, but not as I expected: Now, everytime I press Cmd-y a pdf file 
 is created in my current directory not in lyx.tempbuf() (wherever that is 
 exactly).
 
 buffer-export tells LyX to export the file in the requested format in
 the same directory as the original LyX file. So this is the expected
 behavior.
 
 What do I have to change to exactly mimic the pdflatex-button by a shortcut?
 
 You should use buffer-view in place of buffer-export. But rather than
 messing with .bind files, you should use LyX  Preferences  Editing 
 Shortcuts and define shortcuts there. (Search for buffer-view.)
 
 One further question: To keep all other shortcut settings as is default on 
 LyX-Mac I should better use \bind_file mac instead of cua, right?
 
 Yes.
 
 And finally: Does modifying the bind-files influence the stability of LyX? 
 If so, I'd rather stick to pressing the pdf-button.
 
 If the .bind file will load, it won't affect stability. But if you
 improperly define the .bind file, it won't load. That's partly why
 it's better to use the GUI for modifying shortcuts (which was
 introduced in LyX-1.6.0, I believe).
 
 BH



Letters floating- Low quality

2010-03-29 Thread YURENA MENDOZA
Hello, when my work is transfered  to pdf the quality of the letters in the
pdf (version 8) is very low specially letters of the  floating. What can I
do? In addition I can only choose between three kind of letter: time roman,
sans-serif and typewriter, which package can I install, which is its actual
name? Because I have read that the lmodern contains several types of
letters but I dont know which lmodern package I should download.

Thanks


Re: Letters floating- Low quality

2010-03-29 Thread rgheck

On 03/29/2010 08:08 AM, YURENA MENDOZA wrote:

Hello, when my work is transfered  to pdf the quality of the letters in the
pdf (version 8) is very low specially letters of the  floating. What can I
do? In addition I can only choose between three kind of letter: time roman,
sans-serif and typewriter, which package can I install, which is its actual
name? Because I have read that the lmodern contains several types of
letters but I dont know which lmodern package I should download.

   
You are right that this is a font issue. Look under 
DocumentSettingsFonts, and see if you do not have more options under 
Roman.


rh



X Error: BadGC

2010-03-29 Thread Wolfgang Engelmann
Having done quite a lot of searching for a certain expression in my lyx 
document (and exchanging each item by hand - it is lithium ions against Li^+, 
therefore I could not use the search and exchange way) it freezes with this 
error occurring continuously (taken from the terminal from which I started 
lyx)

X Error: BadGC (invalid GC parameter) 13
  Major opcode: 56 (X_ChangeGC)
  Resource id:  0x460319f

I have to kill the job and start anew. The changes were saved, fortunately.

It has probably to do with QT, since I found In the Internet:

The first line means that the error was of type 13, aka BadGC.
This means that an Xlib function that wants a GC as argument
didn't get a valid GC. Unless you do something fancy, this
could sound like a bug in Qt.

A GC is a Graphics Context. It is a structure that is used
every time you draw in X, and contains things like line width
and colour. This means that you don't have to specify all
those details for every call, thereby saving network traffic
(among other things).

Major opcode 56 means that the error occured during a
ChangeGC protocol request. There are many Xlib functions that
generate that particular request, but they all deal with
changing the GC (obviously :-).

Is this type of error known and cured in the new Lyx version?


Wolfgang


Re: Importing doc documents

2010-03-29 Thread rgheck

On 03/28/2010 10:37 PM, Paul Rubin wrote:

Tim Wescottt...@...  writes:

   

rgheck wrote:
 

OpenOffice will also save in LaTeX format. I have used it often
myself, but with old WordPerfect files, and you are right of course
that the output file could use some cleaning up. Much of this can be
done with a script, such as the exceedingly trivial sed script attached.
   

My version of OpenOffice -- 3.1, on Ubuntu 9.10, did not seem to have
this capability, either as a save as or export to.

 

Haven't used it myself, but you might try http://writer2latex.sourceforge.net/.

   
Exactly. On Fedora, this is in the openoffice.org-writer2latex package. 
Once it is installed, you can Export to LaTeX.


But what I described has already been done:
http://www.artofsolving.com/opensource/pyodconverter
Unfortunately, I can't yet get it to work

rh






Re: Dimension too large

2010-03-29 Thread Marcelo Acuña
    I have a koma-script book in US
 letter page.
    When I try to go to A5 size I get
 this error when run latex:
 
  Dimension too large.
 
  Very strange. Do you have a _small_ LyX example file?
 
 A5 is a small page. I'd suspect a float too large to fit.

 Is not a problem of size page.
 I traced the problem to this parameter:

\renewcomma...@makefnbreak{\hspace{2em}}

I need to use it so that bigfoot package works suitably.
When I deleted this line, I have no more errors, (and bigfoot no work properly).
Regards
Marcelo


 



  Yahoo! Cocina

Encontra las mejores recetas con Yahoo! Cocina.


http://ar.mujer.yahoo.com/cocina/


RE: Importing doc documents

2010-03-29 Thread Rob Oakes
Hi Richard,

Interesting project.  Thanks for the link.  I'll need to play with this and
see if I can get it to work.  I've been looking for a way of getting from MS
Word to LyX and back, and this might help to automate some of it.

With that said, I had a thought.  It seems that I surrounded by happy and
singing students that are applying for Google code fellowships and otherwise
having hysterics over summer plans.  While it is too late for LyX to submit
proposals this year, I wonder if trying to get Summer of Code students to
work on MS Word/LyX converters might make for a good project next year?

LyX already imports/exports to nearly every other format under the sun
(through the use of external tools, I know), it seems like an oversight to
leave out the Word processor used by most people.  If you really wanted to
get fancy, you could try and convert tracked changes and comments from the
LyX system into MS Word, or vice-versa.  A more robust path for document
interchange with Word users would go a *long* way to helping LyX adoption.
I have several colleagues who would love to use it, but need a better way of
working with MS Word users.

I'm not sure what LyX's history with Google's Summer of Code is, but if
there is any interest, I'd be happy to help with filing applications and
such.  I'm not sure that I'm qualified to be a mentor, but I could be a
ruthlessly competent coordinator.

Cheers,

Rob Oakes



Re: Is there any easy way to embed ABC musical notation ? All I get is a box that says 'abc-box' :(

2010-03-29 Thread Julien Rioux

On 28/03/2010 6:51 PM, Michael Joyner ᏩᏯ wrote:

Julien Rioux wrote:



Hi!

What are you trying to accomplish?

I am trying to embed very short musical note sequences as tone/pitch
indicators.

What have you tried?

Finally tried table cell - minipage - ERT:
\begin{abc}[name=i23ga4]
X:1
L:1/4
K:D
(E/2F/2) G|
\end{abc}

But, I have to manually set the width, which results in varying
different sizes... I really need to constrain by height  and let width
be auto adjusted, which is what I am trying to figure out how to finagle
at this point.

How does it not work?

If I don't use a mini-page I get:

\end{abc}\tabularnewline

Try typing return to proceed.

If that doesn't work, type X return to quit.




Cheers,
Julien




--
LyX:http://www.lyx.org/  OpenOffice:http://www.openoffice.org/
Inkscape:http://www.inkscape.org/  Scribus:http://www.scribus.net/
GIMP:http://www.gimp.org/  PDF:http://www.pdfforge.org/



Let's keep the discussion on the user list. Others can benefit from 
this. Some might even know how to solve your problem.


First what I did is that I made sure I have all the dependencies:

aptitude install texlive-music abcm2ps ps2eps epstopdf

Then I added the -shell-escape option to the LaTeX  DVI converter from 
within LyX, as you pointed out.


Now it works for simple examples inserted as ERT. You can set the width 
of the ABC snippet in ERT; consult the abc documentation to do this. Or, 
you can encapsulate it inside a Box and set the width there. I 
understand that being able to set the height would be better for small 
snippets. However, this seems to be a limitation of the abc package, so 
you could try contacting its maintainer.


Regards,
Julien


Convert Almost Anything To LaTeX

2010-03-29 Thread rgheck


So I couldn't get PyODConverter to work---I kept getting an error about 
not connecting to my running OpenOffice instance---but then I found UnoConv:

http://dag.wieers.com/home-made/unoconv/
I can't get the LaTeX export option to work there, but one could use 
this to convert from DOC (or anything else OOo can import) to ODT and 
then use writer2latex to convert ODT to LaTeX.


rh



Re: Convert Almost Anything To LaTeX

2010-03-29 Thread Liviu Andronic
On 3/29/10, rgheck rgh...@bobjweil.com wrote:
 connecting to my running OpenOffice instance---but then I found UnoConv:
 http://dag.wieers.com/home-made/unoconv/

There is a second possibility to convert anything that OpenOffice can
chew: jodconverter. From the description:
JODConverter, the Java OpenDocument Converter, leverages OpenOffice.org to
provide import/export filters for various office formats including OpenDocument
and Microsoft Office.

This package provides a command-line frontend.

Would it make sense to provide menu entries in LyX for these two converters?
Liviu


Re: Convert Almost Anything To LaTeX

2010-03-29 Thread rgheck

On 03/29/2010 12:27 PM, Liviu Andronic wrote:

On 3/29/10, rgheckrgh...@bobjweil.com  wrote:
   

connecting to my running OpenOffice instance---but then I found UnoConv:
 http://dag.wieers.com/home-made/unoconv/

 

There is a second possibility to convert anything that OpenOffice can
chew: jodconverter. From the description:
JODConverter, the Java OpenDocument Converter, leverages OpenOffice.org to
provide import/export filters for various office formats including OpenDocument
and Microsoft Office.

This package provides a command-line frontend.

Would it make sense to provide menu entries in LyX for these two converters?

   

If we can get them working reliably.

rh



Re: Convert Almost Anything To LaTeX

2010-03-29 Thread Steve Litt
On Monday 29 March 2010 12:27:54 Liviu Andronic wrote:
 On 3/29/10, rgheck rgh...@bobjweil.com wrote:
  connecting to my running OpenOffice instance---but then I found UnoConv:
  http://dag.wieers.com/home-made/unoconv/
 
 There is a second possibility to convert anything that OpenOffice can
 chew: jodconverter. From the description:
 JODConverter, the Java OpenDocument Converter, leverages OpenOffice.org to
 provide import/export filters for various office formats including
  OpenDocument and Microsoft Office.
 
 This package provides a command-line frontend.
 
 Would it make sense to provide menu entries in LyX for these two
  converters? Liviu

I'd tend to answer no. As years go by, tons of converters are going to come 
and go. Tons of formats are going to come and go. If interfaces to all these 
converters and formats are put in LyX, LyX will become big and bloated, and 
that will give bugs more places to hide. My suggestion would be to put 
converter interfaces in a separate executable that outputs either LyX or 
LaTeX, and maybe have that callable from LyX.

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



Re: Convert Almost Anything To LaTeX

2010-03-29 Thread Steve Litt
On Monday 29 March 2010 11:34:49 rgheck wrote:
 So I couldn't get PyODConverter to work---I kept getting an error about
 not connecting to my running OpenOffice instance---but then I found
  UnoConv: http://dag.wieers.com/home-made/unoconv/
 I can't get the LaTeX export option to work there, but one could use
 this to convert from DOC (or anything else OOo can import) to ODT and
 then use writer2latex to convert ODT to LaTeX.
 
 rh
 

Hi Richard,

In the conversion to OO, does unoconv preserve styles, or does it just convert 
each application of each style to equivalent fingerpainting? 

In the conversion from OO to LaTeX, have you found a way to have the 
conversion preserve styles, or does it just convert each application of each 
style to equivalent fingerpainting?

If a way is found to preserve style application all the way through the 
conversion, that's a huge win, or as VP Biden would say, a big bleepin deal!

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



Re: Convert Almost Anything To LaTeX

2010-03-29 Thread rgheck

On 03/29/2010 01:19 PM, Steve Litt wrote:

On Monday 29 March 2010 12:27:54 Liviu Andronic wrote:
   

On 3/29/10, rgheckrgh...@bobjweil.com  wrote:
 

connecting to my running OpenOffice instance---but then I found UnoConv:
 http://dag.wieers.com/home-made/unoconv/
   

There is a second possibility to convert anything that OpenOffice can
chew: jodconverter. From the description:
JODConverter, the Java OpenDocument Converter, leverages OpenOffice.org to
provide import/export filters for various office formats including
  OpenDocument and Microsoft Office.

This package provides a command-line frontend.

Would it make sense to provide menu entries in LyX for these two
  converters? Liviu
 

I'd tend to answer no. As years go by, tons of converters are going to come
and go. Tons of formats are going to come and go. If interfaces to all these
converters and formats are put in LyX, LyX will become big and bloated, and
that will give bugs more places to hide. My suggestion would be to put
converter interfaces in a separate executable that outputs either LyX or
LaTeX, and maybe have that callable from LyX.

   
There's actually not much cost with adding such interfaces, except that, 
in 1.6.x, the Import and Export menu can become kind of crowded, as more 
and more options become available. But making the options available 
involve adds almost nothing to LyX, except the memory to store a few 
strings.


rh



writer2latex Packages under Ubuntu

2010-03-29 Thread Tim Wescott
Ubuntu lists not one, but _two_ writer2latex packages: writer2latex, and 
openoffice.org-writer2latex.


Anyone know whazzup?  Is one free-standing, the other a plugin?  Do I 
need just one, both, the first if I install the second, but not the 
other way around?


Thanks.

--
Tim Wescott
Wescott Design Services
Voice: 503-631-7815
Cell:  503-349-8432
http://www.wescottdesign.com




Re: Convert Almost Anything To LaTeX

2010-03-29 Thread rgheck

On 03/29/2010 01:23 PM, Steve Litt wrote:

On Monday 29 March 2010 11:34:49 rgheck wrote:
   

So I couldn't get PyODConverter to work---I kept getting an error about
not connecting to my running OpenOffice instance---but then I found
  UnoConv: http://dag.wieers.com/home-made/unoconv/
I can't get the LaTeX export option to work there, but one could use
this to convert from DOC (or anything else OOo can import) to ODT and
then use writer2latex to convert ODT to LaTeX.

rh

 

Hi Richard,

In the conversion to OO, does unoconv preserve styles, or does it just convert
each application of each style to equivalent fingerpainting?

In the conversion from OO to LaTeX, have you found a way to have the
conversion preserve styles, or does it just convert each application of each
style to equivalent fingerpainting?

If a way is found to preserve style application all the way through the
conversion, that's a huge win, or as VP Biden would say, a big bleepin deal!

   
I know that writer2latex (which exists standalone and as as an OOo 
extension) will preserve at least some styling, such as section 
headings. What else it will do, I don't know. But it is under active 
development and so requests could be made. But I would guess there are 
some limits here. Getting something to convert OOo styles to LaTeX 
styles (commands or environments) would be non-trivial.


rh



Re: writer2latex Packages under Ubuntu

2010-03-29 Thread rgheck

On 03/29/2010 01:38 PM, Tim Wescott wrote:
Ubuntu lists not one, but _two_ writer2latex packages: writer2latex, 
and openoffice.org-writer2latex.


Anyone know whazzup?  Is one free-standing, the other a plugin?


Yes, exactly.

Do I need just one, both, the first if I install the second, but not 
the other way around?


If you want just to export from OOo, install the plugin. If you want to 
do it from the command line, install that one.


rh



Badly needly for lyx 1.6.4 under ubuntu 8.04

2010-03-29 Thread Wei-Dong Lian
Hi everyone,

I would like to know if there is a solution to install lyx 1.64 or
even higher version under ubuntu 8.04.
By default, lyx 1.5.3 is installed in ubuntu 8.04, to be honest, I began
with lyx1.6.4, so now all of my old lyx documents could not be opened. In
addition, in the new version of lyx after 1.64 they really added more useful
features, easy to use. So if any suggestion will be appreciated.

ECN
Weidong


Re: Badly needly for lyx 1.6.4 under ubuntu 8.04

2010-03-29 Thread rgheck

On 03/29/2010 02:17 PM, Wei-Dong Lian wrote:

Hi everyone,

I would like to know if there is a solution to install lyx 1.64 or
even higher version under ubuntu 8.04.
By default, lyx 1.5.3 is installed in ubuntu 8.04, to be honest, I began
with lyx1.6.4, so now all of my old lyx documents could not be opened. In
addition, in the new version of lyx after 1.64 they really added more useful
features, easy to use. So if any suggestion will be appreciated.

   
I assume you could compile 1.6.4 yourself? This is not that hard to do, 
as long as you can install the various dependencies.


rh



Re: Badly needly for lyx 1.6.4 under ubuntu 8.04

2010-03-29 Thread Julien Rioux

On 29/03/2010 2:27 PM, rgheck wrote:

On 03/29/2010 02:17 PM, Wei-Dong Lian wrote:

Hi everyone,

I would like to know if there is a solution to install lyx 1.64 or
even higher version under ubuntu 8.04.
By default, lyx 1.5.3 is installed in ubuntu 8.04, to be honest, I began
with lyx1.6.4, so now all of my old lyx documents could not be opened. In
addition, in the new version of lyx after 1.64 they really added more
useful
features, easy to use. So if any suggestion will be appreciated.


I assume you could compile 1.6.4 yourself? This is not that hard to do,
as long as you can install the various dependencies.

rh




To get the dependencies, under ubuntu:

apt-get build-dep lyx

--
Julien


Re: Badly needly for lyx 1.6.4 under ubuntu 8.04

2010-03-29 Thread Wei-Dong Lian
On Mon, Mar 29, 2010 at 8:27 PM, rgheck rgh...@bobjweil.com wrote:

 On 03/29/2010 02:17 PM, Wei-Dong Lian wrote:

 Hi everyone,

 I would like to know if there is a solution to install lyx 1.64 or
 even higher version under ubuntu 8.04.
 By default, lyx 1.5.3 is installed in ubuntu 8.04, to be honest, I began
 with lyx1.6.4, so now all of my old lyx documents could not be opened. In
 addition, in the new version of lyx after 1.64 they really added more
 useful
 features, easy to use. So if any suggestion will be appreciated.



 I assume you could compile 1.6.4 yourself? This is not that hard to do, as
 long as you can install the various dependencies.

 rh



Thanks for your suggestions, I am afraid it is not that easy to install
these various dependencies.
It is more complex, I need to install many packages and remove many packages
to satisfy the decencies between packages.
I added one source list of lyx 1.64 of ubuntu9.10 to my source list,  and I
tried the command 'sudo aptitude install lyx', it got several solutions to
install lyx 1.64, but it seemed that I will remove nearly all of packages in
my ubuntu 8.04 and install new packages. so I did not dare to try that, it
may harm my current system. If someone had experienced a successful case
like this, please give me some suggestions, thanks in advance. And also any
other solution will be welcomed.
weidong


Re: Interline Space

2010-03-29 Thread Uwe Stöhr

Am 26.03.2010 09:41, schrieb YURENA MENDOZA:


Hello, as you can see when it begins paragraph of However. the
distance with the preceding paragraph is greater than in the rest and in
this case there is no floating in this section.


This occurs because you explicitly printed all characters in your document black. You additionally 
set for all characters the font size Large. I removed both from your document and then it works, 
see attached.


Coloring and setting a font size is designed to be used only for a sentence or paragraph but not for 
the whole document. To change the font size for the document, use the menu 
Document-Settings-Fonts-Base Size instead.

To color all characters of your document e.g. red, add this line to your 
document preamble:

% color everything red
\...@ifundefined{textcolor}
 {\usepackage{color}}{}
\color{red}

I have done this in the attached document.

---

Another tip: You are using chemical symbols like CO2 in your document. Note that these must be 
typeset upright otherwise CO2 means C*O2. For a description of support for chemically symbols, see 
the LyX Math manual, sec. 20 Chemical Symbols and Equations. You find the manual in LyX's Help menu.


regards Uwe


example-help.lyx
Description: application/lyx


Re: Letters floating- Low quality

2010-03-29 Thread Uwe Stöhr

Am 29.03.2010 14:08, schrieb YURENA MENDOZA:


Hello, when my work is transfered  to pdf the quality of the letters in the
pdf (version 8) is very low specially letters of the  floating. What can I
do? In addition I can only choose between three kind of letter: time roman,
sans-serif and typewriter,


Yes, but in every of these 3 combo boxes you can select a font you like.


which package can I install, which is its actual
name? Because I have read that the lmodern contains several types of
letters but I dont know which lmodern package I should download.


LyX should already offer you this font in the 3 mentioned combo boxes as Latin 
Modern xxx.

regards Uwe


Re: Badly needly for lyx 1.6.4 under ubuntu 8.04

2010-03-29 Thread rgheck

On 03/29/2010 06:22 PM, Wei-Dong Lian wrote:

On Mon, Mar 29, 2010 at 8:27 PM, rgheckrgh...@bobjweil.com  wrote:

   

On 03/29/2010 02:17 PM, Wei-Dong Lian wrote:

 

Hi everyone,

I would like to know if there is a solution to install lyx 1.64 or
even higher version under ubuntu 8.04.
By default, lyx 1.5.3 is installed in ubuntu 8.04, to be honest, I began
with lyx1.6.4, so now all of my old lyx documents could not be opened. In
addition, in the new version of lyx after 1.64 they really added more
useful
features, easy to use. So if any suggestion will be appreciated.



   

I assume you could compile 1.6.4 yourself? This is not that hard to do, as
long as you can install the various dependencies.

rh


 

Thanks for your suggestions, I am afraid it is not that easy to install
these various dependencies.
It is more complex, I need to install many packages and remove many packages
to satisfy the decencies between packages.
I added one source list of lyx 1.64 of ubuntu9.10 to my source list,  and I
tried the command 'sudo aptitude install lyx', it got several solutions to
install lyx 1.64, but it seemed that I will remove nearly all of packages in
my ubuntu 8.04 and install new packages. so I did not dare to try that, it
may harm my current system. If someone had experienced a successful case
like this, please give me some suggestions, thanks in advance. And also any
other solution will be welcomed.

   
I don't think this is what people were suggesting at all. Trying to 
install packages from the 9.10 directories to an 8.04 install is 
definitely not going to work, for exactly the reason you see.


The dependencies you need to compile LyX should not be that bad, just a 
bunch of -devel or -dev packages, which are often not very large. Did 
you try that suggestion? If so, what happened?


rh



Re: Badly needly for lyx 1.6.4 under ubuntu 8.04

2010-03-29 Thread rgheck

On 03/29/2010 06:22 PM, Wei-Dong Lian wrote:

On Mon, Mar 29, 2010 at 8:27 PM, rgheckrgh...@bobjweil.com  wrote:



On 03/29/2010 02:17 PM, Wei-Dong Lian wrote:



Hi everyone,

I would like to know if there is a solution to install lyx 1.64 or
even higher version under ubuntu 8.04.
By default, lyx 1.5.3 is installed in ubuntu 8.04, to be honest, I began
with lyx1.6.4, so now all of my old lyx documents could not be opened. In
addition, in the new version of lyx after 1.64 they really added more
useful
features, easy to use. So if any suggestion will be appreciated.





I assume you could compile 1.6.4 yourself? This is not that hard to do, as
long as you can install the various dependencies.

rh




Thanks for your suggestions, I am afraid it is not that easy to install
these various dependencies.
It is more complex, I need to install many packages and remove many packages
to satisfy the decencies between packages.
I added one source list of lyx 1.64 of ubuntu9.10 to my source list,  and I
tried the command 'sudo aptitude install lyx', it got several solutions to
install lyx 1.64, but it seemed that I will remove nearly all of packages in
my ubuntu 8.04 and install new packages. so I did not dare to try that, it
may harm my current system. If someone had experienced a successful case
like this, please give me some suggestions, thanks in advance. And also any
other solution will be welcomed.


I don't think this is what people were suggesting at all. Trying to 
install packages from the 9.10 directories to an 8.04 install is 
definitely not going to work, for exactly the reason you see.


The dependencies you need to compile LyX should not be that bad, just a 
bunch of -devel or -dev packages, which are often not very large. Did 
you try that suggestion? If so, what happened?


rh



Undertilde

2010-03-29 Thread Julio Rojas
Dear all, is there a way in which \utilde from the package
undertilde can be rendered on screen in a equation environment? Is
not impossible for me to work without it, but I rather have a nice
tilde under the variable than \utilde in red letters before it.

Best regards.
-
Julio Rojas
jcredbe...@gmail.com


Re: Undertilde

2010-03-29 Thread Uwe Stöhr

Am 30.03.2010 01:39, schrieb Julio Rojas:


Dear all, is there a way in which \utilde from the package
undertilde can be rendered on screen in a equation environment?


This is not yet supported, but should be easy to implement because it is the same as \widetilde - 
only below the equation. Can you therefore please open an enhancement request at our bug tracker?


You can nevertheless already use \utilde in an equation, only the on-screen rendering within LyX 
won't work.


regards Uwe


Re: Undertilde

2010-03-29 Thread Julio Rojas
Done: http://www.lyx.org/trac/ticket/6622

Thx Uwe.
-
Julio Rojas
jcredbe...@gmail.com



On Tue, Mar 30, 2010 at 2:16 AM, Uwe Stöhr uwesto...@web.de wrote:
 Am 30.03.2010 01:39, schrieb Julio Rojas:

 Dear all, is there a way in which \utilde from the package
 undertilde can be rendered on screen in a equation environment?

 This is not yet supported, but should be easy to implement because it is the
 same as \widetilde - only below the equation. Can you therefore please open
 an enhancement request at our bug tracker?

 You can nevertheless already use \utilde in an equation, only the on-screen
 rendering within LyX won't work.

 regards Uwe



Compiling LyX on Ubuntu/Debian (was Badly needly for lyx 1.6.4 under ubuntu 8.04)

2010-03-29 Thread Typhoon
On Mon, 29 Mar 2010 20:17:25 +0200
Wei-Dong Lian weidong.l...@gmail.com wrote:

 Hi everyone,
 
 I would like to know if there is a solution to install lyx 1.64 or
 even higher version under ubuntu 8.04.
SNIP 
 ECN
 Weidong

Hello Weidong,
Here is a short Howto that I wrote for compiling LyX and using GNU Stow
to keep it out of the way of your existing LyX installation.

-

===
 Compiling LyX on Ubuntu or Debian
===


 And using GNU Stow


Getting the tools
=

1. y...@yourmachine:~$ sudo apt-get build-dep lyx
2. y...@yourmachine:~$ sudo apt-get install stow
3. y...@yourmachine:~$ sudo apt-get install automake
4. y...@yourmachine:~$ sudo atp-get install autoconf


This should get most or all of what you need. There may be a
substantial download if you have no building tools already installed.

Getting LyX
===

You want the source code.

Download the source tarball from  http://www.lyx.org/Download. The
downloaded file will be named lyx-1.6.5.tar.gz.

Local directory
===

1. y...@yourmachine:~$ mkdir local
2. y...@yourmachine:~$ mv lyx-1.6.5.tar.gz ./local
   (Note: the tarball may be downloaded to some special directory,
   usually either Desktop or Downloads. You may need to adjust the
   above command line accordingly)
3. y...@yourmachine:~$ cd local
4. y...@yourmachine:~$ tar xovzf lyx-1.6.5.tar.gz
   This will create a new sub-directory under ~/local and will unpack
   the source files for lyx.
4. y...@yourmachine:~$ cd lyx-1.6.5

Compiling
=

1. y...@yourmachine:~$ ./autogen.sh
   Check the output - if it says something is missing, then use
   apt-get to install it.
2. y...@yourmachine:~$ ./configure --with-version-suffix=165
   We give it a different suffix so that it doesn't conflict with your
   existing LyX installation. You can use both the new version and the
   previously installed version.

   Check the output - if it says something is missing, then install
   using apt-get. Repeat items 1 and 2.
3. y...@yourmachine:~$ make
   Depending on your machine, this may take some time. If there is an
   error, then read the output. You probably need to use apt-get to
   install some new piece of software.
4. y...@yourmachine:~$ sudo make install prefix=/usr/local/stow/lyx165
5. y...@yourmachine:~$ cd /usr/local/stow
6. y...@yourmachine:~$ sudo stow lyx165

Running the new version
===

y...@yourmachine:~$ lyx165

You can also make a launcher for the new version by right clicking
on the panel. The command should be /usr/local/bin/lyx165.

You can also run your old LyX version using the simple command:

y...@yourmachine:~$ lyx

In a launcher, the command /usr/local/bin/lyx will run the old version.



Please let me know if there is any problem with any of the steps here.
Cheers,
Alan




-- 
Alan L Tyreehttp://www2.austlii.edu.au/~alan
Tel:  04 2748 6206



Re: Compiling LyX on Ubuntu/Debian (was Badly needly for lyx 1.6.4 under ubuntu 8.04)

2010-03-29 Thread Richard Heck

On 03/29/2010 08:38 PM, Typhoon wrote:

On Mon, 29 Mar 2010 20:17:25 +0200
Wei-Dong Lianweidong.l...@gmail.com  wrote:

   

Hi everyone,

I would like to know if there is a solution to install lyx 1.64 or
even higher version under ubuntu 8.04.
 

SNIP
   

ECN
Weidong
 

Hello Weidong,
Here is a short Howto that I wrote for compiling LyX and using GNU Stow
to keep it out of the way of your existing LyX installation.

   

If this isn't on the wiki.

rh



Re: Importing doc documents

2010-03-29 Thread Guenter Milde
On 2010-03-29, Tim Wescott wrote:
 rgheck wrote:
 On 03/27/2010 02:41 PM, Claudio Beccari wrote:

 those using LyX or direct LaTeX (pdflatex) often need to convert 
 sources in MS Word .doc format into .lyx format.
 On Linux platforms there are at least AbiWord and Kword that can open 
 doc files and save them in various other formats, .tex included. 
 Unfortunately the LaTeX file thus obtained is pittyful.

 OpenOffice will also save in LaTeX format.
...

 My version of OpenOffice -- 3.1, on Ubuntu 9.10, did not seem to have 
 this capability, either as a save as or export to.

The latex export is in a separate Debian package

  openoffice.org-writer2latex

I expect the same to be true on Ubuntu.

Günter




Re: PDF Fonts

2010-03-29 Thread Guenter Milde
On 2010-03-29, Alan Tyree wrote:
 --000e0cd118864eb5900482e8a698
 Content-Type: text/plain; charset=ISO-8859-1

 On Mon, Mar 29, 2010 at 1:20 PM, Paul Rubin ru...@msu.edu wrote:

 Typhoon typh...@... writes:
 
  I'm preparing a manuscript for printing. The LyX Wiki recommends Latin
  Modern as the best choice of fonts for a PDF document.

Latin Modern is the recommended choice if you want the look and feel
of Computer Modern.

  Is this still the font of choice for PDF documents? 

Font choice depends on so many factors that a general advise is not
possible.

  The MS is plain text with no diagrams or math symbols. Preparation
  will be with pdflatex unless there is some particular reason to use
  a different method.

This opens a wide choice of fonts to select from. I found the LaTeX
Font Catalogue (http://www.tug.dk/FontCatalogue/) a valuable ressource.
Most fonts will need manual setup in the LaTeX preamble (with the
GUI font selector set to [Default].

Günter



Re: Shortcut for pdflatex on mac

2010-03-29 Thread Johannes Knaus
Thank you. That solved my problem.
I simply overlooked that GUI based bind editing is now possible.

buffer-view pdf2

did the trick.

Johannes


Am 26.03.2010 um 20:50 schrieb BH:

 On Fri, Mar 26, 2010 at 3:23 PM, Johannes Knaus knausli...@freenet.de wrote:
 Hello,
 
 I'd like to create a keyboard-shortcut for PDF (pdflatex) in LyX.
 I'm using a Mac and LyX 1.6.5.
 After some reading in the wiki and on this list I tried the following:
 
 I'm not sure what you were reading, but it looks like this is the
 wrong advice for LyX-1.6. It would have been better to look in the
 User's Guide, which tells you to use the GUI (see below).
 
 1) I created a file myshortcuts.bind in ~/Library/Lyx-1.6/bind/ with the 
 following content (copied and pasted from the wiki and the mailinglist):
 
 # include one of the basic flavours (cua or emacs)
 \bind_file  cua
 # add your own bindings (overwriting the included ones)
 \bind   C-y buffer-export pdf2
 
 this didn't work.
 
 2.) I saved the same thing inside ~/Library/Lyx-1.6/bind/user.bind
 
 this worked, but not as I expected: Now, everytime I press Cmd-y a pdf file 
 is created in my current directory not in lyx.tempbuf() (wherever that is 
 exactly).
 
 buffer-export tells LyX to export the file in the requested format in
 the same directory as the original LyX file. So this is the expected
 behavior.
 
 What do I have to change to exactly mimic the pdflatex-button by a shortcut?
 
 You should use buffer-view in place of buffer-export. But rather than
 messing with .bind files, you should use LyX  Preferences  Editing 
 Shortcuts and define shortcuts there. (Search for buffer-view.)
 
 One further question: To keep all other shortcut settings as is default on 
 LyX-Mac I should better use \bind_file mac instead of cua, right?
 
 Yes.
 
 And finally: Does modifying the bind-files influence the stability of LyX? 
 If so, I'd rather stick to pressing the pdf-button.
 
 If the .bind file will load, it won't affect stability. But if you
 improperly define the .bind file, it won't load. That's partly why
 it's better to use the GUI for modifying shortcuts (which was
 introduced in LyX-1.6.0, I believe).
 
 BH



Letters floating- Low quality

2010-03-29 Thread YURENA MENDOZA
Hello, when my work is transfered  to pdf the quality of the letters in the
pdf (version 8) is very low specially letters of the  floating. What can I
do? In addition I can only choose between three kind of letter: time roman,
sans-serif and typewriter, which package can I install, which is its actual
name? Because I have read that the lmodern contains several types of
letters but I dont know which lmodern package I should download.

Thanks


Re: Letters floating- Low quality

2010-03-29 Thread rgheck

On 03/29/2010 08:08 AM, YURENA MENDOZA wrote:

Hello, when my work is transfered  to pdf the quality of the letters in the
pdf (version 8) is very low specially letters of the  floating. What can I
do? In addition I can only choose between three kind of letter: time roman,
sans-serif and typewriter, which package can I install, which is its actual
name? Because I have read that the lmodern contains several types of
letters but I dont know which lmodern package I should download.

   
You are right that this is a font issue. Look under 
DocumentSettingsFonts, and see if you do not have more options under 
Roman.


rh



X Error: BadGC

2010-03-29 Thread Wolfgang Engelmann
Having done quite a lot of searching for a certain expression in my lyx 
document (and exchanging each item by hand - it is lithium ions against Li^+, 
therefore I could not use the search and exchange way) it freezes with this 
error occurring continuously (taken from the terminal from which I started 
lyx)

X Error: BadGC (invalid GC parameter) 13
  Major opcode: 56 (X_ChangeGC)
  Resource id:  0x460319f

I have to kill the job and start anew. The changes were saved, fortunately.

It has probably to do with QT, since I found In the Internet:

The first line means that the error was of type 13, aka BadGC.
This means that an Xlib function that wants a GC as argument
didn't get a valid GC. Unless you do something fancy, this
could sound like a bug in Qt.

A GC is a Graphics Context. It is a structure that is used
every time you draw in X, and contains things like line width
and colour. This means that you don't have to specify all
those details for every call, thereby saving network traffic
(among other things).

Major opcode 56 means that the error occured during a
ChangeGC protocol request. There are many Xlib functions that
generate that particular request, but they all deal with
changing the GC (obviously :-).

Is this type of error known and cured in the new Lyx version?


Wolfgang


Re: Importing doc documents

2010-03-29 Thread rgheck

On 03/28/2010 10:37 PM, Paul Rubin wrote:

Tim Wescottt...@...  writes:

   

rgheck wrote:
 

OpenOffice will also save in LaTeX format. I have used it often
myself, but with old WordPerfect files, and you are right of course
that the output file could use some cleaning up. Much of this can be
done with a script, such as the exceedingly trivial sed script attached.
   

My version of OpenOffice -- 3.1, on Ubuntu 9.10, did not seem to have
this capability, either as a save as or export to.

 

Haven't used it myself, but you might try http://writer2latex.sourceforge.net/.

   
Exactly. On Fedora, this is in the openoffice.org-writer2latex package. 
Once it is installed, you can Export to LaTeX.


But what I described has already been done:
http://www.artofsolving.com/opensource/pyodconverter
Unfortunately, I can't yet get it to work

rh






Re: Dimension too large

2010-03-29 Thread Marcelo Acuña
    I have a koma-script book in US
 letter page.
    When I try to go to A5 size I get
 this error when run latex:
 
  Dimension too large.
 
  Very strange. Do you have a _small_ LyX example file?
 
 A5 is a small page. I'd suspect a float too large to fit.

 Is not a problem of size page.
 I traced the problem to this parameter:

\renewcomma...@makefnbreak{\hspace{2em}}

I need to use it so that bigfoot package works suitably.
When I deleted this line, I have no more errors, (and bigfoot no work properly).
Regards
Marcelo


 



  Yahoo! Cocina

Encontra las mejores recetas con Yahoo! Cocina.


http://ar.mujer.yahoo.com/cocina/


RE: Importing doc documents

2010-03-29 Thread Rob Oakes
Hi Richard,

Interesting project.  Thanks for the link.  I'll need to play with this and
see if I can get it to work.  I've been looking for a way of getting from MS
Word to LyX and back, and this might help to automate some of it.

With that said, I had a thought.  It seems that I surrounded by happy and
singing students that are applying for Google code fellowships and otherwise
having hysterics over summer plans.  While it is too late for LyX to submit
proposals this year, I wonder if trying to get Summer of Code students to
work on MS Word/LyX converters might make for a good project next year?

LyX already imports/exports to nearly every other format under the sun
(through the use of external tools, I know), it seems like an oversight to
leave out the Word processor used by most people.  If you really wanted to
get fancy, you could try and convert tracked changes and comments from the
LyX system into MS Word, or vice-versa.  A more robust path for document
interchange with Word users would go a *long* way to helping LyX adoption.
I have several colleagues who would love to use it, but need a better way of
working with MS Word users.

I'm not sure what LyX's history with Google's Summer of Code is, but if
there is any interest, I'd be happy to help with filing applications and
such.  I'm not sure that I'm qualified to be a mentor, but I could be a
ruthlessly competent coordinator.

Cheers,

Rob Oakes



Re: Is there any easy way to embed ABC musical notation ? All I get is a box that says 'abc-box' :(

2010-03-29 Thread Julien Rioux

On 28/03/2010 6:51 PM, Michael Joyner ᏩᏯ wrote:

Julien Rioux wrote:



Hi!

What are you trying to accomplish?

I am trying to embed very short musical note sequences as tone/pitch
indicators.

What have you tried?

Finally tried table cell - minipage - ERT:
\begin{abc}[name=i23ga4]
X:1
L:1/4
K:D
(E/2F/2) G|
\end{abc}

But, I have to manually set the width, which results in varying
different sizes... I really need to constrain by height  and let width
be auto adjusted, which is what I am trying to figure out how to finagle
at this point.

How does it not work?

If I don't use a mini-page I get:

\end{abc}\tabularnewline

Try typing return to proceed.

If that doesn't work, type X return to quit.




Cheers,
Julien




--
LyX:http://www.lyx.org/  OpenOffice:http://www.openoffice.org/
Inkscape:http://www.inkscape.org/  Scribus:http://www.scribus.net/
GIMP:http://www.gimp.org/  PDF:http://www.pdfforge.org/



Let's keep the discussion on the user list. Others can benefit from 
this. Some might even know how to solve your problem.


First what I did is that I made sure I have all the dependencies:

aptitude install texlive-music abcm2ps ps2eps epstopdf

Then I added the -shell-escape option to the LaTeX  DVI converter from 
within LyX, as you pointed out.


Now it works for simple examples inserted as ERT. You can set the width 
of the ABC snippet in ERT; consult the abc documentation to do this. Or, 
you can encapsulate it inside a Box and set the width there. I 
understand that being able to set the height would be better for small 
snippets. However, this seems to be a limitation of the abc package, so 
you could try contacting its maintainer.


Regards,
Julien


Convert Almost Anything To LaTeX

2010-03-29 Thread rgheck


So I couldn't get PyODConverter to work---I kept getting an error about 
not connecting to my running OpenOffice instance---but then I found UnoConv:

http://dag.wieers.com/home-made/unoconv/
I can't get the LaTeX export option to work there, but one could use 
this to convert from DOC (or anything else OOo can import) to ODT and 
then use writer2latex to convert ODT to LaTeX.


rh



Re: Convert Almost Anything To LaTeX

2010-03-29 Thread Liviu Andronic
On 3/29/10, rgheck rgh...@bobjweil.com wrote:
 connecting to my running OpenOffice instance---but then I found UnoConv:
 http://dag.wieers.com/home-made/unoconv/

There is a second possibility to convert anything that OpenOffice can
chew: jodconverter. From the description:
JODConverter, the Java OpenDocument Converter, leverages OpenOffice.org to
provide import/export filters for various office formats including OpenDocument
and Microsoft Office.

This package provides a command-line frontend.

Would it make sense to provide menu entries in LyX for these two converters?
Liviu


Re: Convert Almost Anything To LaTeX

2010-03-29 Thread rgheck

On 03/29/2010 12:27 PM, Liviu Andronic wrote:

On 3/29/10, rgheckrgh...@bobjweil.com  wrote:
   

connecting to my running OpenOffice instance---but then I found UnoConv:
 http://dag.wieers.com/home-made/unoconv/

 

There is a second possibility to convert anything that OpenOffice can
chew: jodconverter. From the description:
JODConverter, the Java OpenDocument Converter, leverages OpenOffice.org to
provide import/export filters for various office formats including OpenDocument
and Microsoft Office.

This package provides a command-line frontend.

Would it make sense to provide menu entries in LyX for these two converters?

   

If we can get them working reliably.

rh



Re: Convert Almost Anything To LaTeX

2010-03-29 Thread Steve Litt
On Monday 29 March 2010 12:27:54 Liviu Andronic wrote:
 On 3/29/10, rgheck rgh...@bobjweil.com wrote:
  connecting to my running OpenOffice instance---but then I found UnoConv:
  http://dag.wieers.com/home-made/unoconv/
 
 There is a second possibility to convert anything that OpenOffice can
 chew: jodconverter. From the description:
 JODConverter, the Java OpenDocument Converter, leverages OpenOffice.org to
 provide import/export filters for various office formats including
  OpenDocument and Microsoft Office.
 
 This package provides a command-line frontend.
 
 Would it make sense to provide menu entries in LyX for these two
  converters? Liviu

I'd tend to answer no. As years go by, tons of converters are going to come 
and go. Tons of formats are going to come and go. If interfaces to all these 
converters and formats are put in LyX, LyX will become big and bloated, and 
that will give bugs more places to hide. My suggestion would be to put 
converter interfaces in a separate executable that outputs either LyX or 
LaTeX, and maybe have that callable from LyX.

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



Re: Convert Almost Anything To LaTeX

2010-03-29 Thread Steve Litt
On Monday 29 March 2010 11:34:49 rgheck wrote:
 So I couldn't get PyODConverter to work---I kept getting an error about
 not connecting to my running OpenOffice instance---but then I found
  UnoConv: http://dag.wieers.com/home-made/unoconv/
 I can't get the LaTeX export option to work there, but one could use
 this to convert from DOC (or anything else OOo can import) to ODT and
 then use writer2latex to convert ODT to LaTeX.
 
 rh
 

Hi Richard,

In the conversion to OO, does unoconv preserve styles, or does it just convert 
each application of each style to equivalent fingerpainting? 

In the conversion from OO to LaTeX, have you found a way to have the 
conversion preserve styles, or does it just convert each application of each 
style to equivalent fingerpainting?

If a way is found to preserve style application all the way through the 
conversion, that's a huge win, or as VP Biden would say, a big bleepin deal!

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



Re: Convert Almost Anything To LaTeX

2010-03-29 Thread rgheck

On 03/29/2010 01:19 PM, Steve Litt wrote:

On Monday 29 March 2010 12:27:54 Liviu Andronic wrote:
   

On 3/29/10, rgheckrgh...@bobjweil.com  wrote:
 

connecting to my running OpenOffice instance---but then I found UnoConv:
 http://dag.wieers.com/home-made/unoconv/
   

There is a second possibility to convert anything that OpenOffice can
chew: jodconverter. From the description:
JODConverter, the Java OpenDocument Converter, leverages OpenOffice.org to
provide import/export filters for various office formats including
  OpenDocument and Microsoft Office.

This package provides a command-line frontend.

Would it make sense to provide menu entries in LyX for these two
  converters? Liviu
 

I'd tend to answer no. As years go by, tons of converters are going to come
and go. Tons of formats are going to come and go. If interfaces to all these
converters and formats are put in LyX, LyX will become big and bloated, and
that will give bugs more places to hide. My suggestion would be to put
converter interfaces in a separate executable that outputs either LyX or
LaTeX, and maybe have that callable from LyX.

   
There's actually not much cost with adding such interfaces, except that, 
in 1.6.x, the Import and Export menu can become kind of crowded, as more 
and more options become available. But making the options available 
involve adds almost nothing to LyX, except the memory to store a few 
strings.


rh



writer2latex Packages under Ubuntu

2010-03-29 Thread Tim Wescott
Ubuntu lists not one, but _two_ writer2latex packages: writer2latex, and 
openoffice.org-writer2latex.


Anyone know whazzup?  Is one free-standing, the other a plugin?  Do I 
need just one, both, the first if I install the second, but not the 
other way around?


Thanks.

--
Tim Wescott
Wescott Design Services
Voice: 503-631-7815
Cell:  503-349-8432
http://www.wescottdesign.com




Re: Convert Almost Anything To LaTeX

2010-03-29 Thread rgheck

On 03/29/2010 01:23 PM, Steve Litt wrote:

On Monday 29 March 2010 11:34:49 rgheck wrote:
   

So I couldn't get PyODConverter to work---I kept getting an error about
not connecting to my running OpenOffice instance---but then I found
  UnoConv: http://dag.wieers.com/home-made/unoconv/
I can't get the LaTeX export option to work there, but one could use
this to convert from DOC (or anything else OOo can import) to ODT and
then use writer2latex to convert ODT to LaTeX.

rh

 

Hi Richard,

In the conversion to OO, does unoconv preserve styles, or does it just convert
each application of each style to equivalent fingerpainting?

In the conversion from OO to LaTeX, have you found a way to have the
conversion preserve styles, or does it just convert each application of each
style to equivalent fingerpainting?

If a way is found to preserve style application all the way through the
conversion, that's a huge win, or as VP Biden would say, a big bleepin deal!

   
I know that writer2latex (which exists standalone and as as an OOo 
extension) will preserve at least some styling, such as section 
headings. What else it will do, I don't know. But it is under active 
development and so requests could be made. But I would guess there are 
some limits here. Getting something to convert OOo styles to LaTeX 
styles (commands or environments) would be non-trivial.


rh



Re: writer2latex Packages under Ubuntu

2010-03-29 Thread rgheck

On 03/29/2010 01:38 PM, Tim Wescott wrote:
Ubuntu lists not one, but _two_ writer2latex packages: writer2latex, 
and openoffice.org-writer2latex.


Anyone know whazzup?  Is one free-standing, the other a plugin?


Yes, exactly.

Do I need just one, both, the first if I install the second, but not 
the other way around?


If you want just to export from OOo, install the plugin. If you want to 
do it from the command line, install that one.


rh



Badly needly for lyx 1.6.4 under ubuntu 8.04

2010-03-29 Thread Wei-Dong Lian
Hi everyone,

I would like to know if there is a solution to install lyx 1.64 or
even higher version under ubuntu 8.04.
By default, lyx 1.5.3 is installed in ubuntu 8.04, to be honest, I began
with lyx1.6.4, so now all of my old lyx documents could not be opened. In
addition, in the new version of lyx after 1.64 they really added more useful
features, easy to use. So if any suggestion will be appreciated.

ECN
Weidong


Re: Badly needly for lyx 1.6.4 under ubuntu 8.04

2010-03-29 Thread rgheck

On 03/29/2010 02:17 PM, Wei-Dong Lian wrote:

Hi everyone,

I would like to know if there is a solution to install lyx 1.64 or
even higher version under ubuntu 8.04.
By default, lyx 1.5.3 is installed in ubuntu 8.04, to be honest, I began
with lyx1.6.4, so now all of my old lyx documents could not be opened. In
addition, in the new version of lyx after 1.64 they really added more useful
features, easy to use. So if any suggestion will be appreciated.

   
I assume you could compile 1.6.4 yourself? This is not that hard to do, 
as long as you can install the various dependencies.


rh



Re: Badly needly for lyx 1.6.4 under ubuntu 8.04

2010-03-29 Thread Julien Rioux

On 29/03/2010 2:27 PM, rgheck wrote:

On 03/29/2010 02:17 PM, Wei-Dong Lian wrote:

Hi everyone,

I would like to know if there is a solution to install lyx 1.64 or
even higher version under ubuntu 8.04.
By default, lyx 1.5.3 is installed in ubuntu 8.04, to be honest, I began
with lyx1.6.4, so now all of my old lyx documents could not be opened. In
addition, in the new version of lyx after 1.64 they really added more
useful
features, easy to use. So if any suggestion will be appreciated.


I assume you could compile 1.6.4 yourself? This is not that hard to do,
as long as you can install the various dependencies.

rh




To get the dependencies, under ubuntu:

apt-get build-dep lyx

--
Julien


Re: Badly needly for lyx 1.6.4 under ubuntu 8.04

2010-03-29 Thread Wei-Dong Lian
On Mon, Mar 29, 2010 at 8:27 PM, rgheck rgh...@bobjweil.com wrote:

 On 03/29/2010 02:17 PM, Wei-Dong Lian wrote:

 Hi everyone,

 I would like to know if there is a solution to install lyx 1.64 or
 even higher version under ubuntu 8.04.
 By default, lyx 1.5.3 is installed in ubuntu 8.04, to be honest, I began
 with lyx1.6.4, so now all of my old lyx documents could not be opened. In
 addition, in the new version of lyx after 1.64 they really added more
 useful
 features, easy to use. So if any suggestion will be appreciated.



 I assume you could compile 1.6.4 yourself? This is not that hard to do, as
 long as you can install the various dependencies.

 rh



Thanks for your suggestions, I am afraid it is not that easy to install
these various dependencies.
It is more complex, I need to install many packages and remove many packages
to satisfy the decencies between packages.
I added one source list of lyx 1.64 of ubuntu9.10 to my source list,  and I
tried the command 'sudo aptitude install lyx', it got several solutions to
install lyx 1.64, but it seemed that I will remove nearly all of packages in
my ubuntu 8.04 and install new packages. so I did not dare to try that, it
may harm my current system. If someone had experienced a successful case
like this, please give me some suggestions, thanks in advance. And also any
other solution will be welcomed.
weidong


Re: Interline Space

2010-03-29 Thread Uwe Stöhr

Am 26.03.2010 09:41, schrieb YURENA MENDOZA:


Hello, as you can see when it begins paragraph of However. the
distance with the preceding paragraph is greater than in the rest and in
this case there is no floating in this section.


This occurs because you explicitly printed all characters in your document black. You additionally 
set for all characters the font size Large. I removed both from your document and then it works, 
see attached.


Coloring and setting a font size is designed to be used only for a sentence or paragraph but not for 
the whole document. To change the font size for the document, use the menu 
Document-Settings-Fonts-Base Size instead.

To color all characters of your document e.g. red, add this line to your 
document preamble:

% color everything red
\...@ifundefined{textcolor}
 {\usepackage{color}}{}
\color{red}

I have done this in the attached document.

---

Another tip: You are using chemical symbols like CO2 in your document. Note that these must be 
typeset upright otherwise CO2 means C*O2. For a description of support for chemically symbols, see 
the LyX Math manual, sec. 20 Chemical Symbols and Equations. You find the manual in LyX's Help menu.


regards Uwe


example-help.lyx
Description: application/lyx


Re: Letters floating- Low quality

2010-03-29 Thread Uwe Stöhr

Am 29.03.2010 14:08, schrieb YURENA MENDOZA:


Hello, when my work is transfered  to pdf the quality of the letters in the
pdf (version 8) is very low specially letters of the  floating. What can I
do? In addition I can only choose between three kind of letter: time roman,
sans-serif and typewriter,


Yes, but in every of these 3 combo boxes you can select a font you like.


which package can I install, which is its actual
name? Because I have read that the lmodern contains several types of
letters but I dont know which lmodern package I should download.


LyX should already offer you this font in the 3 mentioned combo boxes as Latin 
Modern xxx.

regards Uwe


Re: Badly needly for lyx 1.6.4 under ubuntu 8.04

2010-03-29 Thread rgheck

On 03/29/2010 06:22 PM, Wei-Dong Lian wrote:

On Mon, Mar 29, 2010 at 8:27 PM, rgheckrgh...@bobjweil.com  wrote:

   

On 03/29/2010 02:17 PM, Wei-Dong Lian wrote:

 

Hi everyone,

I would like to know if there is a solution to install lyx 1.64 or
even higher version under ubuntu 8.04.
By default, lyx 1.5.3 is installed in ubuntu 8.04, to be honest, I began
with lyx1.6.4, so now all of my old lyx documents could not be opened. In
addition, in the new version of lyx after 1.64 they really added more
useful
features, easy to use. So if any suggestion will be appreciated.



   

I assume you could compile 1.6.4 yourself? This is not that hard to do, as
long as you can install the various dependencies.

rh


 

Thanks for your suggestions, I am afraid it is not that easy to install
these various dependencies.
It is more complex, I need to install many packages and remove many packages
to satisfy the decencies between packages.
I added one source list of lyx 1.64 of ubuntu9.10 to my source list,  and I
tried the command 'sudo aptitude install lyx', it got several solutions to
install lyx 1.64, but it seemed that I will remove nearly all of packages in
my ubuntu 8.04 and install new packages. so I did not dare to try that, it
may harm my current system. If someone had experienced a successful case
like this, please give me some suggestions, thanks in advance. And also any
other solution will be welcomed.

   
I don't think this is what people were suggesting at all. Trying to 
install packages from the 9.10 directories to an 8.04 install is 
definitely not going to work, for exactly the reason you see.


The dependencies you need to compile LyX should not be that bad, just a 
bunch of -devel or -dev packages, which are often not very large. Did 
you try that suggestion? If so, what happened?


rh



Re: Badly needly for lyx 1.6.4 under ubuntu 8.04

2010-03-29 Thread rgheck

On 03/29/2010 06:22 PM, Wei-Dong Lian wrote:

On Mon, Mar 29, 2010 at 8:27 PM, rgheckrgh...@bobjweil.com  wrote:



On 03/29/2010 02:17 PM, Wei-Dong Lian wrote:



Hi everyone,

I would like to know if there is a solution to install lyx 1.64 or
even higher version under ubuntu 8.04.
By default, lyx 1.5.3 is installed in ubuntu 8.04, to be honest, I began
with lyx1.6.4, so now all of my old lyx documents could not be opened. In
addition, in the new version of lyx after 1.64 they really added more
useful
features, easy to use. So if any suggestion will be appreciated.





I assume you could compile 1.6.4 yourself? This is not that hard to do, as
long as you can install the various dependencies.

rh




Thanks for your suggestions, I am afraid it is not that easy to install
these various dependencies.
It is more complex, I need to install many packages and remove many packages
to satisfy the decencies between packages.
I added one source list of lyx 1.64 of ubuntu9.10 to my source list,  and I
tried the command 'sudo aptitude install lyx', it got several solutions to
install lyx 1.64, but it seemed that I will remove nearly all of packages in
my ubuntu 8.04 and install new packages. so I did not dare to try that, it
may harm my current system. If someone had experienced a successful case
like this, please give me some suggestions, thanks in advance. And also any
other solution will be welcomed.


I don't think this is what people were suggesting at all. Trying to 
install packages from the 9.10 directories to an 8.04 install is 
definitely not going to work, for exactly the reason you see.


The dependencies you need to compile LyX should not be that bad, just a 
bunch of -devel or -dev packages, which are often not very large. Did 
you try that suggestion? If so, what happened?


rh



Undertilde

2010-03-29 Thread Julio Rojas
Dear all, is there a way in which \utilde from the package
undertilde can be rendered on screen in a equation environment? Is
not impossible for me to work without it, but I rather have a nice
tilde under the variable than \utilde in red letters before it.

Best regards.
-
Julio Rojas
jcredbe...@gmail.com


Re: Undertilde

2010-03-29 Thread Uwe Stöhr

Am 30.03.2010 01:39, schrieb Julio Rojas:


Dear all, is there a way in which \utilde from the package
undertilde can be rendered on screen in a equation environment?


This is not yet supported, but should be easy to implement because it is the same as \widetilde - 
only below the equation. Can you therefore please open an enhancement request at our bug tracker?


You can nevertheless already use \utilde in an equation, only the on-screen rendering within LyX 
won't work.


regards Uwe


Re: Undertilde

2010-03-29 Thread Julio Rojas
Done: http://www.lyx.org/trac/ticket/6622

Thx Uwe.
-
Julio Rojas
jcredbe...@gmail.com



On Tue, Mar 30, 2010 at 2:16 AM, Uwe Stöhr uwesto...@web.de wrote:
 Am 30.03.2010 01:39, schrieb Julio Rojas:

 Dear all, is there a way in which \utilde from the package
 undertilde can be rendered on screen in a equation environment?

 This is not yet supported, but should be easy to implement because it is the
 same as \widetilde - only below the equation. Can you therefore please open
 an enhancement request at our bug tracker?

 You can nevertheless already use \utilde in an equation, only the on-screen
 rendering within LyX won't work.

 regards Uwe



Compiling LyX on Ubuntu/Debian (was Badly needly for lyx 1.6.4 under ubuntu 8.04)

2010-03-29 Thread Typhoon
On Mon, 29 Mar 2010 20:17:25 +0200
Wei-Dong Lian weidong.l...@gmail.com wrote:

 Hi everyone,
 
 I would like to know if there is a solution to install lyx 1.64 or
 even higher version under ubuntu 8.04.
SNIP 
 ECN
 Weidong

Hello Weidong,
Here is a short Howto that I wrote for compiling LyX and using GNU Stow
to keep it out of the way of your existing LyX installation.

-

===
 Compiling LyX on Ubuntu or Debian
===


 And using GNU Stow


Getting the tools
=

1. y...@yourmachine:~$ sudo apt-get build-dep lyx
2. y...@yourmachine:~$ sudo apt-get install stow
3. y...@yourmachine:~$ sudo apt-get install automake
4. y...@yourmachine:~$ sudo atp-get install autoconf


This should get most or all of what you need. There may be a
substantial download if you have no building tools already installed.

Getting LyX
===

You want the source code.

Download the source tarball from  http://www.lyx.org/Download. The
downloaded file will be named lyx-1.6.5.tar.gz.

Local directory
===

1. y...@yourmachine:~$ mkdir local
2. y...@yourmachine:~$ mv lyx-1.6.5.tar.gz ./local
   (Note: the tarball may be downloaded to some special directory,
   usually either Desktop or Downloads. You may need to adjust the
   above command line accordingly)
3. y...@yourmachine:~$ cd local
4. y...@yourmachine:~$ tar xovzf lyx-1.6.5.tar.gz
   This will create a new sub-directory under ~/local and will unpack
   the source files for lyx.
4. y...@yourmachine:~$ cd lyx-1.6.5

Compiling
=

1. y...@yourmachine:~$ ./autogen.sh
   Check the output - if it says something is missing, then use
   apt-get to install it.
2. y...@yourmachine:~$ ./configure --with-version-suffix=165
   We give it a different suffix so that it doesn't conflict with your
   existing LyX installation. You can use both the new version and the
   previously installed version.

   Check the output - if it says something is missing, then install
   using apt-get. Repeat items 1 and 2.
3. y...@yourmachine:~$ make
   Depending on your machine, this may take some time. If there is an
   error, then read the output. You probably need to use apt-get to
   install some new piece of software.
4. y...@yourmachine:~$ sudo make install prefix=/usr/local/stow/lyx165
5. y...@yourmachine:~$ cd /usr/local/stow
6. y...@yourmachine:~$ sudo stow lyx165

Running the new version
===

y...@yourmachine:~$ lyx165

You can also make a launcher for the new version by right clicking
on the panel. The command should be /usr/local/bin/lyx165.

You can also run your old LyX version using the simple command:

y...@yourmachine:~$ lyx

In a launcher, the command /usr/local/bin/lyx will run the old version.



Please let me know if there is any problem with any of the steps here.
Cheers,
Alan




-- 
Alan L Tyreehttp://www2.austlii.edu.au/~alan
Tel:  04 2748 6206



Re: Compiling LyX on Ubuntu/Debian (was Badly needly for lyx 1.6.4 under ubuntu 8.04)

2010-03-29 Thread Richard Heck

On 03/29/2010 08:38 PM, Typhoon wrote:

On Mon, 29 Mar 2010 20:17:25 +0200
Wei-Dong Lianweidong.l...@gmail.com  wrote:

   

Hi everyone,

I would like to know if there is a solution to install lyx 1.64 or
even higher version under ubuntu 8.04.
 

SNIP
   

ECN
Weidong
 

Hello Weidong,
Here is a short Howto that I wrote for compiling LyX and using GNU Stow
to keep it out of the way of your existing LyX installation.

   

If this isn't on the wiki.

rh



Re: Importing doc documents

2010-03-29 Thread Guenter Milde
On 2010-03-29, Tim Wescott wrote:
> rgheck wrote:
>> On 03/27/2010 02:41 PM, Claudio Beccari wrote:

>>> those using LyX or direct LaTeX (pdflatex) often need to convert 
>>> sources in MS Word .doc format into .lyx format.
>>> On Linux platforms there are at least AbiWord and Kword that can open 
>>> doc files and save them in various other formats, .tex included. 
>>> Unfortunately the LaTeX file thus obtained is pittyful.

>> OpenOffice will also save in LaTeX format.
...

> My version of OpenOffice -- 3.1, on Ubuntu 9.10, did not seem to have 
> this capability, either as a "save as" or "export to".

The latex export is in a separate Debian package

  openoffice.org-writer2latex

I expect the same to be true on Ubuntu.

Günter




Re: PDF Fonts

2010-03-29 Thread Guenter Milde
On 2010-03-29, Alan Tyree wrote:
> --000e0cd118864eb5900482e8a698
> Content-Type: text/plain; charset=ISO-8859-1

> On Mon, Mar 29, 2010 at 1:20 PM, Paul Rubin  wrote:

>> Typhoon  writes:
>> >
>> > I'm preparing a manuscript for printing. The LyX Wiki recommends Latin
>> > Modern as the best choice of fonts for a PDF document.

Latin Modern is the recommended choice if you want the "look and feel"
of Computer Modern.

>> > Is this still the font of choice for PDF documents? 

Font choice depends on so many factors that a general advise is not
possible.

>> > The MS is plain text with no diagrams or math symbols. Preparation
>> > will be with pdflatex unless there is some particular reason to use
>> > a different method.

This opens a wide choice of fonts to select from. I found the "LaTeX
Font Catalogue" (http://www.tug.dk/FontCatalogue/) a valuable ressource.
Most fonts will need "manual" setup in the LaTeX preamble (with the
GUI font selector set to [Default].

Günter



Re: Shortcut for pdflatex on mac

2010-03-29 Thread Johannes Knaus
Thank you. That solved my problem.
I simply overlooked that GUI based bind editing is now possible.

buffer-view pdf2

did the trick.

Johannes


Am 26.03.2010 um 20:50 schrieb BH:

> On Fri, Mar 26, 2010 at 3:23 PM, Johannes Knaus  wrote:
>> Hello,
>> 
>> I'd like to create a keyboard-shortcut for PDF (pdflatex) in LyX.
>> I'm using a Mac and LyX 1.6.5.
>> After some reading in the wiki and on this list I tried the following:
> 
> I'm not sure what you were reading, but it looks like this is the
> wrong advice for LyX-1.6. It would have been better to look in the
> User's Guide, which tells you to use the GUI (see below).
> 
>> 1) I created a file myshortcuts.bind in ~/Library/Lyx-1.6/bind/ with the 
>> following content (copied and pasted from the wiki and the mailinglist):
>> 
>> # include one of the basic flavours (cua or emacs)
>> \bind_file  "cua"
>> # add your own bindings (overwriting the included ones)
>> \bind   "C-y" "buffer-export pdf2"
>> 
>> this didn't work.
>> 
>> 2.) I saved the same thing inside ~/Library/Lyx-1.6/bind/user.bind
>> 
>> this worked, but not as I expected: Now, everytime I press Cmd-y a pdf file 
>> is created in my current directory not in lyx.tempbuf() (wherever that is 
>> exactly).
> 
> buffer-export tells LyX to export the file in the requested format in
> the same directory as the original LyX file. So this is the expected
> behavior.
> 
>> What do I have to change to exactly mimic the pdflatex-button by a shortcut?
> 
> You should use buffer-view in place of buffer-export. But rather than
> messing with .bind files, you should use LyX > Preferences > Editing >
> Shortcuts and define shortcuts there. (Search for "buffer-view".)
> 
>> One further question: To keep all other shortcut settings as is default on 
>> LyX-Mac I should better use \bind_file "mac" instead of "cua", right?
> 
> Yes.
> 
>> And finally: Does modifying the bind-files influence the stability of LyX? 
>> If so, I'd rather stick to pressing the pdf-button.
> 
> If the .bind file will load, it won't affect stability. But if you
> improperly define the .bind file, it won't load. That's partly why
> it's better to use the GUI for modifying shortcuts (which was
> introduced in LyX-1.6.0, I believe).
> 
> BH



Letters floating- Low quality

2010-03-29 Thread YURENA MENDOZA
Hello, when my work is transfered  to pdf the quality of the letters in the
pdf (version 8) is very low specially letters of the  floating. What can I
do? In addition I can only choose between three kind of letter: time roman,
sans-serif and typewriter, which package can I install, which is its actual
name? Because I have read that the "lmodern" contains several types of
letters but I dont know which lmodern package I should download.

Thanks


Re: Letters floating- Low quality

2010-03-29 Thread rgheck

On 03/29/2010 08:08 AM, YURENA MENDOZA wrote:

Hello, when my work is transfered  to pdf the quality of the letters in the
pdf (version 8) is very low specially letters of the  floating. What can I
do? In addition I can only choose between three kind of letter: time roman,
sans-serif and typewriter, which package can I install, which is its actual
name? Because I have read that the "lmodern" contains several types of
letters but I dont know which lmodern package I should download.

   
You are right that this is a font issue. Look under 
Document>Settings>Fonts, and see if you do not have more options under 
Roman.


rh



X Error: BadGC

2010-03-29 Thread Wolfgang Engelmann
Having done quite a lot of searching for a certain expression in my lyx 
document (and exchanging each item by hand - it is lithium ions against Li^+, 
therefore I could not use the search and exchange way) it freezes with this 
error occurring continuously (taken from the terminal from which I started 
lyx)

X Error: BadGC (invalid GC parameter) 13
  Major opcode: 56 (X_ChangeGC)
  Resource id:  0x460319f

I have to kill the job and start anew. The changes were saved, fortunately.

It has probably to do with QT, since I found In the Internet:

The first line means that the error was of type 13, aka BadGC.
This means that an Xlib function that wants a GC as argument
didn't get a valid GC. Unless you do something fancy, this
could sound like a bug in Qt.

A GC is a Graphics Context. It is a structure that is used
every time you draw in X, and contains things like line width
and colour. This means that you don't have to specify all
those details for every call, thereby saving network traffic
(among other things).

Major opcode 56 means that the error occured during a
ChangeGC protocol request. There are many Xlib functions that
generate that particular request, but they all deal with
changing the GC (obviously :-).

Is this type of error known and cured in the new Lyx version?


Wolfgang


Re: Importing doc documents

2010-03-29 Thread rgheck

On 03/28/2010 10:37 PM, Paul Rubin wrote:

Tim Wescott  writes:

   

rgheck wrote:
 

OpenOffice will also save in LaTeX format. I have used it often
myself, but with old WordPerfect files, and you are right of course
that the output file could use some cleaning up. Much of this can be
done with a script, such as the exceedingly trivial sed script attached.
   

My version of OpenOffice -- 3.1, on Ubuntu 9.10, did not seem to have
this capability, either as a "save as" or "export to".

 

Haven't used it myself, but you might try http://writer2latex.sourceforge.net/.

   
Exactly. On Fedora, this is in the openoffice.org-writer2latex package. 
Once it is installed, you can Export to LaTeX.


But what I described has already been done:
http://www.artofsolving.com/opensource/pyodconverter
Unfortunately, I can't yet get it to work

rh






Re: Dimension too large

2010-03-29 Thread Marcelo Acuña
> >>   I have a koma-script book in US
> letter page.
> >>   When I try to go to A5 size I get
> this error when run latex:
> >>
> >> Dimension too large.
> >
> > Very strange. Do you have a _small_ LyX example file?
> >
> A5 is a small page. I'd suspect a float too large to fit.

 Is not a problem of size page.
 I traced the problem to this parameter:

\renewcomma...@makefnbreak{\hspace{2em}}

I need to use it so that bigfoot package works suitably.
When I deleted this line, I have no more errors, (and bigfoot no work properly).
Regards
Marcelo


 



  Yahoo! Cocina

Encontra las mejores recetas con Yahoo! Cocina.


http://ar.mujer.yahoo.com/cocina/


RE: Importing doc documents

2010-03-29 Thread Rob Oakes
Hi Richard,

Interesting project.  Thanks for the link.  I'll need to play with this and
see if I can get it to work.  I've been looking for a way of getting from MS
Word to LyX and back, and this might help to automate some of it.

With that said, I had a thought.  It seems that I surrounded by happy and
singing students that are applying for Google code fellowships and otherwise
having hysterics over summer plans.  While it is too late for LyX to submit
proposals this year, I wonder if trying to get Summer of Code students to
work on MS Word/LyX converters might make for a good project next year?

LyX already imports/exports to nearly every other format under the sun
(through the use of external tools, I know), it seems like an oversight to
leave out the Word processor used by most people.  If you really wanted to
get fancy, you could try and convert tracked changes and comments from the
LyX system into MS Word, or vice-versa.  A more robust path for document
interchange with Word users would go a *long* way to helping LyX adoption.
I have several colleagues who would love to use it, but need a better way of
working with MS Word users.

I'm not sure what LyX's history with Google's Summer of Code is, but if
there is any interest, I'd be happy to help with filing applications and
such.  I'm not sure that I'm qualified to be a mentor, but I could be a
ruthlessly competent coordinator.

Cheers,

Rob Oakes



Re: Is there any easy way to embed ABC musical notation ? All I get is a box that says 'abc-box' :(

2010-03-29 Thread Julien Rioux

On 28/03/2010 6:51 PM, Michael Joyner ᏩᏯ wrote:

Julien Rioux wrote:



Hi!

What are you trying to accomplish?

I am trying to embed very short musical note sequences as tone/pitch
indicators.

What have you tried?

Finally tried table cell -> minipage -> ERT:
\begin{abc}[name=i23ga4]
X:1
L:1/4
K:D
(E/2F/2) G|
\end{abc}

But, I have to manually set the width, which results in varying
different sizes... I really need to constrain by height  and let width
be auto adjusted, which is what I am trying to figure out how to finagle
at this point.

How does it "not work"?

If I don't use a mini-page I get:

\end{abc}\tabularnewline

Try typing  to proceed.

If that doesn't work, type X  to quit.




Cheers,
Julien




--
LyX:http://www.lyx.org/  OpenOffice:http://www.openoffice.org/
Inkscape:http://www.inkscape.org/  Scribus:http://www.scribus.net/
GIMP:http://www.gimp.org/  PDF:http://www.pdfforge.org/



Let's keep the discussion on the user list. Others can benefit from 
this. Some might even know how to solve your problem.


First what I did is that I made sure I have all the dependencies:

aptitude install texlive-music abcm2ps ps2eps epstopdf

Then I added the -shell-escape option to the LaTeX > DVI converter from 
within LyX, as you pointed out.


Now it works for simple examples inserted as ERT. You can set the width 
of the ABC snippet in ERT; consult the abc documentation to do this. Or, 
you can encapsulate it inside a Box and set the width there. I 
understand that being able to set the height would be better for small 
snippets. However, this seems to be a limitation of the abc package, so 
you could try contacting its maintainer.


Regards,
Julien


Convert Almost Anything To LaTeX

2010-03-29 Thread rgheck


So I couldn't get PyODConverter to work---I kept getting an error about 
not connecting to my running OpenOffice instance---but then I found UnoConv:

http://dag.wieers.com/home-made/unoconv/
I can't get the LaTeX export option to work there, but one could use 
this to convert from DOC (or anything else OOo can import) to ODT and 
then use writer2latex to convert ODT to LaTeX.


rh



Re: Convert Almost Anything To LaTeX

2010-03-29 Thread Liviu Andronic
On 3/29/10, rgheck  wrote:
> connecting to my running OpenOffice instance---but then I found UnoConv:
> http://dag.wieers.com/home-made/unoconv/
>
There is a second possibility to convert anything that OpenOffice can
chew: jodconverter. From the description:
"JODConverter, the Java OpenDocument Converter, leverages OpenOffice.org to
provide import/export filters for various office formats including OpenDocument
and Microsoft Office.

This package provides a command-line frontend."

Would it make sense to provide menu entries in LyX for these two converters?
Liviu


Re: Convert Almost Anything To LaTeX

2010-03-29 Thread rgheck

On 03/29/2010 12:27 PM, Liviu Andronic wrote:

On 3/29/10, rgheck  wrote:
   

connecting to my running OpenOffice instance---but then I found UnoConv:
 http://dag.wieers.com/home-made/unoconv/

 

There is a second possibility to convert anything that OpenOffice can
chew: jodconverter. From the description:
"JODConverter, the Java OpenDocument Converter, leverages OpenOffice.org to
provide import/export filters for various office formats including OpenDocument
and Microsoft Office.

This package provides a command-line frontend."

Would it make sense to provide menu entries in LyX for these two converters?

   

If we can get them working reliably.

rh



Re: Convert Almost Anything To LaTeX

2010-03-29 Thread Steve Litt
On Monday 29 March 2010 12:27:54 Liviu Andronic wrote:
> On 3/29/10, rgheck  wrote:
> > connecting to my running OpenOffice instance---but then I found UnoConv:
> > http://dag.wieers.com/home-made/unoconv/
> 
> There is a second possibility to convert anything that OpenOffice can
> chew: jodconverter. From the description:
> "JODConverter, the Java OpenDocument Converter, leverages OpenOffice.org to
> provide import/export filters for various office formats including
>  OpenDocument and Microsoft Office.
> 
> This package provides a command-line frontend."
> 
> Would it make sense to provide menu entries in LyX for these two
>  converters? Liviu

I'd tend to answer "no". As years go by, tons of converters are going to come 
and go. Tons of formats are going to come and go. If interfaces to all these 
converters and formats are put in LyX, LyX will become big and bloated, and 
that will give bugs more places to hide. My suggestion would be to put 
converter interfaces in a separate executable that outputs either LyX or 
LaTeX, and maybe have that callable from LyX.

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



Re: Convert Almost Anything To LaTeX

2010-03-29 Thread Steve Litt
On Monday 29 March 2010 11:34:49 rgheck wrote:
> So I couldn't get PyODConverter to work---I kept getting an error about
> not connecting to my running OpenOffice instance---but then I found
>  UnoConv: http://dag.wieers.com/home-made/unoconv/
> I can't get the LaTeX export option to work there, but one could use
> this to convert from DOC (or anything else OOo can import) to ODT and
> then use writer2latex to convert ODT to LaTeX.
> 
> rh
> 

Hi Richard,

In the conversion to OO, does unoconv preserve styles, or does it just convert 
each application of each style to equivalent fingerpainting? 

In the conversion from OO to LaTeX, have you found a way to have the 
conversion preserve styles, or does it just convert each application of each 
style to equivalent fingerpainting?

If a way is found to preserve style application all the way through the 
conversion, that's a huge win, or as VP Biden would say, "a big bleepin deal!"

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



Re: Convert Almost Anything To LaTeX

2010-03-29 Thread rgheck

On 03/29/2010 01:19 PM, Steve Litt wrote:

On Monday 29 March 2010 12:27:54 Liviu Andronic wrote:
   

On 3/29/10, rgheck  wrote:
 

connecting to my running OpenOffice instance---but then I found UnoConv:
 http://dag.wieers.com/home-made/unoconv/
   

There is a second possibility to convert anything that OpenOffice can
chew: jodconverter. From the description:
"JODConverter, the Java OpenDocument Converter, leverages OpenOffice.org to
provide import/export filters for various office formats including
  OpenDocument and Microsoft Office.

This package provides a command-line frontend."

Would it make sense to provide menu entries in LyX for these two
  converters? Liviu
 

I'd tend to answer "no". As years go by, tons of converters are going to come
and go. Tons of formats are going to come and go. If interfaces to all these
converters and formats are put in LyX, LyX will become big and bloated, and
that will give bugs more places to hide. My suggestion would be to put
converter interfaces in a separate executable that outputs either LyX or
LaTeX, and maybe have that callable from LyX.

   
There's actually not much cost with adding such interfaces, except that, 
in 1.6.x, the Import and Export menu can become kind of crowded, as more 
and more options become available. But making the options available 
involve adds almost nothing to LyX, except the memory to store a few 
strings.


rh



writer2latex Packages under Ubuntu

2010-03-29 Thread Tim Wescott
Ubuntu lists not one, but _two_ writer2latex packages: writer2latex, and 
openoffice.org-writer2latex.


Anyone know whazzup?  Is one free-standing, the other a plugin?  Do I 
need just one, both, the first if I install the second, but not the 
other way around?


Thanks.

--
Tim Wescott
Wescott Design Services
Voice: 503-631-7815
Cell:  503-349-8432
http://www.wescottdesign.com




Re: Convert Almost Anything To LaTeX

2010-03-29 Thread rgheck

On 03/29/2010 01:23 PM, Steve Litt wrote:

On Monday 29 March 2010 11:34:49 rgheck wrote:
   

So I couldn't get PyODConverter to work---I kept getting an error about
not connecting to my running OpenOffice instance---but then I found
  UnoConv: http://dag.wieers.com/home-made/unoconv/
I can't get the LaTeX export option to work there, but one could use
this to convert from DOC (or anything else OOo can import) to ODT and
then use writer2latex to convert ODT to LaTeX.

rh

 

Hi Richard,

In the conversion to OO, does unoconv preserve styles, or does it just convert
each application of each style to equivalent fingerpainting?

In the conversion from OO to LaTeX, have you found a way to have the
conversion preserve styles, or does it just convert each application of each
style to equivalent fingerpainting?

If a way is found to preserve style application all the way through the
conversion, that's a huge win, or as VP Biden would say, "a big bleepin deal!"

   
I know that writer2latex (which exists standalone and as as an OOo 
extension) will preserve at least some styling, such as section 
headings. What else it will do, I don't know. But it is under active 
development and so requests could be made. But I would guess there are 
some limits here. Getting something to convert OOo styles to LaTeX 
styles (commands or environments) would be non-trivial.


rh



Re: writer2latex Packages under Ubuntu

2010-03-29 Thread rgheck

On 03/29/2010 01:38 PM, Tim Wescott wrote:
Ubuntu lists not one, but _two_ writer2latex packages: writer2latex, 
and openoffice.org-writer2latex.


Anyone know whazzup?  Is one free-standing, the other a plugin?


Yes, exactly.

Do I need just one, both, the first if I install the second, but not 
the other way around?


If you want just to export from OOo, install the plugin. If you want to 
do it from the command line, install that one.


rh



Badly needly for lyx 1.6.4 under ubuntu 8.04

2010-03-29 Thread Wei-Dong Lian
Hi everyone,

I would like to know if there is a solution to install lyx 1.64 or
even higher version under ubuntu 8.04.
By default, lyx 1.5.3 is installed in ubuntu 8.04, to be honest, I began
with lyx1.6.4, so now all of my old lyx documents could not be opened. In
addition, in the new version of lyx after 1.64 they really added more useful
features, easy to use. So if any suggestion will be appreciated.

ECN
Weidong


Re: Badly needly for lyx 1.6.4 under ubuntu 8.04

2010-03-29 Thread rgheck

On 03/29/2010 02:17 PM, Wei-Dong Lian wrote:

Hi everyone,

I would like to know if there is a solution to install lyx 1.64 or
even higher version under ubuntu 8.04.
By default, lyx 1.5.3 is installed in ubuntu 8.04, to be honest, I began
with lyx1.6.4, so now all of my old lyx documents could not be opened. In
addition, in the new version of lyx after 1.64 they really added more useful
features, easy to use. So if any suggestion will be appreciated.

   
I assume you could compile 1.6.4 yourself? This is not that hard to do, 
as long as you can install the various dependencies.


rh



Re: Badly needly for lyx 1.6.4 under ubuntu 8.04

2010-03-29 Thread Julien Rioux

On 29/03/2010 2:27 PM, rgheck wrote:

On 03/29/2010 02:17 PM, Wei-Dong Lian wrote:

Hi everyone,

I would like to know if there is a solution to install lyx 1.64 or
even higher version under ubuntu 8.04.
By default, lyx 1.5.3 is installed in ubuntu 8.04, to be honest, I began
with lyx1.6.4, so now all of my old lyx documents could not be opened. In
addition, in the new version of lyx after 1.64 they really added more
useful
features, easy to use. So if any suggestion will be appreciated.


I assume you could compile 1.6.4 yourself? This is not that hard to do,
as long as you can install the various dependencies.

rh




To get the dependencies, under ubuntu:

apt-get build-dep lyx

--
Julien


Re: Badly needly for lyx 1.6.4 under ubuntu 8.04

2010-03-29 Thread Wei-Dong Lian
On Mon, Mar 29, 2010 at 8:27 PM, rgheck  wrote:

> On 03/29/2010 02:17 PM, Wei-Dong Lian wrote:
>
>> Hi everyone,
>>
>> I would like to know if there is a solution to install lyx 1.64 or
>> even higher version under ubuntu 8.04.
>> By default, lyx 1.5.3 is installed in ubuntu 8.04, to be honest, I began
>> with lyx1.6.4, so now all of my old lyx documents could not be opened. In
>> addition, in the new version of lyx after 1.64 they really added more
>> useful
>> features, easy to use. So if any suggestion will be appreciated.
>>
>>
>>
> I assume you could compile 1.6.4 yourself? This is not that hard to do, as
> long as you can install the various dependencies.
>
> rh
>
>

Thanks for your suggestions, I am afraid it is not that easy to install
these various dependencies.
It is more complex, I need to install many packages and remove many packages
to satisfy the decencies between packages.
I added one source list of lyx 1.64 of ubuntu9.10 to my source list,  and I
tried the command 'sudo aptitude install lyx', it got several solutions to
install lyx 1.64, but it seemed that I will remove nearly all of packages in
my ubuntu 8.04 and install new packages. so I did not dare to try that, it
may harm my current system. If someone had experienced a successful case
like this, please give me some suggestions, thanks in advance. And also any
other solution will be welcomed.
weidong


Re: Interline Space

2010-03-29 Thread Uwe Stöhr

Am 26.03.2010 09:41, schrieb YURENA MENDOZA:


Hello, as you can see when it begins paragraph of "However." the
distance with the preceding paragraph is greater than in the rest and in
this case there is no floating in this section.


This occurs because you explicitly printed all characters in your document black. You additionally 
set for all characters the font size "Large". I removed both from your document and then it works, 
see attached.


Coloring and setting a font size is designed to be used only for a sentence or paragraph but not for 
the whole document. To change the font size for the document, use the menu 
Document->Settings->Fonts->Base Size instead.

To color all characters of your document e.g. red, add this line to your 
document preamble:

% color everything red
\...@ifundefined{textcolor}
 {\usepackage{color}}{}
\color{red}

I have done this in the attached document.

---

Another tip: You are using chemical symbols like "CO2" in your document. Note that these must be 
typeset upright otherwise "CO2" means C*O2. For a description of support for chemically symbols, see 
the LyX Math manual, sec. 20 "Chemical Symbols and Equations". You find the manual in LyX's Help menu.


regards Uwe


example-help.lyx
Description: application/lyx


Re: Letters floating- Low quality

2010-03-29 Thread Uwe Stöhr

Am 29.03.2010 14:08, schrieb YURENA MENDOZA:


Hello, when my work is transfered  to pdf the quality of the letters in the
pdf (version 8) is very low specially letters of the  floating. What can I
do? In addition I can only choose between three kind of letter: time roman,
sans-serif and typewriter,


Yes, but in every of these 3 combo boxes you can select a font you like.


which package can I install, which is its actual
name? Because I have read that the "lmodern" contains several types of
letters but I dont know which lmodern package I should download.


LyX should already offer you this font in the 3 mentioned combo boxes as "Latin 
Modern xxx".

regards Uwe


Re: Badly needly for lyx 1.6.4 under ubuntu 8.04

2010-03-29 Thread rgheck

On 03/29/2010 06:22 PM, Wei-Dong Lian wrote:

On Mon, Mar 29, 2010 at 8:27 PM, rgheck  wrote:

   

On 03/29/2010 02:17 PM, Wei-Dong Lian wrote:

 

Hi everyone,

I would like to know if there is a solution to install lyx 1.64 or
even higher version under ubuntu 8.04.
By default, lyx 1.5.3 is installed in ubuntu 8.04, to be honest, I began
with lyx1.6.4, so now all of my old lyx documents could not be opened. In
addition, in the new version of lyx after 1.64 they really added more
useful
features, easy to use. So if any suggestion will be appreciated.



   

I assume you could compile 1.6.4 yourself? This is not that hard to do, as
long as you can install the various dependencies.

rh


 

Thanks for your suggestions, I am afraid it is not that easy to install
these various dependencies.
It is more complex, I need to install many packages and remove many packages
to satisfy the decencies between packages.
I added one source list of lyx 1.64 of ubuntu9.10 to my source list,  and I
tried the command 'sudo aptitude install lyx', it got several solutions to
install lyx 1.64, but it seemed that I will remove nearly all of packages in
my ubuntu 8.04 and install new packages. so I did not dare to try that, it
may harm my current system. If someone had experienced a successful case
like this, please give me some suggestions, thanks in advance. And also any
other solution will be welcomed.

   
I don't think this is what people were suggesting at all. Trying to 
install packages from the 9.10 directories to an 8.04 install is 
definitely not going to work, for exactly the reason you see.


The dependencies you need to compile LyX should not be that bad, just a 
bunch of -devel or -dev packages, which are often not very large. Did 
you try that suggestion? If so, what happened?


rh



Re: Badly needly for lyx 1.6.4 under ubuntu 8.04

2010-03-29 Thread rgheck

On 03/29/2010 06:22 PM, Wei-Dong Lian wrote:

On Mon, Mar 29, 2010 at 8:27 PM, rgheck  wrote:



On 03/29/2010 02:17 PM, Wei-Dong Lian wrote:



Hi everyone,

I would like to know if there is a solution to install lyx 1.64 or
even higher version under ubuntu 8.04.
By default, lyx 1.5.3 is installed in ubuntu 8.04, to be honest, I began
with lyx1.6.4, so now all of my old lyx documents could not be opened. In
addition, in the new version of lyx after 1.64 they really added more
useful
features, easy to use. So if any suggestion will be appreciated.





I assume you could compile 1.6.4 yourself? This is not that hard to do, as
long as you can install the various dependencies.

rh




Thanks for your suggestions, I am afraid it is not that easy to install
these various dependencies.
It is more complex, I need to install many packages and remove many packages
to satisfy the decencies between packages.
I added one source list of lyx 1.64 of ubuntu9.10 to my source list,  and I
tried the command 'sudo aptitude install lyx', it got several solutions to
install lyx 1.64, but it seemed that I will remove nearly all of packages in
my ubuntu 8.04 and install new packages. so I did not dare to try that, it
may harm my current system. If someone had experienced a successful case
like this, please give me some suggestions, thanks in advance. And also any
other solution will be welcomed.


I don't think this is what people were suggesting at all. Trying to 
install packages from the 9.10 directories to an 8.04 install is 
definitely not going to work, for exactly the reason you see.


The dependencies you need to compile LyX should not be that bad, just a 
bunch of -devel or -dev packages, which are often not very large. Did 
you try that suggestion? If so, what happened?


rh



Undertilde

2010-03-29 Thread Julio Rojas
Dear all, is there a way in which "\utilde" from the package
"undertilde" can be rendered on screen in a equation environment? Is
not impossible for me to work without it, but I rather have a nice
tilde under the variable than "\utilde" in red letters before it.

Best regards.
-
Julio Rojas
jcredbe...@gmail.com


Re: Undertilde

2010-03-29 Thread Uwe Stöhr

Am 30.03.2010 01:39, schrieb Julio Rojas:


Dear all, is there a way in which "\utilde" from the package
"undertilde" can be rendered on screen in a equation environment?


This is not yet supported, but should be easy to implement because it is the same as \widetilde - 
only below the equation. Can you therefore please open an enhancement request at our bug tracker?


You can nevertheless already use \utilde in an equation, only the on-screen rendering within LyX 
won't work.


regards Uwe


Re: Undertilde

2010-03-29 Thread Julio Rojas
Done: http://www.lyx.org/trac/ticket/6622

Thx Uwe.
-
Julio Rojas
jcredbe...@gmail.com



On Tue, Mar 30, 2010 at 2:16 AM, Uwe Stöhr  wrote:
> Am 30.03.2010 01:39, schrieb Julio Rojas:
>
>> Dear all, is there a way in which "\utilde" from the package
>> "undertilde" can be rendered on screen in a equation environment?
>
> This is not yet supported, but should be easy to implement because it is the
> same as \widetilde - only below the equation. Can you therefore please open
> an enhancement request at our bug tracker?
>
> You can nevertheless already use \utilde in an equation, only the on-screen
> rendering within LyX won't work.
>
> regards Uwe
>


Compiling LyX on Ubuntu/Debian (was Badly needly for lyx 1.6.4 under ubuntu 8.04)

2010-03-29 Thread Typhoon
On Mon, 29 Mar 2010 20:17:25 +0200
Wei-Dong Lian  wrote:

> Hi everyone,
> 
> I would like to know if there is a solution to install lyx 1.64 or
> even higher version under ubuntu 8.04.
 
> ECN
> Weidong

Hello Weidong,
Here is a short Howto that I wrote for compiling LyX and using GNU Stow
to keep it out of the way of your existing LyX installation.

-

===
 Compiling LyX on Ubuntu or Debian
===


 And using GNU Stow


Getting the tools
=

1. y...@yourmachine:~$ sudo apt-get build-dep lyx
2. y...@yourmachine:~$ sudo apt-get install stow
3. y...@yourmachine:~$ sudo apt-get install automake
4. y...@yourmachine:~$ sudo atp-get install autoconf


This should get most or all of what you need. There may be a
substantial download if you have no building tools already installed.

Getting LyX
===

You want the "source code".

Download the source tarball from  http://www.lyx.org/Download. The
downloaded file will be named lyx-1.6.5.tar.gz.

Local directory
===

1. y...@yourmachine:~$ mkdir local
2. y...@yourmachine:~$ mv lyx-1.6.5.tar.gz ./local
   (Note: the tarball may be downloaded to some special directory,
   usually either Desktop or Downloads. You may need to adjust the
   above command line accordingly)
3. y...@yourmachine:~$ cd local
4. y...@yourmachine:~$ tar xovzf lyx-1.6.5.tar.gz
   This will create a new sub-directory under ~/local and will unpack
   the source files for lyx.
4. y...@yourmachine:~$ cd lyx-1.6.5

Compiling
=

1. y...@yourmachine:~$ ./autogen.sh
   Check the output - if it says something is missing, then use
   apt-get to install it.
2. y...@yourmachine:~$ ./configure --with-version-suffix=165
   We give it a different suffix so that it doesn't conflict with your
   existing LyX installation. You can use both the new version and the
   previously installed version.

   Check the output - if it says something is missing, then install
   using apt-get. Repeat items 1 and 2.
3. y...@yourmachine:~$ make
   Depending on your machine, this may take some time. If there is an
   error, then read the output. You probably need to use apt-get to
   install some new piece of software.
4. y...@yourmachine:~$ sudo make install prefix=/usr/local/stow/lyx165
5. y...@yourmachine:~$ cd /usr/local/stow
6. y...@yourmachine:~$ sudo stow lyx165

Running the new version
===

y...@yourmachine:~$ lyx165

You can also make a "launcher" for the new version by right clicking
on the panel. The command should be /usr/local/bin/lyx165.

You can also run your old LyX version using the simple command:

y...@yourmachine:~$ lyx

In a launcher, the command /usr/local/bin/lyx will run the old version.



Please let me know if there is any problem with any of the steps here.
Cheers,
Alan




-- 
Alan L Tyreehttp://www2.austlii.edu.au/~alan
Tel:  04 2748 6206



Re: Compiling LyX on Ubuntu/Debian (was Badly needly for lyx 1.6.4 under ubuntu 8.04)

2010-03-29 Thread Richard Heck

On 03/29/2010 08:38 PM, Typhoon wrote:

On Mon, 29 Mar 2010 20:17:25 +0200
Wei-Dong Lian  wrote:

   

Hi everyone,

I would like to know if there is a solution to install lyx 1.64 or
even higher version under ubuntu 8.04.
 


   

ECN
Weidong
 

Hello Weidong,
Here is a short Howto that I wrote for compiling LyX and using GNU Stow
to keep it out of the way of your existing LyX installation.

   

If this isn't on the wiki.

rh