Re: toggled printing for instructor version

2003-06-18 Thread Juergen Spitzmueller
Jeremy C. Reed wrote:
 This works for me (using \invisible instead of \unvisible).

Yes, this was a typo. Sorry.

 I am not sure if it is possible, but it would be great if I could make it
 smarter so the blank space could be done at the bottom of the page. Right
 now, I use \invisible for my instructor notes, so the student's handouts
 now have random white space. Hmmm... even though it looks strange, maybe
 this is okay, since they can use that space to take hand-written notes.

At the bottom of each page? That is difficult. You can try to set the contents 
into a minipage into a float with b[ottom] placement. I don't know if that 
method is save though. And the number of floats is limited:

\usepackage{ifthen}
[EMAIL PROTECTED]
\usepackage[dvips]{color}}

\newboolean{HIDE}
\newcommand\invisible
{\ifthenelse{\boolean{HIDE}}{%
\begin{figure}[b]%
\begin{minipage}[c]{1.0\columnwidth}%
\color{white}
}{}}
\newcommand\visible
{\ifthenelse{\boolean{HIDE}}{%
\end{minipage}%
\end{figure}
\color{black}
}{}}

Perhaps there are better solutions.

If you just want to comment out the contents, use the comment-environment:

\usepackage{ifthen}

\newboolean{HIDE}
\newcommand\invisible
{\ifthenelse{\boolean{HIDE}}{%
\begin{comment}}{}}
\newcommand\visible
{\ifthenelse{\boolean{HIDE}}{%
\end{comment}}{}}

 Also, it would be cool if the content could be highlighted and there was a
 button to toggle \invisible on and off.

What do you mean by highlighted? You can certainly use any emphasizing method 
and color or, if you want highlighted background, the soul package.

A gui element (button) for this is overloaded IMHO. It's not too difficult to 
toggle the HIDE switch manually.

Regards,
Juergen.


Re: How to edit LaTeX math in LyX?

2003-06-18 Thread Andre Poenitz
On Tue, Jun 17, 2003 at 10:38:07AM -0700, Chris Carlen wrote:
 I have tried going into math mode, then entering the following:
 
 \[
 f: \left(
 \begin{split}
 y = \\
  f(x) +\\
  +g(x)
 \end{split}
 \right)
 \]
 \end{document}
 
 which actually shows what I want in LyX, but then gives LaTeX errors.

Like what?

Something indicating that you have not switched on AMS support?
[Layout-Document-Extra-Use_AMS]
 
 It seems I will have little choice but to learn LaTeX math editing in 
 depth, which I had hope to avoid by using LyX.
 
 Can someone give me a step-by-step instruction on how to enter an 
 equation in LyX using LaTex code that doesn't give errors? 

You can type the formula as you did, mark it and press C-m.

 From there I will go about learning LaTeX to get the effects I want.
 But at this point there is something I don't understand about getting LyX
 to digest it in the first place.

I thought you said it actually shows what you want?

 In other words, do you go into math mode, or type in ERT mode?

Math mode for ordinary math.
 
 In math mode, the above code turns into LyX WYSIWYM math editing.  This
 is a problem because it is then impossible to see the text LateX code
 underneath.

What does Export as LaTeX yield?

 Clues as to what is going on would be appreciated.
 
 Finally, can \usepackage{amsmath} be used in LyX?

Sure.

Andre'

-- 
Those who desire to give up Freedom in order to gain Security, will not have,
nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)


Re: This is why Arabic support for lyx 1.3.2 doesn't work in my Mandrake 9.1

2003-06-18 Thread Juergen Spitzmueller
Munzir Taha Obeid wrote:
 Open the latex file in an editor and add a space before any closing LaTeX
 code within the \begin{arabtext} and the \end{arabtext}. I mean a space
 should be entered before \end{arabtext} and if you have any formatting say
 you centered some text you should go to the latex file and add a space
 before the \end{center} or you get errors like this:

We are aware of this problem (I already proposed a fix). What happens if you 
just put an ERT with a space (or with {}) at very place where the arabtex 
environment ends?

HTH,
Juergen.


others like lyx?

2003-06-18 Thread Thomas CLive Richards

does anyone know of any other programs like lyx? Personally, I think the
idea behind lyx is very cool, but the implementation is a little
lacking. There are also some features which i would really like to see,
but which aren't present. So, I'm on the hunt for another

-- 

Thomi Richards,
[EMAIL PROTECTED]



Re: list of math shortcuts

2003-06-18 Thread Andre Poenitz
On Wed, Jun 18, 2003 at 01:20:25AM -0400, Nirmal Govind wrote:
 Hi.. is there a list of all the math shortcuts somewhere? Some lyx 
 configuration file maybe?

look for some .../bind/math.bind 

 I found a document on the web by googling which had some but not all..
 for example, how do I get a hat or a tilde on an existing character?

E.g. \hatspacea \tildespacea.
Or   M-m h   aM-m S-ampersand a

 can select the character with the mouse and then get the hat or tilde
 from the Math panel.. Or I can delete the character and do \tilde -
 space - character.. I'd like to avoid doing the latter and hopefully the
 former if there's some keyboard shortcut for this... 

If there is none you can put a 

 \bind M-m x \mathinsert \tilde

in your personal bind file yourself.

Andre'

-- 
Those who desire to give up Freedom in order to gain Security, will not have,
nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)


Re: others like lyx?

2003-06-18 Thread Juergen Spitzmueller
Thomas CLive Richards wrote:
 does anyone know of any other programs like lyx? Personally, I think the
 idea behind lyx is very cool, but the implementation is a little
 lacking. There are also some features which i would really like to see,
 but which aren't present. So, I'm on the hunt for another

There is TeXMacs, the commercial Scientific Word and there used to be the 
e:doc project. All of these have different aims. Personally, I didn't try 
any, because the description din't sound very promising. But this is a matter 
of taste of course. And there's always LaTeX with Emacs/AucTeX/preview 
features.

BTW feature requests are always welcome.

Juergen.


Re: Vectorstyle

2003-06-18 Thread Andre Poenitz
On Wed, Jun 18, 2003 at 02:33:57PM +0900, Jan Peters wrote:
 Hi there!
 
 I have three more questions:
 
 1. Is there a way to make the vectors in lyx on screen in bold style, 
 e.g., \boldsymbol{} or \bm{}
 while still using \vec{} ?

If you settle for another name like \v or so:

Create a math macro \v with one arg, defined as \vec{#1}.
In the second blue box write   \mathbf{#1}.
This second box is for appearance in LyX only, i.e. it does not
matter what you write in there as long as it looks ok.

 2. Can I configure the font for the large parentheses? On my Mac it 
 looks kinda ugly!

The parantheses on screen are 'hand drawn'. There is no font involved.

 3. Why are the subscript characters in a_b so low? Is that due to the 
 version of the QT?

No. Something between a bug and a feature. It's easier to click at things
if there is a bit more space in some places and in this particular place it
would not be easy to remove the 'extra' space.

Andre'

-- 
Those who desire to give up Freedom in order to gain Security, will not have,
nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)


Re: others like lyx?

2003-06-18 Thread Jan Peters
On Wednesday, June 18, 2003, at 03:37  PM, Thomas CLive Richards wrote:

does anyone know of any other programs like lyx? Personally, I think 
the
idea behind lyx is very cool, but the implementation is a little
lacking. There are also some features which i would really like to see,
but which aren't present. So, I'm on the hunt for another

try scientific workplace. Demo version downloadable ... and you can
find a keygen to crack it on the web.
or texmacs - but that one sucks big-time from my experience (instable, 
not
userfriendly, little better than using word)!

-Jan



Re: This is why Arabic support for lyx 1.3.2 doesn't work in my Mandrake 9.1

2003-06-18 Thread Juergen Spitzmueller
Munzir Taha Obeid wrote:
 ! LaTeX Error: \begin{center} on input line 11 ended by \end{document}.

http://bugzilla.lyx.org/show_bug.cgi?id=1225

Regards,
Juergen


Re: others like lyx?

2003-06-18 Thread Jan Peters
does anyone know of any other programs like lyx?
For MS Windows there is Scientific Workplace.
You won't get it at the same price, though.
Well, there is a keygen which cracks the trial version.
Just google for it! The trial version is free!
What specifically do you need.
If I make a list of features I really need, would you guys
really implement them? I would start with two things:
a) The Menus in Lyx are very good --- however, the usage
of the math-panels is not nice. I would like to see that
integrated as toolbars. I am integrating some of it in my
.ui toolbars now (thanks to your help andre), but I am missing
a few things!
b) Using the new GPL QT/Mac announced today: a Mac Native version!

c) The Latex import has to work better (Andre: If you treat them
confidentially, I would give them to you)
d) the general goal in the mind: LyX has not only
be better in spirit and underlying OS as well as its own features
(the latex entering of the equations is awesome) than SWP but also
have every feature of SWP as easily accessable (toolbars,
plotting function, computer algebra, better looking equations, etc).
Best wishes,
-Jan


Re[2]: Lighter Version

2003-06-18 Thread Paco Cruz
Bruce Sass,
Con fecha martes, 17 de junio de 2003, 19:55:03, escribió:

BS It is a matter of patience and bells and whistles.  I have KDE 3.1.2
BS on a 486-66MHz, once you get passed the startup times and the few
BS seconds it takes to redraw a screen it is just fine...
BS - Bruce

Please,  excuse  me if this is out of topic, but I am really impressed
with the fact that a 486-66MHz is running both KDE 3.1.2 and LyX (I
think it is wonderful).

How  much  RAM are you talking about? I am very, very, very interested
in loading both linux *and* LyX in low specs machines.

I  am  trying to convert a handful of this kind of PCs (plus P I, II
and  Celerons) from W98 to Linux, but have not found a viable solution
due to lack of RAM (they only have 32 Mb).


-- 
Saludos,
 Pacomailto:[EMAIL PROTECTED]




Re: others like lyx?

2003-06-18 Thread Andre Poenitz
On Wed, Jun 18, 2003 at 04:02:31PM +0900, Jan Peters wrote:
 
 does anyone know of any other programs like lyx?
 
 For MS Windows there is Scientific Workplace.
 You won't get it at the same price, though.
 
 Well, there is a keygen which cracks the trial version.

?

 Just google for it! The trial version is free!

I have a fully payed neatly boxed version on the shelf which is
completely useless for me as I can't even install this bloody thing.
 
 What specifically do you need.
 
 If I make a list of features I really need, would you guys
 really implement them?

They certainly will be taken into consideration. Whether they get
implemented or not depends on the amount of work, spare time, the phase
of the moon and sometimes even on the willingness of people to pay for
development.

 I would start with two things:
 
 a) The Menus in Lyx are very good --- however, the usage
 of the math-panels is not nice. I would like to see that
 integrated as toolbars.

As far as I know there is work being done in this direction in the current
development tree.

 I am integrating some of it in my .ui toolbars now (thanks to your help
 andre), but I am missing a few things!
 
 b) Using the new GPL QT/Mac announced today: a Mac Native version!

This would probably mean that at least on developper has access to a Mac,
wouldn't it.

 c) The Latex import has to work better (Andre: If you treat them
 confidentially, I would give them to you)

No problem. Actually, you can cut out all the text or replace it by 'xxx'.
I just need structures.

 d) the general goal in the mind: LyX has not only be better in spirit and
 underlying OS as well as its own features (the latex entering of the
 equations is awesome) than SWP but also have every feature of SWP as
 easily accessable (toolbars, plotting function, computer algebra, better
 looking equations, etc).

In print equations should look the same...

Concerning heavy features as CAS support: This is not just getting the idea
to work (you can compute 1+2 or similar using Maple or Mathematica or
Octave from within LyX already), but this is a awful lot of work.  Our
resources are limited. Nobody can work full time on LyX except in rare
cases like the Change Tracking support when somebody donates 'extra
resources'.

Andre'

-- 
Those who desire to give up Freedom in order to gain Security, will not have,
nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)


Re: others like lyx?

