Re: Problem in trying to add Label in math mode which is in a box

2004-08-12 Thread Uwe Sthr
Hannan Sadar wrote:
That problem I dealt with was not to create the box and inside it 
to insert my equation, it was when i re-open the file, the equation was 
not in side the box. I do not know if it is a bug or not.
These are two well known bugs, see
http://bugzilla.lyx.org/show_bug.cgi?id=1435
and
http://bugzilla.lyx.org/show_bug.cgi?id=1595
regards Uwe


Bibliograph References

2004-08-12 Thread Renato Gomes Damas
Hi everybody,

I am writting a text that is so long, so I divived it in small files which contains 
just only one chapter.
My problem is that the  references is put in the end of each chapter, but I want the 
all of them were put in the end of the document.
How do I do it?

Laboratório de Mecânica Computacional - FEC/UNICAMP
Renato Gomes Damas



Re: woe with indexing

2004-08-12 Thread stephan beal
On Wednesday 11 August 2004 21:19, Herbert Voss wrote:
 you have a lot of errors in your code.

It's not MY code, it's LyX's code ;). i just do the typing.
i find it extremely disappointing that lyx allows me to enter invalid 
entries using the Index entry dialog!!!

 - the underscore is _math_ character, so you cannot use it as
text character. You have a lot of labels like blah_blah. A safe
way is to use here blah-blah

i didn't know that.

 - same for a lot of the index entries. They always should use
the \_ characters for the text underscore. And by the way,
where is the sense to put section titles into the index? For
this you have the table of contents.

i don't see anything fundamentally wrong with putting section number 
text into the index. It's just text, after all, and the TOC is not 
alphabetized like the index is.

 - in some items you also forget the backslash at the underscores.
 -  \item class_name\\   this is senseless, use  in textmode
 - \(\)  are the characters for the inline mathmode, what
 you mean is only ()

i tried \\ as a last resort, trying to get rid of the error messages. 
If i now change the entry to, e.g., foo, i get a whole slew of 
complete unrelated errors going all the way back to the title line.

 you can try to use the underscore package in the preamble, then
 have to fix only the errors for the last three items.

i will go through and get rid of all the underscores in the index, but 
i've got to say, i'm NOT at all happy about that. For example, i'm 
indexing C++ class names, like foo_bar.

 I corrected the exported tex file, because the error handling
 with the error boxes inside LyX is a mess. Give me your
 private email and I'll send you the tex file.

i appreciate that, but the tex itself won't do me much good. i don't 
know tex, which is why i use LyX.

Thanks VERY much for your feedback!

-- 
- [EMAIL PROTECTED]   http://s11n.net
...pleasure is a grace and is not obedient to the commands
of the will. -- Alan W. Watts


figure captions

2004-08-12 Thread Miki Dovrat
This is probably more of a latex question:
In the article class, the figure captions seem to be centered. The 
Layout-Paragraph-General-Alignment tab seems not to make any difference.

I would very much like the figure captions to be left and right 
justified (while the figure stays centered - this can be controlled from 
the layout paragraph tab).

I don't know enough TeX to mess around with it. Can anyone help?
Thanks



Re: woe with indexing

2004-08-12 Thread William F. Adams
On Thursday, August 12, 2004, at 09:36  AM, stephan beal wrote:
But if i delete it or rename it to, e.g., foo i get even MORE errors.
As Herbert noted, special characters which have special meanings aren't 
changed by LyX when entered into an index field --- this probably 
qualifies as a bug, or at least should be mentioned in the manual.

If you take HV up on getting the tex file, you can then re-import it 
into LyX and have a good file which you can examine to learn how to 
enter such special characters into index fields.

William
--
William Adams, publishing specialist
voice - 717-731-6707 | Fax - 717-731-6708
www.atlis.com


English headings in French documents

2004-08-12 Thread Catherine Heyrendt
I'm writing my phD thesis in French with Lyx, but my headings (Part I, 
Chapter I) appear in English rather than in French (Première partie, 
Chapitre I). My format is book, the language of the document set to 
French. What can I do?

Re: English headings in French documents

2004-08-12 Thread Catherine Heyrendt

Someone suggested that I did select all and set all the characters to 
French. This works but misses the point: I have a large number of 
quotations in English, and if I set them as French, the punctuation goes 
wrong (ie it adds spaces before colons and semi-colons and similar 
things). What I'd like is to be able to get French headings in a document 
set to French that has English quotations in. Any ideas, or am I being 
too demanding?


