EPS graphics rotating page

2003-12-15 Thread Paul Medwell
Hi all,

I've got a formatted Excel spreadsheet that I need to insert into my 
document. Its got a heap of colour and formatting, so I can't just 
import it in as a LyX/LaTeX table. I have printed it out to an EPS file, 
and (eventually) I got it to insert into my LyX document. The problem is 
that it rotates the page when I view it in PDF, and when I try to print 
it just gives a blank page.

It doesn't matter whether I rotate the figure in LyX, or even if I 
rotate the EPS, that page in the PDF output is rotated (as a landscape).

Any clues?




Re: Find_Next via keyboard

2003-12-15 Thread Jim Osborn
How embarassing.

On Mon, Dec 15, 2003 at  5:51:55PM -0800, I wrote:
> following a hint from Andre...

I meant Angus, of course.

Sorry,

Jim


Re: Find_Next via keyboard

2003-12-15 Thread Jim Osborn
On Tue, Dec 16, 2003 at  1:40:49AM +0100, Christian Ridderström wrote:
> Furthermore, if you are searching for the same word (let's say gargoyle), 
> then try typing this the first time:
> 
>   M-x word-find-forward gargoyle 
> 
> which will find you the firs ouccurence. Now, in order to find it again, 
> type:
>   M-x  
> 
> When you press , the mini-buffer will be filled with the previous 
> command again (i.e. word-find-forward gargoyle) so when you press  
> your search command is executed again.

It's even easier than that.  If I bind
\bind "C-f" "word-find-forward"

then simply hitting C-f will find it again.

All the pain is in the initial entry, having to type all (or most) of
"word-find-forward". I'm using LyX 1.3.2-Qt, and following a hint
from Andre, found that  pops up what looks like an
auto-complete function.  But it seems, at least in 1.3.2, to just be
a list of the possibliities, and I still need to type virtually the
whole thing in, after putting the focus back in the minibuffer, as
 puts the focus back in the main screen after poping up
the list!  I'd expect I could select "word-find-forward" from the
list poped up, but ,  and  all do
nothing.

What's curious, per Andre's remarks, is that the command-execute
"word-find-forward" and the "word-find-forward" function executed by
the Search popup seem to be completely separate.  I can search for
"foo" in the Search popup, then M-X w-f-f "bar", and then I can
alternately hop from "foo" to "foo" and "bar" to "bar" by pressing
either the "Find_Next" popup button, or "C-f". 

Maybe there's utility in maintaining this separation, but I tend
to think it'd be easier overall if the two mechanisms shared their
strings.  It'd sure make entering the initial w-f-f string easier!

Thanks for all the insights.

Jim


Re: Find_Next via keyboard

2003-12-15 Thread Christian Ridderström
On Sun, 14 Dec 2003, Angus Leeming wrote:

> Jim Osborn wrote:
> 
> > Binding word-find-forward to a key, then starting things rolling
> > by typing;
> >  M-x word-find-forward 
> > allows me to jump to subsequent instances of  by pressing
> > the key w-f-f is bound to, so that's handy for searching when
> > the cost of all that typing makes it worth it. :)
> > 
> > I don't suppose there's a way to get that "M-x word-find-forward"
> > bit into the minibuffer without having to type it all in, is there?
> > I notice the minibuffer doesn't do auto-completion.
> 
> There is. If you're using the xforms frontend, use the  key. If 
> you're using the qt frontend, use the  key. This latter 
> has changed in the 1.4.x program to the  key also.

