Re: CVS

2000-06-26 Thread Rod Pinna


There is a package called rcsinfo.sty that might help.

Rod

On Mon, 26 Jun 2000, Darryl wrote:

> I'm using RCS / CVS with Lyx
> and I'm inserting a RCS keyword
> $Id$ into a section.
> 
> However when i print the document the 
> expanded Id does not print.  
> 
> Is there a way to get it to print.
> (it looks like going from lyx to dvi or ps
> the $Id$ disappears)
> 
> Darryl
> 

__
rod | "If morale is low it's because the employees have character defects. 
|  There is nothing you can do about that."
|from Dilbert's micromanagement tips for management.




CVS

2000-06-26 Thread Darryl

I'm using RCS / CVS with Lyx
and I'm inserting a RCS keyword
$Id$ into a section.

However when i print the document the 
expanded Id does not print.  

Is there a way to get it to print.
(it looks like going from lyx to dvi or ps
the $Id$ disappears)

Darryl



Re: Problem with Meta-Key

2000-06-26 Thread Lars Gullik Bjønnes

Rick Janda <[EMAIL PROTECTED]> writes:

| On Keyboard with 104 or 105 Caps you can use the Windows-Key to
| separate Meta from Alt. I know many people who use Alt for the whole
| windowmanager stuff and private shortcuts and Meta for the "normal"
| programs to do not get a conflict. On XFree86 configuration for
| 104/105 keys PC-keyboards, Meta get mod 4 and Alt get mod 1.

And in Emacs Meta-x will give "M-x" in the minibuffer?

LyX currently uses Mod-1.
Other uses of modifiers must give a keysym lyx can react upon.

If I understand how other programms handeled this I am sure we could
find a solution.

But it does not seem correct to look at keysym, imho we must look at
modifier number. (I should be allowed to have my F1 key as mod-1 if I
want that and F2 as mod-4, how to handle Alt/Meta then?)

Lgb




Re: Problem with Meta-Key

2000-06-26 Thread Rick Janda

Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes:

> > "Rick" == Rick Janda <[EMAIL PROTECTED]> writes:
> 
> ...
> 
> Indeed. I think most X applications do that (am I wrong?). For
> example, I do not have a 'meta' key on my keyboard, but keys noted
> 'alt', so it is reasonable that LyX uses them.

Normally, a X application use the key which has KeySym Meta_L or
Meta_R as Meta and the key, which has KeySym Alt_L or Alt_R as Alt,
independent of the uses modifier bit. Lots of people map Alt to Meta
in there XF86Config, because Meta is Shift-Alt by default and many
programs use Meta not Alt as modifier, therefore Meta get mod1 there.

On Keyboard with 104 or 105 Caps you can use the Windows-Key to
separate Meta from Alt. I know many people who use Alt for the whole
windowmanager stuff and private shortcuts and Meta for the "normal"
programs to do not get a conflict. On XFree86 configuration for
104/105 keys PC-keyboards, Meta get mod 4 and Alt get mod 1.

> 
> I think we could accept a patch doing that, but I will not have time
> to do it myself.  
I don't know anything about c at the moment. :-(
If anybody taught me programming c, I would do it ;-)

> 
> JMarc



Converting .lyx to .ps

2000-06-26 Thread Ryan Wahle

How can I convert .lyx to .ps ??  I can do it from LyX, but I need to do
it automatically from another program. I don't know what utility to use. I
have tried serveral like latex but they give me an error for some reason..
Can someone give me the commands that LyX does to convert to a .ps file
from the .lyx file?




Re: Problem with Meta-Key

2000-06-26 Thread Jean-Marc Lasgouttes

> "Rick" == Rick Janda <[EMAIL PROTECTED]> writes:

Rick> Hallo, I use Lyx 1.1.4. It seem, that lyx always use the key
Rick> with modifier bit 1 as Meta, independant of the according
Rick> keysym.

Indeed. I think most X applications do that (am I wrong?). For
example, I do not have a 'meta' key on my keyboard, but keys noted
'alt', so it is reasonable that LyX uses them.

Rick> I use a keybord with seperate key for Meta and Alt. As default,
Rick> mod1 is assigned to Alt and mod4 is assigned to Meta. Therefore,
Rick> Lyx thinks my Alt key would be Meta.

