Re: Problem installing -1.3.3/Qt

2003-11-02 Thread Jeannette Meyer
Hi Rich,

On Sunday 02 November 2003 02:24, Rich Shepard wrote:
>   I tried building lyx-1.3.3/qt on my new laptop running Slackware-9.1.
> Configure worked just fine, once I figured out to use './configure
> --with-frontend=qt --with-qt-dir=/usr/local/qt-3.2.2' and it compiled with
> no errors.
>
>   However, both 'checkinstall' and 'make install' failed with
> 'install-xfonts: Error 1' and a couple of more errors after that. This was
> when trying 'test -f /xfonts/PSres.upr && /usr/bin/ginstall -c -m 644
> xfonts/PSres.upr /usr/local/share/lyx/xfonts/PSres.upr'.

I seem to remember this error from when I tried to install lyx-1.3.3/qt on my 
machinge  (Suse 8.0). I solved it by installing the bluesky fonts in 
/usr/share/texmf/fonts/type1. Though it took me quite some time before I 
found what was going wrong Make sure to run texhash after installing any 
fonts.

Hope that helps.

Jeannette



Re: Problems with graphics

2003-11-02 Thread Mohamed Eldesoky
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Saturday 01 November 2003 2:49 pm, Kornel Benko wrote:
> On Samstag, 1. November 2003 12:15, Alain DIDIERJEAN wrote:
> > Herbert Voïa ïrit le Saturday 01 November 2003 10:25 ::
> > > Alain DIDIERJEAN schrieb:
> > > > Thanks, Herbert, but renaming the image to von-neuman.bmp didn't make
> > > > any difference. Here is the part of the file that makes a problem...
> > >
> > > ok, I see. You put the graphic into the caption, named with the
> > > label FIGURE#. Always hit enter and put the image before this
> > > caption line. see attached file (click on the image to insert
> > > this one new to get the right path)
> >
> > Thanks for the fast answer. Did what you said, got one more eror !
> > In short :
> > Insert Graphics --> 4 errors
> > Float Figure, then Insert Graphics (my (wrong) way) --> 5 errors
> > Float Figure, then Insert Graphics (your (right) way) --> 6 errors
> > I'm getting crazy and frustrated as I want my students to have some
> > pretty figures in the support text they get...
>
> Try this one ... It works perfectly here

I was following the discussion because I have the same problem.
Alas, your Kornel didn't show any errors, but it didn't show the graph n the 
generated dvi or pdf !!!

Any solution ??

Regards
Mohamed Eldesoky

- -- 
http://english.aljazeera.net/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE/pLWI2FHsOWMJBKMRAjEKAJ9e9i5csg5G4FrX0g9svltoTQKg9ACgxAp/
ZNij6ONXLe5ZilsnnyYTYv8=
=KeG8
-END PGP SIGNATURE-



Re: Problems with graphics

2003-11-02 Thread Herbert Voß
Mohamed Eldesoky schrieb:

I was following the discussion because I have the same problem.
Alas, your Kornel didn't show any errors, but it didn't show the graph n the 
generated dvi or pdf !!!
Alains problem was, that he insert the image into the
caption, which causes an error. It is a bit difficult
to insert a float in the right way. With Insert->Float
LyX is by default in the "caption mode", where you
should not insert the image or tabular. Insert the
caption, hit enter and then the  image/table.
If you want the image/tabular before the caption, then
put the cursor in front of the caption and  then enter.
Herbert




Re: Problems with graphics

2003-11-02 Thread Kornel Benko
-BEGIN PGP SIGNED MESSAGE-

On Sonntag, 2. November 2003 08:50, Herbert Voà wrote:
> Mohamed Eldesoky schrieb:
> 
> > I was following the discussion because I have the same problem.
> > Alas, your Kornel didn't show any errors, but it didn't show the graph n the 
> > generated dvi or pdf !!!

It would have, if used with the previously posted figure.
I saw no reason to post it again. Sorry.

> Alains problem was, that he insert the image into the
> caption, which causes an error. It is a bit difficult
> to insert a float in the right way. With Insert->Float
> LyX is by default in the "caption mode", where you
> should not insert the image or tabular. Insert the
> caption, hit enter and then the  image/table.
> If you want the image/tabular before the caption, then
> put the cursor in front of the caption and  then enter.


Yes, but for some reason this error was uncorrectable in his lyx-file.
Creating it from scratch (with help of copy & paste) resulted in no problems.

> Herbert
> 
Kornel
- -- 
Kornel Benko
[EMAIL PROTECTED]
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)

