Re: degree symbol in lyx on ubuntu with the Compose key

2007-03-07 Thread John Pye
Hi Michael

Thanks for replying. I tried pasting the degree symbol and viewing with
pdflatex. All looks fine. I pasted some accented latin-1 letters as
well, all worked fine.

When I ran the debug thing like you said, I got some crazy output. The
sort of thing I usually see when I've got memory-related bugs in code
I've written. The following (see below) is from opening LyX as you said,
and typing EXACTLY:

ctrl-N
right-alt ' e
right-alt ^ 0
exit via window manager [X].

The first symbol (é) showed up in LyX. The second (°) did not. Have not
pasted *all* the output, as a lot of it was repetitive stuff like this:

Init key to 65535, Greek_epsilon
isOK is 1
isOK is 1
Init key to 65535, Greek_zeta
isOK is 1
...

Thoughts?

Cheers
JP


Warning: this system's locale uses Unicode.
Language code:en_US
Setting new encoding for Qt:iso8859-1
Setting key to 4129,
KeySym is Control_L
isOK is 1
isMod is 1
isModifier true
Setting key to 78,
K␊≤S≤└ ␋⎽
␋⎽OK ␋⎽ 1
␋⎽M⎺␍ ␋⎽ 0
␊┼␌⎺␍␋┼± ␋⎽
U⎽␋┼± ␌⎺␍␊␌ ISO 8859-1
ISOE┼␌⎺␍␊␍ ⎼␊├┤⎼┼␋┼± ┴▒┌┤␊ 14
┴⎺␋␍ L≤XF┤┼␌::⎻⎼⎺␌␊⎽⎽K␊≤S≤└(␉⎺⎺⎽├::⎽␤▒⎼␊␍_⎻├⎼L≤XK␊≤S≤└,
┐␊≤_└⎺␍␋°␋␊⎼::⎽├▒├␊) ▒␌├␋⎺┼ °␋⎼⎽├ ⎽␊├ ├⎺ [3]
┴⎺␋␍ L≤XF┤┼␌::⎻⎼⎺␌␊⎽⎽K␊≤S≤└(␉⎺⎺⎽├::⎽␤▒⎼␊␍_⎻├⎼L≤XK␊≤S≤└,
┐␊≤_└⎺␍␋°␋␊⎼::⎽├▒├␊)▒␌├␋⎺┼ ┼⎺┬ ⎽␊├ ├⎺ [3]
┴⎺␋␍ L≤XF┤┼␌::⎻⎼⎺␌␊⎽⎽K␊≤S≤└(␉⎺⎺⎽├::⎽␤▒⎼␊␍_⎻├⎼L≤XK␊≤S≤└,
┐␊≤_└⎺␍␋°␋␊⎼::⎽├▒├␊) K␊≤ [▒␌├␋⎺┼=3][C├⎼┌+N]
⎽␊┼␍␋┼± IMS├▒⎼├ ┬␋├␤ 0 ␌␤▒⎼⎽ ├⎺ 0│8603198
⎽␊┼␍␋┼± IME┼␍ ┬␋├␤ 1 ␌␤▒⎼⎽ ├⎺ 0│8603198, ├␊│├=é
S␊├├␋┼± ┐␊≤ ├⎺ 0, é
K␊≤S≤└ ␋⎽ é
␋⎽OK ␋⎽ 1
␋⎽M⎺␍ ␋⎽ 0
␊┼␌⎺␍␋┼± ␋⎽ ␋⎽⎺8859-1
U⎽␋┼± ␌⎺␍␊␌ ISO 8859-1
ISOE┼␌⎺␍␊␍ ⎼␊├┤⎼┼␋┼± ┴▒┌┤␊ 233
┴⎺␋␍ L≤XF┤┼␌::⎻⎼⎺␌␊⎽⎽K␊≤S≤└(␉⎺⎺⎽├::⎽␤▒⎼␊␍_⎻├⎼L≤XK␊≤S≤└,
┐␊≤_└⎺␍␋°␋␊⎼::⎽├▒├␊) ▒␌├␋⎺┼ °␋⎼⎽├ ⎽␊├ ├⎺ [-1]
┴⎺␋␍ L≤XF┤┼␌::⎻⎼⎺␌␊⎽⎽K␊≤S≤└(␉⎺⎺⎽├::⎽␤▒⎼␊␍_⎻├⎼L≤XK␊≤S≤└,
┐␊≤_└⎺␍␋°␋␊⎼::⎽├▒├␊)▒␌├␋⎺┼ ┼⎺┬ ⎽␊├ ├⎺ [-1]
┴⎺␋␍ L≤XF┤┼␌::⎻⎼⎺␌␊⎽⎽K␊≤S≤└(␉⎺⎺⎽├::⎽␤▒⎼␊␍_⎻├⎼L≤XK␊≤S≤└,
┐␊≤_└⎺␍␋°␋␊⎼::⎽├▒├␊) K␊≤ [▒␌├␋⎺┼=-1][]
␋⎽T␊│├ °⎺⎼ ┐␊≤ 0 ␋⎽P⎼␋┼├ ␋⎽ 1
␋⎽T␊│├() ␋⎽ ├⎼┤␊, ␋┼⎽␊⎼├␋┼±.
C▒┼┼⎺├ ␍␊␌⎺␍␊: é
S␊┌°I┼⎽␊⎼├ ▒⎼±[◆é']
S␊├├␋┼± ┐␊≤ ├⎺ 4128,
K␊≤S≤└ ␋⎽ S␤␋°├_L
␋⎽OK ␋⎽ 1
␋⎽M⎺␍ ␋⎽ 1
␋⎽M⎺␍␋°␋␊⎼ ├⎼┤␊
⎽␊┼␍␋┼± IMS├▒⎼├ ┬␋├␤ 0 ␌␤▒⎼⎽ ├⎺ 0│8603198
⎽␊┼␍␋┼± IME┼␍ ┬␋├␤ 1 ␌␤▒⎼⎽ ├⎺ 0│8603198, ├␊│├=⁰
S␊├├␋┼± ┐␊≤ ├⎺ 0, ?
K␊≤S≤└ ␋⎽ ?
␋⎽OK ␋⎽ 1
␋⎽M⎺␍ ␋⎽ 0
␊┼␌⎺␍␋┼± ␋⎽ ␋⎽⎺8859-1
U⎽␋┼± ␌⎺␍␊␌ ISO 8859-1
O⎺°. C▒┼'├ ␊┼␌⎺␍␊ ├␤␊ ├␊│├ !
ISOE┼␌⎺␍␊␍ ⎼␊├┤⎼┼␋┼± ┴▒┌┤␊ 0
┴⎺␋␍ L≤XF┤┼␌::⎻⎼⎺␌␊⎽⎽K␊≤S≤└(␉⎺⎺⎽├::⎽␤▒⎼␊␍_⎻├⎼L≤XK␊≤S≤└,
┐␊≤_└⎺␍␋°␋␊⎼::⎽├▒├␊) ▒␌├␋⎺┼ °␋⎼⎽├ ⎽␊├ ├⎺ [-1]
┴⎺␋␍ L≤XF┤┼␌::⎻⎼⎺␌␊⎽⎽K␊≤S≤└(␉⎺⎺⎽├::⎽␤▒⎼␊␍_⎻├⎼L≤XK␊≤S≤└,
┐␊≤_└⎺␍␋°␋␊⎼::⎽├▒├␊)▒␌├␋⎺┼ ┼⎺┬ ⎽␊├ ├⎺ [-1]
┴⎺␋␍ L≤XF┤┼␌::⎻⎼⎺␌␊⎽⎽K␊≤S≤└(␉⎺⎺⎽├::⎽␤▒⎼␊␍_⎻├⎼L≤XK␊≤S≤└,
┐␊≤_└⎺␍␋°␋␊⎼::⎽├▒├␊) K␊≤ [▒␌├␋⎺┼=-1][]
␋⎽T␊│├ °⎺⎼ ┐␊≤ 0 ␋⎽P⎼␋┼├ ␋⎽ 1
␋⎽T␊│├() ␋⎽ ├⎼┤␊, ␋┼⎽␊⎼├␋┼±.
S▒┴␊ ␌␤▒┼±␊␍ ␍⎺␌┤└␊┼├?

T␤␊ ␍⎺␌┤└␊┼├ ┼␊┬°␋┌␊1.┌≤│ ␤▒⎽ ┤┼⎽▒┴␊␍ ␌␤▒┼±␊⎽.

D⎺ ≤⎺┤ ┬▒┼├ ├⎺ ⎽▒┴␊ ├␤␊ ␍⎺␌┤└␊┼├ ⎺⎼ ␍␋⎽␌▒⎼␍ ├␤␊ ␌␤▒┼±␊⎽?
A⎽⎽┤└␋┼± ▒┼⎽┬␊⎼ ␋⎽ S▒┴␊
D␋⎽␌▒⎼␍
C▒┼␌␊┌
[EMAIL PROTECTED]:·$



Michael Wojcik wrote:
 John Pye wrote:

 Under Ubuntu, one can use the Keyboard preferences to set up a 'Compose'
 key (I chose 'right ALT'). Once that is done, I can open a text editor
 (gedit) and get all the accented characters é and ô and ñ etc very
 nicely. I can even get the degree symbol using the sequence of keys
 (pressed and released in sequence): right-alt ^ 0. Like so: °

 But when I move over to LyX, the accented character come out correctly,
 but the degree symbol does not appear. Nothing appears when I use the
 same key sequence as above.

 I can copy the degree symbol and paste into LyX using Paste External
 Selection As Paragraphs, but I cannot generate the character directly in
 LyX.

 Try running LyX with lyx -dbg key and see what debug output you get
 when you try to insert the degree symbol using your compose key.

 When you paste the degree symbol into a document, does it appear
 correctly in DVI and PDF output?



annoying behaviour in 1.4

2007-03-07 Thread Peter Ljunglöf

Hi,

there are some things I find annoying with 1.4.4, which behaved much  
better in 1.3.


* The most important thing is the function 'word-forward' (bound to C- 
right). Previously it moved the cursor to the end of the current word  
(or the next if it already was at the end). That's the standard  
behaviour in most word processors and text editors. Now the cursor is  
moved to the beginning of the next word. Apart from being just odd,  
there's a real problem with that: If I have the text firstword  
[MATH] secondword, and the cursor is at firstword, then I can not  
move (quickly) to the beginning of the [MATH] stuff, since C-right  
just moves past the math to the beginning of secondword.


Was this change intentional, or just a mistake?

* Another (much less important) thing is the shortcut preview in the  
status bar. When I select a menu item, or execute a lyx function (via  
M-x), the shortcuts are previewed in the status bar - an excellent  
feature. But on 1.4.4, the M, S and C modifiers are just shown  
as ?. I'm using LyX-Mac/PPC, so I guess it's a Mac specific bug.


* Also, the shortcuts shown for the menu items are not changed when I  
change the bind file, which can be slightly disrupting. This could  
also be Mac-specific I guess.


regards, Peter Ljunglöf


  ___ _  __ __ _  _   _

  peter ljunglöf, göteborgs universitet





Re: Should the Index show up in your table of contents?

2007-03-07 Thread Helge Hafting

Steve Litt wrote:

Hi all,

Should your index show up in your table of contents? 

This is a matter of taste. Some omit the index in the TOC,
because everybody knows that the index is at the end.

Aslo, the TOC is usually not in the TOC either - everybody
knows it is at the start - and if you're looking at the TOC
then you already found it - no need to list it then!

Still, some people put the index in the TOC, especially
if they have lots of appendixes.  Or perhaps because
they don't know much about typographic tradition.
There are even those who list the TOC for consistency.

The way I see it, the biggest problem with listing too much
optional stuff in the TOC is that sometimes the one extra
item is the one that forces a page break in the TOC. And
an extra page is cumbersome, inelegant,
and sometimes costly to print too.

Helge Hafting



How does one change the margins on one page only?

2007-03-07 Thread Steve Litt
Hi all,

How does one change the margins on one page only? I need the first page (I'm 
not using a title page -- I'm ERT'ing it) to be an image that goes paper edge 
to paper edge.

Thanks

SteveT

Steve Litt
Author: Universal Troubleshooting Process books and courseware
http://www.troubleshooters.com/


Re: How does one change the margins on one page only?

2007-03-07 Thread Sara Stymne
Hi!

The latex package chngpage might be useful.

/Sara

Steve Litt wrote:

Hi all,

How does one change the margins on one page only? I need the first page (I'm 
not using a title page -- I'm ERT'ing it) to be an image that goes paper edge 
to paper edge.

Thanks

SteveT

Steve Litt
Author: Universal Troubleshooting Process books and courseware
http://www.troubleshooters.com/
  




Cross refernces with parentheses

2007-03-07 Thread Gary
Hi again,

I want my cross refrences to apear as (1.2) instead of 1.2.
In Latex this would be a piece of cake with \newcommand.
How do I acomplish this with Lyx?

thanks,

Gary



Re: annoying behaviour in 1.4

2007-03-07 Thread Paul A. Rubin

Peter Ljunglöf wrote:


* The most important thing is the function 'word-forward' (bound to 
C-right). Previously it moved the cursor to the end of the current word 
(or the next if it already was at the end). That's the standard 
behaviour in most word processors and text editors. Now the cursor is 
moved to the beginning of the next word. 


I just checked a few programs.  C-right moves the cursor to the _start_ 
of the next word in: MS Office; WordPerfect; NoteTab; MS Notepad; and MS 
Wordpad.  This is on Win XP; maybe things work differently on a Mac?


/Paul



Re: degree symbol in lyx on ubuntu with the Compose key

2007-03-07 Thread Michael Wojcik

John Pye wrote:


Thanks for replying. I tried pasting the degree symbol and viewing with
pdflatex. All looks fine. I pasted some accented latin-1 letters as
well, all worked fine.


Well, that's good, anyway.


When I ran the debug thing like you said, I got some crazy output.


[I've snipped the output, in case the non-ASCII characters pose problems 
for other readers.]


It appears that LyX is producing control characters in its debug output 
here, and that's changing the output character set in the tty where you 
ran lyx.


I don't know why LyX would be doing that - if it's a bug, or caused by 
something in your environment.  It's been a long time since I ran LyX on 
Linux.  (I actually prefer a Unix/Linux environment, but because I have 
to do most of my development work on Windows, it's easier to run LyX there.)


You could probably suppress that by filtering the LyX output through 
something to strip out the control characters.  For example:


lyx -dbg key 21 | tr -dc '[:print:]\n'

That should remove all characters that aren't printable, except newline.


Warning: this system's locale uses Unicode.
Language code:en_US
Setting new encoding for Qt:iso8859-1


Maybe the Unicode locale is a problem; you could try using a different 
locale, just to see if that has any effect.


Other than that, I don't have any ideas.  I haven't had to muck about 
with LyX's input handling on Linux.


--
Michael Wojcik



Re: annoying behaviour in 1.4

2007-03-07 Thread Bennett Helm

On Mar 7, 2007, at 1:14 PM, Paul A. Rubin wrote:


Peter Ljunglöf wrote:
* The most important thing is the function 'word-forward' (bound  
to C-right). Previously it moved the cursor to the end of the  
current word (or the next if it already was at the end). That's  
the standard behaviour in most word processors and text editors.  
Now the cursor is moved to the beginning of the next word.


I just checked a few programs.  C-right moves the cursor to the  
_start_ of the next word in: MS Office; WordPerfect; NoteTab; MS  
Notepad; and MS Wordpad.  This is on Win XP; maybe things work  
differently on a Mac?


Works this way as well on Mac. I think LyX's behavior ought to be  
changed to conform to this standard. (Are things different on Linux?)


Bennett

Acrobat Features (Was: Another PDF Question)

2007-03-07 Thread Richard Heck
Oisin Feeley wrote:
 On 3/6/07, Richard Heck [EMAIL PROTECTED] wrote:
 Oisin Feeley wrote:
  Comments in PDF seem to be something that's only available using
 the official Adobe toolchain [snip].
 Thanks. I guess I shouldn't be surprised. But it really is silly.
 Not from the Adobe's perspective -- they're making plenty of money by
 monopolising the standard and producing the tools for that.  
Yes, of course.
 I'm not quite clear as to whether you can use the ordinary Adobe
 Reader to produce the comments though.
Yes, you can, and even on Linux. Lots of publishers are making use of
this facility now. So the only thing one needs---not that it wouldn't be
nice to have a free viewer that did the same thing---is a way to enable
the facility for PDFs one produces using free software. The AREnable
program that has been mentioned looks as if it will do this, but it runs
only on Windows. Maybe it could be adapted to Linux. But it's written in
VB.NET and uses the PDFSharp library, which is also a Windows
phenomenon. But is it possible these would run under Mono? I don't know
enough about Mono even to know how to find out.

Richard

-- 
==
Richard G Heck, Jr
Professor of Philosophy
Brown University
http://bobjweil.com/heck/
==
Get my public key from http://sks.keyserver.penguin.de
Hash: 0x1DE91F1E66FFBDEC
Learn how to sign your email using Thunderbird and GnuPG at:
http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto



Re: annoying behaviour in 1.4

2007-03-07 Thread Jürgen Spitzmüller
Bennett Helm wrote:
 (Are things different on Linux?)

No (not in OpenOffice, KWord and TextMaker; I don't have Abiword).

Jürgen


Re: annoying behaviour in 1.4

2007-03-07 Thread José Matos
On Wednesday 07 March 2007 6:37:14 pm Jürgen Spitzmüller wrote:
 Bennett Helm wrote:
  (Are things different on Linux?)

 No (not in OpenOffice, KWord and TextMaker; I don't have Abiword).

  Not even in emacs. ;-)

  But vim behaves like lyx.

 Jürgen

-- 
José Abílio


Re: annoying behaviour in 1.4

2007-03-07 Thread Paul A. Rubin

Bennett Helm wrote:

On Mar 7, 2007, at 1:14 PM, Paul A. Rubin wrote:


Peter Ljunglöf wrote:
* The most important thing is the function 'word-forward' (bound to 
C-right). Previously it moved the cursor to the end of the current 
word (or the next if it already was at the end). That's the standard 
behaviour in most word processors and text editors. Now the cursor is 
moved to the beginning of the next word.


I just checked a few programs.  C-right moves the cursor to the 
_start_ of the next word in: MS Office; WordPerfect; NoteTab; MS 
Notepad; and MS Wordpad.  This is on Win XP; maybe things work 
differently on a Mac?


Works this way as well on Mac. I think LyX's behavior ought to be 
changed to conform to this standard. (Are things different on Linux?)




It already does conform.

/Paul



Re: annoying behaviour in 1.4

2007-03-07 Thread Gunnar
 moved to the beginning of the next word. Apart from being just odd,
 there's a real problem with that: If I have the text firstword
 [MATH] secondword, and the cursor is at firstword, then I can not
 move (quickly) to the beginning of the [MATH] stuff, since C-right
 just moves past the math to the beginning of secondword.

 Was this change intentional, or just a mistake?

I think I reported it as a bug, but it was nothing that could be done, if I 
remember correctly. But I agree that it would be good if it didn't behave 
that way.


Re: Cross refernces with parentheses

2007-03-07 Thread Mircea Trandafir

Hey Gary,
I'm using Lyx 1.5.0-beta1 and the only thing I need to do is to choose
(reference) in the dialog where it asks for the type of reference. See
the example I attached to this message.
Mircea

Gary said the following on 3/7/2007 12:12 PM:

Hi again,

I want my cross refrences to apear as (1.2) instead of 1.2.
In Latex this would be a piece of cake with \newcommand.
How do I acomplish this with Lyx?

thanks,

Gary







_
Mortgage rates as low as 4.625% - Refinance $150,000 loan for $579 a month. 
Intro*Terms  
https://www2.nextag.com/goto.jsp?product=10035url=%2fst.jsptm=ysearch=mortgage_text_links_88_h27f6disc=yvers=743s=4056p=5117


refs.lyx
Description: Binary data


Re: annoying behaviour in 1.4

2007-03-07 Thread Jean-Marc Lasgouttes
 Gunnar == Gunnar  [EMAIL PROTECTED] writes:

 moved to the beginning of the next word. Apart from being just odd,
 there's a real problem with that: If I have the text firstword
 [MATH] secondword, and the cursor is at firstword, then I can
 not move (quickly) to the beginning of the [MATH] stuff, since
 C-right just moves past the math to the beginning of secondword.
 
 Was this change intentional, or just a mistake?

Gunnar I think I reported it as a bug, but it was nothing that could
Gunnar be done, if I remember correctly. But I agree that it would be
Gunnar good if it didn't behave that way.

Well, the intention is that a word is a word. If you want Ctrl+Right
to go to math insets too, would you like it to consider math insets
for spell checking too. I guess the answer is no :)

So what would be the precise definition of a word for jumping? We do
not want all insets, do we? And we have to settle on a definition that
pleases _everybody_.

JMarc


MikTeX update servers out of synch?

2007-03-07 Thread Tom Schlangen
Hello LyX List,

regarding the Windows installer versions of LyX, somebody else also noticed 
that the MikTeX update servers seem to be out of synch since a few days?

Regards,

   Tom Schlangen

-- 



Re: annoying behaviour in 1.4

2007-03-07 Thread Gunnar
 Well, the intention is that a word is a word. If you want Ctrl+Right
 to go to math insets too, would you like it to consider math insets
 for spell checking too. I guess the answer is no :)
Well, I think LyX ought to use Maple to check it for other errors than just 
spelling ;-)

 So what would be the precise definition of a word for jumping? We do
 not want all insets, do we? And we have to settle on a definition that
 pleases _everybody_.