Rick> Can I change this behavior without changing my X keymapping.

I do not know how we could change that in a generic way... From the
source, it seems that changing Mod1Mask to Mod4Mask in all files where
this occurs should suffice. However, if we wanted to add a way to
select that in lyxrc, we would have to make sure that the change is
taken in account before any key sequence is defined, which requires a
bit of work.

I think we could accept a patch doing that, but I will not have time
to do it myself.

JMarc



Re: Question about document defaults and Lyx layouts

2000-06-26 Thread Jean-Marc Lasgouttes

> "Pedro" == Pedro Sanchez <[EMAIL PROTECTED]> writes:

Pedro> So, what aren't the "default" statements in the layout files
Pedro> for? Aren't those supposed to tell LyX what the defaults are
Pedro> for each texclass so that there is no need to "discover" them?

The use of these default statements is to tell LyX: "if columns is set
to 2, do not write anything to the .tex file, since this is already
the default of the latex class".

Pedro> I prefer to do it like this because it provides feedback to the
Pedro> user about what the defaults of the texclass are. It wouldn't
Pedro> be necessary if all the default values defined in the layout
Pedro> file were visible under the menu Layout --> Document, but they
Pedro> are not, only a few of them.

I agree that, for things like font size, the default should be somehow
visible in the document layout popup. It is just not done yet...

JMarc



Re: Labelling problem and Lyx paste request

2000-06-26 Thread Jean-Marc Lasgouttes

> "Peter" == Peter D Drummond <[EMAIL PROTECTED]> writes:

Peter> I noticed an unexpected (and undocumented) feature in Lyx1.1.5;
Peter> this is a version running on a DEC-alpha under Tru64 Unix, so
Peter> it may be specific to Tru64. I haven't tested on all possible
Peter> Lyx installation types.

Peter> Labels won't attach to certain equations; if you then try to
Peter> number them using math-number instead, you just get a random
Peter> character inserted in the equation, which is not useful; nor
Peter> can you un-number the equation, if numbered.

I tried on Tru64 too, and am not sure I see the problem. In
particular, how do you get random characters?

Peter> Problem appears associated with the mini-buffer not clearing
Peter> itself as it should, when you click it. However, I found that
Peter> SOME equations can be labelled, even when I can't use the
Peter> minibuffer, so the problem is a little weird from my
Peter> perspective!

Do you use the minibuffer to enter labels? How?

Peter> Also - its great you can paste FROM lyx - please can we have a
Peter> paste INTO lyx as well?

What wrong with Edit->Paste_primary_selection?

JMarc



Re: Export as HTML...

2000-06-26 Thread noyes

At 12:08 PM 6/26/00 +0200, Jean-Marc Lasgouttes wrote:
> > "noyes" == noyes  <[EMAIL PROTECTED]> writes:
>
>noyes> When I "Export as HTML..." the URLs in my document aren't
>noyes> turned into hyper-links. How do I fix the following WARNINGS?
>
>noyes> No implementation found for style `fontenc'
>noyes> No implementation found for style `url'
>noyes> redefining command \url
>noyes> previous meaning of \url will be lost
>
>noyes> If I need to RTM, please tell me which one.
>
>Do you know what package is used to export to html (latex2html, tth,
>or hevea?).

LyX uses this latex2html command in lyxrc.default:

latex2html -no_subdir -split 0 -show_section_numbers '$FName'


I have the html.sty, url.sty, and lots of others installed. I even copied 
the html and url ones to the dir with the Q&A. "Help" "LaTex Configuration" 
shows "6.1.1 url" "Found: yes".


I included the following commands in the LyX "LaTeX Preamble...":

\usepackage{hthtml}
\usepackage{html,htmllist}


This is the beginning of LRP-QA.tex

%% LyX 1.1 created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\IfFileExists{url.sty}{\usepackage{url}}
   {\newcommand{\url}{\texttt}}
\makeatletter