iQCVAwUBP6S7urewfbDGmeqhAQEJIgQA02gHT3C5AN4v13ExFp+KkN99wFINpoSv
w9QzkJ4cviH4MF2W+pMXGtUhSm8JoBfitvOQCGO2QY4srwftr7/geDjd0tUjptoV
6KTlwi60j2FGaBZFI26PbFY9XYeTZrM3LVPRGk6SBcrwLKD8zbaqPKfNRxv9EqUU
4Xkq5a0QZ2k=
=+Zua
-END PGP SIGNATURE-



Re: Problems with graphics

2003-11-02 Thread Mohamed Eldesoky
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sunday 02 November 2003 10:09 am, Kornel Benko wrote:
> On Sonntag, 2. November 2003 08:50, Herbert Voà wrote:
> > Mohamed Eldesoky schrieb:
> > > I was following the discussion because I have the same problem.
> > > Alas, your Kornel didn't show any errors, but it didn't show the graph
> > > n the generated dvi or pdf !!!
>
> It would have, if used with the previously posted figure.
> I saw no reason to post it again. Sorry.
>

aha
Sorry, it is working now.
The problem the I have encountered is that with docbook_article the graphs 
made errors.
May be that template doesn't have graphs.
After all, I am a newbie here.

Sorry for the annoyance.

Regards
Mohamed Eldesoky


- -- 
http://english.aljazeera.net/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE/pL582FHsOWMJBKMRAtXLAKDthItVsTBapTZ8GRIEuE1886vefACg7Oqw
Za4+Jfe/hksVBhq8ziF4F7Q=
=D8gv
-END PGP SIGNATURE-



Re: Problems with graphics

2003-11-02 Thread Herbert Voß
Kornel Benko schrieb:

Yes, but for some reason this error was uncorrectable in his lyx-file.
You can cut the image from the caption line
and paste it into a new line with standard layout.
The only problem is, that LyX doesn't realize, that
there was a graphic inserted, so it doesn't write
into the preamble \usepackage{graphicx}.
Herbert




Re: Problems with graphics

2003-11-02 Thread Kornel Benko
-BEGIN PGP SIGNED MESSAGE-

On Sonntag, 2. November 2003 09:45, Herbert Voà wrote:
> Kornel Benko schrieb:
> 
> > Yes, but for some reason this error was uncorrectable in his lyx-file.
> 
> You can cut the image from the caption line
> and paste it into a new line with standard layout.

That was exactly, how I tried it first.

> The only problem is, that LyX doesn't realize, that
> there was a graphic inserted, so it doesn't write
> into the preamble \usepackage{graphicx}.

Stupid me.

> Herbert
> 
Kornel

- -- 
Kornel Benko
[EMAIL PROTECTED]
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)

iQCVAwUBP6TGF7ewfbDGmeqhAQE8HAP/T6t1j3+XBEC8/3mMrEnAStjCG39Pybxy
aU5rUJIi1kkWFX9p7zrgRRmUEBOQ7zVeGOUpF9Gs4X7yJyg7Rru085VcSXHh6ZDN
/7xqiCa/Y/gTgh9EpOxL1LfbjQjWzoWan3HLhoT08F3cVqPA4w2zBkPzuAaBKiTW
p8L5ajI3GZw=
=LmHi
-END PGP SIGNATURE-



Re: koma-script and no section-numbering within lyx

2003-11-02 Thread Stephan Maseizik
Georg Baum <[EMAIL PROTECTED]> schrieb:

> I had the same problem some time ago. I believe that it was a problem with 
> lyx. 1.3.4cvs works here, so upgrading may help.

Thank you for the answer! I'll just wait for Lyx 1.3.3 entering Debian
unstable then.

Stephan
-- 
Stephan Maseizik<[EMAIL PROTECTED]>(gpg-key on request)



hyperlink extends beyond margin

2003-11-02 Thread Nirmal Govind
Hi.. I'm using hyperref to generate links in my pdf document.. however, 
some of these links extend beyond the margin.. any option that I can set 
to avoid this?

Thanks,
nirmal



Layout->Document->Document class->memoir?

2003-11-02 Thread Marc Jeffrey Driftmeyer
From LaTeXConfig.lyx

4.25 llncs
Found: no
CTAN: N/A
Notes: The document class llncs can be used to write articles for 
submission to the Springer journal  Lecture Notes in Computer Science . 
LATEX documents are available from Springer s ftp site on the following 
URL: ftp://trick.ntp.springer.de/pub/tex/latex/llncs/latex2e. The LYX 
layout file for this document class is still insufficiently tested.

