Re: Bibunits with a master document

2005-09-09 Thread Juergen Spitzmueller
[EMAIL PROTECTED] wrote:
 - should the \usepackage{bibunits} command be inserted in the master
 document preamble or in the included files preamble?

In the master document. If you intend to compile your child documents 
separately, put it also there.

 - should the \bibliographyunit[\chapter] command be inserted as ERT at
 the beginning of the master document or in its preamble?

At the beginning.

 - if I understand well, the following code (taken from the Wiki page)
 should be inserted in the preamble of the master document:
 \makeatletter
   [EMAIL PROTECTED]@bibunitauxcnt}
   \makeatother

yes.

Jürgen


Re: Turabian Style?

2005-09-09 Thread Georg Baum
Mhac Janapin wrote:

 However, our Department requires us to follow the Turabian Specifications
 in writing our paper. So in wanting to use Lyx, I tried to search for a
 style that follows the Turabian Specifications... and I don't think I
 found one.
 
 So:
 1) Is there an existing style available (from users here or even a
 downloadable one) that would follow Turabian?

I don't know of one. Note however that we have no 'styles' in LyX. Whe have
(among other things):

- LaTeX document classes (.cls). These are the 'sytles' in LaTeX. They can
be used in LyX only with an accompanying .layout file that tells LyX what
commands are available and how the document should look like on the LyX
screen. See also http://wiki.lyx.org/Layouts/Layouts.

- LaTeX packages (.sty). Many of them can be loaded into your document with
the \usepackage command in the preamble.

- Citation styles (.bst). These define how the bibliography will look like.
Some of them require an additional .sty file, too.

 2) If there's none, would it be easy to modify an existing style (without
 resorting much to LaTex)?

That depends. If you find one that is close to turabian you don't need much
LaTeX.

 3) Do I really have to resort to LaTeX?

It is quite easy to make a LaTeX document class known to LyX, see
http://wiki.lyx.org/Layouts/CreatingLayouts. If you don't have a LaTeX
class it is more difficult.

Searching for turabian latex gave this link:
http://gbsmith.freeshell.org/thesis/LaTeX/. Using this is even more simple,
since it is not a document class but a package file that can be used with

\usepackage{turabian}

in the preamble. The accompanying citation style turabian.bst should be
selectable in the bibtex dialog once it is correctly installed LaTeX-wise
and LyX has been reconfigured.


Georg



Re: Turabian Style?

2005-09-09 Thread Kevin Pfeiffer
Mhac Janapin writes:
 Hi Guys!
 I am new in this list, so please bear with my total ignorance. I am
 writing my Dissertation right now and *was* using a wordprocessor to
 do it. However, that word proc is quite lacking in doing what I
 intend to do. Then I stumbled on LaTeX which logically led me to Lyx.
[]
 However, our Department requires us to follow the Turabian
 Specifications in writing our paper. So in wanting to use Lyx, I
 tried to search for a style that follows the Turabian
 Specifications... and I don't think I found one.

 So:
 1) Is there an existing style available (from users here or even a
 downloadable one) that would follow Turabian?

The Turabian style appears to be based on Chicago. The TeX Catalogue 
lists a package and bib.sty called achicago. Perhaps someone here 
knows whether one could use this with LyX (I'm not smart enough). Here 
are the links:

http://www.tug.org/tex-archive/help/Catalogue/entries/achicago.html
http://www.tug.org/tex-archive/help/Catalogue/entries/achicago-bst.html

Last but not least, ask your department for a layout file. Perhaps the 
have one; if not, they will learn that there might be a need for one. 

-Kevin

-- 
Kevin Pfeiffer [EMAIL PROTECTED]
Tiros-Translations


Re: LyX doesn't store my PDF viewer info

2005-09-09 Thread Vaclav Smidl
I have seen similar problem on my colleagues computer, we resolved it using 
the workaround with PATH as described by Angus. 
To my understanding, the trouble is, that saving the full path
 F:\Program Files\Adobe\Acrobat 7.0\Reader\acrord32.exe
in the preferences, adds extra  around it, so that it looks like
 F:\Program Files\Adobe\Acrobat 7.0\Reader\acrord32.exe
and, when this is read by lyx, it appears as empty string ().

Vasek

 then everything works for the duration of that LyX session.

 But when I exit the program, and reenter the program, no viewer is
 listed when I select Edit-Preferences and look under PDF.  However,
 the viewer IS listed in the actual preferences file.  For some reason,
 LyX is failing to load this preference from the file.

 I tried Angus' suggested work-around of setting the path to include
 f:\Program Files\Adobe\Acrobat 7.0\Reader, and then just set the
 viewer to acrord32.exe.

 Interestingly, LyX IS able to load the path from the preferences file,
 and the viewer of just acrord32.exe just fine.  It can remember the
 viewer when it is acrord32.exe but not the longer full pathname, which
 is certainly a bit baffling.

 However, when I try to view the pdf with those settings, it IS able to
 open the viewer, but cannot find the temp pdflatexed file to open.
 Argh!  So, this combination of settings doesn't work, but for a
 completely different reason.

 --Mark

 On 9/8/05, Stephen P. Harris [EMAIL PROTECTED] wrote:
  - Original Message -
  From: Mark Engelberg [EMAIL PROTECTED]
  To: lyx-users@lists.lyx.org
  Sent: Thursday, September 08, 2005 1:01 PM
  Subject: LyX doesn't store my PDF viewer info
 
 
  When I set LyX to tell it the path and file name of my Acrobat Reader,
  it doesn't stick.
  When I quit, and restart it, and loses that info.
 
  --Mark
 
  My viewer has this path, C:\reader7\Reader\AcroRd32.exe
  Yours is probably in F:\program files\adobe etc
  So try using the full path name including the drive letter.
 
  Since you probably know to modify and save, perhaps
  the changes are being saved to the wrong partition.? Locate
  (all) your preferences file by searching all your partitions and
  remember to enable search hidden files and folders. Mine is
  C:\Documents and Settings\Stephen\Application Data\LyX
  Still, I think using the full path including drive letter should fix
  it, if any of the other preferences options are being read and
  you have only one preferences file.

-- 
-
Ing. Vaclav Smidl, Ph.D.tel: +420 26605 2420
AS department,  Institute   web: http://www.utia.cas.cz/AS/smidl/
of Information Theory and Automation,   fax: +420 26605 2068
Prague, Czech Republic


Re: Turabian Style?

2005-09-09 Thread Mhac Janapin
Thanks guys! I will check out all those recommendations.

Mhac

On 9/9/05, Kevin Pfeiffer [EMAIL PROTECTED] wrote:
 
 Mhac Janapin writes:
  Hi Guys!
  I am new in this list, so please bear with my total ignorance. I am
  writing my Dissertation right now and *was* using a wordprocessor to
  do it. However, that word proc is quite lacking in doing what I
  intend to do. Then I stumbled on LaTeX which logically led me to Lyx.
 []
  However, our Department requires us to follow the Turabian
  Specifications in writing our paper. So in wanting to use Lyx, I
  tried to search for a style that follows the Turabian
  Specifications... and I don't think I found one.
 
  So:
  1) Is there an existing style available (from users here or even a
  downloadable one) that would follow Turabian?
 
 The Turabian style appears to be based on Chicago. The TeX Catalogue
 lists a package and bib.sty called achicago. Perhaps someone here
 knows whether one could use this with LyX (I'm not smart enough). Here
 are the links:
 
 http://www.tug.org/tex-archive/help/Catalogue/entries/achicago.html
 http://www.tug.org/tex-archive/help/Catalogue/entries/achicago-bst.html
 
 Last but not least, ask your department for a layout file. Perhaps the
 have one; if not, they will learn that there might be a need for one.
 
 -Kevin
 
 --
 Kevin Pfeiffer [EMAIL PROTECTED]
 Tiros-Translations
 



-- 
Mhac Janapin
PBTS SysAd
www.pbts.net.ph http://www.pbts.net.ph
=
http://mulingsilang.blogspot.com
=
I'm an Open Source Enthusiast. c,)
Mozilla Firefox 1 - getfirefox.com http://getfirefox.com
Mozilla Thunderbird 1 - mozilla.org http://mozilla.org
OpenOffice.org 1
=


Re: LyX doesn't store my PDF viewer info

2005-09-09 Thread Jean-Marc Lasgouttes
 Angus == Angus Leeming [EMAIL PROTECTED] writes:

Angus Stephen P. Harris wrote:
 My viewer has this path, C:\reader7\Reader\AcroRd32.exe Yours is
 probably in F:\program files\adobe etc So try using the full path
 name including the drive letter.

Angus You should consider using the path_prefix variable to modify
Angus the PATH environment variable used by LyX so that it can just
Angus find AcroRd32.exe in the PATH.

Angus The variable can be set from the Edit-Preferences dialog,
Angus Paths pane or by editing the preferences file directly.

What using start as a viewer, with the appropriate options? I really
think most windows viewers should be just that.

JMarc


Re: LyX doesn't store my PDF viewer info

2005-09-09 Thread Jean-Marc Lasgouttes
 Mark == Mark Engelberg [EMAIL PROTECTED] writes:

Mark I am using the full path name. When I set the preferences file
Mark to: F:\Program Files\Adobe\Acrobat 7.0\Reader\acrord32.exe
Mark then everything works for the duration of that LyX session.

Mark But when I exit the program, and reenter the program, no viewer
Mark is listed when I select Edit-Preferences and look under PDF.
Mark However, the viewer IS listed in the actual preferences file.
Mark For some reason, LyX is failing to load this preference from the
Mark file.

The problem is that the name will be saved as something like
\viewer F:\Program Files\Adobe\Acrobat 7.0\Reader\acrord32.exe
which means that the  quotes are not parsed correctly. We should
escape these values.

JMarc



Re: LyX doesn't store my PDF viewer info

2005-09-09 Thread Angus Leeming
Vaclav Smidl wrote:

 I have seen similar problem on my colleagues computer, we resolved it
 using the workaround with PATH as described by Angus.
 To my understanding, the trouble is, that saving the full path
  F:\Program Files\Adobe\Acrobat 7.0\Reader\acrord32.exe
 in the preferences, adds extra  around it, so that it looks like
  F:\Program Files\Adobe\Acrobat 7.0\Reader\acrord32.exe
 and, when this is read by lyx, it appears as empty string ().

Thanks, for the diagnosis, Vasek. This is now bug #2016:
http://bugzilla.lyx.org/show_bug.cgi?id=2016

-- 
Angus



Re: confusion: interword spacing vs. unbreakble space

2005-09-09 Thread Kevin Pfeiffer
Juergen Spitzmueller writes:
 David Soukal wrote:
  I'm very confused about how to properly create an interword space.
  In LaTeX the standard way is to use \  for an interword space and
  \@ for the end-of-sentence spacing after punctuation. I was used to
  typing
 
  bla, e.g.\ bla

 correct is:
 bla, e.\,g.\ bla
 (with thinspace inbetween the abbreviation).

(Sorry about beating a dead horse...)

What about a situation such as this: Fig. 26? To my eye, the interword 
space behind the abbreviating period seems too wide. Should this be a 
thin space instead? 

-K

-- 
Kevin Pfeiffer [EMAIL PROTECTED]
Tiros-Translations


Re: Setting Font

2005-09-09 Thread Roy Schestowitz

_/ On Fri 09 Sep 2005 09:07:37 BST, [s.vestli] wrote : \_





 I seem to be unable to change the font. No matter ..
Are you unable to change screen fonts? Output/printout fonts? With the

cursor

over text with modified font/s, can you see an alterative font name in

the

status bar?


I am talking about the Output fonts. I have tried:
Layout - Document - Layout - Font  size (e.g. font to helvet)
and
Layout - Document - Preamble, inserted \usepackage[scaled=0.92]
{helvet}
and
both above combined

Document class is report.



Make sure you make a selection before choosing fonts and then press 
Apply. If

you do not hit Apply, no changes will be made. It is confusing, I would have
to admit, especially due to WYSIWYG habits.



How have you gone about changing fonts? Have you highlighted the text,

then

opened the Character menu, changed the fonts and applied changes to the
selection?


see above.


In your output, do you see high-resolution fonts?


The only thing I see in my output is (a rather nice) Times.



What font was chosen for the document in its entirety? Is it using the default
for report, which may be Times?



BTW, I cannot see any font names in the status bar.



I think this may be the cause of the problem. When placing the keyboard cursor
over text with modified fonts/size, the status bar should be accommodated with
a string, e.g. Font: Helvetica.



Kind regards

Sjur J.
Vestli


Hope it helps,

Roy

--
Roy S. Schestowitz  | $ sudo root; cd /; rm -rf *.doc
http://Schestowitz.com  |SuSE Linux| PGP-Key: 74572E8E
10:30am  up 15 days 12:22,  3 users,  load average: 1.39, 1.07, 1.18



colophon info for LyX/LaTeX?

2005-09-09 Thread Kevin Pfeiffer
Is there any standardized material about LyX, etc. that I can use in the 
colophon for the book I am working on? Something in German would be 
even better. 

Is there anything else that needs to be (or should be) included in a 
book produced  using LyX (and with the help of the lyx-users list)?

-K


-- 
Kevin Pfeiffer [EMAIL PROTECTED]
Tiros-Translations


Re: Problems installing 1.3.6-1 RPMs

2005-09-09 Thread Paul Smith
On 9/9/05, Peter Flynn [EMAIL PROTECTED] wrote:
 I just tried to install Lyx from the 1.3.6-1 RPMs.
 
 It can't find the commands kpsewhich and texhash, which is weird because
 they are both in the global path. The TeX is a new full install from the
 TeX Collection DVD.
 
 How do I get around this? Is the postinstall script SUing to some
 strange UID (the RPM install is done as root, of course).
 
 This happens for both xforms and qt versions (tried both) and now they
 won't uninstall cleanly either, because they're trying to undo stuff
 that never got done.

Apparently, the problem is not caused by LyX. Try to run (as root) on
the command line the two problematic commands (kpsewhich and texhash).
In case they do not work, it makes clear that the problem is not LyX
related.

Paul


Bibliography style

2005-09-09 Thread christiaan johannes pauw
I am writing a thesis in Afrikaans using Lyx 1.3.4 on SuSE 9.1. I use 
the report document style and ampsrmp.bst form my Bibliography style. 
Under layout-Document-Bibliography I selected use natbib with option 
Author-year. I have hacked ampsrmp.bst a bit to include al the correct 
Afrikaans terms (the version I had was incomplete).


Before I selected use natbib the citation style was something like 
[Barth(1948), 40]. Now it is (Barth, 1948, 40). What I would like is 
(Barth 1948:40). Is there something I can do to change the .bst file or 
use something else to  achieve that?


Thanks in advance. Lyx is great

Regards
Christiaan


Letter. No address in Dvi/ps/pdf output

2005-09-09 Thread christiaan johannes pauw

I use lyx 1.3.4 on SuSE 9.1

When I write a letter using the letter document class (selected under 
Layout- Document) and format text as 'My address' or 'send to address' 
the don't show up in the dvi output or only one line shows up. I have 
tried to select the address line one by one, but it doesn't seem to work 
- it only gives the last line of the address.


What is wrong? Do I need to install something extra

Regards
Christiaan



Re: Bibliography style

2005-09-09 Thread Martin A. Hansen
try latex makebst


martin

On 09/09/05, christiaan johannes pauw [EMAIL PROTECTED] wrote:
 
 I am writing a thesis in Afrikaans using Lyx 1.3.4 on SuSE 9.1. I use
 the report document style and ampsrmp.bst form my Bibliography style.
 Under layout-Document-Bibliography I selected use natbib with option
 Author-year. I have hacked ampsrmp.bst a bit to include al the correct
 Afrikaans terms (the version I had was incomplete).
 
 Before I selected use natbib the citation style was something like
 [Barth(1948), 40]. Now it is (Barth, 1948, 40). What I would like is
 (Barth 1948:40). Is there something I can do to change the .bst file or
 use something else to achieve that?
 
 Thanks in advance. Lyx is great
 
 Regards
 Christiaan



Re: Letter. No address in Dvi/ps/pdf output

2005-09-09 Thread Axel Dessecker
Christiaan,

Am Freitag, 9. September 2005 13:26 schrieb christiaan johannes pauw:
 When I write a letter using the letter document class (selected under
 Layout- Document) and format text as 'My address' or 'send to address'
 the don't show up in the dvi output or only one line shows up. I have
 tried to select the address line one by one, but it doesn't seem to work
 - it only gives the last line of the address.

Your address should only be one paragraph. For a new line, press 
CTRLENTER.

Axel


Re: colophon info for LyX/LaTeX?

2005-09-09 Thread Kevin Pfeiffer
Kevin Pfeiffer writes:
 Is there any standardized material about LyX, etc. that I can use in
 the colophon for the book I am working on? Something in German would
 be even better.

 Is there anything else that needs to be (or should be) included in a
 book produced  using LyX (and with the help of the lyx-users list)?

This is what I have so far:
Das Buch wurde mit LyX (http: www.lyx.org) und LaTeX/TeX erstellt.
(The book was produced using LyX (...) and LaTeX/TeX.)

Very dull and not too informative. It occurs to me that I should also 
include a credit for the koma-book layout/style.

-K

-- 
Kevin Pfeiffer [EMAIL PROTECTED]
Tiros-Translations


CVS access down?

2005-09-09 Thread David Soukal

Hello everybody,

I've been trying to download LyX from the CVS without any success for 
several day now. Can somebody, please, confirm that the server is 
unaccessible? Or is the problem on our side?


I don't remember the cvs command, so I tried to click on Details can be 
 found here on the Download page at LyX.org. However I always get a 
timeout.


Our internet connection has been acting strangely lately, so I assume 
the problem is here...


Thanks,

David


Re: CVS access down?

2005-09-09 Thread Angus Leeming
David Soukal wrote:

 Hello everybody,
 
 I've been trying to download LyX from the CVS without any success for
 several day now. Can somebody, please, confirm that the server is
 unaccessible? Or is the problem on our side?

Are you using the anoncvs.us.lyx.org mirror of the cvs repository? If so,
then the directory has indeed changed, as described here:

http://thread.gmane.org/gmane.editors.lyx.devel/47733
Please change all references of /cvs to /var/cvs when referring to
cvs.sylvan.com (AKA anoncvs.us.lyx.org).

Georg Baum noted that:
A handy utility to convert your existing checked out directory is
'cvschroot', available from http://www.red-bean.com/cvsutils/

Alternatively, a little bit of scripting should do the job. (You'll want to
modify the CVS/Root files.)

 I don't remember the cvs command, so I tried to click on Details can be
   found here on the Download page at LyX.org. However I always get a
 timeout.

This one is also our problem. www.devel.lyx.org is currently dead.

 Our internet connection has been acting strangely lately, so I assume
 the problem is here...
 
 Thanks,
 
 David

-- 
Angus



Re: CVS access down?

2005-09-09 Thread David Soukal

Are you using the anoncvs.us.lyx.org mirror of the cvs repository? If so,
then the directory has indeed changed, as described here:

http://thread.gmane.org/gmane.editors.lyx.devel/47733
Please change all references of /cvs to /var/cvs when referring to
cvs.sylvan.com (AKA anoncvs.us.lyx.org).


It's been some time since I last used CVS version of LyX so I don't 
remember which mirror I used, but I followed the instructions described 
on the main LyX.org site.






I don't remember the cvs command, so I tried to click on Details can be
 found here on the Download page at LyX.org. However I always get a
timeout.




I've read the thread but I still cannot figure out the whole cvs 
command. Could you, please, write it down for me? I'm sorry, I don't 
have that much experience with CVS so it's hard for me to derive the 
command + paths...


We're using LyX 1.3.6 for our publications needs :) But I thought I'd 
give 1.4 a try for my thesis...


Thank you for your help,

David


Re: CVS access down?

2005-09-09 Thread Angus Leeming
David Soukal wrote:
 I've read the thread but I still cannot figure out the whole cvs
 command. Could you, please, write it down for me? I'm sorry, I don't
 have that much experience with CVS so it's hard for me to derive the
 command + paths...

 CVSROOT=pserver:[EMAIL PROTECTED]:/var/cvs/lyx
 export CVSROOT
 cvs login
 (the password is lyx)
 cvs checkout -d your_dir_name lyx-devel

-- 
Angus



Re: CVS access down?

2005-09-09 Thread Angus Leeming
Angus Leeming wrote:

 David Soukal wrote:
 I've read the thread but I still cannot figure out the whole cvs
 command. Could you, please, write it down for me? I'm sorry, I don't
 have that much experience with CVS so it's hard for me to derive the
 command + paths...

That's:

  CVSROOT=pserver:anoncvs AT anoncvs.us.lyx.org:/var/cvs/lyx
  export CVSROOT
  cvs login
  (the password is lyx)
  cvs checkout -d your_dir_name lyx-devel

for those of us reading this mail through the gmane news gateway.
Replace  AT  with @.

-- 
Angus



Re: Problems installing 1.3.6-1 RPMs

2005-09-09 Thread Paul A. Rubin

Peter Flynn wrote:

I just tried to install Lyx from the 1.3.6-1 RPMs.

It can't find the commands kpsewhich and texhash, which is weird because 
they are both in the global path. The TeX is a new full install from the

TeX Collection DVD.

How do I get around this? Is the postinstall script SUing to some
strange UID (the RPM install is done as root, of course).

This happens for both xforms and qt versions (tried both) and now they
won't uninstall cleanly either, because they're trying to undo stuff
that never got done.

It's not just kpsewhich and texhash -- both install scripts failed to 
find a working latex executable.


IIRC, the install scripts for look for latex and latex2e by trying to 
execute them.  Assuming that your latex executable is on the global path 
and works (which you can test by trying to run it from a shell prompt), 
you might check whether there's a permissions problem (is the LyX 
install script running under an account that can access the LaTeX 
installation).