Furthermore, if you are searching for the same word (let's say gargoyle), 
then try typing this the first time:

M-x word-find-forward gargoyle 

which will find you the firs ouccurence. Now, in order to find it again, 
type:
M-x  

When you press , the mini-buffer will be filled with the previous 
command again (i.e. word-find-forward gargoyle) so when you press  
your search command is executed again.

> > I tried binding "command-execute word-find-forward" but that just
> > seems to pop me into the minibuffer, and when I type , I
> > get (Unknown function: ).  I couldn't seem to find a
> > variant with command-sequence that helped.
> 
> I'm no expert. Christian seems to have this bind stuff sorted. Maybe 
> he can advise?

AFAIK, there is no way to leave the focus with the mini-buffer... and the 
reason that "command-execute word-find-forward" only pops up the 
mini-buffer is (I'm guessing here) that command-execute doesn't take any 
arguments.

Some suggestions for the future here would be:
* Introduce a lyx-function that ends a command-sequence but leaves the 
  focus in the mini-buffer, alternatively
* Change 'command-execute' so that it's arguments are put in the 
  mini-buffer and then the focus is put on the mini-buffer

We really should get an warning message when we try to use a lyx-function 
with more arguments than it supports.. like with 'command-execute' above.

/Christian

-- 
Christian Ridderström   http://www.md.kth.se/~chr




Re: Find_Next via keyboard

2003-12-15 Thread Christian Ridderström
On Sat, 13 Dec 2003, Jim Osborn wrote:

> \bind "C-f" "command-sequence word-find-forward;"

This is almost right... something that would work, but probably doesn't 
help you is this bind-command

\bind "C-f" "command-sequence word-find-forward gargoyle;"

which binds C-f to looking for the word 'gargoyle'... the problem is of 
course that you'd be looking for 'gargoyle' all the time.

/Christian

-- 
Christian Ridderström   http://www.md.kth.se/~chr




Re: Find_Next via keyboard

2003-12-15 Thread Christian Ridderström
On Sat, 13 Dec 2003, Jim Osborn wrote:

> I searched for "find-next", "find-again", "search-again" (what my
> emacs uses for that function) in all the bind files in my LyX,
> but don't find a lyx-function to bind to a key.
> 
> Also, if I can bind Find_Next, what's the function for Replace?
> 
> A second question is: how can I get a list of all the bindable
> lyx-functions?  So far, I've resorted to grepping the bind files,
> but I bet there are some that don't appear in any of those.  The
> Wikis are pretty good at listing the various keys, but I couldn't
> find a lyx-functions list.
> 
> LyX 1.3.2, Qt.

I just finished this page:

http://wiki.lyx.org/pmwiki.php/LyX/LyxFunctions

which lists the available lyx-functions for lyx 1.3.3, and here you have 
the list for 1.3.2:

http://wiki.lyx.org/pmwiki.php/LyX/LyxFunctionList1-3-2

(they are probably the same as for 1.3.2).

/Christian

-- 
Christian Ridderström   http://www.md.kth.se/~chr




[OT] debian from knoppix (was: Re: strange koma-letter2.lyx template behavior)

2003-12-15 Thread Holger Zebner
> > Debian testing/unstable, build from Knoppix 3.3
>
> BTW: how do I build a Debian from Knoppix?
in your shell:
knoppix-installer
(a script which works quite well but still in develpment)

You may send more on this by private mail since it isn't really lyx stuff
They got LyX Version 1.3.2-1 on the current cd.
ftp://ftp.uni-kl.de/pub/linux/knoppix/packages.txt

Greetings
Holger



Re: LaTeXConfig.lyx.in

2003-12-15 Thread Christian Ridderström
On Mon, 15 Dec 2003, Paul A. Rubin wrote:

> Hi, all.
> 
> Does anyone know if LaTeXConfig.lyx.in (and LyXConfig.lyx.in) have changed 
> from version 1.3.1 to version 1.3.3.  I'm on the latter but had to borrow 
> copies of the two .in files from the former.

I don't know, but you can use these links to find out:
http://www.lyx.org/cgi-bin/viewcvs.cgi/lyx-devel/lib/doc/LaTeXConfig.lyx.in
http://www.lyx.org/cgi-bin/viewcvs.cgi/lyx-devel/lib/doc/LyXConfig.lyx.in

If the page is confusing, you can use:

http://www.lyx.org/cgi-bin/viewcvs.cgi/lyx-devel/lib/doc/LyXConfig.lyx.in?rev=lyx-1_3_1
to retrieve the version with 1.3.1, and similarly

http://www.lyx.org/cgi-bin/viewcvs.cgi/lyx-devel/lib/doc/LyXConfig.lyx.in?rev=lyx-1_3_3
to retrieve 1.3.1 and then compare them manually.

/Christian

-- 
Christian Ridderström   http://www.md.kth.se/~chr




LaTeXConfig.lyx.in

2003-12-15 Thread Paul A. Rubin
Hi, all.

Does anyone know if LaTeXConfig.lyx.in (and LyXConfig.lyx.in) have changed 
from version 1.3.1 to version 1.3.3.  I'm on the latter but had to borrow 
copies of the two .in files from the former.

Thanks,

-- Paul

*
Paul A. Rubin  Phone:(517) 432-3509
Department of Management   Fax:  (517) 432-
The Eli Broad Graduate School of ManagementE-mail:   [EMAIL PROTECTED]
Michigan State University  http://www.msu.edu/~rubin/
East Lansing, MI  48824-1122  (USA)
*
Mathematicians are like Frenchmen:  whenever you say something to them,
they translate it into their own language, and at once it is something
entirely different.J. W. v. GOETHE



Re: Native Win32 1.3.3 ~ User Lyx directory setting mystery

2003-12-15 Thread Paul A. Rubin
[posted and mailed]

"Eric Desfonds" <[EMAIL PROTECTED]> wrote in
news:[EMAIL PROTECTED]
.com: 

> Hello all,
>  
> I just downloaded the new version of native Lyx (version 1.3.3, thank
> you Ruurd). 
>  
> I have installed it on two PCs, my laptop and my office PC.  I am
> having problems with the office PC, as it is using P:/.lyx as the user
> home directory.  And I get error messages if I try a reconfigure (i.e.
> the system cannot find the path specified). 
>  
> The laptop is using C:\Documents and Settings\Administrator\.lyx and
> everything runs smoothly on it.  I copied over the Lyx main folder to
> the office PC (when running 1.3.2) hoping things would go smoothly but
> I decided to install the upgrade also and now things are starting to
> break. =(  I had the Cygwin version installed before on the office PC,
> but this was working fine, I removed it before moving the native win32
> version. 
>  
> What I am wondering about is how is the User directory defined in the
> win32 versions?  I was used to changing the lyxprofile file in the
> Cygwin version or the Linux ports but I cannot find anything similar
> on the native win32 port.  I never specified to use C:\Documents and
> Settings\Administrator\.lyx  on the laptop...  it just happened this
> way.  Could it have been hardcoded by Ruurd? 
>  
> On my laptop I am running as user administrator, on the office PC I am
> using a login edesfonds (local admin rights, but not the same user
> name).  On the office PC, I have my My Documents mapped to P:\My
> Documents, which is different from the laptop (I originally thought
> this was the problem). 
>  
> I am running Windows 2000 on both computers.  Any ideas, suggestions,
> comments would be most welcomed. 
>  
> Cheers,
>  
> Éric Desfonds
>  
> 
> --_=_NextPart_001_01C3C352.DBC52301--

An easy solution (IMHO) is to edit the properties of your Windows shortcut 
to LyX.  Change the "Target" entry to 

blahblahblah\lyx.exe -userdir 

and leave the "Start in" entry pointing to LyX's bin directory.  Note that 
userdir is preceded by just a single dash, not a double dash.  You should 
be able to set the user directory to any directory in which you have write 
permissions.  You'll probably need to do Edit | Reconfigure the first time 
you use the modified shortcut.

HTH,

Paul

*
Paul A. Rubin  Phone:(517) 432-3509
Department of Management   Fax:  (517) 432-
The Eli Broad Graduate School of ManagementE-mail:   [EMAIL PROTECTED]
Michigan State University  http://www.msu.edu/~rubin/
East Lansing, MI  48824-1122  (USA)
*
Mathematicians are like Frenchmen:  whenever you say something to them,
they translate it into their own language, and at once it is something
entirely different.J. W. v. GOETHE



Re: Advice for PhD thesis

2003-12-15 Thread Herbert Voss
Martijn Brouwer wrote:

I think the standard book and its equivalent from komascript are good candidates, but 
I still don't know how to achieve 1).
Can  somebody give me some advice on how to achieve want I want? Another class or just 
a clever latex package? I have seen a few PhD theses written in LaTeX with this 
layout, so it has to be possible.
look at komascript, it has tons of options, especially
for chapters.
Herbert




Native Win32 1.3.3 ~ User Lyx directory setting mystery

2003-12-15 Thread Eric Desfonds
Hello all,
 
I just downloaded the new version of native Lyx (version 1.3.3, thank you Ruurd).
 
I have installed it on two PCs, my laptop and my office PC.  I am having problems with 
the office PC, as it is using P:/.lyx as the user home directory.  And I get error 
messages if I try a reconfigure (i.e. the system cannot find the path specified).
 
The laptop is using C:\Documents and Settings\Administrator\.lyx and everything runs 
smoothly on it.  I copied over the Lyx main folder to the office PC (when running 
1.3.2) hoping things would go smoothly but I decided to install the upgrade also and 
now things are starting to break. =(  I had the Cygwin version installed before on the 
office PC, but this was working fine, I removed it before moving the native win32 
version.
 
What I am wondering about is how is the User directory defined in the win32 versions?  
I was used to changing the lyxprofile file in the Cygwin version or the Linux ports 
but I cannot find anything similar on the native win32 port.  I never specified to use 
C:\Documents and Settings\Administrator\.lyx  on the laptop...  it just happened this 
way.  Could it have been hardcoded by Ruurd?
 
On my laptop I am running as user administrator, on the office PC I am using a login 
edesfonds (local admin rights, but not the same user name).  On the office PC, I have 
my My Documents mapped to P:\My Documents, which is different from the laptop (I 
originally thought this was the problem).
 
I am running Windows 2000 on both computers.  Any ideas, suggestions, comments would 
be most welcomed.
 
Cheers,
 
Éric Desfonds
 


Re: lyx server (not serverpipe)

2003-12-15 Thread Angus Leeming
christoff pale wrote:

> Hi,
> In emacs, one can start a emacs-server and then
> I can do emacsclient file.xyz and it will open this in
> the existing process.
> I use lyxpipe a lot, and when I have multiple lyx
> sessions, this lyxpipe gets corrupted.
> 
> Is it possible to add this feature in lyx? However, I
> would prefer xemacs style buffer tabs over this
> solution.
> 
> Where do I place a feature request?

www.bugzilla.org.

However, in this instance I suggest that you don't bother.

lyx 1.4.x has per-process sockets and a helper routine 'lyxclient' to 
make interaction with the expected instance simple. The eventual idea 
is to get rid of the pipes entirely as they're unix-specific.

What do you use the pipes to do?

-- 
Angus



Advice for PhD thesis

2003-12-15 Thread Martijn Brouwer
Hi,
I am rewriting an art icle to a chapter of my PhD thesis and for the time being I am 
using the report class. I would like my chapters to start with a page containing the 
chapter title and  an abstract summarising the contents of the chapter. I tried to do 
this in the 'report' class but I encounter a few problems:
- The abstract is typeset on page of its own.
- After an abstract the page counter is reset.
I guess report is not the right class to to this. Can somebody point me a class where 
I can achieve the following:
1) A chapter starts with a page containing the title and abstract, with a sane 
pagenumbering
2) I would like to have an bibliography at the end of each chapter. (I will have a 
look at chapterbib)
3) I do not want to have the chapter titles start with 'Chapter X'
4) I would like to be able to use the \frontmatter and \mainmatter commando's