2003-06-18 Thread Juergen Spitzmueller
Jan Peters wrote:
 If I make a list of features I really need, would you guys
 really implement them? I would start with two things:

This is a free software project. People implement features if they feel like 
doing it. It's just a matter of fun.

This is an open project. If you feel like a feature has to be implemented 
urgently and you cannot get a developer on you side, go ahead and code it 
yourself! I have done so (on a very basic level and with very small 
contributes), and I have never seen (nor written) any line of code before.

 a) The Menus in Lyx are very good --- however, the usage
 of the math-panels is not nice. I would like to see that
 integrated as toolbars. I am integrating some of it in my
 .ui toolbars now (thanks to your help andre), but I am missing
 a few things!

Basic support for math toolbars is already in 1.4cvs. You can try if that 
comes close to your needs (you have to enable the toolbar in default.ui).

 b) Using the new GPL QT/Mac announced today: a Mac Native version!

If there is anyone who is interested in doing that port.

 c) The Latex import has to work better (Andre: If you treat them
 confidentially, I would give them to you)

There's work in progress on a new tex2lyx converter. You can test it with the 
cvs-Version (1.4)

Regards,
Juergen


Re: list of math shortcuts

2003-06-18 Thread Nirmal Govind
Awesome! Thanks Andre..

nirmal

On Wednesday 18 June 2003 02:43 am, Andre Poenitz wrote:
 On Wed, Jun 18, 2003 at 01:20:25AM -0400, Nirmal Govind wrote:
  Hi.. is there a list of all the math shortcuts somewhere? Some lyx
  configuration file maybe?

 look for some .../bind/math.bind




bold greek letters

2003-06-18 Thread Nirmal Govind
Hi.. I need to use bold greek letters to denote vectors and currently
even if I start a bold mode and then enter the greek letter I still get
the usual greek letter.. Is there something I can put in the preamble
that will actually put in a bold greek letter where a greek letter has
been entered in bold mode? I use bold greeks so often that it wouldn't
be efficient to change the text style to euro symobls or so everytime I
need a bold greek. If there is something that can be added to the
preamble then I won't have to touch my current docs (since I've
entered all greek vectors in bold mode anyways) and all will be well..
:-)

Thanks,
nirmal



title on every page

2003-06-18 Thread Biggles
Hello,

It must be possible in Lyx to have the title of your book displayed on
every page as a small footer (or header), right? How do I do this, must
I use a certain style (I'm using the standard book style now), or
insert some code?

 

Thanks,

James



Re: others like lyx?

2003-06-18 Thread Jan Peters
b) Using the new GPL QT/Mac announced today: a Mac Native version!
If there is anyone who is interested in doing that port.
I will definitly try myself, but I do not know whether I am good enough 
a Mac/QT programmer
for that and whether I will have enough time! But it would be cool if 
there were a few more
people interested so we could join forces

Best wishes,
-Jan


Re: others like lyx?

2003-06-18 Thread Andre Poenitz
On Wed, Jun 18, 2003 at 04:34:27PM +0900, Jan Peters wrote:
 b) Using the new GPL QT/Mac announced today: a Mac Native version!
 
 If there is anyone who is interested in doing that port.
 
 I will definitly try myself, but I do not know whether I am good enough a
 Mac/QT programmer for that and whether I will have enough time! But it
 would be cool if there were a few more people interested so we could
 join forces

Just try to compile it and report errors.

I doubt there is any Qt programming necessary. This is rather a 'find
suitable bits and pieces' task...

Andre'

-- 
Those who desire to give up Freedom in order to gain Security, will not have,
nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)


Re: others like lyx?

2003-06-18 Thread Juergen Spitzmueller
Jan Peters wrote:
 I will definitly try myself, but I do not know whether I am good enough
 a Mac/QT programmer
 for that and whether I will have enough time! But it would be cool if
 there were a few more
 people interested so we could join forces

I am also interested in that, since I (have to) use MacOSX sometimes now at 
work and I am shure there are others (my time is very limited ATM). This is 
certainly not an easy task I guess (guessing from the fact that the native 
QtWin-port of LyX is still work in progress). Just try it and share your 
experience on the list.

Regards,
Juergen.


Re: Toolbars

2003-06-18 Thread Angus Leeming
Jan Peters wrote:

 Hearing this announcement below, I was wondering: Will we see a Mac OS
 X native version
 of LyX soon? If yes, how soon?

As soon as they release Qt under the GPL and you build LyX against it. We 
are always happy to accept such binaries on the lyx ftp site.

-- 
Angus



Re: bold greek letters

2003-06-18 Thread Angus Leeming
Nirmal Govind wrote:

 Hi.. I need to use bold greek letters to denote vectors and currently
 even if I start a bold mode and then enter the greek letter I still get
 the usual greek letter.. Is there something I can put in the preamble
 that will actually put in a bold greek letter where a greek letter has
 been entered in bold mode? I use bold greeks so often that it wouldn't
 be efficient to change the text style to euro symobls or so everytime I
 need a bold greek. If there is something that can be added to the
 preamble then I won't have to touch my current docs (since I've
 entered all greek vectors in bold mode anyways) and all will be well..
 :-)
 
 Thanks,
 nirmal

I have used this in the past:

This in the preamble:

\newcommand{\bmath}[1]{\boldsymbol{#1}}
\let\newcommand=\providecommand

and this in the main body:

\begin_inset FormulaMacro
\newcommand{\bmath}[1]{{#1}}

\end_inset

\begin_inset FormulaMacro
\newcommand{\Matrix}[1]{\bmath{#1}}

\end_inset

I now need nothng in the preamble because this works perfectly:
\begin_inset FormulaMacro
\newcommand{\Matrix}[1]{\boldsymbol{#1}}
{\mathbf{#1}}
\end_inset

Hope this helps...

-- 
Angus



Re: Vectorstyle

2003-06-18 Thread Jan Peters
1. Is there a way to make the vectors in lyx on screen in bold style,
e.g., \boldsymbol{} or \bm{}
while still using \vec{} ?
If you settle for another name like \v or so:

Create a math macro \v with one arg, defined as \vec{#1}.
In the second blue box write   \mathbf{#1}.
This second box is for appearance in LyX only, i.e. it does not
matter what you write in there as long as it looks ok.
Where do I do that? I am not that familiar with Lyx yet!

2. Can I configure the font for the large parentheses? On my Mac it
looks kinda ugly!
The parantheses on screen are 'hand drawn'. There is no font involved.
That would be a few nice improvement:
A.) Take nice fonts for the arrows on the vectors, and the parentheses 
and
replace the handcoded stuff by good fonts.
B.) Make the integrals bigger or make two integral types! The current
integrals look like the inline type in latex and not like the good
big ones.


3. Why are the subscript characters in a_b so low? Is that due to the
version of the QT?
No. Something between a bug and a feature. It's easier to click at 
things
if there is a bit more space in some places and in this particular 
place it
would not be easy to remove the 'extra' space.
Hmm, that would also be a thing I would prefer not to see ... when I put
effort into porting lyx to Mac, then I also want to show it to people 
and say:
hey it looks and works better than word. That part is good about texmacs
(which I hate for many other reasons) --- the equations look awesome!

Best,
-Jan 
 



lyx 1.3 vs 1.16

2003-06-18 Thread Roberto Bernetti
Hi
I upgrade my SuSE linux 8.0 to 8.2. One of the most used packet on my desktop
is lyx. SuSE 8.2 is shipped with lyx 1.3 and 8.0 with 1.16fix.
I noted two great differeces that leave me unhappy:

1. when in math mode and I type a tex sequence in 1.16 it is automatically,
after a typed space, rendered as its graphic meaning. This in 1.3 doesn't
work the text changes only color to red

2. under the menu item layout I can no nmore find latex preamble, so I don't
know how to edit some feature of my previous documents.

Does anyone be able to help me to turn to the 1.16 behaviour?

Regards
Roberto

--
---  

 Roberto Bernetti e-mail:
 [EMAIL PROTECTED] V. S.da Vecchia del Pinocchio 1/A
60131 ANCONA 
tel/fax 071 2867103



Re: external script and lyx

2003-06-18 Thread Charpentier Philippe
On Tue, 17 Jun 2003 18:06:09 +0200
Andre Poenitz [EMAIL PROTECTED] wrote:

 On Tue, Jun 17, 2003 at 06:00:58PM +0200, Charpentier Philippe wrote:
   Did you find out exactly why LyX crashes with vtex?
  
  No. I post a message on this on lyx-devel, with all the information I have.
 
 I guess you do not want to build a debug-enabled version and get a
 backtrace from gdb?
 
 Andre'
 
 -- 
 Those who desire to give up Freedom in order to gain Security, will not have,
 nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)

I can do that (but it takes times...), and then what gdb option I have to use?
Ph. C.


Re: Vectorstyle

2003-06-18 Thread Andre Poenitz
On Wed, Jun 18, 2003 at 05:26:03PM +0900, Jan Peters wrote:
 1. Is there a way to make the vectors in lyx on screen in bold style,
 e.g., \boldsymbol{} or \bm{}
 while still using \vec{} ?
 
 If you settle for another name like \v or so:
 
 Create a math macro \v with one arg, defined as \vec{#1}.
 In the second blue box write   \mathbf{#1}.
 This second box is for appearance in LyX only, i.e. it does not
 matter what you write in there as long as it looks ok.
 
 Where do I do that? I am not that familiar with Lyx yet!

So maybe you should get started first.

 2. Can I configure the font for the large parentheses? On my Mac it
 looks kinda ugly!
 
 The parantheses on screen are 'hand drawn'. There is no font involved.
 
 That would be a few nice improvement:
 A.) Take nice fonts for the arrows on the vectors, and the parentheses 
 and
 replace the handcoded stuff by good fonts.

Soso. What font do you suggest for parantheses of arbitrary size?

 Hmm, that would also be a thing I would prefer not to see ... when I put
 effort into porting lyx to Mac, then I also want to show it to people 
 and say:
 hey it looks and works better than word. That part is good about texmacs
 (which I hate for many other reasons) --- the equations look awesome!

Have you _edited_ formulas in TeXMacs (not just entered a few symbols)?

If not, do that.

Now tell me what's more important when writing math: Being able to edit a
formula or good looks on screen. 

Andre'

-- 
Those who desire to give up Freedom in order to gain Security, will not have,
nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)


Re: lyx 1.3 vs 1.16

2003-06-18 Thread Andre Poenitz
On Wed, Jun 18, 2003 at 01:35:36PM +0200, Roberto Bernetti wrote:
 Hi
 I upgrade my SuSE linux 8.0 to 8.2. One of the most used packet on my desktop
 is lyx. SuSE 8.2 is shipped with lyx 1.3 and 8.0 with 1.16fix.
 I noted two great differeces that leave me unhappy:
 
 1. when in math mode and I type a tex sequence in 1.16 it is automatically,
 after a typed space, rendered as its graphic meaning. This in 1.3 doesn't
 work the text changes only color to red

Some Font is not installed. Probably installing
latex-ttf-fonts from ftp.lyx.org/pub/lyx/contrib will help.

If so, complain to SuSE for shipping rpms with broken dependencies.

 2. under the menu item layout I can no nmore find latex preamble, so I don't
 know how to edit some feature of my previous documents.

Document-Preamble perhaps.

Andre'

-- 
Those who desire to give up Freedom in order to gain Security, will not have,
nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)


Re: external script and lyx

2003-06-18 Thread Andre Poenitz
On Wed, Jun 18, 2003 at 10:39:19AM +0200, Charpentier Philippe wrote:
 I can do that (but it takes times...), and then what gdb option I have to use?

None.

Start  'gdb lyx' in the build dir, do whatever causes the crash, and post
the output of 'bt full' here.

Andre'

-- 
Those who desire to give up Freedom in order to gain Security, will not have,
nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)


Re: lyx 1.3 vs 1.16

2003-06-18 Thread Alfredo Braunstein
by way of Roberto Bernetti [EMAIL PROTECTED] wrote:

Hi,

 1. when in math mode and I type a tex sequence in 1.16 it is
 automatically, after a typed space, rendered as its graphic meaning. This
 in 1.3 doesn't work the text changes only color to red

Install ftp://ftp.lyx.org/pub/lyx/contrib/latex-ttf-fonts-0.1-1.noarch.rpm
(src.rpm and .tgz versions available on the same dir) 

or

Install AND TEST http://movementarian.org/latex-xft-fonts-0.1.tar.gz
 
 2. under the menu item layout I can no nmore find latex preamble, so I
 don't know how to edit some feature of my previous documents.
 
 Does anyone be able to help me to turn to the 1.16 behaviour?

Edit-Document-Preamble IIRC


Regards, Alfredo




Re: others like lyx?

2003-06-18 Thread Thomas CLive Richards
 
 Next time I get a free meal I'll tell the people: 'Hey, the idea of
 eating is cool. But your stuff tastes like shit. Can you tell me where
 I can find something better?'
 

I didn't meant o cause offense in any way, but LuX simply doesn't meet
my needs and, IMHO lacks some very vital features..

-- 

Thomi Richards,
[EMAIL PROTECTED]



Re: others like lyx?

2003-06-18 Thread Thomas CLive Richards
 
 BTW feature requests are always welcome.
 

where's the website for feature requests? or should i submit them to
this list?

-- 

Thomi Richards,
[EMAIL PROTECTED]



Re: Vectorstyle

2003-06-18 Thread Jan Peters
1. Is there a way to make the vectors in lyx on screen in bold 
style,
e.g., \boldsymbol{} or \bm{}
while still using \vec{} ?
If you settle for another name like \v or so:

Create a math macro \v with one arg, defined as \vec{#1}.
In the second blue box write   \mathbf{#1}.
This second box is for appearance in LyX only, i.e. it does not
matter what you write in there as long as it looks ok.
Where do I do that? I am not that familiar with Lyx yet!
So maybe you should get started first.
Hm, I have written ca. 10 pages with equations now ... I am just sick of
the ugly lucking arrow...
2. Can I configure the font for the large parentheses? On my Mac it
looks kinda ugly!
The parantheses on screen are 'hand drawn'. There is no font 
involved.
That would be a few nice improvement:
A.) Take nice fonts for the arrows on the vectors, and the parentheses
and
replace the handcoded stuff by good fonts.
Soso. What font do you suggest for parantheses of arbitrary size?
Hm, some truetype font? How does latex do that? To be quite
honest, I do not know which font is right - but there must be some
truetype font which does that job ... all the other fonts look
so awesome when used with the Mac Font rendering!
Hmm, that would also be a thing I would prefer not to see ... when I 
put
effort into porting lyx to Mac, then I also want to show it to people
and say:
hey it looks and works better than word. That part is good about 
texmacs
(which I hate for many other reasons) --- the equations look awesome!
Have you _edited_ formulas in TeXMacs (not just entered a few symbols)?
Yes, I wrote one conference paper in it. Entering equations in TexMacs 
works nice when
done over the menus (my problems with texmacs were the keyboard codes
(hard to learn, clash with Mac X11), the latex-code generation (wired), 
the pseudo
WYSIWIG, the frequent crashes with all documents lost, and the 
slowlyness.
That made give up as I nearly did not make the deadline thanks to 
Texmacs.
I have written tons of papers with SWP --- but that was the only 
feature where
TexMacs could truly outperform both SWP and LyX.

If not, do that.
Did a real lot of that!

Now tell me what's more important when writing math: Being able to 
edit a
formula or good looks on screen.
Both in one - Texmacs manages that, SWP does to some extend too! If LyX 
can
look as good as SWP I am happy, but I do not see why LyX should not use 
the
only thing where TexMacs works better? I am sure Joris and David (the 
main
developers from Texmacs) would allow lyx to integrate their equation 
drawing

Best,
-Jan


Re: others like lyx?

2003-06-18 Thread Juergen Spitzmueller
Thomas CLive Richards wrote:
 where's the website for feature requests? or should i submit them to
 this list?

You can submit them to http://bugzilla.lyx.org (if they are not yet listed 
there) or to the users or developers list (where they will probably get 
more/sooner attention).

Juergen.


Re: others like lyx?

2003-06-18 Thread Andre Poenitz
On Wed, Jun 18, 2003 at 09:02:15PM +1200, Thomas CLive Richards wrote:
  
  Next time I get a free meal I'll tell the people: 'Hey, the idea of
  eating is cool. But your stuff tastes like shit. Can you tell me where
  I can find something better?'
  
 
 I didn't meant o cause offense in any way, but LuX simply doesn't meet
 my needs and, IMHO lacks some very vital features..

Like what?

Andre'

-- 
Those who desire to give up Freedom in order to gain Security, will not have,
nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)


Re: others like lyx?

2003-06-18 Thread Andre Poenitz
On Wed, Jun 18, 2003 at 08:59:24PM +1200, Thomas CLive Richards wrote:
  
  BTW feature requests are always welcome.
  
 
 where's the website for feature requests? or should i submit them to
 this list?

bugzilla.lyx.org is the palce to go when you want to be sure your request
is not lost. 

If you want some discussion first or any kind of response, post here.

Andre'

-- 
Those who desire to give up Freedom in order to gain Security, will not have,
nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)


Re: Vectorstyle

2003-06-18 Thread Andre Poenitz
On Wed, Jun 18, 2003 at 06:03:16PM +0900, Jan Peters wrote:
 Soso. What font do you suggest for parantheses of arbitrary size?
 
 Hm, some truetype font? How does latex do that?

It creates e.g. large parantheses from lots of smaller parts.
There is no single '100 pt high left brace' glyph.

 To be quite honest, I do not know which font is right - but there must
 be some truetype font which does that job ...

If you don't know, how should I know?

 Have you _edited_ formulas in TeXMacs (not just entered a few symbols)?
 
 Yes, I wrote one conference paper in it. Entering equations in TexMacs
 works nice when done over the menus (my problems with texmacs were the
 keyboard codes (hard to learn, clash with Mac X11),

I am not talking about entering, but editing. Moving things around a bit,
re-arrange arrays and stuff like that.

 Now tell me what's more important when writing math: Being able to edit
 a formula or good looks on screen.
 
 Both in one - Texmacs manages that, SWP does to some extend too! If LyX
 can look as good as SWP I am happy, but I do not see why LyX should not
 use the only thing where TexMacs works better? I am sure Joris and David
 (the main developers from Texmacs) would allow lyx to integrate their
 equation drawing

You can let LaTeX draw your equations (except for the one holding the
current cursor) within LyX by using the preview feature.

Nice parantheses, nice arrows...

Andre'

-- 
Those who desire to give up Freedom in order to gain Security, will not have,
nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)


changing section numbering

2003-06-18 Thread Jihène Krichène
Hello everybody
I'm writing a document (article type). I would like to change the starting number of 
section numbering. Is it possible to do so ? If yes, please tell me how.
best regards




Get advanced SPAM filtering on Webmail or POP Mail ... Get Lycos Mail!
http://login.mail.lycos.com/r/referral?aid=27005


Re: others like lyx?

2003-06-18 Thread Thomas CLive Richards
 
 Like what?
 
ok, I'll make a list of all the things I've found myself wanting. To
start off with, I'll say this:

I've been using Lyx to compile a 20,000+ word design document for an
electronic game. It's been pretty cool, but the large document size has
(i believe) stressed some of the components of lyx a little.

Things *I* would like to see:

1.- An integration of most of the tips and tricks listed on the
website. Since someone has gone to the trouble of listing them,. they
must be being used. therefore, why not include them in the lyx program,
rather than have your users scurry around trying to hash together
something? An example is the glossary. At the moment there seem to be
two ways to get a  glossary going: The first is to export to text, grep
for all the capitalised words, and then make your own glossary yourself.
Not only is this approach kludgey and time wasting, what happens if you
have words which are NOT capitalised, but which you still want to
include? searching through a 20,000 word document is not the answer i
think. The other solution is to use the makeindex latex package. The
trouble with this is that it forces the user to know about latex, which
i don't. I'm pretty good with computers, and have done a bit of
programming before, and have even *looked* at latex before, but making
users learn latex in order to get a glossary going is a bit much i feel.
Why not build the makeindex package into lyx, and have it done
automatically? making a glossary is very similar to making a table of
contents, and lyx seems to handle that just fine..

2.- Not really sure about this one, but isn't it possible to do
hyperlinks in PDF? why not have it so that lyx creates these hyperlinks
when exporting documents to either HTML or PDF? The links should be
footnotes and the chapter headings (as in: chapters link to the chapter
headings in the document, so users can click in the table of contents
and be sent to the correct part in the body of the document).

3.- Spellchecker. A replace all button would be nice. Also, I've
noticed that LyX doesn't use the proper (aspell) dictionaries on my
Debian Sid box, even after playing with it for a good hour or so.

4.- Table sorting. I've brought this up here before, but I may as well
do it again. I feel that this feature is vital. I have (in my document)
tables with 300+ rows, and i have to be able to sort them. AT the moment
I'm copying them to a text file, and sorting them with a python script,
and then pasting them back into lyx. As i said before, this is pretty
silly...

5.- Users *should* be able to fine tune *all* the details about the
typesetting. Boxing users in so they can only use what *you* think is
good type setting is (IMHO) plain silly. I personally can't find any
styles in the pretty small style list which exactly matches the style i
need. I should be able to set everything, like the whitespace above and
below titles, whether chapters/sections/subsections start on a new page,
whether tables are set out on a seperate page, and a whole lot more.
Again, forcing users to use *your* style of typesetting just makes users
unhappy with the results.

6.- Also, I have never been able to get the QT frontend to compile with
lyx. I'm using the very latest QT libraries, and update my system
regurally, but still i run into errors. Most of the time it's can't
find QT libraries, even though I've specified where the libraries are.
Is this me? or lyx? either way, perhaps some documentation in the source
package should say what the magic trick is to get this going.

7.- I'm sure there was something else as well, but i can't remember it
right now...


I realise that people get very defencive about software they have worked
on, and I really don't mean to cause any offence, but 1,45 are pretty
vital features to me. What do you guys think? AFAIK they should all be
able to be added without too much work (not that I've actually looked at
the code myself, i don't have the experience, or the know-how).

Well, i hope something good comes of this ;)

Thanks for listening/reading,
Thomi.

-- 

Thomi Richards,
[EMAIL PROTECTED]



Re: others like lyx?

2003-06-18 Thread Angus Leeming
Thomas CLive Richards wrote:

 
 Like what?
 
 ok, I'll make a list of all the things I've found myself wanting. To
 start off with, I'll say this:
 
 I've been using Lyx to compile a 20,000+ word design document for an
 electronic game. It's been pretty cool, but the large document size has
 (i believe) stressed some of the components of lyx a little.
 
 Things *I* would like to see:
 
 1.- An integration of most of the tips and tricks listed on the
 website. Since someone has gone to the trouble of listing them,. they
 must be being used. therefore, why not include them in the lyx program,

You seem to have a fundamental misconception of how Open Source software 
develops. It develops because people are willing to put in the time and 
effort to do it _in their spare time_. None of the LyX developers are paid 
to develop LyX, so there is only so much that they can physically do.

That is exactly why LyX was designed to allow the user to input the raw 
LaTeX. People like Herbert, who know LaTeX inside out, have provided a 
collection of magic so that the final output is indistiguishable to that 
which would be produced were their native LyX support for that feature. The 
two approaches (native LyX support and ability to input LaTeX) are 
orthogonal and complimentary. 

The moral? If you want something badly enough, then code it up or pay 
someone to do it for you.

 Thanks for listening/reading,
 Thomi.

-- 
Angus



Re: others like lyx?

2003-06-18 Thread Andre Poenitz
On Wed, Jun 18, 2003 at 09:39:23PM +1200, Thomas CLive Richards wrote:
 6.- Also, I have never been able to get the QT frontend to compile with
 lyx. I'm using the very latest QT libraries, and update my system
 regurally, but still i run into errors. Most of the time it's can't
 find QT libraries, even though I've specified where the libraries are.
 Is this me?

What was configure axactly saying?

Andre'
-- 
Those who desire to give up Freedom in order to gain Security, will not have,
nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)


Re: others like lyx?

2003-06-18 Thread Thomas CLive Richards
  
  1.- An integration of most of the tips and tricks listed on the
  website. Since someone has gone to the trouble of listing them,.
  they must be being used. therefore, why not include them in the lyx
  program,
 
 You seem to have a fundamental misconception of how Open Source
 software develops. It develops because people are willing to put in
 the time and effort to do it _in their spare time_. None of the LyX
 developers are paid to develop LyX, so there is only so much that they
 can physically do.
 
I know that, but unless someone tells developers that there are at least
a few users out there who want this, it'll never get coded in now will
it? Also, presumably the thing which drives these developers to develop
lyx is to see it become popular? Surely then, if enough users are
getting stuck at the same point, eventually one of the developers will
fix it?

 That is exactly why LyX was designed to allow the user to input the
 raw LaTeX. People like Herbert, who know LaTeX inside out, have
 provided a collection of magic so that the final output is
 indistiguishable to that which would be produced were their native LyX
 support for that feature. The two approaches (native LyX support and
 ability to input LaTeX) are orthogonal and complimentary. 
 
and what if it doesn't work (for whatever reason)? hen the user has to
debug twice as many things. they have to look at their latex code, at
the latex installation on the system, and at the lyx package itself. It
just seemed easier to integrate them all in one, especially as someone
has already worked out how you can do it individually, it can't be too
difficult to integrate it.

 The moral? If you want something badly enough, then code it up or pay 
 someone to do it for you.
Or do neither of the above, and use the other software package which
does what you're looking for. Chances are, if you've found a flaw in a
program, so have others. 


-- 

Thomi Richards,
[EMAIL PROTECTED]



Re: others like lyx?

2003-06-18 Thread Andre Poenitz
On Wed, Jun 18, 2003 at 10:09:32PM +1200, Thomas CLive Richards wrote:
  That is exactly why LyX was designed to allow the user to input the
  raw LaTeX. People like Herbert, who know LaTeX inside out, have
  provided a collection of magic so that the final output is
  indistiguishable to that which would be produced were their native LyX
  support for that feature. The two approaches (native LyX support and
  ability to input LaTeX) are orthogonal and complimentary. 
  
 and what if it doesn't work (for whatever reason)? hen the user has to
 debug twice as many things. they have to look at their latex code, at
 the latex installation on the system, and at the lyx package itself. It
 just seemed easier to integrate them all in one, especially as someone
 has already worked out how you can do it individually, it can't be too
 difficult to integrate it.

And what if integration is not trivial?

I have a look from time to time on Herbert's page and there is not much on
it that can be tucked on to LyX with three lines of code.

  The moral? If you want something badly enough, then code it up or pay 
  someone to do it for you.
 Or do neither of the above, and use the other software package which
 does what you're looking for. Chances are, if you've found a flaw in a
 program, so have others. 

Sure. So please go searching.

Andre'

-- 
Those who desire to give up Freedom in order to gain Security, will not have,
nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)


Re: Vectorstyle

2003-06-18 Thread Jan Peters
One last thing: even having the .sty file, lyx
reports
Failed: grep -E 'Preview: [ST]' 4lyxpreview.log

although the thing has compiled fine and I am
using the newest preview-latex version!
-Jan



preview-latex

2003-06-18 Thread Jan Peters
I tried the instant preview feature and I get these results although I 
have tried
the newes version of preview-latex as well as the old version. This 
seems to
be a bug in lyx! How can I fix it?

This is TeX, Version 3.14159 (Web2C 7.4.5)
(./5lyxpreview.tex
LaTeX2e 2001/06/01
Babel v3.7h and hyphenation patterns for american, french, german, 
ngerman, n
ohyphenation, loaded.

Failed: grep -E 'Preview: [ST]' 5lyxpreview.log
We require preview.sty version 0.73 or newer. You're using
Package: preview 2002/08/05 preview-latex 0.7.3
Leaving 5lyxpreview.tex in /tmp/lyx_tmpdir20025hagqzC/lyx_tmpbuf0


Re: Vectorstyle

2003-06-18 Thread Angus Leeming
Jan Peters wrote:

 One last thing: even having the .sty file, lyx
 reports
 
 Failed: grep -E 'Preview: [ST]' 4lyxpreview.log
 
 although the thing has compiled fine and I am
 using the newest preview-latex version!

Shrug. I haven't kept up with this for a while. perhaps the log messages 
output by preview-latex have changed.

Could you post 4lyxpreview.tex and 4lyxpreview.log? (You may need to edit 
lyxpreview2bitmap.sh so that it does not remove the temporary files.)

-- 
Angus



Re: preview-latex

2003-06-18 Thread Andre Poenitz
On Wed, Jun 18, 2003 at 07:33:51PM +0900, Jan Peters wrote:
 I tried the instant preview feature and I get these results although I
 have tried the newes version of preview-latex as well as the old
 version. This seems to be a bug in lyx! How can I fix it?
 
 This is TeX, Version 3.14159 (Web2C 7.4.5) (./5lyxpreview.tex LaTeX2e
 2001/06/01 Babel v3.7h and hyphenation patterns for american, french,
 german, ngerman, n ohyphenation, loaded.
 
 Failed: grep -E 'Preview: [ST]' 5lyxpreview.log We require preview.sty
 version 0.73 or newer. You're using Package: preview 2002/08/05
 preview-latex 0.7.3 Leaving 5lyxpreview.tex in
 /tmp/lyx_tmpdir20025hagqzC/lyx_tmpbuf0

Wait for Angus to have a look...

You could try to run latex on 5lyxpreview.tex (what does it look like?) and
have a look at 5lyxpreview.log (what does it look like).

What happens?

Andre'

-- 
Those who desire to give up Freedom in order to gain Security, will not have,
nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)


Re: others like lyx?

2003-06-18 Thread Luis Seidel Gómez de Quero
El Miércoles, 18 de Junio de 2003 11:39, Thomas CLive Richards escribió:

 Things *I* would like to see:


 2.- Not really sure about this one, but isn't it possible to do
 hyperlinks in PDF? why not have it so that lyx creates these hyperlinks
 when exporting documents to either HTML or PDF? The links should be
 footnotes and the chapter headings (as in: chapters link to the chapter
 headings in the document, so users can click in the table of contents
 and be sent to the correct part in the body of the document).


This one is easy. Insert in the preamble of your document 
(Format-Document-Preamble) the following line (as the last one, if you have 
more)

\usepackage[colorlinks]{hyperref}

Remember that you can save this as default for your documents. Then view or 
export with pdflatex or html, and comment on the results.

Hope this helps.
Regards,

Luis Seidel


Re: preview-latex

2003-06-18 Thread Jan Peters
Wait for Angus to have a look...

You could try to run latex on 5lyxpreview.tex (what does it look 
like?) and
have a look at 5lyxpreview.log (what does it look like).

What happens?

Already did. Works perfectly, produces a dvi and has no errors.
I did the
grep -E 'Preview: [ST]' 5lyxpreview.log
and that produced no output. But the logfile is fine, it is below.
Do you know what it expects behind for ST ???
-Jan

This is TeX, Version 3.14159 (Web2C 7.4.5) (format=latex 2003.5.30)  18 
JUN 2003 19:40
**9lyxpreview.tex
(./9lyxpreview.tex
LaTeX2e 2001/06/01
Babel v3.7h and hyphenation patterns for american, french, german, 
ngerman, n
ohyphenation, loaded.

(/sw/share/texmf/tex/latex/base/book.cls
Document Class: book 2001/04/21 v1.4e Standard LaTeX document class
(/sw/share/texmf/tex/latex/base/bk10.clo
File: bk10.clo 2001/04/21 v1.4e Standard LaTeX file (size option)
)
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen102
) (/sw/share/texmf/tex/latex/base/fontenc.sty
Package: fontenc 2001/06/05 v1.94 Standard LaTeX package
(/sw/share/texmf/tex/latex/base/t1enc.def
File: t1enc.def 2001/06/05 v1.94 Standard LaTeX file
LaTeX Font Info:Redeclaring font encoding T1 on input line 38.
)) (/sw/share/texmf/tex/latex/graphics/color.sty
Package: color 1999/02/16 v1.0i Standard LaTeX Color (DPC)
(/sw/share/texmf/tex/latex/config/color.cfg
File: color.cfg 2001/08/31 v1.1 color configuration of teTeX/TeXLive
)
Package color Info: Driver file: dvips.def on input line 125.
(/sw/share/texmf/tex/latex/graphics/dvips.def
File: dvips.def 1999/02/16 v3.0i Driver-dependant file (DPC,SPQR)
) (/sw/share/texmf/tex/latex/graphics/dvipsnam.def
File: dvipsnam.def 1999/02/16 v3.0i Driver-dependant file (DPC,SPQR)
)) (/sw/share/texmf/tex/generic/babel/babel.sty
Package: babel 2001/03/01 v3.7h The Babel package
(/sw/share/texmf/tex/generic/babel/english.ldf
Language: english 2001/04/15 v3.3l English support from the babel system
(/sw/share/texmf/tex/generic/babel/babel.def
File: babel.def 2001/03/01 v3.7h Babel common definitions
[EMAIL PROTECTED]
[EMAIL PROTECTED]
)
[EMAIL PROTECTED] = a dialect from [EMAIL PROTECTED]
)) (./preview.sty
Package: preview 2002/08/05 preview-latex 0.7.3
[EMAIL PROTECTED]
[EMAIL PROTECTED]
No auxiliary output files.
)
No file 9lyxpreview.aux.
LaTeX Font Info:Checking defaults for OML/cmm/m/it on input line 32.
LaTeX Font Info:... okay on input line 32.
LaTeX Font Info:Checking defaults for T1/cmr/m/n on input line 32.
LaTeX Font Info:... okay on input line 32.
LaTeX Font Info:Checking defaults for OT1/cmr/m/n on input line 32.
LaTeX Font Info:... okay on input line 32.
LaTeX Font Info:Checking defaults for OMS/cmsy/m/n on input line 32.
LaTeX Font Info:... okay on input line 32.
LaTeX Font Info:Checking defaults for OMX/cmex/m/n on input line 32.
LaTeX Font Info:... okay on input line 32.
LaTeX Font Info:Checking defaults for U/cmr/m/n on input line 32.
LaTeX Font Info:... okay on input line 32.
Preview: Fontsize 10pt
LaTeX Font Info:External font `cmex10' loaded for size
(Font)  7 on input line 34.
LaTeX Font Info:External font `cmex10' loaded for size
(Font)  5 on input line 34.
[1] )
Here is how much of TeX's memory you used:
 1076 strings out of 95847
 11977 string characters out of 1196009
 56975 words of memory out of 101
 4059 multiletter control sequences out of 1+5
 4403 words of font info for 15 fonts, out of 50 for 1000
 14 hyphenation exceptions out of 1000
 25i,4n,22p,172b,136s stack positions out of 
1500i,500n,5000p,20b,5000s

Output written on 9lyxpreview.dvi (1 page, 872 bytes).



Re: preview-latex

2003-06-18 Thread Andre Poenitz
On Wed, Jun 18, 2003 at 07:51:47PM +0900, Jan Peters wrote:
 grep -E 'Preview: [ST]' 5lyxpreview.log
 
 and that produced no output. But the logfile is fine, it is below.
 Do you know what it expects behind for ST ???

Not really.

I attach you a preview.sty that worked for e at one point of time.
Maybe it still works...

Andre'
%%
%% This is file `preview.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% preview.dtx  (with options: `style')
%% preview.dtx  (with options: `style,active')
%% 
%% IMPORTANT NOTICE:
%% 
%% For the copyright see the source file.
%% 
%% Any modified versions of this file must be renamed
%% with new filenames distinct from preview.sty.
%% 
%% For distribution of the original source see the terms
%% for copying and modification in the file preview.dtx preview.dtx.
%% 
%% This generated file may be distributed as long as the
%% original source files, as listed above, are part of the
%% same distribution. (The sources need not necessarily be
%% in the same archive or directory.)
%%\iffalse
%% preview.dtx for extracting previews from LaTeX documents.  Part of
%% the preview-latex package.
%% Copyright (C) 2001, 2002 David Kastrup
%%
%% This program is free software; you can redistribute it and/or modify
%% it under the terms of the GNU General Public License as published by
%% the Free Software Foundation; either version 2 of the License, or
%% (at your option) any later version.
%%
%% This program is distributed in the hope that it will be useful,
%% but WITHOUT ANY WARRANTY; without even the implied warranty of
%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
%% GNU General Public License for more details.
%%
%% You should have received a copy of the GNU General Public License
%% along with this program; if not, write to the
%% Free Software Foundation, Inc., 59 Temple Place, Suite 330,
%% Boston, MA 02111-1307  USA
%%\fi
\NeedsTeXFormat{LaTeX2e} [EMAIL PROTECTED] #1#2$#3:
[EMAIL PROTECTED] #2#4 $}} [EMAIL PROTECTED] #1 #2${#1}
[EMAIL PROTECTED]@b $Name:  $ [EMAIL PROTECTED]@empty
[EMAIL PROTECTED]@b CVS-$Revision: 1.67 $ \else \begingroup
\lccode`-=`.  \def\next rel-{} \edef\next{\lowercase{\endgroup
[EMAIL PROTECTED]@b}}} \next \fi
[EMAIL PROTECTED] $Date: 2002/09/16 21:46:19 $
\edef\next{\noexpand\ProvidesPackage{preview}%
  [\next\space preview-latex [EMAIL PROTECTED]
\next
\let\ifPreview\iffalse
[EMAIL PROTECTED]@gobble
[EMAIL PROTECTED]@gobbletwo
[EMAIL PROTECTED]@ship#1#2#3{}
[EMAIL PROTECTED]
[EMAIL PROTECTED]@gobble}
[EMAIL PROTECTED]@front#1#2{%
  [EMAIL PROTECTED]@[EMAIL PROTECTED]
  [EMAIL PROTECTED]
\DeclareOption{active}{%
  \let\ifPreview\iftrue
  [EMAIL PROTECTED]
[EMAIL PROTECTED] [EMAIL PROTECTED]
  [EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]
  [EMAIL PROTECTED]@firstofone}
[EMAIL PROTECTED]@delay{%
  \ifx#1\relax \let#1#2\fi
  [EMAIL PROTECTED]@}}}
\DeclareOption{delayed}{%
  \ifPreview [EMAIL PROTECTED]
}
[EMAIL PROTECTED]
[EMAIL PROTECTED]
\DeclareOption{psfixbb}{\ifPreview%
  [EMAIL PROTECTED]
  [EMAIL PROTECTED]
  [EMAIL PROTECTED]/dev/null}\fi}%
}
\DeclareOption{dvips}{%
  [EMAIL PROTECTED]
\special{!userdict begin/bop-hook{/isls false def%
/vsize 792 def/hsize 612 def}def end
\begingroup
\catcode`\*=11
[EMAIL PROTECTED]
\DeclareOption{displaymath}{%
  [EMAIL PROTECTED]@{%
  [EMAIL PROTECTED]
[EMAIL PROTECTED]@[EMAIL PROTECTED]
\everydisplay\expandafter{\the\expandafter\toks@
  \expandafter{\the\everydisplay}}}%
  [EMAIL PROTECTED]@[EMAIL PROTECTED]
[EMAIL PROTECTED]@[EMAIL PROTECTED]
{\endgroup}%
  [EMAIL PROTECTED]@[EMAIL PROTECTED]
[EMAIL PROTECTED]@[EMAIL PROTECTED]
{\endgroup}%
}}
\begingroup
\def\next#1#2{%
  \endgroup
  \DeclareOption{textmath}{%
[EMAIL PROTECTED]@undefined \let#1=$%$
  \fi\catcode`\$=\active}%
[EMAIL PROTECTED]@ship\([EMAIL PROTECTED] \)
[EMAIL PROTECTED]@[EMAIL PROTECTED]
[EMAIL PROTECTED]@textmathcheck}}{}}%
  [EMAIL PROTECTED]@endaftergroup
[EMAIL PROTECTED]@gobbletwo\fi#2}}
\lccode`\~=`\$
\lowercase{\expandafter\next\expandafter~}%
  \csname [EMAIL PROTECTED]
\DeclareOption{graphics}{%
  \PreviewMacro[*[[!]{\includegraphics}%]]
}
\DeclareOption{floats}{%
  [EMAIL PROTECTED]
  [EMAIL PROTECTED]
}
\DeclareOption{sections}{%
  [EMAIL PROTECTED]
}
\DeclareOption*
   {\InputIfFileExists{pr\CurrentOption.def}{}{\OptionNotUsed}}
[EMAIL PROTECTED]@[EMAIL PROTECTED]
[EMAIL PROTECTED]
   [EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]
[EMAIL PROTECTED]@[EMAIL PROTECTED]
[EMAIL PROTECTED]@[EMAIL PROTECTED]@stargobble}}
[EMAIL PROTECTED]@seq{}
[EMAIL PROTECTED]@[EMAIL PROTECTED]@star{#1}}}
[EMAIL PROTECTED]@[EMAIL PROTECTED]
[EMAIL PROTECTED]@[EMAIL PROTECTED]
  [EMAIL PROTECTED]
  [EMAIL PROTECTED] end#2\endcsname}
[EMAIL PROTECTED]@[EMAIL PROTECTED]
   \csname [EMAIL PROTECTED]
\newcommand*{\PreviewSnarfEnvironment}[2][]{%

Re: Lighter Version

2003-06-18 Thread Preben Randhol
Andre Poenitz [EMAIL PROTECTED] wrote on 18/06/2003 (11:22) :
 
 Well, it isn't. Believe me. LaTeX runs on a 512k DOS machine. LyX certainly
 does not.

Comparing apples and oranges here I'd say.

-- 
«It's probably worth pointing out that  C's pointer arithmetic  is not
 only dangerous, and a significant source of errors, but it also makes
 programs run slower.»
   - James Kanze on comp.lang.ada,comp.lang.c++.moderated


Re: others like lyx?

2003-06-18 Thread Luis Seidel Gómez de Quero
El Miércoles, 18 de Junio de 2003 12:58, Thomas CLive Richards escribió:

 hmm, no i get erros in my document then, this is the message:

 destination with the same identifier:
 (name{page.1})ha
 \part
 {Preamble:} [1

 not a VERY useful error message ;)

Be sure to have uniquely defined labels for your cross references. Two 
identical labels may cause that error (if I understand it). Otherwise, try 
first with a small document to get used to the working of hyperref. I admit 
that a bit of LaTeX know-how helps a lot with LyX.

Luis Seidel


Re: Vectorstyle

2003-06-18 Thread Angus Leeming
On Wednesday 18 June 2003 10:54 am, Jan Peters wrote:

[snippet of LaTeX log file]
 LaTeX Font Info:External font `cmex10' loaded for size
 (Font)  7 on input line 34.
 LaTeX Font Info:External font `cmex10' loaded for size
 (Font)  5 on input line 34.
 [1] )
 Here is how much of TeX's memory you used:

Well, here's the equivalent snippet from my log file running LaTeX on your 
.tex file:
Preview: Fontsize 10pt
LaTeX Font Info:External font `cmex10' loaded for size
(Font)  7 on input line 34.
LaTeX Font Info:External font `cmex10' loaded for size
(Font)  5 on input line 34.
Preview: Tightpage -32891 -32891 32891 32891
Preview: Snippet 1 1867786 830854 22609920
[1] ) 
Here is how much of TeX's memory you used:

It appears that the bounding box info is not output in your case. This 
suggests that your preview-latex package is installed incorrectly.

Here is what I have installed:
$ ls /usr/share/texmf/tex/latex/preview
prauctex.cfgpreview.sty  prshowbox.def prtracingall.def
prauctex.defprfootnotes.def  prshowlabels.def
prcounters.def  prlyx.defprtightpage.def

Note the prlyx.def and prtightpage.def files.

Hope this helps,
Angus




Re: How to edit LaTeX math in LyX?

2003-06-18 Thread Dekel Tsur
On Tue, Jun 17, 2003 at 01:17:52PM -0700, Chris Carlen wrote:
 Clues as to what is going on would be appreciated.
 
 Finally, can \usepackage{amsmath} be used in LyX?
 
 
 Yes, by putting it in the preamble.

You should use the Use AMS math button in the document dialog instead.


Re: Toolbars

2003-06-18 Thread Jean-Marc Lasgouttes
 Jan == Jan Peters [EMAIL PROTECTED] writes:

Jan Hearing this announcement below, I was wondering: Will we see a
Jan Mac OS X native version of LyX soon? If yes, how soon?

First we need to get Qt/Mac free edition. It is now only a declaration
of intent from trolltech.

The we need build tools (a new gcc) from apple which are actually able
to build LyX (there is a bug acknowledged by apple in latest gcc).

Once those two things happen, I am pretty confident that a mac version
will happen very soon (we'll see). Don't expect it to be really like a
native application from the start, though (``how come the Preference
settings are not in the LyX menu'' comes to mind).

JMarc


Re: Vectorstyle

2003-06-18 Thread Jan Peters
so, finally the instant preview puts out equations --- but they are 
HUGE they
hardly fit on my screen!

Does anybody know how to fix that?

-Jan

On Wednesday, June 18, 2003, at 09:18  PM, Angus Leeming wrote:

On Wednesday 18 June 2003 10:54 am, Jan Peters wrote:

[snippet of LaTeX log file]
LaTeX Font Info:External font `cmex10' loaded for size
(Font)  7 on input line 34.
LaTeX Font Info:External font `cmex10' loaded for size
(Font)  5 on input line 34.
[1] )
Here is how much of TeX's memory you used:
Well, here's the equivalent snippet from my log file running LaTeX on 
your
.tex file:
Preview: Fontsize 10pt
LaTeX Font Info:External font `cmex10' loaded for size
(Font)  7 on input line 34.
LaTeX Font Info:External font `cmex10' loaded for size
(Font)  5 on input line 34.
Preview: Tightpage -32891 -32891 32891 32891
Preview: Snippet 1 1867786 830854 22609920
[1] )
Here is how much of TeX's memory you used:

It appears that the bounding box info is not output in your case. This
suggests that your preview-latex package is installed incorrectly.
Here is what I have installed:
$ ls /usr/share/texmf/tex/latex/preview
prauctex.cfgpreview.sty  prshowbox.def prtracingall.def
prauctex.defprfootnotes.def  prshowlabels.def
prcounters.def  prlyx.defprtightpage.def
Note the prlyx.def and prtightpage.def files.

Hope this helps,
Angus





Re: Vectorstyle

2003-06-18 Thread Andre Poenitz
On Wed, Jun 18, 2003 at 09:29:42PM +0900, Jan Peters wrote:
 so, finally the instant preview puts out equations --- but they are 
 HUGE they
 hardly fit on my screen!
 
 Does anybody know how to fix that?

I've never seen that. They shoul have the size of the surronding text.

Andre'

-- 
Those who desire to give up Freedom in order to gain Security, will not have,
nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)


Re: external script and lyx

2003-06-18 Thread Charpentier Philippe
On Wed, 18 Jun 2003 10:45:21 +0200
Andre Poenitz [EMAIL PROTECTED] wrote:
 
 Start  'gdb lyx' in the build dir, do whatever causes the crash, and post
 the output of 'bt full' here.


I finally did it. Here is attached the 'bt full' output.

Ph. C.


bt_full-output
Description: Binary data


Cannot print Bentzerhandbuch

2003-06-18 Thread Gerhard Lindel
Hi all,
I wanted to print Benutzerhandbuch (user-manual). :
LaTeX Error: File pretty.ref.sty not found.
/usepackage
  {amsmath=^^M
***(cannot-\read from terminal in nonstop modes)

I use SuSE 8.2 and Lyx 1.3.2, the documment-class is book.
Where do I find this package exactly and how do I install it?
I searched on www.ctan.org and on Dante, but I only found
prettyrev not  prettyrev.sty.
Best wishes
Gerhard


Re: Cannot print Bentzerhandbuch

2003-06-18 Thread Juergen Spitzmueller
Gerhard Lindel wrote:
 Hi all,
 I wanted to print Benutzerhandbuch (user-manual). :
 LaTeX Error: File pretty.ref.sty not found.

 I use SuSE 8.2 and Lyx 1.3.2, the documment-class is book.

Yes, it seems like prettyref has been excluded from teTeX 2 (some packages 
have been excluded due to licensing issues).

 Where do I find this package exactly and how do I install it?

http://www.ctan.org/tex-archive/macros/latex/contrib/supported/prettyref/

run latex on prettyref.ins (actual package) and prettyref.dtx (documentation) 
and install the generated prettyref.sty somewhere under 
/usr/share/texmf/tex/latex/
You have to run texhash as root in a console after that.

HTH,
Juergen.


Re: math mode symbol mixing

2003-06-18 Thread Jan Menzel
Hi Dekel!

On Sat, 14 Jun 2003, Dekel Tsur wrote:

 On Thu, Jun 12, 2003 at 05:51:36PM +0200, Jan Menzel wrote:
  Hi all!
  After upgrading from v1.2.x to v1.3.2 a lot of symbols are mixed
  up in math mode:
  \rho is displayed as per mil
  \epsilon as cross
  \times as pound
  \mu as ,,
  \cdot as c with acceleration
 
  Any suggestions how to fix that?
  I'm using Lyx 1.3.2 with XFroms 1.0 on SunOS 5.8.
  Thanks!

 Try creating an empty file called ~/.lyx/fonts/fonts.dir
 If this does not work, please give the log you get when running
 'lyx -dbg font some file with math.lyx'

I created ~/.lyx/fonts/fonts.dir (btw: ~/.lyx/fonts did not exist) and
it does not solve the problem. The log of lyx -dbg font x.lyx is
included.

Regards Jan

-- 
Jan Menzel | mailto: [EMAIL PROTECTED]
   | http://www.lighting-solutions.de
   | http://www.peperoni-light.de


debug-math.gz
Description: Binary data


Re: math mode symbol mixing

2003-06-18 Thread Andre Poenitz
On Wed, Jun 18, 2003 at 03:26:01PM +0200, Jan Menzel wrote:
 I created ~/.lyx/fonts/fonts.dir (btw: ~/.lyx/fonts did not exist) and

Sure that it is not called  ~/.lyx/xfonts/... ?

Andre'

-- 
Those who desire to give up Freedom in order to gain Security, will not have,
nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)


Re: math mode symbol mixing

2003-06-18 Thread Jan Menzel
On Wed, 18 Jun 2003, Andre Poenitz wrote:

 On Wed, Jun 18, 2003 at 03:26:01PM +0200, Jan Menzel wrote:
  I created ~/.lyx/fonts/fonts.dir (btw: ~/.lyx/fonts did not exist) and

 Sure that it is not called  ~/.lyx/xfonts/... ?

The suggestion was .../fonts/ .../xfonts/... exists and is empty
per default. Creating an empty fonts.dir in .lyx/xfonts does not solve
the problem: (\circ is displayes as -, \omega as !, ...)

Regards Jan




Re: math mode symbol mixing

2003-06-18 Thread Andre Poenitz
On Wed, Jun 18, 2003 at 03:33:43PM +0200, Jan Menzel wrote:
 On Wed, 18 Jun 2003, Andre Poenitz wrote:
 
  On Wed, Jun 18, 2003 at 03:26:01PM +0200, Jan Menzel wrote:
   I created ~/.lyx/fonts/fonts.dir (btw: ~/.lyx/fonts did not exist) and
 
  Sure that it is not called  ~/.lyx/xfonts/... ?
 
 The suggestion was .../fonts/

I guess that was a typo.

 .../xfonts/... exists and is empty
 per default. Creating an empty fonts.dir in .lyx/xfonts does not solve
 the problem: (\circ is displayes as -, \omega as !, ...)

*shrug*

Andre'

-- 
Those who desire to give up Freedom in order to gain Security, will not have,
nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)


prettyref latex errors - again

2003-06-18 Thread Alexandru Cabuz
I keep getting these pesky latex errors whenever I try using prettyref.

It says.

Paragraph ended before [EMAIL PROTECTED] was complete.
   
I suspect you've forgotten a `}', causing me to apply this
control sequence to too much text. How can we recover?
My plan is to forget the whole thing and hope for the best.


I actually posted this problem on the list a while ago, but then I had other 
problems with my document and prettyref dropped to the bottom of priorities.

I checked and I do have the prettyref sty file and Lyx does recognize it. The 
problem is somewhere else.

Here is the offending part of the lyx file, if it helps.

Ensuite nous éliminons 
\begin_inset Formula $\mathbf{E}$
\end_inset 

 dans eq.
 
\begin_inset LatexCommand \prettyref{eq:Max4}

\end_inset 

Alex.


Re: math mode symbol mixing

2003-06-18 Thread Dekel Tsur
On Wed, Jun 18, 2003 at 03:33:43PM +0200, Jan Menzel wrote:
 On Wed, 18 Jun 2003, Andre Poenitz wrote:
 
  On Wed, Jun 18, 2003 at 03:26:01PM +0200, Jan Menzel wrote:
   I created ~/.lyx/fonts/fonts.dir (btw: ~/.lyx/fonts did not exist) and
 
  Sure that it is not called  ~/.lyx/xfonts/... ?
 
 The suggestion was .../fonts/ .../xfonts/... exists and is empty
 per default. Creating an empty fonts.dir in .lyx/xfonts does not solve
 the problem: (\circ is displayes as -, \omega as !, ...)

Try running 'xset fp default' and then running LyX 
(with an empty ~/.lyx/xfonts/fonts.dir)


Re: others like lyx?

2003-06-18 Thread Jean-Marc Lasgouttes
 Jan == Jan Peters [EMAIL PROTECTED] writes:

 b) Using the new GPL QT/Mac announced today: a Mac Native version!
  If there is anyone who is interested in doing that port.

Jan I will definitly try myself, but I do not know whether I am good
Jan enough a Mac/QT programmer for that and whether I will have
Jan enough time! But it would be cool if there were a few more people
Jan interested so we could join forces

I guess that Ronald Florence will try to do that soon after the
necessary tools are released...

JMarc



Re: others like lyx?

2003-06-18 Thread John Levon
On Wed, Jun 18, 2003 at 10:52:33AM +, Angus Leeming wrote:

 The moral? If you want something badly enough, then code it up or pay 
 someone to do it for you.

And at least one of us is still available for hire ;)

john


Re: math mode symbol mixing

2003-06-18 Thread Jan Menzel
On Wed, 18 Jun 2003, Dekel Tsur wrote:

 On Wed, Jun 18, 2003 at 03:33:43PM +0200, Jan Menzel wrote:
  On Wed, 18 Jun 2003, Andre Poenitz wrote:
 
   On Wed, Jun 18, 2003 at 03:26:01PM +0200, Jan Menzel wrote:
I created ~/.lyx/fonts/fonts.dir (btw: ~/.lyx/fonts did not exist) and
  
   Sure that it is not called  ~/.lyx/xfonts/... ?
  
  The suggestion was .../fonts/ .../xfonts/... exists and is empty
  per default. Creating an empty fonts.dir in .lyx/xfonts does not solve
  the problem: (\circ is displayes as -, \omega as !, ...)

 Try running 'xset fp default' and then running LyX
 (with an empty ~/.lyx/xfonts/fonts.dir)

That changes things. There was just an xset error:
xset:  bad font path element (#37), possible causes are:
Directory does not exist or has wrong permissions
Directory missing fonts.dir
Incorrect font server address or syntax
Unable to add font path.
and - as far as i can see up till now - only \epsilon is displayed as
string rather then translated into a single epsilon character.
Any suggestions for that? Thanks!

Regards Jan



Re: Vectorstyle

2003-06-18 Thread Angus Leeming
Andre Poenitz wrote:

 On Wed, Jun 18, 2003 at 09:29:42PM +0900, Jan Peters wrote:
 so, finally the instant preview puts out equations --- but they are
 HUGE they
 hardly fit on my screen!
 
 Does anybody know how to fix that?
 
 I've never seen that. They shoul have the size of the surronding
 text.

Indeed.

The size is tunable. Play with this in your preferences file:
\preview_scale_factor 0.9

Nonetheless, nobody has ever had a problem with this before...

-- 
Angus



Re: others like lyx?

2003-06-18 Thread Alexandru Cabuz
 Sure. So please go searching.

I think the basic misunderstanding here is the fact that the lyx docs and the 
developers have been trying to plug Lyx to a larger audience than it's really 
suitable for. Lyx is a perfect tool, but not for all the people it's creators 
claim it to be perfect for.

One can only put Lyx to its fullest use if one knows Latex. And not just a 
little bit, but knows it pretty well. Then Lyx will take over the more 
routine tasks and leave the person to worry about the more subtle aspects. By 
subtle I mean the tips and tricks and stuff, tweaking this and that to be 
just as you want it and using the more complex and powerful features 
effectively.

So one could look at it one of two ways. 

1) Lyx is a great learning tool for Latex, an intermediary step for somebody 
who intends to eventually learn it but needs something to carry them through 
the transition.

2) Lyx is a tool for Latex users, meant to streamline their work and save 
time.

The problem with issue number 5 in the initial post, is that it's not clear if 
it would even be possible or even desirable. It would mean creating a 
graphical user interface for the whole of Latex. That seems like a pretty 
major undertaking, and not likely to get done soon. If you want the full 
power of Latex it seems like there's no way out but to  use Latex. 

I think the fundamental problem is the fact that document editing is in itself 
a very complex problem with no simple solution.

For me, for right now, for example, what I can get out of Lyx alone, with no 
knowledge of Latex, is approximate, but it's OK. If I were to start writing 
tons of articles or 3 word documents, I would save myself the nervous 
breakdowns by taking a few weeks/months to get Latex down and then just ride 
the Lyx wave.

As for the tables and the hyperlinks, I agree with the initial post.

Alex.

PS. And it's all meant as constructive criticism. I am a Lyx user, so what's 
good for Lyx is good for me.


Re: others like lyx?

2003-06-18 Thread Andre Poenitz
On Wed, Jun 18, 2003 at 05:10:35PM +0200, Alexandru Cabuz wrote:
  Sure. So please go searching.
 
 I think the basic misunderstanding here is the fact that the lyx docs
 and the developers have been trying to plug Lyx to a larger audience than
 it's really suitable for.

Do you have any proof for that claim?

At least this here is a purely LyX related forum. As far as I can tell
there is no coordinated effort to go on a crusade in the outside world.

 The problem with issue number 5 in the initial post, is that it's not
 clear if it would even be possible or even desirable. It would mean
 creating a graphical user interface for the whole of Latex.
 That seems like a pretty major undertaking, and not likely to get done
 soon. If you want the full power of Latex it seems like there's no way
 out but to   use Latex. 

Indeed. You cannot hide _all_ of LaTeX behind a slick GUI. It's just too
powerful (and too messy...).

Andre'

-- 
Those who desire to give up Freedom in order to gain Security, will not have,
nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)


Re: others like lyx?

2003-06-18 Thread Jean-Marc Lasgouttes
 Juergen == Juergen Spitzmueller [EMAIL PROTECTED] writes:

Juergen Jan Peters wrote:
 I will definitly try myself, but I do not know whether I am good
 enough a Mac/QT programmer for that and whether I will have enough
 time! But it would be cool if there were a few more people
 interested so we could join forces

Juergen I am also interested in that, since I (have to) use MacOSX
Juergen sometimes now at work and I am shure there are others (my
Juergen time is very limited ATM). This is certainly not an easy task
Juergen I guess (guessing from the fact that the native QtWin-port of
Juergen LyX is still work in progress). Just try it and share your
Juergen experience on the list.

Note that OSX _is_ unix, whereas windows is not. It should be rather
easy.

JMarc


Re: How to edit LaTeX math in LyX?

2003-06-18 Thread Chris Carlen
Andre Poenitz wrote:
On Tue, Jun 17, 2003 at 10:38:07AM -0700, Chris Carlen wrote:

I have tried going into math mode, then entering the following:

\[
f: \left(
\begin{split}
   y = \\
f(x) +\\
+g(x)
\end{split}
\right)
\]
\end{document}
which actually shows what I want in LyX, but then gives LaTeX errors.


Like what?

Something indicating that you have not switched on AMS support?
[Layout-Document-Extra-Use_AMS]
Ok, if I use amsmath support, it still complains cannot use split 
here.  Did you forget \begin{equation} ?

Basically, the above code works as ERT, but not if it is pasted into a 
math mode environment.  Oh, the \end{document} shouldn't be there.


I thought you said it actually shows what you want?
It is close to what I want, but not quite.  I don't think the above code 
is really what I want to solve my problem, but was more of an experiment 
just to try using someone's suggestion.

My main problem is that I want to enter a system of equations with a 
left curly brace delimiter.  There are four equations, which contain 
fractional expressions.

The two approaches I have tried so far don't work well, which is to use 
an array, which uses a smaller font for the fractional expressions, or 
by using \displaysize, then the fractional expressions are the size I 
want, but the spacing between rows of the array is too tight, so the 
fractions overlap.

At this point, I don't know how to get this right without learning much 
more about LaTeX, and how LyX works with LaTeX code in math mode.  There 
doesn't seem to be a way to get it right directly with the math panel, 
without resorting to LaTeX code tweaks.

Thanks for your input!



--

Christopher R. Carlen
Principal Laser/Optical Technologist
Sandia National Laboratories CA USA
[EMAIL PROTECTED]


Re: How to edit LaTeX math in LyX?

2003-06-18 Thread Andre Poenitz
On Wed, Jun 18, 2003 at 08:50:09AM -0700, Chris Carlen wrote:
 Ok, if I use amsmath support, it still complains cannot use split 
 here.  Did you forget \begin{equation} ?
 
 Basically, the above code works as ERT, but not if it is pasted into a 
 math mode environment.  Oh, the \end{document} shouldn't be there.

Try again: Paste that code into the main LyX text - including the \[ and
the \]. Mark it - including \[ and \]. Press C-m.

What happens?

Andre'

-- 
Those who desire to give up Freedom in order to gain Security, will not have,
nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)