It would be fine with me if it consider the entire math box to be like a 
word, so that if we have the text

foo bar $x=y$ cat dog

with the cursor between foo bar, pressing CTRL+Right would move cursor between 
bar and the mathbox (illustrated with $x=y$ above). Pressing CTRL+Right once 
more would move cursor to between the mathbox and the word cat.

Inside the mathboxes it is a different thing to move around. Inside I think it 
works very well (except for some special examples with formulas where you can 
have the cursor moving back and forward (or up and down) repeatedly if you 
press the same arrow key). But mostly, very nice.

I think we have had this discussion earlier, Jean-Marc. But the bugdatabase 
seems to be down at the moment.

Regards
Gunnar.


Re: new trick no work for me

2007-03-07 Thread Marcelo Acuña
  Hello,
   I am very interested in trick that I found in
  documetation (FAQ):
 
   [EMAIL PROTECTED]
 
   I put this in preamble of koma-script book with
 hope
  of no more \setcounter in every section.
   This no work. Number of footnotes no reset in
 each
  section.
   How I get it?
   Thanks
 I discoverd part of the problem:
[EMAIL PROTECTED]
 no work with section* in any way.
 For now, I not dicovered why no work with section in
my book but work in littles files.

 Marcelo

 






__ 
Preguntá. Respondé. Descubrí. 
Todo lo que querías saber, y lo que ni imaginabas, 
está en Yahoo! Respuestas (Beta). 
¡Probalo ya! 
http://www.yahoo.com.ar/respuestas 