I'm writing my phD thesis in French with Lyx, but my headings (Part I, 
Chapter I) appear in English rather than in French (Première partie, Chapitre 
I). My format is book, the language of the document set to French. What 
can I do?

proposal for bug fix vis-a-vis index entries

2004-08-12 Thread stephan beal
@lyx developers,

i'd look at doing this fix myself, but i'm on a dialup line, paying for 
each minute online, and the lyx tarball is 5M+.

For the Qt interface, it seems it would be trivial to fix the Index Item 
entry dialog to automatically escape any illegal characters, like _. 

QString::replace(_,\\_) should do the trick, and would be trivial to 
add to the slot which handles the OK button (though i don't know if 
that slot has access to the string itself).

Alternately, instead of automatic escaping, a warning dialog explaining 
that the entry contains some illegal char(s) would be acceptable, and 
could be done using Qt::QRegExp with little effort.

For non-Qt interfaces, std::string's replace() could be used, though it 
requires more work than Qt::String. (But i have no idea if lyx uses the 
STL.)

The fact that the dialog allows one to enter invalid data has caused me 
NO END of grief. Adding a single underscore to one index entry causes 
errors in completely unrelated parts of the doc when exporting, and 
tracking down the problem is really difficult (as is shown by my 
frustrated posts on the topic), especially since Idx entries aren't 
visible until clicked on (maybe an Expand/View Index Entries option, 
like the one for Footnotes, is feasible?). IMO a dialog box should not 
allow you to enter data which is itself illegal for the program the 
dialog is serving, especially when it *silently* does so.



-- 
- [EMAIL PROTECTED]   http://s11n.net
...pleasure is a grace and is not obedient to the commands
of the will. -- Alan W. Watts


Re: woe with indexing

2004-08-12 Thread stephan beal
On Wednesday 11 August 2004 21:19, Herbert Voss wrote:
 stephan beal wrote:
  But deleting the broken IDX entry just causes MORE errors. i don't
  get it 

Just FYI, after nuking all IDX entries i've gotten it to work, and am 
now happily re-indexing my document.

Now it's time for me to go hack lyxport so it can run makeindex... 
(lyxport-exported docs are missing the index).

On Wednesday 11 August 2004 21:19, Herbert Voss wrote:
 - the underscore is _math_ character, so you cannot use it as
    text character. You have a lot of labels like blah_blah. A safe
    way is to use here blah-blah
 - same for a lot of the index entries.
 - in some items you also forget the backslash at the underscores.
 -  \item class_name\\   this is senseless, use  in textmode
 - \(\)  are the characters for the inline mathmode, what
     you mean is only ()

@Lyx maintainers:

qHow about adding this to the Indexing docs? The current text says 
essentially, just do this... click click, done, without any warnings 
about what is legal and what is not.


-- 
- [EMAIL PROTECTED]   http://s11n.net
...pleasure is a grace and is not obedient to the commands
of the will. -- Alan W. Watts


Re: woe with indexing

2004-08-12 Thread stephan beal
On Thursday 12 August 2004 16:33, William F. Adams wrote:
 If you take HV up on getting the tex file, you can then re-import it
 into LyX and have a good file which you can examine to learn how to
 enter such special characters into index fields.

That's a very good idea. Thanks :)

Regarding IDX entries on the same lines as Section labels:

 Right, but by putting it into the section head, it'll then _also_
 appear in the ToC, and that will appear in the index as well, which
 you probably don't want, possibly also in the running head (this
 depends on the documentclass and settings for running heads)

i went through today and removed the IDXs from the sections, moving them 
down a line. This actually violates the suggestions in the docs, which 
say to put it on the same line as word, but i'm not terribly concerned 
about a 1-line difference which *might* lead to an off-by-one page 
number.


-- 
- [EMAIL PROTECTED]   http://s11n.net
...pleasure is a grace and is not obedient to the commands
of the will. -- Alan W. Watts


Entering equations

2004-08-12 Thread zong chen
Hi,

I am trying out LyX, but find it a bit difficult to enter equations, as the boxes for 
entering sub and super script on e.g. summations, are very small. Is there a way to 
magnify the equation editor?
-- 
_
Web-based SMS services available at http://www.operamail.com.
From your mailbox to local or overseas cell phones.

