silly newby graphics question

2010-03-19 Thread Richard Brown
This is a sily question, but my only excuse is I'm trying to understand.
Thanks for your patience, understanding and answers!

Up to now I've been inserting my photographs and other graphics in a float.
But what is the float actually  for? Can I just insert the graphics files
directly via the Insert  Graphics command? If I can, what are the
advantages and disadvantages of each system, that is with or without  a
float?

TIA

Richard


inserting black and white graphics (musical notation) from TIFF

2010-03-19 Thread Richard Brown
I have some TIFF files exported from Sibelius, the music scoring program.
They are just high-quality images of black and white music scores. I tried
converting them to jpg in GIMP for inclusion in my Lyx manuscript, but the
results were awful- or at least, they were awful in lyx. When I open the
converted jpg files in other software they are really clear and good, but in
Lyx onscreen they are very poor and in the dvi files even worse. Many of the
fine lines that indicate musical notes are patchy, and a lot have
disappeared. Has anyone got any good ideas as to how to process this?

TIA


Re: silly newby graphics question

2010-03-19 Thread Julio Rojas
A float leaves to LaTeX the decision of where to put the image. This
is not a trivial decision and in most cases, LaTeX does a better job
than you at balancing text distribution when an image is inserted.
Even if you want to put an image in a particular place, a float allows
you to do it.
-
Julio Rojas
jcredbe...@gmail.com



On Fri, Mar 19, 2010 at 8:17 AM, Richard Brown
rich...@guidedelearning.com wrote:
 This is a sily question, but my only excuse is I'm trying to understand.
 Thanks for your patience, understanding and answers!

 Up to now I've been inserting my photographs and other graphics in a float.
 But what is the float actually  for? Can I just insert the graphics files
 directly via the Insert  Graphics command? If I can, what are the
 advantages and disadvantages of each system, that is with or without  a
 float?

 TIA

 Richard



Re: inserting black and white graphics (musical notation) from TIFF

2010-03-19 Thread Julio Rojas
It's much better if you print them as PDFs and the include them in
your Lyx document. I think this should be possible from your
application.
-
Julio Rojas
jcredbe...@gmail.com



On Fri, Mar 19, 2010 at 8:24 AM, Richard Brown
rich...@guidedelearning.com wrote:
 I have some TIFF files exported from Sibelius, the music scoring program.
 They are just high-quality images of black and white music scores. I tried
 converting them to jpg in GIMP for inclusion in my Lyx manuscript, but the
 results were awful- or at least, they were awful in lyx. When I open the
 converted jpg files in other software they are really clear and good, but in
 Lyx onscreen they are very poor and in the dvi files even worse. Many of the
 fine lines that indicate musical notes are patchy, and a lot have
 disappeared. Has anyone got any good ideas as to how to process this?

 TIA



Re: inserting black and white graphics (musical notation) from TIFF

2010-03-19 Thread Guenter Milde
On 2010-03-19, Richard Brown wrote:

 I have some TIFF files exported from Sibelius, the music scoring program.
 They are just high-quality images of black and white music scores. I tried
 converting them to jpg in GIMP for inclusion in my Lyx manuscript, but the
 results were awful- or at least, they were awful in lyx.

JPEG is a lossy image comression format suited for photographic pictures,
not for musical scores (nor text nor line drawings, ...)

If a pixmap is the only option, try PNG instead. If Sibelius allows
export to a vector format (PDF or SVG, say) this will be even better,
because then you can scale the image without loss of quality
(even if it might look bad on-screen).

Günter



Re: Greetings one and All. I have a dual language document, that lyx thinks is all English.

2010-03-19 Thread Guenter Milde
On 2010-03-18, Michael Joyner ᏩᏯ wrote:

 I have a dual language document, that lyx thinks is all English.

You have to tell it otherwise. Try EditText PropertiesCustomLanguage
(or M-x language your language, if the desired language is supported
and you know the lyx-internal name of it.)

 I it a combination of Cherokee and English. Is there a way to tell LyX=20
 or XeTeX to change font used by another language?

Not out of the box. However, you can bind a key to a command-sequence
setting both, language and font.

 How do I tell it the unicode range for Cherokee is another language?=20

This might become a feature in future, however it will not work for
languages sharing a common alphabet (German and Hungarian, say).

Günter



Re: Blogging with LyX

2010-03-19 Thread Guenter Milde
On 2010-03-18, Manveru wrote:
 --0016e6db66f9868eb9048216b83b
 Content-Type: text/plain; charset=UTF-8

 2010/3/18 Jack Desert jwo...@gmail.com

 Yes, it does have XML-RPC capability. Does LyX have a
 built-in XML-RPC client, or would I have to use a separate one?  I
 would still want the option to do a full preview before pulling the
 trigger on a post.

 You can review a file in the browser. Then accept further processing and
 call some application submitting through XML-RPC.

But then, it would be more sensible to add the submit to
blogging-site feature to the browser, IMO.

Günter



Re: Spellcheck: alternative language

2010-03-19 Thread Jürgen Spitzmüller
Peter wrote:
 I tried to install the spellcheck function in lyx on my Windows VISTA and
 got  it working for the English language. But it just won't work for other
 languages although the dictionaries are installed.
 I went to Tools - Preferences - Spellchecker and I typed in the
 Alternative  language field: de (for german)

The alternative language is not for additional languages but for very 
specific cases where the dictionary name of the main document language differs 
from what LyX expects (such as deutsch instead of german).

Did you set the correct language for your document (or for the respective 
passages) in either Document  Settings  Language (main language) or Edit  
Text Style  Customized ...  Language (for passages)?

Jürgen


Problème de mise en page sur LYX

2010-03-19 Thread Lolom

Bonjour,

Je rédige actuellement mon mémoire en utilisant Lyx. Cependant, j'ai
quelques soucis de mise en page.
J'ai choisis la classe de document report qui me semble la plus adaptée
pour un mémoire. Mais la numérotation des sections commence à 0 (j'obtiens
0.1 puis 0.2 ...). Commment faire pour commencer à 1 ? Est-ce possible dans
la classe de document report ?
J'aimerais aussi écrire plus sur une ligne, pour l'instant, j'obtiens du
texte seulement sur 11cm ! Comment faire pour avoir des marges plus petites
à droite et à gauche ? Y a-t-il une classe de document pour cela ?

Merci d'avance pour votre aide,
Laura
-- 
View this message in context: 
http://n2.nabble.com/Probleme-de-mise-en-page-sur-LYX-tp4761999p4761999.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Re: Problème de mise en page sur LYX

2010-03-19 Thread Liviu Andronic
Salut Laura
La liste LyX est en anglais, ainsi on attend de recevoir des messages
en anglais et attends toi de recevoir des réponses en anglais. For the
following, English..

2010/3/19 Lolom lolo_mili...@hotmail.com:
 Je rédige actuellement mon mémoire en utilisant Lyx. Cependant, j'ai
 quelques soucis de mise en page.
 J'ai choisis la classe de document report qui me semble la plus adaptée
 pour un mémoire. Mais la numérotation des sections commence à 0 (j'obtiens
 0.1 puis 0.2 ...). Commment faire pour commencer à 1 ? Est-ce possible dans
 la classe de document report ?

Yes, see this [1].
[1] http://wiki.lyx.org/Examples/ManuallySetChapterNumberInReport


 J'aimerais aussi écrire plus sur une ligne, pour l'instant, j'obtiens du
 texte seulement sur 11cm ! Comment faire pour avoir des marges plus petites
 à droite et à gauche ? Y a-t-il une classe de document pour cela ?

You can modify page margins in Document  Settings  Page margins.

Regards
Liviu


Re: announce: template to write Ph.D. theses with LyX

2010-03-19 Thread Alex Fernandez
Hi Uwe,

On Fri, Mar 19, 2010 at 2:41 AM, Uwe Stöhr uwesto...@web.de wrote:
 Why the explicit --html option? As you know we use this call as default for
 LyX:

 python -m elyxer --directory $$r $$i $$o

 It the --html a new option and what is it for?

The --html option was in fact added to version 0.21; it is used to
export to HTML 4.0 (as opposed to XHTML). The reason is that office
suites (including Microsoft Office and OpenOffice.org) can import
HTML, but not XHTML.

 In fact, I don't see why eLyXer should not be the default Word
 exporter.

 We have a special export format names HTML (MS Word) that is created by
 tex4ht:

 htlatex $$i 'html,word' 'symbol/!' '-cvalidate'

 I don't know the difference between html and this special html variant. I
 therefore cannot answer you that question.

It would appear that htlatex also has an option to export some kind of
format better suited to Word. My proposal is to use this format HTML
(MS Word) but with eLyXer as the converter. I think it could work
even better than with htlatex. If you think it's a good idea I can
easily provide a patch.

Alex.


Re: announce: template to write Ph.D. theses with LyX

2010-03-19 Thread Alex Fernandez
Hi Julio,

On Thu, Mar 18, 2010 at 8:22 AM, Julio Rojas jcredbe...@gmail.com wrote:
 Good news Alex. I'll be waiting for your announcement. BTW, is it
 there a flag that can be used to put footnotes in a Notes section at
 the end of the document?

Not at the moment, as it might be confused with the bibliography.
However you are not the first to ask, so I will try to add it for
0.43.

By the way, you said before:

 Dear Alex. That might be a good idea, but I think elyxer needs to
 mature a little bit more before turning it into the default converter
 for  MS Word. For example, it doesn't handle math macros at all, which
 I use constantly. For more simpler documents it's fine, I think.

I don't want to give you false hopes: importing into MS Word should
work well with text, but math (formulae and macros) will never be
perfect. Importing equations is hard; Word has its own equation editor
and it will not read LaTeX, HTML with CSS, MathML or anything else you
want to throw at it. So after some thought waiting for math macros to
export to Word is not worthwhile.

If you have any other improvements in mind for eLyXer please let me know.

Alex.


Re: Greetings one and All. I have a dual language document, that lyx thinks is all English.

2010-03-19 Thread Michael Joyner ᏩᏯ

Guenter Milde wrote:

On 2010-03-18, Michael Joyner ᏩᏯ wrote:

  

I have a dual language document, that lyx thinks is all English.



You have to tell it otherwise. Try EditText PropertiesCustomLanguage
(or M-x language your language, if the desired language is supported
and you know the lyx-internal name of it.)
  

LyX does not have Cherokee listed.
  

I it a combination of Cherokee and English. Is there a way to tell LyX=20
or XeTeX to change font used by another language?



Not out of the box. However, you can bind a key to a command-sequence
setting both, language and font.
  
So there is not unicode range reserved for another language is actually 
another language when seen?
  

How do I tell it the unicode range for Cherokee is another language?=20



This might become a feature in future, however it will not work for
languages sharing a common alphabet (German and Hungarian, say).
  
Bleck, Would like to be able to specify Digohweli for the Cherokee 
unicode, it has all the glyphs needed for Roman lettering, but doesn't 
have bold, italic, slanted, etc.

Günter

  



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



Re: announce: template to write Ph.D. theses with LyX

