Re: LongTable and MiniPage

2001-04-25 Thread Herbert Voss

Jacek M. Holeczek wrote:
 
 Hi,
 I've met the following problem.
 I would need a LongTable (Table Layout - Spec. Table - Longtable)
 which is inside of a MiniPage (Layout - Paragraph Environment -
 ParagraphExtra Layout - [Minipage + Width - 100%]).
 As long as I have the LongTable outside of the MiniPage it is correctly
 split over many pages.
 As soon as I switch the MiniPage on, the table is placed on one
 (single) page, up to the end of this page, and is cut (just the beginning
 is there).

a MINIpage is a minipage ... ;-)
why do you need it for a long table? this makes no sense (for me)

Herbert

-- 
http:[EMAIL PROTECTED]



Re: LongTable and MiniPage

2001-04-25 Thread Jacek M. Holeczek

Many thanks for your reply.

 This is how minipages work.
Let me ask a small question on this occasion - do you mean that a minipage
will NEVER be split over pages (even if it is just a long piece of text) ?

 Why do you need it inside a minipage?
On principle because I have a lng table with quite a lot of
footnotes in it. So I just wanted to have a separate minipage with this
table (and embedded footnotes).
But ... if this is not possible ... I think I can also live with the
longtable and footnotes in the bottom of the page.
Best regards,
Jacek.
P.S. May I ask an unrelated question - when is the 1.1.6fix2 planed ?




Re: Lyx*geometry not understood by 1.1.6fix1

2001-04-25 Thread Ralph L. Meyer

Hi Guenter...
I had the same problem.  The only way I found around it was to include
the command line command in a start button on the Enlightenment start
bar.  LyX does not seem to want to respond to the .Xdefaults file at
all.  Also, since I'm using a hi-res screen, I couldn't use the straignt
numbers of pixels I wanted the LyX window to open to.  I had to multiply
the -geometry figures by a third to a half again to get LyX to the size
I wanted it to open as.

The command line in the Enlightenment start-bar button is in the same
form as the one you used to start LyX the way you want it from a
terminal:

lyx -geometry NNNxNNN

I couldn't find anything else that worked.  Developers?  Any answers?
Best,
Ralph


begin:vcard 
n:Meyer;Ralph L.
tel;fax:(609) 258-1087
tel;home:(732) 251-0331
tel;work:(609) 258-4228
x-mozilla-html:TRUE
org:Princeton University;East Asian Studies Department
adr;quoted-printable:;;211 Jones Hall=0D=0APrinceton University;Princeton;New Jersey;08544;USA
adr:;;39 Nelson Avenue;Monroe Twp.;New Jersey;08831-8708;USA
version:2.1
email;internet:[EMAIL PROTECTED]
title:Publications Manager EAS Dept.
note;quoted-printable:Also: Owner/Consultant of=0D=0AR and R Computing Services
x-mozilla-cpt:;-13024
fn:Ralph L. Meyer
end:vcard



LongTable and MiniPage

2001-04-25 Thread Jacek M. Holeczek

Hi,
I've met the following problem.
I would need a LongTable (Table Layout - Spec. Table - Longtable)
which is inside of a MiniPage (Layout - Paragraph Environment -
ParagraphExtra Layout - [Minipage + Width - 100%]).
As long as I have the LongTable outside of the MiniPage it is correctly
split over many pages.
As soon as I switch the MiniPage on, the table is placed on one
(single) page, up to the end of this page, and is cut (just the beginning 
is there).
Could you, please, help me,
Thanks in advance,
Jacek.




RTF LaTex conversion

2001-04-25 Thread Shawn Koons

Is there a program that will convert RTF to LaTex (or Lyx) that would
make it easier to import a document into Lyx with most of the formatting
in place?

Converting RTF to, importing the text to Lyx, and then going through the
document by hand  is a bit time-comsuming when dealing with 60 page+
documents.

Shawn

--
Mitakuye Oyasin
--





Re: Re[2]: angstrom symbol in math mode

2001-04-25 Thread Brad Langhorst

On Wednesday 25 April 2001 09:05 am, Guenter Milde wrote:
 On Wed, 25 Apr 2001 07:29:32 -0400 wrote Brad Langhorst 
[EMAIL PROTECTED]:
  Thanks for everybody's input here.
  Sounds like I'll have to take a gander at the source to see what the
  problem is.
 
  Lyx is 1.1.5fix2
  \AA{} does not work
  {\AA} does not work
  only
  textrm{\AA} seems to have any function at all
 
  let me know if you all come up with anything in the meantime

 Did you already try \mbox{\AA}? It works fine here (lyx 1.1.6 on Linux)
 See also the attached testfile.

I've just tried the mbox method (i must have missed it before)
this seems stable across saves and reopening
the  saved version looks like this

\begin_inset Formula \( \Delta vol=\frac{4\pi }{3}\left( 
r_{pH2}-r_{pH7}\right) ^{3}=\frac{4\pi }{3}\left( 17.87\mbox {\AA 
}-16.03\mbox {\AA }\right) ^{3}=\frac{4\pi }{3}*6.263\mbox {\AA 
}^{3}=26.24\mbox {\AA }^{3} \)


Well that puts my homework out the door but doesn't explain this textrm 
problem (I think its save to say its a problem with textrm since the mbox 
method works).
Thanks for the workaround!

I think my goal is now two fold
1) figure out what this textrm is all about and why it gets funky on save and 
reopen
2) add something like \rho or \pi for \AA to the math mode so that we don't 
have to enter another mode to get this symbol  (and maybe others?)

Thanks again for all your kind help and suggestions for how to get this 
working.

brad





































\end_insert


 --
 [EMAIL PROTECTED]


Content-Type: TEXT/x-lyx; charset=iso-8859-1; name=aatest.lyx
Content-Transfer-Encoding: QUOTED-PRINTABLE
Content-Description: 




Re: Bug in latex code

2001-04-25 Thread Matej Cepl

On steda 25 duben 2001  8:42 you wrote:

  It may be, but the missing "\usepackage[T1]{fontenc}" line
  is bug, because the division of words will be wrong.
  Unfortunatly I can't try it with the leatest lyx (I use it
  from debian package). Please sombody (who has the current
  version) try it.

 Do you get the 'usepackage[T1]{fontenc}' when using 'default'
 language ? If not, add '\font_encoding T1' to ~/.lyx/lyxrc

On the same tune: I am using 1.1.6fix1 and trying my beloved ae 
package (I really like the Computer Modern fonts). However, I am 
not able to get PS (via dvips) with Type1 fonts (at least, that 
is what I get with PDF (via PS)  option), but it is perfectly OK 
with PDFLaTeX. I guess, there is some config of dvips, which I 
should set up. Where is it (having fresh tetex from RedHat 7.0), 
please?

Thanx

Matej Cepl



Re: Lyx*geometry not understood by 1.1.6fix1

2001-04-25 Thread Robin Turner

On Wednesday 25 April 2001 16:25, Andre Poenitz wrote:
  since I upgraded to LyX 1.1.6fix1 (via rpm), LyX does not react on my
  ~.Xdefault setting. I had two lines telling
 
  LyX*width: 720
  LyX*height:670

 As far as I know LyX does not check any .X* settings.


So what, if anything, does it read?  Is there any way to get round those dull 
grey menus and toolbars?

Robin



Re: clearpage without empty page

2001-04-25 Thread Dekel Tsur

On Wed, Apr 25, 2001 at 12:55:34PM -0400, Wolfgang Engelmann wrote:
 I am getting too many unprocessed floats in a book
 A clearpage cures it and its ok after a chapter. 
 However, if I insert it after a section an empty page is
 inserted after the figure floates have been placed, which
 is undesired. How can I prevent this?