Paul



Re: CVS access down?

2005-09-09 Thread David Soukal


 CVSROOT=pserver:[EMAIL PROTECTED]:/var/cvs/lyx
 export CVSROOT
 cvs login
 (the password is lyx)
 cvs checkout -d your_dir_name lyx-devel



Thank you Angus, this works perfect! I have the sources now!

However, later I ran into the following two problems:

1) tex2lyx won't compile, if fails with the following error

counters.o(.text+0x1090): In function 
`Counters::enumLabel(std::basic_stringchar, std::char_traits 


  char, std::allocatorchar  const, Buffer const)':
/home/david/temp/lyx/lyx-devel/src/tex2lyx/counters.C:336: undefined 
reference to `Buffer::B_(std:: 

basic_stringchar, std::char_traitschar, std::allocatorchar  
const) const'


2) I configured lyx with --prefix=/home/david/temp/lyx-install to have 
LyX installed in my local working directory, but when I tried to run 
LyX, I got this error:


Unable to determine the system directory having searched
/home/david/temp/lyx-install/share/lyx/
Try the '-sysdir' command line parameter or set the environment variable 
LYX_DIR_14x to the LyX system directory containing the file `chkconfig.ltx'.


I suppose 1) and 2) are not related. So 2) is really a problem (since 
I'm writing my thesis from scratch). I did install LyX this way some 
months ago (version 1.4.0) and it did work.


Thank you for any suggestions,

David


Re: LyX doesn't store my PDF viewer info

2005-09-09 Thread Paul A. Rubin

Mark Engelberg wrote:

I tried Angus' suggested work-around of setting the path to include
f:\Program Files\Adobe\Acrobat 7.0\Reader, and then just set the
viewer to acrord32.exe.

Interestingly, LyX IS able to load the path from the preferences file,
and the viewer of just acrord32.exe just fine.  It can remember the
viewer when it is acrord32.exe but not the longer full pathname, which
is certainly a bit baffling.

However, when I try to view the pdf with those settings, it IS able to
open the viewer, but cannot find the temp pdflatexed file to open. 
Argh!  So, this combination of settings doesn't work, but for a

completely different reason.


Since we now know why the first approach failed, let's focus on getting 
this to work.  I assume from your wording that Reader is *not* open 
prior to your clicking View-PDF (pdflatex) in LyX.  (It's a known 
problem that an already open copy of Reader will report being unable to 
open the .pdf file in the temp directory, and there are various 
workarounds posted.)  So clicking View-PDF (pdflatex) causes Reader to 
open, but it fails to find the file it's supposed to display.


First question:  Does the output file exist?  If so, can you open it by 
double-clicking it?  I think I've had this happen when a compile problem 
actually caused pdflatex to fail to generate the output file.  (I can't 
recall the precise circumstances.)  I'm pretty sure it's also happened 
to me when pdflatex was able to process the .tex file but was blocked by 
the OS from writing the .pdf output (because a file of the same name 
already existed and had a lock on it), although that doesn't sound like 
your problem.


If the file exists, then there may be a problem with the path to it. 
One way to test that is as follows.  Create the following two-line batch 
file (putting it in the directory where Reader lives would be a good idea).


echo Looking for input file %1
pause

Call it reader.bat, say.  Then change the viewer entry from acrord32.exe 
to reader.bat and try View-PDF (pdflatex).  This will show you the path 
to the .pdf output being fed to Reader.


Paul





Re: Bibunits with a master document

2005-09-09 Thread jorgen johansson

Hello,

The wiki bibunits example page has a problem with the links , after some 
fiddling  I managed to download the files from

http://wiki.lyx.org/uploads/Examples/Bibunits/bibunits_KomaArticle.lyx
http://wiki.lyx.org/uploads/Examples/Bibunits/refs.bib

I don't seem to be able to get the example at 
http://wiki.lyx.org/pmwiki.php/Examples/Bibunits to work either. The 
reference under subsection Papers in the first section does not appear 
 when compiling the document within lyx 1.3.6-1 for windows.


export to latex and compiling as instructed in bibunits documentation 
works fine. Would be great if it worked from within lyx. The compilation 
of all the .aux files is tedious.


Thanks for a great program

jorgen


[EMAIL PROTECTED] wrote:

Hi

I have a master lyx document containing a number of chapters (lyx files),
inserted using include mode. Every chapter contains its own Bibtex Generated
References.

I would like to produce one references section for each chapter using the
bibunits package. I am using Windows XP and Lyx 1.3.5

I have read the Wiki pages, searched the Lyx User mailing list and the bibunits
package documentation and I still have some questions:

- should the \usepackage{bibunits} command be inserted in the master document
preamble or in the included files preamble?

- should the \bibliographyunit[\chapter] command be inserted as ERT at
the beginning of the master document or in its preamble?

- if I understand well, the following code (taken from the Wiki page) should
be inserted in the preamble of the master document:
\makeatletter
  [EMAIL PROTECTED]@bibunitauxcnt}
  \makeatother

Any help will be greatly appreciated
thanks a lot
Hassoun






Re: CVS access down?

2005-09-09 Thread David Soukal



However, later I ran into the following two problems:

1) tex2lyx won't compile, if fails with the following error

counters.o(.text+0x1090): In function 
`Counters::enumLabel(std::basic_stringchar, std::char_traits

  char, std::allocatorchar  const, Buffer const)':