Re: others like lyx?

2003-06-18 Thread Thomas Templin
On Wednesday 18 June 2003 11:39, Thomas CLive Richards wrote:
 4.- Table sorting. I've brought this up here before, but I may
 as well do it again. I feel that this feature is vital. I have
 (in my document) tables with 300+ rows, and i have to be able to
 sort them. AT the moment I'm copying them to a text file, and
 sorting them with a python script, and then pasting them back
 into lyx. As i said before, this is pretty silly...

A good way for me is using gnumeric for tables. Edit your Tables 
with gnumeric, sorting and calculating should be no problem at 
all. Mark and copy the cells you want to appear in lyx. Paste this 
into al lyx Table which has the number of rows and colums needed.


 6.- Also, I have never been able to get the QT frontend to
 compile with lyx. I'm using the very latest QT libraries, and
 update my system regurally, but still i run into errors. Most of
 the time it's can't find QT libraries, even though I've
 specified where the libraries are. Is this me? or lyx? either
 way, perhaps some documentation in the source package should say
 what the magic trick is to get this going.
There is a lyx-qt and a lyx-xforms package for sid, have a look at 
http://www.apt-get.org. You can install both pakages on your 
machine. Start lyx-qt or lyx-xforms both will work.

Bye,
Thomas




Re: bold greek letters