Re: MikTeX update servers out of synch?

2007-03-07 Thread Uwe Stöhr

Tom Schlangen schrieb:


regarding the Windows installer versions of LyX, somebody else also noticed 
that the MikTeX update servers seem to be out of synch since a few days?


Yes all are 3 days out of sync, you can see this here:

http://miktex.org/Repositories.aspx

regards Uwe


Re: Cross refernces with parentheses

2007-03-07 Thread Uwe Stöhr

Gary schrieb:


I want my cross refrences to apear as (1.2) instead of 1.2.
In Latex this would be a piece of cake with \newcommand.
How do I acomplish this with Lyx?


Choose in the cross-reference window the format (reference).
(the default is reference)

regards Uwe


Very Impressive

2007-03-07 Thread Jan Peters

Dear Lyx-Developers,

I am *really* impressed ... or maybe even stunned.
The update from 1.4 to 1.5 is really a major
step for LyXkind. On a Mac, it feels every bit as
professional as a Mac App can be (wow).
The SWP guys at MacKitchan must be really scared
as hell. Congrats guys! You are doing a hell of a job,
I hardly can believe the progress.

As usual though, I would like to remind you on the few
issues which I would wish for in order to leave my beloved
SWP behind ... and with it the last reason to emulate a
Windows PC:
- more and better math toolbars Or is there an easy
way to create them ourselves?
- the few ugly parts of the equations (indices at right height,
vector arrows, \sqrt, paranthesis, \dot, \ddot etc) could be prettier.
- search and replace for equations so that replacing
$a$ in $a + 3a$ becomes easier.
- a compute and plot toolbar.
as also outlined in

http://www.jan-peters.net/Computer/LyxVsSwp

Features which would be nice are red underlining of bad spellings
and slightly improved latex imports which automatically
create environments for \begin{Example} etc :)

Keep up that great work! The days of SWP are numbered!
-Jan


Re: degree symbol in lyx on ubuntu with the Compose key

2007-03-07 Thread John Pye
Hi Michael

Thanks for replying. I tried pasting the degree symbol and viewing with
pdflatex. All looks fine. I pasted some accented latin-1 letters as
well, all worked fine.

When I ran the debug thing like you said, I got some crazy output. The
sort of thing I usually see when I've got memory-related bugs in code
I've written. The following (see below) is from opening LyX as you said,
and typing EXACTLY:

ctrl-N
right-alt ' e
right-alt ^ 0
exit via window manager [X].

The first symbol (é) showed up in LyX. The second (°) did not. Have not
pasted *all* the output, as a lot of it was repetitive stuff like this:

Init key to 65535, Greek_epsilon
isOK is 1
isOK is 1
Init key to 65535, Greek_zeta
isOK is 1
...

Thoughts?

Cheers
JP