/home/david/temp/lyx/lyx-devel/src/tex2lyx/counters.C:336: undefined 
reference to `Buffer::B_(std::
basic_stringchar, std::char_traitschar, std::allocatorchar  
const) const'


2) I configured lyx with --prefix=/home/david/temp/lyx-install to have 
LyX installed in my local working directory, but when I tried to run 
LyX, I got this error:


Unable to determine the system directory having searched
/home/david/temp/lyx-install/share/lyx/
Try the '-sysdir' command line parameter or set the environment variable 
LYX_DIR_14x to the LyX system directory containing the file 
`chkconfig.ltx'.


I suppose 1) and 2) are not related. So 2) is really a problem (since 
I'm writing my thesis from scratch). I did install LyX this way some 
months ago (version 1.4.0) and it did work.




I was mistaken, the problem 1) is not a failure in tex2lyx, I disables 
tex2lyx from configure.ac and rerun everything but the problem is still 
there. The very same error (undefined reference to Buffer::B_) causes 
the rest of the compilation to fail.


First I thought the problem was localized to tex2lyx and thought that 
LyX compiled just fine... Now it seems that 1) and 2) are related.


David


Re: LyX doesn't store my PDF viewer info

2005-09-09 Thread Stephen P. Harris


- Original Message - 
From: Jean-Marc Lasgouttes [EMAIL PROTECTED]

To: [EMAIL PROTECTED]
Cc: Stephen P. Harris [EMAIL PROTECTED]; 
lyx-users@lists.lyx.org

Sent: Friday, September 09, 2005 1:22 AM
Subject: Re: LyX doesn't store my PDF viewer info



Mark == Mark Engelberg [EMAIL PROTECTED] writes:


Mark I am using the full path name. When I set the preferences file
Mark to: F:\Program Files\Adobe\Acrobat 7.0\Reader\acrord32.exe
Mark then everything works for the duration of that LyX session.

Mark But when I exit the program, and reenter the program, no viewer
Mark is listed when I select Edit-Preferences and look under PDF.
Mark However, the viewer IS listed in the actual preferences file.
Mark For some reason, LyX is failing to load this preference from the
Mark file.

The problem is that the name will be saved as something like
\viewer F:\Program Files\Adobe\Acrobat 7.0\Reader\acrord32.exe
which means that the  quotes are not parsed correctly. We should
escape these values.

JMarc




Windows provided quotes to get around paths that had directories
with spaces in them for a long time, which is now broken in LyX.
One way to get around it is to install in directories without spaces
because the path doesn't need to be quoted.
C:\reader7\Reader\AcroRd32.exe

However the case of
{c:}F:\Program Files\Adobe\Acrobat 7.0\Reader\acrord32.exe

In my experience this will work if the directories with spaces are
internally directory quoted, both program files and acrobat 7.0.
It took me 25 tedious minutes to get the syntax correct so that
isn't a solution. I seem to remember there was still some problem.
Also I did it with c:\documents and settings\.\application data\




Re: LyX doesn't store my PDF viewer info

2005-09-09 Thread Stephen P. Harris


- Original Message - 
From: Angus Leeming [EMAIL PROTECTED]

To: lyx-users@lists.lyx.org
Sent: Friday, September 09, 2005 1:24 AM
Subject: Re: LyX doesn't store my PDF viewer info



Vaclav Smidl wrote:


I have seen similar problem on my colleagues computer, we resolved it
using the workaround with PATH as described by Angus.
To my understanding, the trouble is, that saving the full path
 F:\Program Files\Adobe\Acrobat 7.0\Reader\acrord32.exe
in the preferences, adds extra  around it, so that it looks like
 F:\Program Files\Adobe\Acrobat 7.0\Reader\acrord32.exe
and, when this is read by lyx, it appears as empty string ().


Thanks, for the diagnosis, Vasek. This is now bug #2016:
http://bugzilla.lyx.org/show_bug.cgi?id=2016

--
Angus




Angus, I am not sure that I understand how this bug is different
than the one you described before when you gave as example:
\viewer pdf C:\Program Files\Adobe\Acrobat 7.\Acrobat\acrobat.exe $$i
The current bug seems the same as the bug discussed below and it seems
that a solution was discovered but apparently not implemented.

Re: Putting Paths in quotes
Angus Leeming
Sun, 10 Jul 2005 03:03:14 -0700

Stephen Harris wrote:


I was reading a discussion about assigning acrord32.exe
as the the pdf file format viewer in WinLyx 1.3.5, using
the full path in quotes if just placing acrord32 in the pdf
viewer field didn't work [so this next line was the fix to this]:
C:\Program Files\Adobe\Acrobat 7.0\Reader\AcroRd32.exe

Using quotes doesn't seem to work in 1.3.6pre (18?); a blank
field is created which appears to revert to the Acro*.exe
Modify, apply, save, does not save or apply the quoted field
change, then, or later, after closing and re-opening.


H. First the workaround. Add the directory containing acrobat.exe to
your path_prefix entry (PATH prefix widget in the Paths pane of the
Edit-Preferences dialog).

Now for the problem (bug). If you look in your preferences file
 C:\Documents and Settings\Stephen\Application Data\lyx\preferences
you'll see that your modification is saved as:

\viewer pdf C:\Program Files\Adobe\Acrobat 7.0\Acrobat\acrobat.exe
$$i

Jean-Marc, how should we address this? Should we protect characters within
the -protected string? Ie save

\viewer pdf \C:\\Program Files\\Adobe\\Acrobat
7.0\\Acrobat\\acrobat.exe\ $$i

and adjust LyXRC::getString appropriately? Or perhaps we should read
everything after '\viewer pdf' as being the viewer?

Geeez! These paths with spaces get everywhere!

--
AngusJMarc replied:Angus \viewer pdf \C:\\Program Files\\Adobe\\Acrobat
Angus 7.0\\Acrobat\\acrobat.exe\ $$i

Actually, lyxlex wiill work correctly provided you escape the
double-quote character. There is no need to escape the backslash
itself...

Angus and adjust LyXRC::getString appropriately?

I do not think you need to adjust anything3/ we should handle  in the 
contents of viewers and other commands.

To do this we should change the code that writes these commands to
change  to \. No other change should be necessary (because
lex.next(true) handles that).

Is that clearer? JMarcAngus replied:It is perfectly clear. But 3/ doesn't 
work out of the box ATM.


\viewer pdf \C:\Program Files\Adobe\Acrobat 7.0\Reader\AcroRd32.exe\ 
$$i 
..Regards,Stephen







Sand out code

2005-09-09 Thread Jordi Espasa Clofent
Hi all,

I use Lyx to make the techincals docs for my work. Sometimes I include few 
lines of code (v.g, shell-scripting, perl...) in that docs, but I don't know 
the way to stand out these lines.

Until the present day I've used the Empashis option but it doesn't makes 
anything when I convert the output in HTML format (I use late2html) and only 
makes an italic letter in PDF output format.

¿Any suggest/ advice?

Thanks in advance.
-- 
Salut,
Jordi Espasa


pgpawNniWb9FU.pgp
Description: PGP signature


Re: Stand out code

2005-09-09 Thread Kevin Pfeiffer
Jordi Espasa Clofent writes:
 I use Lyx to make the techincals docs for my work. Sometimes I
 include few lines of code (v.g, shell-scripting, perl...) in that
 docs, but I don't know the way to stand out these lines.

 Until the present day I've used the Empashis option but it doesn't
 makes anything when I convert the output in HTML format (I use
 late2html) and only makes an italic letter in PDF output format.

One of the few questions I might be able to answer (assuming I 
understood what you want). Have you tried the environment LyX-Code? 
It will make your code stand out in that it will be set in a 
monospaced, typewriter-like font.

Apologies if this is not what you were asking.

-K


-- 
Kevin Pfeiffer [EMAIL PROTECTED]
Tiros-Translations


Simple questions.