2003-06-18 Thread Nirmal Govind
Thanks for the solutions Angus.. I'm not sure if I'm implementing them
correctly since the first method (using the preamble and main body)
compiles fine but doesn't give me bold greeks and instead gives me the
following at the point where I put the begin_inset commands in ERT:

_inset FormulaMacro
inset
_inset FormulaMacro
inset

The second solution doesn't compile. I get the following errors:

1. You can't use `macro parameter character #' in vertical mode.
 {\mathbf{#1}
  }
Sorry, but I'm not programmed to handle this case;
I'll just pretend that you didn't ask for it.
If you're in the wrong mode, you might be able to
return to the right one by typing `I}' or `I$' or `I\par'.

2. LaTeX Error: \mathbf allowed only in math mode.
 {\mathbf{#1}
  }
You're in trouble here.  Try typing  return  to proceed.
If that doesn't work, type  X return  to quit.

You did mean include the command anywhere in the main body right? 

Thanks,
nirmal

 I have used this in the past:
 
 This in the preamble:
 
 \newcommand{\bmath}[1]{\boldsymbol{#1}}
 \let\newcommand=\providecommand
 
 and this in the main body:
 
 \begin_inset FormulaMacro
 \newcommand{\bmath}[1]{{#1}}
 
 \end_inset
 
 \begin_inset FormulaMacro
 \newcommand{\Matrix}[1]{\bmath{#1}}
 
 \end_inset
 
 I now need nothng in the preamble because this works perfectly:
 \begin_inset FormulaMacro
 \newcommand{\Matrix}[1]{\boldsymbol{#1}}
 {\mathbf{#1}}
 \end_inset
 
 Hope this helps...
 
 -- 
 Angus
 
 



Re: bold greek letters

2003-06-18 Thread Andre Poenitz
On Wed, Jun 18, 2003 at 11:51:26AM -0400, Nirmal Govind wrote:
 Thanks for the solutions Angus.. I'm not sure if I'm implementing them
 correctly since the first method (using the preamble and main body)
 compiles fine but doesn't give me bold greeks and instead gives me the
 following at the point where I put the begin_inset commands in ERT:

I am sure Angus meant you should put the  \begin_inset stuff directly in
your .lyx file

Andre'

-- 
Those who desire to give up Freedom in order to gain Security, will not have,
nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)


Re: others like lyx?

2003-06-18 Thread Alexandru Cabuz
 Do you have any proof for that claim?

Allright, I take that back.

I guess I am kinda still stuck in the Word Processing mode/mentality and 
occasionally become annoyed I can't do this one simple thing. And this 
Latex and Tex and document classes and bibtex styles and whatnot, are more 
complicated than I thought. But I do not regret switching to Lyx. I've been 
learning and it's already paying off. But there's a hell of a lot left to 
learn. 

C'est la vie, in Open Source Land. 

Alex.


Re: others like lyx?

2003-06-18 Thread Juergen Spitzmueller
Jean-Marc Lasgouttes wrote:
 Note that OSX _is_ unix, whereas windows is not. 

You should be careful with such staements these days ;-)
http://www.macnn.com/news/19728

 It should be rather
 easy.

Good to hear.

Juergen


Re: changing section numbering

2003-06-18 Thread Matej Cepl
On 2003-06-18, 09:26 GMT, Jihne Krichne wrote:
 I'm writing a document (article type). I would like to change the 
 starting number of section numbering. Is it possible to do so ? If 
 yes, please tell me how.

Read latex info file/hlp file in your LaTeX distribution. I would try

   \setcounter{section}{15}

as ERT before the section which you want to affect.

   Matej

-- 
Matej Cepl,
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488



debug lyx 1.4cvs

2003-06-18 Thread Alexei Matveev
Hello,

How one can do it?
gdb cannot cope with threads,
as it seems. At least I was not able
to find out how.
What is the proper way to build the executable
for dubugging purposes? I am using 1.3.2 rpm specs
for SuSE.
Alexei




Re: others like lyx?

2003-06-18 Thread Matej Cepl
On 2003-06-18, 10:09 GMT, Thomas CLive Richards wrote:
 I know that, but unless someone tells developers that there are at  
 least a few users out there who want this, it'll never get coded in 

The problem is that some clue-less newbies are not willing to take a look 
at archives of the conference to find that exactly this kind of stuff 
(recreating LyX into WYSIWYG junk like SWP for those who want SWP, but 
are not willing to bite a bullet and pay its price) repeats periodically 
and people on this periodically explain why LaTeX is not and *should 
not* be WYSIWYG.

I was not sure, but he is troll -- do not feed him!

*PLONK*

   Matej

-- 
Matej Cepl,
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488



Re: bold greek letters

2003-06-18 Thread Angus Leeming
Nirmal Govind wrote:
 The second solution doesn't compile. I get the following errors:

Try the example attached.
-- 
Angus#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass article
\language english
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize default
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\use_natbib 0
\use_numerical_citations 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 FormulaMacro 
\newcommand{\Matrix}[1]{\boldsymbol{#1}}
{\mathbf{#1}}
\end_inset 


\layout Standard


\begin_inset FormulaMacro 
\newcommand{\Vector}[1]{\boldsymbol{#1}}
{\mathbf{#1}}
\end_inset 


\layout Standard

An example equation:
\begin_inset Formula \[
\Matrix{M}\Vector{\gamma}=\Vector{\delta}\]

\end_inset 


\the_end


Re: prettyref latex errors - again

2003-06-18 Thread Juergen Spitzmueller
Alexandru Cabuz wrote:
 Here is the offending part of the lyx file, if it helps.

Can you please send a complete, but minimal lyx file that demonstrates the 
error?

Juergen.


Re: prettyref latex errors - again

2003-06-18 Thread Matej Cepl
On 2003-06-18, 13:39 GMT, Alexandru Cabuz wrote:
 I keep getting these pesky latex errors whenever I try using prettyref.

Could you please provide minimal (complete) .lyx document showing this 
behavior? Also the version of LyX, TeX distribution, and operating 
system would be helpful.

   Best,

  Matej

-- 
Matej Cepl,
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488



prosper and lyx 1.3.2

2003-06-18 Thread Raphael Clifford
I am trying to ger prosper to work with lyx 1.3.2 and have no end of 
trouble.

1) The installation itself doesn't seem to come with working 
instructions.  At least none that I could see. I downloaded the 
cluster.tar.gz and after much struggling got it installed. However...

2) The example file cluster.lyx does not work properly. After 
downloading the prosper.tar.gz file and copying the images across (is 
that in the docs somewhere?) You get 4 errors if you try to view-dvi and 
on the console appears...

value: Counter does not exist: enumi
value: Counter does not exist: enumii
value: Counter does not exist: enumiii
value: Counter does not exist: enumiv
step: Counter does not exist: enumi
etc.

3) I tried to create a simple prosper document to see if I knew what I 
was doing. I obviously don't :)

I did simply did Layout-document-slides(prosper) and then chose 
title and typed test.  I then did view-dvi and got 6 errors! These 
include a complaint that PPRenglish.sty is missing. I don't have that 
file and google hasn't heard of it.

What am I going wrong?

Yours in desperation,
Raphael


Re: bold greek letters

2003-06-18 Thread Nirmal Govind
 I am sure Angus meant you should put the  \begin_inset stuff directly
 in your .lyx file

Aah.. OK, did that.. now both the solutions compile fine but I still
don't see a difference in the greek letters that should be in bold.. am
I missing something?

Thanks,
nirmal



Re: Re[2]: Lighter Version

2003-06-18 Thread Andre Poenitz
On Wed, Jun 18, 2003 at 11:28:55AM -0400, Matej Cepl wrote:
 ... -- try to take a look at Small-Memory mini HOWTO (should be 
 part of every Linux distribution).

*grin*

... except for the really small ones. Like hal91 or so ;-}

Andre'

-- 
Those who desire to give up Freedom in order to gain Security, will not have,
nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)


prosper and lyx update

2003-06-18 Thread Raphael Clifford
I attach below the lyx document that fails and the errors that I receive 
when performaing view-dvi.  If I had to guess I would say my 
installation is somehow broken. I am using redhat 7.3

1) LaTeX Error: [EMAIL PROTECTED] on input line 36 ended by 
[EMAIL PROTECTED]
\title{test}\maketitle
 
Your command was ignored.
Type  I command return  to replace it with another command,
or  return  to continue without it.

2) Undefined control sequence.
\title{test}\maketitle
 
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

3) Class prosper Error: no font specified for title in BW.
\title{test}\maketitle
 
Use macro \FontTitle

4) Class prosper Error: no font specified for text in BW.
\title{test}\maketitle
 
Use macro \FontText

5) LaTeX Error: Environment [EMAIL PROTECTED] undefined.
\title{test}\maketitle
 
Your command was ignored.
Type  I command return  to replace it with another command,
or  return  to continue without it.

6) Class prosper Error: unknown Prosper style file: PPRenglish.sty.
  Sorry, no additional help}}
 
Sorry, no additional help

lyx file.

\lyxformat 221
\textclass prosper
\language english
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize default
\spacing single
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\use_natbib 0
\use_numerical_citations 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 Title

test
\the_end




Re: bold greek letters

2003-06-18 Thread Angus Leeming
Nirmal Govind wrote:

 I am sure Angus meant you should put the  \begin_inset stuff
 directly in your .lyx file
 
 Aah.. OK, did that.. now both the solutions compile fine but I still
 don't see a difference in the greek letters that should be in bold..
 am I missing something?
 
 Thanks,
 nirmal

Works for me...

-- 
Angus#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass article
\language english
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize default
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\use_natbib 0
\use_numerical_citations 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 FormulaMacro 
\newcommand{\Vector}[1]{\boldsymbol{#1}}
{\mathbf{#1}}
\end_inset 


\layout Standard

Gamma 
\begin_inset Formula $\gamma$
\end_inset 

 and 
\begin_inset Formula $\Gamma$
\end_inset 

 and now in bold 
\begin_inset Formula $\Vector{\gamma}$
\end_inset 

 and 
\begin_inset Formula $\Vector{\Gamma}$
\end_inset 


\the_end
attachment: nirmal.png

Re: bold greek letters

2003-06-18 Thread Nirmal Govind

Thanks a lot Angus.. I see now..:-) 

I can use this from now on but is there any good way of converting all
the bold greeks (by bold greeks I mean those entered with a C-b and then
the greek letter) that I currently have in my document to these macros
without editing all of them? There are just too many and I'm bound to
miss a few if I manually edit them.. 

Thanks,
nirmal

 Try the example attached.
 -- 
 Angus



copy-and-paste and preserve Lyx attributes

2003-06-18 Thread Jeremy C. Reed
Is there a way to select Lyx content (such as several lines of bullet
lists and subsections) and copy to a buffer and then paste while
preserving those attributes?

Right now, when I copy Itemize lists and paste, then I have to select all
of it, change to Itemize and then manually remove all the asterisks.

It is becoming quite time consuming to copy and paste and move a lot of
sections from different documents because I lose all the attributes.

My workaround is to save just the content I need and then Insert -
Insert File - Lyx Document But that takes a long time since I have
to type in file names, chop out un-nneded content, and do this many times.

Any ideas?

I am using LyX Version 1.1.6fix5 (installed via NetBSD pkgsrc). If this is
in the documentation, please point me to it.

Thank you,

   Jeremy C. Reed
   http://bsd.reedmedia.net/



Re: others like lyx?

2003-06-18 Thread James Frye
On Wed, 18 Jun 2003, Jan Peters wrote:

 If I make a list of features I really need, would you guys
 really implement them? I would start with two things:
 
 a) The Menus in Lyx are very good --- however, the usage
 of the math-panels is not nice. I would like to see that
 integrated as toolbars. 

Can I add a feature request in the other direction?  Either a setting to
eliminate toolbars altogether, or a way to replace the icons with text?

At my usual resolution (1800x1200 on a 21 screen), the current icons are
so small that they're pretty much indistinguishable blobs.  Even when I
enlarge them, very few are actually intuitive to me: I have no clue at
all as to what functions most are supposed to do.  For instance, it's
much, much easier for me to read the word Print, than to try to figure
out that some tiny squiggles are supposed to be a picture of an
old-fashioned dot-matrix printer with paper sticking out, and that that
corresponds to the print function.

James



Re: prosper and lyx 1.3.2

2003-06-18 Thread Christian Ridderström
On Wed, 18 Jun 2003, Raphael Clifford wrote:

 I am trying to ger prosper to work with lyx 1.3.2 and have no end of 
 trouble.
 
This might help you:

http://www.md.kth.se/~chr/lyx/examples/prosper/readme.shtml

I put together some examples while getting it to work for me (which it 
eventually did).

 I did simply did Layout-document-slides(prosper) and then chose 
 title and typed test.  I then did view-dvi and got 6 errors! These 
 include a complaint that PPRenglish.sty is missing. I don't have that 
 file and google hasn't heard of it.

I also had that problem, see

http://www.md.kth.se/~chr/lyx/examples/prosper/notes.txt

Anyway, the good news is that I also use RH 7.3, Lyx 1.3.2qt and have 
got it working :-)  so you should also be able to!

/Christian

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




Re: prosper and lyx 1.3.2

2003-06-18 Thread Raphael Clifford
Thank you very much!

I did the PPRenglish.sty - PPRdefault.sty symlink and most of the 
errors disappeared :)  Funny that google has 0 occurrences of 
PPRenglish.sty!

When I create a file with only a title in it as before I only get this 
error now.

1) Undefined control sequence.
\title{hello}\maketitle
  
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

You mentioned that the layout doesn't have subtitle or email. Does 
it have title?  Also how did you define them in the preamble please?

Have you modified prosper.layout?  Mine has an md5sum of 
8cebb3e0a8605f81916dfee4a32ff82e :)

Cheers,
Raphael
Christian Ridderström wrote:

On Wed, 18 Jun 2003, Raphael Clifford wrote:

 

I am trying to ger prosper to work with lyx 1.3.2 and have no end of 
trouble.

   

This might help you:

	http://www.md.kth.se/~chr/lyx/examples/prosper/readme.shtml

I put together some examples while getting it to work for me (which it 
eventually did).

 

I did simply did Layout-document-slides(prosper) and then chose 
title and typed test.  I then did view-dvi and got 6 errors! These 
include a complaint that PPRenglish.sty is missing. I don't have that 
file and google hasn't heard of it.
   

I also had that problem, see

	http://www.md.kth.se/~chr/lyx/examples/prosper/notes.txt

Anyway, the good news is that I also use RH 7.3, Lyx 1.3.2qt and have 
got it working :-)  so you should also be able to!

/Christian

 





Re: prosper and lyx 1.3.2

2003-06-18 Thread Jose' Matos
On Wednesday 18 June 2003 17:34, Raphael Clifford wrote:
 I am trying to ger prosper to work with lyx 1.3.2 and have no end of
 trouble.

 1) The installation itself doesn't seem to come with working
 instructions.  At least none that I could see. I downloaded the
 cluster.tar.gz and after much struggling got it installed. However...

 2) The example file cluster.lyx does not work properly. After
 downloading the prosper.tar.gz file and copying the images across (is
 that in the docs somewhere?) You get 4 errors if you try to view-dvi and
 on the console appears...

 value: Counter does not exist: enumi
 value: Counter does not exist: enumii
 value: Counter does not exist: enumiii
 value: Counter does not exist: enumiv
 step: Counter does not exist: enumi

 etc.

  Those can be solved by adding this to the layout file:
Input stdfloats.inc
Input stdcounters.inc

 3) I tried to create a simple prosper document to see if I knew what I
 was doing. I obviously don't :)

 I did simply did Layout-document-slides(prosper) and then chose
 title and typed test.  I then did view-dvi and got 6 errors! These
 include a complaint that PPRenglish.sty is missing. I don't have that
 file and google hasn't heard of it.

 What am I going wrong?

  Christian gives the solution for this in his notes.

 Yours in desperation,
 Raphael

PS: I intend to add prosper to the list of supported classes, nothing fancy 
but at least a working class, and with examples.

  Christian may I use your work as a base for this?
-- 
José Abílio



Re: copy-and-paste and preserve Lyx attributes

2003-06-18 Thread John Levon
On Wed, Jun 18, 2003 at 10:14:40AM -0700, Jeremy C. Reed wrote:

 Is there a way to select Lyx content (such as several lines of bullet
 lists and subsections) and copy to a buffer and then paste while
 preserving those attributes?

control-c
control-v

 I am using LyX Version 1.1.6fix5 (installed via NetBSD pkgsrc). If this is

That's obscenely old

regards
john


Re: others like lyx?

2003-06-18 Thread John Levon
On Wed, Jun 18, 2003 at 10:21:07AM -0700, James Frye wrote:

 Can I add a feature request in the other direction?  Either a setting to
 eliminate toolbars altogether