2010-03-19 Thread Liviu Andronic
On 3/19/10, Alex Fernandez ely...@gmail.com wrote:
 I don't want to give you false hopes: importing into MS Word should
  work well with text, but math (formulae and macros) will never be
  perfect. Importing equations is hard; Word has its own equation editor
  and it will not read LaTeX, HTML with CSS, MathML or anything else you
  want to throw at it. So after some thought waiting for math macros to
  export to Word is not worthwhile.

What about OpenOffice? Does it handle better equations import?
Liviu


Re: announce: template to write Ph.D. theses with LyX

2010-03-19 Thread Alex Fernandez
On Fri, Mar 19, 2010 at 1:28 PM, Liviu Andronic landronim...@gmail.com wrote:
 On 3/19/10, Alex Fernandez ely...@gmail.com wrote:
 I don't want to give you false hopes: importing into MS Word should
  work well with text, but math (formulae and macros) will never be
  perfect. Importing equations is hard; Word has its own equation editor
  and it will not read LaTeX, HTML with CSS, MathML or anything else you
  want to throw at it. So after some thought waiting for math macros to
  export to Word is not worthwhile.

 What about OpenOffice? Does it handle better equations import?

As far as I know, the situation is the same. I have tried importing
XHTML, HTML and MathML and it works just like Word: XHTML (including
MathML) doesn't work, text is recognized, subtitles are fine, anything
beyond that is botched. I don't know if there is any route other than
HTML to get LyX into OpenOffice.org.

Alex.


Re: silly newby graphics question

2010-03-19 Thread Steve Litt
On Friday 19 March 2010 03:17:49 Richard Brown wrote:
 This is a sily question, but my only excuse is I'm trying to understand.
 Thanks for your patience, understanding and answers!
 
 Up to now I've been inserting my photographs and other graphics in a float.
 But what is the float actually  for? Can I just insert the graphics files
 directly via the Insert  Graphics command? If I can, what are the
 advantages and disadvantages of each system, that is with or without  a
 float?

Floats provide a facility for a caption and placement in a table of 
illustrations, as well as the ability for LyX to govern the placement of the 
graphic, which usually comes out better than manual placement with regard to 
all the text fitting together with minimum blankage.

I usually don't use floats. I like to write As you can see in the following 
illustration, rather than have LyX write As you can see from graphic 3.4 on 
the opposite page. Floats theoretically offer a here no matter what 
facility which should place the graphic and its float exactly where it is in 
the text. Ummm, maybe.

SteveT

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



Re: announce: template to write Ph.D. theses with LyX

2010-03-19 Thread Julio Rojas
Yeah Alex, you are right. What I wanted to say is that math macros are
not recognized and equations give errors as a consequence. Images for
equations are rendered but they are not included in the resulting HTML
document. This, at least, is what I would like to see. Well, this and
the possibility of sending notes to the end of the document.

BTW, most documents I need to convert have this format, notes to the
end. In economics is quite common.

Thanks for the good job.
-
Julio Rojas
jcredbe...@gmail.com



On Fri, Mar 19, 2010 at 1:01 PM, Alex Fernandez ely...@gmail.com wrote:
 Hi Julio,

 On Thu, Mar 18, 2010 at 8:22 AM, Julio Rojas jcredbe...@gmail.com wrote:
 Good news Alex. I'll be waiting for your announcement. BTW, is it
 there a flag that can be used to put footnotes in a Notes section at
 the end of the document?

 Not at the moment, as it might be confused with the bibliography.
 However you are not the first to ask, so I will try to add it for
 0.43.

 By the way, you said before:

 Dear Alex. That might be a good idea, but I think elyxer needs to
 mature a little bit more before turning it into the default converter
 for  MS Word. For example, it doesn't handle math macros at all, which
 I use constantly. For more simpler documents it's fine, I think.

 I don't want to give you false hopes: importing into MS Word should
 work well with text, but math (formulae and macros) will never be
 perfect. Importing equations is hard; Word has its own equation editor
 and it will not read LaTeX, HTML with CSS, MathML or anything else you
 want to throw at it. So after some thought waiting for math macros to
 export to Word is not worthwhile.

 If you have any other improvements in mind for eLyXer please let me know.

 Alex.



Re: announce: template to write Ph.D. theses with LyX

2010-03-19 Thread Alex Fernandez
Hi again,

On Fri, Mar 19, 2010 at 2:06 PM, Julio Rojas jcredbe...@gmail.com wrote:
 Yeah Alex, you are right. What I wanted to say is that math macros are
 not recognized and equations give errors as a consequence. Images for
 equations are rendered but they are not included in the resulting HTML
 document. This, at least, is what I would like to see.

I am not sure if I understand correctly. So you would prefer equations
not to appear at all in the HTML document, so they are not imported
into office documents? Something like a --nomath option to skip math
equations?

 Well, this and
 the possibility of sending notes to the end of the document.

OK, I will certainly try to add --footend to 0.43.

Alex.


Re: announce: template to write Ph.D. theses with LyX

2010-03-19 Thread Julio Rojas
Of course I want to see equations, and this feature works fine with
standard equations. But some notation I use for my work is defined as
macros. I tried to export one of my papers to HTML with elyxer and
even though equations were rendered as images (in JPG files), they
were not included in the HTML, giving out an error with the macros. I
would really like to see elyxer understanding macros. That's all.

But your's is not a bad idea. Maybe a --nomath flag that puts
placeholders where equations are supposed to appear would help the
transition from Lyx to OO/Word.
-
Julio Rojas
jcredbe...@gmail.com



On Fri, Mar 19, 2010 at 2:49 PM, Alex Fernandez ely...@gmail.com wrote:
 Hi again,

 On Fri, Mar 19, 2010 at 2:06 PM, Julio Rojas jcredbe...@gmail.com wrote:
 Yeah Alex, you are right. What I wanted to say is that math macros are
 not recognized and equations give errors as a consequence. Images for
 equations are rendered but they are not included in the resulting HTML
 document. This, at least, is what I would like to see.

 I am not sure if I understand correctly. So you would prefer equations
 not to appear at all in the HTML document, so they are not imported
 into office documents? Something like a --nomath option to skip math
 equations?

 Well, this and
 the possibility of sending notes to the end of the document.

 OK, I will certainly try to add --footend to 0.43.

 Alex.



Re: announce: template to write Ph.D. theses with LyX

2010-03-19 Thread Ehud Kaplan
Just for the hell of it I tried to convert a recent paper with equations 
to HTML-- the whole thing was converted properly, but the equations were 
mostly mangled...


EK

On 03/19/2010 10:02 AM, Julio Rojas wrote:

Of course I want to see equations, and this feature works fine with
standard equations. But some notation I use for my work is defined as
macros. I tried to export one of my papers to HTML with elyxer and
even though equations were rendered as images (in JPG files), they
were not included in the HTML, giving out an error with the macros. I
would really like to see elyxer understanding macros. That's all.

But your's is not a bad idea. Maybe a --nomath flag that puts
placeholders where equations are supposed to appear would help the
transition from Lyx to OO/Word.
-
Julio Rojas
jcredbe...@gmail.com



On Fri, Mar 19, 2010 at 2:49 PM, Alex Fernandezely...@gmail.com  wrote:
   

Hi again,

On Fri, Mar 19, 2010 at 2:06 PM, Julio Rojasjcredbe...@gmail.com  wrote:
 

Yeah Alex, you are right. What I wanted to say is that math macros are
not recognized and equations give errors as a consequence. Images for
equations are rendered but they are not included in the resulting HTML
document. This, at least, is what I would like to see.
   

I am not sure if I understand correctly. So you would prefer equations
not to appear at all in the HTML document, so they are not imported
into office documents? Something like a --nomath option to skip math
equations?

 

Well, this and
the possibility of sending notes to the end of the document.
   

OK, I will certainly try to add --footend to 0.43.

Alex.

 


--
Ehud Kaplan, Ph.D.
Jules and Doris Stein Research to Prevent Blindness Professor
Director, The laboratory of Visual  Computational Neuroscience
Departments of Neuroscience, Ophthalmology, Structural  Chemical Biology,
The Mount Sinai School of Medicine
One Gustave Levy Place
NY, NY, 10029



Re: announce: template to write Ph.D. theses with LyX

2010-03-19 Thread Alex Fernandez
Hi,

On Fri, Mar 19, 2010 at 3:02 PM, Julio Rojas jcredbe...@gmail.com wrote:
 Of course I want to see equations, and this feature works fine with
 standard equations. But some notation I use for my work is defined as
 macros. I tried to export one of my papers to HTML with elyxer and
 even though equations were rendered as images (in JPG files), they
 were not included in the HTML, giving out an error with the macros. I
 would really like to see elyxer understanding macros. That's all.

I am sorry, but I am positively sure that you used a different
converter: eLyXer does not (and never did) convert equations to JPEG
images. It has always tried to do some CSS trickery to make them look
mostly good, but after a certain point it will not come out good. The
current status is usually shown in the Math showcase:
  http://www.nongnu.org/elyxer/math.html

As to macros, they should not be hard to support once I understand
them properly.

 But your's is not a bad idea. Maybe a --nomath flag that puts
 placeholders where equations are supposed to appear would help the
 transition from Lyx to OO/Word.

I will try to come up with something.

Alex.


Report [Koma]-class does not complie after remo ving text…

2010-03-19 Thread jezZiFeR

Hello,

I use report [Koma], and had a large document, of which I erased lots  
of text to get a short version. Now I can´t compile any longer, and I  
don´t know why. LyX error-message says:


Paragraph ended before \...@ssect was complete.
Too many }'s.

How could I find out, what this means and find the place, where this  
problems results from? I did not change anything, but erase text.


Best
Jess




Re: announce: template to write Ph.D. theses with LyX

2010-03-19 Thread Julio Rojas
I'm sorry, I said it from the top of my head. I have a bunch of PNGs
on the same folder as the HTML document. I thought they were going to
be used in the HTML, but it seems from your statement that this is not
the case. So why are this PNGs on this folder? Are they part of the
conversion process?
-
Julio Rojas
jcredbe...@gmail.com



On Fri, Mar 19, 2010 at 5:23 PM, Alex Fernandez ely...@gmail.com wrote:
 Hi,

 On Fri, Mar 19, 2010 at 3:02 PM, Julio Rojas jcredbe...@gmail.com wrote:
 Of course I want to see equations, and this feature works fine with
 standard equations. But some notation I use for my work is defined as
 macros. I tried to export one of my papers to HTML with elyxer and
 even though equations were rendered as images (in JPG files), they
 were not included in the HTML, giving out an error with the macros. I
 would really like to see elyxer understanding macros. That's all.

 I am sorry, but I am positively sure that you used a different
 converter: eLyXer does not (and never did) convert equations to JPEG
 images. It has always tried to do some CSS trickery to make them look
 mostly good, but after a certain point it will not come out good. The
 current status is usually shown in the Math showcase:
  http://www.nongnu.org/elyxer/math.html

 As to macros, they should not be hard to support once I understand
 them properly.

 But your's is not a bad idea. Maybe a --nomath flag that puts
 placeholders where equations are supposed to appear would help the
 transition from Lyx to OO/Word.

 I will try to come up with something.

 Alex.