2005-09-09 Thread Mike Meyer
Bcc: [EMAIL PROTECTED]
X-Primary-Address: [EMAIL PROTECTED]
X-face: 5Mnwy%?jIIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`(,SiLvbbz2W`;h9L,Yg`+vb1RG%
 *h+%X^n0EZdTM8_IB;a8F?(Fblw'IgCoyM.[Lg#r\
--text follows this line--
1) Has anyone done a layout file for unixman.sty? Google didn't turn
   one up, nor did google turn up an archive of LyX layout files.

2) I know this has to have been discussed to death - probably
   repeatedly - but I couldn't seem to find the right query to tickle
   google or the list archives into kicking it up. Could someone
   provide a pointer to a rational for going with a single window
   instead of the far more common multiple window approach? Or even tabs?

Thanks,
mike
-- 
Mike Meyer [EMAIL PROTECTED]  http://www.mired.org/consulting.html
Independent Network/Unix/Perforce consultant, email for more information.


Re: Sand out code

2005-09-09 Thread Robert Orr


--- Jordi Espasa Clofent [EMAIL PROTECTED] wrote:

 Hi all,
 
 I use Lyx to make the techincals docs for my work.
 Sometimes I include few 
 lines of code (v.g, shell-scripting, perl...) in
 that docs, but I don't know 
 the way to stand out these lines.
 
 Until the present day I've used the Empashis option
 but it doesn't makes 
 anything when I convert the output in HTML format (I
 use late2html) and only 
 makes an italic letter in PDF output format.
 
 ¿Any suggest/ advice?
 
 Thanks in advance.
 -- 
 Salut,
   Jordi Espasa
 

I think you are going to be better off using the
Listings package.

Take a look at the tips and tricks for listings
package.

http://tug.org/TeXnik/mainFAQ.cgi?file=listings/examples






__
Click here to donate to the Hurricane Katrina relief effort.
http://store.yahoo.com/redcross-donate3/


Re: Problems installing 1.3.6-1 RPMs

2005-09-09 Thread Peter Flynn

Paul Smith wrote:

On 9/9/05, Peter Flynn [EMAIL PROTECTED] wrote:


I just tried to install Lyx from the 1.3.6-1 RPMs.

It can't find the commands kpsewhich and texhash, which is weird because
they are both in the global path. The TeX is a new full install from the
TeX Collection DVD.

How do I get around this? Is the postinstall script SUing to some
strange UID (the RPM install is done as root, of course).

This happens for both xforms and qt versions (tried both) and now they
won't uninstall cleanly either, because they're trying to undo stuff
that never got done.



Apparently, the problem is not caused by LyX. Try to run (as root) on
the command line the two problematic commands (kpsewhich and texhash).
In case they do not work, it makes clear that the problem is not LyX
related.


I'm sorry, I should have made it clear that the TeX installation works
correctly: texhash and kpsewhich are fully functional both as root and
for logged-in users.

///Peter


Re: Problems installing 1.3.6-1 RPMs

2005-09-09 Thread Peter Flynn

Paul A. Rubin wrote:

Peter Flynn wrote:


I just tried to install Lyx from the 1.3.6-1 RPMs.

It can't find the commands kpsewhich and texhash, which is weird 
because they are both in the global path. The TeX is a new full 
install from the

TeX Collection DVD.

How do I get around this? Is the postinstall script SUing to some
strange UID (the RPM install is done as root, of course).

This happens for both xforms and qt versions (tried both) and now they
won't uninstall cleanly either, because they're trying to undo stuff
that never got done.

It's not just kpsewhich and texhash -- both install scripts failed to 
find a working latex executable.


IIRC, the install scripts for look for latex and latex2e by trying to 
execute them.  Assuming that your latex executable is on the global path 
and works (which you can test by trying to run it from a shell prompt), 


Yes, all that is working fine. The problem does not appear to lie with 
the installation of TeX.


you might check whether there's a permissions problem (is the LyX 
install script running under an account that can access the LaTeX 
installation).


How do I know what account the LyX postinstall script from the RPM has
picked to run as? The RPM was installed as root, of course, but if LyX
has picked something else to use to run its script, that is hidden from
sight -- what's the best way to find out (and why on earth would they
want to do such a weird thing anyway?).

kpsewhich and all the TeX binaries are in /usr/local/bin, which is in
every user's path, AFAIK.

At the moment could someone note on the web site that LyX is not
installable with the RPMs on stock FC4 with the teTeX from the TeX
Collection DVD.

Is anyone out there using LyX on FC4?

///Peter


Re: LyX doesn't store my PDF viewer info

2005-09-09 Thread Mark Engelberg
I was able to solve the problem by replacing my path with the
non-space equivalents so I wouldn't need to put the extra quotes
around it, which is definitely what was throwing things off.

So now my preferences says: 
\viewer pdf2 F:\Progra~1\Adobe\Acroba~2.0\Reader\acrord32.exe

All files and directories with spaces in Windows also have some
non-space 8.3 alias.  So that's all I had to do.

Thanks for the help everyone,

Mark

On 9/9/05, Stephen P. Harris [EMAIL PROTECTED] wrote:
 
 - Original Message -
 From: Jean-Marc Lasgouttes [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Cc: Stephen P. Harris [EMAIL PROTECTED];
 lyx-users@lists.lyx.org
 Sent: Friday, September 09, 2005 1:22 AM
 Subject: Re: LyX doesn't store my PDF viewer info
 
 
  Mark == Mark Engelberg [EMAIL PROTECTED] writes:
 
  Mark I am using the full path name. When I set the preferences file
  Mark to: F:\Program Files\Adobe\Acrobat 7.0\Reader\acrord32.exe
  Mark then everything works for the duration of that LyX session.
 
  Mark But when I exit the program, and reenter the program, no viewer
  Mark is listed when I select Edit-Preferences and look under PDF.
  Mark However, the viewer IS listed in the actual preferences file.
  Mark For some reason, LyX is failing to load this preference from the
  Mark file.
 
  The problem is that the name will be saved as something like
  \viewer F:\Program Files\Adobe\Acrobat 7.0\Reader\acrord32.exe
  which means that the  quotes are not parsed correctly. We should
  escape these values.
 
  JMarc
 
 
 
 Windows provided quotes to get around paths that had directories
 with spaces in them for a long time, which is now broken in LyX.
 One way to get around it is to install in directories without spaces
 because the path doesn't need to be quoted.
 C:\reader7\Reader\AcroRd32.exe
 
 However the case of
 {c:}F:\Program Files\Adobe\Acrobat 7.0\Reader\acrord32.exe
 
 In my experience this will work if the directories with spaces are
 internally directory quoted, both program files and acrobat 7.0.
 It took me 25 tedious minutes to get the syntax correct so that
 isn't a solution. I seem to remember there was still some problem.
 Also I did it with c:\documents and settings\.\application data\
 
 



trouble with latex2html on SuSE9.3

2005-09-09 Thread John O'Gorman
I have happily used LyX with latex2html for years to create web pages.

Now I find that with the version which comes with SuSE 9.3, the
latex2html is broken.

Has anyone else met, and solved this problem?

regards
John O'Gorman



Re: trouble with latex2html on SuSE9.3

2005-09-09 Thread Roy Schestowitz

_/ On Sat 10 Sep 2005 02:13:11 BST, [John O'Gorman] wrote : \_


I have happily used LyX with latex2html for years to create web pages.

Now I find that with the version which comes with SuSE 9.3, the
latex2html is broken.

Has anyone else met, and solved this problem?

regards
John O'Gorman


Can you please provide more details so that the problem might be pin-pointed?
Are the images not displayed? Do you receive a fatal error message? have you
tried to install latex2html yourself? I compiled latex2html from the 
source and

there were never any issues. I think there are some RPM's too, which simplify
things considerably.

http://saftsack.fs.uni-bayreuth.de/~latex2ht/node6.html

--
Roy S. Schestowitz  | Useless fact: 21978 x 4 = 21978 backwards
http://Schestowitz.com  |SuSE Linux| PGP-Key: 74572E8E
 3:10am  up 16 days  5:02,  3 users,  load average: 0.54, 0.84, 0.60



Re: Bibunits with a master document

2005-09-09 Thread Juergen Spitzmueller
[EMAIL PROTECTED] wrote:
 - should the \usepackage{bibunits} command be inserted in the master
 document preamble or in the included files preamble?

In the master document. If you intend to compile your child documents 
separately, put it also there.

 - should the \bibliographyunit[\chapter] command be inserted as ERT at
 the beginning of the master document or in its preamble?

At the beginning.

 - if I understand well, the following code (taken from the Wiki page)
 should be inserted in the preamble of the master document:
 \makeatletter
   [EMAIL PROTECTED]@bibunitauxcnt}
   \makeatother

yes.

Jürgen


Re: Turabian Style?

2005-09-09 Thread Georg Baum
Mhac Janapin wrote:

 However, our Department requires us to follow the Turabian Specifications
 in writing our paper. So in wanting to use Lyx, I tried to search for a
 style that follows the Turabian Specifications... and I don't think I
 found one.
 
 So:
 1) Is there an existing style available (from users here or even a
 downloadable one) that would follow Turabian?

I don't know of one. Note however that we have no 'styles' in LyX. Whe have
(among other things):

- LaTeX document classes (.cls). These are the 'sytles' in LaTeX. They can
be used in LyX only with an accompanying .layout file that tells LyX what
commands are available and how the document should look like on the LyX
screen. See also http://wiki.lyx.org/Layouts/Layouts.

- LaTeX packages (.sty). Many of them can be loaded into your document with
the \usepackage command in the preamble.

- Citation styles (.bst). These define how the bibliography will look like.
Some of them require an additional .sty file, too.

 2) If there's none, would it be easy to modify an existing style (without
 resorting much to LaTex)?

That depends. If you find one that is close to turabian you don't need much
LaTeX.

 3) Do I really have to resort to LaTeX?

It is quite easy to make a LaTeX document class known to LyX, see
http://wiki.lyx.org/Layouts/CreatingLayouts. If you don't have a LaTeX
class it is more difficult.

Searching for turabian latex gave this link:
http://gbsmith.freeshell.org/thesis/LaTeX/. Using this is even more simple,
since it is not a document class but a package file that can be used with

\usepackage{turabian}

in the preamble. The accompanying citation style turabian.bst should be
selectable in the bibtex dialog once it is correctly installed LaTeX-wise
and LyX has been reconfigured.


Georg



Re: Turabian Style?

2005-09-09 Thread Kevin Pfeiffer
Mhac Janapin writes:
 Hi Guys!
 I am new in this list, so please bear with my total ignorance. I am
 writing my Dissertation right now and *was* using a wordprocessor to
 do it. However, that word proc is quite lacking in doing what I
 intend to do. Then I stumbled on LaTeX which logically led me to Lyx.
[]
 However, our Department requires us to follow the Turabian
 Specifications in writing our paper. So in wanting to use Lyx, I
 tried to search for a style that follows the Turabian
 Specifications... and I don't think I found one.

 So:
 1) Is there an existing style available (from users here or even a
 downloadable one) that would follow Turabian?

The Turabian style appears to be based on Chicago. The TeX Catalogue 
lists a package and bib.sty called achicago. Perhaps someone here 
knows whether one could use this with LyX (I'm not smart enough). Here 
are the links:

http://www.tug.org/tex-archive/help/Catalogue/entries/achicago.html
http://www.tug.org/tex-archive/help/Catalogue/entries/achicago-bst.html

Last but not least, ask your department for a layout file. Perhaps the 
have one; if not, they will learn that there might be a need for one. 

-Kevin

-- 
Kevin Pfeiffer [EMAIL PROTECTED]
Tiros-Translations


Re: LyX doesn't store my PDF viewer info

2005-09-09 Thread Vaclav Smidl
I have seen similar problem on my colleagues computer, we resolved it using 
the workaround with PATH as described by Angus. 
To my understanding, the trouble is, that saving the full path
 F:\Program Files\Adobe\Acrobat 7.0\Reader\acrord32.exe
in the preferences, adds extra  around it, so that it looks like
 F:\Program Files\Adobe\Acrobat 7.0\Reader\acrord32.exe
and, when this is read by lyx, it appears as empty string ().

Vasek

 then everything works for the duration of that LyX session.

 But when I exit the program, and reenter the program, no viewer is
 listed when I select Edit-Preferences and look under PDF.  However,
 the viewer IS listed in the actual preferences file.  For some reason,
 LyX is failing to load this preference from the file.

 I tried Angus' suggested work-around of setting the path to include
 f:\Program Files\Adobe\Acrobat 7.0\Reader, and then just set the
 viewer to acrord32.exe.

 Interestingly, LyX IS able to load the path from the preferences file,
 and the viewer of just acrord32.exe just fine.  It can remember the
 viewer when it is acrord32.exe but not the longer full pathname, which
 is certainly a bit baffling.

 However, when I try to view the pdf with those settings, it IS able to
 open the viewer, but cannot find the temp pdflatexed file to open.
 Argh!  So, this combination of settings doesn't work, but for a
 completely different reason.

 --Mark

 On 9/8/05, Stephen P. Harris [EMAIL PROTECTED] wrote:
  - Original Message -
  From: Mark Engelberg [EMAIL PROTECTED]
  To: lyx-users@lists.lyx.org
  Sent: Thursday, September 08, 2005 1:01 PM
  Subject: LyX doesn't store my PDF viewer info
 
 
  When I set LyX to tell it the path and file name of my Acrobat Reader,
  it doesn't stick.
  When I quit, and restart it, and loses that info.
 
  --Mark
 
  My viewer has this path, C:\reader7\Reader\AcroRd32.exe
  Yours is probably in F:\program files\adobe etc
  So try using the full path name including the drive letter.
 
  Since you probably know to modify and save, perhaps
  the changes are being saved to the wrong partition.? Locate
  (all) your preferences file by searching all your partitions and
  remember to enable search hidden files and folders. Mine is
  C:\Documents and Settings\Stephen\Application Data\LyX
  Still, I think using the full path including drive letter should fix
  it, if any of the other preferences options are being read and
  you have only one preferences file.

-- 
-
Ing. Vaclav Smidl, Ph.D.tel: +420 26605 2420
AS department,  Institute   web: http://www.utia.cas.cz/AS/smidl/
of Information Theory and Automation,   fax: +420 26605 2068
Prague, Czech Republic


Re: Turabian Style?

2005-09-09 Thread Mhac Janapin
Thanks guys! I will check out all those recommendations.

Mhac

On 9/9/05, Kevin Pfeiffer [EMAIL PROTECTED] wrote:
 
 Mhac Janapin writes:
  Hi Guys!
  I am new in this list, so please bear with my total ignorance. I am
  writing my Dissertation right now and *was* using a wordprocessor to
  do it. However, that word proc is quite lacking in doing what I
  intend to do. Then I stumbled on LaTeX which logically led me to Lyx.
 []
  However, our Department requires us to follow the Turabian
  Specifications in writing our paper. So in wanting to use Lyx, I
  tried to search for a style that follows the Turabian
  Specifications... and I don't think I found one.
 
  So:
  1) Is there an existing style available (from users here or even a
  downloadable one) that would follow Turabian?
 
 The Turabian style appears to be based on Chicago. The TeX Catalogue
 lists a package and bib.sty called achicago. Perhaps someone here
 knows whether one could use this with LyX (I'm not smart enough). Here
 are the links:
 
 http://www.tug.org/tex-archive/help/Catalogue/entries/achicago.html
 http://www.tug.org/tex-archive/help/Catalogue/entries/achicago-bst.html
 
 Last but not least, ask your department for a layout file. Perhaps the
 have one; if not, they will learn that there might be a need for one.
 
 -Kevin
 
 --
 Kevin Pfeiffer [EMAIL PROTECTED]
 Tiros-Translations
 



-- 
Mhac Janapin
PBTS SysAd
www.pbts.net.ph http://www.pbts.net.ph
=
http://mulingsilang.blogspot.com
=
I'm an Open Source Enthusiast. c,)
Mozilla Firefox 1 - getfirefox.com http://getfirefox.com
Mozilla Thunderbird 1 - mozilla.org http://mozilla.org
OpenOffice.org 1
=


Re: LyX doesn't store my PDF viewer info

2005-09-09 Thread Jean-Marc Lasgouttes
 Angus == Angus Leeming [EMAIL PROTECTED] writes:

Angus Stephen P. Harris wrote:
 My viewer has this path, C:\reader7\Reader\AcroRd32.exe Yours is
 probably in F:\program files\adobe etc So try using the full path
 name including the drive letter.

Angus You should consider using the path_prefix variable to modify
Angus the PATH environment variable used by LyX so that it can just
Angus find AcroRd32.exe in the PATH.

Angus The variable can be set from the Edit-Preferences dialog,
Angus Paths pane or by editing the preferences file directly.

What using start as a viewer, with the appropriate options? I really
think most windows viewers should be just that.

JMarc


Re: LyX doesn't store my PDF viewer info

2005-09-09 Thread Jean-Marc Lasgouttes
 Mark == Mark Engelberg [EMAIL PROTECTED] writes:

Mark I am using the full path name. When I set the preferences file
Mark to: F:\Program Files\Adobe\Acrobat 7.0\Reader\acrord32.exe
Mark then everything works for the duration of that LyX session.

Mark But when I exit the program, and reenter the program, no viewer
Mark is listed when I select Edit-Preferences and look under PDF.
Mark However, the viewer IS listed in the actual preferences file.
Mark For some reason, LyX is failing to load this preference from the
Mark file.

The problem is that the name will be saved as something like
\viewer F:\Program Files\Adobe\Acrobat 7.0\Reader\acrord32.exe
which means that the  quotes are not parsed correctly. We should
escape these values.

JMarc



Re: LyX doesn't store my PDF viewer info

2005-09-09 Thread Angus Leeming
Vaclav Smidl wrote:

 I have seen similar problem on my colleagues computer, we resolved it
 using the workaround with PATH as described by Angus.
 To my understanding, the trouble is, that saving the full path
  F:\Program Files\Adobe\Acrobat 7.0\Reader\acrord32.exe
 in the preferences, adds extra  around it, so that it looks like
  F:\Program Files\Adobe\Acrobat 7.0\Reader\acrord32.exe
 and, when this is read by lyx, it appears as empty string ().

Thanks, for the diagnosis, Vasek. This is now bug #2016:
http://bugzilla.lyx.org/show_bug.cgi?id=2016

-- 
Angus



Re: confusion: interword spacing vs. unbreakble space

2005-09-09 Thread Kevin Pfeiffer
Juergen Spitzmueller writes:
 David Soukal wrote:
  I'm very confused about how to properly create an interword space.
  In LaTeX the standard way is to use \  for an interword space and
  \@ for the end-of-sentence spacing after punctuation. I was used to
  typing
 
  bla, e.g.\ bla

 correct is:
 bla, e.\,g.\ bla
 (with thinspace inbetween the abbreviation).

(Sorry about beating a dead horse...)

What about a situation such as this: Fig. 26? To my eye, the interword 
space behind the abbreviating period seems too wide. Should this be a 
thin space instead? 

-K

-- 
Kevin Pfeiffer [EMAIL PROTECTED]
Tiros-Translations


Re: Setting Font

2005-09-09 Thread Roy Schestowitz

_/ On Fri 09 Sep 2005 09:07:37 BST, [s.vestli] wrote : \_





 I seem to be unable to change the font. No matter ..
Are you unable to change screen fonts? Output/printout fonts? With the

cursor

over text with modified font/s, can you see an alterative font name in

the

status bar?


I am talking about the Output fonts. I have tried:
Layout - Document - Layout - Font  size (e.g. font to helvet)
and
Layout - Document - Preamble, inserted \usepackage[scaled=0.92]
{helvet}
and
both above combined

Document class is report.



Make sure you make a selection before choosing fonts and then press 
Apply. If

you do not hit Apply, no changes will be made. It is confusing, I would have
to admit, especially due to WYSIWYG habits.



How have you gone about changing fonts? Have you highlighted the text,

then

opened the Character menu, changed the fonts and applied changes to the
selection?


see above.


In your output, do you see high-resolution fonts?


The only thing I see in my output is (a rather nice) Times.



What font was chosen for the document in its entirety? Is it using the default
for report, which may be Times?



BTW, I cannot see any font names in the status bar.



I think this may be the cause of the problem. When placing the keyboard cursor
over text with modified fonts/size, the status bar should be accommodated with
a string, e.g. Font: Helvetica.



Kind regards

Sjur J.
Vestli


Hope it helps,

Roy

--
Roy S. Schestowitz  | $ sudo root; cd /; rm -rf *.doc
http://Schestowitz.com  |SuSE Linux| PGP-Key: 74572E8E
10:30am  up 15 days 12:22,  3 users,  load average: 1.39, 1.07, 1.18



colophon info for LyX/LaTeX?

2005-09-09 Thread Kevin Pfeiffer
Is there any standardized material about LyX, etc. that I can use in the 
colophon for the book I am working on? Something in German would be 
even better. 

Is there anything else that needs to be (or should be) included in a 
book produced  using LyX (and with the help of the lyx-users list)?

-K


-- 
Kevin Pfeiffer [EMAIL PROTECTED]
Tiros-Translations


Re: Problems installing 1.3.6-1 RPMs

2005-09-09 Thread Paul Smith
On 9/9/05, Peter Flynn [EMAIL PROTECTED] wrote:
 I just tried to install Lyx from the 1.3.6-1 RPMs.
 
 It can't find the commands kpsewhich and texhash, which is weird because
 they are both in the global path. The TeX is a new full install from the
 TeX Collection DVD.
 
 How do I get around this? Is the postinstall script SUing to some
 strange UID (the RPM install is done as root, of course).
 
 This happens for both xforms and qt versions (tried both) and now they
 won't uninstall cleanly either, because they're trying to undo stuff
 that never got done.

Apparently, the problem is not caused by LyX. Try to run (as root) on
the command line the two problematic commands (kpsewhich and texhash).
In case they do not work, it makes clear that the problem is not LyX
related.

Paul


Bibliography style

2005-09-09 Thread christiaan johannes pauw
I am writing a thesis in Afrikaans using Lyx 1.3.4 on SuSE 9.1. I use 
the report document style and ampsrmp.bst form my Bibliography style. 
Under layout-Document-Bibliography I selected use natbib with option 
Author-year. I have hacked ampsrmp.bst a bit to include al the correct 
Afrikaans terms (the version I had was incomplete).


Before I selected use natbib the citation style was something like 
[Barth(1948), 40]. Now it is (Barth, 1948, 40). What I would like is 
(Barth 1948:40). Is there something I can do to change the .bst file or 
use something else to  achieve that?


Thanks in advance. Lyx is great

Regards
Christiaan


Letter. No address in Dvi/ps/pdf output

2005-09-09 Thread christiaan johannes pauw

I use lyx 1.3.4 on SuSE 9.1

When I write a letter using the letter document class (selected under 
Layout- Document) and format text as 'My address' or 'send to address' 
the don't show up in the dvi output or only one line shows up. I have 
tried to select the address line one by one, but it doesn't seem to work 
- it only gives the last line of the address.


What is wrong? Do I need to install something extra

Regards
Christiaan



Re: Bibliography style

2005-09-09 Thread Martin A. Hansen
try latex makebst


martin

On 09/09/05, christiaan johannes pauw [EMAIL PROTECTED] wrote:
 
 I am writing a thesis in Afrikaans using Lyx 1.3.4 on SuSE 9.1. I use
 the report document style and ampsrmp.bst form my Bibliography style.
 Under layout-Document-Bibliography I selected use natbib with option
 Author-year. I have hacked ampsrmp.bst a bit to include al the correct
 Afrikaans terms (the version I had was incomplete).
 
 Before I selected use natbib the citation style was something like
 [Barth(1948), 40]. Now it is (Barth, 1948, 40). What I would like is
 (Barth 1948:40). Is there something I can do to change the .bst file or
 use something else to achieve that?
 
 Thanks in advance. Lyx is great
 
 Regards
 Christiaan



Re: Letter. No address in Dvi/ps/pdf output

2005-09-09 Thread Axel Dessecker
Christiaan,

Am Freitag, 9. September 2005 13:26 schrieb christiaan johannes pauw:
 When I write a letter using the letter document class (selected under
 Layout- Document) and format text as 'My address' or 'send to address'
 the don't show up in the dvi output or only one line shows up. I have
 tried to select the address line one by one, but it doesn't seem to work
 - it only gives the last line of the address.

Your address should only be one paragraph. For a new line, press 
CTRLENTER.

Axel


Re: colophon info for LyX/LaTeX?

2005-09-09 Thread Kevin Pfeiffer
Kevin Pfeiffer writes:
 Is there any standardized material about LyX, etc. that I can use in
 the colophon for the book I am working on? Something in German would
 be even better.

 Is there anything else that needs to be (or should be) included in a
 book produced  using LyX (and with the help of the lyx-users list)?

This is what I have so far:
Das Buch wurde mit LyX (http: www.lyx.org) und LaTeX/TeX erstellt.
(The book was produced using LyX (...) and LaTeX/TeX.)

Very dull and not too informative. It occurs to me that I should also 
include a credit for the koma-book layout/style.

-K

-- 
Kevin Pfeiffer [EMAIL PROTECTED]
Tiros-Translations


CVS access down?

2005-09-09 Thread David Soukal

Hello everybody,

I've been trying to download LyX from the CVS without any success for 
several day now. Can somebody, please, confirm that the server is 
unaccessible? Or is the problem on our side?


I don't remember the cvs command, so I tried to click on Details can be 
 found here on the Download page at LyX.org. However I always get a 
timeout.


Our internet connection has been acting strangely lately, so I assume 
the problem is here...


Thanks,

David


Re: CVS access down?

2005-09-09 Thread Angus Leeming
David Soukal wrote:

 Hello everybody,
 
 I've been trying to download LyX from the CVS without any success for
 several day now. Can somebody, please, confirm that the server is
 unaccessible? Or is the problem on our side?

Are you using the anoncvs.us.lyx.org mirror of the cvs repository? If so,
then the directory has indeed changed, as described here:

http://thread.gmane.org/gmane.editors.lyx.devel/47733
Please change all references of /cvs to /var/cvs when referring to
cvs.sylvan.com (AKA anoncvs.us.lyx.org).

Georg Baum noted that:
A handy utility to convert your existing checked out directory is
'cvschroot', available from http://www.red-bean.com/cvsutils/

Alternatively, a little bit of scripting should do the job. (You'll want to
modify the CVS/Root files.)

 I don't remember the cvs command, so I tried to click on Details can be
   found here on the Download page at LyX.org. However I always get a
 timeout.

This one is also our problem. www.devel.lyx.org is currently dead.

 Our internet connection has been acting strangely lately, so I assume
 the problem is here...
 
 Thanks,
 
 David

-- 
Angus



Re: CVS access down?

2005-09-09 Thread David Soukal

Are you using the anoncvs.us.lyx.org mirror of the cvs repository? If so,
then the directory has indeed changed, as described here:

http://thread.gmane.org/gmane.editors.lyx.devel/47733
Please change all references of /cvs to /var/cvs when referring to
cvs.sylvan.com (AKA anoncvs.us.lyx.org).


It's been some time since I last used CVS version of LyX so I don't 
remember which mirror I used, but I followed the instructions described 
on the main LyX.org site.






I don't remember the cvs command, so I tried to click on Details can be
 found here on the Download page at LyX.org. However I always get a
timeout.




I've read the thread but I still cannot figure out the whole cvs 
command. Could you, please, write it down for me? I'm sorry, I don't 
have that much experience with CVS so it's hard for me to derive the 
command + paths...


We're using LyX 1.3.6 for our publications needs :) But I thought I'd 
give 1.4 a try for my thesis...


Thank you for your help,

David


Re: CVS access down?

2005-09-09 Thread Angus Leeming
David Soukal wrote:
 I've read the thread but I still cannot figure out the whole cvs
 command. Could you, please, write it down for me? I'm sorry, I don't
 have that much experience with CVS so it's hard for me to derive the
 command + paths...

 CVSROOT=pserver:[EMAIL PROTECTED]:/var/cvs/lyx
 export CVSROOT
 cvs login
 (the password is lyx)
 cvs checkout -d your_dir_name lyx-devel

-- 
Angus



Re: CVS access down?

2005-09-09 Thread Angus Leeming
Angus Leeming wrote:

 David Soukal wrote:
 I've read the thread but I still cannot figure out the whole cvs
 command. Could you, please, write it down for me? I'm sorry, I don't
 have that much experience with CVS so it's hard for me to derive the
 command + paths...

That's:

  CVSROOT=pserver:anoncvs AT anoncvs.us.lyx.org:/var/cvs/lyx
  export CVSROOT
  cvs login
  (the password is lyx)
  cvs checkout -d your_dir_name lyx-devel

for those of us reading this mail through the gmane news gateway.
Replace  AT  with @.

-- 
Angus



Re: Problems installing 1.3.6-1 RPMs

2005-09-09 Thread Paul A. Rubin

Peter Flynn wrote:

I just tried to install Lyx from the 1.3.6-1 RPMs.

It can't find the commands kpsewhich and texhash, which is weird because 
they are both in the global path. The TeX is a new full install from the

TeX Collection DVD.

How do I get around this? Is the postinstall script SUing to some
strange UID (the RPM install is done as root, of course).

This happens for both xforms and qt versions (tried both) and now they
won't uninstall cleanly either, because they're trying to undo stuff
that never got done.

It's not just kpsewhich and texhash -- both install scripts failed to 
find a working latex executable.


IIRC, the install scripts for look for latex and latex2e by trying to 
execute them.  Assuming that your latex executable is on the global path 
and works (which you can test by trying to run it from a shell prompt), 
you might check whether there's a permissions problem (is the LyX 
install script running under an account that can access the LaTeX 
installation).


Paul



Re: CVS access down?

2005-09-09 Thread David Soukal


 CVSROOT=pserver:[EMAIL PROTECTED]:/var/cvs/lyx
 export CVSROOT
 cvs login
 (the password is lyx)
 cvs checkout -d your_dir_name lyx-devel



Thank you Angus, this works perfect! I have the sources now!

However, later I ran into the following two problems:

1) tex2lyx won't compile, if fails with the following error

counters.o(.text+0x1090): In function 
`Counters::enumLabel(std::basic_stringchar, std::char_traits 


  char, std::allocatorchar  const, Buffer const)':