You can eliminate the toolbar altogether in  the Qt frontend I believe.
It's definitely poossible with current CVS.

Just edit the UI file to remove the toolbars and put it in ~/.lyx/ui/

, or a way to replace the icons with text?

Not possible.

 At my usual resolution (1800x1200 on a 21 screen), the current icons are
 so small that they're pretty much indistinguishable blobs.  Even when I

We need font schemes.

regards
john


Re: Cannot print Bentzerhandbuch

2003-06-18 Thread Gerhard Lindel
Am Mittwoch, 18. Juni 2003 15:02 schrieb Juergen Spitzmueller:
 Gerhard Lindel wrote:
  Hi all,
  I wanted to print Benutzerhandbuch (user-manual). :
  LaTeX Error: File pretty.ref.sty not found.
 
  I use SuSE 8.2 and Lyx 1.3.2, the documment-class is book.

 Yes, it seems like prettyref has been excluded from teTeX 2 (some packages
 have been excluded due to licensing issues).

  Where do I find this package exactly and how do I install it?

 http://www.ctan.org/tex-archive/macros/latex/contrib/supported/prettyref/

 run latex on prettyref.ins (actual package) and prettyref.dtx
 (documentation) and install the generated prettyref.sty somewhere under
 /usr/share/texmf/tex/latex/
 You have to run texhash as root in a console after that.

 HTH,
 Juergen.