I think the standard book and its equivalent from komascript are good candidates, but 
I still don't know how to achieve 1).
Can  somebody give me some advice on how to achieve want I want? Another class or just 
a clever latex package? I have seen a few PhD theses written in LaTeX with this 
layout, so it has to be possible.

Thanks in advance!

Martijn Brouwer


-- 
Physics is a approximate description of a part of the physical phenomena, that are 
only a small portion of human perceptions.

H Casimir, Dutch Physicist


Re: Severe Problem using Tables

2003-12-15 Thread Herbert Voss
Tim Schröder wrote:

i am having a problem with lyx 1.3.3 using tables. My tables are quite 
huge so i decided to turn them by 90° and make them long tables.
I get hit by 10-18 LaTex complains if i do that.

Long Table works -> no problems
90° work -> no problems
both together -> argh!!
Could somebody help me & what information is needed ?
no problem:
choose landscape mode
\usepackage{lscape}
\begin{landscape} in TeX (red)
 ... here insert your longtable as usual ...

	\end{landscape} in TeX (red)



The landscape makro starts by default a new page.

Herbert




lyx server (not serverpipe)

2003-12-15 Thread christoff pale
Hi,
In emacs, one can start a emacs-server and then 
I can do emacsclient file.xyz and it will open this in
the existing process.
I use lyxpipe a lot, and when I have multiple lyx
sessions, this lyxpipe gets corrupted.

