Re: Another beamer question

2005-05-13 Thread Fernando Gisbert Cervera
Rich Shepard wrote:
  I specify a logo to use on the title slide:
\pgfdeclareimage[height=0.5cm]{institution-logo}{new-logo-color.eps}
\logo{\pgfuseimage{institution-logo}}
yet it does not display when I View-PDF. Instead, I see Title 
Graphics at
the bottom of that frame.

  What have I missed on this?
I think that you must specify the image file name without the eps 
extension, that is
\pgfdeclareimage[height=0.5cm]{institution-logo}{new-logo-color}

Thanks,
Rich



Re: \nocite{*} changes bibliography style (when using natbib)

2005-05-13 Thread Juergen Spitzmueller
Janus Sandsgaard wrote:
 Ah. Thanks a lot. I was not aware of that. I guess I need to study a little
 on the basics of BiB and LaTeX to understand what I am doing. Can you
 recommend a (short) resource explaining me someting like:

 - The difference between BiBteX, NatBib, JureBib etc.

Bibtex is a compiler programm that does the job of writing a bibliography 
environment for you, reading citation entries from a database (*.bib) and 
some layout information from a style file (*.bst).

Bibtex has been designed merely for natural scientist's citation uses (i.e. 
numerical), but its author, Oren Patashnik, already provided a rudimental 
extension package for author-year citations (that is apacite.sty)

Patrick W. Daly felt that this was not powerful enough and developped another 
extension package: natbib. It comes with its own style files, but in the 
meantime, several people have designed alternative style files for natbib. 
Also, Daly has developped custom-bib, an interaktive command line tool 
which lets you create a bst file interactively (by answering some questions).

Jens Berger finally came to the conclusion that all the existing packages 
(including natbib) do not match the requirements of law studies. So he 
developped the jurabib package, another extension. During the years, it has 
become very popular and extremely flexible. The difference in concept is that 
you don't have lots of different static bst files, but only a few bst files 
which can be very much tweaked via package options and commands.

So basically, all those extensions need their own bst files, even if some of 
them might be inter-chargeable. 

 - The function of .sty and .bst - and how they can be used.

The natbib documentation:
http://www.linmpi.mpg.de/english/services/software/latex/localtex/doc/natbib.pdf

The jurabib documentation:
http://www.ctan.org/tex-archive/macros/latex/contrib/jurabib/docs/english/jbendoc.dvi

And this comprehensive documentation about BibTeX:
http://www.ctan.org/tex-archive/info/bibtex/tamethebeast/ttb_en.pdf

 Remember: I am a social scientist :-) The literature I have seen so far is
 often quite technical and all I need is to know the rules of the game and a
 little background.

I am a human scientist. So we share the same problem.

  Try one of natbib's one style files or create one with custom-bib.

 How can I tell if a style works with NatBib? 

Normally, you can see it in the file:
 % For use with the `natbib.sty' package; emulates the corresponding
 %   member of the `plain' family, but with author-year citations.

or 

% This is an author-year citation style bibliography. As such, it is
% non-standard LaTeX, and requires a special package file to function 
% properly.
% Such a package isnatbib.sty   by Patrick W. Daly

 Can you recommend a place to 
 look for styles that work with NatBiB?

I highly recommend to try custom-bib.

Jürgen


ec fonts

2005-05-13 Thread alain . didierjean

I use lyx-1.3.5 on Gentoo linux to write support to courses :
- in french
- some maths
- lots of algorithms
- lots of code (mostly C)
I'm very happy with lyx, but I've been advised to install ec fonts to get even
better results. Two questions :
- is installing ec fonts worth the bother ?
- where to find some detailed howto that could help a somewhat newbie regarding
Latex admin ?
Help and answers welcome.

--
~adj~


Re: Another beamer question

2005-05-13 Thread Sven Schreiber
Angus Leeming wrote:

 LyX doesn't know anything about anything you put in ERT. So yes, if you
 have the file as 'relative to the main document', lyx will be unable to
 find it when it processes a copy of the main document
 in /tmp/lyxfoobar.
 

This is very useful information and not obvious to users, imho. Maybe a
warning to be careful with paths should be added to the ERT part (2.4)
of the Extended Features help doc distributed with lyx? (Given that
quite a bit of advice to lyx users amounts to going the ERT route...)

-sven


Re: Another beamer question

2005-05-13 Thread chr
On Fri, 13 May 2005, Sven Schreiber wrote:

 Angus Leeming wrote:
 
  LyX doesn't know anything about anything you put in ERT. So yes, if you
  have the file as 'relative to the main document', lyx will be unable to
  find it when it processes a copy of the main document
  in /tmp/lyxfoobar.
  
 
 This is very useful information and not obvious to users, imho. Maybe a
 warning to be careful with paths should be added to the ERT part (2.4)
 of the Extended Features help doc distributed with lyx? (Given that
 quite a bit of advice to lyx users amounts to going the ERT route...)

As a temporary measure, maybe you could add this information to the wiki,
e.g. on this page

http://wiki.lyx.org/FAQ/ERT

or possibly create a page with this name

http://wiki.lyx.org/Tips/ERT

If you decide on the latter, please also add the following line to the 
page http://wiki.lyx.org/Tips/PageList

T* Tips/{{ERT}}

so that the new page shows up in the list of pages.

/Christian

-- 
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr




Re: \nocite{*} changes bibliography style (when using natbib)

2005-05-13 Thread chr
On Fri, 13 May 2005, Juergen Spitzmueller wrote:

 Janus Sandsgaard wrote:
  Ah. Thanks a lot. I was not aware of that. I guess I need to study a little
  on the basics of BiB and LaTeX to understand what I am doing. Can you
  recommend a (short) resource explaining me someting like:
 
  - The difference between BiBteX, NatBib, JureBib etc.
 
 Bibtex is a compiler programm that does the job of writing a bibliography 
 environment for you, reading citation entries from a database (*.bib) and 
 some layout information from a style file (*.bst).

I copied parts of your post to this page

http://wiki.lyx.org/BibTeX/Background

/Christian

Btw, I assumed that you use a 'ü'  in Spitzmüller...

-- 
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr




Re: \nocite{*} changes bibliography style (when using natbib)

2005-05-13 Thread Juergen Spitzmueller
[EMAIL PROTECTED] wrote:
 I copied parts of your post to this page

 http://wiki.lyx.org/BibTeX/Background

I hope it is all historically correct.

 /Christian

 Btw, I assumed that you use a 'ü'  in Spitzmüller...

certainly.

Jürgen.


Re: question: no font-slant function?

2005-05-13 Thread G. Milde
On 11.05.05, Jose' Matos wrote:
 On Wednesday 11 May 2005 11:12, G. Milde wrote:

  José, what do you think about a generic LyX python package including
  ly2lyx (and friends), lyxclient (and friends) and maybe more (e.g.
  lyxchat)?
   I couldn't be happier... ;-)
Fine
 
  (This would need some more thoughts about the right place of 
  the files and incorporating with the python path.)
 
   That was also my thought. :-)
   One idea would be to transform LyX into a package instead of it being a 
 module.

Actually, I already converted my pyclient script into a LyX package (with
LyX/pyserver.py, LyX/pyclient.py, LyX/lfuns.py, ...). (As I need to finish
testing, it is still unpublished.)

I currently have it in my PYTHONPATH, and the wrapper-scripts (like
lyx-remote) in ~/.lyx/scripts/. 

This way I can 

  * call import the modules from the wrapper script with e.g.
from LyX import lyxserver
  
  * browse the documentation with pydoc

However, I can imagine problems with not knowing the PYTHONPATH or the
desire of LyX developers to keep lyx-related files under LYXDIR
(/usr/share/lyx on my Debian). 

So, instead of a package directory LyX directly in the PYTHONPATH, I
suggest $LYXDIR/pyLyX. 

  The package name would then be called pyLyX (PYthon package for LYX),
  this is still short enough and more informative. (someone seeing
  usr/share/lyx/LyX would not be able to tell that this is a Python
  package.) 
  
A symlink or a path configuration (*.pth) file would than add
LYXDIR/pyLyX to the PYTHONPATH. (Additionaly Python wrapper scripts in
LYXDIR/scripts could modify sys.path to include LYXDIR/pyLyX in any
case.)

If you then move LYXDIR/lyx2lyx/ to LYXDIR/pyLyX/lyx2lyx, it becomes
a part of the pyLyX package. Now moving LYXDIR/lyx2lyx/lyx2lyx to
LYXDIR/scripts/lyx2lyx would make the lyx2lyx wrapper easily available
again. Of course this moves would need changes in the import statements...

Günter


-- 
G.Milde web.de


Re: Another beamer question

2005-05-13 Thread Rich Shepard
On Fri, 13 May 2005, Fernando Gisbert Cervera wrote:
I think that you must specify the image file name without the eps
extension, that is
\pgfdeclareimage[height=0.5cm]{institution-logo}{new-logo-color}
Fernando,
   I read that in the docs and changed the string to exclude the suffix. It
still does not work. It may be a path issue. On the other hand, not having
the company logo on the title slide is no big deal and not worth a large time
investment. But, I'd sure like to understand why it's not working (path?) and
how to consistently get images in.
   Perhaps I'll try 'insert' rather than pgf.
Thanks,
Rich
--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
http://www.appl-ecosys.com   Voice: 503-667-4517   Fax: 503-667-8863


Re: A LaTeX Query

2005-05-13 Thread Rich Shepard
On Thu, 12 May 2005, Matej Cepl wrote:
If you need real TeXpert, then reread all available documentation, google
for answers, and when you are sure, that you won't get RTFM, go ask @
comp.text.tex -- the real TeXperts tend to hand there. Even higher entry
level (and even higher level TeXperts) are on texhax
(http://tug.org/mailman/listinfo/texhax), but it has really low volume, and
low level of response.
For clueless muddlers, you don't have to do anything and ask here :-).
Matej,
  Thanks. It's more LaTeX than TeX, per se.
  After getting out a proposal today I'll do some work on the layout and see
where I am. Then I'll ask here -- nicely, of course.
  One of the features I researched is 'multido'; as the name implies -- when
read correctly -- it allows looping (multiple do) within the document. This
is crucial to the original form (used for course evaluations in Australia)
and for my purposes (creating a form for pairwise comparisons with a variable
number of entities). There is a lot more like this.
Rich
--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
http://www.appl-ecosys.com   Voice: 503-667-4517   Fax: 503-667-8863


Re: Another beamer question

2005-05-13 Thread Angus Leeming
Rich Shepard wrote:
 I read that in the docs and changed the string to exclude the suffix.
 It still does not work. It may be a path issue. On the other hand, not
 having the company logo on the title slide is no big deal and not worth a
 large time investment. But, I'd sure like to understand why it's not
 working (path?) and how to consistently get images in.
 
 Perhaps I'll try 'insert' rather than pgf.

Did you look at the latex log file?

-- 
Angus



Re: \nocite{*} changes bibliography style (when using natbib)

2005-05-13 Thread chr
On Fri, 13 May 2005, Juergen Spitzmueller wrote:

 [EMAIL PROTECTED] wrote:
  I copied parts of your post to this page
 
  http://wiki.lyx.org/BibTeX/Background
 
 I hope it is all historically correct.

Well, I just quoted you ;-)