/home/david/temp/lyx/lyx-devel/src/tex2lyx/counters.C:336: undefined 
reference to `Buffer::B_(std:: 

basic_stringchar, std::char_traitschar, std::allocatorchar  
const) const'


2) I configured lyx with --prefix=/home/david/temp/lyx-install to have 
LyX installed in my local working directory, but when I tried to run 
LyX, I got this error:


Unable to determine the system directory having searched
/home/david/temp/lyx-install/share/lyx/
Try the '-sysdir' command line parameter or set the environment variable 
LYX_DIR_14x to the LyX system directory containing the file `chkconfig.ltx'.


I suppose 1) and 2) are not related. So 2) is really a problem (since 
I'm writing my thesis from scratch). I did install LyX this way some 
months ago (version 1.4.0) and it did work.


Thank you for any suggestions,

David


Re: LyX doesn't store my PDF viewer info

2005-09-09 Thread Paul A. Rubin

Mark Engelberg wrote:

I tried Angus' suggested work-around of setting the path to include
f:\Program Files\Adobe\Acrobat 7.0\Reader, and then just set the
viewer to acrord32.exe.

Interestingly, LyX IS able to load the path from the preferences file,
and the viewer of just acrord32.exe just fine.  It can remember the
viewer when it is acrord32.exe but not the longer full pathname, which
is certainly a bit baffling.

However, when I try to view the pdf with those settings, it IS able to
open the viewer, but cannot find the temp pdflatexed file to open. 
Argh!  So, this combination of settings doesn't work, but for a

completely different reason.


Since we now know why the first approach failed, let's focus on getting 
this to work.  I assume from your wording that Reader is *not* open 
prior to your clicking View-PDF (pdflatex) in LyX.  (It's a known 
problem that an already open copy of Reader will report being unable to 
open the .pdf file in the temp directory, and there are various 
workarounds posted.)  So clicking View-PDF (pdflatex) causes Reader to 
open, but it fails to find the file it's supposed to display.


First question:  Does the output file exist?  If so, can you open it by 
double-clicking it?  I think I've had this happen when a compile problem 
actually caused pdflatex to fail to generate the output file.  (I can't 
recall the precise circumstances.)  I'm pretty sure it's also happened 
to me when pdflatex was able to process the .tex file but was blocked by 
the OS from writing the .pdf output (because a file of the same name 
already existed and had a lock on it), although that doesn't sound like 
your problem.


If the file exists, then there may be a problem with the path to it. 
One way to test that is as follows.  Create the following two-line batch 
file (putting it in the directory where Reader lives would be a good idea).


echo Looking for input file %1
pause

Call it reader.bat, say.  Then change the viewer entry from acrord32.exe 
to reader.bat and try View-PDF (pdflatex).  This will show you the path 
to the .pdf output being fed to Reader.


Paul





Re: Bibunits with a master document

2005-09-09 Thread jorgen johansson

Hello,

The wiki bibunits example page has a problem with the links , after some 
fiddling  I managed to download the files from

http://wiki.lyx.org/uploads/Examples/Bibunits/bibunits_KomaArticle.lyx
http://wiki.lyx.org/uploads/Examples/Bibunits/refs.bib

I don't seem to be able to get the example at 
http://wiki.lyx.org/pmwiki.php/Examples/Bibunits to work either. The 
reference under subsection Papers in the first section does not appear 
 when compiling the document within lyx 1.3.6-1 for windows.


export to latex and compiling as instructed in bibunits documentation 
works fine. Would be great if it worked from within lyx. The compilation 
of all the .aux files is tedious.


Thanks for a great program

jorgen


[EMAIL PROTECTED] wrote:

Hi

I have a master lyx document containing a number of chapters (lyx files),
inserted using include mode. Every chapter contains its own Bibtex Generated
References.

I would like to produce one references section for each chapter using the
bibunits package. I am using Windows XP and Lyx 1.3.5

I have read the Wiki pages, searched the Lyx User mailing list and the bibunits
package documentation and I still have some questions:

- should the \usepackage{bibunits} command be inserted in the master document
preamble or in the included files preamble?

- should the \bibliographyunit[\chapter] command be inserted as ERT at
the beginning of the master document or in its preamble?

- if I understand well, the following code (taken from the Wiki page) should
be inserted in the preamble of the master document:
\makeatletter
  [EMAIL PROTECTED]@bibunitauxcnt}
  \makeatother