Put \usepackage{afterpage} in the preamble, and then
use \afterpage{\clearpage} instead of just \clearpage
(note that this doesn't work in 2-col mode).



Re: Lyx*geometry not understood by 1.1.6fix1

2001-04-25 Thread Dekel Tsur

On Wed, Apr 25, 2001 at 03:17:03PM +0200,  wrote:
 since I upgraded to LyX 1.1.6fix1 (via rpm), LyX does not react on my
 ~.Xdefault setting. I had two lines telling
 
 LyX*width: 720
 LyX*height:670
 
 and with 1.1.5 this worked well. After looking in the man page, I changed
 this to
 
 LyX*geometry 720x670
 
 but still no effect. However, starting LyX from a terminal with

I use LyX*geometry with no problem.
Looking at the line above, it seems you forgot to put ':', namely the line
should be
LyX*geometry: 720x670



Re: Layout things (humaniora)

2001-04-25 Thread Dekel Tsur

On Wed, Apr 25, 2001 at 02:34:11PM +0200, J?rgen Spitzm?ller wrote:
 Andre Berger worte:
  
  The name is bibtopics. A different .bib file is sourced for each
  topic.
  
 The exact name is bibtopic. Get it at
 ftp://ftp.dante.de/tex-archive/macros/latex/contrib/supported/bibtopic/
 
 But notice that LyX doesn't support it by itself (yet). You need an 
 external script written by Herbert Voss which runs bibtex as often as 

Actually, the CVS version have support for bibtopic or bibunits
(though current CVS is quite unstable, so it shouldn't be used).



Re: Embedded Python (Was: Re: [OT] TeXmacs?)

2001-04-25 Thread Rem


- Original Message -
From: "Matej Cepl" [EMAIL PROTECTED]
To: "LyX disc. list" [EMAIL PROTECTED]
Sent: Wednesday, April 25, 2001 9:12 AM
Subject: Embedded Python (Was: Re: [OT] TeXmacs?)


 On ter 24 duben 2001 21:51 you wrote:
 3.TeXmacs comes with the Guile/Scheme extension
   language.
 
  Hmmm... we'll almost certainly end up with Python.  Asger has
  already shown about 3 years ago that Python can be embedded in
  a couple of lines. The problem is more a matter of "should we,
  yet?"

 YES! Than I would be able to get my beloved transpose-characters
 function, which nobody cares to implement in LyX.

 Matej

We need some lawyers in the developers team eh? ;-)
R




Embedded Python (Was: Re: [OT] TeXmacs?)

2001-04-25 Thread Ronald Florence

Matej Cepl writes:
  
  YES! Than I would be able to get my beloved transpose-characters 
  function, which nobody cares to implement in LyX.
  
I wouldn't know how to implement it, but I'll second the request.  In
addition to a transpose-characters (C-t) function, LyX could use a
transpose-words (M-t) function; improved implementations of
word-capitalize, word-lowcase, and word-upcase functions; and
sentence-sensitive commands like delete-to-end-of-sentence (M-d),
go-to-end-of-sentence (M-e) and go-to-beginning-of-sentence (M-a).

For the eternal wish-list ...

-- 

Ronald Florence http://members.home.net/18james



Re: Embedded Python (Was: Re: [OT] TeXmacs?)

2001-04-25 Thread Jean-Pierre.Chretien


From: Matej Cepl [EMAIL PROTECTED]
To: LyX disc. list [EMAIL PROTECTED]
Subject: Embedded Python (Was: Re: [OT] TeXmacs?)
Date: Wed, 25 Apr 2001 10:12:56 -0400

On úterý 24 duben 2001 21:51 you wrote:
3.TeXmacs comes with the Guile/Scheme extension
  language.

 Hmmm... we'll almost certainly end up with Python.  Asger has
 already shown about 3 years ago that Python can be embedded in
 a couple of lines. The problem is more a matter of should we,
 yet?

YES! Than I would be able to get my beloved transpose-characters 
function, which nobody cares to implement in LyX.

Matej

Having customizable panels both for math macros and ordinary macros
is more urgent IMHO, unless such an embedding helps to do it.

We've got here a tool prone to formula typesetting and the
reuse of already available stuff is far too rough. 
Anyone having used Ann Arbor's SGML implementation of TeX will 
see what I mean I guess.

Sorry I can't give a hand on it...

-- 
Jean-Pierre




Antwort: Re: Prevent linebreaks and pagenumbering in TOC

2001-04-25 Thread Andreas_Doering

   
  
Jean-Pierre.Chretie   
  
n  An: [EMAIL PROTECTED], 
[EMAIL PROTECTED]   
Jean-Pierre.ChretieKopie: 
  
[EMAIL PROTECTED]  Thema:  Re: Prevent linebreaks and 
pagenumbering in TOC  
   
  
25.04.01 10:18 
  
Bitte antworten an 
  
Jean-Pierre.Chretie   
  
n 
  
   
  
   
  











I´m a Lyx-newbie and ran in two problems:

1. The linebreaks within words at the TOC look ugly. How can I prevent
these linebreaks in the TOC?
I tried

 \mbox{ bla bla .bla}

but then, there wasn´t any linebreak at all and the line in the TOC left
the right margin. The section line looks
quite OK in the normal text, so I don´t want to do a linebreak in the
section line, causing the TOC-line to behave the same.

You will get in trouble as well with the runnib headers I guess.
The optional text in sectioning instructions allows to get
shorter test in both places.


2. I tried Herbert Voss´ trick to prevent pagenumbering showing up in the
TOC:

 \tableofcontents
 \addtocontents{toc}{\protect\thispagestyle{empty}}

The problem is, that I´m using fancyheader, so I tried a

 \addtocontents{toc} {\protect\fancyfoot{}}

This works fine for the TOC, but in the normal text, the pagenumbering at
even pages disappeared.

Thanks in advance

I personnaly use the fancyplain facility to change headers and footers
for special pages (i.e. no printing of chaptermarks in the first page
of a chapter. Yous shouls have look at the fancyhdr doc.

I did this before, but I´m only able to avoid pagenumbering at the first
page of the TOC.
Though I did a

\fancyfoot[LE]{\thepage}

at the plain text after the TOC to reestablish the settings in the
LATEX-preface, there this is already entered. This works, but I think,
that´s not the way it should be handeled.

Andi













Re: Embedded Python (Was: Re: [OT] TeXmacs?)

2001-04-25 Thread Lars Gullik Bjønnes

Matej Cepl [EMAIL PROTECTED] writes:

| YES! Than I would be able to get my beloved transpose-characters 
| function, which nobody cares to implement in LyX.

You only have to provide a patch...

(same as you would have to do with python, unless you don't want to
share of course.)

-- 
Lgb



Embedded Python (Was: Re: [OT] TeXmacs?)

2001-04-25 Thread Matej Cepl

On ter 24 duben 2001 21:51 you wrote:
3.TeXmacs comes with the Guile/Scheme extension
  language.

 Hmmm... we'll almost certainly end up with Python.  Asger has
 already shown about 3 years ago that Python can be embedded in
 a couple of lines. The problem is more a matter of "should we,
 yet?"

YES! Than I would be able to get my beloved transpose-characters 
function, which nobody cares to implement in LyX.

Matej



Re: Re[2]: angstrom symbol in math mode

2001-04-25 Thread Dekel Tsur

On Wed, Apr 25, 2001 at 09:40:59AM -0400, Brad Langhorst wrote:
 I think my goal is now two fold
 1) figure out what this textrm is all about and why it gets funky on save and 
 reopen
 2) add something like \rho or \pi for \AA to the math mode so that we don't 
 have to enter another mode to get this symbol  (and maybe others?)

Put the following line in the preamble
  \newcommand{\mAA}{\mbox{\AA}}
in the preamble, and then use \mAA in math mode.

Perhaps a better solution is to put the following lines in the preamble
  \let\oldAA=\AA
  \renewcommand{\AA}{\ensuremath{\mbox{\oldAA}}}
and then you can use \AA in math mode.



Re: Embedded Python (Was: Re: [OT] TeXmacs?)

2001-04-25 Thread Matej Cepl

On Wed 25 duben 2001 12:06 Lars Gullik Bj?nnes wrote:
 Matej Cepl [EMAIL PROTECTED] writes:
 | YES! Than I would be able to get my beloved
 | transpose-characters function, which nobody cares to
 | implement in LyX.

 You only have to provide a patch...

 (same as you would have to do with python, unless you don't
 want to share of course.)

OK, I have no clue how to do it in C++ and I cannot programm 
well, but I was able to do it in my Word (a long time ago, when 
have been working with it) like this:

Sub Prohodit()
Dim Pom As String
With Selection
.MoveRight Unit:=wdCharacter, Count:=1, Extend:=wdExtend
Pom = .Text
.Delete
.MoveLeft Unit:=wdCharacter, Count:=1
.InsertAfter Pom$
.MoveStart Unit:=wdCharacter, Count:=2
End With
End Sub

Tell me, how to write it in C++ and where does it go, and five 
minutes later I will have it there (and you will get a patch). 
Promise!

I do not want quarrel with you about such a triviality, but what 
I mean is, that by embedding Python you would allow us, 
non-programmers, to help you a send you beautiful :-) programmes 
for everything WE need (not what you think we need, which may be 
sometimes different).

Have a nice day

Matej Cepl



Re: LyX-1.1.6 compile problem on OSF

2001-04-25 Thread David Bailey

Hi Allan,

Actually, there is an acconfig.h in the sigc++ directory already. It is
identical to the one you sent out.

It sounds like something more peculiar to the make utility on the tru64
operating system?

Regards,
Dave

On Wed, 25 Apr 2001, Allan Rae wrote:

 On Tue, 24 Apr 2001, David Bailey wrote:
 [...]
  Making all in sigc++
  Make: Don't know how to make ./macros/acconfig.h.m4.  Stop.
  *** Exit 1
  Stop.
 
  Has anyone experienced this as well? Has anyone resolved it? Forgive me if
  I'm being naive on this.

 Very weird.  sigc++/acconfig.h should be in the distribution. So everyone
 who used the source tarball should have been affected by this if that was
 the case. I guess we better check to make sure `make dist` is working
 properly.

 What's happening is that acconfig.h is missing so make is trying one of
 its rules for generating some of the header files and failing.

 I've attached sigc++/acconfig.h from latest CVS.  This should work okay
 now.

 Allan. (ARRae)


David A. Bailey, [EMAIL PROTECTED]
School of Oceanography, University of Washington
Box 357940, Seattle, WA 98195-7940 USA
ph: +1 206 221 6570 fax: +1 206 685 3354




Re: RTF LaTex conversion

2001-04-25 Thread Herbert Voss

Shawn Koons wrote:
 
 Is there a program that will convert RTF to LaTex (or Lyx) that would
 make it easier to import a document into Lyx with most of the formatting
 in place?

http://members.home.net/setlur/rtf2latex2e/

Herbert

-- 
http:[EMAIL PROTECTED]



Re: Re[2]: angstrom symbol in math mode

2001-04-25 Thread Brad Langhorst

Sorry I think I wasn't clear in my earlier post
 I did try the mbox function and it  works fine.

I would like to figure out what the problem is with the math parser's 
handling of the textrm function and possibly add something like \rho
or \pi for \AA to the math parser so that it is easier to use that symbol.

thanks again for everybody's help/interest!


brad
On Wednesday 25 April 2001 09:05 am, Guenter Milde wrote:
 On Wed, 25 Apr 2001 07:29:32 -0400 wrote Brad Langhorst 
[EMAIL PROTECTED]:
  Thanks for everybody's input here.
  Sounds like I'll have to take a gander at the source to see what the
  problem is.
 
  Lyx is 1.1.5fix2
  \AA{} does not work
  {\AA} does not work
  only
  textrm{\AA} seems to have any function at all
 
  let me know if you all come up with anything in the meantime

 Did you already try \mbox{\AA}? It works fine here (lyx 1.1.6 on Linux)
 See also the attached testfile.


 --
 [EMAIL PROTECTED]


Content-Type: TEXT/x-lyx; charset=iso-8859-1; name=aatest.lyx
Content-Transfer-Encoding: QUOTED-PRINTABLE
Content-Description: 




Re: Layout things (humaniora)

2001-04-25 Thread Dekel Tsur

On Wed, Apr 25, 2001 at 10:22:12AM +0300, Juha Siltala wrote:

Since most of your questions were answered by others, I'll answer only those
which weren't answered:

   Second page. Table of contents. This should be page 1. No number 
 should be shown though. 

\setcounter{page}{1}\thispagestyle{empty}

 5. This has been discussed here, but I forgot how to change the heading of
 References (I get Viitteet, need L?hteet)

\AtBeginDocument{\renewcommand{\refname}{L?hteet}}
in the preamble.



Re: Layout things (humaniora)

2001-04-25 Thread Jürgen Spitzmüller

Tuukka Toivonen wrote:
 It's possible to change page number, afaik, but I don't know how.
 \setpagecounter or something...

\setcounter{page}{1}
in TeX-Mode (Red Text) on the page which has to have pagenumber 1

  2. Table of Contents: Introduction and Conclusion should not be
  numbered, but should show up in the TOC. Same goes for 
Bibliography.
 
 For the first two, you could use Section* environment and then write
 below, in red tex, 
 \addtocontents{toc}{otsikonnimi}

If you use Koma (as you mentioned), it's easier: the environment 
Addchap (instead of Chapter) does the trick.
To add the Bibliography to the TOC, Koma provides the command bibtotoc.
Just write bibtotoc in Layout  Document  Further Options.

Good Luck,

Juergen

-

Sorry if this has been solved yet. I'm not subscribed at the moment.



Re: LongTable and MiniPage

2001-04-25 Thread Jan Goebel

Hi,

you can use threeparttable for footnotes below the table.
But i think that you can't split these tables across
pages ...?

best

jan

On Wed, 25 Apr 2001, Jacek M. Holeczek wrote:

 Many thanks for your reply.
 
  This is how minipages work.
 Let me ask a small question on this occasion - do you mean that a minipage
 will NEVER be split over pages (even if it is just a long piece of text) ?
 
  Why do you need it inside a minipage?
 On principle because I have a lng table with quite a lot of
 footnotes in it. So I just wanted to have a separate minipage with this
 table (and embedded footnotes).
 But ... if this is not possible ... I think I can also live with the
 longtable and footnotes in the bottom of the page.

-- 
+---
 Jan Goebel (mailto:[EMAIL PROTECTED])

 DIW Berlin 
 Longitudinal Data and Microanalysis
 Königin-Luise-Str. 5
 D-14195 Berlin -- Germany --
 phone: 49 30 89789-377
+---



Antwort: Re: Prevent linebreaks and pagenumbering in TOC

2001-04-25 Thread Andreas_Doering

   

Andre Berger   

uzscd5@uni-bAn: [EMAIL PROTECTED]   

onn.de  Kopie:

 Thema:  Re: Prevent linebreaks and 
pagenumbering in TOC   
25.04.01   

11:58  

Bitte  

antworten an   