/C

-- 
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr




Re: \nocite{*} changes bibliography style (when using natbib)

2005-05-13 Thread Janus Sandsgaard
On Friday 13 May 2005 14:02, [EMAIL PROTECTED] wrote:

 I copied parts of your post to this page

Great. The answer from Jürgen is excellent.

Janus

-- 
Roskilde University, Denmark.
Department of Technology and Social Science.
International Development Studies.
ESST - Society, Science and Technology in Europe.


TeX classes missing after upgrade to Mandriva LE 2005

2005-05-13 Thread Andrew Morrison

I recently upgraded my laptop to Mandriva LE 2005 and now I get an error
when I use lyx saying that the TeX class is missing and no output can be
used.  So I ran texhash:

[EMAIL PROTECTED] download]# texhash
texhash: Updating /usr/local/share/texmf/ls-R...
texhash: Updating /usr/share/lilypond/2.0.1/ls-R...
texhash: Updating /usr/share/texmf/ls-R...
texhash: Updating /usr/share/texmf-var/ls-R...
texhash: Updating /var/lib/texmf/ls-R...
texhash: Done.

But, I'm still getting the same error.  What am I supposed to do?  The
class files still exist on the harddrive, I've already checked.

Thanks!

-- 
Andrew Morrison [EMAIL PROTECTED]



Re: TeX classes missing after upgrade to Mandriva LE 2005

2005-05-13 Thread Paul Smith
On 5/13/05, Andrew Morrison [EMAIL PROTECTED] wrote:
 
 I recently upgraded my laptop to Mandriva LE 2005 and now I get an error
 when I use lyx saying that the TeX class is missing and no output can be
 used.  So I ran texhash:
 
 [EMAIL PROTECTED] download]# texhash
 texhash: Updating /usr/local/share/texmf/ls-R...
 texhash: Updating /usr/share/lilypond/2.0.1/ls-R...
 texhash: Updating /usr/share/texmf/ls-R...
 texhash: Updating /usr/share/texmf-var/ls-R...
 texhash: Updating /var/lib/texmf/ls-R...
 texhash: Done.
 
 But, I'm still getting the same error.  What am I supposed to do?  The
 class files still exist on the harddrive, I've already checked.

Andrew: try

urpmi tetex

Paul


\dot problems

2005-05-13 Thread Angus Leeming
\newcommand{\Matrix}[1]{\boldsymbol{#1}}
$\Dot{\Matrix{A}}$
$\dot{\Matrix{A}}$

The dot is offset to the left of the apex of the A because the A is 
italicized.

I guess that the problem lies with the \boldsymbol, because everything 
looks OK if the A has normal weighting.

Any clues?

-- 
Angus



Re: TeX classes missing after upgrade to Mandriva LE 2005

2005-05-13 Thread Angus Leeming
Paul Smith wrote:

 On 5/13/05, Andrew Morrison
 [EMAIL PROTECTED] wrote:
 
 I recently upgraded my laptop to Mandriva LE 2005 and now I get an error
 when I use lyx saying that the TeX class is missing and no output can be
 used.  So I ran texhash:
 
 [EMAIL PROTECTED] download]# texhash
 texhash: Updating /usr/local/share/texmf/ls-R...
 texhash: Updating /usr/share/lilypond/2.0.1/ls-R...
 texhash: Updating /usr/share/texmf/ls-R...
 texhash: Updating /usr/share/texmf-var/ls-R...
 texhash: Updating /var/lib/texmf/ls-R...
 texhash: Done.
 
 But, I'm still getting the same error.  What am I supposed to do?  The
 class files still exist on the harddrive, I've already checked.
 
 Andrew: try
 
 urpmi tetex

I suspect that all that is missing is Edit-Reconfigure from within LyX...

-- 
Angus



Re: \dot problems

2005-05-13 Thread Herbert Voss
Angus Leeming wrote:
\newcommand{\Matrix}[1]{\boldsymbol{#1}}
$\Dot{\Matrix{A}}$
$\dot{\Matrix{A}}$
The dot is offset to the left of the apex of the A because the A is 
italicized.

I guess that the problem lies with the \boldsymbol, because everything 
looks OK if the A has normal weighting.
no, only a problem of the italic mode ...
$\skew{7}{\Dot}{\Matrix{A}}$
Herbert


Re: TeX classes missing after upgrade to Mandriva LE 2005

2005-05-13 Thread Andrew Morrison
On Fri, 2005-05-13 at 16:46 +0100, Angus Leeming wrote:

 
 I suspect that all that is missing is Edit-Reconfigure from within LyX...
 

Thanks, that does it!

-- 
Andrew Morrison [EMAIL PROTECTED]



Re: \dot problems

2005-05-13 Thread Angus Leeming
Herbert Voss wrote:

 Angus Leeming wrote:
 \newcommand{\Matrix}[1]{\boldsymbol{#1}}
 $\Dot{\Matrix{A}}$
 $\dot{\Matrix{A}}$
 
 The dot is offset to the left of the apex of the A because the A is
 italicized.
 
 I guess that the problem lies with the \boldsymbol, because everything
 looks OK if the A has normal weighting.
 
 no, only a problem of the italic mode ...
 $\skew{7}{\Dot}{\Matrix{A}}$

Thanks, Herbert. Dunno what we'd do without you; \skew is in neither my 
Lamport not my Goosens et al. books.

-- 
Angus



Syllabus class (LaTeX/LyX)?

2005-05-13 Thread Stefano Franchi
Is anyone here using LaTeX/LyX to produce syllaby for classes? If so, 
do you use a standard class, your own producced class, or just a 
template? I looked on Ctan, but could not find anything, and as I am 
about to start converting quite a bit of material form framemaker to 
LaTex I'd like to be sure I am reinventing the wheel.
I am looking for a package that would provide environmentsand 
facilities useful to format  the standard sections of a syllabus: 
description, requirements, reading list, lecture list, etc.

Any help is appreciated.
Cheers,
Stefano
__
Stefano Franchi
Department of Philosophy  Ph:  (64) 9 373-7599 x83940
University Of Auckland  Fax: (64) 9 373-7408
Private Bag 92019   [EMAIL PROTECTED]
Auckland
New Zealand 


Re: Syllabus class (LaTeX/LyX)?

2005-05-13 Thread Bennett Helm
On May 13, 2005, at 2:03 PM, Stefano Franchi wrote:
Is anyone here using LaTeX/LyX to produce syllaby for classes? If so, 
do you use a standard class, your own producced class, or just a 
template? I looked on Ctan, but could not find anything, and as I am 
about to start converting quite a bit of material form framemaker to 
LaTex I'd like to be sure I am reinventing the wheel.
I am looking for a package that would provide environmentsand 
facilities useful to format  the standard sections of a syllabus: 
description, requirements, reading list, lecture list, etc.
Stefano -
I just use the standard classes/environments. Attached is a 
stripped-down sample, showing various ways I do things.

Bennett


sample-syllabus.lyx
Description: Binary data


Re: Syllabus class (LaTeX/LyX)?

2005-05-13 Thread Stefano Franchi

On May 13, 2005, at 11:25 AM, Bennett Helm wrote:
On May 13, 2005, at 2:03 PM, Stefano Franchi wrote:
Is anyone here using LaTeX/LyX to produce syllaby for classes? If so, 
do you use a standard class, your own producced class, or just a 
template? I looked on Ctan, but could not find anything, and as I am 
about to start converting quite a bit of material form framemaker to 
LaTex I'd like to be sure I am reinventing the wheel.
I am looking for a package that would provide environmentsand 
facilities useful to format  the standard sections of a syllabus: 
description, requirements, reading list, lecture list, etc.
Stefano -
I just use the standard classes/environments. Attached is a 
stripped-down sample, showing various ways I do things.

Bennett

Thanks Bennett. My syllabi are a bit more structured (tables, etc), but 
that is a good starting point. I suppose is not worth spending time on 
a class for such a small production job.

Stefano


sample-syllabus.lyx
__
Stefano Franchi
Department of Philosophy  Ph:  (64) 9 373-7599 x83940
University Of Auckland  Fax: (64) 9 373-7408
Private Bag 92019   [EMAIL PROTECTED]
Auckland
New Zealand 


Metapost problems

2005-05-13 Thread Paul A. Rubin
Hi all,
As the subject indicates, this is not really a LyX problem, but the last 
time I had a LaTeX-related question I had more luck here than on 
comp.text.tex.

I'm creating a Beamer presentation on Win XP (using MiKTeX and, of 
course, LyX), and I'm trying to embed some graphics.  I created them in 
Dia and exported them as Metapost (.mp) files.  I had to manually edit 
the line latex out of each .mp file, presumably because I'm using 
Windoze and not *nix.

Now comes the first problem.  I run mpost (the MiKTeX Metapost 
executable) against pic.mp, and it gives me pic.1, pic.mpx and pic.log. 
 To my untrained eye, pic.1 looks like a valid Postscript file, but if 
I try to open it with Ghostview, I get the error /undefined in phvr8r. 
 Same thing happens if I run ps2ps against pic.1.  Now phvr8r is an 
Adobe Helvetica font, and I have phvr8r.pk in my local texmf tree and 
phvr8r.tfm in my regular texmf tree, so the font is installed.  Does 
anyone know what the error means and what I might do about it?

The second error (which may be related to the first) is that I can't 
seem to get LyX/Beamer to believe that pic.1 is in an appropriate 
graphic format.  I followed the suggestion in the Beamer manual to 
include \DeclareGraphicsRule{*}{mps}{*}{}, so that pic.1 should be 
interpreted as a .mps file, but all that bought me was a message that 
the graphics conversion script didn't know what to do with an MPS file. 
 So I tried \DeclareGraphicsRule{*}{eps}{*}{}, my thinking being that 
MPS is a special dialect (?) of EPS.  That didn't work, either, nor did 
renaming pic.1 to pic.eps.  (Failure of this last could tie back to the 
previous problem.)

So, for the moment, I'm stumped, and would be grateful for any advice.
TIA,
Paul


Re: Syllabus class (LaTeX/LyX)?

2005-05-13 Thread hansel
I just use article class with unnumbered sections. I don't adorn my 
syllabi with eye candy.

Mark Hansel

On Fri, 13 May 2005, Stefano Franchi wrote:

 Is anyone here using LaTeX/LyX to produce syllaby for classes? If so, 
 do you use a standard class, your own producced class, or just a 
 template? I looked on Ctan, but could not find anything, and as I am 
 about to start converting quite a bit of material form framemaker to 
 LaTex I'd like to be sure I am reinventing the wheel.
 I am looking for a package that would provide environmentsand 
 facilities useful to format  the standard sections of a syllabus: 
 description, requirements, reading list, lecture list, etc.
 
 Any help is appreciated.
 
 Cheers,


Create Formula Sheet

2005-05-13 Thread Hannan Sadar
Hi,

I would like to create a formula sheet. The problem is that latex is
not what you see is what you get and the LyX interface isn't that good
for thus kind of things, so i will need to write it in LaTeX.
What i would like to ask is, if someone had created some kind of
formula sheet in (Math, Physics, etc) which he\she is willing to
upload, so i could see how to shape the my formula sheet?

Thanks


Re: ec fonts

2005-05-13 Thread Matej Cepl
[EMAIL PROTECTED] scripsit:
 I'm very happy with lyx, but I've been advised to install ec fonts to get
 even better results. Two questions :
 - is installing ec fonts worth the bother ?

Are you sure, you haven't already installed them? They are usually part of
the very basic installation of TeTeX. What
kpsewhich ecrm.mf
gives you?

 - where to find some detailed howto that could help a somewhat newbie
 regarding Latex admin ?

http://faq.tug.org (or
locally /usr/share/doc/texmf/help/faq/uktug-faq/index.html) is not
detailed HOWTO, but it can certainly put some light on some of your
questions (it seems to me, for example, that you actually do not want to
talk about EC fonts, but rather about CM-Super fonts -- which are EC fonts
in Type1, or maybe lmodern fonts).

For administration of TeX on Unix you want to
read /usr/share/doc/texmf/latex/general/guide.dvi.gz.

And if you want full comprehensive guide, then go to the local library or
buy books referenced in TeX FAQ referenced above (I prefer [Kopka, Daly],
which has the 3rd edition published last year).

Best,

Matej Cepl

-- 
Matej Cepl, http://www.ceplovi.cz/matej
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
He has the attention span of a lightning bolt.
  -- Robert Redford




Re: Metapost problems

2005-05-13 Thread Matej Cepl
Paul A. Rubin scripsit:
 Now comes the first problem.  I run mpost (the MiKTeX Metapost
 executable) against pic.mp, and it gives me pic.1, pic.mpx and pic.log.
   To my untrained eye, pic.1 looks like a valid Postscript file, but if
 I try to open it with Ghostview, I get the error /undefined in phvr8r.
   Same thing happens if I run ps2ps against pic.1.  Now phvr8r is an
 Adobe Helvetica font, and I have phvr8r.pk in my local texmf tree and
 phvr8r.tfm in my regular texmf tree, so the font is installed.  Does
 anyone know what the error means and what I might do about it?

1) Add to the top of the MP file this line (which persuades MetaPost to
create correct Encapsulated PostScript):
prologues := 1;

Then rerun metapost and try the result with gs (not kghostview, because with
gs you can see, which fonts are loaded, or what actually ghostscript tried
to load).

Err, sorry you are on Windows, so gs won't work. OK, use GSView and then
find somewhere (I forgot where) menu item Show messages or something like
that. Check, what's going on.

2) phvr*.{pk,tfm} are TeX auxiliary files making it possible to work with
Type1 (aka Postscript) fonts in TeX. However, you are interested in .pfa
(or .pfb) fonts. You probably don't have real Helvetica (unless you have
installed some big Adobe programs, or at least Adobe Type Manager),
However, GhostScript is distributed with free work-alikes of Helvetica
called Nimbus Sans (look for a file n019003l.pfb). So, if you have correct
PostScript (like when you followed the advice no. 1), you should just open
the file with GhostView and it should just work. If it doesn't, let us
know.

 The second error (which may be related to the first) is that I can't
 seem to get LyX/Beamer to believe that pic.1 is in an appropriate
 graphic format.  I followed the suggestion in the Beamer manual to
 include \DeclareGraphicsRule{*}{mps}{*}{}, so that pic.1 should be