Re: announce: template to write Ph.D. theses with LyX

2010-03-19 Thread william.croc...@analog.com

Alex:

Once again, and I am sure I speak for all
when I say how much we appreciate the exceptional
work you have done with elyxer.

Bill

Alex Fernandez wrote:

Hi,

On Fri, Mar 19, 2010 at 3:02 PM, Julio Rojas jcredbe...@gmail.com wrote:

Of course I want to see equations, and this feature works fine with
standard equations. But some notation I use for my work is defined as
macros. I tried to export one of my papers to HTML with elyxer and
even though equations were rendered as images (in JPG files), they
were not included in the HTML, giving out an error with the macros. I
would really like to see elyxer understanding macros. That's all.


I am sorry, but I am positively sure that you used a different
converter: eLyXer does not (and never did) convert equations to JPEG
images. It has always tried to do some CSS trickery to make them look
mostly good, but after a certain point it will not come out good. The
current status is usually shown in the Math showcase:
  http://www.nongnu.org/elyxer/math.html

As to macros, they should not be hard to support once I understand
them properly.


But your's is not a bad idea. Maybe a --nomath flag that puts
placeholders where equations are supposed to appear would help the
transition from Lyx to OO/Word.


I will try to come up with something.

Alex.



Re: Report [Koma]-class does not complie after removing text…

2010-03-19 Thread Uwe Stöhr

jezZiFeR schrieb:

I use report [Koma], and had a large document, of which I erased lots of 
text to get a short version. Now I can´t compile any longer, and I don´t 
know why. LyX error-message says:


Paragraph ended before \...@ssect was complete.
Too many }'s.

How could I find out, what this means and find the place, where this 
problems results from? I did not change anything, but erase text.


Obviously you deleted too much. Can you provide a _small_ LyX example file?

regards Uwe


Re: Problème de mise en page sur LYX

2010-03-19 Thread Liviu Andronic
Hello Laura
I'm moving the discussing to the list so that others can help you, too.

On 3/19/10, Laura Milioni lolo_mili...@hotmail.com wrote:
  I have also an other problem. I insert a box Parbox in my document with
 some text and a table. But Lyx return me There's no line here to end and
 don't want to compile. Do you know why ?

I am not sure what a Parbox is. Can you be more explicit, or send an
example .lyx file to the list?

  Thanks again for your help (and sorry for my english !),

Oh, don't worry about this. Many of us are not native English
speakers. Regards,
Liviu


Re: announce: template to write Ph.D. theses with LyX

2010-03-19 Thread Alex Fernandez
On Fri, Mar 19, 2010 at 5:34 PM, Julio Rojas jcredbe...@gmail.com wrote:
 I'm sorry, I said it from the top of my head. I have a bunch of PNGs
 on the same folder as the HTML document. I thought they were going to
 be used in the HTML, but it seems from your statement that this is not
 the case. So why are this PNGs on this folder? Are they part of the
 conversion process?

I can only speculate: eLyXer generates PNG files (using ImageMagick)
when converting SVG or EPS, in order to use them from within HTML
documents. If they correspond to your SVG files then they may have
been generated by eLyXer (and should be used in the HTML document). If
they correspond to your equations then they are the result of some
other HTML converter which exports equations as little pictures.

Alex.


Force RTL onscreen rendering for paragraph or character style?

2010-03-19 Thread Philiрp Rеichmuth
Hi,

is there a way to force the onscreen rendering for the text contained in a
given character or paragraphy style to be right-to-left? Ideally some kind
of command within the InsetLayout or Style groups in the layout options?

Background: I use XeTeX to typeset a document in several scripts, including
Arabic. The Arabic-script sections are not in the Arabic language, but in a
variety of other languages. Because my document is left-to-right, they get
displayed on screen in LTR order, which is wrong. I can get them to display
in RTL by setting their language to Arabic (ArabTeX or Arabi). In both
cases, LyX displays them right-to-left, but these options are both
ncompatible with XeTeX because they make other assumptions on how to render
the text in the final output.

Ideally, I wouldn't have to mark them as in a different language at all -
there are no benefits other than the writing direction.  I use logical
markup and custom styles anyway for these passages, so I'd just like to
mark all instances of a given style to display RTL in LyX.  Is that
possible, or is there some workaround?

Philipp



Re: announce: template to write Ph.D. theses with LyX

2010-03-19 Thread Alex Fernandez
Hi Bill,

On Fri, Mar 19, 2010 at 5:38 PM, william.croc...@analog.com
william.croc...@analog.com wrote:
 Once again, and I am sure I speak for all
 when I say how much we appreciate the exceptional
 work you have done with elyxer.

Thanks! I have lots of fun working on eLyXer.

Alex.


Re: I can´t to compile lyx

2010-03-19 Thread Marcelo Acuña
  This file was generated using the moc from 4.5.1. It
 
 inside lyx tree:
 find . -name '*moc*' | xargs rm 

Before compiler error I found only one *moc*.
I run make clean and is deleted.
I run configure and make produces the error again.

Marcelo



  Yahoo! Cocina

Encontra las mejores recetas con Yahoo! Cocina.


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


Re: I can´ t to compile lyx

2010-03-19 Thread Pavel Sanda
Marcelo Acu?a wrote:
   This file was generated using the moc from 4.5.1. It
  
  inside lyx tree:
  find . -name '*moc*' | xargs rm 
 
 Before compiler error I found only one *moc*.
 I run make clean and is deleted.
 I run configure and make produces the error again.

1. post the error here.
2. try fresh svn checkout, what happens?

pavel


Re: I can´t to compile lyx

2010-03-19 Thread Enrico Forestieri
Marcelo Acuña writes:
 
   This file was generated using the moc from 4.5.1. It
  
  inside lyx tree:
  find . -name '*moc*' | xargs rm 
 
 Before compiler error I found only one *moc*.
 I run make clean and is deleted.
 I run configure and make produces the error again.

In case you compiled Qt by yourself and you also have the system Qt installed,
then, most probably, the wrong moc is being picked up by the configure script.
Supposing that you installed Qt in /usr/local/qt, try the following:
$ cd /usr/local/qt/bin
$ ln -s moc moc-qt4
$ ln -s uic uic-qt4
and then try to configure again. If I guessed right, it should now work.

-- 
Enrico



Re: I can´t to compile lyx

2010-03-19 Thread Marcelo Acuña
This file was generated using the moc from
 4.5.1. It
   
   inside lyx tree:
   find . -name '*moc*' | xargs rm 
  
  Before compiler error I found only one *moc*.
  I run make clean and is deleted.
  I run configure and make produces the error again.
 
 In case you compiled Qt by yourself and you also have the
 system Qt installed,

Yes. I had installed qt 4.5.1. Then I compiled the new version.
The new version is recongnized for configure.

 then, most probably, the wrong moc is being picked up by
 the configure script.
 Supposing that you installed Qt in /usr/local/qt, try the
 following:
 $ cd /usr/local/qt/bin
 $ ln -s moc moc-qt4
 $ ln -s uic uic-qt4
 and then try to configure again. If I guessed right, it
 should now work.

Ok. I will try this.
Thanks.
Marcelo



  Yahoo! Cocina

Encontra las mejores recetas con Yahoo! Cocina.


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


silly newby graphics question

2010-03-19 Thread Richard Brown
This is a sily question, but my only excuse is I'm trying to understand.
Thanks for your patience, understanding and answers!

Up to now I've been inserting my photographs and other graphics in a float.
But what is the float actually  for? Can I just insert the graphics files
directly via the Insert  Graphics command? If I can, what are the
advantages and disadvantages of each system, that is with or without  a
float?

TIA

Richard


inserting black and white graphics (musical notation) from TIFF

2010-03-19 Thread Richard Brown
I have some TIFF files exported from Sibelius, the music scoring program.
They are just high-quality images of black and white music scores. I tried
converting them to jpg in GIMP for inclusion in my Lyx manuscript, but the
results were awful- or at least, they were awful in lyx. When I open the
converted jpg files in other software they are really clear and good, but in
Lyx onscreen they are very poor and in the dvi files even worse. Many of the
fine lines that indicate musical notes are patchy, and a lot have
disappeared. Has anyone got any good ideas as to how to process this?

TIA


Re: silly newby graphics question

2010-03-19 Thread Julio Rojas
A float leaves to LaTeX the decision of where to put the image. This
is not a trivial decision and in most cases, LaTeX does a better job
than you at balancing text distribution when an image is inserted.
Even if you want to put an image in a particular place, a float allows
you to do it.
-
Julio Rojas
jcredbe...@gmail.com



On Fri, Mar 19, 2010 at 8:17 AM, Richard Brown
rich...@guidedelearning.com wrote:
 This is a sily question, but my only excuse is I'm trying to understand.
 Thanks for your patience, understanding and answers!

 Up to now I've been inserting my photographs and other graphics in a float.
 But what is the float actually  for? Can I just insert the graphics files
 directly via the Insert  Graphics command? If I can, what are the
 advantages and disadvantages of each system, that is with or without  a
 float?

 TIA

 Richard



Re: inserting black and white graphics (musical notation) from TIFF

2010-03-19 Thread Julio Rojas
It's much better if you print them as PDFs and the include them in
your Lyx document. I think this should be possible from your
application.
-
Julio Rojas
jcredbe...@gmail.com



On Fri, Mar 19, 2010 at 8:24 AM, Richard Brown
rich...@guidedelearning.com wrote:
 I have some TIFF files exported from Sibelius, the music scoring program.
 They are just high-quality images of black and white music scores. I tried
 converting them to jpg in GIMP for inclusion in my Lyx manuscript, but the
 results were awful- or at least, they were awful in lyx. When I open the
 converted jpg files in other software they are really clear and good, but in
 Lyx onscreen they are very poor and in the dvi files even worse. Many of the
 fine lines that indicate musical notes are patchy, and a lot have
 disappeared. Has anyone got any good ideas as to how to process this?

 TIA



Re: inserting black and white graphics (musical notation) from TIFF

2010-03-19 Thread Guenter Milde
On 2010-03-19, Richard Brown wrote:

 I have some TIFF files exported from Sibelius, the music scoring program.
 They are just high-quality images of black and white music scores. I tried
 converting them to jpg in GIMP for inclusion in my Lyx manuscript, but the
 results were awful- or at least, they were awful in lyx.

JPEG is a lossy image comression format suited for photographic pictures,
not for musical scores (nor text nor line drawings, ...)

If a pixmap is the only option, try PNG instead. If Sibelius allows
export to a vector format (PDF or SVG, say) this will be even better,
because then you can scale the image without loss of quality
(even if it might look bad on-screen).

Günter



Re: Greetings one and All. I have a dual language document, that lyx thinks is all English.

2010-03-19 Thread Guenter Milde
On 2010-03-18, Michael Joyner ᏩᏯ wrote:

 I have a dual language document, that lyx thinks is all English.