Powered by Outblaze


indexing question

2004-08-12 Thread stephan beal
Yo,

i've noticed with indexing that PDF exports show the page numbers in the 
index and HTML exports show section numbers. Is there a way to get PDF 
exports to use the section number in the index, or to show both section 
# and page number?

Not a big deal, just curious. Some pages in my docs have multiple 
sections, so the page number references are a bit vague.

Thanks in advance,

(PS: i'm sub'd to this list, so there is no need to CC me on responses.)

-- 
- [EMAIL PROTECTED]   http://s11n.net
...pleasure is a grace and is not obedient to the commands
of the will. -- Alan W. Watts


Re: woe with indexing

2004-08-12 Thread William F. Adams
On Thursday, August 12, 2004, at 07:55  PM, stephan beal wrote:
Right, but by putting it into the section head, it'll then _also_
appear in the ToC, and that will appear in the index as well, which
you probably don't want, possibly also in the running head (this
depends on the documentclass and settings for running heads)
i went through today and removed the IDXs from the sections, moving 
them
down a line. This actually violates the suggestions in the docs, which
say to put it on the same line as word, but i'm not terribly concerned
about a 1-line difference which *might* lead to an off-by-one page
number.
Won't happen. Besides, word is not a section head.
LaTeX will _not_ (barring user manipulation / mangling) break a page 
between a section head and the following text.

It's smart that way ;)
William
--
William Adams, publishing specialist
voice - 717-731-6707 | Fax - 717-731-6708
www.atlis.com


Re: woe with indexing

2004-08-12 Thread Fernando Perez
Hi Stephan,


stephan beal wrote:

 Now it's time for me to go hack lyxport so it can run makeindex...
 (lyxport-exported docs are missing the index).