Andre Berger   

   

   







 1. The linebreaks within words at the TOC look ugly. How can I prevent
 these linebreaks in the TOC?
 I tried

  \mbox{ bla bla .bla}

 but then, there wasn´t any linebreak at all and the line in the TOC left
 the right margin. The section line looks
 quite OK in the normal text, so I don´t want to do a linebreak in the
 section line, causing the TOC-line to behave the same.

The \samepage LaTeX command works, to be found for example in Kopka
(1994: 1: ch. 3.5.5.5, p. 43 f.).

I'm not at home and don't remember exactly how/where to use it. If
anybody is interested I'll look it up this evening.

Andre Berger[[EMAIL PROTECTED]]

That would be great.


Andi






Re: clearpage without empty page

2001-04-25 Thread Herbert Voss

Dekel Tsur wrote:
 
 On Wed, Apr 25, 2001 at 12:55:34PM -0400, Wolfgang Engelmann wrote:
  I am getting too many unprocessed floats in a book
  A clearpage cures it and its ok after a chapter.
  However, if I insert it after a section an empty page is
  inserted after the figure floates have been placed, which
  is undesired. How can I prevent this?
 
 Put \usepackage{afterpage} in the preamble, and then
 use \afterpage{\clearpage} instead of just \clearpage
 (note that this doesn't work in 2-col mode).

have you tried this one?
i'm wondering, if it works, because you have no pages
in fact of the unprocessed floats.

Herbert

-- 
http:[EMAIL PROTECTED]



Re: LongTable and MiniPage

2001-04-25 Thread Herbert Voss

Jacek M. Holeczek wrote:
 
 Many thanks for your reply.
 
  This is how minipages work.
 Let me ask a small question on this occasion - do you mean that a minipage
 will NEVER be split over pages (even if it is just a long piece of text) ?
 
  Why do you need it inside a minipage?
 On principle because I have a lng table with quite a lot of
 footnotes in it. So I just wanted to have a separate minipage with this
 table (and embedded footnotes).

have a look at 

http.//www.educat.hu-berlin.de/~voss/lyx/table.html#foot_2

it's the same in longtables

Herbert

-- 
http:[EMAIL PROTECTED]




Re: uppercase

2001-04-25 Thread Dekel Tsur

On Wed, Apr 25, 2001 at 08:32:28PM +0200, monty wrote:
 ?there is any quick way of changing a whole document written in uppercase to
 lowercase?. I hope so, otherwise, i'll spend a extremly funny time doing it
 (it's nine pages long).

You can change a word to lower case by pressing M-c down, or capitalize a
word using M-c right.
Since your document is long, I suggest you use perl to change all the text
to lowercase:
 perl -ne 'print lc' oldfile.lyx newfile.lyx



Re: uppercase

2001-04-25 Thread Herbert Voss

monty wrote:
 
 ¿there is any quick way of changing a whole document written in uppercase to
 lowercase?. I hope so, otherwise, i'll spend a extremly funny time doing it
 (it's nine pages long).

a solution on the run ...
export it as ascii, or copy and paste the text in an
ascii-editor and save it as old.txt. 
than run bash-command

tr A-Z a-z  old.txt  new.txt

and insert new.txt as paragraphs in lyx.
the only thing you have to do, is to mark the
chapter/section headers new.

Herbert


-- 
http:[EMAIL PROTECTED]



Re: uppercase

2001-04-25 Thread Lars Gullik Bjønnes

Kayvan A. Sylvan [EMAIL PROTECTED] writes:

| On Wed, Apr 25, 2001 at 08:32:28PM +0200, monty wrote:
|  ¿there is any quick way of changing a whole document written in uppercase to
|  lowercase?. I hope so, otherwise, i'll spend a extremly funny time doing it
|  (it's nine pages long).
|  
|  Thank you.
| 
| emacs is your friend.
| 
| Bring up the lyx file in emacs, mark the region, then do
| M-x lowercase-region

In my emacs this is downcase-region.

-- 
Lgb



Re: Layout things (humaniora)

2001-04-25 Thread Juergen Spitzmueller

Dekel Tsur wrote:
 Actually, the CVS version have support for bibtopic or bibunits
 (though current CVS is quite unstable, so it shouldn't be used).

Great news (at least for me)! Thank you for implementing this :-)
Will it be included in 1.2.0? And what does support mean: the 
additional bibtex runs or also the bibtopic environments (btSect. . .)?

Greetings,
Juergen



Re: LongTable and MiniPage

2001-04-25 Thread Jean-Marc Lasgouttes

 Jacek == Jacek M Holeczek [EMAIL PROTECTED] writes:

Jacek P.S. May I ask an unrelated question - when is
Jacek the 1.1.6fix2 planed ?

Maybe will I be able to do it next week when I come back from
Anchorage. But I have been known to write that several times these
last monthes...

JMarc



Re: LDN-20010425

2001-04-25 Thread Allan Rae

On Wed, 25 Apr 2001, Allan Rae wrote:

 A new LDN will be available sometime in the next 30 minutes or so.  So
 don't rush off now and then complain that the URL is broken.  I've
 committed the changes to CVS but I want to go home by midnight if I can.

 Anyway,  here's the URL:

   http://www.lyx.org/news/20010425.php3

 but be patient.

It seems that the Norwegian mirror is rather slow at updating.
You can find it at the Italian mirror though:

http://www.it.lyx.org/news/20010425.php3

Allan. (ARRae)




Re: LyX-1.1.6 compile problem on OSF

2001-04-25 Thread Allan Rae

On Wed, 25 Apr 2001, David Bailey wrote:

 Hi Allan,

 Actually, there is an acconfig.h in the sigc++ directory already. It is
 identical to the one you sent out.

 It sounds like something more peculiar to the make utility on the tru64
 operating system?

Hmmm... It would seem that either there is a timestamp problem and make
wants to regenerate acconfig.h because it's timestamp is older than
[what??].  In which case `touch acconfig.h` might fix the problem as I
suggested at the previous occasion.  Does this have any effect?

_Or_ what I'm now thinking might be the case:
The %.h rule in the Makefile causes make to try to find something to
compare every header files time stamp against.  If you

touch macros/acconfig.h.m4 ; sleep 2 ; touch acconfig.h

does this help?

If it does then it'll probably stop at whatever next header file doesn't
have a corresponding macros/%h.m4 file.  Hmmm... strange if that is the
case.

Please let me know what happens and then we can inform the libsigc++
maintainer with a detailed report.

Allan. (ARRae)




Re: lyx.org domain fee

2001-04-25 Thread Keeper of the Key to Time

On Sunday 22 April 2001 17:33, Matt Bandy wrote:
 May I also recommend that the project register a domain name with the
 OpenNIC project. OpenNIC is an alternative DNS root server. They operate a

An alternative *root server*?  Man... I learn something new every day -- 
never even knew there was such a thing!

Hey, let's remap the Internet in our spare time...
Cool, why not!

;)

   The fee covers two years and is 70$ US.

BTW, some domain registration services are much less expensive -- for 
instance, directnic.com (which I have used) offers .com, .net, and .org for 
$15 per year, and I recently saw a banner ad talking about $9 per year... 
don't remember what that was for, though. Typically these companies allow you 
to transfer registration to them for little or no money -- directnic will do 
it for free, if memory serves.

Sorry if this is unwanted, but I tend to be frugal with my money so I 
thought the knowledge might be useful.  :)  Free software -- of which LyX is 
a shining example, IMO -- has allowed me and many other low- to middle-class 
persons to afford much better hardware than we otherwise could. (For the 
price of PhotoShop alone, for instance, one can buy a very good motherboard  
CPU(s), or a whole mediocre system...) What the heck would I have to pay for 
a commercial typesetting system with the capabilities of (La)TeX? More than a 
month's rent, I bet... 

[gets down off soapbox, goes to bed]

-- 
// Carl Hudkins :: ICQ 5723399
//
// Wake me when it's over, touch my face
//  Tell me every word has been erased...  --TMBG



quick help needed

2001-04-25 Thread Myriam Abramson


Hi!

What's the keystroke to remove all the errors? 

-- 
   myriam




LDN-20010425

2001-04-25 Thread Allan Rae


A new LDN will be available sometime in the next 30 minutes or so.  So
don't rush off now and then complain that the URL is broken.  I've
committed the changes to CVS but I want to go home by midnight if I can.

Anyway,  here's the URL:

http://www.lyx.org/news/20010425.php3

but be patient.

Allan. (ARRae)




Re: [OT] TeXmacs?

2001-04-25 Thread Juha Siltala


Hi,

My experience was similar. texmacs was so slow as to being
unusable. Perhaps this is not a problem for Quake III machines :)

Juha


On Tue, 24 Apr 2001, Niklas Werner wrote:

> Hi All!
> 
> Sorry to be a bit offtopic. (This is not meant to start a new WYSIWYM 
> vs. WYSIWYG debate)
> Has anybody ever tried TeXmacs? (www.texmacs.org)
> seems to be the attempt to bring Latex to WYSIWYG, though it doesn't 
> really work for me ;-(. it's incredibly slow, because it tries to display 
> the postscript right away.
> 
> Have fun*
> 
> Niklas
> 




Re[2]: angstrom symbol in math mode

2001-04-25 Thread Guenter Milde

On Wed, 25 Apr 2001 06:48:54 +0200 (CEST) wrote Andre Poenitz <[EMAIL PROTECTED]>:

> > okay so that worked very nicely for a minute - then i saved the file and 
> > tried to re-open it.
...
> Which version of LyX is that?

This also happen with 1.1.6fix1 here.

However, if I use \mbox{\AA} instead of \textrm, everything works fine.

Guenter

--
[EMAIL PROTECTED]




Re: [OT] TeXmacs? (or Maxima & LyX)

2001-04-25 Thread Tuukka Toivonen

On Wed, 25 Apr 2001, Allan Rae wrote:

> I'll give them that one for the moment (although Maple LaTeX import
> apparently works) and we've had at least two different interested groups
> start some work on this but they seem to have disappeared.

Who cares about proprietary Maple ;)
What would be nice to have is importing of LaTeX generated by
Maxima. Unfortunately it just doesn't work. No error messages, but the
math will have very little WYSIWYM on the screen and LaTeX won't process
the result. Here's small example:

\documentclass[english]{article}
\begin{document}
$${{1}\over{\sqrt{3}}}\leqno{\tt (D1)}$$
\end{document}

(Maxima generates only the math line, header and tail was inserted by me).




Layout things (humaniora)

2001-04-25 Thread Juha Siltala


Hi,

Our Department (of History in the U of Oulu, Finland) has, of course,
their own demands on the looks of things... Here are what are not quite
obvious (to me):

1. Page numbering:
First page. This is the "front page". I get a page number here,
which is not good.
Second page. Table of contents. This should be page 1. No number
should be shown though.

2. Table of Contents: "Introduction" and "Conclusion" should not be
numbered, but should show up in the TOC. Same goes for "Bibliography".

3. Bibliography: I need to have separate sections for stuff like
"sources", "research", "printed"/"electronic documents" and the like. So
there should be some headings for these.