Warning: this system's locale uses Unicode.
Language code:en_US
Setting new encoding for Qt:iso8859-1
Setting key to 4129,
KeySym is Control_L
isOK is 1
isMod is 1
isModifier true
Setting key to 78,
K␊≤S≤└ ␋⎽
␋⎽OK ␋⎽ 1
␋⎽M⎺␍ ␋⎽ 0
␊┼␌⎺␍␋┼± ␋⎽
U⎽␋┼± ␌⎺␍␊␌ ISO 8859-1
ISOE┼␌⎺␍␊␍ ⎼␊├┤⎼┼␋┼± ┴▒┌┤␊ 14
┴⎺␋␍ L≤XF┤┼␌::⎻⎼⎺␌␊⎽⎽K␊≤S≤└(␉⎺⎺⎽├::⎽␤▒⎼␊␍_⎻├⎼L≤XK␊≤S≤└,
┐␊≤_└⎺␍␋°␋␊⎼::⎽├▒├␊) ▒␌├␋⎺┼ °␋⎼⎽├ ⎽␊├ ├⎺ [3]
┴⎺␋␍ L≤XF┤┼␌::⎻⎼⎺␌␊⎽⎽K␊≤S≤└(␉⎺⎺⎽├::⎽␤▒⎼␊␍_⎻├⎼L≤XK␊≤S≤└,
┐␊≤_└⎺␍␋°␋␊⎼::⎽├▒├␊)▒␌├␋⎺┼ ┼⎺┬ ⎽␊├ ├⎺ [3]
┴⎺␋␍ L≤XF┤┼␌::⎻⎼⎺␌␊⎽⎽K␊≤S≤└(␉⎺⎺⎽├::⎽␤▒⎼␊␍_⎻├⎼L≤XK␊≤S≤└,
┐␊≤_└⎺␍␋°␋␊⎼::⎽├▒├␊) K␊≤ [▒␌├␋⎺┼=3][C├⎼┌+N]
⎽␊┼␍␋┼± IMS├▒⎼├ ┬␋├␤ 0 ␌␤▒⎼⎽ ├⎺ 0│8603198
⎽␊┼␍␋┼± IME┼␍ ┬␋├␤ 1 ␌␤▒⎼⎽ ├⎺ 0│8603198, ├␊│├=é
S␊├├␋┼± ┐␊≤ ├⎺ 0, é
K␊≤S≤└ ␋⎽ é
␋⎽OK ␋⎽ 1
␋⎽M⎺␍ ␋⎽ 0
␊┼␌⎺␍␋┼± ␋⎽ ␋⎽⎺8859-1
U⎽␋┼± ␌⎺␍␊␌ ISO 8859-1
ISOE┼␌⎺␍␊␍ ⎼␊├┤⎼┼␋┼± ┴▒┌┤␊ 233
┴⎺␋␍ L≤XF┤┼␌::⎻⎼⎺␌␊⎽⎽K␊≤S≤└(␉⎺⎺⎽├::⎽␤▒⎼␊␍_⎻├⎼L≤XK␊≤S≤└,
┐␊≤_└⎺␍␋°␋␊⎼::⎽├▒├␊) ▒␌├␋⎺┼ °␋⎼⎽├ ⎽␊├ ├⎺ [-1]
┴⎺␋␍ L≤XF┤┼␌::⎻⎼⎺␌␊⎽⎽K␊≤S≤└(␉⎺⎺⎽├::⎽␤▒⎼␊␍_⎻├⎼L≤XK␊≤S≤└,
┐␊≤_└⎺␍␋°␋␊⎼::⎽├▒├␊)▒␌├␋⎺┼ ┼⎺┬ ⎽␊├ ├⎺ [-1]
┴⎺␋␍ L≤XF┤┼␌::⎻⎼⎺␌␊⎽⎽K␊≤S≤└(␉⎺⎺⎽├::⎽␤▒⎼␊␍_⎻├⎼L≤XK␊≤S≤└,
┐␊≤_└⎺␍␋°␋␊⎼::⎽├▒├␊) K␊≤ [▒␌├␋⎺┼=-1][]
␋⎽T␊│├ °⎺⎼ ┐␊≤ 0 ␋⎽P⎼␋┼├ ␋⎽ 1
␋⎽T␊│├() ␋⎽ ├⎼┤␊, ␋┼⎽␊⎼├␋┼±.
C▒┼┼⎺├ ␍␊␌⎺␍␊: é
S␊┌°I┼⎽␊⎼├ ▒⎼±[◆é']
S␊├├␋┼± ┐␊≤ ├⎺ 4128,
K␊≤S≤└ ␋⎽ S␤␋°├_L
␋⎽OK ␋⎽ 1
␋⎽M⎺␍ ␋⎽ 1
␋⎽M⎺␍␋°␋␊⎼ ├⎼┤␊
⎽␊┼␍␋┼± IMS├▒⎼├ ┬␋├␤ 0 ␌␤▒⎼⎽ ├⎺ 0│8603198
⎽␊┼␍␋┼± IME┼␍ ┬␋├␤ 1 ␌␤▒⎼⎽ ├⎺ 0│8603198, ├␊│├=⁰
S␊├├␋┼± ┐␊≤ ├⎺ 0, ?
K␊≤S≤└ ␋⎽ ?
␋⎽OK ␋⎽ 1
␋⎽M⎺␍ ␋⎽ 0
␊┼␌⎺␍␋┼± ␋⎽ ␋⎽⎺8859-1
U⎽␋┼± ␌⎺␍␊␌ ISO 8859-1
O⎺°. C▒┼'├ ␊┼␌⎺␍␊ ├␤␊ ├␊│├ !
ISOE┼␌⎺␍␊␍ ⎼␊├┤⎼┼␋┼± ┴▒┌┤␊ 0
┴⎺␋␍ L≤XF┤┼␌::⎻⎼⎺␌␊⎽⎽K␊≤S≤└(␉⎺⎺⎽├::⎽␤▒⎼␊␍_⎻├⎼L≤XK␊≤S≤└,
┐␊≤_└⎺␍␋°␋␊⎼::⎽├▒├␊) ▒␌├␋⎺┼ °␋⎼⎽├ ⎽␊├ ├⎺ [-1]
┴⎺␋␍ L≤XF┤┼␌::⎻⎼⎺␌␊⎽⎽K␊≤S≤└(␉⎺⎺⎽├::⎽␤▒⎼␊␍_⎻├⎼L≤XK␊≤S≤└,
┐␊≤_└⎺␍␋°␋␊⎼::⎽├▒├␊)▒␌├␋⎺┼ ┼⎺┬ ⎽␊├ ├⎺ [-1]
┴⎺␋␍ L≤XF┤┼␌::⎻⎼⎺␌␊⎽⎽K␊≤S≤└(␉⎺⎺⎽├::⎽␤▒⎼␊␍_⎻├⎼L≤XK␊≤S≤└,
┐␊≤_└⎺␍␋°␋␊⎼::⎽├▒├␊) K␊≤ [▒␌├␋⎺┼=-1][]
␋⎽T␊│├ °⎺⎼ ┐␊≤ 0 ␋⎽P⎼␋┼├ ␋⎽ 1
␋⎽T␊│├() ␋⎽ ├⎼┤␊, ␋┼⎽␊⎼├␋┼±.
S▒┴␊ ␌␤▒┼±␊␍ ␍⎺␌┤└␊┼├?

T␤␊ ␍⎺␌┤└␊┼├ ┼␊┬°␋┌␊1.┌≤│ ␤▒⎽ ┤┼⎽▒┴␊␍ ␌␤▒┼±␊⎽.

D⎺ ≤⎺┤ ┬▒┼├ ├⎺ ⎽▒┴␊ ├␤␊ ␍⎺␌┤└␊┼├ ⎺⎼ ␍␋⎽␌▒⎼␍ ├␤␊ ␌␤▒┼±␊⎽?
A⎽⎽┤└␋┼± ▒┼⎽┬␊⎼ ␋⎽ S▒┴␊
D␋⎽␌▒⎼␍
C▒┼␌␊┌
[EMAIL PROTECTED]:·$



Michael Wojcik wrote:
 John Pye wrote:

 Under Ubuntu, one can use the Keyboard preferences to set up a 'Compose'
 key (I chose 'right ALT'). Once that is done, I can open a text editor
 (gedit) and get all the accented characters é and ô and ñ etc very
 nicely. I can even get the degree symbol using the sequence of keys
 (pressed and released in sequence): right-alt ^ 0. Like so: °

 But when I move over to LyX, the accented character come out correctly,
 but the degree symbol does not appear. Nothing appears when I use the
 same key sequence as above.

 I can copy the degree symbol and paste into LyX using Paste External
 Selection As Paragraphs, but I cannot generate the character directly in
 LyX.

 Try running LyX with lyx -dbg key and see what debug output you get
 when you try to insert the degree symbol using your compose key.

 When you paste the degree symbol into a document, does it appear
 correctly in DVI and PDF output?



annoying behaviour in 1.4

2007-03-07 Thread Peter Ljunglöf

Hi,

there are some things I find annoying with 1.4.4, which behaved much  
better in 1.3.


* The most important thing is the function 'word-forward' (bound to C- 
right). Previously it moved the cursor to the end of the current word  
(or the next if it already was at the end). That's the standard  
behaviour in most word processors and text editors. Now the cursor is  
moved to the beginning of the next word. Apart from being just odd,  
there's a real problem with that: If I have the text firstword  
[MATH] secondword, and the cursor is at firstword, then I can not  
move (quickly) to the beginning of the [MATH] stuff, since C-right  
just moves past the math to the beginning of secondword.


Was this change intentional, or just a mistake?

* Another (much less important) thing is the shortcut preview in the  
status bar. When I select a menu item, or execute a lyx function (via  
M-x), the shortcuts are previewed in the status bar - an excellent  
feature. But on 1.4.4, the M, S and C modifiers are just shown  
as ?. I'm using LyX-Mac/PPC, so I guess it's a Mac specific bug.


* Also, the shortcuts shown for the menu items are not changed when I  
change the bind file, which can be slightly disrupting. This could  
also be Mac-specific I guess.


regards, Peter Ljunglöf


  ___ _  __ __ _  _   _

  peter ljunglöf, göteborgs universitet





Re: Should the Index show up in your table of contents?

2007-03-07 Thread Helge Hafting

Steve Litt wrote:

Hi all,

Should your index show up in your table of contents? 

This is a matter of taste. Some omit the index in the TOC,
because everybody knows that the index is at the end.

Aslo, the TOC is usually not in the TOC either - everybody
knows it is at the start - and if you're looking at the TOC
then you already found it - no need to list it then!

Still, some people put the index in the TOC, especially
if they have lots of appendixes.  Or perhaps because
they don't know much about typographic tradition.
There are even those who list the TOC for consistency.

The way I see it, the biggest problem with listing too much
optional stuff in the TOC is that sometimes the one extra
item is the one that forces a page break in the TOC. And
an extra page is cumbersome, inelegant,
and sometimes costly to print too.

Helge Hafting



How does one change the margins on one page only?

2007-03-07 Thread Steve Litt
Hi all,

How does one change the margins on one page only? I need the first page (I'm 
not using a title page -- I'm ERT'ing it) to be an image that goes paper edge 
to paper edge.

Thanks

SteveT

Steve Litt
Author: Universal Troubleshooting Process books and courseware
http://www.troubleshooters.com/


Re: How does one change the margins on one page only?

2007-03-07 Thread Sara Stymne
Hi!

The latex package chngpage might be useful.

/Sara

Steve Litt wrote:

Hi all,

How does one change the margins on one page only? I need the first page (I'm 
not using a title page -- I'm ERT'ing it) to be an image that goes paper edge 
to paper edge.

Thanks

SteveT

Steve Litt
Author: Universal Troubleshooting Process books and courseware
http://www.troubleshooters.com/
  




Cross refernces with parentheses

2007-03-07 Thread Gary
Hi again,

I want my cross refrences to apear as (1.2) instead of 1.2.
In Latex this would be a piece of cake with \newcommand.
How do I acomplish this with Lyx?

thanks,

Gary



Re: annoying behaviour in 1.4

2007-03-07 Thread Paul A. Rubin

Peter Ljunglöf wrote:


* The most important thing is the function 'word-forward' (bound to 
C-right). Previously it moved the cursor to the end of the current word 
(or the next if it already was at the end). That's the standard 
behaviour in most word processors and text editors. Now the cursor is 
moved to the beginning of the next word. 


I just checked a few programs.  C-right moves the cursor to the _start_ 
of the next word in: MS Office; WordPerfect; NoteTab; MS Notepad; and MS 
Wordpad.  This is on Win XP; maybe things work differently on a Mac?


/Paul



Re: degree symbol in lyx on ubuntu with the Compose key

2007-03-07 Thread Michael Wojcik

John Pye wrote:


Thanks for replying. I tried pasting the degree symbol and viewing with
pdflatex. All looks fine. I pasted some accented latin-1 letters as
well, all worked fine.


Well, that's good, anyway.


When I ran the debug thing like you said, I got some crazy output.


[I've snipped the output, in case the non-ASCII characters pose problems 
for other readers.]


It appears that LyX is producing control characters in its debug output 
here, and that's changing the output character set in the tty where you 
ran lyx.


I don't know why LyX would be doing that - if it's a bug, or caused by 
something in your environment.  It's been a long time since I ran LyX on 
Linux.  (I actually prefer a Unix/Linux environment, but because I have 
to do most of my development work on Windows, it's easier to run LyX there.)


You could probably suppress that by filtering the LyX output through 
something to strip out the control characters.  For example:


lyx -dbg key 21 | tr -dc '[:print:]\n'

That should remove all characters that aren't printable, except newline.


Warning: this system's locale uses Unicode.
Language code:en_US
Setting new encoding for Qt:iso8859-1


Maybe the Unicode locale is a problem; you could try using a different 
locale, just to see if that has any effect.


Other than that, I don't have any ideas.  I haven't had to muck about 
with LyX's input handling on Linux.


--
Michael Wojcik



Re: annoying behaviour in 1.4

2007-03-07 Thread Bennett Helm

On Mar 7, 2007, at 1:14 PM, Paul A. Rubin wrote:


Peter Ljunglöf wrote:
* The most important thing is the function 'word-forward' (bound  
to C-right). Previously it moved the cursor to the end of the  
current word (or the next if it already was at the end). That's  
the standard behaviour in most word processors and text editors.  
Now the cursor is moved to the beginning of the next word.


I just checked a few programs.  C-right moves the cursor to the  
_start_ of the next word in: MS Office; WordPerfect; NoteTab; MS  
Notepad; and MS Wordpad.  This is on Win XP; maybe things work  
differently on a Mac?


Works this way as well on Mac. I think LyX's behavior ought to be  
changed to conform to this standard. (Are things different on Linux?)


Bennett

Acrobat Features (Was: Another PDF Question)

2007-03-07 Thread Richard Heck
Oisin Feeley wrote:
 On 3/6/07, Richard Heck [EMAIL PROTECTED] wrote:
 Oisin Feeley wrote:
  Comments in PDF seem to be something that's only available using
 the official Adobe toolchain [snip].
 Thanks. I guess I shouldn't be surprised. But it really is silly.
 Not from the Adobe's perspective -- they're making plenty of money by
 monopolising the standard and producing the tools for that.  
Yes, of course.
 I'm not quite clear as to whether you can use the ordinary Adobe
 Reader to produce the comments though.
Yes, you can, and even on Linux. Lots of publishers are making use of
this facility now. So the only thing one needs---not that it wouldn't be
nice to have a free viewer that did the same thing---is a way to enable
the facility for PDFs one produces using free software. The AREnable
program that has been mentioned looks as if it will do this, but it runs
only on Windows. Maybe it could be adapted to Linux. But it's written in
VB.NET and uses the PDFSharp library, which is also a Windows
phenomenon. But is it possible these would run under Mono? I don't know
enough about Mono even to know how to find out.

Richard

-- 
==
Richard G Heck, Jr
Professor of Philosophy
Brown University
http://bobjweil.com/heck/
==
Get my public key from http://sks.keyserver.penguin.de
Hash: 0x1DE91F1E66FFBDEC
Learn how to sign your email using Thunderbird and GnuPG at:
http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto



Re: annoying behaviour in 1.4

2007-03-07 Thread Jürgen Spitzmüller
Bennett Helm wrote:
 (Are things different on Linux?)

No (not in OpenOffice, KWord and TextMaker; I don't have Abiword).

Jürgen


Re: annoying behaviour in 1.4

2007-03-07 Thread José Matos
On Wednesday 07 March 2007 6:37:14 pm Jürgen Spitzmüller wrote:
 Bennett Helm wrote:
  (Are things different on Linux?)

 No (not in OpenOffice, KWord and TextMaker; I don't have Abiword).

  Not even in emacs. ;-)

  But vim behaves like lyx.

 Jürgen

-- 
José Abílio


Re: annoying behaviour in 1.4

2007-03-07 Thread Paul A. Rubin

Bennett Helm wrote:

On Mar 7, 2007, at 1:14 PM, Paul A. Rubin wrote:


Peter Ljunglöf wrote:
* The most important thing is the function 'word-forward' (bound to 
C-right). Previously it moved the cursor to the end of the current 
word (or the next if it already was at the end). That's the standard 
behaviour in most word processors and text editors. Now the cursor is 
moved to the beginning of the next word.


I just checked a few programs.  C-right moves the cursor to the 
_start_ of the next word in: MS Office; WordPerfect; NoteTab; MS 
Notepad; and MS Wordpad.  This is on Win XP; maybe things work 
differently on a Mac?


Works this way as well on Mac. I think LyX's behavior ought to be 
changed to conform to this standard. (Are things different on Linux?)




It already does conform.

/Paul



Re: annoying behaviour in 1.4

2007-03-07 Thread Gunnar
 moved to the beginning of the next word. Apart from being just odd,
 there's a real problem with that: If I have the text firstword
 [MATH] secondword, and the cursor is at firstword, then I can not
 move (quickly) to the beginning of the [MATH] stuff, since C-right
 just moves past the math to the beginning of secondword.

 Was this change intentional, or just a mistake?

I think I reported it as a bug, but it was nothing that could be done, if I 
remember correctly. But I agree that it would be good if it didn't behave 
that way.


Re: Cross refernces with parentheses

2007-03-07 Thread Mircea Trandafir

Hey Gary,
I'm using Lyx 1.5.0-beta1 and the only thing I need to do is to choose
(reference) in the dialog where it asks for the type of reference. See
the example I attached to this message.
Mircea

Gary said the following on 3/7/2007 12:12 PM:

Hi again,

I want my cross refrences to apear as (1.2) instead of 1.2.
In Latex this would be a piece of cake with \newcommand.
How do I acomplish this with Lyx?

thanks,

Gary







_
Mortgage rates as low as 4.625% - Refinance $150,000 loan for $579 a month. 
Intro*Terms  
https://www2.nextag.com/goto.jsp?product=10035url=%2fst.jsptm=ysearch=mortgage_text_links_88_h27f6disc=yvers=743s=4056p=5117


refs.lyx
Description: Binary data


Re: annoying behaviour in 1.4

2007-03-07 Thread Jean-Marc Lasgouttes
 Gunnar == Gunnar  [EMAIL PROTECTED] writes:

 moved to the beginning of the next word. Apart from being just odd,
 there's a real problem with that: If I have the text firstword
 [MATH] secondword, and the cursor is at firstword, then I can
 not move (quickly) to the beginning of the [MATH] stuff, since
 C-right just moves past the math to the beginning of secondword.
 
 Was this change intentional, or just a mistake?

Gunnar I think I reported it as a bug, but it was nothing that could
Gunnar be done, if I remember correctly. But I agree that it would be
Gunnar good if it didn't behave that way.

Well, the intention is that a word is a word. If you want Ctrl+Right
to go to math insets too, would you like it to consider math insets
for spell checking too. I guess the answer is no :)

So what would be the precise definition of a word for jumping? We do
not want all insets, do we? And we have to settle on a definition that
pleases _everybody_.

JMarc


MikTeX update servers out of synch?

2007-03-07 Thread Tom Schlangen
Hello LyX List,

regarding the Windows installer versions of LyX, somebody else also noticed 
that the MikTeX update servers seem to be out of synch since a few days?

Regards,

   Tom Schlangen

-- 



Re: annoying behaviour in 1.4

2007-03-07 Thread Gunnar
 Well, the intention is that a word is a word. If you want Ctrl+Right
 to go to math insets too, would you like it to consider math insets
 for spell checking too. I guess the answer is no :)
Well, I think LyX ought to use Maple to check it for other errors than just 
spelling ;-)

 So what would be the precise definition of a word for jumping? We do
 not want all insets, do we? And we have to settle on a definition that
 pleases _everybody_.