I saw this accidentally, I almost never read the lyx lists anymore.  If you get
this to work, send the mods/patch my way, and I'll put up a new version on the
usual site.  At least that way others will benefit from your enhancements
(even if I don't really work on lyxport anymore).

Best,

f



Re: Entering equations

2004-08-12 Thread William F. Adams
On Thursday, August 12, 2004, at 08:38  PM, zong chen wrote:
I am trying out LyX, but find it a bit difficult to enter equations, 
as the boxes for entering sub and super script on e.g. summations, are 
very small. Is there a way to magnify the equation editor?
I'd like this too --- didn't we discuss this in the past and I noted 
that while the QT version of LyX for Windows supported (some versions / 
implementations of) HWR, it was awkward to enter equations 'cause the 
boxes were so small?

A bit bigger all around please --- screens are getting larger and (to a 
certain extent) higher resolution all the time, so ``e aho la ula'' (or 
whatever the Hawai'ian is for ``wider is better'')

William
--
William Adams, publishing specialist
voice - 717-731-6707 | Fax - 717-731-6708
www.atlis.com


Re: Problem in trying to add Label in math mode which is in a box

2004-08-12 Thread Uwe Sthr
Hannan Sadar wrote:
That problem I dealt with was not to create the box and inside it 
to insert my equation, it was when i re-open the file, the equation was 
not in side the box. I do not know if it is a bug or not.
These are two well known bugs, see
http://bugzilla.lyx.org/show_bug.cgi?id=1435
and
http://bugzilla.lyx.org/show_bug.cgi?id=1595
regards Uwe


Bibliograph References

2004-08-12 Thread Renato Gomes Damas
Hi everybody,

I am writting a text that is so long, so I divived it in small files which contains 
just only one chapter.
My problem is that the  references is put in the end of each chapter, but I want the 
all of them were put in the end of the document.
How do I do it?

Laboratório de Mecânica Computacional - FEC/UNICAMP
Renato Gomes Damas



Re: woe with indexing

2004-08-12 Thread stephan beal
On Wednesday 11 August 2004 21:19, Herbert Voss wrote:
 you have a lot of errors in your code.

It's not MY code, it's LyX's code ;). i just do the typing.
i find it extremely disappointing that lyx allows me to enter invalid 
entries using the Index entry dialog!!!

 - the underscore is _math_ character, so you cannot use it as
text character. You have a lot of labels like blah_blah. A safe
way is to use here blah-blah

i didn't know that.

 - same for a lot of the index entries. They always should use
the \_ characters for the text underscore. And by the way,
where is the sense to put section titles into the index? For
this you have the table of contents.

i don't see anything fundamentally wrong with putting section number 
text into the index. It's just text, after all, and the TOC is not 
alphabetized like the index is.

 - in some items you also forget the backslash at the underscores.
 -  \item class_name\\   this is senseless, use  in textmode
 - \(\)  are the characters for the inline mathmode, what
 you mean is only ()

i tried \\ as a last resort, trying to get rid of the error messages. 
If i now change the entry to, e.g., foo, i get a whole slew of 
complete unrelated errors going all the way back to the title line.

 you can try to use the underscore package in the preamble, then
 have to fix only the errors for the last three items.

i will go through and get rid of all the underscores in the index, but 
i've got to say, i'm NOT at all happy about that. For example, i'm 
indexing C++ class names, like foo_bar.

 I corrected the exported tex file, because the error handling
 with the error boxes inside LyX is a mess. Give me your
 private email and I'll send you the tex file.

i appreciate that, but the tex itself won't do me much good. i don't 
know tex, which is why i use LyX.

Thanks VERY much for your feedback!

-- 
- [EMAIL PROTECTED]   http://s11n.net
...pleasure is a grace and is not obedient to the commands
of the will. -- Alan W. Watts


figure captions

2004-08-12 Thread Miki Dovrat
This is probably more of a latex question:
In the article class, the figure captions seem to be centered. The 
Layout-Paragraph-General-Alignment tab seems not to make any difference.

I would very much like the figure captions to be left and right 
justified (while the figure stays centered - this can be controlled from 
the layout paragraph tab).

I don't know enough TeX to mess around with it. Can anyone help?
Thanks



Re: woe with indexing

2004-08-12 Thread William F. Adams
On Thursday, August 12, 2004, at 09:36  AM, stephan beal wrote:
But if i delete it or rename it to, e.g., foo i get even MORE errors.
As Herbert noted, special characters which have special meanings aren't 
changed by LyX when entered into an index field --- this probably 
qualifies as a bug, or at least should be mentioned in the manual.

If you take HV up on getting the tex file, you can then re-import it 
into LyX and have a good file which you can examine to learn how to 
enter such special characters into index fields.

William
--
William Adams, publishing specialist
voice - 717-731-6707 | Fax - 717-731-6708
www.atlis.com


English headings in French documents

2004-08-12 Thread Catherine Heyrendt
I'm writing my phD thesis in French with Lyx, but my headings (Part I, 
Chapter I) appear in English rather than in French (Première partie, 
Chapitre I). My format is book, the language of the document set to 
French. What can I do?

Re: English headings in French documents

2004-08-12 Thread Catherine Heyrendt

Someone suggested that I did select all and set all the characters to 
French. This works but misses the point: I have a large number of 
quotations in English, and if I set them as French, the punctuation goes 
wrong (ie it adds spaces before colons and semi-colons and similar 
things). What I'd like is to be able to get French headings in a document 
set to French that has English quotations in. Any ideas, or am I being 
too demanding?


I'm writing my phD thesis in French with Lyx, but my headings (Part I, 
Chapter I) appear in English rather than in French (Première partie, Chapitre 
I). My format is book, the language of the document set to French. What 
can I do?

proposal for bug fix vis-a-vis index entries

2004-08-12 Thread stephan beal
@lyx developers,

i'd look at doing this fix myself, but i'm on a dialup line, paying for 
each minute online, and the lyx tarball is 5M+.

For the Qt interface, it seems it would be trivial to fix the Index Item 
entry dialog to automatically escape any illegal characters, like _. 

QString::replace(_,\\_) should do the trick, and would be trivial to 
add to the slot which handles the OK button (though i don't know if 
that slot has access to the string itself).

Alternately, instead of automatic escaping, a warning dialog explaining 
that the entry contains some illegal char(s) would be acceptable, and 
could be done using Qt::QRegExp with little effort.

For non-Qt interfaces, std::string's replace() could be used, though it 
requires more work than Qt::String. (But i have no idea if lyx uses the 
STL.)

The fact that the dialog allows one to enter invalid data has caused me 
NO END of grief. Adding a single underscore to one index entry causes 
errors in completely unrelated parts of the doc when exporting, and 
tracking down the problem is really difficult (as is shown by my 
frustrated posts on the topic), especially since Idx entries aren't 
visible until clicked on (maybe an Expand/View Index Entries option, 
like the one for Footnotes, is feasible?). IMO a dialog box should not 
allow you to enter data which is itself illegal for the program the 
dialog is serving, especially when it *silently* does so.