Any help will be greatly appreciated
thanks a lot
Hassoun






Re: CVS access down?

2005-09-09 Thread David Soukal



However, later I ran into the following two problems:

1) tex2lyx won't compile, if fails with the following error

counters.o(.text+0x1090): In function 
`Counters::enumLabel(std::basic_stringchar, std::char_traits

  char, std::allocatorchar  const, Buffer const)':
/home/david/temp/lyx/lyx-devel/src/tex2lyx/counters.C:336: undefined 
reference to `Buffer::B_(std::
basic_stringchar, std::char_traitschar, std::allocatorchar  
const) const'


2) I configured lyx with --prefix=/home/david/temp/lyx-install to have 
LyX installed in my local working directory, but when I tried to run 
LyX, I got this error:


Unable to determine the system directory having searched
/home/david/temp/lyx-install/share/lyx/
Try the '-sysdir' command line parameter or set the environment variable 
LYX_DIR_14x to the LyX system directory containing the file 
`chkconfig.ltx'.


I suppose 1) and 2) are not related. So 2) is really a problem (since 
I'm writing my thesis from scratch). I did install LyX this way some 
months ago (version 1.4.0) and it did work.




I was mistaken, the problem 1) is not a failure in tex2lyx, I disables 
tex2lyx from configure.ac and rerun everything but the problem is still 
there. The very same error (undefined reference to Buffer::B_) causes 
the rest of the compilation to fail.


First I thought the problem was localized to tex2lyx and thought that 
LyX compiled just fine... Now it seems that 1) and 2) are related.


David


Re: LyX doesn't store my PDF viewer info

2005-09-09 Thread Stephen P. Harris


- Original Message - 
From: Jean-Marc Lasgouttes [EMAIL PROTECTED]

To: [EMAIL PROTECTED]
Cc: Stephen P. Harris [EMAIL PROTECTED]; 
lyx-users@lists.lyx.org

Sent: Friday, September 09, 2005 1:22 AM
Subject: Re: LyX doesn't store my PDF viewer info



Mark == Mark Engelberg [EMAIL PROTECTED] writes:


Mark I am using the full path name. When I set the preferences file
Mark to: F:\Program Files\Adobe\Acrobat 7.0\Reader\acrord32.exe
Mark then everything works for the duration of that LyX session.

Mark But when I exit the program, and reenter the program, no viewer
Mark is listed when I select Edit-Preferences and look under PDF.
Mark However, the viewer IS listed in the actual preferences file.
Mark For some reason, LyX is failing to load this preference from the
Mark file.

The problem is that the name will be saved as something like
\viewer F:\Program Files\Adobe\Acrobat 7.0\Reader\acrord32.exe
which means that the  quotes are not parsed correctly. We should
escape these values.

JMarc




Windows provided quotes to get around paths that had directories
with spaces in them for a long time, which is now broken in LyX.
One way to get around it is to install in directories without spaces
because the path doesn't need to be quoted.
C:\reader7\Reader\AcroRd32.exe

However the case of
{c:}F:\Program Files\Adobe\Acrobat 7.0\Reader\acrord32.exe

In my experience this will work if the directories with spaces are
internally directory quoted, both program files and acrobat 7.0.
It took me 25 tedious minutes to get the syntax correct so that
isn't a solution. I seem to remember there was still some problem.
Also I did it with c:\documents and settings\.\application data\




Re: CVS access down?

2005-09-09 Thread Angus Leeming
David Soukal wrote:
  CVSROOT=pserver:anoncvs AT anoncvs.us.lyx.org:/var/cvs/lyx
  export CVSROOT
  cvs login
  (the password is lyx)
  cvs checkout -d your_dir_name lyx-devel

 Thank you Angus, this works perfect! I have the sources now!
 However, later I ran into the following two problems:

 1) tex2lyx won't compile, if fails with the following error

Fixed an hour or so ago by Jean-Marc. There may be some delay before the
updated code propagates through to the anoncvs mirror.

 2) I configured lyx with --prefix=/home/david/temp/lyx-install to have
 LyX installed in my local working directory, but when I tried to run
 LyX, I got this error:

 Unable to determine the system directory having searched
  /home/david/temp/lyx-install/share/lyx/
 Try the '-sysdir' command line parameter or set the environment variable
 LYX_DIR_14x to the LyX system directory containing the file
 `chkconfig.ltx'.

You don't need to install it to use it. Personally, I have a symlink
$HOME/bin/qlyxcvs that points to $HOME/lyx/devel/build/src/lyx-qt . Works
like a charm.

You'll be unable to run make install successfully until the tex2lyx
problem is resolved.

-- 
Angus



Re: LyX doesn't store my PDF viewer info

2005-09-09 Thread Stephen P. Harris


- Original Message - 
From: Angus Leeming [EMAIL PROTECTED]

To: lyx-users@lists.lyx.org
Sent: Friday, September 09, 2005 1:24 AM
Subject: Re: LyX doesn't store my PDF viewer info



Vaclav Smidl wrote:


I have seen similar problem on my colleagues computer, we resolved it
using the workaround with PATH as described by Angus.
To my understanding, the trouble is, that saving the full path
 F:\Program Files\Adobe\Acrobat 7.0\Reader\acrord32.exe
in the preferences, adds extra  around it, so that it looks like
 F:\Program Files\Adobe\Acrobat 7.0\Reader\acrord32.exe
and, when this is read by lyx, it appears as empty string ().


Thanks, for the diagnosis, Vasek. This is now bug #2016:
http://bugzilla.lyx.org/show_bug.cgi?id=2016

--
Angus




Angus, I am not sure that I understand how this bug is different
than the one you described before when you gave as example:
\viewer pdf C:\Program Files\Adobe\Acrobat 7.\Acrobat\acrobat.exe $$i
The current bug seems the same as the bug discussed below and it seems
that a solution was discovered but apparently not implemented.

Re: Putting Paths in quotes
Angus Leeming
Sun, 10 Jul 2005 03:03:14 -0700

Stephen Harris wrote:


I was reading a discussion about assigning acrord32.exe
as the the pdf file format viewer in WinLyx 1.3.5, using
the full path in quotes if just placing acrord32 in the pdf
viewer field didn't work [so this next line was the fix to this]:
C:\Program Files\Adobe\Acrobat 7.0\Reader\AcroRd32.exe

Using quotes doesn't seem to work in 1.3.6pre (18?); a blank
field is created which appears to revert to the Acro*.exe
Modify, apply, save, does not save or apply the quoted field
change, then, or later, after closing and re-opening.


H. First the workaround. Add the directory containing acrobat.exe to
your path_prefix entry (PATH prefix widget in the Paths pane of the
Edit-Preferences dialog).

Now for the problem (bug). If you look in your preferences file
 C:\Documents and Settings\Stephen\Application Data\lyx\preferences
you'll see that your modification is saved as:

\viewer pdf C:\Program Files\Adobe\Acrobat 7.0\Acrobat\acrobat.exe
$$i

Jean-Marc, how should we address this? Should we protect characters within
the -protected string? Ie save

\viewer pdf \C:\\Program Files\\Adobe\\Acrobat
7.0\\Acrobat\\acrobat.exe\ $$i

and adjust LyXRC::getString appropriately? Or perhaps we should read
everything after '\viewer pdf' as being the viewer?

Geeez! These paths with spaces get everywhere!

--
AngusJMarc replied:Angus \viewer pdf \C:\\Program Files\\Adobe\\Acrobat
Angus 7.0\\Acrobat\\acrobat.exe\ $$i

Actually, lyxlex wiill work correctly provided you escape the
double-quote character. There is no need to escape the backslash
itself...

Angus and adjust LyXRC::getString appropriately?

I do not think you need to adjust anything3/ we should handle  in the 
contents of viewers and other commands.

To do this we should change the code that writes these commands to
change  to \. No other change should be necessary (because
lex.next(true) handles that).

Is that clearer? JMarcAngus replied:It is perfectly clear. But 3/ doesn't 
work out of the box ATM.


\viewer pdf \C:\Program Files\Adobe\Acrobat 7.0\Reader\AcroRd32.exe\ 
$$i 
..Regards,Stephen







Sand out code

2005-09-09 Thread Jordi Espasa Clofent
Hi all,

I use Lyx to make the techincals docs for my work. Sometimes I include few 
lines of code (v.g, shell-scripting, perl...) in that docs, but I don't know 
the way to stand out these lines.

Until the present day I've used the Empashis option but it doesn't makes 
anything when I convert the output in HTML format (I use late2html) and only 
makes an italic letter in PDF output format.

¿Any suggest/ advice?

Thanks in advance.
-- 
Salut,
Jordi Espasa


pgpawNniWb9FU.pgp
Description: PGP signature


Re: Stand out code

2005-09-09 Thread Kevin Pfeiffer
Jordi Espasa Clofent writes:
 I use Lyx to make the techincals docs for my work. Sometimes I
 include few lines of code (v.g, shell-scripting, perl...) in that
 docs, but I don't know the way to stand out these lines.

 Until the present day I've used the Empashis option but it doesn't
 makes anything when I convert the output in HTML format (I use
 late2html) and only makes an italic letter in PDF output format.

One of the few questions I might be able to answer (assuming I 
understood what you want). Have you tried the environment LyX-Code? 
It will make your code stand out in that it will be set in a 
monospaced, typewriter-like font.

Apologies if this is not what you were asking.

-K


-- 
Kevin Pfeiffer [EMAIL PROTECTED]
Tiros-Translations


Simple questions.

