Re: LyX, LaTeX, Unicode, Hebrew and the Pondering Me

2009-03-21 Thread Micha Feigin
On Sat, 21 Mar 2009 22:43:43 +0200
Shahar Or  wrote:

> Dear Lyx Users,
> 
> I'm not a TeX user.
> 
> I've installed Ubuntu's 1.5.6 and some Hebrew related LaTeX packages and
> got to writing a document right away.
> 

Lyx 1.6.1 at least if not 1.6.2 is already out, probably worth upgrading

> There's one thing I'm curious about; why is this software, when I
> configure it for writing documents in Hebrew, uses Latin9 and cp1255?
> cp1255 is an MS Windows encoding which I've never seen used by default
> in any Free Software.
> 
> Also, I'd like to know, please, why isn't LyX using UTF-8 as a default
> encoding? When I write my document in Hebrew and I want to throw in a
> word in English, do I really have to go
> "\inputencoding{Latin9}\L{something}\inputencoding{cp1255}" in the
> middle of my otherwise quite sane flow of writing?
> 

This is a latex limitation as latex doesn't support utf8. You can use xetex
which knows utf8 but it's not easy yet with lyx (actually can be done
relatively easily but not in a clear way). On the other hand, even with xetex
and utf8, latex needs to know the directionality of the text. If you use xetex
and don't change the language officially, each word by itself is going to be in
the right direction and language, but the words in the sentence are going to be
reversed.

Actually, input encoding is a lyx issue but it's due to the encoding of the
actual text that lyx uses. AFAIK cp1255 is mostly compatible with iso-8859-8,
not sure about the logical vs visual directionality though

As for "\inputencoding{Latin9}\L{something}\inputencoding{cp1255}", you don't
input it yourself, you let lyx do it. If you setup lyx properly, changing the
language is just an issue of pressing f12 (or whatever you assigned to it)

> I am also not a software developer.
> 
> Many blessings!
> 
> (not subscribed to list)


LyX, LaTeX, Unicode, Hebrew and the Pondering Me

2009-03-21 Thread Shahar Or
Dear Lyx Users,

I'm not a TeX user.

I've installed Ubuntu's 1.5.6 and some Hebrew related LaTeX packages and
got to writing a document right away.

There's one thing I'm curious about; why is this software, when I
configure it for writing documents in Hebrew, uses Latin9 and cp1255?
cp1255 is an MS Windows encoding which I've never seen used by default
in any Free Software.

Also, I'd like to know, please, why isn't LyX using UTF-8 as a default
encoding? When I write my document in Hebrew and I want to throw in a
word in English, do I really have to go
"\inputencoding{Latin9}\L{something}\inputencoding{cp1255}" in the
middle of my otherwise quite sane flow of writing?

I am also not a software developer.

Many blessings!

(not subscribed to list)
-- 
שחר אור | 050-794 | http://www.shahar-or.co.il
   *** שיעורים פרטיים בלינוקס ותכנה חופשית ***



Re: Floating wrapper figure with image drawn out of page

2009-03-21 Thread Stefano Franchi
On Saturday 21 March 2009 11:54:10 Uwe Stöhr wrote:
> Grzegorz Adam Hankiewicz schrieb:
> > I'm usiing Lyx 1.6.2 under Macosx to put a floating wrapped figure with
> > a .tiff image inside a framed box. I don't know what I'm doing wrong,
> > but the image is being placed near the bottom of the page so that it is
> > half drawn outside, and the next page also contains the space reserved
> > for the float, but with no image.
>
> Wrap floats are not every stable - its placing algorithm can fail as in
> your case. Workarounds are described in sec. 3.2.2 "Wrap Floats" of the
> EmbeddedObjects manual that you find in LyX's Help menu.
>
> regards Uwe

That must be the euphemism of the century...

In my experience, warp floats are very difficult to work with, since the 
algorithm almost always fails when the figure+caption is relatively large wrt 
to the page. The hints described in the manual Uwe points at work to a certain 
degree, but are far from guaranteeing correct placement. At any rate, they 
should only be used on the very last draft, when no more text editing is going 
to happen. 

To make matters worse, the algorithm may end up placing part of the float *on 
top* of regulat text, thus making it unreadable.  

My current method is to use regular floats up until the end, and then convert 
them to wrap floats before the final print/pdf generation. This process would 
be 
much easier if LyX offered a facilty to convert figure floats to wrap float, 
instead of requiring manual conversion.
I am not sure it it would be easy, or even possible, but it would be a grealy 
welcome feature.



Cheers,

S.

  
__
Stefano Franchi
Department of Philosophy  Ph:  (979) 862-2211
Texas A&M University  Fax: (979) 845-0458
305B Bolton Hall  fran...@philosophy.tamu.edu
College Station, TX 77843-4237



Re: Continuous spell checking donations: some questions