-- 
- [EMAIL PROTECTED]   http://s11n.net
...pleasure is a grace and is not obedient to the commands
of the will. -- Alan W. Watts


Re: woe with indexing

2004-08-12 Thread stephan beal
On Wednesday 11 August 2004 21:19, Herbert Voss wrote:
 stephan beal wrote:
  But deleting the broken IDX entry just causes MORE errors. i don't
  get it 

Just FYI, after nuking all IDX entries i've gotten it to work, and am 
now happily re-indexing my document.

Now it's time for me to go hack lyxport so it can run makeindex... 
(lyxport-exported docs are missing the index).

On Wednesday 11 August 2004 21:19, Herbert Voss wrote:
 - the underscore is _math_ character, so you cannot use it as
    text character. You have a lot of labels like blah_blah. A safe
    way is to use here blah-blah
 - same for a lot of the index entries.
 - in some items you also forget the backslash at the underscores.
 -  \item class_name\\   this is senseless, use  in textmode
 - \(\)  are the characters for the inline mathmode, what
     you mean is only ()

@Lyx maintainers:

qHow about adding this to the Indexing docs? The current text says 
essentially, just do this... click click, done, without any warnings 
about what is legal and what is not.


-- 
- [EMAIL PROTECTED]   http://s11n.net
...pleasure is a grace and is not obedient to the commands
of the will. -- Alan W. Watts


Re: woe with indexing

2004-08-12 Thread stephan beal
On Thursday 12 August 2004 16:33, William F. Adams wrote:
 If you take HV up on getting the tex file, you can then re-import it
 into LyX and have a good file which you can examine to learn how to
 enter such special characters into index fields.

That's a very good idea. Thanks :)

Regarding IDX entries on the same lines as Section labels:

 Right, but by putting it into the section head, it'll then _also_
 appear in the ToC, and that will appear in the index as well, which
 you probably don't want, possibly also in the running head (this
 depends on the documentclass and settings for running heads)

i went through today and removed the IDXs from the sections, moving them 
down a line. This actually violates the suggestions in the docs, which 
say to put it on the same line as word, but i'm not terribly concerned 
about a 1-line difference which *might* lead to an off-by-one page 
number.


-- 
- [EMAIL PROTECTED]   http://s11n.net
...pleasure is a grace and is not obedient to the commands
of the will. -- Alan W. Watts


Entering equations

2004-08-12 Thread zong chen
Hi,

I am trying out LyX, but find it a bit difficult to enter equations, as the boxes for 
entering sub and super script on e.g. summations, are very small. Is there a way to 
magnify the equation editor?
-- 
_
Web-based SMS services available at http://www.operamail.com.
From your mailbox to local or overseas cell phones.

Powered by Outblaze


indexing question

2004-08-12 Thread stephan beal
Yo,

i've noticed with indexing that PDF exports show the page numbers in the 
index and HTML exports show section numbers. Is there a way to get PDF 
exports to use the section number in the index, or to show both section 
# and page number?

Not a big deal, just curious. Some pages in my docs have multiple 
sections, so the page number references are a bit vague.

Thanks in advance,

(PS: i'm sub'd to this list, so there is no need to CC me on responses.)

-- 
- [EMAIL PROTECTED]   http://s11n.net
...pleasure is a grace and is not obedient to the commands
of the will. -- Alan W. Watts


Re: woe with indexing

2004-08-12 Thread William F. Adams
On Thursday, August 12, 2004, at 07:55  PM, stephan beal wrote:
Right, but by putting it into the section head, it'll then _also_
appear in the ToC, and that will appear in the index as well, which
you probably don't want, possibly also in the running head (this
depends on the documentclass and settings for running heads)
i went through today and removed the IDXs from the sections, moving 
them
down a line. This actually violates the suggestions in the docs, which
say to put it on the same line as word, but i'm not terribly concerned
about a 1-line difference which *might* lead to an off-by-one page
number.
Won't happen. Besides, word is not a section head.
LaTeX will _not_ (barring user manipulation / mangling) break a page 
between a section head and the following text.

It's smart that way ;)
William
--
William Adams, publishing specialist
voice - 717-731-6707 | Fax - 717-731-6708
www.atlis.com