It would be fine with me if it consider the entire math box to be like a 
word, so that if we have the text

foo bar $x=y$ cat dog

with the cursor between foo bar, pressing CTRL+Right would move cursor between 
bar and the mathbox (illustrated with $x=y$ above). Pressing CTRL+Right once 
more would move cursor to between the mathbox and the word cat.

Inside the mathboxes it is a different thing to move around. Inside I think it 
works very well (except for some special examples with formulas where you can 
have the cursor moving back and forward (or up and down) repeatedly if you 
press the same arrow key). But mostly, very nice.

I think we have had this discussion earlier, Jean-Marc. But the bugdatabase 
seems to be down at the moment.

Regards
Gunnar.


Re: new trick no work for me

2007-03-07 Thread Marcelo Acuña
  Hello,
   I am very interested in trick that I found in
  documetation (FAQ):
 
   [EMAIL PROTECTED]
 
   I put this in preamble of koma-script book with
 hope
  of no more \setcounter in every section.
   This no work. Number of footnotes no reset in
 each
  section.
   How I get it?
   Thanks
 I discoverd part of the problem:
[EMAIL PROTECTED]
 no work with section* in any way.
 For now, I not dicovered why no work with section in
my book but work in littles files.

 Marcelo

 






__ 
Preguntá. Respondé. Descubrí. 
Todo lo que querías saber, y lo que ni imaginabas, 
está en Yahoo! Respuestas (Beta). 
¡Probalo ya! 
http://www.yahoo.com.ar/respuestas 