Is it possible to add this feature in lyx? However, I
would prefer xemacs style buffer tabs over this
solution.

Where do I place a feature request?


__
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/


Re: Severe Problem using Tables

2003-12-15 Thread Angus Leeming
Tim Schröder wrote:

> Hi there,
> 
> i am having a problem with lyx 1.3.3 using tables. My tables are
> quite huge so i decided to turn them by 90° and make them long
> tables. I get hit by 10-18 LaTex complains if i do that.
> 
> Long Table works -> no problems
> 90° work -> no problems
> both together -> argh!!
> 
> Could somebody help me & what information is needed ?

3 web clicks and you're there:
http://www.educat.hu-berlin.de/~voss/LaTeX/index.phtml
http://www.educat.hu-berlin.de/~voss/LaTeX/table/table.phtml
http://www.perce.de/LaTeX/rotating.pdf

Perhaps this is what you need:

ERT[\begin{sidewaystable}]
your table
ERT[\end{sidewaystable}]


-- 
Angus



Severe Problem using Tables

2003-12-15 Thread Tim Schröder
Hi there,

i am having a problem with lyx 1.3.3 using tables. My tables are quite 
huge so i decided to turn them by 90° and make them long tables.
I get hit by 10-18 LaTex complains if i do that.

Long Table works -> no problems
90° work -> no problems
both together -> argh!!
Could somebody help me & what information is needed ?

best regards

Tim



Re: installing cvs snapshot

2003-12-15 Thread Karsten Heymann
On Mon, 15 Dec 2003 16:35:07 +0100
"Holger Zebner" <[EMAIL PROTECTED]> wrote:

> > one thing first: to get the error messages in english (which would
> > be more helpfull when posting in an english list), enter
> >   LC_ALL=C dpkg -i xxx
> > So you don't have to translate yourself (not that it would have been
> > bad)
> So I just set this variable for the current session? Will I get
> English only when installing for the installing of software?

LC_ALL (or LANG) affects the program you actually *run*, in this case it
is the Program dpkg, so the error messages from *dpkg* are in the set
language. It has no influence on the stuff you install, but only on the
diagnostic messages of the installer program. Nevertheless does LyX
care for LC_ALL or LANG, so 
  LC_ALL=C lyx
gives you a LyX with an english interface while
  [EMAIL PROTECTED] lyx 
gives you a LyX with a german interface, but that is something different.
(Note that this setting does not affect the language of the text you
write with lyx -- this can be quite confusing :)

> I added [EMAIL PROTECTED] to my /etc/environments and the problem with
> the diffenernt language startup is solved thanks to your response.

Okay, now everyone on your computer gets german messages. (You can set
it only for yourself in .bashrc, .profile or .xsession).

Karsten


Re: noweb interface

2003-12-15 Thread stuart macgregor
On Monday 15 Dec 2003 6:44 pm, Kayvan A. Sylvan wrote:

> I have not lost the ability to do ps, dvi, PDF either.
>
> This is undoubtedly a configuration problem.
ok - I'll try to fix it.