4.26 memoir
Found: no
CTAN: macros/latex/contrib/supported/memoir/
Notes: Memoir is a flexible class for typesetting general fiction, 
non-fiction and mathematical works as books, reports, articles or 
manuscripts. Documents can use 9, 10, 11, 12, 14 or 17pt as the normal 
font size. Many methods are provided to let you create your own 
particular design.

This is just a snippet of the file generated after configuring and 
compiling source.

My question is simple: Is this to be expected that under 
lyx1.3.3/lib/layout/ several of the .layout files will not be found 
during configure?

-Sincerely,

Marc J. Driftmeyer

P.S.  I chose memoir because I want to use it and upon not finding it 
and reading the LaTeXConfig.lyx I saw several missing.



Re: Why is the default 'Computer Modern' font in LyX bitmapped?

2003-11-02 Thread Juergen Spitzmueller
Nirmal Govind wrote:
> Juergen, did you mean better quality in printed output or on-screen
> using Acro reader??

The glyphs are better. ae is, as far as I understand it, a kind of a 
"patchwork". It uses some type1 glyphs (from different sources) but also 
bitmap fonts, if type1 glyphs are not available. cm-super and latin modern 
have been designed as "consistent" font family, the glyphs really match 
together, thus the better (typographic) quality. Latin modern has 
(apparently) even been approved by Don Knuth and Hermann Zapf.

> I installed both latin modern and cm-super. Here's what I see:
>
> 1. Using latin modern font (i.e., w/ usepackage lmodern, fontenc with
> option T1 and textcomp) and the font option in Lyx set to default with
> size 11, I get on-screen output (viewed in Acro reader) where the
> regular 11pt text is really light whereas the italic/emphasized text is
> pretty dark, the math is dark and the table lines etc are dark.. any
> idea why the default 11pt font is light?

No idea. For me, they look o.k. (but the decision between lmodern and cm-super 
is also a matter of taste). I like lmodern, because the package is much 
smaller and it is easy to install. But as I said, it is still in beta state 
and thus, there are still some minor glitches. cm-super is huge, but has more 
glyphs for non-latin languages.
Also I think that a pdf can be searched in acroread only with lmodern.

Jürgen.



Re: Layout->Document->Document class->memoir?

2003-11-02 Thread Juergen Spitzmueller
Marc Jeffrey Driftmeyer wrote:
> My question is simple: Is this to be expected that under
> lyx1.3.3/lib/layout/ several of the .layout files will not be found
> during configure?

 Do you have the memoir package installed in the appropriate place? Did you 
run texhash after installing it?

Jürgen.



Re: Problems with graphics: SOLVED

2003-11-02 Thread Alain DIDIERJEAN
Herbert Voà a Ãcrit le Sunday 02 November 2003 09:45 ::
> Kornel Benko schrieb:
> > Yes, but for some reason this error was uncorrectable in his lyx-file.
>
> You can cut the image from the caption line
> and paste it into a new line with standard layout.
> The only problem is, that LyX doesn't realize, that
> there was a graphic inserted, so it doesn't write
> into the preamble \usepackage{graphicx}.
>

Problem solved, Herbert's way. Thanks to all of you for being helpful. I'll be 
back, for sure... As for considfering installing 1.3.3, I'll do it as soon as 
I'll have switch from Debian Woody to Mandrake 9.2 (I use my computer more 
and more as a workstation, producing text (as support to the courses I give), 
short source code (exercises or examples for my students) in C, Python, 
Ocaml.. and compiling it, getting docs and papers on the internet and I feel 
less and less fond of administration, having prcticed for 15 years.. ). Also, 
I quite often need the very last version of the software I use (cf LyX), 
which can be a problem with Debian.
In short I like Debian a lot but think it's no more adapted to my needs...

-- 
 
 Alain DIDIERJEAN

Ces mystÃres nous dÃpassent...
...feignons d'en Ãtre l'organisateur
  J C


Graphs in LyX

2003-11-02 Thread Todd O'Bryan
Hi all,

After looking at LyX a while ago, I've come back and am impressed with 
the progress. LyX on Mac OS X is just gorgeous.

Anyway, I teach high school math, and would love to use LyX to typeset 
tests and such. I realize there will be some problems (I need to leave 
lots of blank spaces for students to work out the answers, for 
example), but I'm guessing a judicious use of vertical space will fix 
those. The one thing I'm not sure how to deal with is graphs. Often I 
need to print the graph of a function and have students identify which 
function it represents or provide a blank graph on which students graph 
a function I provide.

In LaTeX I've been using mfpic because it seems an easy way to create 
PDF compatible files and had commands like \function{-8}{8}{.1}{x**2} 
which would draw x^2 on a coordinate plane from x=-8 to x=8 graphing a 
new point every .1.