You have to tell it otherwise. Try EditText PropertiesCustomLanguage
(or M-x language your language, if the desired language is supported
and you know the lyx-internal name of it.)

 I it a combination of Cherokee and English. Is there a way to tell LyX=20
 or XeTeX to change font used by another language?

Not out of the box. However, you can bind a key to a command-sequence
setting both, language and font.

 How do I tell it the unicode range for Cherokee is another language?=20

This might become a feature in future, however it will not work for
languages sharing a common alphabet (German and Hungarian, say).

Günter



Re: Blogging with LyX

2010-03-19 Thread Guenter Milde
On 2010-03-18, Manveru wrote:
 --0016e6db66f9868eb9048216b83b
 Content-Type: text/plain; charset=UTF-8

 2010/3/18 Jack Desert jwo...@gmail.com

 Yes, it does have XML-RPC capability. Does LyX have a
 built-in XML-RPC client, or would I have to use a separate one?  I
 would still want the option to do a full preview before pulling the
 trigger on a post.

 You can review a file in the browser. Then accept further processing and
 call some application submitting through XML-RPC.

But then, it would be more sensible to add the submit to
blogging-site feature to the browser, IMO.

Günter



Re: Spellcheck: alternative language

2010-03-19 Thread Jürgen Spitzmüller
Peter wrote:
 I tried to install the spellcheck function in lyx on my Windows VISTA and
 got  it working for the English language. But it just won't work for other
 languages although the dictionaries are installed.
 I went to Tools - Preferences - Spellchecker and I typed in the
 Alternative  language field: de (for german)

The alternative language is not for additional languages but for very 
specific cases where the dictionary name of the main document language differs 
from what LyX expects (such as deutsch instead of german).

Did you set the correct language for your document (or for the respective 
passages) in either Document  Settings  Language (main language) or Edit  
Text Style  Customized ...  Language (for passages)?

Jürgen


Problème de mise en page sur LYX

2010-03-19 Thread Lolom

Bonjour,

Je rédige actuellement mon mémoire en utilisant Lyx. Cependant, j'ai
quelques soucis de mise en page.
J'ai choisis la classe de document report qui me semble la plus adaptée
pour un mémoire. Mais la numérotation des sections commence à 0 (j'obtiens
0.1 puis 0.2 ...). Commment faire pour commencer à 1 ? Est-ce possible dans
la classe de document report ?
J'aimerais aussi écrire plus sur une ligne, pour l'instant, j'obtiens du
texte seulement sur 11cm ! Comment faire pour avoir des marges plus petites
à droite et à gauche ? Y a-t-il une classe de document pour cela ?

Merci d'avance pour votre aide,
Laura
-- 
View this message in context: 
http://n2.nabble.com/Probleme-de-mise-en-page-sur-LYX-tp4761999p4761999.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Re: Problème de mise en page sur LYX

2010-03-19 Thread Liviu Andronic
Salut Laura
La liste LyX est en anglais, ainsi on attend de recevoir des messages
en anglais et attends toi de recevoir des réponses en anglais. For the
following, English..

2010/3/19 Lolom lolo_mili...@hotmail.com:
 Je rédige actuellement mon mémoire en utilisant Lyx. Cependant, j'ai
 quelques soucis de mise en page.
 J'ai choisis la classe de document report qui me semble la plus adaptée
 pour un mémoire. Mais la numérotation des sections commence à 0 (j'obtiens
 0.1 puis 0.2 ...). Commment faire pour commencer à 1 ? Est-ce possible dans
 la classe de document report ?

Yes, see this [1].
[1] http://wiki.lyx.org/Examples/ManuallySetChapterNumberInReport


 J'aimerais aussi écrire plus sur une ligne, pour l'instant, j'obtiens du
 texte seulement sur 11cm ! Comment faire pour avoir des marges plus petites
 à droite et à gauche ? Y a-t-il une classe de document pour cela ?

You can modify page margins in Document  Settings  Page margins.

Regards
Liviu


Re: announce: template to write Ph.D. theses with LyX

2010-03-19 Thread Alex Fernandez
Hi Uwe,

On Fri, Mar 19, 2010 at 2:41 AM, Uwe Stöhr uwesto...@web.de wrote:
 Why the explicit --html option? As you know we use this call as default for
 LyX:

 python -m elyxer --directory $$r $$i $$o

 It the --html a new option and what is it for?

The --html option was in fact added to version 0.21; it is used to
export to HTML 4.0 (as opposed to XHTML). The reason is that office
suites (including Microsoft Office and OpenOffice.org) can import
HTML, but not XHTML.

 In fact, I don't see why eLyXer should not be the default Word
 exporter.

 We have a special export format names HTML (MS Word) that is created by
 tex4ht:

 htlatex $$i 'html,word' 'symbol/!' '-cvalidate'

 I don't know the difference between html and this special html variant. I
 therefore cannot answer you that question.

It would appear that htlatex also has an option to export some kind of
format better suited to Word. My proposal is to use this format HTML
(MS Word) but with eLyXer as the converter. I think it could work
even better than with htlatex. If you think it's a good idea I can
easily provide a patch.

Alex.


Re: announce: template to write Ph.D. theses with LyX

2010-03-19 Thread Alex Fernandez
Hi Julio,

On Thu, Mar 18, 2010 at 8:22 AM, Julio Rojas jcredbe...@gmail.com wrote:
 Good news Alex. I'll be waiting for your announcement. BTW, is it
 there a flag that can be used to put footnotes in a Notes section at
 the end of the document?

Not at the moment, as it might be confused with the bibliography.
However you are not the first to ask, so I will try to add it for
0.43.

By the way, you said before:

 Dear Alex. That might be a good idea, but I think elyxer needs to
 mature a little bit more before turning it into the default converter
 for  MS Word. For example, it doesn't handle math macros at all, which
 I use constantly. For more simpler documents it's fine, I think.

I don't want to give you false hopes: importing into MS Word should
work well with text, but math (formulae and macros) will never be
perfect. Importing equations is hard; Word has its own equation editor
and it will not read LaTeX, HTML with CSS, MathML or anything else you
want to throw at it. So after some thought waiting for math macros to
export to Word is not worthwhile.

If you have any other improvements in mind for eLyXer please let me know.

Alex.


Re: Greetings one and All. I have a dual language document, that lyx thinks is all English.

2010-03-19 Thread Michael Joyner ᏩᏯ

Guenter Milde wrote:

On 2010-03-18, Michael Joyner ᏩᏯ wrote:

  

I have a dual language document, that lyx thinks is all English.



You have to tell it otherwise. Try EditText PropertiesCustomLanguage
(or M-x language your language, if the desired language is supported
and you know the lyx-internal name of it.)
  

LyX does not have Cherokee listed.
  

I it a combination of Cherokee and English. Is there a way to tell LyX=20
or XeTeX to change font used by another language?



Not out of the box. However, you can bind a key to a command-sequence
setting both, language and font.
  
So there is not unicode range reserved for another language is actually 
another language when seen?
  

How do I tell it the unicode range for Cherokee is another language?=20



This might become a feature in future, however it will not work for
languages sharing a common alphabet (German and Hungarian, say).
  
Bleck, Would like to be able to specify Digohweli for the Cherokee 
unicode, it has all the glyphs needed for Roman lettering, but doesn't 
have bold, italic, slanted, etc.

Günter

  



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



Re: announce: template to write Ph.D. theses with LyX

2010-03-19 Thread Liviu Andronic
On 3/19/10, Alex Fernandez ely...@gmail.com wrote:
 I don't want to give you false hopes: importing into MS Word should
  work well with text, but math (formulae and macros) will never be
  perfect. Importing equations is hard; Word has its own equation editor
  and it will not read LaTeX, HTML with CSS, MathML or anything else you
  want to throw at it. So after some thought waiting for math macros to
  export to Word is not worthwhile.

What about OpenOffice? Does it handle better equations import?
Liviu


Re: announce: template to write Ph.D. theses with LyX

2010-03-19 Thread Alex Fernandez
On Fri, Mar 19, 2010 at 1:28 PM, Liviu Andronic landronim...@gmail.com wrote:
 On 3/19/10, Alex Fernandez ely...@gmail.com wrote:
 I don't want to give you false hopes: importing into MS Word should
  work well with text, but math (formulae and macros) will never be
  perfect. Importing equations is hard; Word has its own equation editor
  and it will not read LaTeX, HTML with CSS, MathML or anything else you
  want to throw at it. So after some thought waiting for math macros to
  export to Word is not worthwhile.

 What about OpenOffice? Does it handle better equations import?

As far as I know, the situation is the same. I have tried importing
XHTML, HTML and MathML and it works just like Word: XHTML (including
MathML) doesn't work, text is recognized, subtitles are fine, anything
beyond that is botched. I don't know if there is any route other than
HTML to get LyX into OpenOffice.org.

Alex.


Re: silly newby graphics question

2010-03-19 Thread Steve Litt
On Friday 19 March 2010 03:17:49 Richard Brown wrote:
 This is a sily question, but my only excuse is I'm trying to understand.
 Thanks for your patience, understanding and answers!
 
 Up to now I've been inserting my photographs and other graphics in a float.
 But what is the float actually  for? Can I just insert the graphics files
 directly via the Insert  Graphics command? If I can, what are the
 advantages and disadvantages of each system, that is with or without  a
 float?

Floats provide a facility for a caption and placement in a table of 
illustrations, as well as the ability for LyX to govern the placement of the 
graphic, which usually comes out better than manual placement with regard to 
all the text fitting together with minimum blankage.

I usually don't use floats. I like to write As you can see in the following 
illustration, rather than have LyX write As you can see from graphic 3.4 on 
the opposite page. Floats theoretically offer a here no matter what 
facility which should place the graphic and its float exactly where it is in 
the text. Ummm, maybe.

SteveT

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



Re: announce: template to write Ph.D. theses with LyX

2010-03-19 Thread Julio Rojas
Yeah Alex, you are right. What I wanted to say is that math macros are
not recognized and equations give errors as a consequence. Images for
equations are rendered but they are not included in the resulting HTML
document. This, at least, is what I would like to see. Well, this and
the possibility of sending notes to the end of the document.

BTW, most documents I need to convert have this format, notes to the
end. In economics is quite common.

Thanks for the good job.
-
Julio Rojas
jcredbe...@gmail.com



On Fri, Mar 19, 2010 at 1:01 PM, Alex Fernandez ely...@gmail.com wrote:
 Hi Julio,

 On Thu, Mar 18, 2010 at 8:22 AM, Julio Rojas jcredbe...@gmail.com wrote:
 Good news Alex. I'll be waiting for your announcement. BTW, is it
 there a flag that can be used to put footnotes in a Notes section at
 the end of the document?

 Not at the moment, as it might be confused with the bibliography.
 However you are not the first to ask, so I will try to add it for
 0.43.

 By the way, you said before:

 Dear Alex. That might be a good idea, but I think elyxer needs to
 mature a little bit more before turning it into the default converter
 for  MS Word. For example, it doesn't handle math macros at all, which
 I use constantly. For more simpler documents it's fine, I think.

 I don't want to give you false hopes: importing into MS Word should
 work well with text, but math (formulae and macros) will never be
 perfect. Importing equations is hard; Word has its own equation editor
 and it will not read LaTeX, HTML with CSS, MathML or anything else you
 want to throw at it. So after some thought waiting for math macros to
 export to Word is not worthwhile.

 If you have any other improvements in mind for eLyXer please let me know.

 Alex.