This command is of interest only for pdf{la}tex. If you are using plain
latex, then you should rename .1 file as .eps and it should be read by
dvips. Moreover, you don't have correct EPS (see above).

 interpreted as a .mps file, but all that bought me was a message that
 the graphics conversion script didn't know what to do with an MPS file.

yes, latex has no clue about MPS files, pdflatex does.

   So I tried \DeclareGraphicsRule{*}{eps}{*}{}, my thinking being that
 MPS is a special dialect (?) of EPS.  That didn't work, either, nor did

Well, kind of -- Metapost's EPS is so simple, that somebody was able to
create TeX macros which convert it into internal codes of PDF, which could
be processed natively by pdftex.

Let us know about your progress,

Matej

-- 
Matej Cepl, http://www.ceplovi.cz/matej
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
There's nothing wrong with you that reincarnation won't cure.
  -- Jack F. Leonard




Re: Create Formula Sheet

2005-05-13 Thread William F. Adams
On May 13, 2005, at 3:56 PM, Hannan Sadar wrote:
I would like to create a formula sheet. The problem is that latex is
not what you see is what you get and the LyX interface isn't that good
for thus kind of things, so i will need to write it in LaTeX.
What i would like to ask is, if someone had created some kind of
formula sheet in (Math, Physics, etc) which he\she is willing to
upload, so i could see how to shape the my formula sheet?
I believe there's an example of this sort of thing in the TeX Showcase:
http://www.tug.org/texshowcase
http://www.tug.org/texshowcase/cheat.tar.gz
William
--
William Adams, publishing specialist
voice - 717-731-6707 | Fax - 717-731-6708
www.atlis.com


Mysterious error?

2005-05-13 Thread Stefano Franchi
I wonder if anyone can help me find out what the following error, which 
may be caused by BibTex+Jurabib may mean. When I try to compile the Lyx 
file (View--Pdf) I get a series of errors, the first of which is:

File ended while scanning use of [EMAIL PROTECTED]@bel.
 \begin{document}
I suspect you have forgotten a `}', causing me
to read past where you wanted me to stop.
I'll try to recover; but if the error is serious,
you'd better type `E' or `X' now and fix your file.
The second and third one refer to a reference:
Extra }, or forgotten $.
   {Gill}{Mary~Louise}{M.~L.}{}{}} {}
   \bibAnnoteFile {Frede1994}