4. References to the former: I see that lyx makes square brackets (which I
can't seem to procuce on this terminal) around references in text. The
Department wants me to refer in footnotes and not in the text, which make
these inappropriate (what? how do you spell that?). Same goes in the
References in the end:

Baggins 1605Bilbo Baggins, Memoires. Rivendell 1605
 ^
(no brackets wanted)

5. This has been discussed here, but I forgot how to change the heading of
"References" (I get "Viitteet", need "Lähteet")

This may all be due to using the wrong document classes, of course. I've
tried Report (koma, too). Perhaps there is a class somewhere I could
install, called, ah, maybe, "Historical thesis class for Europeans,
especially preferred by Professor Manninen" - I could settle for something
less spesific, too :-)

Thanks in advance,

Juha Siltala





Re: [OT] TeXmacs? (or Maxima & LyX)

2001-04-25 Thread Jean-Pierre.Chretien


>>Date: Wed, 25 Apr 2001 10:07:45 +0300 (EEST)
>>From: Tuukka Toivonen <[EMAIL PROTECTED]>
>>To: Allan Rae <[EMAIL PROTECTED]>
>>cc: LyX Users <[EMAIL PROTECTED]>
>>Subject: Re: [OT] TeXmacs? (or Maxima & LyX)
>>
>>On Wed, 25 Apr 2001, Allan Rae wrote:
>>
>>> I'll give them that one for the moment (although Maple LaTeX import
>>> apparently works) and we've had at least two different interested groups
>>> start some work on this but they seem to have disappeared.
>>
>>Who cares about proprietary Maple ;)
>>What would be nice to have is importing of LaTeX generated by
>>Maxima. Unfortunately it just doesn't work. No error messages, but the
>>math will have very little WYSIWYM on the screen and LaTeX won't process
>>the result. Here's small example:
>>
>>\documentclass[english]{article}
>>\begin{document}
>>$${{1}\over{\sqrt{3}}}\leqno{\tt (D1)}$$
>>\end{document}
>>
>>(Maxima generates only the math line, header and tail was inserted by me).
>>
This is plain TeX, you get a right dvi output in LyX if you change
the $$ in $ and wipe out the \leqno{\tt (D1)} (which doesn't make
sense anyway if you want to reference equations at your will).
This is easy to automate.

You would get no ERT at all in LyX if reLyX was able to convert
{1}\over{\sqrt{3}} as \frac{1}{sqrt{3}}: this is more difficult...
Is it a weakness of reLyX (i.e. no implementation of math TeX constructs
in mathed ?).

-- 
Jean-Pierre




Re[2]: [OT] TeXmacs?

2001-04-25 Thread Guenter Milde

On Tue, 24 Apr 2001 17:19:05 +0200 (CEST) wrote Andre Poenitz <[EMAIL PROTECTED]>:

> >   4.You can use TeXmacs as an interface to computer algebra systems. 
> > [...]
> > I was thinking about developing 4 for some time but a number of
> > circumstances have halted the project. Please mail me if you have some
> > valuable insight into a nice way of doing it.
> 
> Well, do you mean something like starting LyX, typing 
>  
>'C-N C-M \mint a  b  x  x  F10 m'  // [1]
> 
> and getting 
> 
>   '\frac{1}{2} a x^2 + \frac{1}{2} b x^2'
> 
> appended?  Seems to work over here ;-)

So, how do you do it? ;-)

I'd like to see LyX as a GUI for some open Algebra System (something like
Scientific workplace?) i.e. not so much for changing formulars on the fly
but as a kind of "very pretty printing notebook". (Of course with the option
to integrate the results in a "normal" LyX document.)

I wonder whether the Lyxpipes are sufficient to achieve this or whether some
changes whithin LyX are required.