> My HTML output from noweb (via LyX) is not pretty, but it certainly works
> (and it does use the l2h filter).
>
> You may need to put the drectory where l2h was installed in your path.
I'll have a look - it was not on the lib path and not where notangle etc lived 
and find could not find it on /usr/local anywhere.

> > Lyx can re-ingest the .nw file it can export - but that seems to be about
> > it.
>
> At least one thing works. ;-)
(actually I have not tested it yet - just assumed what was on the menu worked 
:-)


> It may be that for what you want to do, using gvim or xemacs in combination
> may work better for you. I use LyX and Literate styles all the time without
> any issue.

> Maybe at some point, a "code editor" facility can be added? I don't know,
> but I don't have the time to make any such additions.
I have just started looking at the 'including external material' in 
Customisation.lyx - if the other lyx options come to life under noweb, I 
might have a go at linking scraps to gvim?

> I don't think it's a poor tool, it may simply be a poor match for what
> you want to do.
ok - I was just a bit grumpy with it - it does not seem ready for simple :) 
users like me.

Thanks for replying


Re: noweb interface

2003-12-15 Thread Kayvan A. Sylvan
On Mon, Dec 15, 2003 at 06:28:46PM +, stuart macgregor wrote:
> With help I got the noweb interface running, but what I have does not seem 
> worth using.
> 
> Lyx now sports the 3 promised doc styles and if article(noweb) is used then 
> lyx will offer to export to noweb, or ascii custom... 
> 
> I appear to have lost the ability to generate .ps, .dvi, .html etc.

I use noweb (literate programming) with LyX all the time and I don't have
any problems with it.

I have not lost the ability to do ps, dvi, PDF either.

This is undoubtedly a configuration problem.

> The noweb package says it can generate latex and html - but the html it 
> produces is hopeless, and it does not come with the l2h filter its man page 
> advises of.

My HTML output from noweb (via LyX) is not pretty, but it certainly works
(and it does use the l2h filter).

You may need to put the drectory where l2h was installed in your path.

> Lyx can re-ingest the .nw file it can export - but that seems to be about it.

At least one thing works. ;-)

> The noweb notangle command will collect the bits of embedded scrap code - but 
> I could do much the same with a perl script ol 'Lyx code' segments, without 
> loosing the other lyx facilities.
> 
> For scilab maths such as I am currently doing I usually do the thinking and 
> write up in a .lyx file and then generate the code using gvim.  I had hoped 
> to integrate these stages and end up with integrated documentation, but these 
> tools do not seem to cut the mustard.
> 
> I loose syntax highliting, paranthesis match, smart indent, name completion 
> etc. etc. from the gvim side, and ease and quality of maths and graphics doc 
> output from the lyx side, and gain extra hassle, for no obvious advantage.

It may be that for what you want to do, using gvim or xemacs in combination
may work better for you. I use LyX and Literate styles all the time without
any issue.

> nountangle defaults to outputting C style comments - it will do a few others - 
> but does not offer C++ style used by scilab and (and available to C++)
> 
> There really should be advantage in integrating the maths and pictures and 
> general layout  facilities of lyx and the code editing facilities of gvim (or 
> etc) and supporting the creation of good integrated documentation.

Maybe at some point, a "code editor" facility can be added? I don't know,
but I don't have the time to make any such additions.

> This noweb stuff seems at this point a poor tool.  Perhaps with a good 
> knowledge of the tools it may be possible to coax it into some form of useful 
> life - but I've got work I need to get done.

I don't think it's a poor tool, it may simply be a poor match for what
you want to do.

Best regards,

---Kayvan
-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)


noweb interface

2003-12-15 Thread stuart macgregor
With help I got the noweb interface running, but what I have does not seem 
worth using.

Lyx now sports the 3 promised doc styles and if article(noweb) is used then 
lyx will offer to export to noweb, or ascii custom... 

I appear to have lost the ability to generate .ps, .dvi, .html etc.

The noweb package says it can generate latex and html - but the html it 
produces is hopeless, and it does not come with the l2h filter its man page 
advises of.

Lyx can re-ingest the .nw file it can export - but that seems to be about it.

The noweb notangle command will collect the bits of embedded scrap code - but 
I could do much the same with a perl script ol 'Lyx code' segments, without 
loosing the other lyx facilities.

For scilab maths such as I am currently doing I usually do the thinking and 
write up in a .lyx file and then generate the code using gvim.  I had hoped 
to integrate these stages and end up with integrated documentation, but these 
tools do not seem to cut the mustard.

I loose syntax highliting, paranthesis match, smart indent, name completion 
etc. etc. from the gvim side, and ease and quality of maths and graphics doc 
output from the lyx side, and gain extra hassle, for no obvious advantage.

nountangle defaults to outputting C style comments - it will do a few others - 
but does not offer C++ style used by scilab and (and available to C++)

There really should be advantage in integrating the maths and pictures and 
general layout  facilities of lyx and the code editing facilities of gvim (or 
etc) and supporting the creation of good integrated documentation.

