Re: TOF, Short Figure Captions?

1999-08-16 Thread Wolfgang Engelmann


This was an old question and answer, but I have still not yet understood
how it works.
If I produce a figure environment in lyx and insert a legend to the
figure, which is to long for the TOF, one should according to the answer
given below write the tex marked short/long captions in a standard
paragraph. But how do I get the (long) caption in my figure environment?
Should I run the file first with the long captions without a list of
figures, run it again with the tex marked caption under the list of
figures and take the list of figures (which has now the short captions)
out and add it to the lyx file (all marked in tex)?
Thanks in advance for help.
Wolfgang Engelmann
Physiologische "Okologie der Pflanzen
Institut f"ur Botanik
Universit"at T"ubingen
Auf der Morgenstelle 1
D72076 TUEBINGEN (Germany)
Tel 07071-29-76162 
privat 07071-68324 or 68325
Fax 07071-29-5635
EMail [EMAIL PROTECTED]

*time flies like an arrow 
but fruit flies like a banana*


 


On Wed, 9 Jun 1999, Jean-Marc Lasgouttes wrote:

> > "Pedro" == Pedro Sanchez <[EMAIL PROTECTED]> writes:
> 
> Pedro> It doesn't work. If I write "[My short figure description]" at
> Pedro> the begining of the caption and mark this as TeX code LyX
> Pedro> produces
> 
> Pedro> \caption{[My short figure description]This is a very long
> Pedro> figure description that I don't want to show up in the TOF}
> 
> Pedro> So far it seems I have to export my file as LaTeX and do the
> Pedro> editing manually. Really annoying!
> 
> What I meant is: use a Standard paragraph and write 
> \caption[My short figure description]{This is a very long figure
> description that I don't want to show up in the TOF}
> 
> Now, mark "\caption[", "]{" and "}" as TeX. This is not very pretty,
> but at least the caption texts can be edited in conveniently.
> 
> JMarc
> 



Re: How to add headers?

1999-08-16 Thread Herbert

[EMAIL PROTECTED] wrote:
> 
> I just got lyx up and running, but I've run into a problem.  I am writing
>   short stories for submission, and I need to add a header to the top of each
>   page with my name.  I can't figure out any way to add such a header.  I've
>   also looked at the headings instructions in the TeXbook, and I have not been
>   able to create anything that works.  Is there a way to add headers in lyx,
>   and/or, is there a LaTeX package that would format a document as required by
>   publishers for story submissions?

try

\pagestyle{myheadings}
\markright{your name here in ...}

both lines in Latex-format or tex-mode (red) at the beginning of
your text or in the Latex-preamble.
Using the two-side mode, you have to right markboth {...}, instead
of markright.

Herbert


-- 
[EMAIL PROTECTED]
http://www.educat.hu-berlin.de/~voss



Can't align equations

1999-08-16 Thread HohYin Loh

Congratulations for doing a great job.
I'm currently using lyx to do my thesis, but can't
seem to find a way to align the equal signs of
mathematical equations in math mode (M-m or
Ctrl-M-m). Pls note that I'm not a LaTexpert.

Tinkrer
_
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com



Help compiling on SGI 6.2

1999-08-16 Thread keft

Bonjour,
I did compile LyX (1.0.2) on my PC Linux, and on SGI
5.3
without any problems but I cannot manage to get it 
compiled on SGI 6.2. It seems to be a 32 bit library
problem but i am not an expert. Everything goes fine
until the last linking of all the objects (*.o) to
create
the "lyx" binary. Here I get warnings saying that my
Xpm
functions (like XpmWriteFileFromImage) "preempt" (?)
the
definitions in libforms. After 50 warnings it says to
give it up but create the lyx binary anyway. When i
run
lyx it cannot map the library libforms.so.0.88 (which
is in my LD_LIBRARY_PATH and was detected by the
configure program) and says that it is running OLD 32
bit binary but finding NEW 32 bit library, and it
stops.

Before compiling Lyx I had to get, of course, the Xpm
library : libXpm-3.4k (freeware.sgi.com) and the
Xforms
library version 0.88 (sgi 6.2 binaries). It seems
that
the libforms library is compiled in new 32 bit
format.

I had the idea to compile one more time LyX setting
the 
CXXFLAGS to -O0 and -n32 (before configure) so
everything is
compiled in new 32 bit, but the result at the end is
the
same (..."preempt" definition in libforms).
I have to mention here that the CXXFLAGS are not
taken
into account in the last linking (BUG ?) : CC -o lyx
main.o ...,
so i had to add it by hand : CC -O0 -n32 -o lyx
main.o ...
If you don't do this, it says that it cannot link new
32 bit objects without the -n32 option.

So, I would need some help. Does anybody get Lyx
compiled
with SGI 6.2 ? How ? Do you have to use special
flags?

Thank you and many thanks to LyX team for this great
program :)

___
Message envoye depuis http://www.ifrance.com ou
3615 IFRANCE : Hebergement gratuit - Emails gratuits - Internet sans abonnement



Re: Can't align equations

1999-08-16 Thread Herbert

HohYin Loh wrote:
> 
> Congratulations for doing a great job.
> I'm currently using lyx to do my thesis, but can't
> seem to find a way to align the equal signs of
> mathematical equations in math mode (M-m or
> Ctrl-M-m). Pls note that I'm not a LaTexpert.

you can insert a matrix from LyX-Math-menu - Symbols.
For the columns you can choose l for left, c for center
and r for right. In most applications the equal sign
will be in the middle of three colums.

hope this helps
Herbert

-- 
[EMAIL PROTECTED]
http://www.educat.hu-berlin.de/~voss



Thanks for Help, Word Count?

1999-08-16 Thread pcooley

I would like to thank everyone who helped me get my headers straightened out.  Now I 
can plague George Plimpton at the Paris Review with my short stories.  One last 
question, is there a LaTeX command, or otherwise a way in LyX, for taking the word 
count of a document?

Thanks,

Paul Cooley




Re: Two problems

1999-08-16 Thread Lars Gullik Bjønnes

Reuben Thomas <[EMAIL PROTECTED]> writes:

| 2. I'm currently getting the error "\listfiles can only be used in the
| preamble" when I process a document of mine. This error is reported on
| line 2, where it certainly *is* in the preamble. What am I doing wrong?
| Processing the file manually with LaTeX seems to work fine. I get this
| error with both 1.0.3 and 1.0.4pre4 (hence the bug report above!).

One change in 1.0.4pre4 is to not use \listfiles anymore. I _think_
this is a problem with your file, but to be certain could you send me
a file that shows this behaviour.

Lgb



Re: Oops!

1999-08-16 Thread Lars Gullik Bjønnes

Reuben Thomas <[EMAIL PROTECTED]> writes:

| My error "\listfiles can only be used in the preamble" was caused by an
| included file, plus the bug that errors in included files are referred to
| main files. So nothing new there. Sorry.

Good. I was a bit worried.

Lgb



RE: Thanks for Help, Word Count?

1999-08-16 Thread Juergen Vigna


On 16-Aug-99 [EMAIL PROTECTED] wrote:
> I would like to thank everyone who helped me get my headers straightened out.  Now I
> can plague George Plimpton at the Paris Review with my short stories.  One last
> question, is there a LaTeX command, or otherwise a way in LyX, for taking the word
> count of a document?
> 

Try to ispell the document it should tell you how many words it checked.

Greets Jürgen

-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._

Dr. Jürgen Vigna  E-Mail: [EMAIL PROTECTED]
Gerbergasse 60Tel:+39-0471-450260
I-39100 Bozen Fax:+39-0471-970042
ITALY Web:http://www.sad.it/~jug

It looks like it's up to me to save our skins.  Get into that garbage chute,
flyboy!
-- Princess Leia Organa

-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._



LyX and plain TeX

1999-08-16 Thread Jose Castejon-Amenedo


 I'm a long-time TeX user (over ten years now) who tried first to learn
computer-driven typesetting by looking into LaTeX. I was, however,
unhappy
about a number of things in LaTeX (it was, among other things, a bit too
rigid for what I wanted to do) and downgraded to plain TeX, where I have
done all my  typesetting ever since.

 Now I understand LyX is built on top of LaTeX. I would like to be able
to retain the power and flexibility of plain TeX while at the same time
have access to the screen-oriented features that LyX has to offer. Is
that possible? Please don't tell me that since LaTeX is built on top of
plain TeX plain TeX is available all the time for you do as you please
with it, because you know better than I do that this is not how it
works.



Help! No footnotes!

1999-08-16 Thread Darrin Thompson

I'm having a problem with lyx 1.0.3

I cannot use footnotes at all. On the dvi or ps output, where the notes
are supposed to be, there is a horizontal line indicating a footnote
should be present, but no footnote.

Also, there was in the Users Guide, some "hello world" program, whose
results did not show up on the dvi output, just a blank space where it
should have been.

I have reinstalled tetex and latex and lyx and run reconfigure in lyx
and goofed with document and paper settings done just about everything
else I can imagine but I can't get footnotes!

Help!

I'm using Linux, RedHat 6.0.

Darrin



Re: LyX and plain TeX

1999-08-16 Thread Lars Gullik Bjønnes

Jose Castejon-Amenedo <[EMAIL PROTECTED]> writes:

|  Now I understand LyX is built on top of LaTeX. I would like to be able
| to retain the power and flexibility of plain TeX while at the same time
| have access to the screen-oriented features that LyX has to offer. Is
| that possible?

Not without extensive rewrite. LyX depends on LaTeX.

| Please don't tell me that since LaTeX is built on top of
| plain TeX plain TeX is available all the time for you do as you please
| with it, because you know better than I do that this is not how it
| works.

You can try to include your tex in latex sections or mark it as TeX,
but now guaranties(?). It might fail with a *bang*.

Lgb



Re: Help! No footnotes!

1999-08-16 Thread Lars Gullik Bjønnes

Darrin Thompson <[EMAIL PROTECTED]> writes:

| I'm having a problem with lyx 1.0.3
| 
| I cannot use footnotes at all. On the dvi or ps output, where the notes
| are supposed to be, there is a horizontal line indicating a footnote
| should be present, but no footnote.

Are you perhaps missing the correct fonts?
(one result of that can lead to "blanks" being inserted instead)

| 
| Also, there was in the Users Guide, some "hello world" program, whose
| results did not show up on the dvi output, just a blank space where it
| should have been.
| 
| I have reinstalled tetex and latex and lyx and run reconfigure in lyx
| and goofed with document and paper settings done just about everything
| else I can imagine but I can't get footnotes!

Did you look at the postscript as well?

Lgb



Re: Help! No footnotes!

1999-08-16 Thread Darrin Thompson

I viewed the postscript output from my document with "less". I looked at
page 1 (where some footnotes should have appeared) and found no
reference to any footnotes there. 

This leads me to believe that either lyx or latex is discarding the
footnotes completely.

There didn't appear to be any code inserting "blanks".

I also scanned the dvi file and was unable to find any references to my
footnotes. I have looked at the ouput with both xdvi and gv and they
just are not there.

Darrin

"Lars Gullik Bjønnes" wrote:
> 
> Darrin Thompson <[EMAIL PROTECTED]> writes:
> 
> | I'm having a problem with lyx 1.0.3
> |
> | I cannot use footnotes at all. On the dvi or ps output, where the notes
> | are supposed to be, there is a horizontal line indicating a footnote
> | should be present, but no footnote.
> 
> Are you perhaps missing the correct fonts?
> (one result of that can lead to "blanks" being inserted instead)
> 
> |
> | Also, there was in the Users Guide, some "hello world" program, whose
> | results did not show up on the dvi output, just a blank space where it
> | should have been.
> |
> | I have reinstalled tetex and latex and lyx and run reconfigure in lyx
> | and goofed with document and paper settings done just about everything
> | else I can imagine but I can't get footnotes!
> 
> Did you look at the postscript as well?
> 
> Lgb



Re: Help! No footnotes!

1999-08-16 Thread Lars Gullik Bjønnes

Darrin Thompson <[EMAIL PROTECTED]> writes:

| I also scanned the dvi file and was unable to find any references to my
| footnotes. I have looked at the ouput with both xdvi and gv and they
| just are not there.

Are you using footnotes in tables or in sectioning headers?

Lgb



Re: Help! No footnotes!

1999-08-16 Thread Darrin Thompson

Nope. Plain old vanilla, middle of the paragraph footnotes.

Darrin

"Lars Gullik Bjønnes" wrote:
> 
> Darrin Thompson <[EMAIL PROTECTED]> writes:
> 
> | I also scanned the dvi file and was unable to find any references to my
> | footnotes. I have looked at the ouput with both xdvi and gv and they
> | just are not there.
> 
> Are you using footnotes in tables or in sectioning headers?
> 
> Lgb



Re: Help! No footnotes!

1999-08-16 Thread Lars Gullik Bjønnes

Darrin Thompson <[EMAIL PROTECTED]> writes:

| Nope. Plain old vanilla, middle of the paragraph footnotes.

What happens if you creat a minimal LateX document with footnotes and
run it through latex?

\documentclass{article}
\begin{document}
\footnote{test}
\end{document}

Lgb



Re: Help! No footnotes!

1999-08-16 Thread Darrin Thompson

I pasted your code into latex. The dvi output contained a small number 1
at the top of the page, and "1 test" at the bottom. It appeared to work.

So my problem is lyx?

Thanks so much for your help, Lars.

Darrin

"Lars Gullik Bjønnes" wrote:
> 
> Darrin Thompson <[EMAIL PROTECTED]> writes:
> 
> | Nope. Plain old vanilla, middle of the paragraph footnotes.
> 
> What happens if you creat a minimal LateX document with footnotes and
> run it through latex?
> 
> \documentclass{article}
> \begin{document}
> \footnote{test}
> \end{document}
> 
> Lgb



Re: Help! No footnotes!

1999-08-16 Thread Lars Gullik Bjønnes

Darrin Thompson <[EMAIL PROTECTED]> writes:

| So my problem is lyx?

Can you create a minimal lyx document, a document that only contains a
footnote. Try to preview that, it it fails. Export your minimal
document to latex and run latex on it, is the problem still there? ->
send me the exported latex file + the minimal lyx file.

What version of lyx did you say?

Lgb



Re: Help! No footnotes!

1999-08-16 Thread Darrin Thompson

Lars,

The lyx and latex files looked fine. The foot note was there. I have
included them at the bottom of this document.

I think you were right way long ago about suspecting a font problem.
Here is the standard error output of "latex log"

I think this is the answer, I just don't know what the gobbletygook
means.
***
kpathsea: Running mktextfm  ecrm1000
mktextfm: /var/tmp/texfonts/tfm/unknown/unknown/ecrm1000.tfm already
exists.
kpathsea: Running mktextfm  ecrm0700
/usr/local/share/texmf/web2c/mktexnam: Could not map source
abbreviation  for ecrm0700.
/usr/local/share/texmf/web2c/mktexnam: Need to update ?
mktextfm: Running mf \mode:=ljfour; mag:=1; nonstopmode; input ecrm0700
This is METAFONT, Version 2.7182 (Web2C 7.3)
kpathsea: Running mktexmf  ecrm0700

! I can't find file `ecrm0700'.
<*> ...ljfour; mag:=1; nonstopmode; input ecrm0700
  
Please type another input file name
! Emergency stop.
<*> ...ljfour; mag:=1; nonstopmode; input ecrm0700
  
Transcript written on mfput.log.
mktextfm: `mf \mode:=ljfour; mag:=1; nonstopmode; input ecrm0700'
failed.
kpathsea: Appending font creation commands to missfont.log.




***
test.lyx
***
#This file was created by  Mon Aug 16 16:27:00 1999
#LyX 1.0 (C) 1995-1999 Matthias Ettrich and the LyX Team
\lyxformat 2.15
\textclass article
\language default
\inputencoding default
\fontscheme default
\graphics default
\paperfontsize default
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Standard

help
\begin_float footnote 
\layout Standard

test
\end_float 
\layout Standard

me!
\the_end



test.tex

\documentclass{article}
\usepackage[T1]{fontenc}

\makeatletter


%% LyX specific LaTeX commands.
\providecommand{\LyX}{L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@}

\makeatother

\begin{document}

help\footnote{%
test
}

me!



Feature requests

1999-08-16 Thread Gal Kaminka


Hi!

I didn't know whether feature requests intermixed with praise for
a terrific system should go to the user list or the developer
list, and so I'm just sending the following to both...

First, I'd like to congratulate the developers on a really terrific
system. I've been resisting latex for a long time (imagine that, 
a PhD student in computer science resisting latex). A M$-Word crash
that took a third of my proposal (about 20 pages) with it, plus
a journal that only had latex styles convinced me that it was
time to reform. I needed stability, and I need latex-compatibility,
and I needed them packaged in a reasonable way.

LyX is more than reasonable. Latex was never intended for GUI processing,
and LyX does a great job of taking latex significantly beyond its original
capabilities. I did have to do a little latex hacking to get everything
working for my journal submission, but it was perfectly reasonable,
and not too difficult.

Second, since I've now spent 3 months typing and retyping and retyping
once again in LyX, I'd like to make a few suggestions that I believe
will improve LyX's appeal to people who do lots of writing.  They
are not listed in any particular order

1. in Article(AMS) style, definitions can't follow one another. In other
words, a definition following another is "swallowed" into the first. 
Same thing happens with examples, and unnumbered definitions (and I 
think other environments).

2. Labels are an extremely powerful idea. Instead of having the user
remember to put them in, it would be very nice indeed to have two
features:
  - have labels created automatically (naturally, some users will
won't to disable this feature :-)) in new sections, parts, figures,
tables, floats, etc. This way, the user can always reference
these environments without having to remember to put the labels 
in. For instance, why not simply automatically use section name, 
figure caption, as labels (again, as an option)

This signifcantly goes above what latex has to offer. It
will automate an important feature in latex's infrastructure, that
really helps users concentrate on writing.

  - have the labels use a default prefix depending on their environment
context. e.g., sec: for section, fig: for figures, def: for definitions, 
proof: for proofs, etc. The insert reference menu can then display the
lables based on their "type", allow searching for a cross reference of
only a particular type, etc.

Again this goes well above latex itself. LyX can then gain a
level of usefulness besides being a "latex editor".

3. cite key selection windows should be larger.  There are a lot of cites,
and selecting among them in a small windows is just frustrating.  Also,
using publicly available code for parsing cites from a file, it should
be easy to extend LyX to also show the keys from bib files, rather than
just the keys appearing so far.

4. instead of having the user manually select update dvi, have lyx
   do it automatically in the background every few seconds. xdvi, if
   left running, automatically checks for updates anyways, so the only
   thing that would need to be done is to make sure lyx continuously
   uses the same file name and continuously latexes the files.
I'm sure at earlier stages of writing, this feature will be
   very bothersome. However, at later stages of writing, when one is
   trying to make sure they are not over a page limit (a common issue
   for those of us submitting papers to conferences and journals),
   it can make life a lot easier.

5. unnumbered section (section*) in article(ams) does not work. This is
   in v1.0.1)

6. allow search and replace, with layout/mode.  For instance, replace all
   standard mode "[kitano, 1998]" by the TeX mode "\cite{kitano98}".

7. run ispell in the background and mark misspelled words with red wavy line 
   (ala MS Word -- the one feature that they really did well)

8. allow search and replace of environments. (i.e., look for definitions).

9. show the current character layout as pressed buttons. i.e., when
emphasis is currently on, the button should appear pressed. Same for math mode,
tex mode, noun style, etc. This will make it easier to know when to turn
these modes on and off.

10. convert $...$ expressions automatically into mathmode displays

11. convert \cite expressions automatically into citations

12. format painter like ms word, so one can copy formats across texts.

13. Bug/feature. c-S is not accepted, only c-s. This may be intentional,
but can be also very annoying. (v1.0.1)

14. no way to select with the help of the keyboard. For instance, I could
not find an easy way of marking the end of a long selection with 
shift-mouseclick.

15. When a label is changed, should allow for automatic update to all references to 
it.  If labels are going to be automatic, this can be
easier to do, I think.

16. parse bibtex log to find errors that when clicked on,
take 

Re: Help! No footnotes!

1999-08-16 Thread Darrin Thompson

I think I have fixed it, finally. Sort of.

It seems that Latex was missing some ecrm files.

I remedied this by running the latex output through latex and watching
for missing fonts. I then ran mktexmf on each fontname. Then the next
time, latex would generate a metrics file for the font and choke on
another one. 

It finally ran out of fonts to choke on. :)

So the last question of the day is, what is the real fix?

Darrin



Re: Help! No footnotes!

1999-08-16 Thread Juergen Vigna


On 17-Aug-99 Darrin Thompson wrote:
> 
> So the last question of the day is, what is the real fix?
> 

You said RedHat 6.0? This seems strange to me, ..., did you upgrade
or install a new system? If you upgraded from an old system, try to
remove the latex-packages 'rpm -e ...' and then install them new
'rpm -i ...' (the original ones not tetex-1.0 packages which are not
yet officially supported by RedHat and may have problems!). This
should be enough! You don't have to reinstall lyx ;)

Greets Jürgen

P.S.: This advice only because there have been other people having
  problem with tetex after upgrading to RedHat 6.0!

-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._

Dr. Jürgen Vigna  E-Mail: [EMAIL PROTECTED]
Gerbergasse 60Tel:+39-0471-450260
I-39100 Bozen Fax:+39-0471-970042
ITALY Web:http://www.sad.it/~jug

Meader's Law:
Whatever happens to you, it will previously
have happened to everyone you know, only more so.

-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._



Re: Help compiling on SGI 6.2

1999-08-16 Thread Allan Rae

On Mon, 16 Aug 1999 [EMAIL PROTECTED] wrote:

> Bonjour,
Hello.

> I did compile LyX (1.0.2) on my PC Linux, and on SGI 5.3 without any
> problems but I cannot manage to get it compiled on SGI 6.2. It seems
> to be a 32 bit library problem but i am not an expert. Everything goes
> fine until the last linking of all the objects (*.o) to create the
> "lyx" binary. Here I get warnings saying that my Xpm functions (like
> XpmWriteFileFromImage) "preempt" (?) the definitions in libforms.

This sounds like the libforms for SGI has been statically linked with
libXpm.  Did you try linking without the -lXpm?  Just edit the
src/Makefile by hand.

> I had the idea to compile one more time LyX setting the CXXFLAGS to
> -O0 and -n32 (before configure) so everything is compiled in new 32
> bit, but the result at the end is the same (..."preempt" definition in
> libforms). I have to mention here that the CXXFLAGS are not taken into
> account in the last linking (BUG ?) : CC -o lyx main.o ..., so i had
> to add it by hand : CC -O0 -n32 -o lyx main.o ... If you don't do
> this, it says that it cannot link new 32 bit objects without the -n32
> option.

The last step is just calling the linker via the compiler so we ignore
the compiler flags.  You should set the linker flags LDFLAGS -- however
configure sets this to the location of the xforms library so edit
src/Makefile by hand and please report back if this helped.  We'll then
need to come up with a solution in the configure script.

> Thank you and many thanks to LyX team for this great program :)

You're welcome,
Allan. (ARRae)