2009-03-21 Thread Liviu Andronic
On Fri, Mar 20, 2009 at 3:15 PM, Abdelrazak Younes  wrote:
> But, ideally, the inline spellchecking capabilities will be programmed in
> spellchecker agnostic way. At least that's how I am going to implement it.
>
Out of curiousity, would this involve enchant?
Liviu



-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


Re: Floating wrapper figure with image drawn out of page

2009-03-21 Thread Uwe Stöhr

Grzegorz Adam Hankiewicz schrieb:

I'm usiing Lyx 1.6.2 under Macosx to put a floating wrapped figure with 
a .tiff image inside a framed box. I don't know what I'm doing wrong, 
but the image is being placed near the bottom of the page so that it is 
half drawn outside, and the next page also contains the space reserved 
for the float, but with no image.


Wrap floats are not every stable - its placing algorithm can fail as in your case. Workarounds are 
described in sec. 3.2.2 "Wrap Floats" of the EmbeddedObjects manual that you find in LyX's Help menu.


regards Uwe


Re: GUI issues in V1.6.2

2009-03-21 Thread Uwe Stöhr

Vincent van Ravesteijn schrieb:

I don't have a concern, I just said that I can't remember having seen 
this console window popping up and closing before with Joost's 
installer. So, I had the same experience as Bob. No complaints or concerns.


No problem when you have some ;-)

I rechecked the code and Joost now indeed use another method to start LyX. When I find the time, I 
will have a look at this. For now it doesn't harm that one sees the console window for a few 
milliseconds.


regards Uwe


Re: how to use xelibertine?

2009-03-21 Thread Guenter Milde
On 2009-03-20, Tao Cumplido wrote:
> Hello,

> I just updated to 1.6.2 and replaced MikTex with TexLive because I want
> to use xelibertine but I don't know how to do it. 

You cannot use xelibertine with LyX as it requires XeTeX. (There are
workarounds for using XeTeX with LyX but  this ...
> is really complicated 
.

However, you can use the libertine package with LyX: Set the Fonts in
Document>Settings to "default" and write 

  \usepackage{libertine} 
  
in Documents>Settings: LaTeX preamble

Günter




Re: how to use xelibertine?

2009-03-21 Thread Paul A. Rubin

Tao Cumplido wrote:


I just updated to 1.6.2 and replaced MikTex with TexLive because I want to use 
xelibertine but I don't know how to do it.


Not that I've ever used it, but MiKTeX 2.7 has an xelibertine package 
(and apparently has XeTeX support integrated).




Re: listings in beamer don't work?? (1.6.2)

2009-03-21 Thread Paul A. Rubin

Micha Feigin wrote:

On Fri, 20 Mar 2009 18:12:05 +0200
Micha Feigin  wrote:


On Fri, 20 Mar 2009 10:06:15 -0400
Neal Becker  wrote:

I found the info in beameruserguide.pdf.  It says you need to add [fragile] 
to \begin{frame}


How would I be able to do this in lyx?  (lyx inserts \lyxframe to start a 
beamer frame)




You need to insert a new frame and the at the begining of the frame title
insert an ert with [fragile]. Not as the next line but as the beginning of the
frame title.

Another solution is to insert the listing from a file. That works with no issues



Doesn't seem like the \begin{frame}[fragile] solution works, tried it in ert
completely and it still didn't work. My solution was to write the listings in a
text file and include it. A bit more cumbersome but it wokrs



It works in ERT (example attached), but it's not a happy solution.  I 
suspect the problem lies in the \lyxframe macro, but I'm not TeX-wise 
enough to spot where the flaw is.


/Paul


beamer_listing.lyx
Description: application/lyx


Re: changing captions

2009-03-21 Thread Paul A. Rubin

Ad en Nicole Meskens- van der Auwera wrote:

Hi,

I am trying to change the captions with floats (esp. figures). I have 
downloaded the TeX package caption. However neither in LyX nor TeX does 
the package work. The TeX output generator says:


going to install 8 files (1 package)
downloading 
ftp://ftp.ntg.nl/mirror/tex-archive/systems/win32/miktex/tm/packages/caption.tar.bz2... 


pdflatex.exe:couldn't retrieve (RETR failed) the specified file
===
!Latex Error: file 'caption.sty' not found

Can anybody help?

Sincerely,
Ad





The installation of the caption package apparently failed.  What 
operating system and LaTeX distribution are you using, and precisely how 
did you go about installing the package?


/Paul



Re: how to use xelibertine?

2009-03-21 Thread rgheck

Tao Cumplido wrote:

Hello,

I just updated to 1.6.2 and replaced MikTex with TexLive because I want to use 
xelibertine but I don't know how to do it.
All this Latex-stuff is really complicated and I don't get how everything works 
together, also the part in the manual where it's explained how to install new 
font classes (*.sty) seems to be adressed to Linux users only but I am on WinXP.

  
You might post another question of the form: How do you install new font 
classes under Windows?


Where is this part in the manual? Once we get an answer from someone, we 
can update it.


rh