Re: announce: template to write Ph.D. theses with LyX

2010-03-19 Thread Alex Fernandez
Hi again,

On Fri, Mar 19, 2010 at 2:06 PM, Julio Rojas jcredbe...@gmail.com wrote:
 Yeah Alex, you are right. What I wanted to say is that math macros are
 not recognized and equations give errors as a consequence. Images for
 equations are rendered but they are not included in the resulting HTML
 document. This, at least, is what I would like to see.

I am not sure if I understand correctly. So you would prefer equations
not to appear at all in the HTML document, so they are not imported
into office documents? Something like a --nomath option to skip math
equations?

 Well, this and
 the possibility of sending notes to the end of the document.

OK, I will certainly try to add --footend to 0.43.

Alex.


Re: announce: template to write Ph.D. theses with LyX

2010-03-19 Thread Julio Rojas
Of course I want to see equations, and this feature works fine with
standard equations. But some notation I use for my work is defined as
macros. I tried to export one of my papers to HTML with elyxer and
even though equations were rendered as images (in JPG files), they
were not included in the HTML, giving out an error with the macros. I
would really like to see elyxer understanding macros. That's all.

But your's is not a bad idea. Maybe a --nomath flag that puts
placeholders where equations are supposed to appear would help the
transition from Lyx to OO/Word.
-
Julio Rojas
jcredbe...@gmail.com



On Fri, Mar 19, 2010 at 2:49 PM, Alex Fernandez ely...@gmail.com wrote:
 Hi again,

 On Fri, Mar 19, 2010 at 2:06 PM, Julio Rojas jcredbe...@gmail.com wrote:
 Yeah Alex, you are right. What I wanted to say is that math macros are
 not recognized and equations give errors as a consequence. Images for
 equations are rendered but they are not included in the resulting HTML
 document. This, at least, is what I would like to see.

 I am not sure if I understand correctly. So you would prefer equations
 not to appear at all in the HTML document, so they are not imported
 into office documents? Something like a --nomath option to skip math
 equations?

 Well, this and
 the possibility of sending notes to the end of the document.

 OK, I will certainly try to add --footend to 0.43.

 Alex.



Re: announce: template to write Ph.D. theses with LyX

2010-03-19 Thread Ehud Kaplan
Just for the hell of it I tried to convert a recent paper with equations 
to HTML-- the whole thing was converted properly, but the equations were 
mostly mangled...


EK

On 03/19/2010 10:02 AM, Julio Rojas wrote:

Of course I want to see equations, and this feature works fine with
standard equations. But some notation I use for my work is defined as
macros. I tried to export one of my papers to HTML with elyxer and
even though equations were rendered as images (in JPG files), they
were not included in the HTML, giving out an error with the macros. I
would really like to see elyxer understanding macros. That's all.

But your's is not a bad idea. Maybe a --nomath flag that puts
placeholders where equations are supposed to appear would help the
transition from Lyx to OO/Word.
-
Julio Rojas
jcredbe...@gmail.com



On Fri, Mar 19, 2010 at 2:49 PM, Alex Fernandezely...@gmail.com  wrote:
   

Hi again,

On Fri, Mar 19, 2010 at 2:06 PM, Julio Rojasjcredbe...@gmail.com  wrote:
 

Yeah Alex, you are right. What I wanted to say is that math macros are
not recognized and equations give errors as a consequence. Images for
equations are rendered but they are not included in the resulting HTML
document. This, at least, is what I would like to see.
   

I am not sure if I understand correctly. So you would prefer equations
not to appear at all in the HTML document, so they are not imported
into office documents? Something like a --nomath option to skip math
equations?

 

Well, this and
the possibility of sending notes to the end of the document.
   

OK, I will certainly try to add --footend to 0.43.

Alex.

 


--
Ehud Kaplan, Ph.D.
Jules and Doris Stein Research to Prevent Blindness Professor
Director, The laboratory of Visual  Computational Neuroscience
Departments of Neuroscience, Ophthalmology, Structural  Chemical Biology,
The Mount Sinai School of Medicine
One Gustave Levy Place
NY, NY, 10029



Re: announce: template to write Ph.D. theses with LyX

2010-03-19 Thread Alex Fernandez
Hi,

On Fri, Mar 19, 2010 at 3:02 PM, Julio Rojas jcredbe...@gmail.com wrote:
 Of course I want to see equations, and this feature works fine with
 standard equations. But some notation I use for my work is defined as
 macros. I tried to export one of my papers to HTML with elyxer and
 even though equations were rendered as images (in JPG files), they
 were not included in the HTML, giving out an error with the macros. I
 would really like to see elyxer understanding macros. That's all.

I am sorry, but I am positively sure that you used a different
converter: eLyXer does not (and never did) convert equations to JPEG
images. It has always tried to do some CSS trickery to make them look
mostly good, but after a certain point it will not come out good. The
current status is usually shown in the Math showcase:
  http://www.nongnu.org/elyxer/math.html

As to macros, they should not be hard to support once I understand
them properly.

 But your's is not a bad idea. Maybe a --nomath flag that puts
 placeholders where equations are supposed to appear would help the
 transition from Lyx to OO/Word.

I will try to come up with something.

Alex.


Report [Koma]-class does not complie after remo ving text…

2010-03-19 Thread jezZiFeR

Hello,

I use report [Koma], and had a large document, of which I erased lots  
of text to get a short version. Now I can´t compile any longer, and I  
don´t know why. LyX error-message says:


Paragraph ended before \...@ssect was complete.
Too many }'s.

How could I find out, what this means and find the place, where this  
problems results from? I did not change anything, but erase text.


Best
Jess




Re: announce: template to write Ph.D. theses with LyX

2010-03-19 Thread Julio Rojas
I'm sorry, I said it from the top of my head. I have a bunch of PNGs
on the same folder as the HTML document. I thought they were going to
be used in the HTML, but it seems from your statement that this is not
the case. So why are this PNGs on this folder? Are they part of the
conversion process?
-
Julio Rojas
jcredbe...@gmail.com



On Fri, Mar 19, 2010 at 5:23 PM, Alex Fernandez ely...@gmail.com wrote:
 Hi,

 On Fri, Mar 19, 2010 at 3:02 PM, Julio Rojas jcredbe...@gmail.com wrote:
 Of course I want to see equations, and this feature works fine with
 standard equations. But some notation I use for my work is defined as
 macros. I tried to export one of my papers to HTML with elyxer and
 even though equations were rendered as images (in JPG files), they
 were not included in the HTML, giving out an error with the macros. I
 would really like to see elyxer understanding macros. That's all.

 I am sorry, but I am positively sure that you used a different
 converter: eLyXer does not (and never did) convert equations to JPEG
 images. It has always tried to do some CSS trickery to make them look
 mostly good, but after a certain point it will not come out good. The
 current status is usually shown in the Math showcase:
  http://www.nongnu.org/elyxer/math.html

 As to macros, they should not be hard to support once I understand
 them properly.

 But your's is not a bad idea. Maybe a --nomath flag that puts
 placeholders where equations are supposed to appear would help the
 transition from Lyx to OO/Word.

 I will try to come up with something.

 Alex.



Re: announce: template to write Ph.D. theses with LyX

2010-03-19 Thread william.croc...@analog.com

Alex:

Once again, and I am sure I speak for all
when I say how much we appreciate the exceptional
work you have done with elyxer.

Bill

Alex Fernandez wrote:

Hi,

On Fri, Mar 19, 2010 at 3:02 PM, Julio Rojas jcredbe...@gmail.com wrote:

Of course I want to see equations, and this feature works fine with
standard equations. But some notation I use for my work is defined as
macros. I tried to export one of my papers to HTML with elyxer and
even though equations were rendered as images (in JPG files), they
were not included in the HTML, giving out an error with the macros. I
would really like to see elyxer understanding macros. That's all.


I am sorry, but I am positively sure that you used a different
converter: eLyXer does not (and never did) convert equations to JPEG
images. It has always tried to do some CSS trickery to make them look
mostly good, but after a certain point it will not come out good. The
current status is usually shown in the Math showcase:
  http://www.nongnu.org/elyxer/math.html

As to macros, they should not be hard to support once I understand
them properly.


But your's is not a bad idea. Maybe a --nomath flag that puts
placeholders where equations are supposed to appear would help the
transition from Lyx to OO/Word.


I will try to come up with something.

Alex.



Re: Report [Koma]-class does not complie after removing text…

2010-03-19 Thread Uwe Stöhr

jezZiFeR schrieb:

I use report [Koma], and had a large document, of which I erased lots of 
text to get a short version. Now I can´t compile any longer, and I don´t 
know why. LyX error-message says:


Paragraph ended before \...@ssect was complete.
Too many }'s.

How could I find out, what this means and find the place, where this 
problems results from? I did not change anything, but erase text.


Obviously you deleted too much. Can you provide a _small_ LyX example file?

regards Uwe


Re: Problème de mise en page sur LYX

2010-03-19 Thread Liviu Andronic
Hello Laura
I'm moving the discussing to the list so that others can help you, too.

On 3/19/10, Laura Milioni lolo_mili...@hotmail.com wrote:
  I have also an other problem. I insert a box Parbox in my document with
 some text and a table. But Lyx return me There's no line here to end and
 don't want to compile. Do you know why ?

I am not sure what a Parbox is. Can you be more explicit, or send an
example .lyx file to the list?

  Thanks again for your help (and sorry for my english !),

Oh, don't worry about this. Many of us are not native English
speakers. Regards,
Liviu


Re: announce: template to write Ph.D. theses with LyX

2010-03-19 Thread Alex Fernandez
On Fri, Mar 19, 2010 at 5:34 PM, Julio Rojas jcredbe...@gmail.com wrote:
 I'm sorry, I said it from the top of my head. I have a bunch of PNGs
 on the same folder as the HTML document. I thought they were going to
 be used in the HTML, but it seems from your statement that this is not
 the case. So why are this PNGs on this folder? Are they part of the
 conversion process?

I can only speculate: eLyXer generates PNG files (using ImageMagick)
when converting SVG or EPS, in order to use them from within HTML
documents. If they correspond to your SVG files then they may have
been generated by eLyXer (and should be used in the HTML document). If
they correspond to your equations then they are the result of some
other HTML converter which exports equations as little pictures.

Alex.


Force RTL onscreen rendering for paragraph or character style?

2010-03-19 Thread Philiрp Rеichmuth
Hi,

is there a way to force the onscreen rendering for the text contained in a
given character or paragraphy style to be right-to-left? Ideally some kind
of command within the InsetLayout or Style groups in the layout options?