I've deleted a group-closing symbol because it seems to be
spurious, as in `$x}$'. But perhaps the } is legitimate and
you forgot something else, as in `\hbox{$x}'. In such cases
the way to recover is to insert both the forgotten and the
deleted material, e.g., by typing `I$}'.
then there are a couple more that seem to be directly related. I have 
checked and rechecked the bib file, but it seems to be ok.
Any help or pointer  is greatly appreciated.

Stefano
__
Stefano Franchi
Department of Philosophy  Ph:  (64) 9 373-7599 x83940
University Of Auckland  Fax: (64) 9 373-7408
Private Bag 92019   [EMAIL PROTECTED]
Auckland
New Zealand 


Re: Syllabus class (LaTeX/LyX)?

2005-05-13 Thread chr
On Fri, 13 May 2005, Bennett Helm wrote:

 On May 13, 2005, at 2:03 PM, Stefano Franchi wrote:
 
  Is anyone here using LaTeX/LyX to produce syllaby for classes? If so, 
  do you use a standard class, your own producced class, or just a 
  template? I looked on Ctan, but could not find anything, and as I am 
  about to start converting quite a bit of material form framemaker to 
  LaTex I'd like to be sure I am reinventing the wheel.
  I am looking for a package that would provide environmentsand 
  facilities useful to format  the standard sections of a syllabus: 
  description, requirements, reading list, lecture list, etc.
 
 Stefano -
 
 I just use the standard classes/environments. Attached is a 
 stripped-down sample, showing various ways I do things.

I hope it's ok with you that I've added your example here
http://wiki.lyx.org/Examples/Syllabus

/Christian

-- 
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr




Re: Another beamer question

2005-05-13 Thread Fernando Gisbert Cervera
Rich Shepard wrote:
  I specify a logo to use on the title slide:
\pgfdeclareimage[height=0.5cm]{institution-logo}{new-logo-color.eps}
\logo{\pgfuseimage{institution-logo}}
yet it does not display when I View-PDF. Instead, I see Title 
Graphics at
the bottom of that frame.

  What have I missed on this?
I think that you must specify the image file name without the eps 
extension, that is
\pgfdeclareimage[height=0.5cm]{institution-logo}{new-logo-color}

Thanks,
Rich



Re: \nocite{*} changes bibliography style (when using natbib)

2005-05-13 Thread Juergen Spitzmueller
Janus Sandsgaard wrote:
 Ah. Thanks a lot. I was not aware of that. I guess I need to study a little
 on the basics of BiB and LaTeX to understand what I am doing. Can you
 recommend a (short) resource explaining me someting like:

 - The difference between BiBteX, NatBib, JureBib etc.

Bibtex is a compiler programm that does the job of writing a bibliography 
environment for you, reading citation entries from a database (*.bib) and 
some layout information from a style file (*.bst).

Bibtex has been designed merely for natural scientist's citation uses (i.e. 
numerical), but its author, Oren Patashnik, already provided a rudimental 
extension package for author-year citations (that is apacite.sty)

Patrick W. Daly felt that this was not powerful enough and developped another 
extension package: natbib. It comes with its own style files, but in the 
meantime, several people have designed alternative style files for natbib. 
Also, Daly has developped custom-bib, an interaktive command line tool 
which lets you create a bst file interactively (by answering some questions).

Jens Berger finally came to the conclusion that all the existing packages 
(including natbib) do not match the requirements of law studies. So he 
developped the jurabib package, another extension. During the years, it has 
become very popular and extremely flexible. The difference in concept is that 
you don't have lots of different static bst files, but only a few bst files 
which can be very much tweaked via package options and commands.

So basically, all those extensions need their own bst files, even if some of 
them might be inter-chargeable. 

 - The function of .sty and .bst - and how they can be used.

The natbib documentation:
http://www.linmpi.mpg.de/english/services/software/latex/localtex/doc/natbib.pdf

The jurabib documentation:
http://www.ctan.org/tex-archive/macros/latex/contrib/jurabib/docs/english/jbendoc.dvi

And this comprehensive documentation about BibTeX:
http://www.ctan.org/tex-archive/info/bibtex/tamethebeast/ttb_en.pdf

 Remember: I am a social scientist :-) The literature I have seen so far is
 often quite technical and all I need is to know the rules of the game and a
 little background.

I am a human scientist. So we share the same problem.

  Try one of natbib's one style files or create one with custom-bib.

 How can I tell if a style works with NatBib? 

Normally, you can see it in the file:
 % For use with the `natbib.sty' package; emulates the corresponding
 %   member of the `plain' family, but with author-year citations.

or 

% This is an author-year citation style bibliography. As such, it is
% non-standard LaTeX, and requires a special package file to function 
% properly.
% Such a package isnatbib.sty   by Patrick W. Daly

 Can you recommend a place to 
 look for styles that work with NatBiB?

I highly recommend to try custom-bib.

Jürgen


ec fonts

2005-05-13 Thread alain . didierjean

I use lyx-1.3.5 on Gentoo linux to write support to courses :
- in french
- some maths
- lots of algorithms
- lots of code (mostly C)
I'm very happy with lyx, but I've been advised to install ec fonts to get even
better results. Two questions :
- is installing ec fonts worth the bother ?
- where to find some detailed howto that could help a somewhat newbie regarding
Latex admin ?
Help and answers welcome.

--
~adj~


Re: Another beamer question

2005-05-13 Thread Sven Schreiber
Angus Leeming wrote:

 LyX doesn't know anything about anything you put in ERT. So yes, if you
 have the file as 'relative to the main document', lyx will be unable to
 find it when it processes a copy of the main document
 in /tmp/lyxfoobar.
 

This is very useful information and not obvious to users, imho. Maybe a
warning to be careful with paths should be added to the ERT part (2.4)
of the Extended Features help doc distributed with lyx? (Given that
quite a bit of advice to lyx users amounts to going the ERT route...)

-sven


Re: Another beamer question

2005-05-13 Thread chr
On Fri, 13 May 2005, Sven Schreiber wrote:

 Angus Leeming wrote:
 
  LyX doesn't know anything about anything you put in ERT. So yes, if you
  have the file as 'relative to the main document', lyx will be unable to
  find it when it processes a copy of the main document
  in /tmp/lyxfoobar.
  
 
 This is very useful information and not obvious to users, imho. Maybe a
 warning to be careful with paths should be added to the ERT part (2.4)
 of the Extended Features help doc distributed with lyx? (Given that
 quite a bit of advice to lyx users amounts to going the ERT route...)

As a temporary measure, maybe you could add this information to the wiki,
e.g. on this page

http://wiki.lyx.org/FAQ/ERT

or possibly create a page with this name

http://wiki.lyx.org/Tips/ERT

If you decide on the latter, please also add the following line to the 
page http://wiki.lyx.org/Tips/PageList

T* Tips/{{ERT}}

so that the new page shows up in the list of pages.

/Christian

-- 
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr




Re: \nocite{*} changes bibliography style (when using natbib)

2005-05-13 Thread chr
On Fri, 13 May 2005, Juergen Spitzmueller wrote:

 Janus Sandsgaard wrote:
  Ah. Thanks a lot. I was not aware of that. I guess I need to study a little
  on the basics of BiB and LaTeX to understand what I am doing. Can you
  recommend a (short) resource explaining me someting like:
 
  - The difference between BiBteX, NatBib, JureBib etc.
 
 Bibtex is a compiler programm that does the job of writing a bibliography 
 environment for you, reading citation entries from a database (*.bib) and 
 some layout information from a style file (*.bst).

I copied parts of your post to this page

http://wiki.lyx.org/BibTeX/Background

/Christian

Btw, I assumed that you use a 'ü'  in Spitzmüller...

-- 
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr




Re: \nocite{*} changes bibliography style (when using natbib)

2005-05-13 Thread Juergen Spitzmueller
[EMAIL PROTECTED] wrote:
 I copied parts of your post to this page

 http://wiki.lyx.org/BibTeX/Background

I hope it is all historically correct.

 /Christian

 Btw, I assumed that you use a 'ü'  in Spitzmüller...

certainly.

Jürgen.


Re: question: no font-slant function?

2005-05-13 Thread G. Milde
On 11.05.05, Jose' Matos wrote:
 On Wednesday 11 May 2005 11:12, G. Milde wrote:

  José, what do you think about a generic LyX python package including
  ly2lyx (and friends), lyxclient (and friends) and maybe more (e.g.
  lyxchat)?
   I couldn't be happier... ;-)
Fine
 
  (This would need some more thoughts about the right place of 
  the files and incorporating with the python path.)
 
   That was also my thought. :-)
   One idea would be to transform LyX into a package instead of it being a 
 module.

Actually, I already converted my pyclient script into a LyX package (with
LyX/pyserver.py, LyX/pyclient.py, LyX/lfuns.py, ...). (As I need to finish
testing, it is still unpublished.)

I currently have it in my PYTHONPATH, and the wrapper-scripts (like
lyx-remote) in ~/.lyx/scripts/. 

This way I can 

  * call import the modules from the wrapper script with e.g.
from LyX import lyxserver
  
  * browse the documentation with pydoc

However, I can imagine problems with not knowing the PYTHONPATH or the
desire of LyX developers to keep lyx-related files under LYXDIR
(/usr/share/lyx on my Debian). 

So, instead of a package directory LyX directly in the PYTHONPATH, I
suggest $LYXDIR/pyLyX. 

  The package name would then be called pyLyX (PYthon package for LYX),
  this is still short enough and more informative. (someone seeing
  usr/share/lyx/LyX would not be able to tell that this is a Python
  package.) 
  
A symlink or a path configuration (*.pth) file would than add
LYXDIR/pyLyX to the PYTHONPATH. (Additionaly Python wrapper scripts in
LYXDIR/scripts could modify sys.path to include LYXDIR/pyLyX in any
case.)

If you then move LYXDIR/lyx2lyx/ to LYXDIR/pyLyX/lyx2lyx, it becomes
a part of the pyLyX package. Now moving LYXDIR/lyx2lyx/lyx2lyx to
LYXDIR/scripts/lyx2lyx would make the lyx2lyx wrapper easily available
again. Of course this moves would need changes in the import statements...

Günter


-- 
G.Milde web.de


Re: Another beamer question

2005-05-13 Thread Rich Shepard
On Fri, 13 May 2005, Fernando Gisbert Cervera wrote:
I think that you must specify the image file name without the eps
extension, that is
\pgfdeclareimage[height=0.5cm]{institution-logo}{new-logo-color}
Fernando,
   I read that in the docs and changed the string to exclude the suffix. It
still does not work. It may be a path issue. On the other hand, not having
the company logo on the title slide is no big deal and not worth a large time
investment. But, I'd sure like to understand why it's not working (path?) and
how to consistently get images in.
   Perhaps I'll try 'insert' rather than pgf.
Thanks,
Rich
--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
http://www.appl-ecosys.com   Voice: 503-667-4517   Fax: 503-667-8863


Re: A LaTeX Query

2005-05-13 Thread Rich Shepard
On Thu, 12 May 2005, Matej Cepl wrote:
If you need real TeXpert, then reread all available documentation, google
for answers, and when you are sure, that you won't get RTFM, go ask @
comp.text.tex -- the real TeXperts tend to hand there. Even higher entry
level (and even higher level TeXperts) are on texhax
(http://tug.org/mailman/listinfo/texhax), but it has really low volume, and
low level of response.
For clueless muddlers, you don't have to do anything and ask here :-).
Matej,
  Thanks. It's more LaTeX than TeX, per se.
  After getting out a proposal today I'll do some work on the layout and see
where I am. Then I'll ask here -- nicely, of course.
  One of the features I researched is 'multido'; as the name implies -- when
read correctly -- it allows looping (multiple do) within the document. This
is crucial to the original form (used for course evaluations in Australia)
and for my purposes (creating a form for pairwise comparisons with a variable
number of entities). There is a lot more like this.
Rich
--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
http://www.appl-ecosys.com   Voice: 503-667-4517   Fax: 503-667-8863


Re: Another beamer question

2005-05-13 Thread Angus Leeming
Rich Shepard wrote:
 I read that in the docs and changed the string to exclude the suffix.
 It still does not work. It may be a path issue. On the other hand, not
 having the company logo on the title slide is no big deal and not worth a
 large time investment. But, I'd sure like to understand why it's not
 working (path?) and how to consistently get images in.
 
 Perhaps I'll try 'insert' rather than pgf.

Did you look at the latex log file?

-- 
Angus



Re: \nocite{*} changes bibliography style (when using natbib)

2005-05-13 Thread chr
On Fri, 13 May 2005, Juergen Spitzmueller wrote:

 [EMAIL PROTECTED] wrote:
  I copied parts of your post to this page
 
  http://wiki.lyx.org/BibTeX/Background
 
 I hope it is all historically correct.

Well, I just quoted you ;-)

/C

-- 
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr




Re: \nocite{*} changes bibliography style (when using natbib)

2005-05-13 Thread Janus Sandsgaard
On Friday 13 May 2005 14:02, [EMAIL PROTECTED] wrote:

 I copied parts of your post to this page

Great. The answer from Jürgen is excellent.

Janus

-- 
Roskilde University, Denmark.
Department of Technology and Social Science.
International Development Studies.
ESST - Society, Science and Technology in Europe.


TeX classes missing after upgrade to Mandriva LE 2005

2005-05-13 Thread Andrew Morrison

I recently upgraded my laptop to Mandriva LE 2005 and now I get an error
when I use lyx saying that the TeX class is missing and no output can be
used.  So I ran texhash:

[EMAIL PROTECTED] download]# texhash
texhash: Updating /usr/local/share/texmf/ls-R...
texhash: Updating /usr/share/lilypond/2.0.1/ls-R...
texhash: Updating /usr/share/texmf/ls-R...
texhash: Updating /usr/share/texmf-var/ls-R...
texhash: Updating /var/lib/texmf/ls-R...
texhash: Done.

But, I'm still getting the same error.  What am I supposed to do?  The
class files still exist on the harddrive, I've already checked.

Thanks!

-- 
Andrew Morrison [EMAIL PROTECTED]



Re: TeX classes missing after upgrade to Mandriva LE 2005

2005-05-13 Thread Paul Smith
On 5/13/05, Andrew Morrison [EMAIL PROTECTED] wrote:
 
 I recently upgraded my laptop to Mandriva LE 2005 and now I get an error
 when I use lyx saying that the TeX class is missing and no output can be
 used.  So I ran texhash:
 
 [EMAIL PROTECTED] download]# texhash
 texhash: Updating /usr/local/share/texmf/ls-R...
 texhash: Updating /usr/share/lilypond/2.0.1/ls-R...
 texhash: Updating /usr/share/texmf/ls-R...
 texhash: Updating /usr/share/texmf-var/ls-R...
 texhash: Updating /var/lib/texmf/ls-R...
 texhash: Done.
 
 But, I'm still getting the same error.  What am I supposed to do?  The
 class files still exist on the harddrive, I've already checked.

Andrew: try

urpmi tetex

Paul


\dot problems

2005-05-13 Thread Angus Leeming
\newcommand{\Matrix}[1]{\boldsymbol{#1}}
$\Dot{\Matrix{A}}$
$\dot{\Matrix{A}}$

The dot is offset to the left of the apex of the A because the A is 
italicized.

I guess that the problem lies with the \boldsymbol, because everything 
looks OK if the A has normal weighting.

Any clues?

-- 
Angus



Re: TeX classes missing after upgrade to Mandriva LE 2005

2005-05-13 Thread Angus Leeming
Paul Smith wrote:

 On 5/13/05, Andrew Morrison
 [EMAIL PROTECTED] wrote:
 
 I recently upgraded my laptop to Mandriva LE 2005 and now I get an error
 when I use lyx saying that the TeX class is missing and no output can be
 used.  So I ran texhash:
 
 [EMAIL PROTECTED] download]# texhash
 texhash: Updating /usr/local/share/texmf/ls-R...
 texhash: Updating /usr/share/lilypond/2.0.1/ls-R...
 texhash: Updating /usr/share/texmf/ls-R...
 texhash: Updating /usr/share/texmf-var/ls-R...
 texhash: Updating /var/lib/texmf/ls-R...
 texhash: Done.
 
 But, I'm still getting the same error.  What am I supposed to do?  The
 class files still exist on the harddrive, I've already checked.
 
 Andrew: try
 
 urpmi tetex

I suspect that all that is missing is Edit-Reconfigure from within LyX...

-- 
Angus



Re: \dot problems

2005-05-13 Thread Herbert Voss
Angus Leeming wrote:
\newcommand{\Matrix}[1]{\boldsymbol{#1}}
$\Dot{\Matrix{A}}$
$\dot{\Matrix{A}}$
The dot is offset to the left of the apex of the A because the A is 
italicized.

I guess that the problem lies with the \boldsymbol, because everything 
looks OK if the A has normal weighting.
no, only a problem of the italic mode ...
$\skew{7}{\Dot}{\Matrix{A}}$
Herbert


Re: TeX classes missing after upgrade to Mandriva LE 2005

2005-05-13 Thread Andrew Morrison
On Fri, 2005-05-13 at 16:46 +0100, Angus Leeming wrote:

 
 I suspect that all that is missing is Edit-Reconfigure from within LyX...
 

Thanks, that does it!

-- 
Andrew Morrison [EMAIL PROTECTED]



Re: \dot problems

2005-05-13 Thread Angus Leeming
Herbert Voss wrote:

 Angus Leeming wrote:
 \newcommand{\Matrix}[1]{\boldsymbol{#1}}
 $\Dot{\Matrix{A}}$
 $\dot{\Matrix{A}}$
 
 The dot is offset to the left of the apex of the A because the A is
 italicized.
 
 I guess that the problem lies with the \boldsymbol, because everything
 looks OK if the A has normal weighting.
 
 no, only a problem of the italic mode ...
 $\skew{7}{\Dot}{\Matrix{A}}$

Thanks, Herbert. Dunno what we'd do without you; \skew is in neither my 
Lamport not my Goosens et al. books.

-- 
Angus



Syllabus class (LaTeX/LyX)?

2005-05-13 Thread Stefano Franchi
Is anyone here using LaTeX/LyX to produce syllaby for classes? If so, 
do you use a standard class, your own producced class, or just a 
template? I looked on Ctan, but could not find anything, and as I am 
about to start converting quite a bit of material form framemaker to 
LaTex I'd like to be sure I am reinventing the wheel.
I am looking for a package that would provide environmentsand 
facilities useful to format  the standard sections of a syllabus: 
description, requirements, reading list, lecture list, etc.

Any help is appreciated.
Cheers,
Stefano
__
Stefano Franchi
Department of Philosophy  Ph:  (64) 9 373-7599 x83940
University Of Auckland  Fax: (64) 9 373-7408
Private Bag 92019   [EMAIL PROTECTED]
Auckland
New Zealand 


Re: Syllabus class (LaTeX/LyX)?

2005-05-13 Thread Bennett Helm
On May 13, 2005, at 2:03 PM, Stefano Franchi wrote:
Is anyone here using LaTeX/LyX to produce syllaby for classes? If so, 
do you use a standard class, your own producced class, or just a 
template? I looked on Ctan, but could not find anything, and as I am 
about to start converting quite a bit of material form framemaker to 
LaTex I'd like to be sure I am reinventing the wheel.
I am looking for a package that would provide environmentsand 
facilities useful to format  the standard sections of a syllabus: 
description, requirements, reading list, lecture list, etc.
Stefano -
I just use the standard classes/environments. Attached is a 
stripped-down sample, showing various ways I do things.

Bennett


sample-syllabus.lyx
Description: Binary data


Re: Syllabus class (LaTeX/LyX)?

2005-05-13 Thread Stefano Franchi

On May 13, 2005, at 11:25 AM, Bennett Helm wrote:
On May 13, 2005, at 2:03 PM, Stefano Franchi wrote:
Is anyone here using LaTeX/LyX to produce syllaby for classes? If so, 
do you use a standard class, your own producced class, or just a 
template? I looked on Ctan, but could not find anything, and as I am 
about to start converting quite a bit of material form framemaker to 
LaTex I'd like to be sure I am reinventing the wheel.
I am looking for a package that would provide environmentsand 
facilities useful to format  the standard sections of a syllabus: 
description, requirements, reading list, lecture list, etc.
Stefano -
I just use the standard classes/environments. Attached is a 
stripped-down sample, showing various ways I do things.

Bennett

Thanks Bennett. My syllabi are a bit more structured (tables, etc), but 
that is a good starting point. I suppose is not worth spending time on 
a class for such a small production job.

Stefano


sample-syllabus.lyx
__
Stefano Franchi
Department of Philosophy  Ph:  (64) 9 373-7599 x83940
University Of Auckland  Fax: (64) 9 373-7408
Private Bag 92019   [EMAIL PROTECTED]
Auckland
New Zealand 


Metapost problems

2005-05-13 Thread Paul A. Rubin
Hi all,
As the subject indicates, this is not really a LyX problem, but the last 
time I had a LaTeX-related question I had more luck here than on 
comp.text.tex.

I'm creating a Beamer presentation on Win XP (using MiKTeX and, of 
course, LyX), and I'm trying to embed some graphics.  I created them in 
Dia and exported them as Metapost (.mp) files.  I had to manually edit 
the line latex out of each .mp file, presumably because I'm using 
Windoze and not *nix.

Now comes the first problem.  I run mpost (the MiKTeX Metapost 
executable) against pic.mp, and it gives me pic.1, pic.mpx and pic.log. 
 To my untrained eye, pic.1 looks like a valid Postscript file, but if 
I try to open it with Ghostview, I get the error /undefined in phvr8r. 
 Same thing happens if I run ps2ps against pic.1.  Now phvr8r is an 
Adobe Helvetica font, and I have phvr8r.pk in my local texmf tree and 
phvr8r.tfm in my regular texmf tree, so the font is installed.  Does 
anyone know what the error means and what I might do about it?

The second error (which may be related to the first) is that I can't 
seem to get LyX/Beamer to believe that pic.1 is in an appropriate 
graphic format.  I followed the suggestion in the Beamer manual to 
include \DeclareGraphicsRule{*}{mps}{*}{}, so that pic.1 should be 
interpreted as a .mps file, but all that bought me was a message that 
the graphics conversion script didn't know what to do with an MPS file. 
 So I tried \DeclareGraphicsRule{*}{eps}{*}{}, my thinking being that 
MPS is a special dialect (?) of EPS.  That didn't work, either, nor did 
renaming pic.1 to pic.eps.  (Failure of this last could tie back to the 
previous problem.)

So, for the moment, I'm stumped, and would be grateful for any advice.
TIA,
Paul


Re: Syllabus class (LaTeX/LyX)?

2005-05-13 Thread hansel
I just use article class with unnumbered sections. I don't adorn my 
syllabi with eye candy.

Mark Hansel

On Fri, 13 May 2005, Stefano Franchi wrote:

 Is anyone here using LaTeX/LyX to produce syllaby for classes? If so, 
 do you use a standard class, your own producced class, or just a 
 template? I looked on Ctan, but could not find anything, and as I am 
 about to start converting quite a bit of material form framemaker to 
 LaTex I'd like to be sure I am reinventing the wheel.
 I am looking for a package that would provide environmentsand 
 facilities useful to format  the standard sections of a syllabus: 
 description, requirements, reading list, lecture list, etc.
 
 Any help is appreciated.
 
 Cheers,


Create Formula Sheet

2005-05-13 Thread Hannan Sadar
Hi,

I would like to create a formula sheet. The problem is that latex is
not what you see is what you get and the LyX interface isn't that good
for thus kind of things, so i will need to write it in LaTeX.
What i would like to ask is, if someone had created some kind of
formula sheet in (Math, Physics, etc) which he\she is willing to
upload, so i could see how to shape the my formula sheet?

Thanks


Re: ec fonts

2005-05-13 Thread Matej Cepl
[EMAIL PROTECTED] scripsit:
 I'm very happy with lyx, but I've been advised to install ec fonts to get
 even better results. Two questions :
 - is installing ec fonts worth the bother ?

Are you sure, you haven't already installed them? They are usually part of
the very basic installation of TeTeX. What
kpsewhich ecrm.mf
gives you?

 - where to find some detailed howto that could help a somewhat newbie
 regarding Latex admin ?

http://faq.tug.org (or
locally /usr/share/doc/texmf/help/faq/uktug-faq/index.html) is not
detailed HOWTO, but it can certainly put some light on some of your
questions (it seems to me, for example, that you actually do not want to
talk about EC fonts, but rather about CM-Super fonts -- which are EC fonts
in Type1, or maybe lmodern fonts).

For administration of TeX on Unix you want to
read /usr/share/doc/texmf/latex/general/guide.dvi.gz.

And if you want full comprehensive guide, then go to the local library or
buy books referenced in TeX FAQ referenced above (I prefer [Kopka, Daly],
which has the 3rd edition published last year).

Best,

Matej Cepl

-- 
Matej Cepl, http://www.ceplovi.cz/matej
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
He has the attention span of a lightning bolt.
  -- Robert Redford




Re: Metapost problems

2005-05-13 Thread Matej Cepl
Paul A. Rubin scripsit:
 Now comes the first problem.  I run mpost (the MiKTeX Metapost
 executable) against pic.mp, and it gives me pic.1, pic.mpx and pic.log.
   To my untrained eye, pic.1 looks like a valid Postscript file, but if
 I try to open it with Ghostview, I get the error /undefined in phvr8r.
   Same thing happens if I run ps2ps against pic.1.  Now phvr8r is an
 Adobe Helvetica font, and I have phvr8r.pk in my local texmf tree and
 phvr8r.tfm in my regular texmf tree, so the font is installed.  Does
 anyone know what the error means and what I might do about it?

1) Add to the top of the MP file this line (which persuades MetaPost to
create correct Encapsulated PostScript):
prologues := 1;

Then rerun metapost and try the result with gs (not kghostview, because with
gs you can see, which fonts are loaded, or what actually ghostscript tried
to load).

Err, sorry you are on Windows, so gs won't work. OK, use GSView and then
find somewhere (I forgot where) menu item Show messages or something like
that. Check, what's going on.

2) phvr*.{pk,tfm} are TeX auxiliary files making it possible to work with
Type1 (aka Postscript) fonts in TeX. However, you are interested in .pfa
(or .pfb) fonts. You probably don't have real Helvetica (unless you have
installed some big Adobe programs, or at least Adobe Type Manager),
However, GhostScript is distributed with free work-alikes of Helvetica
called Nimbus Sans (look for a file n019003l.pfb). So, if you have correct
PostScript (like when you followed the advice no. 1), you should just open
the file with GhostView and it should just work. If it doesn't, let us
know.

 The second error (which may be related to the first) is that I can't
 seem to get LyX/Beamer to believe that pic.1 is in an appropriate
 graphic format.  I followed the suggestion in the Beamer manual to
 include \DeclareGraphicsRule{*}{mps}{*}{}, so that pic.1 should be

This command is of interest only for pdf{la}tex. If you are using plain
latex, then you should rename .1 file as .eps and it should be read by
dvips. Moreover, you don't have correct EPS (see above).

 interpreted as a .mps file, but all that bought me was a message that
 the graphics conversion script didn't know what to do with an MPS file.

yes, latex has no clue about MPS files, pdflatex does.

   So I tried \DeclareGraphicsRule{*}{eps}{*}{}, my thinking being that
 MPS is a special dialect (?) of EPS.  That didn't work, either, nor did

Well, kind of -- Metapost's EPS is so simple, that somebody was able to
create TeX macros which convert it into internal codes of PDF, which could
be processed natively by pdftex.

Let us know about your progress,

Matej

-- 
Matej Cepl, http://www.ceplovi.cz/matej
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
There's nothing wrong with you that reincarnation won't cure.
  -- Jack F. Leonard




Re: Create Formula Sheet

2005-05-13 Thread William F. Adams
On May 13, 2005, at 3:56 PM, Hannan Sadar wrote:
I would like to create a formula sheet. The problem is that latex is
not what you see is what you get and the LyX interface isn't that good
for thus kind of things, so i will need to write it in LaTeX.
What i would like to ask is, if someone had created some kind of
formula sheet in (Math, Physics, etc) which he\she is willing to
upload, so i could see how to shape the my formula sheet?
I believe there's an example of this sort of thing in the TeX Showcase:
http://www.tug.org/texshowcase
http://www.tug.org/texshowcase/cheat.tar.gz
William
--
William Adams, publishing specialist
voice - 717-731-6707 | Fax - 717-731-6708
www.atlis.com


Mysterious error?

2005-05-13 Thread Stefano Franchi
I wonder if anyone can help me find out what the following error, which 
may be caused by BibTex+Jurabib may mean. When I try to compile the Lyx 
file (View--Pdf) I get a series of errors, the first of which is:

File ended while scanning use of [EMAIL PROTECTED]@bel.
 \begin{document}
I suspect you have forgotten a `}', causing me
to read past where you wanted me to stop.
I'll try to recover; but if the error is serious,
you'd better type `E' or `X' now and fix your file.
The second and third one refer to a reference:
Extra }, or forgotten $.
   {Gill}{Mary~Louise}{M.~L.}{}{}} {}
   \bibAnnoteFile {Frede1994}
I've deleted a group-closing symbol because it seems to be
spurious, as in `$x}$'. But perhaps the } is legitimate and
you forgot something else, as in `\hbox{$x}'. In such cases
the way to recover is to insert both the forgotten and the
deleted material, e.g., by typing `I$}'.
then there are a couple more that seem to be directly related. I have 
checked and rechecked the bib file, but it seems to be ok.
Any help or pointer  is greatly appreciated.