Re: MikTeX update servers out of synch?

2007-03-07 Thread Uwe Stöhr

Tom Schlangen schrieb:


regarding the Windows installer versions of LyX, somebody else also noticed 
that the MikTeX update servers seem to be out of synch since a few days?


Yes all are 3 days out of sync, you can see this here:

http://miktex.org/Repositories.aspx

regards Uwe


Re: Cross refernces with parentheses

2007-03-07 Thread Uwe Stöhr

Gary schrieb:


I want my cross refrences to apear as (1.2) instead of 1.2.
In Latex this would be a piece of cake with \newcommand.
How do I acomplish this with Lyx?


Choose in the cross-reference window the format (reference).
(the default is reference)

regards Uwe


Very Impressive

2007-03-07 Thread Jan Peters

Dear Lyx-Developers,

I am *really* impressed ... or maybe even stunned.
The update from 1.4 to 1.5 is really a major
step for LyXkind. On a Mac, it feels every bit as
professional as a Mac App can be (wow).
The SWP guys at MacKitchan must be really scared
as hell. Congrats guys! You are doing a hell of a job,
I hardly can believe the progress.

As usual though, I would like to remind you on the few
issues which I would wish for in order to leave my beloved
SWP behind ... and with it the last reason to emulate a
Windows PC:
- more and better math toolbars Or is there an easy
way to create them ourselves?
- the few ugly parts of the equations (indices at right height,
vector arrows, \sqrt, paranthesis, \dot, \ddot etc) could be prettier.
- search and replace for equations so that replacing
$a$ in $a + 3a$ becomes easier.
- a compute and plot toolbar.
as also outlined in

http://www.jan-peters.net/Computer/LyxVsSwp

Features which would be nice are red underlining of bad spellings
and slightly improved latex imports which automatically
create environments for \begin{Example} etc :)

Keep up that great work! The days of SWP are numbered!
-Jan


Re: degree symbol in lyx on ubuntu with the Compose key

2007-03-07 Thread John Pye
Hi Michael

Thanks for replying. I tried pasting the degree symbol and viewing with
pdflatex. All looks fine. I pasted some accented latin-1 letters as
well, all worked fine.

When I ran the debug thing like you said, I got some crazy output. The
sort of thing I usually see when I've got memory-related bugs in code
I've written. The following (see below) is from opening LyX as you said,
and typing EXACTLY:

ctrl-N
right-alt ' e
right-alt ^ 0
exit via window manager [X].

The first symbol (é) showed up in LyX. The second (°) did not. Have not
pasted *all* the output, as a lot of it was repetitive stuff like this:

Init key to 65535, Greek_epsilon
isOK is 1
isOK is 1
Init key to 65535, Greek_zeta
isOK is 1
...

Thoughts?

Cheers
JP