Background: I use XeTeX to typeset a document in several scripts, including
Arabic. The Arabic-script sections are not in the Arabic language, but in a
variety of other languages. Because my document is left-to-right, they get
displayed on screen in LTR order, which is wrong. I can get them to display
in RTL by setting their language to Arabic (ArabTeX or Arabi). In both
cases, LyX displays them right-to-left, but these options are both
ncompatible with XeTeX because they make other assumptions on how to render
the text in the final output.

Ideally, I wouldn't have to mark them as in a different language at all -
there are no benefits other than the writing direction.  I use logical
markup and custom styles anyway for these passages, so I'd just like to
mark all instances of a given style to display RTL in LyX.  Is that
possible, or is there some workaround?

Philipp



Re: announce: template to write Ph.D. theses with LyX

2010-03-19 Thread Alex Fernandez
Hi Bill,

On Fri, Mar 19, 2010 at 5:38 PM, william.croc...@analog.com
william.croc...@analog.com wrote:
 Once again, and I am sure I speak for all
 when I say how much we appreciate the exceptional
 work you have done with elyxer.

Thanks! I have lots of fun working on eLyXer.

Alex.


Re: I can´t to compile lyx

2010-03-19 Thread Marcelo Acuña
  This file was generated using the moc from 4.5.1. It
 
 inside lyx tree:
 find . -name '*moc*' | xargs rm 

Before compiler error I found only one *moc*.
I run make clean and is deleted.
I run configure and make produces the error again.

Marcelo



  Yahoo! Cocina

Encontra las mejores recetas con Yahoo! Cocina.


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


Re: I can´ t to compile lyx

2010-03-19 Thread Pavel Sanda
Marcelo Acu?a wrote:
   This file was generated using the moc from 4.5.1. It
  
  inside lyx tree:
  find . -name '*moc*' | xargs rm 
 
 Before compiler error I found only one *moc*.
 I run make clean and is deleted.
 I run configure and make produces the error again.

1. post the error here.
2. try fresh svn checkout, what happens?

pavel


Re: I can´t to compile lyx

2010-03-19 Thread Enrico Forestieri
Marcelo Acuña writes:
 
   This file was generated using the moc from 4.5.1. It
  
  inside lyx tree:
  find . -name '*moc*' | xargs rm 
 
 Before compiler error I found only one *moc*.
 I run make clean and is deleted.
 I run configure and make produces the error again.

In case you compiled Qt by yourself and you also have the system Qt installed,
then, most probably, the wrong moc is being picked up by the configure script.
Supposing that you installed Qt in /usr/local/qt, try the following:
$ cd /usr/local/qt/bin
$ ln -s moc moc-qt4
$ ln -s uic uic-qt4
and then try to configure again. If I guessed right, it should now work.

-- 
Enrico



Re: I can´t to compile lyx

2010-03-19 Thread Marcelo Acuña
This file was generated using the moc from
 4.5.1. It
   
   inside lyx tree:
   find . -name '*moc*' | xargs rm 
  
  Before compiler error I found only one *moc*.
  I run make clean and is deleted.
  I run configure and make produces the error again.
 
 In case you compiled Qt by yourself and you also have the
 system Qt installed,

Yes. I had installed qt 4.5.1. Then I compiled the new version.
The new version is recongnized for configure.

 then, most probably, the wrong moc is being picked up by
 the configure script.
 Supposing that you installed Qt in /usr/local/qt, try the
 following:
 $ cd /usr/local/qt/bin
 $ ln -s moc moc-qt4
 $ ln -s uic uic-qt4
 and then try to configure again. If I guessed right, it
 should now work.

Ok. I will try this.
Thanks.
Marcelo



  Yahoo! Cocina

Encontra las mejores recetas con Yahoo! Cocina.


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


silly newby graphics question

2010-03-19 Thread Richard Brown
This is a sily question, but my only excuse is I'm trying to understand.
Thanks for your patience, understanding and answers!

Up to now I've been inserting my photographs and other graphics in a float.
But what is the float actually  for? Can I just insert the graphics files
directly via the Insert > Graphics command? If I can, what are the
advantages and disadvantages of each system, that is with or without  a
float?

TIA

Richard


inserting black and white graphics (musical notation) from TIFF

2010-03-19 Thread Richard Brown
I have some TIFF files exported from Sibelius, the music scoring program.
They are just high-quality images of black and white music scores. I tried
converting them to jpg in GIMP for inclusion in my Lyx manuscript, but the
results were awful- or at least, they were awful in lyx. When I open the
converted jpg files in other software they are really clear and good, but in
Lyx onscreen they are very poor and in the dvi files even worse. Many of the
fine lines that indicate musical notes are patchy, and a lot have
disappeared. Has anyone got any good ideas as to how to process this?

TIA


Re: silly newby graphics question

2010-03-19 Thread Julio Rojas
A float leaves to LaTeX the decision of where to put the image. This
is not a trivial decision and in most cases, LaTeX does a better job
than you at balancing text distribution when an image is inserted.
Even if you want to put an image in a particular place, a float allows
you to do it.
-
Julio Rojas
jcredbe...@gmail.com



On Fri, Mar 19, 2010 at 8:17 AM, Richard Brown
 wrote:
> This is a sily question, but my only excuse is I'm trying to understand.
> Thanks for your patience, understanding and answers!
>
> Up to now I've been inserting my photographs and other graphics in a float.
> But what is the float actually  for? Can I just insert the graphics files
> directly via the Insert > Graphics command? If I can, what are the
> advantages and disadvantages of each system, that is with or without  a
> float?
>
> TIA
>
> Richard
>


Re: inserting black and white graphics (musical notation) from TIFF

2010-03-19 Thread Julio Rojas
It's much better if you "print" them as PDFs and the include them in
your Lyx document. I think this should be possible from your
application.
-
Julio Rojas
jcredbe...@gmail.com



On Fri, Mar 19, 2010 at 8:24 AM, Richard Brown
 wrote:
> I have some TIFF files exported from Sibelius, the music scoring program.
> They are just high-quality images of black and white music scores. I tried
> converting them to jpg in GIMP for inclusion in my Lyx manuscript, but the
> results were awful- or at least, they were awful in lyx. When I open the
> converted jpg files in other software they are really clear and good, but in
> Lyx onscreen they are very poor and in the dvi files even worse. Many of the
> fine lines that indicate musical notes are patchy, and a lot have
> disappeared. Has anyone got any good ideas as to how to process this?
>
> TIA
>


Re: inserting black and white graphics (musical notation) from TIFF

2010-03-19 Thread Guenter Milde
On 2010-03-19, Richard Brown wrote:

> I have some TIFF files exported from Sibelius, the music scoring program.
> They are just high-quality images of black and white music scores. I tried
> converting them to jpg in GIMP for inclusion in my Lyx manuscript, but the
> results were awful- or at least, they were awful in lyx.

JPEG is a lossy image comression format suited for photographic pictures,
not for musical scores (nor text nor line drawings, ...)

If a pixmap is the only option, try PNG instead. If Sibelius allows
export to a vector format (PDF or SVG, say) this will be even better,
because then you can scale the image without loss of quality
(even if it might look bad on-screen).

Günter



Re: Greetings one and All. I have a dual language document, that lyx thinks is all English.

2010-03-19 Thread Guenter Milde
On 2010-03-18, Michael Joyner ᏩᏯ wrote:

> I have a dual language document, that lyx thinks is all English.

You have to tell it otherwise. Try Edit>Text Properties>Custom>Language
(or M-x language , if the desired language is supported
and you know the lyx-internal name of it.)

> I it a combination of Cherokee and English. Is there a way to tell LyX=20
> or XeTeX to change font used by another language?

Not out of the box. However, you can bind a key to a command-sequence
setting both, language and font.

> How do I tell it the unicode range for Cherokee is another language?=20

This might become a feature in future, however it will not work for
languages sharing a common alphabet (German and Hungarian, say).

Günter



Re: Blogging with LyX

2010-03-19 Thread Guenter Milde
On 2010-03-18, Manveru wrote:
> --0016e6db66f9868eb9048216b83b
> Content-Type: text/plain; charset=UTF-8

> 2010/3/18 Jack Desert 

>> Yes, it does have XML-RPC capability. Does LyX have a
>> built-in XML-RPC client, or would I have to use a separate one?  I
>> would still want the option to do a full preview before pulling the
>> trigger on a post.

> You can review a file in the browser. Then accept further processing and
> call some application submitting through XML-RPC.

But then, it would be more sensible to add the "submit to
blogging-site" feature to the browser, IMO.

Günter



Re: Spellcheck: alternative language

2010-03-19 Thread Jürgen Spitzmüller
Peter wrote:
> I tried to install the spellcheck function in lyx on my Windows VISTA and
> got  it working for the English language. But it just won't work for other
> languages although the dictionaries are installed.
> I went to Tools - Preferences - Spellchecker and I typed in the
> Alternative  language field: de (for german)

The "alternative language" is not for additional languages but for very 
specific cases where the dictionary name of the main document language differs 
from what LyX expects (such as "deutsch" instead of "german").

Did you set the correct language for your document (or for the respective 
passages) in either Document > Settings > Language (main language) or Edit > 
Text Style > Customized ... > Language (for passages)?

Jürgen


Problème de mise en page sur LYX

2010-03-19 Thread Lolom

Bonjour,

Je rédige actuellement mon mémoire en utilisant Lyx. Cependant, j'ai
quelques soucis de mise en page.
J'ai choisis la classe de document "report" qui me semble la plus adaptée
pour un mémoire. Mais la numérotation des sections commence à 0 (j'obtiens
0.1 puis 0.2 ...). Commment faire pour commencer à 1 ? Est-ce possible dans
la classe de document "report" ?
J'aimerais aussi écrire plus sur une ligne, pour l'instant, j'obtiens du
texte seulement sur 11cm ! Comment faire pour avoir des marges plus petites
à droite et à gauche ? Y a-t-il une classe de document pour cela ?

Merci d'avance pour votre aide,
Laura
-- 
View this message in context: 
http://n2.nabble.com/Probleme-de-mise-en-page-sur-LYX-tp4761999p4761999.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Re: Problème de mise en page sur LYX

2010-03-19 Thread Liviu Andronic
Salut Laura
La liste LyX est en anglais, ainsi on attend de recevoir des messages
en anglais et attends toi de recevoir des réponses en anglais. For the
following, English..

2010/3/19 Lolom :
> Je rédige actuellement mon mémoire en utilisant Lyx. Cependant, j'ai
> quelques soucis de mise en page.
> J'ai choisis la classe de document "report" qui me semble la plus adaptée
> pour un mémoire. Mais la numérotation des sections commence à 0 (j'obtiens
> 0.1 puis 0.2 ...). Commment faire pour commencer à 1 ? Est-ce possible dans
> la classe de document "report" ?
>
Yes, see this [1].
[1] http://wiki.lyx.org/Examples/ManuallySetChapterNumberInReport