Stefano
__
Stefano Franchi
Department of Philosophy  Ph:  (64) 9 373-7599 x83940
University Of Auckland  Fax: (64) 9 373-7408
Private Bag 92019   [EMAIL PROTECTED]
Auckland
New Zealand 


Re: Syllabus class (LaTeX/LyX)?

2005-05-13 Thread chr
On Fri, 13 May 2005, Bennett Helm wrote:

 On May 13, 2005, at 2:03 PM, Stefano Franchi wrote:
 
  Is anyone here using LaTeX/LyX to produce syllaby for classes? If so, 
  do you use a standard class, your own producced class, or just a 
  template? I looked on Ctan, but could not find anything, and as I am 
  about to start converting quite a bit of material form framemaker to 
  LaTex I'd like to be sure I am reinventing the wheel.
  I am looking for a package that would provide environmentsand 
  facilities useful to format  the standard sections of a syllabus: 
  description, requirements, reading list, lecture list, etc.
 
 Stefano -
 
 I just use the standard classes/environments. Attached is a 
 stripped-down sample, showing various ways I do things.

I hope it's ok with you that I've added your example here
http://wiki.lyx.org/Examples/Syllabus

/Christian

-- 
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr




Re: Another beamer question

2005-05-13 Thread Fernando Gisbert Cervera
Rich Shepard wrote:
  I specify a logo to use on the title slide:
\pgfdeclareimage[height=0.5cm]{institution-logo}{new-logo-color.eps}
\logo{\pgfuseimage{institution-logo}}
yet it does not display when I View->PDF. Instead, I see "Title 
Graphics" at
the bottom of that frame.

  What have I missed on this?
I think that you must specify the image file name without the "eps" 
extension, that is
\pgfdeclareimage[height=0.5cm]{institution-logo}{new-logo-color}

Thanks,
Rich



Re: \nocite{*} changes bibliography style (when using natbib)

2005-05-13 Thread Juergen Spitzmueller
Janus Sandsgaard wrote:
> Ah. Thanks a lot. I was not aware of that. I guess I need to study a little
> on the basics of BiB and LaTeX to understand what I am doing. Can you
> recommend a (short) resource explaining me someting like:
>
> - The difference between BiBteX, NatBib, JureBib etc.

Bibtex is a compiler programm that does the job of writing a bibliography 
environment for you, reading citation entries from a database (*.bib) and 
some layout information from a style file (*.bst).

Bibtex has been designed merely for natural scientist's citation uses (i.e. 
numerical), but its author, Oren Patashnik, already provided a rudimental 
extension package for author-year citations (that is apacite.sty)

Patrick W. Daly felt that this was not powerful enough and developped another 
extension package: natbib. It comes with its own style files, but in the 
meantime, several people have designed alternative style files for natbib. 
Also, Daly has developped "custom-bib", an interaktive command line tool 
which lets you create a bst file interactively (by answering some questions).

Jens Berger finally came to the conclusion that all the existing packages 
(including natbib) do not match the requirements of law studies. So he 
developped the jurabib package, another extension. During the years, it has 
become very popular and extremely flexible. The difference in concept is that 
you don't have lots of different static bst files, but only a few bst files 
which can be very much tweaked via package options and commands.

So basically, all those extensions need their own bst files, even if some of 
them might be inter-chargeable. 

> - The function of .sty and .bst - and how they can be used.

The natbib documentation:
http://www.linmpi.mpg.de/english/services/software/latex/localtex/doc/natbib.pdf

The jurabib documentation:
http://www.ctan.org/tex-archive/macros/latex/contrib/jurabib/docs/english/jbendoc.dvi

And this comprehensive documentation about BibTeX:
http://www.ctan.org/tex-archive/info/bibtex/tamethebeast/ttb_en.pdf

> Remember: I am a social scientist :-) The literature I have seen so far is
> often quite technical and all I need is to know the rules of the game and a
> little background.

I am a human scientist. So we share the same problem.

> > Try one of natbib's one style files or create one with custom-bib.
>
> How can I tell if a style works with NatBib? 

Normally, you can see it in the file:
 % For use with the `natbib.sty' package; emulates the corresponding
 %   member of the `plain' family, but with author-year citations.

or 

% This is an author-year citation style bibliography. As such, it is
% non-standard LaTeX, and requires a special package file to function 
% properly.
% Such a package isnatbib.sty   by Patrick W. Daly

> Can you recommend a place to 
> look for styles that work with NatBiB?

I highly recommend to try custom-bib.

Jürgen


ec fonts

2005-05-13 Thread alain . didierjean

I use lyx-1.3.5 on Gentoo linux to write support to courses :
- in french
- some maths
- lots of algorithms
- lots of code (mostly C)
I'm very happy with lyx, but I've been advised to install ec fonts to get even
better results. Two questions :
- is installing ec fonts worth the bother ?
- where to find some detailed howto that could help a somewhat newbie regarding
Latex admin ?
Help and answers welcome.

--
~adj~


Re: Another beamer question

2005-05-13 Thread Sven Schreiber
Angus Leeming wrote:

> LyX doesn't know anything about anything you put in ERT. So yes, if you
> have the file as 'relative to the main document', lyx will be unable to
> find it when it processes a copy of the main document
> in /tmp/lyxfoobar.
> 

This is very useful information and not obvious to users, imho. Maybe a
warning to be careful with paths should be added to the ERT part (2.4)
of the Extended Features help doc distributed with lyx? (Given that
quite a bit of advice to lyx users amounts to going the ERT route...)

-sven


Re: Another beamer question

2005-05-13 Thread chr
On Fri, 13 May 2005, Sven Schreiber wrote:

> Angus Leeming wrote:
> 
> > LyX doesn't know anything about anything you put in ERT. So yes, if you
> > have the file as 'relative to the main document', lyx will be unable to
> > find it when it processes a copy of the main document
> > in /tmp/lyxfoobar.
> > 
> 
> This is very useful information and not obvious to users, imho. Maybe a
> warning to be careful with paths should be added to the ERT part (2.4)
> of the Extended Features help doc distributed with lyx? (Given that
> quite a bit of advice to lyx users amounts to going the ERT route...)

As a temporary measure, maybe you could add this information to the wiki,
e.g. on this page

http://wiki.lyx.org/FAQ/ERT

or possibly create a page with this name

http://wiki.lyx.org/Tips/ERT

If you decide on the latter, please also add the following line to the 
page http://wiki.lyx.org/Tips/PageList

T* Tips/{{ERT}}

so that the new page shows up in the list of pages.

/Christian

-- 
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr




Re: \nocite{*} changes bibliography style (when using natbib)

2005-05-13 Thread chr
On Fri, 13 May 2005, Juergen Spitzmueller wrote:

> Janus Sandsgaard wrote:
> > Ah. Thanks a lot. I was not aware of that. I guess I need to study a little
> > on the basics of BiB and LaTeX to understand what I am doing. Can you
> > recommend a (short) resource explaining me someting like:
> >
> > - The difference between BiBteX, NatBib, JureBib etc.
> 
> Bibtex is a compiler programm that does the job of writing a bibliography 
> environment for you, reading citation entries from a database (*.bib) and 
> some layout information from a style file (*.bst).

I copied parts of your post to this page

http://wiki.lyx.org/BibTeX/Background

/Christian

Btw, I assumed that you use a 'ü'  in Spitzmüller...

-- 
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr




Re: \nocite{*} changes bibliography style (when using natbib)

2005-05-13 Thread Juergen Spitzmueller
[EMAIL PROTECTED] wrote:
> I copied parts of your post to this page
>
> http://wiki.lyx.org/BibTeX/Background

I hope it is all historically correct.

> /Christian
>
> Btw, I assumed that you use a 'ü'  in Spitzmüller...

certainly.

Jürgen.


Re: question: no font-slant function?

2005-05-13 Thread G. Milde
On 11.05.05, Jose' Matos wrote:
> On Wednesday 11 May 2005 11:12, G. Milde wrote:

> > José, what do you think about a generic "LyX" python package including
> > ly2lyx (and friends), lyxclient (and friends) and maybe more (e.g.
> > lyxchat)?
>   I couldn't be happier... ;-)
Fine
 
> > (This would need some more thoughts about the right place of 
> > the files and incorporating with the python path.)
> 
>   That was also my thought. :-)
>   One idea would be to transform LyX into a package instead of it being a 
> module.

Actually, I already converted my pyclient script into a LyX package (with
LyX/pyserver.py, LyX/pyclient.py, LyX/lfuns.py, ...). (As I need to finish
testing, it is still unpublished.)

I currently have it in my PYTHONPATH, and the wrapper-scripts (like
lyx-remote) in ~/.lyx/scripts/. 

This way I can 

  * call import the modules from the wrapper script with e.g.