Re: woe with indexing

2004-08-12 Thread Fernando Perez
Hi Stephan,


stephan beal wrote:

 Now it's time for me to go hack lyxport so it can run makeindex...
 (lyxport-exported docs are missing the index).

I saw this accidentally, I almost never read the lyx lists anymore.  If you get
this to work, send the mods/patch my way, and I'll put up a new version on the
usual site.  At least that way others will benefit from your enhancements
(even if I don't really work on lyxport anymore).

Best,

f



Re: Entering equations

2004-08-12 Thread William F. Adams
On Thursday, August 12, 2004, at 08:38  PM, zong chen wrote:
I am trying out LyX, but find it a bit difficult to enter equations, 
as the boxes for entering sub and super script on e.g. summations, are 
very small. Is there a way to magnify the equation editor?
I'd like this too --- didn't we discuss this in the past and I noted 
that while the QT version of LyX for Windows supported (some versions / 
implementations of) HWR, it was awkward to enter equations 'cause the 
boxes were so small?

A bit bigger all around please --- screens are getting larger and (to a 
certain extent) higher resolution all the time, so ``e aho la ula'' (or 
whatever the Hawai'ian is for ``wider is better'')

William
--
William Adams, publishing specialist
voice - 717-731-6707 | Fax - 717-731-6708
www.atlis.com


Re: Problem in trying to add Label in math mode which is in a box

2004-08-12 Thread Uwe Stöhr
Hannan Sadar wrote:
That problem I dealt with was not to create the box and inside it 
to insert my equation, it was when i re-open the file, the equation was 
not in side the box. I do not know if it is a bug or not.
These are two well known bugs, see
http://bugzilla.lyx.org/show_bug.cgi?id=1435
and
http://bugzilla.lyx.org/show_bug.cgi?id=1595
regards Uwe


Bibliograph References

2004-08-12 Thread Renato Gomes Damas
Hi everybody,

I am writting a text that is so long, so I divived it in small files which contains 
just only one chapter.
My problem is that the  references is put in the end of each chapter, but I want the 
all of them were put in the end of the document.
How do I do it?

Laboratório de Mecânica Computacional - FEC/UNICAMP
Renato Gomes Damas



Re: woe with indexing

2004-08-12 Thread stephan beal
On Wednesday 11 August 2004 21:19, Herbert Voss wrote:
> you have a lot of errors in your code.

It's not MY code, it's LyX's code ;). i just do the typing.
i find it extremely disappointing that lyx allows me to enter invalid 
entries using the Index entry dialog!!!

> - the underscore is _math_ character, so you cannot use it as
>text character. You have a lot of labels like blah_blah. A safe
>way is to use here blah-blah

i didn't know that.

> - same for a lot of the index entries. They always should use
>the \_ characters for the text underscore. And by the way,
>where is the sense to put section titles into the index? For
>this you have the table of contents.

i don't see anything fundamentally wrong with putting section number 
text into the index. It's just text, after all, and the TOC is not 
alphabetized like the index is.

> - in some items you also forget the backslash at the underscores.
> -  \item class_name\<\>   this is senseless, use <> in textmode
> - \(\)  are the characters for the inline mathmode, what
> you mean is only ()

i tried \<\> as a last resort, trying to get rid of the error messages. 
If i now change the entry to, e.g., "foo", i get a whole slew of 
complete unrelated errors going all the way back to the title line.

> you can try to use the underscore package in the preamble, then
> have to fix only the errors for the last three items.

i will go through and get rid of all the underscores in the index, but 
i've got to say, i'm NOT at all happy about that. For example, i'm 
indexing C++ class names, like foo_bar.

> I corrected the exported tex file, because the error handling
> with the error boxes inside LyX is a mess. Give me your
> private email and I'll send you the tex file.

i appreciate that, but the tex itself won't do me much good. i don't 
know tex, which is why i use LyX.

Thanks VERY much for your feedback!

-- 
- [EMAIL PROTECTED]   http://s11n.net
"...pleasure is a grace and is not obedient to the commands
of the will." -- Alan W. Watts


figure captions

2004-08-12 Thread Miki Dovrat
This is probably more of a latex question:
In the article class, the figure captions seem to be centered. The 
Layout->Paragraph->General->Alignment tab seems not to make any difference.

I would very much like the figure captions to be left and right 
justified (while the figure stays centered - this can be controlled from 
the layout paragraph tab).

I don't know enough TeX to mess around with it. Can anyone help?
Thanks



Re: woe with indexing

2004-08-12 Thread William F. Adams
On Thursday, August 12, 2004, at 09:36  AM, stephan beal wrote:
But if i delete it or rename it to, e.g., "foo" i get even MORE errors.
As Herbert noted, special characters which have special meanings aren't 
changed by LyX when entered into an index field --- this probably 
qualifies as a bug, or at least should be mentioned in the manual.

If you take HV up on getting the tex file, you can then re-import it 
into LyX and have a good file which you can examine to learn how to 
enter such special characters into index fields.

William
--
William Adams, publishing specialist
voice - 717-731-6707 | Fax - 717-731-6708
www.atlis.com


English headings in French documents

2004-08-12 Thread Catherine Heyrendt
I'm writing my phD thesis in French with Lyx, but my headings (Part I, 
Chapter I) appear in English rather than in French (Première partie, 
Chapitre I). My format is "book", the language of the document set to 
"French". What can I do?

Re: English headings in French documents

2004-08-12 Thread Catherine Heyrendt

Someone suggested that I did "select all" and set all the characters to 
"French". This works but misses the point: I have a large number of 
quotations in English, and if I set them as French, the punctuation goes 
wrong (ie it adds spaces before colons and semi-colons and similar 
things). What I'd like is to be able to get French headings in a document 
set to "French" that has English quotations in. Any ideas, or am I being 
too demanding?


I'm writing my phD thesis in French with Lyx, but my headings (Part I, 
Chapter I) appear in English rather than in French (Première partie, Chapitre 
I). My format is "book", the language of the document set to "French". What 
can I do?