2005-09-09 Thread Mike Meyer
Bcc: [EMAIL PROTECTED]
X-Primary-Address: [EMAIL PROTECTED]
X-face: 5Mnwy%?jIIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`(,SiLvbbz2W`;h9L,Yg`+vb1RG%
 *h+%X^n0EZdTM8_IB;a8F?(Fblw'IgCoyM.[Lg#r\
--text follows this line--
1) Has anyone done a layout file for unixman.sty? Google didn't turn
   one up, nor did google turn up an archive of LyX layout files.

2) I know this has to have been discussed to death - probably
   repeatedly - but I couldn't seem to find the right query to tickle
   google or the list archives into kicking it up. Could someone
   provide a pointer to a rational for going with a single window
   instead of the far more common multiple window approach? Or even tabs?

Thanks,
mike
-- 
Mike Meyer [EMAIL PROTECTED]  http://www.mired.org/consulting.html
Independent Network/Unix/Perforce consultant, email for more information.


Re: Sand out code

2005-09-09 Thread Robert Orr


--- Jordi Espasa Clofent [EMAIL PROTECTED] wrote:

 Hi all,
 
 I use Lyx to make the techincals docs for my work.
 Sometimes I include few 
 lines of code (v.g, shell-scripting, perl...) in
 that docs, but I don't know 
 the way to stand out these lines.
 
 Until the present day I've used the Empashis option
 but it doesn't makes 
 anything when I convert the output in HTML format (I
 use late2html) and only 
 makes an italic letter in PDF output format.
 
 ¿Any suggest/ advice?
 
 Thanks in advance.
 -- 
 Salut,
   Jordi Espasa
 

I think you are going to be better off using the
Listings package.

Take a look at the tips and tricks for listings
package.

http://tug.org/TeXnik/mainFAQ.cgi?file=listings/examples






__
Click here to donate to the Hurricane Katrina relief effort.
http://store.yahoo.com/redcross-donate3/


Re: Problems installing 1.3.6-1 RPMs

2005-09-09 Thread Peter Flynn

Paul Smith wrote:

On 9/9/05, Peter Flynn [EMAIL PROTECTED] wrote:


I just tried to install Lyx from the 1.3.6-1 RPMs.

It can't find the commands kpsewhich and texhash, which is weird because
they are both in the global path. The TeX is a new full install from the
TeX Collection DVD.

How do I get around this? Is the postinstall script SUing to some
strange UID (the RPM install is done as root, of course).

This happens for both xforms and qt versions (tried both) and now they
won't uninstall cleanly either, because they're trying to undo stuff
that never got done.



Apparently, the problem is not caused by LyX. Try to run (as root) on
the command line the two problematic commands (kpsewhich and texhash).
In case they do not work, it makes clear that the problem is not LyX
related.


I'm sorry, I should have made it clear that the TeX installation works
correctly: texhash and kpsewhich are fully functional both as root and
for logged-in users.

///Peter


Re: Problems installing 1.3.6-1 RPMs

2005-09-09 Thread Peter Flynn

Paul A. Rubin wrote:

Peter Flynn wrote:


I just tried to install Lyx from the 1.3.6-1 RPMs.

It can't find the commands kpsewhich and texhash, which is weird 
because they are both in the global path. The TeX is a new full 
install from the

TeX Collection DVD.

How do I get around this? Is the postinstall script SUing to some
strange UID (the RPM install is done as root, of course).

This happens for both xforms and qt versions (tried both) and now they
won't uninstall cleanly either, because they're trying to undo stuff
that never got done.

It's not just kpsewhich and texhash -- both install scripts failed to 
find a working latex executable.


IIRC, the install scripts for look for latex and latex2e by trying to 
execute them.  Assuming that your latex executable is on the global path 
and works (which you can test by trying to run it from a shell prompt), 


Yes, all that is working fine. The problem does not appear to lie with 
the installation of TeX.


you might check whether there's a permissions problem (is the LyX 
install script running under an account that can access the LaTeX 
installation).


How do I know what account the LyX postinstall script from the RPM has
picked to run as? The RPM was installed as root, of course, but if LyX
has picked something else to use to run its script, that is hidden from
sight -- what's the best way to find out (and why on earth would they
want to do such a weird thing anyway?).

kpsewhich and all the TeX binaries are in /usr/local/bin, which is in
every user's path, AFAIK.

At the moment could someone note on the web site that LyX is not
installable with the RPMs on stock FC4 with the teTeX from the TeX
Collection DVD.

Is anyone out there using LyX on FC4?

///Peter


Re: LyX doesn't store my PDF viewer info

2005-09-09 Thread Mark Engelberg
I was able to solve the problem by replacing my path with the
non-space equivalents so I wouldn't need to put the extra quotes
around it, which is definitely what was throwing things off.

So now my preferences says: 
\viewer pdf2 F:\Progra~1\Adobe\Acroba~2.0\Reader\acrord32.exe

All files and directories with spaces in Windows also have some
non-space 8.3 alias.  So that's all I had to do.

Thanks for the help everyone,

Mark

On 9/9/05, Stephen P. Harris [EMAIL PROTECTED] wrote:
 
 - Original Message -
 From: Jean-Marc Lasgouttes [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Cc: Stephen P. Harris [EMAIL PROTECTED];
 lyx-users@lists.lyx.org
 Sent: Friday, September 09, 2005 1:22 AM
 Subject: Re: LyX doesn't store my PDF viewer info
 
 
  Mark == Mark Engelberg [EMAIL PROTECTED] writes:
 
  Mark I am using the full path name. When I set the preferences file
  Mark to: F:\Program Files\Adobe\Acrobat 7.0\Reader\acrord32.exe
  Mark then everything works for the duration of that LyX session.
 
  Mark But when I exit the program, and reenter the program, no viewer
  Mark is listed when I select Edit-Preferences and look under PDF.
  Mark However, the viewer IS listed in the actual preferences file.
  Mark For some reason, LyX is failing to load this preference from the
  Mark file.
 
  The problem is that the name will be saved as something like
  \viewer F:\Program Files\Adobe\Acrobat 7.0\Reader\acrord32.exe
  which means that the  quotes are not parsed correctly. We should
  escape these values.
 
  JMarc
 
 
 
 Windows provided quotes to get around paths that had directories
 with spaces in them for a long time, which is now broken in LyX.
 One way to get around it is to install in directories without spaces
 because the path doesn't need to be quoted.
 C:\reader7\Reader\AcroRd32.exe
 
 However the case of
 {c:}F:\Program Files\Adobe\Acrobat 7.0\Reader\acrord32.exe
 
 In my experience this will work if the directories with spaces are
 internally directory quoted, both program files and acrobat 7.0.
 It took me 25 tedious minutes to get the syntax correct so that
 isn't a solution. I seem to remember there was still some problem.
 Also I did it with c:\documents and settings\.\application data\
 
 



trouble with latex2html on SuSE9.3

2005-09-09 Thread John O'Gorman
I have happily used LyX with latex2html for years to create web pages.

Now I find that with the version which comes with SuSE 9.3, the
latex2html is broken.

Has anyone else met, and solved this problem?

regards
John O'Gorman



Re: trouble with latex2html on SuSE9.3

2005-09-09 Thread Roy Schestowitz

_/ On Sat 10 Sep 2005 02:13:11 BST, [John O'Gorman] wrote : \_


I have happily used LyX with latex2html for years to create web pages.

Now I find that with the version which comes with SuSE 9.3, the
latex2html is broken.

Has anyone else met, and solved this problem?

regards
John O'Gorman


Can you please provide more details so that the problem might be pin-pointed?
Are the images not displayed? Do you receive a fatal error message? have you
tried to install latex2html yourself? I compiled latex2html from the 
source and

there were never any issues. I think there are some RPM's too, which simplify
things considerably.

http://saftsack.fs.uni-bayreuth.de/~latex2ht/node6.html

--
Roy S. Schestowitz  | Useless fact: 21978 x 4 = 21978 backwards
http://Schestowitz.com  |SuSE Linux| PGP-Key: 74572E8E
 3:10am  up 16 days  5:02,  3 users,  load average: 0.54, 0.84, 0.60



Re: Bibunits with a master document

2005-09-09 Thread Juergen Spitzmueller
[EMAIL PROTECTED] wrote:
> - should the "\usepackage{bibunits}" command be inserted in the master
> document preamble or in the included files preamble?

In the master document. If you intend to compile your child documents 
separately, put it also there.

> - should the "\bibliographyunit[\chapter]" command be inserted as ERT at
> the beginning of the master document or in its preamble?

At the beginning.

> - if I understand well, the following code (taken from the Wiki page)
> should be inserted in the preamble of the master document:
> \makeatletter
>   [EMAIL PROTECTED]@bibunitauxcnt}
>   \makeatother

yes.

Jürgen


Re: Turabian Style?

2005-09-09 Thread Georg Baum
Mhac Janapin wrote:

> However, our Department requires us to follow the Turabian Specifications
> in writing our paper. So in wanting to use Lyx, I tried to search for a
> style that follows the Turabian Specifications... and I don't think I
> found one.
> 
> So:
> 1) Is there an existing style available (from users here or even a
> downloadable one) that would follow Turabian?

I don't know of one. Note however that we have no 'styles' in LyX. Whe have
(among other things):

- LaTeX document classes (.cls). These are the 'sytles' in LaTeX. They can
be used in LyX only with an accompanying .layout file that tells LyX what
commands are available and how the document should look like on the LyX
screen. See also http://wiki.lyx.org/Layouts/Layouts.

- LaTeX packages (.sty). Many of them can be loaded into your document with
the \usepackage command in the preamble.

- Citation styles (.bst). These define how the bibliography will look like.
Some of them require an additional .sty file, too.

> 2) If there's none, would it be easy to modify an existing style (without
> resorting much to LaTex)?

That depends. If you find one that is close to turabian you don't need much
LaTeX.

> 3) Do I really have to resort to LaTeX?

It is quite easy to make a LaTeX document class known to LyX, see
http://wiki.lyx.org/Layouts/CreatingLayouts. If you don't have a LaTeX
class it is more difficult.

Searching for turabian latex gave this link:
http://gbsmith.freeshell.org/thesis/LaTeX/. Using this is even more simple,
since it is not a document class but a package file that can be used with

\usepackage{turabian}

in the preamble. The accompanying citation style turabian.bst should be
selectable in the bibtex dialog once it is correctly installed LaTeX-wise
and LyX has been reconfigured.


Georg



Re: Turabian Style?

2005-09-09 Thread Kevin Pfeiffer
Mhac Janapin writes:
> Hi Guys!
> I am new in this list, so please bear with my total ignorance. I am
> writing my Dissertation right now and *was* using a wordprocessor to
> do it. However, that word proc is quite lacking in doing what I
> intend to do. Then I stumbled on LaTeX which logically led me to Lyx.
[]
> However, our Department requires us to follow the Turabian
> Specifications in writing our paper. So in wanting to use Lyx, I
> tried to search for a style that follows the Turabian
> Specifications... and I don't think I found one.
>
> So:
> 1) Is there an existing style available (from users here or even a
> downloadable one) that would follow Turabian?

The Turabian style appears to be based on Chicago. The TeX Catalogue 
lists a package and bib.sty called "achicago". Perhaps someone here 
knows whether one could use this with LyX (I'm not smart enough). Here 
are the links:

http://www.tug.org/tex-archive/help/Catalogue/entries/achicago.html
http://www.tug.org/tex-archive/help/Catalogue/entries/achicago-bst.html

Last but not least, ask your department for a layout file. Perhaps the 
have one; if not, they will learn that there might be a need for one. 

-Kevin

-- 
Kevin Pfeiffer <[EMAIL PROTECTED]>
Tiros-Translations


Re: LyX doesn't store my PDF viewer info

2005-09-09 Thread Vaclav Smidl
I have seen similar problem on my colleagues computer, we resolved it using 
the workaround with PATH as described by Angus. 
To my understanding, the trouble is, that saving the full path
 "F:\Program Files\Adobe\Acrobat 7.0\Reader\acrord32.exe"
in the preferences, adds extra " around it, so that it looks like
 ""F:\Program Files\Adobe\Acrobat 7.0\Reader\acrord32.exe""
and, when this is read by lyx, it appears as empty string ("").

Vasek

> then everything works for the duration of that LyX session.
>
> But when I exit the program, and reenter the program, no viewer is
> listed when I select "Edit->Preferences" and look under PDF.  However,
> the viewer IS listed in the actual preferences file.  For some reason,
> LyX is failing to load this preference from the file.
>
> I tried Angus' suggested work-around of setting the path to include
> f:\Program Files\Adobe\Acrobat 7.0\Reader, and then just set the
> viewer to acrord32.exe.
>
> Interestingly, LyX IS able to load the path from the preferences file,
> and the viewer of just acrord32.exe just fine.  It can remember the
> viewer when it is acrord32.exe but not the longer full pathname, which
> is certainly a bit baffling.
>
> However, when I try to view the pdf with those settings, it IS able to
> open the viewer, but cannot find the temp pdflatexed file to open.
> Argh!  So, this combination of settings doesn't work, but for a
> completely different reason.
>
> --Mark
>
> On 9/8/05, Stephen P. Harris <[EMAIL PROTECTED]> wrote:
> > - Original Message -
> > From: "Mark Engelberg" <[EMAIL PROTECTED]>
> > To: 
> > Sent: Thursday, September 08, 2005 1:01 PM
> > Subject: LyX doesn't store my PDF viewer info
> >
> >
> > When I set LyX to tell it the path and file name of my Acrobat Reader,
> > it doesn't stick.
> > When I quit, and restart it, and loses that info.
> >
> > --Mark
> >
> > My viewer has this path, C:\reader7\Reader\AcroRd32.exe
> > Yours is probably in F:\program files\adobe etc
> > So try using the full path name including the drive letter.
> >
> > Since you probably know to modify and save, perhaps
> > the changes are being saved to the wrong partition.? Locate
> > (all) your preferences file by searching all your partitions and
> > remember to enable search "hidden files and folders". Mine is
> > C:\Documents and Settings\Stephen\Application Data\LyX
> > Still, I think using the full path including drive letter should fix
> > it, if any of the other preferences options are being read and
> > you have only one preferences file.

-- 
-
Ing. Vaclav Smidl, Ph.D.tel: +420 26605 2420
AS department,  Institute   web: http://www.utia.cas.cz/AS/smidl/
of Information Theory and Automation,   fax: +420 26605 2068
Prague, Czech Republic


Re: Turabian Style?

2005-09-09 Thread Mhac Janapin
Thanks guys! I will check out all those recommendations.

Mhac

On 9/9/05, Kevin Pfeiffer <[EMAIL PROTECTED]> wrote:
> 
> Mhac Janapin writes:
> > Hi Guys!
> > I am new in this list, so please bear with my total ignorance. I am
> > writing my Dissertation right now and *was* using a wordprocessor to
> > do it. However, that word proc is quite lacking in doing what I
> > intend to do. Then I stumbled on LaTeX which logically led me to Lyx.
> []
> > However, our Department requires us to follow the Turabian
> > Specifications in writing our paper. So in wanting to use Lyx, I
> > tried to search for a style that follows the Turabian
> > Specifications... and I don't think I found one.
> >
> > So:
> > 1) Is there an existing style available (from users here or even a
> > downloadable one) that would follow Turabian?
> 
> The Turabian style appears to be based on Chicago. The TeX Catalogue
> lists a package and bib.sty called "achicago". Perhaps someone here
> knows whether one could use this with LyX (I'm not smart enough). Here
> are the links:
> 
> http://www.tug.org/tex-archive/help/Catalogue/entries/achicago.html
> http://www.tug.org/tex-archive/help/Catalogue/entries/achicago-bst.html
> 
> Last but not least, ask your department for a layout file. Perhaps the
> have one; if not, they will learn that there might be a need for one.
> 
> -Kevin
> 
> --
> Kevin Pfeiffer <[EMAIL PROTECTED]>
> Tiros-Translations
> 



-- 
Mhac Janapin
PBTS SysAd
www.pbts.net.ph 
=
http://mulingsilang.blogspot.com
=
I'm an Open Source Enthusiast. c",)
Mozilla Firefox 1 - getfirefox.com 
Mozilla Thunderbird 1 - mozilla.org 
OpenOffice.org 1
=


Re: LyX doesn't store my PDF viewer info

2005-09-09 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes:

Angus> Stephen P. Harris wrote:
>> My viewer has this path, C:\reader7\Reader\AcroRd32.exe Yours is
>> probably in F:\program files\adobe etc So try using the full path
>> name including the drive letter.

Angus> You should consider using the "path_prefix" variable to modify
Angus> the PATH environment variable used by LyX so that it can "just
Angus> find" AcroRd32.exe in the PATH.

Angus> The variable can be set from the Edit->Preferences dialog,
Angus> Paths pane or by editing the preferences file directly.

What using "start" as a viewer, with the appropriate options? I really
think most windows viewers should be just that.

JMarc


Re: LyX doesn't store my PDF viewer info

2005-09-09 Thread Jean-Marc Lasgouttes
> "Mark" == Mark Engelberg <[EMAIL PROTECTED]> writes:

Mark> I am using the full path name. When I set the preferences file
Mark> to: "F:\Program Files\Adobe\Acrobat 7.0\Reader\acrord32.exe"
Mark> then everything works for the duration of that LyX session.

Mark> But when I exit the program, and reenter the program, no viewer
Mark> is listed when I select "Edit->Preferences" and look under PDF.
Mark> However, the viewer IS listed in the actual preferences file.
Mark> For some reason, LyX is failing to load this preference from the
Mark> file.

The problem is that the name will be saved as something like
\viewer ""F:\Program Files\Adobe\Acrobat 7.0\Reader\acrord32.exe""
which means that the " quotes are not parsed correctly. We should
escape these values.

JMarc



Re: LyX doesn't store my PDF viewer info

2005-09-09 Thread Angus Leeming
Vaclav Smidl wrote:

> I have seen similar problem on my colleagues computer, we resolved it
> using the workaround with PATH as described by Angus.
> To my understanding, the trouble is, that saving the full path
>  "F:\Program Files\Adobe\Acrobat 7.0\Reader\acrord32.exe"
> in the preferences, adds extra " around it, so that it looks like
>  ""F:\Program Files\Adobe\Acrobat 7.0\Reader\acrord32.exe""
> and, when this is read by lyx, it appears as empty string ("").

Thanks, for the diagnosis, Vasek. This is now bug #2016:
http://bugzilla.lyx.org/show_bug.cgi?id=2016

-- 
Angus



Re: confusion: interword spacing vs. unbreakble space

2005-09-09 Thread Kevin Pfeiffer
Juergen Spitzmueller writes:
> David Soukal wrote:
> > I'm very confused about how to properly create an interword space.
> > In LaTeX the standard way is to use "\ " for an interword space and
> > \@ for the end-of-sentence spacing after punctuation. I was used to
> > typing
> >
> > bla, e.g.\ bla
>
> correct is:
> bla, e.\,g.\ bla
> (with "thinspace" inbetween the abbreviation).

(Sorry about beating a dead horse...)

What about a situation such as this: "Fig. 26"? To my eye, the interword 
space behind the abbreviating period seems too wide. Should this be a 
thin space instead? 

-K

-- 
Kevin Pfeiffer <[EMAIL PROTECTED]>
Tiros-Translations


Re: Setting Font

2005-09-09 Thread Roy Schestowitz

_/ On Fri 09 Sep 2005 09:07:37 BST, [s.vestli] wrote : \_




>
> I seem to be unable to change the font. No matter ..
Are you unable to change screen fonts? Output/printout fonts? With the

cursor

over text with modified font/s, can you see an alterative font name in

the

status bar?


I am talking about the Output fonts. I have tried:
Layout -> Document -> Layout -> Font & size (e.g. font to helvet)
and
Layout -> Document -> Preamble, inserted "\usepackage[scaled=0.92]
{helvet}"
and
both above combined

Document class is "report".



Make sure you make a selection before choosing fonts and then press 
"Apply". If

you do not hit "Apply", no changes will be made. It is confusing, I would have
to admit, especially due to WYSIWYG habits.



How have you gone about changing fonts? Have you highlighted the text,

then

opened the Character menu, changed the fonts and applied changes to the
selection?


see above.


In your output, do you see high-resolution fonts?


The only thing I see in my output is (a rather nice) Times.



What font was chosen for the document in its entirety? Is it using the default
for "report", which may be "Times?



BTW, I cannot see any font names in the status bar.



I think this may be the cause of the problem. When placing the keyboard cursor
over text with modified fonts/size, the status bar should be accommodated with
a string, e.g. "Font: Helvetica".



Kind regards

Sjur J.
Vestli


Hope it helps,

Roy

--
Roy S. Schestowitz  | $> sudo root; cd /; rm -rf *.doc
http://Schestowitz.com  |SuSE Linux| PGP-Key: 74572E8E
10:30am  up 15 days 12:22,  3 users,  load average: 1.39, 1.07, 1.18



colophon info for LyX/LaTeX?

2005-09-09 Thread Kevin Pfeiffer
Is there any standardized material about LyX, etc. that I can use in the 
colophon for the book I am working on? Something in German would be 
even better. 

Is there anything else that needs to be (or should be) included in a 
book produced  using LyX (and with the help of the lyx-users list)?

-K


-- 
Kevin Pfeiffer <[EMAIL PROTECTED]>
Tiros-Translations


Re: Problems installing 1.3.6-1 RPMs

2005-09-09 Thread Paul Smith
On 9/9/05, Peter Flynn <[EMAIL PROTECTED]> wrote:
> I just tried to install Lyx from the 1.3.6-1 RPMs.
> 
> It can't find the commands kpsewhich and texhash, which is weird because
> they are both in the global path. The TeX is a new full install from the
> TeX Collection DVD.
> 
> How do I get around this? Is the postinstall script SUing to some
> strange UID (the RPM install is done as root, of course).
> 
> This happens for both xforms and qt versions (tried both) and now they
> won't uninstall cleanly either, because they're trying to undo stuff
> that never got done.

Apparently, the problem is not caused by LyX. Try to run (as root) on
the command line the two problematic commands (kpsewhich and texhash).
In case they do not work, it makes clear that the problem is not LyX
related.

Paul


Bibliography style

2005-09-09 Thread christiaan johannes pauw
I am writing a thesis in Afrikaans using Lyx 1.3.4 on SuSE 9.1. I use 
the report document style and ampsrmp.bst form my Bibliography style. 
Under layout->Document->Bibliography I selected "use natbib" with option 
Author-year. I have hacked ampsrmp.bst a bit to include al the correct 
Afrikaans terms (the version I had was incomplete).


Before I selected "use natbib" the citation style was something like 
[Barth(1948), 40]. Now it is (Barth, 1948, 40). What I would like is 
(Barth 1948:40). Is there something I can do to change the .bst file or 
use something else to  achieve that?


Thanks in advance. Lyx is great

Regards
Christiaan


Letter. No address in Dvi/ps/pdf output

2005-09-09 Thread christiaan johannes pauw

I use lyx 1.3.4 on SuSE 9.1

When I write a letter using the letter document class (selected under 
Layout-> Document) and format text as 'My address' or 'send to address' 
the don't show up in the dvi output or only one line shows up. I have 
tried to select the address line one by one, but it doesn't seem to work 
- it only gives the last line of the address.


What is wrong? Do I need to install something extra

Regards
Christiaan



Re: Bibliography style

2005-09-09 Thread Martin A. Hansen
try latex makebst


martin

On 09/09/05, christiaan johannes pauw <[EMAIL PROTECTED]> wrote:
> 
> I am writing a thesis in Afrikaans using Lyx 1.3.4 on SuSE 9.1. I use
> the report document style and ampsrmp.bst form my Bibliography style.
> Under layout->Document->Bibliography I selected "use natbib" with option
> Author-year. I have hacked ampsrmp.bst a bit to include al the correct
> Afrikaans terms (the version I had was incomplete).
> 
> Before I selected "use natbib" the citation style was something like
> [Barth(1948), 40]. Now it is (Barth, 1948, 40). What I would like is
> (Barth 1948:40). Is there something I can do to change the .bst file or
> use something else to achieve that?
> 
> Thanks in advance. Lyx is great
> 
> Regards
> Christiaan
>


Re: Letter. No address in Dvi/ps/pdf output

2005-09-09 Thread Axel Dessecker
Christiaan,

Am Freitag, 9. September 2005 13:26 schrieb christiaan johannes pauw:
> When I write a letter using the letter document class (selected under
> Layout-> Document) and format text as 'My address' or 'send to address'
> the don't show up in the dvi output or only one line shows up. I have
> tried to select the address line one by one, but it doesn't seem to work
> - it only gives the last line of the address.

Your address should only be one paragraph. For a new line, press 
.

Axel


Re: colophon info for LyX/LaTeX?

2005-09-09 Thread Kevin Pfeiffer
Kevin Pfeiffer writes:
> Is there any standardized material about LyX, etc. that I can use in
> the colophon for the book I am working on? Something in German would
> be even better.
>
> Is there anything else that needs to be (or should be) included in a
> book produced  using LyX (and with the help of the lyx-users list)?

This is what I have so far:
Das Buch wurde mit LyX (http: www.lyx.org) und LaTeX/TeX erstellt.
(The book was produced using LyX (...) and LaTeX/TeX.)

Very dull and not too informative. It occurs to me that I should also 
include a credit for the koma-book layout/style.

-K

-- 
Kevin Pfeiffer <[EMAIL PROTECTED]>
Tiros-Translations


CVS access down?

2005-09-09 Thread David Soukal

Hello everybody,

I've been trying to download LyX from the CVS without any success for 
several day now. Can somebody, please, confirm that the server is 
unaccessible? Or is the problem on our side?


I don't remember the cvs command, so I tried to click on "Details can be 
 found here" on the Download page at LyX.org. However I always get a 
timeout.


Our internet connection has been acting strangely lately, so I assume 
the problem is here...


Thanks,

David


Re: CVS access down?

2005-09-09 Thread Angus Leeming
David Soukal wrote:

> Hello everybody,
> 
> I've been trying to download LyX from the CVS without any success for
> several day now. Can somebody, please, confirm that the server is
> unaccessible? Or is the problem on our side?

Are you using the anoncvs.us.lyx.org mirror of the cvs repository? If so,
then the directory has indeed changed, as described here:

http://thread.gmane.org/gmane.editors.lyx.devel/47733
Please change all references of /cvs to /var/cvs when referring to
cvs.sylvan.com (AKA anoncvs.us.lyx.org).

Georg Baum noted that:
A handy utility to convert your existing checked out directory is
'cvschroot', available from http://www.red-bean.com/cvsutils/

Alternatively, a little bit of scripting should do the job. (You'll want to
modify the CVS/Root files.)

> I don't remember the cvs command, so I tried to click on "Details can be
>   found here" on the Download page at LyX.org. However I always get a
> timeout.

This one is also our problem. www.devel.lyx.org is currently dead.

> Our internet connection has been acting strangely lately, so I assume
> the problem is here...
> 
> Thanks,
> 
> David

-- 
Angus



Re: CVS access down?

2005-09-09 Thread David Soukal

Are you using the anoncvs.us.lyx.org mirror of the cvs repository? If so,
then the directory has indeed changed, as described here:

http://thread.gmane.org/gmane.editors.lyx.devel/47733
Please change all references of /cvs to /var/cvs when referring to
cvs.sylvan.com (AKA anoncvs.us.lyx.org).


It's been some time since I last used CVS version of LyX so I don't 
remember which mirror I used, but I followed the instructions described 
on the "main" LyX.org site.






I don't remember the cvs command, so I tried to click on "Details can be
 found here" on the Download page at LyX.org. However I always get a
timeout.




I've read the thread but I still cannot figure out the whole cvs 
command. Could you, please, write it down for me? I'm sorry, I don't 
have that much experience with CVS so it's hard for me to derive the 
command + paths...


We're using LyX 1.3.6 for our publications needs :) But I thought I'd 
give 1.4 a try for my thesis...


Thank you for your help,

David


Re: CVS access down?

2005-09-09 Thread Angus Leeming
David Soukal wrote:
> I've read the thread but I still cannot figure out the whole cvs
> command. Could you, please, write it down for me? I'm sorry, I don't
> have that much experience with CVS so it's hard for me to derive the
> command + paths...

 CVSROOT=pserver:[EMAIL PROTECTED]:/var/cvs/lyx
 export CVSROOT
 cvs login
 (the password is lyx)
 cvs checkout -d your_dir_name lyx-devel

-- 
Angus



Re: CVS access down?

2005-09-09 Thread Angus Leeming
Angus Leeming wrote:

> David Soukal wrote:
>> I've read the thread but I still cannot figure out the whole cvs
>> command. Could you, please, write it down for me? I'm sorry, I don't
>> have that much experience with CVS so it's hard for me to derive the
>> command + paths...

That's:

>  CVSROOT=pserver:anoncvs AT anoncvs.us.lyx.org:/var/cvs/lyx
>  export CVSROOT
>  cvs login
>  (the password is lyx)
>  cvs checkout -d your_dir_name lyx-devel

for those of us reading this mail through the gmane news gateway.
Replace " AT " with "@".

-- 
Angus



Re: Problems installing 1.3.6-1 RPMs

2005-09-09 Thread Paul A. Rubin

Peter Flynn wrote:

I just tried to install Lyx from the 1.3.6-1 RPMs.

It can't find the commands kpsewhich and texhash, which is weird because 
they are both in the global path. The TeX is a new full install from the

TeX Collection DVD.

How do I get around this? Is the postinstall script SUing to some
strange UID (the RPM install is done as root, of course).

This happens for both xforms and qt versions (tried both) and now they
won't uninstall cleanly either, because they're trying to undo stuff
that never got done.

It's not just kpsewhich and texhash -- both install scripts failed to 
find a working latex executable.


IIRC, the install scripts for look for latex and latex2e by trying to 
execute them.  Assuming that your latex executable is on the global path 
and works (which you can test by trying to run it from a shell prompt), 
you might check whether there's a permissions problem (is the LyX 
install script running under an account that can access the LaTeX 
installation).


Paul



  1   2   >