Dear Jürgen,
Thank you for helping me!!
I am sorry, but the next trial ended with:
Package varioref Error: \vref at  page boundary 43-45 (may loop).
Abschnitt \vref{sec:crossref}
   ).Einen Verweis fügen sie wie gewohnt
Please check the page in question. You might need to peplace the \vref
or \vpageref by a normal \(page)ref to stop LaTeX running forever.

 I cannot find  varioref or \vref on my system. 
Would you be so kind helping me once more?
Gerhard



Re: How to edit LaTeX math in LyX?

2003-06-18 Thread Chris Carlen
Andre Poenitz wrote:
On Wed, Jun 18, 2003 at 08:50:09AM -0700, Chris Carlen wrote:

Ok, if I use amsmath support, it still complains cannot use split 
here.  Did you forget \begin{equation} ?

Basically, the above code works as ERT, but not if it is pasted into a 
math mode environment.  Oh, the \end{document} shouldn't be there.


Try again: Paste that code into the main LyX text - including the \[ and
the \]. Mark it - including \[ and \]. Press C-m.
What happens?
Interesting.

If I paste the code, then select and C-m, it works.

If I C-m and then paste the code, I get errors.

I have noticed that I cannot use X to cut and paste the text from the 
Latex logfile.  That is unfortunate.  MAybe I should post something 
about that one day.

Thanks for the input.

Good day!

--

Christopher R. Carlen
Principal Laser/Optical Technologist
Sandia National Laboratories CA USA
[EMAIL PROTECTED]


Re: How to edit LaTeX math in LyX?

2003-06-18 Thread John Levon
On Wed, Jun 18, 2003 at 01:18:09PM -0700, Chris Carlen wrote:

 I have noticed that I cannot use X to cut and paste the text from the 
 Latex logfile.  That is unfortunate.  MAybe I should post something 
 about that one day.

Hmm, yes. Andre, why won't mathed take middle mouse button pastes ?

john


  1   2   3   4   >