%% LyX specific LaTeX commands.
\providecommand{\LyX}{L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@}
\newcommand{\noun}[1]{\textsc{#1}}
%% Textclass specific LaTeX commands.
  \newenvironment{lyxcode}
{\begin{list}{}{
  \setlength{\rightmargin}{\leftmargin}
  \raggedright
  \setlength{\itemsep}{0pt}
  \setlength{\parsep}{0pt}
  \verbatim@font}%
 \item[]}
{\end{list}}
%% User specified LaTeX commands.
\usepackage{hthtml}
\usepackage{html,htmllist}
\makeatother
\begin{document}

--
Mike Noyes| LyX 1.1.5
[EMAIL PROTECTED] | Debian 2.2




Re: LyX to PDF

2000-06-26 Thread Stephan E. Schlierf

Olof Liungman wrote:
> 
> Hi!
> 
> Thanks for the prompt answer.

You´re welcome.
> 
> > For me it seems that exporting your file as LaTeX isn´t enough. The
> > missing (the warnings) of croos-references and so on indicates that you
> > missed to "latex" your exported file.
> > You can do so by typing "latex [yourfilename.tex]" at the command line.
> 
> Hmm, this just gives me the same errors.

Even if you repeat this command for several times (Two or three times
should be enough)
> 
> >
> > I do not know much abpout pdflatex; I managed the problem to convert
> > LyX-files to PDF as follows:
> >
> > 1. include a
> > \usepackage[ps2pdf,pdftitle={whatever you
> > want},linktocpage,colorlinks=true]{hyperref}
> > in your LaTeX-preamble (Layout -> LaTeX...)
> > 2. Export your LyX-file as Postscript.
> > 3. Use ps2pdf to create the PDF-file (at the command line: "ps2pdf
> > [yourfilename.ps]"
> >
> > For me this works quite perfectly - but I agree with you that a "direct"
> > PDF-export would be much more comfortable (hint for the developers :-).
> 
> Using ps2pdf on the ps-file worked fine. However, when viewing the pdf-file on
> screen in Acrobat Reader the text is really blurry and difficult to read. Also,
> it takes ages to put it on screen, each line sort of scrolling up like on old
> computers.

Which font are you using? There are some that are not dealed with as
text but as grafics. To avoid this, you might try to change the fonts
via Layout -> Document to "times". Then it should work better...

> I tried inserting the stuff under point 1 in LaTeX preamble, i.e.
> 
> \usepackage[ps2pdf,pdftitle={kl_model},linktocpage,colorlinks=true]{hyperref}
> 
> but then the LaTeX runs number 1 fails upon printing to file with 62 errors:
> "Unable to print. Check that your parameters are correct." "kl_model" is just
> the filename of the article I'm writing. Did I get the line above right?

Hm, the syntax seems to be o.k. The "pdftitle={whatever you want}"
command is used to give your PDF-document a title  - visible via File ->
Document Info -> General... (for Acrobat Reader). So is is not
necessarily the name of the file (and it is not necessarily needed,
too).
The "linktocpage" command is used to create hyperlinks for the page
numbers within the TOC of the PDF-document.
The "colorlinks" command is used to enable coloured hyperlinks.

Regards,

Stephan

--
Stephan E. Schlierf M.A.
-  Product Management  -
PHONE:  ++49 9254 960673
FAX:++49 9254 960674
CSE GmbH Germany



Re: Bibtex in Lyx and/or Klyx

2000-06-26 Thread Jean-Marc Lasgouttes

> "Phil" == Phil Scordis <[EMAIL PROTECTED]> writes:

Phil> No, those particular ones did not, but reducing their lengths or
Phil> removing them all together solved it.

That may be a bibtex bug, then, but it surprises me a bit.

JMarc



Re: Bibtex in Lyx and/or Klyx

2000-06-26 Thread Phil Scordis

On 26 Jun 2000, Jean-Marc Lasgouttes wrote:

> > "Phil" == Phil Scordis <[EMAIL PROTECTED]> writes:
> 
> Phil> However, after re-writing all of the cites into the original
> Phil> document the buffer overflow returned. Inspection of the .aux
> Phil> file indicated a number of figure captions that seemed to be
> Phil> quite lengthy, and sure enough commenting out these figures in
> Phil> lyx solved the problem.
> 
> Do you have figure captions which contain citations?
> 
> JMarc

No, those particular ones did not, but reducing their lengths or removing
them all together solved it.

Phil


-- 
-
  Phil Scordis
   Room 2.19, School of Biological Sciences, Stopford Building
University of Manchester, Oxford Road, Manchester, M13 9PT
-




Re: Bibtex in Lyx and/or Klyx

2000-06-26 Thread Jean-Marc Lasgouttes

> "Phil" == Phil Scordis <[EMAIL PROTECTED]> writes:

Phil> However, after re-writing all of the cites into the original
Phil> document the buffer overflow returned. Inspection of the .aux
Phil> file indicated a number of figure captions that seemed to be
Phil> quite lengthy, and sure enough commenting out these figures in
Phil> lyx solved the problem.

Do you have figure captions which contain citations?

JMarc



Re: Export as HTML...

2000-06-26 Thread Jean-Marc Lasgouttes

> "noyes" == noyes  <[EMAIL PROTECTED]> writes:

noyes> When I "Export as HTML..." the URLs in my document aren't
noyes> turned into hyper-links. How do I fix the following WARNINGS?

noyes> No implementation found for style `fontenc' No implementation
noyes> found for style `url' redefining command \url previous meaning
noyes> of \url will be lost

noyes> If I need to RTM, please tell me which one.

Do you know what package is used to export to html (latex2html, tth,
or hevea?).

JMarc



Re: Problems with 1.1.5

2000-06-26 Thread Jean-Marc Lasgouttes

> "Torsten" == Torsten Hahn <[EMAIL PROTECTED]> writes:

Torsten> Hi, today i made a update to 1.1.5 , everything works fine
Torsten> but the background color is still "lightyellow" but i have
Torsten> set

Torsten> \background_color white

Torsten> in my ~/.lyx/lyxrc file ?

This feature has been removed from 1.1.5 (because all the related code
has chnaged), but will probably return in another form soon.

Torsten> Another Problem is Bibtex. If i use it with the style "plain"
Torsten> everything is fine, if i try to use "gerplain" (german plain
Torsten> style) Lyx produces an error. The *.dvi is created and looks
Torsten> completly right !

Torsten> The error-message says something about an

Torsten> "Undefined control sequence ...ley Publishing Company, 2nd
Torsten> \btxeditionlon {}, 1996. The control sequence at the end of
Torsten> the top line of your error message was never \def'ed ..."

If you look closely at your dvi file, you will find that one of the
entries (published in 1996) is wrong.

You probably need to use a special package with this german
bibiography style.

JMarc



Re: changing font color in lyx

2000-06-26 Thread Jean-Marc Lasgouttes

> "Deepak" == Deepak L Rao <[EMAIL PROTECTED]> writes:

Deepak> I was wondering if somebody can tell me how I can change the
Deepak> color of the displayed font in lyx. I know I can change the
Deepak> background color, but it appears I am stuck with black for the
Deepak> font color (?). Any suggestions.

This is not possible now, but will probably be in 1.1.5fix1.

JMarc



Re: degree symbol

2000-06-26 Thread Tuukka Toivonen

On Wed, 21 Jun 2000, Herbert Voss wrote:

> > How do you get a degree symbol to show?
> choose latin1 in layout->document->encoding
> and than the symbol ° for degrees.

Ie. press compose-key and a two-key magic sequence (you can find list from
new Xfig html-manual).

Alternatively, use math-mode and use a superscript circle.




Re: LyX to PDF

2000-06-26 Thread Stephan E. Schlierf

Olof Liungman wrote:
> 
> Hi!
> 
> I am afraid I have a newbie question, but I'm a real baby at LaTeX and LyX
> (great software, by the way :). I want to convert my LyX document to PDF. The
> LyX document works fine, viewing and printing. What I did was first to export to
> LaTeX (File->Export->LaTeX). Everything appeared to work fine. I then ran
> 'pdflatex filename' on the resulting .tex-file. However, I then get loads of
> warnings saying that all of my cross-references and BibTex citations are
> undefined.

For me it seems that exporting your file as LaTeX isn´t enough. The
missing (the warnings) of croos-references and so on indicates that you
missed to "latex" your exported file.
You can do so by typing "latex [yourfilename.tex]" at the command line.

> Also, LaTeX claims that it does not know the graphics extension .eps.
> What am I doing wrong? I am using LyX 1.1.5 under Sun Solaris 2.6 (SPARC) and
> LaTeX version 1999/12/01. I can send the .tex-file gzipped if that might help.
> 
> Please cc me as I am on the digest list and would like to hear any comments as
> soon as possible.

I do not know much abpout pdflatex; I managed the problem to convert
LyX-files to PDF as follows:

1. include a 
\usepackage[ps2pdf,pdftitle={whatever you
want},linktocpage,colorlinks=true]{hyperref}
in your LaTeX-preamble (Layout -> LaTeX...)
2. Export your LyX-file as Postscript.
3. Use ps2pdf to create the PDF-file (at the command line: "ps2pdf
[yourfilename.ps]"

For me this works quite perfectly - but I agree with you that a "direct"
PDF-export would be much more comfortable (hint for the developers :-).

> 
> Cheers,
> 
> Olof


Regards

Stephan
--
Stephan E. Schlierf M.A.
-  Product Management  -
PHONE:  ++49 9254 960673
FAX:++49 9254 960674
CSE GmbH Germany



Re: LyX to PDF

2000-06-26 Thread Rachel Greenham



On Mon, 26 Jun 2000, Olof Liungman wrote:

> Hi!
> 
> I am afraid I have a newbie question, but I'm a real baby at LaTeX and LyX 
> (great software, by the way :). I want to convert my LyX document to PDF. The 
> LyX document works fine, viewing and printing. What I did was first to export to 
> LaTeX (File->Export->LaTeX). Everything appeared to work fine. I then ran 
> 'pdflatex filename' on the resulting .tex-file. However, I then get loads of 
> warnings saying that all of my cross-references and BibTex citations are 
> undefined. Also, LaTeX claims that it does not know the graphics extension .eps. 
> What am I doing wrong? I am using LyX 1.1.5 under Sun Solaris 2.6 (SPARC) and 
> LaTeX version 1999/12/01. I can send the .tex-file gzipped if that might help.

Export as tex and run texi2pdf -p  on it, you'll get
 out.

-- 
Rachel





Solaris Keyboard

2000-06-26 Thread Riccardo Bronzini

Hi,
i'm using lyx installed on a sun machine with solaris 2.5, and i don't
know i how i can type the italian characters like: a'(a with accent, i
think it's called in this way), e', o' and so on.
Thanks,
bye
Riccardo

begin:vcard 
n:Bronzini;Riccardo
x-mozilla-html:FALSE
org:STMicroelectronics;Soft Computing Group
adr:;;
version:2.1
email;internet:[EMAIL PROTECTED]
title:Hardware Designer
x-mozilla-cpt:;0
fn:Riccardo Bronzini
end:vcard



LyX to PDF

2000-06-26 Thread Olof Liungman

Hi!

I am afraid I have a newbie question, but I'm a real baby at LaTeX and LyX 
(great software, by the way :). I want to convert my LyX document to PDF. The 
LyX document works fine, viewing and printing. What I did was first to export to 
LaTeX (File->Export->LaTeX). Everything appeared to work fine. I then ran 
'pdflatex filename' on the resulting .tex-file. However, I then get loads of 
warnings saying that all of my cross-references and BibTex citations are 
undefined. Also, LaTeX claims that it does not know the graphics extension .eps. 
What am I doing wrong? I am using LyX 1.1.5 under Sun Solaris 2.6 (SPARC) and 
LaTeX version 1999/12/01. I can send the .tex-file gzipped if that might help.

Please cc me as I am on the digest list and would like to hear any comments as 
soon as possible.

Cheers,

Olof




Re: none

2000-06-26 Thread Jean-Marc Lasgouttes

> "Daniel" == Daniel Åberg <[EMAIL PROTECTED]> writes:

Daniel> However, I'm tired of my Solaris 2.5 and will upgrade it to
Daniel> 2.8 today (if God willing), so there shouldn't be any problems
Daniel> compiling the Lyx-code anymore... But, thanks anyway!

Good luck.

JMarc