This noweb stuff seems at this point a poor tool.  Perhaps with a good 
knowledge of the tools it may be possible to coax it into some form of useful 
life - but I've got work I need to get done.


Re: lyx133 for win32

2003-12-15 Thread Angus Leeming
Philip A. Viton wrote:

> For me, the disappointment was that the placement of big operators
> like \sum and \int hasn't been fixed (can anyone confirm this?).
> Presumably this is because Ruurd is still using the same edition of
> Qt, and it's a Qt, not really a lyx, problem.

That is correct. Ruurd uses Qt 2.3.x to build these ports because that 
is the most recent version of the Qt library for Win32 released under 
the GPL. Unfortunately, it's buggy.

LyX's licence will allow the compiled lyx code to be linked against a 
non-free (in the GPL sense) library, so the limitation isn't legal, 
but rather financial. If some kind soul were to donate a Qt 
commercial licence to lyx, then we'd probably feel honor bound to 
provide a Win32 lyx executable linked against it.

Note, I say "probably" here. The above statement is my own personal 
take on things. It is not 'official' LyX policy and I don't want you 
to think I am speaking for any of the other developers when I make 
it.

Alternatively, of course, someone might put in the grunt work and 
write a frontend that uses a GPL-ed GUI library that will run on 
Win32. Huang Ying has started writing a GTK-based frontend in the 
1.4.x tree and, indeed, has finished the main LyX-screen. All that 
remains are the 40+ dialogs...

-- 
Angus



lyx133 for win32

2003-12-15 Thread Philip A. Viton
For me, the disappointment was that the placement of big operators like 
\sum and \int hasn't been fixed (can anyone confirm this?). Presumably this 
is because Ruurd is still using the same edition of Qt, and it's a Qt, not 
really a lyx, problem.


Philip A. Viton
City Planning, Ohio State University
190 W. 17th Ave,Columbus OH 43210
[EMAIL PROTECTED]


Re: installing cvs snapshot

2003-12-15 Thread Holger Zebner
Hi!

Sorry if I am getting OT.

> one thing first: to get the error messages in english (which would be
> more helpfull when posting in an english list), enter
>   LC_ALL=C dpkg -i xxx
> So you don't have to translate yourself (not that it would have been
> bad)
So I just set this variable for the current session? Will I get English only 
when installing for the installing of software?

Remeber my last post about internationalization.

I added [EMAIL PROTECTED] to my /etc/environments and the problem with the 
diffenernt language startup is solved thanks to your response.

Greetings
Holger



Re: beamer.layout

2003-12-15 Thread Tobias Hilbricht
Am Sonntag, 14. Dezember 2003 15:39 schrieb Vivek Sharma:

> Has anyone developed a beamer.layout file for presentations?

I have not heard of a beamer.layout.

> What do most people use for presentations in Lyx.

I use and recommend prosper. Prosper is available as a LaTeX-package form CTAN 
and there are layout files available for LyX.

Yours sincerely

Tobias Hilbricht



Re: Memoir class and Inserting Index entry on LyX 1.3.3

2003-12-15 Thread Ronald Florence
Marc Jeffrey Driftmeyer <[EMAIL PROTECTED]> writes:

> Switching from book class to memoir to continue work on a novel works
> so long as I do not insert an Index. 

Does your publisher -- and/or do you -- really want an index in a novel?
-- 

Ronald Florence www.18james.com



Re: lyx133 for win32

2003-12-15 Thread Milos Komarcevic
Philip A. Viton wrote:
Just in case you hadn't noticed: ruurd has a distribution of 1.3.3 
available. (Haven't tried it yet, still downloading).
Thanks for the heads up Philip, and thanks Ruurd.
I've just downloaded it and tried it out, seems to work ok for me so far.
Couple of things I've noticed:
- the default graphic conversion script works now (yay!!!)

- output of LaTeXConfig.lyx is still zero because of the old version of sed 
included (see Andre's posts from last week)

- there is now an additional console window open when LyX is started, which 
is both good and bad; bad because it wastes taskbar space, good because it 
seems no additional windows pop up when various conversion scripts are run, 
so the whole experience is a bit faster and feels more responsive; would be 
great if both could be done at the same time, but if it's not possible i 
don't feel strongly about either way

Regards,
Milos 



Re: Subtitle Numbering Scheme

2003-12-15 Thread Andre Poenitz
On Sat, Dec 13, 2003 at 04:03:22PM -0800, Matthew Redekopp wrote:
> I've a question regarding the numbering scheme provided by
> Section/Subsection/etc: DVI prints the numbers 0.1.2, 0.2.2, etc, that is,
> with a zero first.  Is there any means of getting rid of the zero?
> 
> 
> 
> Also, I notice that the report document layout-type publishes the Table of
> Contents and the second page of the Abstract with regular numbers as opposed
> to Roman numerals.  I saw the Latex solution to remedying this but I can't
> see its application to Lyx.  Any ideas?

You've probably chjosen a text class with chapters (like 'book')
Use something 'smaller' if you don't want chapters ('report' or
'article' or such)

Andre'


Re: installing cvs snapshot

2003-12-15 Thread Karsten Heymann
Hi Holger,
(sorry for replying to you directly)

one thing first: to get the error messages in english (which would be
more helpfull when posting in an english list), enter 
  LC_ALL=C dpkg -i xxx
So you don't have to translate yourself (not that it would have been
bad)