So, I have two questions:

1) Should I be using something else? Remember I'll mostly be drawing 
simple coordinate axes with graphs of functions on them.

2) If mfpic is the way to go, can I automate the pdflatex; mpost; 
pdflatex cycle in LyX so that when I click View all my graphs get 
inserted correctly?

TIA,
Todd


Re: Margins in double sided documents

2003-11-02 Thread Asier
El 01/11/2003, Asier escribió:

> Thats 4 cm for the upper margin, 3 cm for the lower, 2,5 for the outer margin
> and 3,5 for the inner one. None of the premade margin layout are like this, but
> if I enter this data in the Layout->Document->Margins->"Others" fields I
> don't get the correct margins. The sheets don't look symmetric, they look
> "mirrored" and the physical space isn't the one I've set.

It was a problem of my printer. Looks like the driver don't play well with
physical coordinates. I've switched to another printer and everything works
well now.
--
Asier


Re: Graphs in LyX

2003-11-02 Thread Les Denham
Todd,

Have you tried using Grace?  Lyx accepts Grace files as figures, and it's 
pretty good at producing any kind of graph.

Les

On Sunday 02 November 2003 08:51, Todd O'Bryan wrote:
> The one thing I'm not sure how to deal with is graphs. Often I 
> need to print the graph of a function and have students identify which 
> function it represents or provide a blank graph on which students graph 
> a function I provide.



Re: Graphs in LyX

2003-11-02 Thread Herbert Voß
Todd O'Bryan schrieb:

In LaTeX I've been using mfpic because it seems an easy way to create 
PDF compatible files and had commands like \function{-8}{8}{.1}{x**2} 
which would draw x^2 on a coordinate plane from x=-8 to x=8 graphing a 
new point every .1.
this is very easy to handle with pst-plot

http://www.pstricks.de/pst-plot/examples.phtml

Herbert




Re: Problem installing -1.3.3/Qt

2003-11-02 Thread Angus Leeming
Rich Shepard wrote:

>   I tried building lyx-1.3.3/qt on my new laptop running
>   Slackware-9.1.
> Configure worked just fine, once I figured out to use './configure
> --with-frontend=qt --with-qt-dir=/usr/local/qt-3.2.2' and it
> compiled with no errors.
> 
>   However, both 'checkinstall' and 'make install' failed with
> 'install-xfonts: Error 1' and a couple of more errors after that.
> This was when trying 'test -f /xfonts/PSres.upr && /usr/bin/ginstall
> -c -m 644 xfonts/PSres.upr /usr/local/share/lyx/xfonts/PSres.upr'.

This is a known bug. Jean-Marc is planning a 1.3.4 release sometime 
soon I believe, mainly to address this bug.

-- 
Angus



Re: Problem installing -1.3.3/Qt

2003-11-02 Thread Rich Shepard
On Sun, 2 Nov 2003, Angus Leeming wrote:

> This is a known bug. Jean-Marc is planning a 1.3.4 release sometime soon I
> believe, mainly to address this bug.

Angus,

  What am I to do in the meantime? Is this an issue of qt with lyx? Of the
specific versions of either or both? On my older workstation I installed the
Red Hat rpm of 1.3.3 using qt so I'm asking if there's a way to do the same
thing on Slackware.

Thanks,

Rich

Dr. Richard B. Shepard, President

   Applied Ecosystem Services, Inc. (TM)
2404 SW 22nd Street | Troutdale, OR 97060-1247 | U.S.A.
 + 1 503-667-4517 (voice) | + 1 503-667-8863 (fax) | rshepard@appl-ecosys.com
 http://www.appl-ecosys.com/


Re: Problem installing -1.3.3/Qt

2003-11-02 Thread Angus Leeming
Rich Shepard wrote:

> On Sun, 2 Nov 2003, Angus Leeming wrote:
> 
>> This is a known bug. Jean-Marc is planning a 1.3.4 release sometime
>> soon I believe, mainly to address this bug.
> 
> Angus,
> 
>   What am I to do in the meantime? Is this an issue of qt with lyx?
>   Of the
> specific versions of either or both? On my older workstation I
> installed the Red Hat rpm of 1.3.3 using qt so I'm asking if there's
> a way to do the same thing on Slackware.

No, it's an issue of some brain-dead code in the configure script,  
lib/configure (or $PREFIX/share/lyx/configure if you did manage to 
'make install')

Put the attached patch in the lib directory and, from this directory, 
run
$ patch -p0 < configure.diff

Thereafter, cross your fingers and hope that 'make install' works ;-)