from LyX import lyxserver
  
  * browse the documentation with pydoc

However, I can imagine problems with not knowing the PYTHONPATH or the
desire of LyX developers to keep lyx-related files under LYXDIR
(/usr/share/lyx on my Debian). 

So, instead of a package directory "LyX" directly in the PYTHONPATH, I
suggest "$LYXDIR/pyLyX". 

  The package name would then be called "pyLyX" (PYthon package for LYX),
  this is still short enough and more informative. (someone seeing
  "usr/share/lyx/LyX" would not be able to tell that this is a Python
  package.) 
  
A symlink or a path configuration (*.pth) file would than add
LYXDIR/pyLyX to the PYTHONPATH. (Additionaly Python wrapper scripts in
"LYXDIR/scripts" could modify sys.path to include LYXDIR/pyLyX in any
case.)

If you then move LYXDIR/lyx2lyx/ to LYXDIR/pyLyX/lyx2lyx, it becomes
a part of the pyLyX package. Now moving LYXDIR/lyx2lyx/lyx2lyx to
LYXDIR/scripts/lyx2lyx would make the lyx2lyx wrapper easily available
again. Of course this moves would need changes in the import statements...

Günter


-- 
G.Milde web.de


Re: Another beamer question

2005-05-13 Thread Rich Shepard
On Fri, 13 May 2005, Fernando Gisbert Cervera wrote:
I think that you must specify the image file name without the "eps"
extension, that is
\pgfdeclareimage[height=0.5cm]{institution-logo}{new-logo-color}
Fernando,
   I read that in the docs and changed the string to exclude the suffix. It
still does not work. It may be a path issue. On the other hand, not having
the company logo on the title slide is no big deal and not worth a large time
investment. But, I'd sure like to understand why it's not working (path?) and
how to consistently get images in.
   Perhaps I'll try 'insert' rather than pgf.
Thanks,
Rich
--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
   Voice: 503-667-4517   Fax: 503-667-8863


Re: A LaTeX Query

2005-05-13 Thread Rich Shepard
On Thu, 12 May 2005, Matej Cepl wrote:
If you need real TeXpert, then reread all available documentation, google
for answers, and when you are sure, that you won't get RTFM, go ask @
comp.text.tex -- the real TeXperts tend to hand there. Even higher entry
level (and even higher level TeXperts) are on texhax
(http://tug.org/mailman/listinfo/texhax), but it has really low volume, and
low level of response.
For clueless muddlers, you don't have to do anything and ask here :-).
Matej,
  Thanks. It's more LaTeX than TeX, per se.
  After getting out a proposal today I'll do some work on the layout and see
where I am. Then I'll ask here -- nicely, of course.
  One of the features I researched is 'multido'; as the name implies -- when
read correctly -- it allows looping (multiple do) within the document. This
is crucial to the original form (used for course evaluations in Australia)
and for my purposes (creating a form for pairwise comparisons with a variable
number of entities). There is a lot more like this.
Rich
--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
   Voice: 503-667-4517   Fax: 503-667-8863


Re: Another beamer question

2005-05-13 Thread Angus Leeming
Rich Shepard wrote:
> I read that in the docs and changed the string to exclude the suffix.
> It still does not work. It may be a path issue. On the other hand, not
> having the company logo on the title slide is no big deal and not worth a
> large time investment. But, I'd sure like to understand why it's not
> working (path?) and how to consistently get images in.
> 
> Perhaps I'll try 'insert' rather than pgf.

Did you look at the latex log file?

-- 
Angus



Re: \nocite{*} changes bibliography style (when using natbib)

2005-05-13 Thread chr
On Fri, 13 May 2005, Juergen Spitzmueller wrote:

> [EMAIL PROTECTED] wrote:
> > I copied parts of your post to this page
> >
> > http://wiki.lyx.org/BibTeX/Background
> 
> I hope it is all historically correct.

Well, I just quoted you ;-)

/C

-- 
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr




Re: \nocite{*} changes bibliography style (when using natbib)

2005-05-13 Thread Janus Sandsgaard
On Friday 13 May 2005 14:02, [EMAIL PROTECTED] wrote:

> I copied parts of your post to this page

Great. The answer from Jürgen is excellent.

Janus

-- 
Roskilde University, Denmark.
Department of Technology and Social Science.
International Development Studies.
ESST - Society, Science and Technology in Europe.


TeX classes missing after upgrade to Mandriva LE 2005

2005-05-13 Thread Andrew Morrison

I recently upgraded my laptop to Mandriva LE 2005 and now I get an error
when I use lyx saying that the TeX class is missing and no output can be
used.  So I ran texhash:

[EMAIL PROTECTED] download]# texhash
texhash: Updating /usr/local/share/texmf/ls-R...
texhash: Updating /usr/share/lilypond/2.0.1/ls-R...
texhash: Updating /usr/share/texmf/ls-R...
texhash: Updating /usr/share/texmf-var/ls-R...
texhash: Updating /var/lib/texmf/ls-R...
texhash: Done.

But, I'm still getting the same error.  What am I supposed to do?  The
class files still exist on the harddrive, I've already checked.

Thanks!

-- 
Andrew Morrison <[EMAIL PROTECTED]>



Re: TeX classes missing after upgrade to Mandriva LE 2005

2005-05-13 Thread Paul Smith
On 5/13/05, Andrew Morrison <[EMAIL PROTECTED]> wrote:
> 
> I recently upgraded my laptop to Mandriva LE 2005 and now I get an error
> when I use lyx saying that the TeX class is missing and no output can be
> used.  So I ran texhash:
> 
> [EMAIL PROTECTED] download]# texhash
> texhash: Updating /usr/local/share/texmf/ls-R...
> texhash: Updating /usr/share/lilypond/2.0.1/ls-R...
> texhash: Updating /usr/share/texmf/ls-R...
> texhash: Updating /usr/share/texmf-var/ls-R...
> texhash: Updating /var/lib/texmf/ls-R...
> texhash: Done.
> 
> But, I'm still getting the same error.  What am I supposed to do?  The
> class files still exist on the harddrive, I've already checked.

Andrew: try

urpmi tetex

Paul


\dot problems