On Sun, 14 Dec 2003 22:55:08 +0100
"Holger Zebner" <[EMAIL PROTECTED]> wrote:

[installing deb package]
> [error while processing lyx_1.4.0cvs-1_i386.deb (--install):
> try to overwrite »/usr/share/texmf/fonts/type1/bluesky/cm/cmex10.pfb«
> which is as well in package tetex-extra]

Checkinstall seems to include
/usr/share/texmf/fonts/type1/bluesky/cm/cmex10.pfb into the lyx package.
(As I'm sure that lyx doesn't ship with cm-type1 fonts this is most
certainly a checkinstall bug). As this file is already in the
tetex-extra package the debian package management system prevents
istallation, which is perfectly fine. What you have to do is prevent
checkinstall from including this file into the deb package,
unfortunately I don't know how, maybe checkinstall has the ability to
exclude some files from the built package.

As an alternative maybe you can use stow instead of checkinstall:

$ apt-get install stow
$ ./configure --prefix=/usr/local/stow/lyx-1.4.0cvs-20031215 
$ make && su -c "make install"
$ cd /usr/local/stow
$ stow lyx-1.4.0cvs-2003-12-15

and voila, lyx is accessible in /usr/local/bin/lyx. (To uninstall it,
use $ stow -D lyx-1.4.0cvs-2003-12-15 in /usr/local/stow).

My 2c,
Karsten


Re: math_formula_help