-- 
Angus--- configure_safe	2003-11-02 20:21:02.0 +
+++ configure	2003-11-02 20:23:35.0 +
@@ -1513,13 +1513,13 @@
   echo "$ac_t""$result"
 done
 
-if test ! $num = 0 ; then
+test $num -ne 0 && which makepsres > /dev/null 2>&1 && {
   echo $num >xfonts/fonts.scale
   cat xfonts/tmpfonts >>xfonts/fonts.scale
   cp xfonts/fonts.scale xfonts/fonts.dir
   # create a resource list file for Display Postscript
   (cd xfonts ; rm -f PSres.upr ; makepsres -q) || true
-fi
+}
 rm -f xfonts/tmpfonts
 
 


Re: Problem installing -1.3.3/Qt

2003-11-02 Thread Rich Shepard
On Sun, 2 Nov 2003, Angus Leeming wrote:

> No, it's an issue of some brain-dead code in the configure script,
> lib/configure (or $PREFIX/share/lyx/configure if you did manage to 'make
> install')

Angus,

  Oh.

> Put the attached patch in the lib directory and, from this directory,
> run
> $ patch -p0 < configure.diff

  I put the patch in /usr/local/lyx-1.3.3./lib/.

> Thereafter, cross your fingers and hope that 'make install' works ;-)

  Crossed fingers, toes and eyes; 'make install' still fails at the same
point. I also tried re-making the executables, but that didn't help either.

  Next?

Many thanks!

Rich

Dr. Richard B. Shepard, President

   Applied Ecosystem Services, Inc. (TM)
2404 SW 22nd Street | Troutdale, OR 97060-1247 | U.S.A.
 + 1 503-667-4517 (voice) | + 1 503-667-8863 (fax) | rshepard@appl-ecosys.com
 http://www.appl-ecosys.com/


Re: Problem installing -1.3.3/Qt

2003-11-02 Thread Angus Leeming
Rich Shepard wrote:

>   Crossed fingers, toes and eyes; 'make install' still fails at the
>   same point. I also tried re-making the executables, 
>   but that didn't help either.

Why would it? You already know that 'make' works fine.

>   Next?

Comment out the line in lib/Makefile. Here's the block of code. Get 
rid of the last line.

install-xfonts:
test -f xfonts/fonts.dir || exit 0 ; \
$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/xfonts ; \
files=`sed -e 's/^[0-9]*$$//' -e 's/^\([^ ]*\) .*$
$/\1/' xfonts/fonts.dir` ; \
for i in $${files} ; do \
  ln -f -s `kpsewhich $$i` $(DESTDIR)$(pkgdatadir)/xfonts/$$i ; \
done ; \
$(INSTALL_DATA) xfonts/fon
ts.dir $(DESTDIR)$(pkgdatadir)/xfonts/fonts.dir ; \
$(INSTALL_DATA) xfonts/fonts
.scale $(DESTDIR)$(pkgdatadir)/xfonts/fonts.scale
test -f xfonts/PSres.upr && $(INSTALL_DATA) xfonts/PSr
es.upr $(DESTDIR)$(pkgdatadir)/xfonts/PSres.upr

It would be useful, however, if you could discover WHY it is failing.

1. Does the directory 'xfonts' exist?
2. Does the file xforms/PSres.upr exist?
3. I think that $(INSTALL_DATA) is '/usr/bin/ginstall -c -m 644'.
What happens if you run the command 'by hand'?

$ /usr/bin/ginstall -c -m 644 xfonts/PSres.upr 
/usr/local/share/lyx/xfonts/PSres.upr && echo success || echo failure



-- 
Angus



Re: Problem installing -1.3.3/Qt

2003-11-02 Thread Rich Shepard
On Sun, 2 Nov 2003, Angus Leeming wrote:

> Why would it? You already know that 'make' works fine.

  No reason other than confirming that there was no problem I hadn't noticed
yesterday.

> 1. Does the directory 'xfonts' exist?

  There we have it: no. I went looking after sending the previous message.
However, it does exist on the workstation where I've been happily running
lyx-1.3.3/qt.

  So, ... do I wait for a fix, make softlinks from the tetex/xfonts
directory, or follow your instructions earlier in this message and comment
out the lines in the ../lib/configure? Will lyx run properly if I do the
latter?

Many thanks, Angus,

Rich

Dr. Richard B. Shepard, President

   Applied Ecosystem Services, Inc. (TM)
2404 SW 22nd Street | Troutdale, OR 97060-1247 | U.S.A.
 + 1 503-667-4517 (voice) | + 1 503-667-8863 (fax) | rshepard@appl-ecosys.com
 http://www.appl-ecosys.com/