> J'aimerais aussi écrire plus sur une ligne, pour l'instant, j'obtiens du
> texte seulement sur 11cm ! Comment faire pour avoir des marges plus petites
> à droite et à gauche ? Y a-t-il une classe de document pour cela ?
>
You can modify page margins in Document > Settings > Page margins.

Regards
Liviu


Re: announce: template to write Ph.D. theses with LyX

2010-03-19 Thread Alex Fernandez
Hi Uwe,

On Fri, Mar 19, 2010 at 2:41 AM, Uwe Stöhr  wrote:
> Why the explicit --html option? As you know we use this call as default for
> LyX:
>
> python -m elyxer --directory $$r $$i $$o
>
> It the --html a new option and what is it for?

The --html option was in fact added to version 0.21; it is used to
export to HTML 4.0 (as opposed to XHTML). The reason is that office
suites (including Microsoft Office and OpenOffice.org) can import
HTML, but not XHTML.

>> In fact, I don't see why eLyXer should not be the default Word
>> exporter.
>
> We have a special export format names HTML (MS Word) that is created by
> tex4ht:
>
> htlatex $$i 'html,word' 'symbol/!' '-cvalidate'
>
> I don't know the difference between html and this special html variant. I
> therefore cannot answer you that question.

It would appear that htlatex also has an option to export some kind of
format better suited to Word. My proposal is to use this format "HTML
(MS Word)" but with eLyXer as the converter. I think it could work
even better than with htlatex. If you think it's a good idea I can
easily provide a patch.

Alex.


Re: announce: template to write Ph.D. theses with LyX

2010-03-19 Thread Alex Fernandez
Hi Julio,

On Thu, Mar 18, 2010 at 8:22 AM, Julio Rojas  wrote:
> Good news Alex. I'll be waiting for your announcement. BTW, is it
> there a flag that can be used to put footnotes in a "Notes" section at
> the end of the document?

Not at the moment, as it might be confused with the bibliography.
However you are not the first to ask, so I will try to add it for
0.43.

By the way, you said before:

> Dear Alex. That might be a good idea, but I think elyxer needs to
> mature a little bit more before turning it into the default converter
> for  MS Word. For example, it doesn't handle math macros at all, which
> I use constantly. For more simpler documents it's fine, I think.

I don't want to give you false hopes: importing into MS Word should
work well with text, but math (formulae and macros) will never be
perfect. Importing equations is hard; Word has its own equation editor
and it will not read LaTeX, HTML with CSS, MathML or anything else you
want to throw at it. So after some thought waiting for math macros to
export to Word is not worthwhile.

If you have any other improvements in mind for eLyXer please let me know.

Alex.


Re: Greetings one and All. I have a dual language document, that lyx thinks is all English.

2010-03-19 Thread Michael Joyner ᏩᏯ

Guenter Milde wrote:

On 2010-03-18, Michael Joyner ᏩᏯ wrote:

  

I have a dual language document, that lyx thinks is all English.



You have to tell it otherwise. Try Edit>Text Properties>Custom>Language
(or M-x language , if the desired language is supported
and you know the lyx-internal name of it.)
  

LyX does not have Cherokee listed.
  

I it a combination of Cherokee and English. Is there a way to tell LyX=20
or XeTeX to change font used by another language?



Not out of the box. However, you can bind a key to a command-sequence
setting both, language and font.
  
So there is not unicode range reserved for another language is actually 
another language when seen?
  

How do I tell it the unicode range for Cherokee is another language?=20



This might become a feature in future, however it will not work for
languages sharing a common alphabet (German and Hungarian, say).
  
Bleck, Would like to be able to specify Digohweli for the Cherokee 
unicode, it has all the glyphs needed for Roman lettering, but doesn't 
have bold, italic, slanted, etc.

Günter

  



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



Re: announce: template to write Ph.D. theses with LyX

2010-03-19 Thread Liviu Andronic
On 3/19/10, Alex Fernandez  wrote:
> I don't want to give you false hopes: importing into MS Word should
>  work well with text, but math (formulae and macros) will never be
>  perfect. Importing equations is hard; Word has its own equation editor
>  and it will not read LaTeX, HTML with CSS, MathML or anything else you
>  want to throw at it. So after some thought waiting for math macros to
>  export to Word is not worthwhile.
>
What about OpenOffice? Does it handle better equations import?
Liviu


Re: announce: template to write Ph.D. theses with LyX

2010-03-19 Thread Alex Fernandez
On Fri, Mar 19, 2010 at 1:28 PM, Liviu Andronic  wrote:
> On 3/19/10, Alex Fernandez  wrote:
>> I don't want to give you false hopes: importing into MS Word should
>>  work well with text, but math (formulae and macros) will never be
>>  perfect. Importing equations is hard; Word has its own equation editor
>>  and it will not read LaTeX, HTML with CSS, MathML or anything else you
>>  want to throw at it. So after some thought waiting for math macros to
>>  export to Word is not worthwhile.
>>
> What about OpenOffice? Does it handle better equations import?

As far as I know, the situation is the same. I have tried importing
XHTML, HTML and MathML and it works just like Word: XHTML (including
MathML) doesn't work, text is recognized, subtitles are fine, anything
beyond that is botched. I don't know if there is any route other than
HTML to get LyX into OpenOffice.org.

Alex.


Re: silly newby graphics question

2010-03-19 Thread Steve Litt
On Friday 19 March 2010 03:17:49 Richard Brown wrote:
> This is a sily question, but my only excuse is I'm trying to understand.
> Thanks for your patience, understanding and answers!
> 
> Up to now I've been inserting my photographs and other graphics in a float.
> But what is the float actually  for? Can I just insert the graphics files
> directly via the Insert > Graphics command? If I can, what are the
> advantages and disadvantages of each system, that is with or without  a
> float?

Floats provide a facility for a caption and placement in a table of 
illustrations, as well as the ability for LyX to govern the placement of the 
graphic, which usually comes out better than manual placement with regard to 
all the text fitting together with minimum blankage.

I usually don't use floats. I like to write "As you can see in the following 
illustration", rather than have LyX write "As you can see from graphic 3.4 on 
the opposite page". Floats theoretically offer a "here no matter what" 
facility which should place the graphic and its float exactly where it is in 
the text. "Ummm, maybe."

SteveT

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



Re: announce: template to write Ph.D. theses with LyX

2010-03-19 Thread Julio Rojas
Yeah Alex, you are right. What I wanted to say is that math macros are
not recognized and equations give errors as a consequence. Images for
equations are rendered but they are not included in the resulting HTML
document. This, at least, is what I would like to see. Well, this and
the possibility of sending notes to the end of the document.

BTW, most documents I need to convert have this format, notes to the
end. In economics is quite common.

Thanks for the good job.
-
Julio Rojas
jcredbe...@gmail.com



On Fri, Mar 19, 2010 at 1:01 PM, Alex Fernandez  wrote:
> Hi Julio,
>
> On Thu, Mar 18, 2010 at 8:22 AM, Julio Rojas  wrote:
>> Good news Alex. I'll be waiting for your announcement. BTW, is it
>> there a flag that can be used to put footnotes in a "Notes" section at
>> the end of the document?
>
> Not at the moment, as it might be confused with the bibliography.
> However you are not the first to ask, so I will try to add it for
> 0.43.
>
> By the way, you said before:
>
>> Dear Alex. That might be a good idea, but I think elyxer needs to
>> mature a little bit more before turning it into the default converter
>> for  MS Word. For example, it doesn't handle math macros at all, which
>> I use constantly. For more simpler documents it's fine, I think.
>
> I don't want to give you false hopes: importing into MS Word should
> work well with text, but math (formulae and macros) will never be
> perfect. Importing equations is hard; Word has its own equation editor
> and it will not read LaTeX, HTML with CSS, MathML or anything else you
> want to throw at it. So after some thought waiting for math macros to
> export to Word is not worthwhile.
>
> If you have any other improvements in mind for eLyXer please let me know.
>
> Alex.
>


Re: announce: template to write Ph.D. theses with LyX

2010-03-19 Thread Alex Fernandez
Hi again,

On Fri, Mar 19, 2010 at 2:06 PM, Julio Rojas  wrote:
> Yeah Alex, you are right. What I wanted to say is that math macros are
> not recognized and equations give errors as a consequence. Images for
> equations are rendered but they are not included in the resulting HTML
> document. This, at least, is what I would like to see.

I am not sure if I understand correctly. So you would prefer equations
not to appear at all in the HTML document, so they are not imported
into office documents? Something like a --nomath option to skip math
equations?

> Well, this and
> the possibility of sending notes to the end of the document.

OK, I will certainly try to add --footend to 0.43.

Alex.


Re: announce: template to write Ph.D. theses with LyX

2010-03-19 Thread Julio Rojas
Of course I want to see equations, and this feature works fine with
standard equations. But some notation I use for my work is defined as
macros. I tried to export one of my papers to HTML with elyxer and
even though equations were rendered as images (in JPG files), they
were not included in the HTML, giving out an error with the macros. I
would really like to see elyxer "understanding" macros. That's all.

But your's is not a bad idea. Maybe a "--nomath" flag that puts
placeholders where equations are supposed to appear would help the
transition from Lyx to OO/Word.
-
Julio Rojas
jcredbe...@gmail.com



On Fri, Mar 19, 2010 at 2:49 PM, Alex Fernandez  wrote:
> Hi again,
>
> On Fri, Mar 19, 2010 at 2:06 PM, Julio Rojas  wrote:
>> Yeah Alex, you are right. What I wanted to say is that math macros are
>> not recognized and equations give errors as a consequence. Images for
>> equations are rendered but they are not included in the resulting HTML
>> document. This, at least, is what I would like to see.
>
> I am not sure if I understand correctly. So you would prefer equations
> not to appear at all in the HTML document, so they are not imported
> into office documents? Something like a --nomath option to skip math
> equations?
>
>> Well, this and
>> the possibility of sending notes to the end of the document.
>
> OK, I will certainly try to add --footend to 0.43.
>
> Alex.
>


Re: announce: template to write Ph.D. theses with LyX

2010-03-19 Thread Ehud Kaplan
Just for the hell of it I tried to convert a recent paper with equations 
to HTML-- the whole thing was converted properly, but the equations were 
mostly mangled...


EK

On 03/19/2010 10:02 AM, Julio Rojas wrote:

Of course I want to see equations, and this feature works fine with
standard equations. But some notation I use for my work is defined as
macros. I tried to export one of my papers to HTML with elyxer and
even though equations were rendered as images (in JPG files), they
were not included in the HTML, giving out an error with the macros. I
would really like to see elyxer "understanding" macros. That's all.

But your's is not a bad idea. Maybe a "--nomath" flag that puts
placeholders where equations are supposed to appear would help the
transition from Lyx to OO/Word.
-
Julio Rojas
jcredbe...@gmail.com



On Fri, Mar 19, 2010 at 2:49 PM, Alex Fernandez  wrote:
   

Hi again,

On Fri, Mar 19, 2010 at 2:06 PM, Julio Rojas  wrote:
 