proposal for bug fix vis-a-vis index entries

2004-08-12 Thread stephan beal
@lyx developers,

i'd look at doing this fix myself, but i'm on a dialup line, paying for 
each minute online, and the lyx tarball is 5M+.

For the Qt interface, it seems it would be trivial to fix the Index Item 
entry dialog to automatically escape any illegal characters, like "_". 

QString::replace("_","\\_") should do the trick, and would be trivial to 
add to the slot which handles the OK button (though i don't know if 
that slot has access to the string itself).

Alternately, instead of automatic escaping, a warning dialog explaining 
that the entry contains some illegal char(s) would be acceptable, and 
could be done using Qt::QRegExp with little effort.

For non-Qt interfaces, std::string's replace() could be used, though it 
requires more work than Qt::String. (But i have no idea if lyx uses the 
STL.)

The fact that the dialog allows one to enter invalid data has caused me 
NO END of grief. Adding a single underscore to one index entry causes 
errors in completely unrelated parts of the doc when exporting, and 
tracking down the problem is really difficult (as is shown by my 
frustrated posts on the topic), especially since Idx entries aren't 
visible until clicked on (maybe an Expand/View Index Entries option, 
like the one for Footnotes, is feasible?). IMO a dialog box should not 
allow you to enter data which is itself illegal for the program the 
dialog is serving, especially when it *silently* does so.



-- 
- [EMAIL PROTECTED]   http://s11n.net
"...pleasure is a grace and is not obedient to the commands
of the will." -- Alan W. Watts


Re: woe with indexing

2004-08-12 Thread stephan beal
On Wednesday 11 August 2004 21:19, Herbert Voss wrote:
> stephan beal wrote:
> > But deleting the broken IDX entry just causes MORE errors. i don't
> > get it 

Just FYI, after nuking all IDX entries i've gotten it to work, and am 
now happily re-indexing my document.

Now it's time for me to go hack lyxport so it can run makeindex... 
(lyxport-exported docs are missing the index).

On Wednesday 11 August 2004 21:19, Herbert Voss wrote:
> - the underscore is _math_ character, so you cannot use it as
>    text character. You have a lot of labels like blah_blah. A safe
>    way is to use here blah-blah
> - same for a lot of the index entries.
> - in some items you also forget the backslash at the underscores.
> -  \item class_name\<\>   this is senseless, use <> in textmode
> - \(\)  are the characters for the inline mathmode, what
>     you mean is only ()

@Lyx maintainers:

qHow about adding this to the Indexing docs? The current text says 
essentially, "just do this... click click, done", without any warnings 
about what is legal and what is not.