Warning: this system's locale uses Unicode.
Language code:en_US
Setting new encoding for Qt:iso8859-1
Setting key to 4129,
KeySym is Control_L
isOK is 1
isMod is 1
isModifier true
Setting key to 78,
K␊≤S≤└ ␋⎽
␋⎽OK ␋⎽ 1
␋⎽M⎺␍ ␋⎽ 0
␊┼␌⎺␍␋┼± ␋⎽
U⎽␋┼± ␌⎺␍␊␌ ISO 8859-1
ISOE┼␌⎺␍␊␍ ⎼␊├┤⎼┼␋┼± ┴▒┌┤␊ 14
┴⎺␋␍ L≤XF┤┼␌::⎻⎼⎺␌␊⎽⎽K␊≤S≤└(␉⎺⎺⎽├::⎽␤▒⎼␊␍_⎻├⎼,
┐␊≤_└⎺␍␋°␋␊⎼::⎽├▒├␊) ▒␌├␋⎺┼ °␋⎼⎽├ ⎽␊├ ├⎺ [3]
┴⎺␋␍ L≤XF┤┼␌::⎻⎼⎺␌␊⎽⎽K␊≤S≤└(␉⎺⎺⎽├::⎽␤▒⎼␊␍_⎻├⎼,
┐␊≤_└⎺␍␋°␋␊⎼::⎽├▒├␊)▒␌├␋⎺┼ ┼⎺┬ ⎽␊├ ├⎺ [3]
┴⎺␋␍ L≤XF┤┼␌::⎻⎼⎺␌␊⎽⎽K␊≤S≤└(␉⎺⎺⎽├::⎽␤▒⎼␊␍_⎻├⎼,
┐␊≤_└⎺␍␋°␋␊⎼::⎽├▒├␊) K␊≤ [▒␌├␋⎺┼=3][C├⎼┌+N]
⎽␊┼␍␋┼± IMS├▒⎼├ ┬␋├␤ 0 ␌␤▒⎼⎽ ├⎺ 0│8603198
⎽␊┼␍␋┼± IME┼␍ ┬␋├␤ 1 ␌␤▒⎼⎽ ├⎺ 0│8603198, ├␊│├=é
S␊├├␋┼± ┐␊≤ ├⎺ 0, é
K␊≤S≤└ ␋⎽ é
␋⎽OK ␋⎽ 1
␋⎽M⎺␍ ␋⎽ 0
␊┼␌⎺␍␋┼± ␋⎽ ␋⎽⎺8859-1
U⎽␋┼± ␌⎺␍␊␌ ISO 8859-1
ISOE┼␌⎺␍␊␍ ⎼␊├┤⎼┼␋┼± ┴▒┌┤␊ 233
┴⎺␋␍ L≤XF┤┼␌::⎻⎼⎺␌␊⎽⎽K␊≤S≤└(␉⎺⎺⎽├::⎽␤▒⎼␊␍_⎻├⎼,
┐␊≤_└⎺␍␋°␋␊⎼::⎽├▒├␊) ▒␌├␋⎺┼ °␋⎼⎽├ ⎽␊├ ├⎺ [-1]
┴⎺␋␍ L≤XF┤┼␌::⎻⎼⎺␌␊⎽⎽K␊≤S≤└(␉⎺⎺⎽├::⎽␤▒⎼␊␍_⎻├⎼,
┐␊≤_└⎺␍␋°␋␊⎼::⎽├▒├␊)▒␌├␋⎺┼ ┼⎺┬ ⎽␊├ ├⎺ [-1]
┴⎺␋␍ L≤XF┤┼␌::⎻⎼⎺␌␊⎽⎽K␊≤S≤└(␉⎺⎺⎽├::⎽␤▒⎼␊␍_⎻├⎼,
┐␊≤_└⎺␍␋°␋␊⎼::⎽├▒├␊) K␊≤ [▒␌├␋⎺┼=-1][]
␋⎽T␊│├ °⎺⎼ ┐␊≤ 0 ␋⎽P⎼␋┼├ ␋⎽ 1
␋⎽T␊│├() ␋⎽ ├⎼┤␊, ␋┼⎽␊⎼├␋┼±.
C▒┼┼⎺├ ␍␊␌⎺␍␊: é
S␊┌°I┼⎽␊⎼├ ▒⎼±[◆é']
S␊├├␋┼± ┐␊≤ ├⎺ 4128,
K␊≤S≤└ ␋⎽ S␤␋°├_L
␋⎽OK ␋⎽ 1
␋⎽M⎺␍ ␋⎽ 1
␋⎽M⎺␍␋°␋␊⎼ ├⎼┤␊
⎽␊┼␍␋┼± IMS├▒⎼├ ┬␋├␤ 0 ␌␤▒⎼⎽ ├⎺ 0│8603198
⎽␊┼␍␋┼± IME┼␍ ┬␋├␤ 1 ␌␤▒⎼⎽ ├⎺ 0│8603198, ├␊│├=⁰
S␊├├␋┼± ┐␊≤ ├⎺ 0, ?
K␊≤S≤└ ␋⎽ ?
␋⎽OK ␋⎽ 1
␋⎽M⎺␍ ␋⎽ 0
␊┼␌⎺␍␋┼± ␋⎽ ␋⎽⎺8859-1
U⎽␋┼± ␌⎺␍␊␌ ISO 8859-1
O⎺°. C▒┼'├ ␊┼␌⎺␍␊ ├␤␊ ├␊│├ !
ISOE┼␌⎺␍␊␍ ⎼␊├┤⎼┼␋┼± ┴▒┌┤␊ 0
┴⎺␋␍ L≤XF┤┼␌::⎻⎼⎺␌␊⎽⎽K␊≤S≤└(␉⎺⎺⎽├::⎽␤▒⎼␊␍_⎻├⎼,
┐␊≤_└⎺␍␋°␋␊⎼::⎽├▒├␊) ▒␌├␋⎺┼ °␋⎼⎽├ ⎽␊├ ├⎺ [-1]
┴⎺␋␍ L≤XF┤┼␌::⎻⎼⎺␌␊⎽⎽K␊≤S≤└(␉⎺⎺⎽├::⎽␤▒⎼␊␍_⎻├⎼,
┐␊≤_└⎺␍␋°␋␊⎼::⎽├▒├␊)▒␌├␋⎺┼ ┼⎺┬ ⎽␊├ ├⎺ [-1]
┴⎺␋␍ L≤XF┤┼␌::⎻⎼⎺␌␊⎽⎽K␊≤S≤└(␉⎺⎺⎽├::⎽␤▒⎼␊␍_⎻├⎼,
┐␊≤_└⎺␍␋°␋␊⎼::⎽├▒├␊) K␊≤ [▒␌├␋⎺┼=-1][]
␋⎽T␊│├ °⎺⎼ ┐␊≤ 0 ␋⎽P⎼␋┼├ ␋⎽ 1
␋⎽T␊│├() ␋⎽ ├⎼┤␊, ␋┼⎽␊⎼├␋┼±.
S▒┴␊ ␌␤▒┼±␊␍ ␍⎺␌┤└␊┼├?

T␤␊ ␍⎺␌┤└␊┼├ ┼␊┬°␋┌␊1.┌≤│ ␤▒⎽ ┤┼⎽▒┴␊␍ ␌␤▒┼±␊⎽.

D⎺ ≤⎺┤ ┬▒┼├ ├⎺ ⎽▒┴␊ ├␤␊ ␍⎺␌┤└␊┼├ ⎺⎼ ␍␋⎽␌▒⎼␍ ├␤␊ ␌␤▒┼±␊⎽?
A⎽⎽┤└␋┼± ▒┼⎽┬␊⎼ ␋⎽ ▒┴␊
␋⎽␌▒⎼␍
▒┼␌␊┌
[EMAIL PROTECTED]:·$



Michael Wojcik wrote:
> John Pye wrote:
>>
>> Under Ubuntu, one can use the Keyboard preferences to set up a 'Compose'
>> key (I chose 'right ALT'). Once that is done, I can open a text editor
>> (gedit) and get all the accented characters é and ô and ñ etc very
>> nicely. I can even get the degree symbol using the sequence of keys
>> (pressed and released in sequence): right-alt ^ 0. Like so: °
>>
>> But when I move over to LyX, the accented character come out correctly,
>> but the degree symbol does not appear. Nothing appears when I use the
>> same key sequence as above.
>>
>> I can copy the degree symbol and paste into LyX using Paste External
>> Selection As Paragraphs, but I cannot generate the character directly in
>> LyX.
>
> Try running LyX with "lyx -dbg key" and see what debug output you get
> when you try to insert the degree symbol using your compose key.
>
> When you paste the degree symbol into a document, does it appear
> correctly in DVI and PDF output?
>


annoying behaviour in 1.4

2007-03-07 Thread Peter Ljunglöf

Hi,

there are some things I find annoying with 1.4.4, which behaved much  
better in 1.3.


* The most important thing is the function 'word-forward' (bound to C- 
right). Previously it moved the cursor to the end of the current word  
(or the next if it already was at the end). That's the standard  
behaviour in most word processors and text editors. Now the cursor is  
moved to the beginning of the next word. Apart from being just odd,  
there's a real problem with that: If I have the text "firstword  
[MATH] secondword", and the cursor is at "firstword", then I can not  
move (quickly) to the beginning of the [MATH] stuff, since C-right  
just moves past the math to the beginning of "secondword".


Was this change intentional, or just a mistake?

* Another (much less important) thing is the shortcut preview in the  
status bar. When I select a menu item, or execute a lyx function (via  
M-x), the shortcuts are previewed in the status bar - an excellent  
feature. But on 1.4.4, the "M", "S" and "C" modifiers are just shown  
as "?". I'm using LyX-Mac/PPC, so I guess it's a Mac specific bug.


* Also, the shortcuts shown for the menu items are not changed when I  
change the bind file, which can be slightly disrupting. This could  
also be Mac-specific I guess.


regards, Peter Ljunglöf


  ___ _  __ __ _  _   _

  peter ljunglöf, göteborgs universitet





Re: Should the Index show up in your table of contents?

2007-03-07 Thread Helge Hafting

Steve Litt wrote:

Hi all,

Should your index show up in your table of contents? 

This is a matter of taste. Some omit the index in the TOC,
because "everybody knows that the index is at the end".

Aslo, the TOC is usually not in the TOC either - everybody
knows it is at the start - and if you're looking at the TOC
then you already found it - no need to list it then!

Still, some people put the index in the TOC, especially
if they have lots of appendixes.  Or perhaps because
they don't know much about typographic tradition.
There are even those who list the TOC for "consistency".

The way I see it, the biggest problem with listing too much
optional stuff in the TOC is that sometimes the one extra
item is the one that forces a page break in the TOC. And
an extra page is cumbersome, inelegant,
and sometimes costly to print too.

Helge Hafting



How does one change the margins on one page only?

2007-03-07 Thread Steve Litt
Hi all,

How does one change the margins on one page only? I need the first page (I'm 
not using a title page -- I'm ERT'ing it) to be an image that goes paper edge 
to paper edge.

Thanks

SteveT

Steve Litt
Author: Universal Troubleshooting Process books and courseware
http://www.troubleshooters.com/


Re: How does one change the margins on one page only?

2007-03-07 Thread Sara Stymne
Hi!

The latex package "chngpage" might be useful.

/Sara

Steve Litt wrote:

>Hi all,
>
>How does one change the margins on one page only? I need the first page (I'm 
>not using a title page -- I'm ERT'ing it) to be an image that goes paper edge 
>to paper edge.
>
>Thanks
>
>SteveT
>
>Steve Litt
>Author: Universal Troubleshooting Process books and courseware
>http://www.troubleshooters.com/
>  
>



Cross refernces with parentheses

2007-03-07 Thread Gary
Hi again,

I want my cross refrences to apear as (1.2) instead of 1.2.
In Latex this would be a piece of cake with \newcommand.
How do I acomplish this with Lyx?

thanks,

Gary



Re: annoying behaviour in 1.4

2007-03-07 Thread Paul A. Rubin

Peter Ljunglöf wrote:


* The most important thing is the function 'word-forward' (bound to 
C-right). Previously it moved the cursor to the end of the current word 
(or the next if it already was at the end). That's the standard 
behaviour in most word processors and text editors. Now the cursor is 
moved to the beginning of the next word. 


I just checked a few programs.  C-right moves the cursor to the _start_ 
of the next word in: MS Office; WordPerfect; NoteTab; MS Notepad; and MS 
Wordpad.  This is on Win XP; maybe things work differently on a Mac?


/Paul



Re: degree symbol in lyx on ubuntu with the Compose key

2007-03-07 Thread Michael Wojcik

John Pye wrote:


Thanks for replying. I tried pasting the degree symbol and viewing with
pdflatex. All looks fine. I pasted some accented latin-1 letters as
well, all worked fine.


Well, that's good, anyway.


When I ran the debug thing like you said, I got some crazy output.


[I've snipped the output, in case the non-ASCII characters pose problems 
for other readers.]


It appears that LyX is producing control characters in its debug output 
here, and that's changing the output character set in the tty where you 
ran lyx.


I don't know why LyX would be doing that - if it's a bug, or caused by 
something in your environment.  It's been a long time since I ran LyX on 
Linux.  (I actually prefer a Unix/Linux environment, but because I have 
to do most of my development work on Windows, it's easier to run LyX there.)


You could probably suppress that by filtering the LyX output through 
something to strip out the control characters.  For example:


lyx -dbg key 2>&1 | tr -dc '[:print:]\n'

That should remove all characters that aren't printable, except newline.


Warning: this system's locale uses Unicode.
Language code:en_US
Setting new encoding for Qt:iso8859-1


Maybe the Unicode locale is a problem; you could try using a different 
locale, just to see if that has any effect.


Other than that, I don't have any ideas.  I haven't had to muck about 
with LyX's input handling on Linux.


--
Michael Wojcik



Re: annoying behaviour in 1.4

2007-03-07 Thread Bennett Helm

On Mar 7, 2007, at 1:14 PM, Paul A. Rubin wrote:


Peter Ljunglöf wrote:
* The most important thing is the function 'word-forward' (bound  
to C-right). Previously it moved the cursor to the end of the  
current word (or the next if it already was at the end). That's  
the standard behaviour in most word processors and text editors.  
Now the cursor is moved to the beginning of the next word.


I just checked a few programs.  C-right moves the cursor to the  
_start_ of the next word in: MS Office; WordPerfect; NoteTab; MS  
Notepad; and MS Wordpad.  This is on Win XP; maybe things work  
differently on a Mac?


Works this way as well on Mac. I think LyX's behavior ought to be  
changed to conform to this standard. (Are things different on Linux?)


Bennett

Acrobat Features (Was: Another PDF Question)

2007-03-07 Thread Richard Heck
Oisin Feeley wrote:
> On 3/6/07, Richard Heck <[EMAIL PROTECTED]> wrote:
>> Oisin Feeley wrote:
>> > Comments in PDF seem to be something that's only available using
>> the official Adobe toolchain [snip].
>> Thanks. I guess I shouldn't be surprised. But it really is silly.
> Not from the Adobe's perspective -- they're making plenty of money by
> monopolising the standard and producing the tools for that.  
Yes, of course.
> I'm not quite clear as to whether you can use the ordinary Adobe
> Reader to produce the comments though.
Yes, you can, and even on Linux. Lots of publishers are making use of
this facility now. So the only thing one needs---not that it wouldn't be
nice to have a free viewer that did the same thing---is a way to enable
the facility for PDFs one produces using free software. The AREnable
program that has been mentioned looks as if it will do this, but it runs
only on Windows. Maybe it could be adapted to Linux. But it's written in
VB.NET and uses the PDFSharp library, which is also a Windows
phenomenon. But is it possible these would run under Mono? I don't know
enough about Mono even to know how to find out.

Richard

-- 
==
Richard G Heck, Jr
Professor of Philosophy
Brown University
http://bobjweil.com/heck/
==
Get my public key from http://sks.keyserver.penguin.de
Hash: 0x1DE91F1E66FFBDEC
Learn how to sign your email using Thunderbird and GnuPG at:
http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto



Re: annoying behaviour in 1.4

2007-03-07 Thread Jürgen Spitzmüller
Bennett Helm wrote:
> (Are things different on Linux?)

No (not in OpenOffice, KWord and TextMaker; I don't have Abiword).

Jürgen


Re: annoying behaviour in 1.4

2007-03-07 Thread José Matos
On Wednesday 07 March 2007 6:37:14 pm Jürgen Spitzmüller wrote:
> Bennett Helm wrote:
> > (Are things different on Linux?)
>
> No (not in OpenOffice, KWord and TextMaker; I don't have Abiword).

  Not even in emacs. ;-)

  But vim behaves like lyx.

> Jürgen

-- 
José Abílio


Re: annoying behaviour in 1.4

2007-03-07 Thread Paul A. Rubin

Bennett Helm wrote:

On Mar 7, 2007, at 1:14 PM, Paul A. Rubin wrote:


Peter Ljunglöf wrote:
* The most important thing is the function 'word-forward' (bound to 
C-right). Previously it moved the cursor to the end of the current 
word (or the next if it already was at the end). That's the standard 
behaviour in most word processors and text editors. Now the cursor is 
moved to the beginning of the next word.


I just checked a few programs.  C-right moves the cursor to the 
_start_ of the next word in: MS Office; WordPerfect; NoteTab; MS 
Notepad; and MS Wordpad.  This is on Win XP; maybe things work 
differently on a Mac?


Works this way as well on Mac. I think LyX's behavior ought to be 
changed to conform to this standard. (Are things different on Linux?)




It already does conform.

/Paul



Re: annoying behaviour in 1.4

2007-03-07 Thread Gunnar
> moved to the beginning of the next word. Apart from being just odd,
> there's a real problem with that: If I have the text "firstword
> [MATH] secondword", and the cursor is at "firstword", then I can not
> move (quickly) to the beginning of the [MATH] stuff, since C-right
> just moves past the math to the beginning of "secondword".
>
> Was this change intentional, or just a mistake?

I think I reported it as a bug, but it was nothing that could be done, if I 
remember correctly. But I agree that it would be good if it didn't behave 
that way.


Re: Cross refernces with parentheses

2007-03-07 Thread Mircea Trandafir

Hey Gary,
I'm using Lyx 1.5.0-beta1 and the only thing I need to do is to choose
() in the dialog where it asks for the type of reference. See
the example I attached to this message.
Mircea

Gary said the following on 3/7/2007 12:12 PM:

Hi again,

I want my cross refrences to apear as (1.2) instead of 1.2.
In Latex this would be a piece of cake with \newcommand.
How do I acomplish this with Lyx?

thanks,

Gary







_
Mortgage rates as low as 4.625% - Refinance $150,000 loan for $579 a month. 
Intro*Terms  
https://www2.nextag.com/goto.jsp?product=10035=%2fst.jsp=y=mortgage_text_links_88_h27f6=y=743=4056=5117


refs.lyx
Description: Binary data


Re: annoying behaviour in 1.4

2007-03-07 Thread Jean-Marc Lasgouttes
> "Gunnar" == Gunnar  <[EMAIL PROTECTED]> writes:

>> moved to the beginning of the next word. Apart from being just odd,
>> there's a real problem with that: If I have the text "firstword
>> [MATH] secondword", and the cursor is at "firstword", then I can
>> not move (quickly) to the beginning of the [MATH] stuff, since
>> C-right just moves past the math to the beginning of "secondword".
>> 
>> Was this change intentional, or just a mistake?

Gunnar> I think I reported it as a bug, but it was nothing that could
Gunnar> be done, if I remember correctly. But I agree that it would be
Gunnar> good if it didn't behave that way.

Well, the intention is that a word is a word. If you want Ctrl+Right
to go to math insets too, would you like it to consider math insets
for spell checking too. I guess the answer is no :)

So what would be the precise definition of a word for jumping? We do
not want all insets, do we? And we have to settle on a definition that
pleases _everybody_.

JMarc


MikTeX update servers out of synch?

2007-03-07 Thread Tom Schlangen
Hello LyX List,

regarding the Windows installer versions of LyX, somebody else also noticed 
that the MikTeX update servers seem to be out of synch since a few days?

Regards,

   Tom Schlangen

-- 



Re: annoying behaviour in 1.4

2007-03-07 Thread Gunnar
> Well, the intention is that a word is a word. If you want Ctrl+Right
> to go to math insets too, would you like it to consider math insets
> for spell checking too. I guess the answer is no :)
Well, I think LyX ought to use Maple to check it for other errors than just 
spelling ;-)

> So what would be the precise definition of a word for jumping? We do
> not want all insets, do we? And we have to settle on a definition that
> pleases _everybody_.
It would be fine with me if it consider the entire "math box" to be like a 
word, so that if we have the text

foo bar $x=y$ cat dog

with the cursor between foo bar, pressing CTRL+Right would move cursor between 
bar and the mathbox (illustrated with $x=y$ above). Pressing CTRL+Right once 
more would move cursor to between the mathbox and the word cat.

Inside the mathboxes it is a different thing to move around. Inside I think it 
works very well (except for some special examples with formulas where you can 
have the cursor moving back and forward (or up and down) repeatedly if you 
press the same arrow key). But mostly, very nice.

I think we have had this discussion earlier, Jean-Marc. But the bugdatabase 
seems to be down at the moment.

Regards
Gunnar.


Re: new trick no work for me

2007-03-07 Thread Marcelo Acuña
> > Hello,
> >  I am very interested in trick that I found in
> > documetation (FAQ):
> >
> >  [EMAIL PROTECTED]
> >
> >  I put this in preamble of koma-script book with
> hope
> > of no more \setcounter in every section.
> >  This no work. Number of footnotes no reset in
> each
> > section.
> >  How I get it?
> >  Thanks
 I discoverd part of the problem:
[EMAIL PROTECTED]
 no work with section* in any way.
 For now, I not dicovered why no work with section in
my book but work in littles files.

 Marcelo

 






__ 
Preguntá. Respondé. Descubrí. 
Todo lo que querías saber, y lo que ni imaginabas, 
está en Yahoo! Respuestas (Beta). 
¡Probalo ya! 
http://www.yahoo.com.ar/respuestas 



Re: MikTeX update servers out of synch?

2007-03-07 Thread Uwe Stöhr

Tom Schlangen schrieb:


regarding the Windows installer versions of LyX, somebody else also noticed 
that the MikTeX update servers seem to be out of synch since a few days?


Yes all are 3 days out of sync, you can see this here:

http://miktex.org/Repositories.aspx

regards Uwe


Re: Cross refernces with parentheses

2007-03-07 Thread Uwe Stöhr

Gary schrieb:


I want my cross refrences to apear as (1.2) instead of 1.2.
In Latex this would be a piece of cake with \newcommand.
How do I acomplish this with Lyx?


Choose in the cross-reference window the format "()".
(the default is "")

regards Uwe


Very Impressive

2007-03-07 Thread Jan Peters

Dear Lyx-Developers,

I am *really* impressed ... or maybe even stunned.
The update from 1.4 to 1.5 is really a major
step for LyXkind. On a Mac, it feels every bit as
professional as a Mac App can be (wow).
The SWP guys at MacKitchan must be really scared
as hell. Congrats guys! You are doing a hell of a job,
I hardly can believe the progress.

As usual though, I would like to remind you on the few
issues which I would wish for in order to leave my beloved
SWP behind ... and with it the last reason to emulate a
Windows PC:
- more and better math toolbars Or is there an easy
way to create them ourselves?
- the few ugly parts of the equations (indices at right height,
vector arrows, \sqrt, paranthesis, \dot, \ddot etc) could be prettier.
- search and replace for equations so that replacing
$a$ in $a + 3a$ becomes easier.
- a compute and plot toolbar.
as also outlined in

http://www.jan-peters.net/Computer/LyxVsSwp

Features which would be nice are red underlining of bad spellings
and slightly improved latex imports which automatically
create environments for \begin{Example} etc :)

Keep up that great work! The days of SWP are numbered!
-Jan