Yeah Alex, you are right. What I wanted to say is that math macros are
not recognized and equations give errors as a consequence. Images for
equations are rendered but they are not included in the resulting HTML
document. This, at least, is what I would like to see.
   

I am not sure if I understand correctly. So you would prefer equations
not to appear at all in the HTML document, so they are not imported
into office documents? Something like a --nomath option to skip math
equations?

 

Well, this and
the possibility of sending notes to the end of the document.
   

OK, I will certainly try to add --footend to 0.43.

Alex.

 


--
Ehud Kaplan, Ph.D.
Jules and Doris Stein Research to Prevent Blindness Professor
Director, The laboratory of Visual&  Computational Neuroscience
Departments of Neuroscience, Ophthalmology, Structural&  Chemical Biology,
The Mount Sinai School of Medicine
One Gustave Levy Place
NY, NY, 10029



Re: announce: template to write Ph.D. theses with LyX

2010-03-19 Thread Alex Fernandez
Hi,

On Fri, Mar 19, 2010 at 3:02 PM, Julio Rojas  wrote:
> Of course I want to see equations, and this feature works fine with
> standard equations. But some notation I use for my work is defined as
> macros. I tried to export one of my papers to HTML with elyxer and
> even though equations were rendered as images (in JPG files), they
> were not included in the HTML, giving out an error with the macros. I
> would really like to see elyxer "understanding" macros. That's all.

I am sorry, but I am positively sure that you used a different
converter: eLyXer does not (and never did) convert equations to JPEG
images. It has always tried to do some CSS trickery to make them look
mostly good, but after a certain point it will not come out good. The
current status is usually shown in the Math showcase:
  http://www.nongnu.org/elyxer/math.html

As to macros, they should not be hard to support once I understand
them properly.

> But your's is not a bad idea. Maybe a "--nomath" flag that puts
> placeholders where equations are supposed to appear would help the
> transition from Lyx to OO/Word.

I will try to come up with something.

Alex.


Report [Koma]-class does not complie after remo ving text…

2010-03-19 Thread jezZiFeR

Hello,

I use report [Koma], and had a large document, of which I erased lots  
of text to get a short version. Now I can´t compile any longer, and I  
don´t know why. LyX error-message says:


Paragraph ended before \...@ssect was complete.
Too many }'s.

How could I find out, what this means and find the place, where this  
problems results from? I did not change anything, but erase text.


Best
Jess




Re: announce: template to write Ph.D. theses with LyX

2010-03-19 Thread Julio Rojas
I'm sorry, I said it from the top of my head. I have a bunch of PNGs
on the same folder as the HTML document. I thought they were going to
be used in the HTML, but it seems from your statement that this is not
the case. So why are this PNGs on this folder? Are they part of the
conversion process?
-
Julio Rojas
jcredbe...@gmail.com



On Fri, Mar 19, 2010 at 5:23 PM, Alex Fernandez  wrote:
> Hi,
>
> On Fri, Mar 19, 2010 at 3:02 PM, Julio Rojas  wrote:
>> Of course I want to see equations, and this feature works fine with
>> standard equations. But some notation I use for my work is defined as
>> macros. I tried to export one of my papers to HTML with elyxer and
>> even though equations were rendered as images (in JPG files), they
>> were not included in the HTML, giving out an error with the macros. I
>> would really like to see elyxer "understanding" macros. That's all.
>
> I am sorry, but I am positively sure that you used a different
> converter: eLyXer does not (and never did) convert equations to JPEG
> images. It has always tried to do some CSS trickery to make them look
> mostly good, but after a certain point it will not come out good. The
> current status is usually shown in the Math showcase:
>  http://www.nongnu.org/elyxer/math.html
>
> As to macros, they should not be hard to support once I understand
> them properly.
>
>> But your's is not a bad idea. Maybe a "--nomath" flag that puts
>> placeholders where equations are supposed to appear would help the
>> transition from Lyx to OO/Word.
>
> I will try to come up with something.
>
> Alex.
>


Re: announce: template to write Ph.D. theses with LyX

2010-03-19 Thread william.croc...@analog.com

Alex:

Once again, and I am sure I speak for all
when I say how much we appreciate the exceptional
work you have done with elyxer.

Bill

Alex Fernandez wrote:

Hi,

On Fri, Mar 19, 2010 at 3:02 PM, Julio Rojas  wrote:

Of course I want to see equations, and this feature works fine with
standard equations. But some notation I use for my work is defined as
macros. I tried to export one of my papers to HTML with elyxer and
even though equations were rendered as images (in JPG files), they
were not included in the HTML, giving out an error with the macros. I
would really like to see elyxer "understanding" macros. That's all.


I am sorry, but I am positively sure that you used a different
converter: eLyXer does not (and never did) convert equations to JPEG
images. It has always tried to do some CSS trickery to make them look
mostly good, but after a certain point it will not come out good. The
current status is usually shown in the Math showcase:
  http://www.nongnu.org/elyxer/math.html

As to macros, they should not be hard to support once I understand
them properly.


But your's is not a bad idea. Maybe a "--nomath" flag that puts
placeholders where equations are supposed to appear would help the
transition from Lyx to OO/Word.


I will try to come up with something.

Alex.



Re: Report [Koma]-class does not complie after removing text…

2010-03-19 Thread Uwe Stöhr

jezZiFeR schrieb:

I use report [Koma], and had a large document, of which I erased lots of 
text to get a short version. Now I can´t compile any longer, and I don´t 
know why. LyX error-message says:


Paragraph ended before \...@ssect was complete.
Too many }'s.

How could I find out, what this means and find the place, where this 
problems results from? I did not change anything, but erase text.


Obviously you deleted too much. Can you provide a _small_ LyX example file?

regards Uwe


Re: Problème de mise en page sur LYX

2010-03-19 Thread Liviu Andronic
Hello Laura
I'm moving the discussing to the list so that others can help you, too.

On 3/19/10, Laura Milioni  wrote:
>  I have also an other problem. I insert a box "Parbox" in my document with
> some text and a table. But Lyx return me "There's no line here to end" and
> don't want to compile. Do you know why ?
>
I am not sure what a "Parbox" is. Can you be more explicit, or send an
example .lyx file to the list?

>  Thanks again for your help (and sorry for my english !),
>
Oh, don't worry about this. Many of us are not native English
speakers. Regards,
Liviu


Re: announce: template to write Ph.D. theses with LyX

2010-03-19 Thread Alex Fernandez
On Fri, Mar 19, 2010 at 5:34 PM, Julio Rojas  wrote:
> I'm sorry, I said it from the top of my head. I have a bunch of PNGs
> on the same folder as the HTML document. I thought they were going to
> be used in the HTML, but it seems from your statement that this is not
> the case. So why are this PNGs on this folder? Are they part of the
> conversion process?

I can only speculate: eLyXer generates PNG files (using ImageMagick)
when converting SVG or EPS, in order to use them from within HTML
documents. If they correspond to your SVG files then they may have
been generated by eLyXer (and should be used in the HTML document). If
they correspond to your equations then they are the result of some
other HTML converter which exports equations as little pictures.

Alex.


Force RTL onscreen rendering for paragraph or character style?

2010-03-19 Thread Philiрp Rеichmuth
Hi,

is there a way to force the onscreen rendering for the text contained in a
given character or paragraphy style to be right-to-left? Ideally some kind
of command within the InsetLayout or Style groups in the layout options?

Background: I use XeTeX to typeset a document in several scripts, including
Arabic. The Arabic-script sections are not in the Arabic language, but in a
variety of other languages. Because my document is left-to-right, they get
displayed on screen in LTR order, which is wrong. I can get them to display
in RTL by setting their language to Arabic (ArabTeX or Arabi). In both
cases, LyX displays them right-to-left, but these options are both
ncompatible with XeTeX because they make other assumptions on how to render
the text in the final output.

Ideally, I wouldn't have to mark them as in a different language at all -
there are no benefits other than the writing direction.  I use logical
markup and custom styles anyway for these passages, so I'd just like to
mark all instances of a given style to display RTL in LyX.  Is that
possible, or is there some workaround?

Philipp



Re: announce: template to write Ph.D. theses with LyX

2010-03-19 Thread Alex Fernandez
Hi Bill,

On Fri, Mar 19, 2010 at 5:38 PM, william.croc...@analog.com
 wrote:
> Once again, and I am sure I speak for all
> when I say how much we appreciate the exceptional
> work you have done with elyxer.

Thanks! I have lots of fun working on eLyXer.

Alex.


Re: I can´t to compile lyx

2010-03-19 Thread Marcelo Acuña
> > This file was generated using the moc from 4.5.1. It
> 
> inside lyx tree:
> find . -name '*moc*' | xargs rm 

Before compiler error I found only one *moc*.
I run make clean and is deleted.
I run configure and make produces the error again.

Marcelo



  Yahoo! Cocina

Encontra las mejores recetas con Yahoo! Cocina.


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


Re: I can´ t to compile lyx

2010-03-19 Thread Pavel Sanda
Marcelo Acu?a wrote:
> > > This file was generated using the moc from 4.5.1. It
> > 
> > inside lyx tree:
> > find . -name '*moc*' | xargs rm 
> 
> Before compiler error I found only one *moc*.
> I run make clean and is deleted.
> I run configure and make produces the error again.

1. post the error here.
2. try fresh svn checkout, what happens?

pavel


Re: I can´t to compile lyx

2010-03-19 Thread Enrico Forestieri
Marcelo Acuña writes:
> 
> > > This file was generated using the moc from 4.5.1. It
> > 
> > inside lyx tree:
> > find . -name '*moc*' | xargs rm 
> 
> Before compiler error I found only one *moc*.
> I run make clean and is deleted.
> I run configure and make produces the error again.

In case you compiled Qt by yourself and you also have the system Qt installed,
then, most probably, the wrong moc is being picked up by the configure script.
Supposing that you installed Qt in /usr/local/qt, try the following:
$ cd /usr/local/qt/bin
$ ln -s moc moc-qt4
$ ln -s uic uic-qt4
and then try to configure again. If I guessed right, it should now work.

-- 
Enrico



Re: I can´t to compile lyx

2010-03-19 Thread Marcelo Acuña
> > > > This file was generated using the moc from
> 4.5.1. It
> > > 
> > > inside lyx tree:
> > > find . -name '*moc*' | xargs rm 
> > 
> > Before compiler error I found only one *moc*.
> > I run make clean and is deleted.
> > I run configure and make produces the error again.
> 
> In case you compiled Qt by yourself and you also have the
> system Qt installed,

Yes. I had installed qt 4.5.1. Then I compiled the new version.
The new version is recongnized for configure.

> then, most probably, the wrong moc is being picked up by
> the configure script.
> Supposing that you installed Qt in /usr/local/qt, try the
> following:
> $ cd /usr/local/qt/bin
> $ ln -s moc moc-qt4
> $ ln -s uic uic-qt4
> and then try to configure again. If I guessed right, it
> should now work.

Ok. I will try this.
Thanks.
Marcelo



  Yahoo! Cocina

Encontra las mejores recetas con Yahoo! Cocina.


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