-- 
- [EMAIL PROTECTED]   http://s11n.net
"...pleasure is a grace and is not obedient to the commands
of the will." -- Alan W. Watts


Re: woe with indexing

2004-08-12 Thread stephan beal
On Thursday 12 August 2004 16:33, William F. Adams wrote:
> If you take HV up on getting the tex file, you can then re-import it
> into LyX and have a good file which you can examine to learn how to
> enter such special characters into index fields.

That's a very good idea. Thanks :)

Regarding IDX entries on the same lines as Section labels:

> Right, but by putting it into the section head, it'll then _also_
> appear in the ToC, and that will appear in the index as well, which
> you probably don't want, possibly also in the running head (this
> depends on the documentclass and settings for running heads)

i went through today and removed the IDXs from the sections, moving them 
down a line. This actually violates the suggestions in the docs, which 
say to put it on the same line as word, but i'm not terribly concerned 
about a 1-line difference which *might* lead to an off-by-one page 
number.


-- 
- [EMAIL PROTECTED]   http://s11n.net
"...pleasure is a grace and is not obedient to the commands
of the will." -- Alan W. Watts


Entering equations

2004-08-12 Thread zong chen
Hi,

I am trying out LyX, but find it a bit difficult to enter equations, as the boxes for 
entering sub and super script on e.g. summations, are very small. Is there a way to 
magnify the equation editor?
-- 
_
Web-based SMS services available at http://www.operamail.com.
>From your mailbox to local or overseas cell phones.

Powered by Outblaze


indexing question

2004-08-12 Thread stephan beal
Yo,

i've noticed with indexing that PDF exports show the page numbers in the 
index and HTML exports show section numbers. Is there a way to get PDF 
exports to use the section number in the index, or to show both section 
# and page number?

Not a big deal, just curious. Some pages in my docs have multiple 
sections, so the page number references are a bit vague.

Thanks in advance,

(PS: i'm sub'd to this list, so there is no need to CC me on responses.)

-- 
- [EMAIL PROTECTED]   http://s11n.net
"...pleasure is a grace and is not obedient to the commands
of the will." -- Alan W. Watts


Re: woe with indexing

2004-08-12 Thread William F. Adams
On Thursday, August 12, 2004, at 07:55  PM, stephan beal wrote:
Right, but by putting it into the section head, it'll then _also_
appear in the ToC, and that will appear in the index as well, which
you probably don't want, possibly also in the running head (this
depends on the documentclass and settings for running heads)
i went through today and removed the IDXs from the sections, moving 
them
down a line. This actually violates the suggestions in the docs, which
say to put it on the same line as word, but i'm not terribly concerned
about a 1-line difference which *might* lead to an off-by-one page
number.
Won't happen. Besides, word is not a section head.
LaTeX will _not_ (barring user manipulation / mangling) break a page 
between a section head and the following text.

It's smart that way ;)
William
--
William Adams, publishing specialist
voice - 717-731-6707 | Fax - 717-731-6708
www.atlis.com


Re: woe with indexing

2004-08-12 Thread Fernando Perez
Hi Stephan,


stephan beal wrote:

> Now it's time for me to go hack lyxport so it can run makeindex...
> (lyxport-exported docs are missing the index).

I saw this accidentally, I almost never read the lyx lists anymore.  If you get
this to work, send the mods/patch my way, and I'll put up a new version on the
usual site.  At least that way others will benefit from your enhancements
(even if I don't really work on lyxport anymore).

Best,

f



Re: Entering equations

2004-08-12 Thread William F. Adams
On Thursday, August 12, 2004, at 08:38  PM, zong chen wrote:
I am trying out LyX, but find it a bit difficult to enter equations, 
as the boxes for entering sub and super script on e.g. summations, are 
very small. Is there a way to magnify the equation editor?
I'd like this too --- didn't we discuss this in the past and I noted 
that while the QT version of LyX for Windows supported (some versions / 
implementations of) HWR, it was awkward to enter equations 'cause the 
boxes were so small?

A bit bigger all around please --- screens are getting larger and (to a 
certain extent) higher resolution all the time, so ``e aho la ula'' (or 
whatever the Hawai'ian is for ``wider is better'')

William
--
William Adams, publishing specialist
voice - 717-731-6707 | Fax - 717-731-6708
www.atlis.com