There is a promising open Computer Algebra System on the net called YACAS
(http://www.xs4all.nl/~apinkus/) (I haven't tried yet) also MuPad
(http://www.mupad.de/) could be interesting (although not open source) It
allowes to specify the output format (and has already a latex output
library (although this did not work for me)) so it might be convinced to send
something interpretable to the Lyxpipe.

Guenter


--
[EMAIL PROTECTED]




Re: Layout things (humaniora)

2001-04-25 Thread Tuukka Toivonen

On Wed, 25 Apr 2001, Juha Siltala wrote:

> Our Department (of History in the U of Oulu, Finland) has, of course,

Hello!

> 1. Page numbering:
>   First page. This is the "front page". I get a page number here,
> which is not good.

Use \thispagestyle{empty} in red tex on those pages.

>   Second page. Table of contents. This should be page 1. No number
> should be shown though.

It's possible to change page number, afaik, but I don't know how.
\setpagecounter or something...

> 2. Table of Contents: "Introduction" and "Conclusion" should not be
> numbered, but should show up in the TOC. Same goes for "Bibliography".

For the first two, you could use "Section*" environment and then write
below, in red tex, 
\addtocontents{toc}{otsikonnimi}

The rest of the questions are a bit too difficult for me :(
Look anyway
http://www.educat.hu-berlin.de/~voss/lyx/
and
http://www.maths.bris.ac.uk/dept/Texhtml/ltx-2.html





Re: [OT] TeXmacs? (or Maxima & LyX)

2001-04-25 Thread Andre Poenitz

> You would get no ERT at all in LyX if reLyX was able to convert
> {1}\over{\sqrt{3}} as \frac{1}{sqrt{3}}: this is more difficult...
> Is it a weakness of reLyX (i.e. no implementation of math TeX constructs
> in mathed ?).

That's not a job for reLyX, but for the mathed parser...

Andre'

-- 
André Pönitz . [EMAIL PROTECTED]



Re: Re[2]: [OT] TeXmacs?

2001-04-25 Thread Andre Poenitz

> So, how do you do it? ;-)

Works only with latest CVS and the patch I send yesterday to lyx-devel
and only for a very limited set of operations.

Note that this combination is not to be used for serious work. Latest
recommended version for serious work involving math is CVS from early
February, but using one of 1.1.6fixes or even 1.1.5 should be even better.

> I wonder whether the Lyxpipes are sufficient to achieve this or whether some
> changes whithin LyX are required.

It would probably work with LyXpipes, but that's not what has been used.
 
> There is a promising open Computer Algebra System on the net called YACAS
> (http://www.xs4all.nl/~apinkus/) (I haven't tried yet) also MuPad
> (http://www.mupad.de/) could be interesting (although not open source) It
> allowes to specify the output format (and has already a latex output
> library (although this did not work for me)) so it might be convinced to send
> something interpretable to the Lyxpipe.

All that is needed is either LaTeX or something easily convertable to
LaTeX. So MuPAD should be fine in the end. I have never tried YACAS,
though.

Andre'

-- 
André Pönitz . [EMAIL PROTECTED]



Re: Prevent linebreaks and pagenumbering in TOC

2001-04-25 Thread Jean-Pierre.Chretien


>>From: [EMAIL PROTECTED]
>>Subject: Prevent linebreaks and pagenumbering in TOC
>>To: [EMAIL PROTECTED]
>>Date: Wed, 25 Apr 2001 10:07:37 +0200
>>X-MIMETrack: Serialize by Router on NNMAIL01/SRV/MAN_Nutzfahrzeuge(Release 
5.0.4 |June 8, 2000) at 04/25/2001 10:07:38 AM
>>
>>
>>Hi Lyxers!
>>
>>I´m a Lyx-newbie and ran in two problems:
>>
>>1. The linebreaks within words at the TOC look ugly. How can I prevent
>>these linebreaks in the TOC?
>>I tried
>>
>> \mbox{ bla bla .bla}
>>
>>but then, there wasn´t any linebreak at all and the line in the TOC left
>>the right margin. The section line looks
>>quite OK in the normal text, so I don´t want to do a linebreak in the
>>section line, causing the TOC-line to behave the same.

You will get in trouble as well with the runnib headers I guess.
The optional text in sectioning instructions allows to get
shorter test in both places.

>>
>>2. I tried Herbert Voss´ trick to prevent pagenumbering showing up in the
>>TOC:
>>
>> \tableofcontents
>> \addtocontents{toc}{\protect\thispagestyle{empty}}
>>
>>The problem is, that I´m using fancyheader, so I tried a
>>
>> \addtocontents{toc} {\protect\fancyfoot{}}
>>
>>This works fine for the TOC, but in the normal text, the pagenumbering at
>>even pages disappeared.
>>
>>Thanks in advance

I personnaly use the fancyplain facility to change headers and footers
for special pages (i.e. no printing of chaptermarks in the first page
of a chapter. Yous shouls have look at the fancyhdr doc.


-- 
Jean-Pierre




Re: [OT] TeXmacs?

2001-04-25 Thread Niklas Werner

Stefano Ghirlanda wrote:
> 
> Matej Cepl <[EMAIL PROTECTED]> writes:
> 
> > Wereb't there some attempts to rewrite NeXT environment for X as
> > a free soft (GNUStep)? As I remember, they tried to create some
> > kind of Display PostScript based on the Ghostscript (there are
> > some remaints in the ghostscript distribution until now -- look
> > through your $GS_LIB). Does anybody have any idea, whether it is
> > alive or definitively dead?
> 
> It's alive on www.gnustep.org

And tries the same as MacOsX that uses pdf for screen display of
virtually everything, ie Putting UN*X on the Easy-to-use OO-Desktop



Re: Table rules

2001-04-25 Thread Tuukka Toivonen

On Wed, 25 Apr 2001, Ragnar Beer wrote:

> -
> |1|2| <- no bottom rule below cell "1"
>---
> |3|4|
> -

Set multicolumn from Tabular Layout/Cell and then use Cell/Borders.
Example attached.


#LyX 1.1 created this file. For more info see http://www.lyx.org/
\lyxformat 218
\textclass article
\language english
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize default
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Standard


\begin_inset  Tabular






\begin_inset Text

\layout Standard

1
\end_inset 


\begin_inset Text

\layout Standard

3
\end_inset 




\begin_inset Text

\layout Standard

2
\end_inset 


\begin_inset Text

\layout Standard

4
\end_inset 




\end_inset 


\the_end



Re: [OT] TeXmacs? (or Maxima & LyX)

2001-04-25 Thread Andre Poenitz

> > I'll give them that one for the moment (although Maple LaTeX import
> > apparently works) and we've had at least two different interested groups
> > start some work on this but they seem to have disappeared.
> 
> Who cares about proprietary Maple ;)

Well, I care, since that's what I am using.

The Maple specific code is currently 57 lines and can be
removed/changed/whatever anytime without recompilation.

> What would be nice to have is importing of LaTeX generated by Maxima.
> Unfortunately it just doesn't work. No error messages, but the math
> will have very little WYSIWYM on the screen and LaTeX won't process the
> result. Here's small example:
> 
> \documentclass[english]{article} \begin{document}
> $${{1}\over{\sqrt{3}}}\leqno{\tt (D1)}$$ \end{document}

\over is evil since it is not properly read by the parser. Well, the parser
needs a rewrite anyway, but apart from that this Maxima input does not
sound too hard to do.

Andre'

-- 
André Pönitz . [EMAIL PROTECTED]



Re: Layout things (humaniora)

2001-04-25 Thread Andre Berger

* Jean-Pierre.Chretien <[EMAIL PROTECTED]>, 2001-04-25 11:37 +0200:
> >>3. Bibliography: I need to have separate sections for stuff like
> >>"sources", "research", "printed"/"electronic documents" and the like. So
> >>there should be some headings for these.
> 
> This is often required, and there exists a package to do it.
> Unfortunately I don't remember the name (I use only bibunits
> for separate bibliogrpahies in separate chapters) and it is not
> mentioned in the Companion...

The name is bibtopics. A different .bib file is sourced for each
topic.

Andre Berger[[EMAIL PROTECTED]]

 PGP signature


[Fwd: Install 1.0.1/1.0.4 on Sun Solaris 2.7(?)]

2001-04-25 Thread Qingchang Zhong


Dear all,
I have been using lyx 1.0.1/1.0.4 for more than one year. Recently,
I had many problems with installation.
I am not sure if I can work with 1.1.6 without any problem. If not,
I'd better install 1.0.1 or 1.0.4.
Before I was working on Digital Unix. Now I changed to Sun Solaris,
probably ver 2.7. Since I am not familiar with UNIX, I have no idea to
install lyx on it. I tried many times according to the INSTALL file, but
failed.
Some useful info/processes are attached below.
1. Some enviroments of the host:
SHELL=/bin/csh
HOSTTYPE=sun4
OSTYPE=solaris
TERM=xterm
...
CPLUS_INCLUDE_PATH=/ee/h1/local/kde/include:/ee/h1/local/qt/include:/ee/h1/local/include:/ee/h1/local/sparc-sun-solaris2.7/include:/usr/include
2. The configuring log:
 
Command:
 
../configure --prefix=/ee/r0/users/contpow/zqc/bin/lyx --with-extra-lib=/ee/r0/users/contpow/zqc/bin/lib
--with-extra-inc=/ee/r0/users/contpow/zqc/bin/xforms/FORMS:/ee/r0/users/contpow/zqc/bin/xpm-3.4g
Log:
creating cache ./config.cache
configuring LyX version 1.0.1
checking whether make sets ${MAKE}... yes
checking for a BSD compatible install... ../config/install-sh -c
checking for a working C++ compiler... g++
checking whether the C++ compiler (g++  ) is a cross-compiler...
no
checking whether we are using GNU C++... yes
checking whether g++ accepts -g... yes
checking how to run the C++ preprocessor... g++ -E
checking for sin in -lm... yes
checking for fopen in -lc... yes
checking for AIX... no
checking for HP-UX... no
checking for SunOS 4.x... no
checking for SCO 3.2v4... no
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler...
no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for POSIXized ISC... no
checking size of void *... 4
checking size of int... 4
checking for gcc strength-reduce bug... no
checking whether the C++ compiler understands explicit... yes
The configuration is successfully completed.
3. Make:
..
make[1]: Entering directory `/ee/r0/users/contpow/zqc/bin/lyx-1.0.1/src/src'
g++ -c -g -O2 -I. -I../../src -I../../images  -I/ee/r0/users/contpow/zqc/bin/xforms/FORMS 
-I/ee/r0/users/contpow/zqc/bin/xpm-3.4g   -I/ee/r0/users/contpow/zqc/bin/lyx/include  
-I/usr/openwin/include -DPACKAGE=\"lyx\" -DLOCALEDIR=\"/usr/local/share/locale\"
../../src/main.C
In file included from /ee/r0/users/contpow/zqc/bin/xforms/FORMS/forms.h:968,

from ../../src/main.C:12:
/usr/openwin/include/X11/Xlib.h:2099: ANSI C++ forbids declaration
`XSetTransientForHint' with no type
/usr/openwin/include/X11/Xlib.h:2107: ANSI C++ forbids declaration
`XActivateScreenSaver' with no type
/usr/openwin/include/X11/Xlib.h:2114: ANSI C++ forbids declaration
`XAddHost' with no type
/usr/openwin/include/X11/Xlib.h:2122: ANSI C++ forbids declaration
`XAddHosts' with no type
/usr/openwin/include/X11/Xlib.h:2129: ANSI C++ forbids declaration
`XAddToExtensionList' with no type
/usr/openwin/include/X11/Xlib.h:2136: ANSI C++ forbids declaration
`XAddToSaveSet' with no type
/usr/openwin/include/X11/Xlib.h:2190: ANSI C++ forbids declaration
`XAllowEvents' with no type
/usr/openwin/include/X11/Xlib.h:2196: ANSI C++ forbids declaration
`XAutoRepeatOff' with no type
.
/usr/openwin/include/X11/Xutil.h:879: ANSI C++ forbids declaration
`XUnionRegion' with no type
/usr/openwin/include/X11/Xutil.h:903: ANSI C++ forbids declaration
`XXorRegion' with no type
In file included from /ee/r0/users/contpow/zqc/bin/xforms/FORMS/forms.h:972,

from ../../src/main.C:12:
/usr/openwin/include/X11/Xresource.h:249: ANSI C++ forbids declaration
`XrmQGetResource' with no type
make[1]: *** [main.o] Error 1
make[1]: Leaving directory `/ee/r0/users/contpow/zqc/bin/lyx-1.0.1/src/src'
make: *** [all] Error 1
 
It stops then.
It seems there are some problem with the compiler. Is it right? How
to solve it?
Thank you in advance,
Q. Zhong


Re: Prevent linebreaks and pagenumbering in TOC

2001-04-25 Thread Andre Berger

* [EMAIL PROTECTED] <[EMAIL PROTECTED]>, 2001-04-25 11:37 +0200:
> 1. The linebreaks within words at the TOC look ugly. How can I prevent
> these linebreaks in the TOC?
> I tried
> 
>  \mbox{ bla bla .bla}
> 
> but then, there wasn´t any linebreak at all and the line in the TOC left
> the right margin. The section line looks
> quite OK in the normal text, so I don´t want to do a linebreak in the
> section line, causing the TOC-line to behave the same.

The "\samepage" LaTeX command works, to be found for example in Kopka
(1994: 1: ch. 3.5.5.5, p. 43 f.).

I'm not at home and don't remember exactly how/where to use it. If
anybody is interested I'll look it up this evening.

Andre Berger[[EMAIL PROTECTED]]

 PGP signature


Re: angstrom symbol in math mode

2001-04-25 Thread Brad Langhorst

Thanks for everybody's input here.
Sounds like I'll have to take a gander at the source to see what the problem 
is.

Lyx is 1.1.5fix2
\AA{} does not work
{\AA} does not work
only 
textrm{\AA} seems to have any function at all

let me know if you all come up with anything in the meantime

brad
On Wednesday 25 April 2001 12:48 am, Andre Poenitz wrote:
> > okay so that worked very nicely for a minute - then i saved the file and
> > tried to re-open it.
> >
> > Unfortunately lyx comes up with
>
> Which version of LyX is that?
>
> Well, it is actually likely that any version of LyX show this behaviour,
> the mathed parser is not correct in every case.
>
> > If I fix this in a text editor to
> >
> > \begin_inset Formula \( \Delta vol=\frac{4\pi }{3}abs\left(
> > r_{pH2}-r_{pH7}\right) ^{3}=\frac{4\pi }{3}\left( 17.87\textrm{ \AA
> > }-16.03\textrm{ \AA }\right) ^{3}=\frac{4\pi }{3}*6.263\textrm{ \AA
> > }^{3}=26.24\textrm{ \AA }^{3} \)
> > \end_inset
>
> Try \AA{}. Maybe it helps.
>
> > it just reverts back with the next save (and no angstrom symbols are
> > displayed in dvi viewer (just spaces)
> >
> > To re-interate
> > I can create a formula containging angstrom symbols which look fine in a
> > dvi viewer until i close and re-open the file.
> > After this happens I get the error mentioned above
> > In trying to correct the error i lose the angstrom symbols and something
> > funny happens when lyx saves the \textrm sections
> >
> > does \AA not count as an argument?
>
> It certainly should.
>
> Andre'



Re: Bug in latex code

2001-04-25 Thread Dekel Tsur

On Tue, Apr 24, 2001 at 04:54:01PM +0200, Nagy Erno wrote:
> Hello!
> 
> If I set the language to hungarian (magyar) the lyx generate code like
> this
> \documentclass[a4paper,magyar]{article}
> \usepackage[latin2]{inputenc}
> \usepackage{babel}
> 
> istead of
> 
> \documentclass[a4paper,magyar]{article}
> \usepackage[latin2]{inputenc}
> \usepackage[magyar]{babel}
> \usepackage[T1]{fontenc}

This is not a bug: when you put 'magyar' as an optional argument to 
\documentclass, it is passed to all packages, so \usepackage{babel} and
\usepackage[magyar]{babel} are equivalent.




Re: Bug in latex code

2001-04-25 Thread Dekel Tsur

On Wed, Apr 25, 2001 at 01:59:26PM +0200, Nagy Erno wrote:
> > On Tue, Apr 24, 2001 at 04:54:01PM +0200, Nagy Erno wrote:
> > > If I set the language to hungarian (magyar) the lyx generate code like
> > > this
> > > \documentclass[a4paper,magyar]{article}
> > > \usepackage[latin2]{inputenc}
> > > \usepackage{babel}
> > > 
> > > istead of
> > > 
> > > \documentclass[a4paper,magyar]{article}
> > > \usepackage[latin2]{inputenc}
> > > \usepackage[magyar]{babel}
> > > \usepackage[T1]{fontenc}
> 
> It may be, but the missing "\usepackage[T1]{fontenc}" line is bug,
> because the division of words will be wrong. Unfortunatly I can't try
> it with the leatest lyx (I use it from debian package). Please sombody
> (who has the current version) try it.

Do you get the 'usepackage[T1]{fontenc}' when using 'default' language ?
If not, add '\font_encoding T1' to ~/.lyx/lyxrc



Re: clearpage without empty page

2001-04-25 Thread Stefano Ghirlanda

Wolfgang Engelmann <[EMAIL PROTECTED]> writes:

> I am getting too many unprocessed floats in a book
> A clearpage cures it and its ok after a chapter. 
> However, if I insert it after a section an empty page is
> inserted after the figure floates have been placed, which
> is undesired. How can I prevent this?

I don't know, but maybe specifying tp in the float placement option in
Layout>Document helps.

-- 
Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet
  email: you know it already, tel: +46-8-164055, fax:+46-8-167715
 the free science campaign: http://ethology.zool.su.se/freescience



Re: Layout things (humaniora)

2001-04-25 Thread Jürgen Spitzmüller

Andre Berger worte:
 
> The name is bibtopics. A different .bib file is sourced for each
> topic.
 
The exact name is bibtopic. Get it at
ftp://ftp.dante.de/tex-archive/macros/latex/contrib/supported/bibtopic/

But notice that LyX doesn't support it by itself (yet). You need an 
external script written by Herbert Voss which runs bibtex as often as 
needed by this package.
Have a look at:
http://www.educat.hu-berlin.de/~voss/lyx/bibtex/bibtopic.html

Good Luck,

Juergen.




Re: Bug in latex code

2001-04-25 Thread Nagy Erno

On Wed, 25 Apr 2001, Dekel Tsur wrote:
> On Tue, Apr 24, 2001 at 04:54:01PM +0200, Nagy Erno wrote:
> > If I set the language to hungarian (magyar) the lyx generate code like
> > this
> > \documentclass[a4paper,magyar]{article}
> > \usepackage[latin2]{inputenc}
> > \usepackage{babel}
> > 
> > istead of
> > 
> > \documentclass[a4paper,magyar]{article}
> > \usepackage[latin2]{inputenc}
> > \usepackage[magyar]{babel}
> > \usepackage[T1]{fontenc}
> This is not a bug: when you put 'magyar' as an optional argument to 
> \documentclass, it is passed to all packages, so \usepackage{babel} and
> \usepackage[magyar]{babel} are equivalent.

It may be, but the missing "\usepackage[T1]{fontenc}" line is bug,
because the division of words will be wrong. Unfortunatly I can't try
it with the leatest lyx (I use it from debian package). Please sombody
(who has the current version) try it.

Thanks,
Ned




Re[2]: angstrom symbol in math mode

2001-04-25 Thread Guenter Milde

On Wed, 25 Apr 2001 07:29:32 -0400 wrote Brad Langhorst <[EMAIL PROTECTED]>:

> Thanks for everybody's input here.
> Sounds like I'll have to take a gander at the source to see what the problem 
> is.
> 
> Lyx is 1.1.5fix2
> \AA{} does not work
> {\AA} does not work
> only 
> textrm{\AA} seems to have any function at all
> 
> let me know if you all come up with anything in the meantime

Did you already try \mbox{\AA}? It works fine here (lyx 1.1.6 on Linux)
See also the attached testfile.


--
[EMAIL PROTECTED]


#LyX 1.1 created this file. For more info see http://www.lyx.org/
\lyxformat 218
\textclass article
\begin_preamble
% Real- und Imaginärteil mit lateinischen Buchstaben
\renewcommand{\Im}{\mathrm{Im}}
\renewcommand{\Re}{\mathrm{Re}}
% Vektoren als schräge fette Buchstaben
\renewcommand{\vec}[1]{\textbf{\itshape #1}}
\end_preamble
\language german
\inputencoding latin1
\fontscheme default
\graphics default
\paperfontsize default
\spacing single 
\papersize a4paper
\paperpackage a4
\use_geometry 1
\use_amsmath 0
\paperorientation portrait
\leftmargin 2cm
\topmargin 1cm
\rightmargin 2cm
\bottommargin 1cm
\secnumdepth 3
\tocdepth 3
\paragraph_separation skip
\defskip medskip
\quotes_language german
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle plain

\layout Standard

Ein Test der akzentuierten Zeichen im Mathe modus
\layout Standard


\begin_inset Formula \( 50\mbox {\AA } \)
\end_inset 


\the_end



Re: Lyx*geometry not understood by 1.1.6fix1

2001-04-25 Thread Andre Poenitz

> since I upgraded to LyX 1.1.6fix1 (via rpm), LyX does not react on my
> ~.Xdefault setting. I had two lines telling
> 
> LyX*width: 720
> LyX*height:670

As far as I know LyX does not check any .X* settings.

Andre'

-- 
André Pönitz . [EMAIL PROTECTED]



Re: Bug in latex code

2001-04-25 Thread Nagy Erno

> > It may be, but the missing "\usepackage[T1]{fontenc}" line is bug,
> > because the division of words will be wrong. Unfortunatly I can't try
> > it with the leatest lyx (I use it from debian package). Please sombody
> > (who has the current version) try it.
> Do you get the 'usepackage[T1]{fontenc}' when using 'default' language ?
> If not, add '\font_encoding T1' to ~/.lyx/lyxrc

Well, it's work with this setting. It's ok. But I think it would be
better if it will be get into next release, because there are a lots of
people who hasn't knowledge and time to fix it. I don't know if it
needed in any else languege, but in hungarian is.

Thanks,
   Ned




Lyx*geometry not understood by 1.1.6fix1

2001-04-25 Thread





Hi,

since I upgraded to LyX 1.1.6fix1 (via rpm), LyX does not react on my
~.Xdefault setting. I had two lines telling

LyX*width: 720
LyX*height:670

and with 1.1.5 this worked well. After looking in the man page, I changed
this to

LyX*geometry 720x670

but still no effect. However, starting LyX from a terminal with

lyx -geometry 720x670

works as desired.

Anyone else had this problem? 
(I know, I could make an alias, still I wonder
whether there is another solution.)

Guenter

--
[EMAIL PROTECTED]




Re: LongTable and MiniPage

2001-04-25 Thread Lars Gullik Bjønnes

"Jacek M. Holeczek" <[EMAIL PROTECTED]> writes:

| Hi,
| I've met the following problem.
| I would need a LongTable ("Table Layout -> Spec. Table -> Longtable")
| which is inside of a MiniPage ("Layout -> Paragraph Environment ->
| ParagraphExtra Layout -> [Minipage + Width -> 100%]").
| As long as I have the LongTable outside of the MiniPage it is correctly
| split over many pages.
| As soon as I switch the MiniPage on, the table is placed on one
| (single) page, up to the end of this page, and is cut (just the beginning 
| is there).
| Could you, please, help me,

This is how minipages work. 

Why do you "need" it inside a minipage?

-- 
Lgb



Re: Lyx for OSX (was [OT] TeXmacs?)

2001-04-25 Thread Allan Rae

On Wed, 25 Apr 2001, Jacobo Myesrton wrote:

> I think that LyX could look very good  ported to MacOSX. The port should
> not be very difficult. It is a matter of rewriting the GUI in Cocoa.

"...not be very difficult"  ;-)

Complexity of porting medium-to-low, learning curve of Cocoa unknown.

> Is somebody working on this?

Not at the moment, although, I have been seriously considering applying
for an Apple student development place -- free G4 for a year and a bunch
of other stuff.  Gotta get some more work done on my thesis first though
:(

Are you volunteering?

Allan. (ARRae)




Re: Layout things (humaniora)

2001-04-25 Thread Christopher Jones

Have a look at jurabib: http://userpage.fu-berlin.de/~jberger/ for the
footnotes.  You will find that it handles citations in footnotes in a relatively
flexible way. You can also download the bst file jachicago, which is a
modification of achicago.bst made to work with the jurabib.sty file.


> >>4. References to the former: I see that lyx makes square
brackets (which I > >>can't seem to procuce on this terminal) around references
in text. The > >>Department wants me to refer in footnotes and not in the text,
which make > >>these inappropriate (what? how do you spell that?). Same goes in
the > >>References in the end:




Lyx for OSX (was [OT] TeXmacs?)

2001-04-25 Thread Jacobo Myesrton

I think that LyX could look very good  ported to MacOSX. The port should 
not be very difficult. It is a matter of rewriting the GUI in Cocoa.  Is 
somebody working on this?




Re: figure-reference in text differs from figure number

2001-04-25 Thread Herbert Voss

Wolfgang Engelmann wrote:
> 
> Dear Lyx-Seelsorger
> 
> what did I do wrong:
> my list of figures shows correctly figure numbers numbered according to the
> chapters
> e.g.
> 2.6
> 2.7
> etc
> 
> however in the text it is referred to as
> 
> figure 2.3.1
> figure 2.3.2
> 
> I am using book style
> and the recommended [short caption]{long caption} legends
> in order to avoid too long text in the LOF

send your whole preamble

Herbert

-- 
http:[EMAIL PROTECTED]





Re: LongTable and MiniPage

2001-04-25 Thread Herbert Voss

"Jacek M. Holeczek" wrote:
> 
> Hi,
> I've met the following problem.
> I would need a LongTable ("Table Layout -> Spec. Table -> Longtable")
> which is inside of a MiniPage ("Layout -> Paragraph Environment ->
> ParagraphExtra Layout -> [Minipage + Width -> 100%]").
> As long as I have the LongTable outside of the MiniPage it is correctly
> split over many pages.
> As soon as I switch the MiniPage on, the table is placed on one
> (single) page, up to the end of this page, and is cut (just the beginning
> is there).

a MINIpage is a minipage ... ;-)
why do you need it for a long table? this makes no sense (for me)

Herbert

-- 
http:[EMAIL PROTECTED]



Re: LongTable and MiniPage

2001-04-25 Thread Jacek M. Holeczek

Many thanks for your reply.

> This is how minipages work.
Let me ask a small question on this occasion - do you mean that a minipage
will NEVER be split over pages (even if it is just a long piece of text) ?

> Why do you "need" it inside a minipage?
On principle because I have a "lng" table with quite a lot of
footnotes in it. So I just wanted to have a separate minipage with this
table (and "embedded" footnotes).
But ... if this is not possible ... I think I can also live with the
longtable and footnotes in the bottom of the page.
Best regards,
Jacek.
P.S. May I ask an unrelated question - when is the 1.1.6fix2 planed ?




Re: Lyx*geometry not understood by 1.1.6fix1

2001-04-25 Thread Ralph L. Meyer

Hi Guenter...
I had the same problem.  The only way I found around it was to include
the command line command in a start button on the Enlightenment start
bar.  LyX does not seem to want to respond to the .Xdefaults file at
all.  Also, since I'm using a hi-res screen, I couldn't use the straignt
numbers of pixels I wanted the LyX window to open to.  I had to multiply
the -geometry figures by a third to a half again to get LyX to the size
I wanted it to open as.

The command line in the Enlightenment start-bar button is in the same
form as the one you used to start LyX the way you want it from a
terminal:

lyx -geometry NNNxNNN

I couldn't find anything else that worked.  Developers?  Any answers?
Best,
Ralph


begin:vcard 
n:Meyer;Ralph L.
tel;fax:(609) 258-1087
tel;home:(732) 251-0331
tel;work:(609) 258-4228
x-mozilla-html:TRUE
org:Princeton University;East Asian Studies Department
adr;quoted-printable:;;211 Jones Hall=0D=0APrinceton University;Princeton;New Jersey;08544;USA
adr:;;39 Nelson Avenue;Monroe Twp.;New Jersey;08831-8708;USA
version:2.1
email;internet:[EMAIL PROTECTED]
title:Publications Manager EAS Dept.
note;quoted-printable:Also: Owner/Consultant of=0D=0AR and R Computing Services
x-mozilla-cpt:;-13024
fn:Ralph L. Meyer
end:vcard



LongTable and MiniPage

2001-04-25 Thread Jacek M. Holeczek

Hi,
I've met the following problem.
I would need a LongTable ("Table Layout -> Spec. Table -> Longtable")
which is inside of a MiniPage ("Layout -> Paragraph Environment ->
ParagraphExtra Layout -> [Minipage + Width -> 100%]").
As long as I have the LongTable outside of the MiniPage it is correctly
split over many pages.
As soon as I switch the MiniPage on, the table is placed on one
(single) page, up to the end of this page, and is cut (just the beginning 
is there).
Could you, please, help me,
Thanks in advance,
Jacek.




RTF > LaTex conversion

2001-04-25 Thread Shawn Koons

Is there a program that will convert RTF to LaTex (or Lyx) that would
make it easier to import a document into Lyx with most of the formatting
in place?

Converting RTF to, importing the text to Lyx, and then going through the
document by hand  is a bit time-comsuming when dealing with 60 page+
documents.

Shawn

--
Mitakuye Oyasin
--





Re: Re[2]: angstrom symbol in math mode

2001-04-25 Thread Brad Langhorst

On Wednesday 25 April 2001 09:05 am, Guenter Milde wrote:
> On Wed, 25 Apr 2001 07:29:32 -0400 wrote Brad Langhorst 
<[EMAIL PROTECTED]>:
> > Thanks for everybody's input here.
> > Sounds like I'll have to take a gander at the source to see what the
> > problem is.
> >
> > Lyx is 1.1.5fix2
> > \AA{} does not work
> > {\AA} does not work
> > only
> > textrm{\AA} seems to have any function at all
> >
> > let me know if you all come up with anything in the meantime
>
> Did you already try \mbox{\AA}? It works fine here (lyx 1.1.6 on Linux)
> See also the attached testfile.

I've just tried the mbox method (i must have missed it before)
this seems stable across saves and reopening
the  saved version looks like this

\begin_inset Formula \( \Delta vol=\frac{4\pi }{3}\left( 
r_{pH2}-r_{pH7}\right) ^{3}=\frac{4\pi }{3}\left( 17.87\mbox {\AA 
}-16.03\mbox {\AA }\right) ^{3}=\frac{4\pi }{3}*6.263\mbox {\AA 
}^{3}=26.24\mbox {\AA }^{3} \)


Well that puts my homework out the door but doesn't explain this textrm 
problem (I think its save to say its a problem with textrm since the mbox 
method works).
Thanks for the workaround!

I think my goal is now two fold
1) figure out what this textrm is all about and why it gets funky on save and 
reopen
2) add something like \rho or \pi for \AA to the math mode so that we don't 
have to enter another mode to get this symbol  (and maybe others?)

Thanks again for all your kind help and suggestions for how to get this 
working.

brad





































\end_insert

>
> --
> [EMAIL PROTECTED]


Content-Type: TEXT/x-lyx; charset="iso-8859-1"; name="aatest.lyx"
Content-Transfer-Encoding: QUOTED-PRINTABLE
Content-Description: 




Re: Bug in latex code

2001-04-25 Thread Matej Cepl

On steda 25 duben 2001  8:42 you wrote:

> > It may be, but the missing "\usepackage[T1]{fontenc}" line
> > is bug, because the division of words will be wrong.
> > Unfortunatly I can't try it with the leatest lyx (I use it
> > from debian package). Please sombody (who has the current
> > version) try it.
>
> Do you get the 'usepackage[T1]{fontenc}' when using 'default'
> language ? If not, add '\font_encoding T1' to ~/.lyx/lyxrc

On the same tune: I am using 1.1.6fix1 and trying my beloved ae 
package (I really like the Computer Modern fonts). However, I am 
not able to get PS (via dvips) with Type1 fonts (at least, that 
is what I get with PDF (via PS)  option), but it is perfectly OK 
with PDFLaTeX. I guess, there is some config of dvips, which I 
should set up. Where is it (having fresh tetex from RedHat 7.0), 
please?

Thanx

Matej Cepl



Re: Lyx*geometry not understood by 1.1.6fix1

2001-04-25 Thread Robin Turner

On Wednesday 25 April 2001 16:25, Andre Poenitz wrote:
> > since I upgraded to LyX 1.1.6fix1 (via rpm), LyX does not react on my
> > ~.Xdefault setting. I had two lines telling
> >
> > LyX*width: 720
> > LyX*height:670
>
> As far as I know LyX does not check any .X* settings.


So what, if anything, does it read?  Is there any way to get round those dull 
grey menus and toolbars?

Robin



Re: clearpage without empty page

2001-04-25 Thread Dekel Tsur

On Wed, Apr 25, 2001 at 12:55:34PM -0400, Wolfgang Engelmann wrote:
> I am getting too many unprocessed floats in a book
> A clearpage cures it and its ok after a chapter. 
> However, if I insert it after a section an empty page is
> inserted after the figure floates have been placed, which
> is undesired. How can I prevent this?

Put \usepackage{afterpage} in the preamble, and then
use \afterpage{\clearpage} instead of just \clearpage
(note that this doesn't work in 2-col mode).



Re: Lyx*geometry not understood by 1.1.6fix1

2001-04-25 Thread Dekel Tsur

On Wed, Apr 25, 2001 at 03:17:03PM +0200,  wrote:
> since I upgraded to LyX 1.1.6fix1 (via rpm), LyX does not react on my
> ~.Xdefault setting. I had two lines telling
> 
> LyX*width: 720
> LyX*height:670
> 
> and with 1.1.5 this worked well. After looking in the man page, I changed
> this to
> 
> LyX*geometry 720x670
> 
> but still no effect. However, starting LyX from a terminal with

I use LyX*geometry with no problem.
Looking at the line above, it seems you forgot to put ':', namely the line
should be
LyX*geometry: 720x670



Re: Layout things (humaniora)

2001-04-25 Thread Dekel Tsur

On Wed, Apr 25, 2001 at 02:34:11PM +0200, J?rgen Spitzm?ller wrote:
> Andre Berger worte:
>  
> > The name is bibtopics. A different .bib file is sourced for each
> > topic.
>  
> The exact name is bibtopic. Get it at
> ftp://ftp.dante.de/tex-archive/macros/latex/contrib/supported/bibtopic/
> 
> But notice that LyX doesn't support it by itself (yet). You need an 
> external script written by Herbert Voss which runs bibtex as often as 

Actually, the CVS version have support for bibtopic or bibunits
(though current CVS is quite unstable, so it shouldn't be used).



Re: Embedded Python (Was: Re: [OT] TeXmacs?)

2001-04-25 Thread Rem


- Original Message -
From: "Matej Cepl" <[EMAIL PROTECTED]>
To: "LyX disc. list" <[EMAIL PROTECTED]>
Sent: Wednesday, April 25, 2001 9:12 AM
Subject: Embedded Python (Was: Re: [OT] TeXmacs?)


> On úterý 24 duben 2001 21:51 you wrote:
> > >   3.TeXmacs comes with the Guile/Scheme extension
> > > language.
> >
> > Hmmm... we'll almost certainly end up with Python.  Asger has
> > already shown about 3 years ago that Python can be embedded in
> > a couple of lines. The problem is more a matter of "should we,
> > yet?"
>
> YES! Than I would be able to get my beloved transpose-characters
> function, which nobody cares to implement in LyX.
>
> Matej

We need some lawyers in the developers team eh? ;-)
R




Embedded Python (Was: Re: [OT] TeXmacs?)

2001-04-25 Thread Ronald Florence

Matej Cepl writes:
  
  YES! Than I would be able to get my beloved transpose-characters 
  function, which nobody cares to implement in LyX.
  
I wouldn't know how to implement it, but I'll second the request.  In
addition to a transpose-characters (C-t) function, LyX could use a
transpose-words (M-t) function; improved implementations of
word-capitalize, word-lowcase, and word-upcase functions; and
sentence-sensitive commands like delete-to-end-of-sentence (M-d),
go-to-end-of-sentence (M-e) and go-to-beginning-of-sentence (M-a).

For the eternal wish-list ...

-- 

Ronald Florence http://members.home.net/18james



Re: Embedded Python (Was: Re: [OT] TeXmacs?)

2001-04-25 Thread Jean-Pierre.Chretien


>>From: Matej Cepl <[EMAIL PROTECTED]>
>>To: "LyX disc. list" <[EMAIL PROTECTED]>
>>Subject: Embedded Python (Was: Re: [OT] TeXmacs?)
>>Date: Wed, 25 Apr 2001 10:12:56 -0400
>>
>>On úterý 24 duben 2001 21:51 you wrote:
>>> >   3.TeXmacs comes with the Guile/Scheme extension
>>> > language.
>>>
>>> Hmmm... we'll almost certainly end up with Python.  Asger has
>>> already shown about 3 years ago that Python can be embedded in
>>> a couple of lines. The problem is more a matter of "should we,
>>> yet?"
>>
>>YES! Than I would be able to get my beloved transpose-characters 
>>function, which nobody cares to implement in LyX.
>>
>>Matej

Having customizable panels both for math macros and ordinary macros
is more urgent IMHO, unless such an embedding helps to do it.

We've got here a tool prone to formula typesetting and the
reuse of already available stuff is far too rough. 
Anyone having used Ann Arbor's SGML implementation of TeX will 
see what I mean I guess.

Sorry I can't give a hand on it...

-- 
Jean-Pierre




Antwort: Re: Prevent linebreaks and pagenumbering in TOC

2001-04-25 Thread Andreas_Doering

   
  
"Jean-Pierre.Chretie   
  
n"  An: [EMAIL PROTECTED], 
[EMAIL PROTECTED]   
  Thema:  Re: Prevent linebreaks and 
pagenumbering in TOC  
   
  
25.04.01 10:18 
  
Bitte antworten an 
  
"Jean-Pierre.Chretie   
  
n" 
  
   
  
   
  










>>
>>I´m a Lyx-newbie and ran in two problems:
>>
>>1. The linebreaks within words at the TOC look ugly. How can I prevent
>>these linebreaks in the TOC?
>>I tried
>>
>> \mbox{ bla bla .bla}
>>
>>but then, there wasn´t any linebreak at all and the line in the TOC left
>>the right margin. The section line looks
>>quite OK in the normal text, so I don´t want to do a linebreak in the
>>section line, causing the TOC-line to behave the same.

>You will get in trouble as well with the runnib headers I guess.
>The optional text in sectioning instructions allows to get
>shorter test in both places.

>>
>>2. I tried Herbert Voss´ trick to prevent pagenumbering showing up in the
>>TOC:
>>
>> \tableofcontents
>> \addtocontents{toc}{\protect\thispagestyle{empty}}
>>
>>The problem is, that I´m using fancyheader, so I tried a
>>
>> \addtocontents{toc} {\protect\fancyfoot{}}
>>
>>This works fine for the TOC, but in the normal text, the pagenumbering at
>>even pages disappeared.
>>
>>Thanks in advance

>I personnaly use the fancyplain facility to change headers and footers
>for special pages (i.e. no printing of chaptermarks in the first page
>of a chapter. Yous shouls have look at the fancyhdr doc.

I did this before, but I´m only able to avoid pagenumbering at the first
page of the TOC.
Though I did a

\fancyfoot[LE]{\thepage}

at the plain text after the TOC to reestablish the settings in the
LATEX-preface, there this is already entered. This works, but I think,
that´s not the way it should be handeled.

Andi













Re: Embedded Python (Was: Re: [OT] TeXmacs?)

2001-04-25 Thread Lars Gullik Bjønnes

Matej Cepl <[EMAIL PROTECTED]> writes:

| YES! Than I would be able to get my beloved transpose-characters 
| function, which nobody cares to implement in LyX.

You only have to provide a patch...

(same as you would have to do with python, unless you don't want to
share of course.)

-- 
Lgb



Embedded Python (Was: Re: [OT] TeXmacs?)

2001-04-25 Thread Matej Cepl

On úterý 24 duben 2001 21:51 you wrote:
> >   3.TeXmacs comes with the Guile/Scheme extension
> > language.
>
> Hmmm... we'll almost certainly end up with Python.  Asger has
> already shown about 3 years ago that Python can be embedded in
> a couple of lines. The problem is more a matter of "should we,
> yet?"

YES! Than I would be able to get my beloved transpose-characters 
function, which nobody cares to implement in LyX.

Matej



Re: Re[2]: angstrom symbol in math mode

2001-04-25 Thread Dekel Tsur

On Wed, Apr 25, 2001 at 09:40:59AM -0400, Brad Langhorst wrote:
> I think my goal is now two fold
> 1) figure out what this textrm is all about and why it gets funky on save and 
> reopen
> 2) add something like \rho or \pi for \AA to the math mode so that we don't 
> have to enter another mode to get this symbol  (and maybe others?)

Put the following line in the preamble
  \newcommand{\mAA}{\mbox{\AA}}
in the preamble, and then use \mAA in math mode.

Perhaps a better solution is to put the following lines in the preamble
  \let\oldAA=\AA
  \renewcommand{\AA}{\ensuremath{\mbox{\oldAA}}}
and then you can use \AA in math mode.



Re: Embedded Python (Was: Re: [OT] TeXmacs?)

2001-04-25 Thread Matej Cepl

On Wed 25 duben 2001 12:06 Lars Gullik Bj?nnes wrote:
> Matej Cepl <[EMAIL PROTECTED]> writes:
> | YES! Than I would be able to get my beloved
> | transpose-characters function, which nobody cares to
> | implement in LyX.
>
> You only have to provide a patch...
>
> (same as you would have to do with python, unless you don't
> want to share of course.)

OK, I have no clue how to do it in C++ and I cannot programm 
well, but I was able to do it in my Word (a long time ago, when 
have been working with it) like this:

Sub Prohodit()
Dim Pom As String
With Selection
.MoveRight Unit:=wdCharacter, Count:=1, Extend:=wdExtend
Pom = .Text
.Delete
.MoveLeft Unit:=wdCharacter, Count:=1
.InsertAfter Pom$
.MoveStart Unit:=wdCharacter, Count:=2
End With
End Sub

Tell me, how to write it in C++ and where does it go, and five 
minutes later I will have it there (and you will get a patch). 
Promise!

I do not want quarrel with you about such a triviality, but what 
I mean is, that by embedding Python you would allow us, 
non-programmers, to help you a send you beautiful :-) programmes 
for everything WE need (not what you think we need, which may be 
sometimes different).

Have a nice day

Matej Cepl



Re: LyX-1.1.6 compile problem on OSF

2001-04-25 Thread David Bailey

Hi Allan,

Actually, there is an acconfig.h in the sigc++ directory already. It is
identical to the one you sent out.

It sounds like something more peculiar to the make utility on the tru64
operating system?

Regards,
Dave

On Wed, 25 Apr 2001, Allan Rae wrote:

> On Tue, 24 Apr 2001, David Bailey wrote:
> [...]
> > Making all in sigc++
> > Make: Don't know how to make ./macros/acconfig.h.m4.  Stop.
> > *** Exit 1
> > Stop.
> >
> > Has anyone experienced this as well? Has anyone resolved it? Forgive me if
> > I'm being naive on this.
>
> Very weird.  sigc++/acconfig.h should be in the distribution. So everyone
> who used the source tarball should have been affected by this if that was
> the case. I guess we better check to make sure `make dist` is working
> properly.
>
> What's happening is that acconfig.h is missing so make is trying one of
> its rules for generating some of the header files and failing.
>
> I've attached sigc++/acconfig.h from latest CVS.  This should work okay
> now.
>
> Allan. (ARRae)
>

David A. Bailey, [EMAIL PROTECTED]
School of Oceanography, University of Washington
Box 357940, Seattle, WA 98195-7940 USA
ph: +1 206 221 6570 fax: +1 206 685 3354




Re: RTF > LaTex conversion

2001-04-25 Thread Herbert Voss

Shawn Koons wrote:
> 
> Is there a program that will convert RTF to LaTex (or Lyx) that would
> make it easier to import a document into Lyx with most of the formatting
> in place?

http://members.home.net/setlur/rtf2latex2e/

Herbert

-- 
http:[EMAIL PROTECTED]



Re: Re[2]: angstrom symbol in math mode

2001-04-25 Thread Brad Langhorst

Sorry I think I wasn't clear in my earlier post
 I did try the mbox function and it  works fine.

I would like to figure out what the problem is with the math parser's 
handling of the textrm function and possibly add something like \rho
or \pi for \AA to the math parser so that it is easier to use that symbol.

thanks again for everybody's help/interest!


brad
On Wednesday 25 April 2001 09:05 am, Guenter Milde wrote:
> On Wed, 25 Apr 2001 07:29:32 -0400 wrote Brad Langhorst 
<[EMAIL PROTECTED]>:
> > Thanks for everybody's input here.
> > Sounds like I'll have to take a gander at the source to see what the
> > problem is.
> >
> > Lyx is 1.1.5fix2
> > \AA{} does not work
> > {\AA} does not work
> > only
> > textrm{\AA} seems to have any function at all
> >
> > let me know if you all come up with anything in the meantime
>
> Did you already try \mbox{\AA}? It works fine here (lyx 1.1.6 on Linux)
> See also the attached testfile.
>
>
> --
> [EMAIL PROTECTED]


Content-Type: TEXT/x-lyx; charset="iso-8859-1"; name="aatest.lyx"
Content-Transfer-Encoding: QUOTED-PRINTABLE
Content-Description: 




Re: Layout things (humaniora)

2001-04-25 Thread Dekel Tsur

On Wed, Apr 25, 2001 at 10:22:12AM +0300, Juha Siltala wrote:

Since most of your questions were answered by others, I'll answer only those
which weren't answered:

>   Second page. Table of contents. This should be page 1. No number 
> should be shown though. 

\setcounter{page}{1}\thispagestyle{empty}

> 5. This has been discussed here, but I forgot how to change the heading of
> "References" (I get "Viitteet", need "L?hteet")

\AtBeginDocument{\renewcommand{\refname}{L?hteet}}
in the preamble.



Re: Layout things (humaniora)

2001-04-25 Thread Jürgen Spitzmüller

Tuukka Toivonen wrote:
> It's possible to change page number, afaik, but I don't know how.
> \setpagecounter or something...

\setcounter{page}{1}
in TeX-Mode (Red Text) on the page which has to have pagenumber 1

> > 2. Table of Contents: "Introduction" and "Conclusion" should not be
> > numbered, but should show up in the TOC. Same goes for 
"Bibliography".
> 
> For the first two, you could use "Section*" environment and then write
> below, in red tex, 
> \addtocontents{toc}{otsikonnimi}

If you use Koma (as you mentioned), it's easier: the environment 
"Addchap" (instead of Chapter) does the trick.
To add the Bibliography to the TOC, Koma provides the command bibtotoc.
Just write "bibtotoc" in Layout > Document > Further Options.

Good Luck,

Juergen

-

Sorry if this has been solved yet. I'm not subscribed at the moment.



Re: LongTable and MiniPage

2001-04-25 Thread Jan Goebel

Hi,

you can use threeparttable for footnotes below the table.
But i think that you can't split these tables across
pages ...?

best

jan

On Wed, 25 Apr 2001, Jacek M. Holeczek wrote:

> Many thanks for your reply.
> 
> > This is how minipages work.
> Let me ask a small question on this occasion - do you mean that a minipage
> will NEVER be split over pages (even if it is just a long piece of text) ?
> 
> > Why do you "need" it inside a minipage?
> On principle because I have a "lng" table with quite a lot of
> footnotes in it. So I just wanted to have a separate minipage with this
> table (and "embedded" footnotes).
> But ... if this is not possible ... I think I can also live with the
> longtable and footnotes in the bottom of the page.

-- 
+---
 Jan Goebel (mailto:[EMAIL PROTECTED])

 DIW Berlin 
 Longitudinal Data and Microanalysis
 Königin-Luise-Str. 5
 D-14195 Berlin -- Germany --
 phone: 49 30 89789-377
+---



Antwort: Re: Prevent linebreaks and pagenumbering in TOC

2001-04-25 Thread Andreas_Doering

   

Andre Berger   

  Kopie:

 Thema:  Re: Prevent linebreaks and 
pagenumbering in TOC   
25.04.01   

11:58  

Bitte  

antworten an   

Andre Berger   

   

   







>> 1. The linebreaks within words at the TOC look ugly. How can I prevent
>> these linebreaks in the TOC?
>> I tried
>>
>>  \mbox{ bla bla .bla}
>>
>> but then, there wasn´t any linebreak at all and the line in the TOC left
>> the right margin. The section line looks
>> quite OK in the normal text, so I don´t want to do a linebreak in the
>> section line, causing the TOC-line to behave the same.

>The "\samepage" LaTeX command works, to be found for example in Kopka
>(1994: 1: ch. 3.5.5.5, p. 43 f.).

>I'm not at home and don't remember exactly how/where to use it. If
>anybody is interested I'll look it up this evening.

>Andre Berger[[EMAIL PROTECTED]]

That would be great.


Andi






Re: clearpage without empty page

2001-04-25 Thread Herbert Voss

Dekel Tsur wrote:
> 
> On Wed, Apr 25, 2001 at 12:55:34PM -0400, Wolfgang Engelmann wrote:
> > I am getting too many unprocessed floats in a book
> > A clearpage cures it and its ok after a chapter.
> > However, if I insert it after a section an empty page is
> > inserted after the figure floates have been placed, which
> > is undesired. How can I prevent this?
> 
> Put \usepackage{afterpage} in the preamble, and then
> use \afterpage{\clearpage} instead of just \clearpage
> (note that this doesn't work in 2-col mode).

have you tried this one?
i'm wondering, if it works, because you have no pages
in fact of the unprocessed floats.

Herbert

-- 
http:[EMAIL PROTECTED]



Re: LongTable and MiniPage

2001-04-25 Thread Herbert Voss

"Jacek M. Holeczek" wrote:
> 
> Many thanks for your reply.
> 
> > This is how minipages work.
> Let me ask a small question on this occasion - do you mean that a minipage
> will NEVER be split over pages (even if it is just a long piece of text) ?
> 
> > Why do you "need" it inside a minipage?
> On principle because I have a "lng" table with quite a lot of
> footnotes in it. So I just wanted to have a separate minipage with this
> table (and "embedded" footnotes).

have a look at 

http.//www.educat.hu-berlin.de/~voss/lyx/table.html#foot_2

it's the same in longtables

Herbert

-- 
http:[EMAIL PROTECTED]




Re: uppercase

2001-04-25 Thread Dekel Tsur

On Wed, Apr 25, 2001 at 08:32:28PM +0200, monty wrote:
> ?there is any quick way of changing a whole document written in uppercase to
> lowercase?. I hope so, otherwise, i'll spend a extremly funny time doing it
> (it's nine pages long).

You can change a word to lower case by pressing M-c down, or capitalize a
word using M-c right.
Since your document is long, I suggest you use perl to change all the text
to lowercase:
 perl -ne 'print lc' oldfile.lyx >newfile.lyx



Re: uppercase

2001-04-25 Thread Herbert Voss

monty wrote:
> 
> ¿there is any quick way of changing a whole document written in uppercase to
> lowercase?. I hope so, otherwise, i'll spend a extremly funny time doing it
> (it's nine pages long).

a solution on the run ...
export it as ascii, or copy and paste the text in an
ascii-editor and save it as old.txt. 
than run bash-command

tr "A-Z" "a-z" < old.txt > new.txt

and insert new.txt as paragraphs in lyx.
the only thing you have to do, is to mark the
chapter/section headers new.

Herbert


-- 
http:[EMAIL PROTECTED]



Re: uppercase

2001-04-25 Thread Lars Gullik Bjønnes

"Kayvan A. Sylvan" <[EMAIL PROTECTED]> writes:

| On Wed, Apr 25, 2001 at 08:32:28PM +0200, monty wrote:
| > ¿there is any quick way of changing a whole document written in uppercase to
| > lowercase?. I hope so, otherwise, i'll spend a extremly funny time doing it
| > (it's nine pages long).
| > 
| > Thank you.
| 
| emacs is your friend.
| 
| Bring up the lyx file in emacs, mark the region, then do
| M-x lowercase-region

In my emacs this is downcase-region.

-- 
Lgb



<    1   2   3   >