2003-12-15 Thread Andre Poenitz
On Sat, Dec 13, 2003 at 12:02:50PM +0100, Christian Ridderström wrote:
> On Sat, 13 Dec 2003, Herbert Voss wrote:
> 
> > > Why use multline, rather than what you get when you just press C-Enter?
> > > (Or perhaps the question should be why don't we get multline?)
> > 
> > how should LyX know what kind of equation the user wants, when
> > he inserts C-Enter??
> 
> I'm wondering if there is a special reason why 'eqnarray' is the math 
> environment you get by default the first time you press C-Enter?

Sure. History. Moreover, it's not the worst. \substack would be more
surprising.

> For instance, is eqnarray the most frequently used environment?

Historically, certainly. Here it is still.

> Or is it related to that you by default get an 'equation' math environment 
> when you do C-m or S-C-m?

Same historical reason.

> Ok, but if this is what we should use to increase the size of brackets, 
> do you think it would be a good idea to add a menu entry for it? E.g.
>   Insert->Math->vphantom
> 
> Or possibly add a button in the Delimiters-dialog that inserts a 
> vphantom-inset?

I wouldn't mind a vphantom inset.

Andre'


Memoir class and Inserting Index entry on LyX 1.3.3

2003-12-15 Thread Marc Jeffrey Driftmeyer
Okay to keep this straightforward:

There  are two bugs at work here.

Bug #1 using Memoir Class

Switching from book class to memoir to continue work on a novel works so 
long as I do not insert an Index.  It complains with the following error:

LaTeX Error: Command \see already defined.
\newcommand*\see[2]{\emph{\seename} #1}
  
Your command was ignored.
Type  Ito replace it with another command,
orto continue without it.

Removing the Index entry results in the error being resolved and 
View/export to DVI/PDF/HTML, etc works.

Bug #2 adding index entry after entering a return/enter newline call 
from the keyboard crashes LyX.

Scenario:  Tested with Book class and Memoir class to rule out class 
specific issues.

On the last/current written chapter with the following layout:

Text included to help visualize the situation:

"I have felt this before. I musn't focus on the fire. I musn't focus on 
her twin,

[INDEX]
Appendix A
If I put an index entry just after twin, of course it gives me the 
desired Idx tag to then name it so it knows where to reference the term, 
twin and from what page it is being referenced.

Now if I hit return/enter to get a new line within LyX and then go 
Insert->Index Entry then lyx crashes.

Here is a dgb reference that might be of value:

Label: Index Entry... Shortcut: I Accel:
Label: URL... Shortcut: U Accel:
Label: Note Shortcut: N Accel:
Label: Lists & TOC Shortcut: O
Found the pseudoaction: [177|algorithm]
Found the pseudoaction: [177|figure]
Found the pseudoaction: [177|table]
Label: Table of Contents Shortcut: C Accel:
Found the pseudoaction: [177|algorithm]
Found the pseudoaction: [177|figure]
Found the pseudoaction: [177|table]
Label: Index List Shortcut: I Accel:
Label: BibTeX Reference... Shortcut: B Accel:
Label: TeX Shortcut: T Accel: [C-l]
Label: Minipage Shortcut: p Accel:
Label: Graphics... Shortcut: G Accel:
Label: Tabular Material... Shortcut: b Accel:
Label: Floats Shortcut: a
Found the pseudoaction: [222|algorithm]
Found the pseudoaction: [222|figure]
Found the pseudoaction: [222|table]
Found the pseudoaction: [255|figure]
Found the pseudoaction: [222|algorithm]
Found the pseudoaction: [222|figure]
Found the pseudoaction: [222|table]
Found the pseudoaction: [255|figure]
Label: Include File... Shortcut: d Accel:
Label: Insert File Shortcut: e
Label: LyX Document... Shortcut: X Accel:
Label: ASCII as Lines... Shortcut: L Accel:
Label: ASCII as Paragraphs... Shortcut: P Accel:
Label: External Material... Shortcut: x Accel:
repainting 0,0 674,407
repainting 56,243 1,23
repainting 56,243 1,23
repainting 56,243 1,23
LyXFunc::dispatch: action[232] arg[]
repainting 56,243 1,23
BufferView::Pimpl::Dispatch: action[232] arg[] x[1076575562] 
y[138434328] button[138437344]
LyXFunc::dispatch: action[232] arg[]

lyx: SIGSEGV signal caught
Sorry, you have found a bug in LyX. Please read the bug-reporting 
instructions in Help->Introduction and send us a bug report, if 
necessary. Thanks !

-Marc




Re: Switching from the Math panel window to the document window

2003-12-15 Thread Andre Poenitz
On Fri, Dec 12, 2003 at 12:10:20PM -0800, Oreste Riccardo Natale wrote:
> Hi all,
> 
> Maybe my question is only related to the way I would like to use Lyx,
> instead of beeing related to Lyx usage: when I'm writing equations,
> after pressing a button on the Math panel I would like to switch
> automatically from it to the document window without explicitly clicking
> on the document window itself, so reducing the number of times I have to
> use to mouse.
> 
> Is there any way to do that? 

Learn to insert the symbols using the keyboard ;-)

Seriously: All symbols can be inserted by typing their LaTeX name, i.e.
\exists\alpha\in\Omega.

Andre'


Re: new versions of seminar.layout and dinbrief.layout

2003-12-15 Thread Günter Milde
Christian Ridderström wrote:
 
> And if you like, you can upload your layouts to the wiki site, especially 
> to this group:
> 
>   http://wiki.lyx.org/pmwiki.php/Layouts/Layouts

The layouts and templates are now at the layouts-wiki. Thanks to
Christian for setting up the site.

Günter

-- 
G.Milde at web.de


Templates Shouldn't Override Language Preferences

2003-12-15 Thread Sean
I have American set as my default language (partly due to a bug in my 
tex distro where it defaults to the UKenglish behavior for \today), but 
that doesn't effect a new document from the template unless I change 
that setting for the specific document.

I don't know if there are other instances of where the global prefs 
should override the behavior encoded in the templates, but the language 
setting seems like a good candidate.

Sean



Re: strange koma-letter2.lyx template behavior

2003-12-15 Thread Günter Milde
Holger Zebner wrote:
> Hi,
> I have scrlttr2.layout and the template koma-letter2.lyx installed.
> 
> When I Do "New from template" -> koma-letter2.lyx I get a 
> message saying:
> 
> "Unsing the default document class, because the class scrlettr2 is unknown."
> 
> I don't know why it says scrlettr2 instead of scrlttr2.


It works for me (LyX 3.1.3 on Debian Linux). Lets see:

The scrlttr2.layout starts with

#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass scrlttr2
\begin_preamble

also scrlttr2 is the layout file. Looking there we find

#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass[scrlttr2]{letter (koma-script v.2)}
# KOMA scrlettr2 textclass definition file.
# Juergen Spitzmueller <[EMAIL PROTECTED]>, 2003/2/17.


ok.

Maybe your scrlttr2.layout file reeds 

#  \DeclareLaTeXClass[scrlettr2]{letter (koma-script v.2)}

in the second line? Change the [scrlettr2] to [scrlttr2] and try again.

(If you are on Unix/Linux, copy scrlttr2.layout to ~/.lyx/layouts and change
there).

 -- 
> Debian testing/unstable, build from Knoppix 3.3

BTW: how do I build a Debian from Knoppix?

Günter

-- 
G.Milde at web.de


Re: Bibliography in TOC

2003-12-15 Thread Anca Tibor- Attila
Am Sun, Dec 14, 2003 at 03:27:38PM -0500 schrieb Andres Becerra Sandoval:
> Use tocbibibind package from CTAN:
> 
> \usepackage{tocbibind}
> 
> in the preamble.

Insert the string above like:
\usepackage[nottoc]{tocbibind}
Doing this you will underpress the toc to show as first entry 
"Contents". All other things will be shown.

Tibor


Re: strange koma-letter2.lyx template behavior

2003-12-15 Thread Juergen Spitzmueller
Holger Zebner wrote:
> I don't know why it says scrlettr2 instead of scrlttr2.

typo. will be fixed in 1.3.4
Jürgen.