2005-05-13 Thread Angus Leeming
\newcommand{\Matrix}[1]{\boldsymbol{#1}}
$\Dot{\Matrix{A}}$
$\dot{\Matrix{A}}$

The dot is offset to the left of the apex of the A because the A is 
italicized.

I guess that the problem lies with the \boldsymbol, because everything 
looks OK if the A has normal weighting.

Any clues?

-- 
Angus



Re: TeX classes missing after upgrade to Mandriva LE 2005

2005-05-13 Thread Angus Leeming
Paul Smith wrote:

> On 5/13/05, Andrew Morrison
> <[EMAIL PROTECTED]> wrote:
>> 
>> I recently upgraded my laptop to Mandriva LE 2005 and now I get an error
>> when I use lyx saying that the TeX class is missing and no output can be
>> used.  So I ran texhash:
>> 
>> [EMAIL PROTECTED] download]# texhash
>> texhash: Updating /usr/local/share/texmf/ls-R...
>> texhash: Updating /usr/share/lilypond/2.0.1/ls-R...
>> texhash: Updating /usr/share/texmf/ls-R...
>> texhash: Updating /usr/share/texmf-var/ls-R...
>> texhash: Updating /var/lib/texmf/ls-R...
>> texhash: Done.
>> 
>> But, I'm still getting the same error.  What am I supposed to do?  The
>> class files still exist on the harddrive, I've already checked.
> 
> Andrew: try
> 
> urpmi tetex

I suspect that all that is missing is Edit->Reconfigure from within LyX...

-- 
Angus



Re: \dot problems

2005-05-13 Thread Herbert Voss
Angus Leeming wrote:
\newcommand{\Matrix}[1]{\boldsymbol{#1}}
$\Dot{\Matrix{A}}$
$\dot{\Matrix{A}}$
The dot is offset to the left of the apex of the A because the A is 
italicized.

I guess that the problem lies with the \boldsymbol, because everything 
looks OK if the A has normal weighting.
no, only a problem of the italic mode ...
$\skew{7}{\Dot}{\Matrix{A}}$
Herbert


Re: TeX classes missing after upgrade to Mandriva LE 2005

2005-05-13 Thread Andrew Morrison
On Fri, 2005-05-13 at 16:46 +0100, Angus Leeming wrote:

> 
> I suspect that all that is missing is Edit->Reconfigure from within LyX...
> 

Thanks, that does it!

-- 
Andrew Morrison <[EMAIL PROTECTED]>



Re: \dot problems

2005-05-13 Thread Angus Leeming
Herbert Voss wrote:

> Angus Leeming wrote:
>> \newcommand{\Matrix}[1]{\boldsymbol{#1}}
>> $\Dot{\Matrix{A}}$
>> $\dot{\Matrix{A}}$
>> 
>> The dot is offset to the left of the apex of the A because the A is
>> italicized.
>> 
>> I guess that the problem lies with the \boldsymbol, because everything
>> looks OK if the A has normal weighting.
> 
> no, only a problem of the italic mode ...
> $\skew{7}{\Dot}{\Matrix{A}}$

Thanks, Herbert. Dunno what we'd do without you; \skew is in neither my 
Lamport not my Goosens et al. books.

-- 
Angus



Syllabus class (LaTeX/LyX)?

2005-05-13 Thread Stefano Franchi
Is anyone here using LaTeX/LyX to produce syllaby for classes? If so, 
do you use a standard class, your own producced class, or just a 
template? I looked on Ctan, but could not find anything, and as I am 
about to start converting quite a bit of material form framemaker to 
LaTex I'd like to be sure I am reinventing the wheel.
I am looking for a package that would provide environmentsand 
facilities useful to format  the standard sections of a syllabus: 
description, requirements, reading list, lecture list, etc.

Any help is appreciated.
Cheers,
Stefano
__
Stefano Franchi
Department of Philosophy  Ph:  (64) 9 373-7599 x83940
University Of Auckland  Fax: (64) 9 373-7408
Private Bag 92019   [EMAIL PROTECTED]
Auckland
New Zealand 


Re: Syllabus class (LaTeX/LyX)?

2005-05-13 Thread Bennett Helm
On May 13, 2005, at 2:03 PM, Stefano Franchi wrote:
Is anyone here using LaTeX/LyX to produce syllaby for classes? If so, 
do you use a standard class, your own producced class, or just a 
template? I looked on Ctan, but could not find anything, and as I am 
about to start converting quite a bit of material form framemaker to 
LaTex I'd like to be sure I am reinventing the wheel.
I am looking for a package that would provide environmentsand 
facilities useful to format  the standard sections of a syllabus: 
description, requirements, reading list, lecture list, etc.
Stefano -
I just use the standard classes/environments. Attached is a 
stripped-down sample, showing various ways I do things.

Bennett


sample-syllabus.lyx
Description: Binary data


Re: Syllabus class (LaTeX/LyX)?

2005-05-13 Thread Stefano Franchi

On May 13, 2005, at 11:25 AM, Bennett Helm wrote:
On May 13, 2005, at 2:03 PM, Stefano Franchi wrote:
Is anyone here using LaTeX/LyX to produce syllaby for classes? If so, 
do you use a standard class, your own producced class, or just a 
template? I looked on Ctan, but could not find anything, and as I am 
about to start converting quite a bit of material form framemaker to 
LaTex I'd like to be sure I am reinventing the wheel.
I am looking for a package that would provide environmentsand 
facilities useful to format  the standard sections of a syllabus: 
description, requirements, reading list, lecture list, etc.
Stefano -
I just use the standard classes/environments. Attached is a 
stripped-down sample, showing various ways I do things.

Bennett

Thanks Bennett. My syllabi are a bit more structured (tables, etc), but 
that is a good starting point. I suppose is not worth spending time on 
a class for such a small production job.

Stefano



__
Stefano Franchi
Department of Philosophy  Ph:  (64) 9 373-7599 x83940
University Of Auckland  Fax: (64) 9 373-7408
Private Bag 92019   [EMAIL PROTECTED]
Auckland
New Zealand 


Metapost problems

2005-05-13 Thread Paul A. Rubin
Hi all,
As the subject indicates, this is not really a LyX problem, but the last 
time I had a LaTeX-related question I had more luck here than on 
comp.text.tex.

I'm creating a Beamer presentation on Win XP (using MiKTeX and, of 
course, LyX), and I'm trying to embed some graphics.  I created them in 
Dia and exported them as Metapost (.mp) files.  I had to manually edit 
the line "" out of each .mp file, presumably because I'm using 
Windoze and not *nix.

Now comes the first problem.  I run mpost (the MiKTeX Metapost 
executable) against pic.mp, and it gives me pic.1, pic.mpx and pic.log. 
 To my untrained eye, pic.1 looks like a valid Postscript file, but if 
I try to open it with Ghostview, I get the error "/undefined in phvr8r". 
 Same thing happens if I run ps2ps against pic.1.  Now phvr8r is an 
Adobe Helvetica font, and I have phvr8r.pk in my local texmf tree and 
phvr8r.tfm in my regular texmf tree, so the font is installed.  Does 
anyone know what the error means and what I might do about it?

The second error (which may be related to the first) is that I can't 
seem to get LyX/Beamer to believe that pic.1 is in an appropriate 
graphic format.  I followed the suggestion in the Beamer manual to 
include \DeclareGraphicsRule{*}{mps}{*}{}, so that pic.1 should be 
interpreted as a .mps file, but all that bought me was a message that 
the graphics conversion script didn't know what to do with an MPS file. 
 So I tried \DeclareGraphicsRule{*}{eps}{*}{}, my thinking being that 
MPS is a special dialect (?) of EPS.  That didn't work, either, nor did 
renaming pic.1 to pic.eps.  (Failure of this last could tie back to the 
previous problem.)

So, for the moment, I'm stumped, and would be grateful for any advice.
TIA,
Paul


Re: Syllabus class (LaTeX/LyX)?

2005-05-13 Thread hansel
I just use article class with unnumbered sections. I don't adorn my 
syllabi with eye candy.

Mark Hansel

On Fri, 13 May 2005, Stefano Franchi wrote:

> Is anyone here using LaTeX/LyX to produce syllaby for classes? If so, 
> do you use a standard class, your own producced class, or just a 
> template? I looked on Ctan, but could not find anything, and as I am 
> about to start converting quite a bit of material form framemaker to 
> LaTex I'd like to be sure I am reinventing the wheel.
> I am looking for a package that would provide environmentsand 
> facilities useful to format  the standard sections of a syllabus: 
> description, requirements, reading list, lecture list, etc.
> 
> Any help is appreciated.
> 
> Cheers,


Create Formula Sheet

2005-05-13 Thread Hannan Sadar
Hi,

I would like to create a formula sheet. The problem is that latex is
not what you see is what you get and the LyX interface isn't that good
for thus kind of things, so i will need to write it in LaTeX.
What i would like to ask is, if someone had created some kind of
formula sheet in (Math, Physics, etc) which he\she is willing to
upload, so i could see how to shape the my formula sheet?

Thanks


Re: ec fonts

2005-05-13 Thread Matej Cepl
[EMAIL PROTECTED] scripsit:
> I'm very happy with lyx, but I've been advised to install ec fonts to get
> even better results. Two questions :
> - is installing ec fonts worth the bother ?

Are you sure, you haven't already installed them? They are usually part of
the very basic installation of TeTeX. What
kpsewhich ecrm.mf
gives you?

> - where to find some detailed howto that could help a somewhat newbie
> regarding Latex admin ?

http://faq.tug.org (or
locally /usr/share/doc/texmf/help/faq/uktug-faq/index.html) is not
"detailed HOWTO", but it can certainly put some light on some of your
questions (it seems to me, for example, that you actually do not want to
talk about EC fonts, but rather about CM-Super fonts -- which are EC fonts
in Type1, or maybe lmodern fonts).

For administration of TeX on Unix you want to
read /usr/share/doc/texmf/latex/general/guide.dvi.gz.

And if you want full comprehensive guide, then go to the local library or
buy books referenced in TeX FAQ referenced above (I prefer [Kopka, Daly],
which has the 3rd edition published last year).

Best,

Matej Cepl

-- 
Matej Cepl, http://www.ceplovi.cz/matej
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
He has the attention span of a lightning bolt.
  -- Robert Redford




Re: Metapost problems

2005-05-13 Thread Matej Cepl
Paul A. Rubin scripsit:
> Now comes the first problem.  I run mpost (the MiKTeX Metapost
> executable) against pic.mp, and it gives me pic.1, pic.mpx and pic.log.
>   To my untrained eye, pic.1 looks like a valid Postscript file, but if
> I try to open it with Ghostview, I get the error "/undefined in phvr8r".
>   Same thing happens if I run ps2ps against pic.1.  Now phvr8r is an
> Adobe Helvetica font, and I have phvr8r.pk in my local texmf tree and
> phvr8r.tfm in my regular texmf tree, so the font is installed.  Does
> anyone know what the error means and what I might do about it?

1) Add to the top of the MP file this line (which persuades MetaPost to
create correct Encapsulated PostScript):
prologues := 1;

Then rerun metapost and try the result with gs (not kghostview, because with
gs you can see, which fonts are loaded, or what actually ghostscript tried
to load).

Err, sorry you are on Windows, so gs won't work. OK, use GSView and then
find somewhere (I forgot where) menu item "Show messages" or something like
that. Check, what's going on.

2) phvr*.{pk,tfm} are TeX auxiliary files making it possible to work with
Type1 (aka Postscript) fonts in TeX. However, you are interested in .pfa
(or .pfb) fonts. You probably don't have real Helvetica (unless you have
installed some big Adobe programs, or at least Adobe Type Manager),
However, GhostScript is distributed with free work-alikes of Helvetica
called Nimbus Sans (look for a file n019003l.pfb). So, if you have correct
PostScript (like when you followed the advice no. 1), you should just open
the file with GhostView and it should just work. If it doesn't, let us
know.

> The second error (which may be related to the first) is that I can't
> seem to get LyX/Beamer to believe that pic.1 is in an appropriate
> graphic format.  I followed the suggestion in the Beamer manual to
> include \DeclareGraphicsRule{*}{mps}{*}{}, so that pic.1 should be

This command is of interest only for pdf{la}tex. If you are using plain
latex, then you should rename .1 file as .eps and it should be read by
dvips. Moreover, you don't have correct EPS (see above).

> interpreted as a .mps file, but all that bought me was a message that
> the graphics conversion script didn't know what to do with an MPS file.

yes, latex has no clue about MPS files, pdflatex does.

>   So I tried \DeclareGraphicsRule{*}{eps}{*}{}, my thinking being that
> MPS is a special dialect (?) of EPS.  That didn't work, either, nor did

Well, kind of -- Metapost's EPS is so simple, that somebody was able to
create TeX macros which convert it into internal codes of PDF, which could
be processed natively by pdftex.

Let us know about your progress,

Matej

-- 
Matej Cepl, http://www.ceplovi.cz/matej
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
There's nothing wrong with you that reincarnation won't cure.
  -- Jack F. Leonard




Re: Create Formula Sheet

2005-05-13 Thread William F. Adams
On May 13, 2005, at 3:56 PM, Hannan Sadar wrote:
I would like to create a formula sheet. The problem is that latex is
not what you see is what you get and the LyX interface isn't that good
for thus kind of things, so i will need to write it in LaTeX.
What i would like to ask is, if someone had created some kind of
formula sheet in (Math, Physics, etc) which he\she is willing to
upload, so i could see how to shape the my formula sheet?
I believe there's an example of this sort of thing in the TeX Showcase:
http://www.tug.org/texshowcase
http://www.tug.org/texshowcase/cheat.tar.gz
William
--
William Adams, publishing specialist
voice - 717-731-6707 | Fax - 717-731-6708
www.atlis.com


Mysterious error?

2005-05-13 Thread Stefano Franchi
I wonder if anyone can help me find out what the following error, which 
may be caused by BibTex+Jurabib may mean. When I try to compile the Lyx 
file (View-->Pdf) I get a series of errors, the first of which is:

File ended while scanning use of [EMAIL PROTECTED]@bel.
 \begin{document}
I suspect you have forgotten a `}', causing me
to read past where you wanted me to stop.
I'll try to recover; but if the error is serious,
you'd better type `E' or `X' now and fix your file.
The second and third one refer to a reference:
Extra }, or forgotten $.
   {Gill}{Mary~Louise}{M.~L.}{}{}} {}
   \bibAnnoteFile {Frede1994}
I've deleted a group-closing symbol because it seems to be
spurious, as in `$x}$'. But perhaps the } is legitimate and
you forgot something else, as in `\hbox{$x}'. In such cases
the way to recover is to insert both the forgotten and the
deleted material, e.g., by typing `I$}'.
then there are a couple more that seem to be directly related. I have 
checked and rechecked the bib file, but it seems to be ok.
Any help or pointer  is greatly appreciated.

Stefano
__
Stefano Franchi
Department of Philosophy  Ph:  (64) 9 373-7599 x83940
University Of Auckland  Fax: (64) 9 373-7408
Private Bag 92019   [EMAIL PROTECTED]
Auckland
New Zealand 


Re: Syllabus class (LaTeX/LyX)?

2005-05-13 Thread chr
On Fri, 13 May 2005, Bennett Helm wrote:

> On May 13, 2005, at 2:03 PM, Stefano Franchi wrote:
> 
> > Is anyone here using LaTeX/LyX to produce syllaby for classes? If so, 
> > do you use a standard class, your own producced class, or just a 
> > template? I looked on Ctan, but could not find anything, and as I am 
> > about to start converting quite a bit of material form framemaker to 
> > LaTex I'd like to be sure I am reinventing the wheel.
> > I am looking for a package that would provide environmentsand 
> > facilities useful to format  the standard sections of a syllabus: 
> > description, requirements, reading list, lecture list, etc.
> 
> Stefano -
> 
> I just use the standard classes/environments. Attached is a 
> stripped-down sample, showing various ways I do things.

I hope it's ok with you that I've added your example here
http://wiki.lyx.org/Examples/Syllabus

/Christian

-- 
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr