Re: Xfig question

2003-09-18 Thread Andre Poenitz
On Wed, Sep 17, 2003 at 01:42:10PM -0700, Rich Shepard wrote:
   While this is not explicitly LyX, I'm using Xfig to prepare illustrations
 for my book which is being written with LyX. If anyone knows of a more
 appropriate mail list, _please_ let me know.
 
   I'm brand new to Xfig and I'm trying to draw xspline curves quickly and
 accurately. I'm slowly getting the idea, but now and then I get a little
 zig-zag in the line between nodes and I have no idea how to remove that and
 make the line smooth. The edit box has only the nodes (where I clicked the
 left trackball button) and, as far as I can see, no way to edit the line
 itself.
 
   Can someone with more experience help me learn?

There is a button with a pair of scissors in the left 'tool column'
(fifth button counted from the bottom). This can be used to remove
points from a curve. The button above introduces new points.

As far as I am concerned, xfig is a bit quiky UI wise but apart from
that a fairly powerful tool.

Andre'

-- 
Those who desire to give up Freedom in order to gain Security, will not have,
nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)


Re: Once more: Bibtex

2003-09-18 Thread Andre Poenitz
On Thu, Sep 18, 2003 at 12:29:36AM +0200, Kai Johannes Keller wrote:
 But I don't like the numbers ([1] in .dvi-output) for citing an entry of
 the bibtex-catalogue, I'd rather like to have something like [OLO] in
 the Text to take reference to a book written by Rainer Oloff. I know
 that it's possible with the normal Bibliography-environment, but is
 there a way to do this in Bibtex, too?

Isn't that what the 'style' field in the dialog is good for?

Andre'

-- 
Those who desire to give up Freedom in order to gain Security, will not have,
nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)


Some footnotes only in draft?

2003-09-18 Thread Michael Logies
Hello,

here is described how to use some footnotes only in draft:
http://www.educat.hu-berlin.de/~voss/LaTeX/misc/misc.phtml#draft

If you want to use this option for own commands like notes, than you can use this 
option and output some notes only when the draft option is set. The following example 
shows this for the arcticle class: 
\newcommand{\myNote}[1]{%
   [EMAIL PROTECTED]
 \marginpar{#1}}{}%
}

My problem is that I don`t understand this code. How do I have to use it?

Thanks

M.


-- 
http://www.logies.de/ (u. a. _die_ Mailingliste für die Dentalbranche)
PGP-key (RSA/IDEA) kommt mit angeforderter Empfangsbestätigung (return receipt)



Re: Some footnotes only in draft?

2003-09-18 Thread Michael Logies
At 09:59 18.09.2003 +0200, Andre Poenitz wrote:

Even better: '\mynote{' in ERT, then 'normal text', then the '}' in ERT
again.

Andre',

I like this, because it would be easy to use on more complex footnotes. But it does 
not work. I don`t see the footnote, whether draft or not:

%% LyX 1.3 created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[12pt,ngerman,bibtotocnumbered, idxtotoc, liststotoc, draft]{scrartcl}

%% Bestimmte Dinge (\myNote{nur im Draft}) nur im Draft:
\newcommand{\myNote}[1]{%
   [EMAIL PROTECTED]
 \marginpar{#1}}{}%
}

In the text I find:

\myNote{%
\footnote{Testfußnote%
} }

Thanks

M.

-- 
http://www.logies.de/ (u. a. _die_ Mailingliste für die Dentalbranche)
PGP-key (RSA/IDEA) kommt mit angeforderter Empfangsbestätigung (return receipt)



Re: Some footnotes only in draft?

2003-09-18 Thread Andre Poenitz
On Thu, Sep 18, 2003 at 10:56:26AM +0200, Michael Logies wrote:
 At 09:59 18.09.2003 +0200, Andre Poenitz wrote:
 
 Even better: '\mynote{' in ERT, then 'normal text', then the '}' in ERT
 again.
 
 Andre',
 
 I like this, because it would be easy to use on more complex footnotes. But it does 
 not work. I don`t see the footnote, whether draft or not:
 
 %% LyX 1.3 created this file.  For more info, see http://www.lyx.org/.
 %% Do not edit unless you really know what you are doing.
 \documentclass[12pt,ngerman,bibtotocnumbered, idxtotoc, liststotoc, draft]{scrartcl}
 
 %% Bestimmte Dinge (\myNote{nur im Draft}) nur im Draft:
 \newcommand{\myNote}[1]{%
[EMAIL PROTECTED]
  \marginpar{#1}}{}%
 }
 
 In the text I find:
 
 \myNote{%
 \footnote{Testfußnote%
 } }

What about

 \newcommand{\myNote}[1]{%
[EMAIL PROTECTED]
  \footnote{#1}}%
 }
 
 In the text I find:
 
 \myNote{%
 Testfußnote%
 }

?

Andre'
-- 
Those who desire to give up Freedom in order to gain Security, will not have,
nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)


Re: Xfig question

2003-09-18 Thread Angus Leeming
Jean-Pierre.Chretien wrote:
 man xfig
 man transfig
 
 But what I like in xfig (in addition to its powerful import and
 export capabilities and the batch processing features) is the
 object oriented interface (update settings/update objects)
 and the adaptive help and  particularly the dynamic mouse at the
 top right corner.
 
 Once the initial learning effort made, I can use it from time
 to time without having to dig again in the manual.

Incidentally all, 
LyX 1.4.x (current cvs) has really powerful support for xfig images via the 
External inset.

I have written a couple of converters to produce 'best quality' documents when 
the latex file is run through either the latex or pdflatex compilers and to 
just use a 'quick and easy' converter for display on the LyX screen:

\converter fig pdftex sh $$s/fig2pdftex.sh $$i $$o 
\converter fig pstex  sh $$s/fig2pstex.sh $$i $$o 
\converter fig ppm fig2dev -L ppm $$i $$o 
\converter fig png fig2dev -L png $$i $$o 

FYI, I attach the fig2pstex.sh script and the External Template that we use to 
define XFIG support.

I do this because there is no reason not to support dia, tgif and sketch also. 

If these programs don't need some sort of 'latex support' to produce optimal 
results, then you can use the existing graphics inset together with an 
appropriate set of converters and all will be fine.

However, from what I understand, tgif can export snippets of latex just as 
xfig can. If that is the case, then it would be nice to have an External 
Template equivalent to the XFIG one that we have already. Don't you think?

Any tgif users out there interested in showing me the way forward?

-- 
Angus

fig2pstex.sh
Description: application/shellscript
# An External Template for XFIG support by LyX

PreambleDef XFigInput
%% This inputs the file if it exists, else prints a warning
%% encased in an fbox.
\def\stripprefix#1{}
\newcommand*{\xfiginput}[1]{%
\edef\tempfilename{#1}%
\InputIfFileExists{#1}{}{%
\fbox{Could not find
\ttfamily\expandafter\stripprefix\meaning\tempfilename!}
\typeout{xfiginput: Could not find \tempfilename!}
}
}
PreambleDefEnd

Template XFig
GuiName [XFig: $$Basename]
HelpText
An XFig figure.
This template uses XFig for editing.
HelpTextEnd
InputFormat fig
FileFilter *.fig
EditCommand xfig $$FName
AutomaticProduction true
Format LaTeX
Product \\xfiginput{$$Basename.pstex_t}
UpdateFormat pstex
UpdateResult $$Basename.pstex_t
Requirement graphicx
Preamble XFigInput
FormatEnd
Format PDFLaTeX
Product \\xfiginput{$$Basename.pdftex_t}
UpdateFormat pdftex
UpdateResult $$Basename.pdftex_t
Requirement graphicx  
Preamble XFigInput
FormatEnd
Format Ascii
Product $$Contents(\$$Basename.asc\)
UpdateFormat asciixfig
UpdateResult $$Basename.asc
FormatEnd
Format DocBook
Product graphic fileref=\$$Basename.eps\/graphic
UpdateFormat eps
UpdateResult $$Basename.eps
FormatEnd
Format LinuxDoc
Product [XFig: $$FName]
FormatEnd
TemplateEnd


Re: Some footnotes only in draft?

2003-09-18 Thread Michael Logies
At 11:08 18.09.2003 +0200, Andre Poenitz wrote:

What about

 \newcommand{\myNote}[1]{%
[EMAIL PROTECTED]
  \footnote{#1}}%
 }
Andre',

no, that`s even worse.

Regards

M.
--
http://www.logies.de/ (u. a. _die_ Mailingliste für die Dentalbranche)
PGP-key (RSA/IDEA) kommt mit angeforderter Empfangsbestätigung (return receipt)


mwbk bullets

2003-09-18 Thread gordon
Hi

I'm using the book (mwbk) document type, but all bullets (itemize)
appear as dashes. What would be the easiest way to prevent this?

Regards
Gordon


-- 
gordon [EMAIL PROTECTED]


Re: Once more: Bibtex

2003-09-18 Thread Juergen Spitzmueller
Kai Johannes Keller wrote:
 But I don't like the numbers ([1] in .dvi-output) for citing an entry of
 the bibtex-catalogue, I'd rather like to have something like [OLO] in
 the Text to take reference to a book written by Rainer Oloff. I know
 that it's possible with the normal Bibliography-environment, but is
 there a way to do this in Bibtex, too?

bibstyle alpha does something similar. If you want Author (year), you have 
to use natbib (Layout-Document-Bibliography: use natbib).

HTH,
Juergen. 


Re: mwbk bullets

2003-09-18 Thread Jeannette Meyer
Hi Gordon,

On Thursday 18 September 2003 16:45, gordon wrote:
 I'm using the book (mwbk) document type, but all bullets (itemize)
 appear as dashes. What would be the easiest way to prevent this?

Did you try to change this behavior in Layout-Document-Bullets, Set Bullets?

Jeannette


Qt-UI widget question

2003-09-18 Thread Rich Shepard
  Running 1.3.2 with the Qt UI I see a data entry widget at the bottom of
the main window. To the left of this area are two buttons, one with an up
arrow the other with a down arrow. Left of the buttons is a narrow vertical
bar that closes the entire window line.

  I don't see anything in the documentation about this. What does it do? How
do I use it? When -- or why -- would I want to use it?

Thanks,

Rich

Dr. Richard B. Shepard, President

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


Re: Qt-UI widget question

2003-09-18 Thread Juergen Spitzmueller
Am Donnerstag, 18. September 2003 17:05 schrieb Rich Shepard:
 Running 1.3.2 with the Qt UI I see a data entry widget at the bottom of
 the main window. To the left of this area are two buttons, one with an up
 arrow the other with a down arrow. Left of the buttons is a narrow vertical
 bar that closes the entire window line.

   I don't see anything in the documentation about this. What does it do?
 How do I use it? When -- or why -- would I want to use it?

This is the minibuffer, more or less a power user tool. You can type in so 
called lfuns like date-insert. Have a look here for a list:
http://wiki.lyx.org/pmwiki.php/Devel/LFUNs

Regards,
Juergen.


LyX/Mac: AppleScript error when double clicking on a LyX file

2003-09-18 Thread Jean Gosset
Hello,

I just installed the LyX/Mac binary package on my PowerBook, from the 
http://www.18james.com/lyx_on_aqua.html; web page. Almost everything 
works properly, except the following.

When I try to open a LyX file by double clicking on its icon in the 
Finder or through a Drag and drop of its icon onto the Start-LyX 
application, I get the AppleScript error: You need to setup the 
LyXServer pipe in LyX  Preferences  Paths.. In this menu I see as 
path /Users/gosset/.lyx/.lyxpipe. This file does not exist. The ls 
-la /Users/gosset/.lyx/.lyx* command gives me the following answer, 
with two empty files but none with the right name:

prw---   1 gosset  staff 0 Sep 18 17:30 .lyxpipe.in
prw---   1 gosset  staff 0 Sep 18 17:30 .lyxpipe.out
What should I do?
Thanks for your help,
+--+---+
| Jean Gosset  | Tél. (33/0) 1 69 08 73 05 |
| DAPNIA/SPhN, B703, P40   | Fax 75 84 |
| CE de Saclay | Mél: [EMAIL PROTECTED]   |
| F 91191 Gif-sur-Yvette cedex |   |
+--+---+


Path to the lyx file cannot contain spaces

2003-09-18 Thread Bruce
(I sent this message last week, and though received no error message it
didn't seem to make it to the list (or at least not to the archive).
Apologies if it is a duplicate.)
___


I get this message when try to preview a file that (suprise) is in a
directory that has spaces in its name.

Not that this is a huge deal, I'm just curious... why is this?

Though I must say that it is refreshing to get an error message that tells
you _exactly_ what went wrong, which unfortunately so many programs don't
do.

B.




Using LyX for court documents

2003-09-18 Thread Bruce
(I sent this message last week, and though received no error message it
didn't seem to make it to the list (or at least not to the archive).
Apologies if it is a duplicate.)
___


I've had a look at LyX a couple of times over the past few years, and
occasionally write an article or paper with it (provided it is something I
don't have to share for editing with others in my MS/Word/Wordperfect
world of work, which is extremely rare).

One thing I have often thought LyX would be ideal for would be for
preparing court documents, or other legal documents for that matter, that
have a set structure and elements. I particularly think of this when I am
working on a factum that has passed through several other lawyer's
computers, and has the detruit of all their particular Word formatting
quirks munged together. However, though I recognize that, in principle, it
should be possible, I haven't managed to figure out how one would go about
setting up the necessary templates/layouts/text class/document class (I'm
still a bit vague on the distinctions), and I get the feeling that it is
probably not a simple task.

The problem is that court documents don't seem to fit well with any of the
standard text classes in LyX, nor could I find anything particularly on
topic on CTAN.

Some of the requirements would be additional elements (court file no.,
parties, counsel, etc.), and other requirements like sequential paragraph
numbering through an entire document (including through different
sections or parts), which I couldn't figure out how to do with
nesting. The actual placement of the various elements is also generally
determined by the court rules in the relevant jurisdiction, though I
assume this could be set up easily enough by someone knowledgeable.

It seems that court documents are really a specialized enough type of
document that they would need their own document class. Moreover,
different jurisdictions may have wildly varying layout requirements
(though the basic elements will probably be the same). Is anyone aware of
any project to prepare legal documents using LyX?

B.




Tesis finished

2003-09-18 Thread Andres Becerra

Greetings,

I want to thank all LyX developers and users for this tool and the
useful activity of this list.

A few days ago I finished my tesis written with LyX (100+ pages), and it
was a deligth, because I've never had real problems with the software.

-  I was using Carsten Heinz latex package listings to include source
code located in external files (C++, CORBA IDL)
-  I also used oz2tex a converter from Oz source code to raw tex (which
was included in lyx files)
- All images were made with the tool Dia (and, yes, it supports latex
formulas, according to the FAQ in its web page, but I have not used it
yet)

Thanks to all of you who contribute in this list and the developers for
the good work.


Best regards,

Andres Becerra Sandoval
---



Re: Using LyX for court documents

2003-09-18 Thread John Levon
On Thu, Sep 18, 2003 at 11:55:19AM -0400, Bruce wrote:

 It seems that court documents are really a specialized enough type of
 document that they would need their own document class. Moreover,
 different jurisdictions may have wildly varying layout requirements
 (though the basic elements will probably be the same). Is anyone aware of
 any project to prepare legal documents using LyX?

The priority is to find a class for LaTeX. Then it's relatively easy
(probably) to write a lyx layout file that can use that LaTeX class.

regards
john
-- 
Khendon's Law:
If the same point is made twice by the same person, the thread is over.


Re: Qt-UI widget question

2003-09-18 Thread Juergen Spitzmueller
Rich Shepard wrote:
 Oh. Thanks. I read the Web page and understand it as far as it goes, but I
 do not -- yet? -- see the advantages. For example, I do not see the
 advantage of typing LFUN_FILE_OPEN in the minibuffer when a ctrl-o does
 the same thing.

you do not type LFUN_FILE_OPEN but file-open. The advantages are for those 
who don't like dialogs and clicking. Sometimes it is just faster, and some 
features are only supported via minibuffer (e.g. date-insert, 
paragraph-spacing onehalf).

   Well, at least now I know what it is. :-)

Yes. In 1.4, you should be able to switch it off...

Regards,
Juergen.


Re: Qt-UI widget question

2003-09-18 Thread Andre Poenitz
On Thu, Sep 18, 2003 at 09:06:13AM -0700, Rich Shepard wrote:
 On Thu, 18 Sep 2003, Juergen Spitzmueller wrote:
 
  This is the minibuffer, more or less a power user tool. You can type in so
  called lfuns like date-insert. Have a look here for a list:
  http://wiki.lyx.org/pmwiki.php/Devel/LFUNs
 
 Juergen,
 
   Oh. Thanks. I read the Web page and understand it as far as it goes, but I
 do not -- yet? -- see the advantages. For example, I do not see the
 advantage of typing LFUN_FILE_OPEN

[That would be 'file-open'...]

 in the minibuffer when a ctrl-o does the same thing.

Not everything LyX provides is accessible via keybindings and menus.
Apart from that, some things are faster typed in in the minibuffer than
typed in some dialog.

Andre'


Re: Qt-UI widget question

2003-09-18 Thread John Levon
On Thu, Sep 18, 2003 at 09:06:13AM -0700, Rich Shepard wrote:

   Oh. Thanks. I read the Web page and understand it as far as it goes, but I
 do not -- yet? -- see the advantages. For example, I do not see the
 advantage of typing LFUN_FILE_OPEN in the minibuffer when a ctrl-o does
 the same thing.

o a very small number of functions don't have key bindings or menu
  items by default
o it's useful for us hackers

in 1.4.0cvs, it's hidden by default under the Qt frontend, precisely
because it's fairly useless.

regards
john

-- 
Khendon's Law:
If the same point is made twice by the same person, the thread is over.


Re: Path to the lyx file cannot contain spaces

2003-09-18 Thread Bruce
 On Thu, Sep 18, 2003 at 11:54:46AM -0400, Bruce wrote:
 (I sent this message last week, and though received no error message it
 didn't seem to make it to the list (or at least not to the archive).
 Apologies if it is a duplicate.)

 As I seem to remember having answered it probably made it through.


Very strange. I was not subscribed when I sent the two messages on 11
Sept, thinking I would just go and check the archive for responses.

The archive is apparently current to today (18 Sept). However, neither of
the messages I sent, nor any replies, are in the archive at:

 http://www.mail-archive.com/[EMAIL PROTECTED]/maillist.html

which is identified as the new archive at

 http://www.lyx.org/internet/mailing.php3

Is it possible that threads started by non-lists subscribers are not
archived?

B.


Re: Qt-UI widget question

2003-09-18 Thread Rich Shepard
On Thu, 18 Sep 2003, Andre Poenitz wrote:

 Not everything LyX provides is accessible via keybindings and menus. Apart
 from that, some things are faster typed in in the minibuffer than typed in
 some dialog.

Andre',

  OK. I've not yet run into this situation.

Thanks,

Rich

Dr. Richard B. Shepard, President

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


Re: mwbk bullets

2003-09-18 Thread gordon
Hi

I'm afraid that doesn't work. All bullets on all levels are dashes.

On Thu, 2003-09-18 at 15:48, Rich Shepard wrote:
 On Thu, 18 Sep 2003, gordon wrote:
 
  I'm using the book (mwbk) document type, but all bullets (itemize)
  appear as dashes. What would be the easiest way to prevent this?
 
   In the Layout | Document menu system is a place to specify the bullets to
 be used at different levels. Make your changes there.
 
 Rich
 
 Dr. Richard B. Shepard, President
 
Applied Ecosystem Services, Inc. (TM)
 2404 SW 22nd Street | Troutdale, OR 97060-1247 | U.S.A.
  + 1 503-667-4517 (voice) | + 1 503-667-8863 (fax) | rshepard#64;appl-ecosys.com
  http://www.appl-ecosys.com/
-- 
gordon [EMAIL PROTECTED]


Re: LyX/Mac: AppleScript error when double clicking on a LyX file

2003-09-18 Thread Angus Leeming
Jean Gosset wrote:

 Hello,
 
 I just installed the LyX/Mac binary package on my PowerBook, from the
 http://www.18james.com/lyx_on_aqua.html; web page. Almost everything
 works properly, except the following.
 
 When I try to open a LyX file by double clicking on its icon in the
 Finder or through a Drag and drop of its icon onto the Start-LyX
 application, I get the AppleScript error: You need to setup the
 LyXServer pipe in LyX  Preferences  Paths.. In this menu I see as
 path /Users/gosset/.lyx/.lyxpipe. This file does not exist. The ls
 -la /Users/gosset/.lyx/.lyx* command gives me the following answer,
 with two empty files but none with the right name:
 
 prw---   1 gosset  staff 0 Sep 18 17:30 .lyxpipe.in
 prw---   1 gosset  staff 0 Sep 18 17:30 .lyxpipe.out

These _are_ the correct names of the input and output pipes. At least, they 
correspond to the entry in the Preferences dialog.

 What should I do?

See if lyx responds to input through them. 
Type the stuff below at the command line to open up a file within lyx.

$ FILE=path/to/you/file.lyx
$ lyx -dbg lyxserver
$ echo LYXSRV:jean:hello  ~/.lyx/lyxpipe.in
$ echo LYXCMD:jean:file-open $FILE  ~/.lyx/lyxpipe.in

-- 
Angus



Re: Using LyX for court documents

2003-09-18 Thread Herbert Voß
John Levon schrieb:
The priority is to find a class for LaTeX. Then it's relatively easy
(probably) to write a lyx layout file that can use that LaTeX class.
seems to be a joke, that this is easy if you want a
_real_ LyX layout file ...
Herbert




Re: Qt-UI widget question

2003-09-18 Thread Andre Poenitz
On Thu, Sep 18, 2003 at 05:15:14PM +0100, John Levon wrote:
 o a very small number of functions don't have key bindings or menu
   items by default
 o it's useful for us hackers
 
 in 1.4.0cvs, it's hidden by default under the Qt frontend, precisely
 because it's fairly useless.

Who made that decision?

Andre'

-- 
Those who desire to give up Freedom in order to gain Security, will not have,
nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)


Re: mwbk bullets

2003-09-18 Thread Jean-Pierre.Chretien

Subject: Re: mwbk bullets
From: gordon [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Date: Thu, 18 Sep 2003 18:27:57 +0200

Hi

I'm afraid that doesn't work. All bullets on all levels are dashes.

On Thu, 2003-09-18 at 15:48, Rich Shepard wrote:
 On Thu, 18 Sep 2003, gordon wrote:
 
  I'm using the book (mwbk) document type, but all bullets (itemize)
  appear as dashes. What would be the easiest way to prevent this?
 
   In the Layout | Document menu system is a place to specify the bullets to
 be used at different levels. Make your changes there.

AFAIR, you should use plain List instead of Itemize as selected
environment for the bullet election to be taken into account.

-- 
Jean-Pierre



Re: Using LyX for court documents

2003-09-18 Thread John Levon
On Thu, Sep 18, 2003 at 06:31:46PM +0200, Herbert Vo? wrote:

 The priority is to find a class for LaTeX. Then it's relatively easy
 (probably) to write a lyx layout file that can use that LaTeX class.
 
 seems to be a joke, that this is easy if you want a
 _real_ LyX layout file ...

It's a thousand times easier writing a lyx layout file than writing a
latex class is.

john
-- 
Khendon's Law:
If the same point is made twice by the same person, the thread is over.


Re: mwbk bullets

2003-09-18 Thread Juergen Spitzmueller
gordon wrote:
 I'm afraid that doesn't work. All bullets on all levels are dashes.

it works as long as you do not want the default buttons. If you want them, 
however, write in preamble:

\AtBeginDocument{
\renewcommand{\labelitemi}{\textbullet}
\renewcommand\labelitemii{\normalfont\bfseries \textendash}
\renewcommand\labelitemiii{\textasteriskcentered}
\renewcommand\labelitemiv{\textperiodcentered}
}

Juergen.


Re: Using LyX for court documents

2003-09-18 Thread Herbert Voss
John Levon schrieb:
The priority is to find a class for LaTeX. Then it's relatively easy
(probably) to write a lyx layout file that can use that LaTeX class.
seems to be a joke, that this is easy if you want a
_real_ LyX layout file ...


It's a thousand times easier writing a lyx layout file than writing a
latex class is.
then tell me which LyX layout file is (nearly) a 1:1 translation of
an existing class file ... ;-)
Herbert



Re: Using LyX for court documents

2003-09-18 Thread John Levon
On Thu, Sep 18, 2003 at 06:58:55PM +0200, Herbert Voss wrote:

 then tell me which LyX layout file is (nearly) a 1:1 translation of
 an existing class file ... ;-)

Well, in what sense ?  It's not very important IMHO for the in-lyx
display to look exactly like what latex does.

Can you explain further please ?

regards
john

-- 
Khendon's Law:
If the same point is made twice by the same person, the thread is over.


Re: mwbk bullets

2003-09-18 Thread gordon
That did it :)
Thanks alot!

gordon


On Thu, 2003-09-18 at 18:54, Juergen Spitzmueller wrote:
 gordon wrote:
  I'm afraid that doesn't work. All bullets on all levels are dashes.
 
 it works as long as you do not want the default buttons. If you want them, 
 however, write in preamble:
 
 \AtBeginDocument{
 \renewcommand{\labelitemi}{\textbullet}
 \renewcommand\labelitemii{\normalfont\bfseries \textendash}
 \renewcommand\labelitemiii{\textasteriskcentered}
 \renewcommand\labelitemiv{\textperiodcentered}
 }
 
 Juergen.
-- 
gordon [EMAIL PROTECTED]


Re: LyX/Mac: AppleScript error when double clicking on a LyX file

2003-09-18 Thread Ronald Florence
Jean Gosset [EMAIL PROTECTED] writes:

 When I try to open a LyX file by double clicking on its icon in the
 Finder or through a Drag and drop of its icon onto the Start-LyX
 application, I get the AppleScript error: You need to setup the
 LyXServer pipe in LyX  Preferences  Paths.. In this menu I see as
 path /Users/gosset/.lyx/.lyxpipe. This file does not exist. The ls
 -la /Users/gosset/.lyx/.lyx* command gives me the following answer,
 with two empty files but none with the right name:
 
 prw---   1 gosset  staff 0 Sep 18 17:30 .lyxpipe.in
 prw---   1 gosset  staff 0 Sep 18 17:30 .lyxpipe.out

Looks like the LyXServer pipe is properly configured by the LyX/Mac
install.  Did you not trash an old version of Start-LyX from a
previous installation of LyX on Aqua before installing LyX/Mac?  

As a workaround for that possibility, try saving your Preferences in
LyX.  (Older versions of Start-LyX only read your own Preferences;
newer versions read system-wide Preferences as well.)
-- 

Ronald Florence www.18james.com



Re: Using LyX for court documents

2003-09-18 Thread Ronald Florence
You will need a LaTeX class and a LyX layout file, as others have
suggested, but the built-iin support for BibTeX and the availability
of Jurabib should make citations in court documents a pleasure.
-- 

Ronald Florence www.18james.com



Figure printing sideways

2003-09-18 Thread Rich Shepard
  I have a line drawing I did (in xfig) that is imported into a figure
float. When I look at the figure within LyX it appears properly --
horizontal orientation.

  However, when I view the compiled document (generally pdflatex in
acroread) the figure is rotated 90 degrees counter clockwise. This puts the
x axis vertically on the right, the y axis horizontally along the bottom
and everything else equally mis-placed.

  I assume the problem is the size of the figure and that's why it's rotated
when printed. In the figure properties dialog box I see many options for
sizing; most make no sense to me. At first I tried 50% with the scale%
measure, followed by 50% of the page%, then 40%. The figure is reduced in
size, but it's still rotated!

  What have I done wrong here? This I've not seen before and I have a large
number of equivalent line figures to include so I need to learn how to place
them properly.

Thanks,

Rich

Dr. Richard B. Shepard, President

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


Re: Figure printing sideways

2003-09-18 Thread Rich Shepard
On Thu, 18 Sep 2003, Rich Shepard wrote:

   However, when I view the compiled document (generally pdflatex in
 acroread) the figure is rotated 90 degrees counter clockwise. This puts the
 x axis vertically on the right, the y axis horizontally along the bottom
 and everything else equally mis-placed.

  Further information: when I rotate the figure -90 degrees around the
center it prints properly. But with a size of 5 in horizontal and 3 in
vertical, it's very small and the caption is too far below the figure -- in
acroread. In xpdf it looks better.

  Does this help identify the problem?

Thanks,

Rich

Dr. Richard B. Shepard, President

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


Re: Figure printing sideways

2003-09-18 Thread Angus Leeming
Rich Shepard wrote:

 On Thu, 18 Sep 2003, Rich Shepard wrote:
 
   However, when I view the compiled document (generally pdflatex in
 acroread) the figure is rotated 90 degrees counter clockwise. This puts the
 x axis vertically on the right, the y axis horizontally along the
 bottom and everything else equally mis-placed.
 
   Further information: when I rotate the figure -90 degrees around the
 center it prints properly. But with a size of 5 in horizontal and 3 in
 vertical, it's very small and the caption is too far below the figure -- in
 acroread. In xpdf it looks better.
 
   Does this help identify the problem?
 
 Thanks,
 
 Rich

Why not post a minimal sample document that displays the problem...

-- 
Angus



Re: Figure printing sideways

2003-09-18 Thread Kayvan A. Sylvan
I think this is a problem with epstopdf.

Try removing the %%Orientation:  line from your eps file and try
again. This is a hack, but I don't know the rigt fix yet.

On Thu, Sep 18, 2003 at 11:54:39AM -0700, Rich Shepard wrote:
   I have a line drawing I did (in xfig) that is imported into a figure
 float. When I look at the figure within LyX it appears properly --
 horizontal orientation.
 
   However, when I view the compiled document (generally pdflatex in
 acroread) the figure is rotated 90 degrees counter clockwise. This puts the
 x axis vertically on the right, the y axis horizontally along the bottom
 and everything else equally mis-placed.
 
   I assume the problem is the size of the figure and that's why it's rotated
 when printed. In the figure properties dialog box I see many options for
 sizing; most make no sense to me. At first I tried 50% with the scale%
 measure, followed by 50% of the page%, then 40%. The figure is reduced in
 size, but it's still rotated!
 
   What have I done wrong here? This I've not seen before and I have a large
 number of equivalent line figures to include so I need to learn how to place
 them properly.
 
 Thanks,
 
 Rich
 
 Dr. Richard B. Shepard, President
 
Applied Ecosystem Services, Inc. (TM)
 2404 SW 22nd Street | Troutdale, OR 97060-1247 | U.S.A.
  + 1 503-667-4517 (voice) | + 1 503-667-8863 (fax) | rshepard#64;appl-ecosys.com
  http://www.appl-ecosys.com/

-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | crown of her husband | Robin Gregory (2/28/92)


Re: Figure printing sideways

2003-09-18 Thread Angus Leeming
Kayvan A. Sylvan wrote:

 I think this is a problem with epstopdf.
 
 Try removing the %%Orientation:  line from your eps file and try
 again. This is a hack, but I don't know the rigt fix yet.

These are pure line drawings, right? No latex text.

How are you generating the pdf file?

If you are going the latex-dvi-ps-pdf route, then your converter route 
should be from xfig-eps using the native xfig conversion package. In LyX 
speak that'll be:
\converter fig eps fig2dev -L eps $$i $$o 

If you are going the pdflatex-pdf route, then your converter route should be 
xfig-pdf. No intermediate format (eps) at all.
\converter fig pdf fig2dev -L pdf $$i $$o 

If you're route is actually xfig-eps-pdf, then you may well be experiencing 
problems with epstopdf.

Incidentally, Kayvan, the 'solution' to your problem would be to define your 
own converter, epstopdf_kayvan.sh, that runs the eps file through sed to 
strip the %%Orientation:  line before calling epstopdf.

Angus




Re: Figure printing sideways

2003-09-18 Thread Rich Shepard
On Thu, 18 Sep 2003, Angus Leeming wrote:

 Why not post a minimal sample document that displays the problem...

  Thanks, Angus. Attached -- in pdf because that's a fraction of the size of
the ps file -- is the page with my problem figure on it. It displays in both
acroread and xpdf -- with the figure rotated.

Rich

Dr. Richard B. Shepard, President

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

fig-2.pdf
Description: Adobe PDF document


Re: Figure printing sideways

2003-09-18 Thread Rich Shepard
On Thu, 18 Sep 2003, Kayvan A. Sylvan wrote:

 I think this is a problem with epstopdf.

 Try removing the %%Orientation:  line from your eps file and try
 again. This is a hack, but I don't know the rigt fix yet.

Kayvan,

  There is no such line. Here's the prefix to the .eps file:

%!PS-Adobe-2.0 EPSF-2.0
%%Title: book-fig.2.eps
%%Creator: fig2dev Version 3.2 Patchlevel 3d
%%CreationDate: Wed Sep 10 18:02:40 2003
%%For: [EMAIL PROTECTED] (Rich Shepard)
%%BoundingBox: 0 0 496 277
%%Magnification: 1.
%%EndComments
/$F2psDict 200 dict def
$F2psDict begin
$F2psDict /mtrx matrix put

Thanks,

Rich

Dr. Richard B. Shepard, President

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


Re: Figure printing sideways

2003-09-18 Thread Rich Shepard
On Thu, 18 Sep 2003, Angus Leeming wrote:

 These are pure line drawings, right? No latex text.

Angus,

  Correct.

 How are you generating the pdf file?

  From within LyX: View  Pdflatex.

 If you are going the pdflatex-pdf route, then your converter route should be
 xfig-pdf. No intermediate format (eps) at all.
 \converter fig pdf fig2dev -L pdf $$i $$o 

  Now I'm lost. Within the document I created a float figure. Within that, I
used Insert  Graphic and entered the name of the .eps file. Should I have
used the .fig file?

Many thanks,

Rich

Dr. Richard B. Shepard, President

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


Re: Path to the lyx file cannot contain spaces

2003-09-18 Thread Paul A. Rubin
Bruce [EMAIL PROTECTED] wrote in
news:[EMAIL PROTECTED]: 

 (I sent this message last week, and though received no error message
 it didn't seem to make it to the list (or at least not to the
 archive). Apologies if it is a duplicate.)
 ___
 
 
 I get this message when try to preview a file that (suprise) is in a
 directory that has spaces in its name.
 
 Not that this is a huge deal, I'm just curious... why is this?
 
 Though I must say that it is refreshing to get an error message that
 tells you _exactly_ what went wrong, which unfortunately so many
 programs don't do.
 
 B.

In case you're a Windows user, a couple of tips that I *think* will work 
(seem to work for me):

1.  For paths to viewers, etc. (paths you enter into LyX as options), you 
can get around the no-spaces issue by escaping spaces with \.  So, for 
instance, if your DVI viewer is in C:\Program Files\WinDVI, for instance, 
you could enter that as /Program\ Files/WinDVI/windvi.exe.

2.  That doesn't work for files passed to LaTeX, etc.  I like to keep my 
LyX files in subdirectories under My Documents, so the trick is to put a 
symbolic link in my Cygwin home directory that contains no spaces (for 
instance, /home/rubin/mydocuments links to C:\ridiculously_long_path\My 
Documents).

Not sure how to handle this if you're using the native Win32 port of LyX, 
and of course all bets are off if you're a Mac user.

-- Paul

*
Paul A. Rubin  Phone:(517) 432-3509
Department of Management   Fax:  (517) 432-
The Eli Broad Graduate School of ManagementE-mail:   [EMAIL PROTECTED]
Michigan State University  http://www.msu.edu/~rubin/
East Lansing, MI  48824-1122  (USA)
*
Mathematicians are like Frenchmen:  whenever you say something to them,
they translate it into their own language, and at once it is something
entirely different.J. W. v. GOETHE



Re: Figure printing sideways

2003-09-18 Thread Michael Logies
At 13:41 18.09.2003 -0700, Rich Shepard wrote:

 How are you generating the pdf file?

  From within LyX: View  Pdflatex.
Rich,

use  LyX: View  dvipdfm instead. I think, it has less bugs. This  should 
solve the problem of the too big distance between figure and caption.
Acrobat will respect the bounding box of your EPS-File, but there are other 
PDF-Viewer which will not.

Regards

Michael
--
http://www.logies.de/ (u. a. _die_ Mailingliste für die Dentalbranche)
PGP-key (RSA/IDEA) kommt mit angeforderter Empfangsbestätigung (return receipt)


Re: Path to the lyx file cannot contain spaces

2003-09-18 Thread Michael Logies
At 20:49 18.09.2003 +, Paul A. Rubin wrote:

Not sure how to handle this if you're using the native Win32 port of LyX,
I solved it by installing the other software in simple pathes for a second 
time. Should be the fastest solution.

Regards

M.
--
http://www.logies.de/ (u. a. _die_ Mailingliste für die Dentalbranche)
PGP-key (RSA/IDEA) kommt mit angeforderter Empfangsbestätigung (return receipt)


Re: Figure printing sideways

2003-09-18 Thread Rich Shepard
On Thu, 18 Sep 2003, Michael Logies wrote:

 use  LyX: View  dvipdfm instead. I think, it has less bugs. This  should
 solve the problem of the too big distance between figure and caption.
 Acrobat will respect the bounding box of your EPS-File, but there are other
 PDF-Viewer which will not.

Michael,

  I don't have that option, only View  dvi.

  The odd thing is that when I view the pdflatex file it comes up in
acroread just fine. I then print it so it produces a .ps file which I then
run through ps2pdf. Sometimes the resulting .pdf can be seen correctly in
both xpdf and acroread. Sometimes acroread doesn't see equations correctly
and has other problems.

Sigh. Thanks,

Rich

Dr. Richard B. Shepard, President

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


Re: Figure printing sideways

2003-09-18 Thread Angus Leeming
Rich Shepard wrote:

 On Thu, 18 Sep 2003, Angus Leeming wrote:
 
 These are pure line drawings, right? No latex text.
 
 Angus,
 
   Correct.
 
 How are you generating the pdf file?
 
   From within LyX: View  Pdflatex.
 
 If you are going the pdflatex-pdf route, then your converter route should
 be xfig-pdf. No intermediate format (eps) at all.
 \converter fig pdf fig2dev -L pdf $$i $$o 
 
   Now I'm lost. Within the document I created a float figure. Within that, I
 used Insert  Graphic and entered the name of the .eps file. Should I have
 used the .fig file?

Why not? One less thing to worry about keeping synched.
I see that 13x comes with converters defined xfig-eps and xfig-ppm

It is trivially easy to add a converter xfig-pdf. Either add this line to 
your .lyx/preferences file:
\converter fig pdf fig2dev -L pdf $$i $$o 

or open up the preferences dialog and play with the converters section.

Note that in 1.4.x I'd recommend that you use the External inset for xfig 
images, but not for 1.3.x.

-- 
Angus



Re: Figure printing sideways

2003-09-18 Thread Herbert Voß
Michael Logies schrieb:
At 13:41 18.09.2003 -0700, Rich Shepard wrote:

 How are you generating the pdf file?

  From within LyX: View  Pdflatex.


Rich,

use  LyX: View  dvipdfm instead. I think, it has less bugs. This  
should solve the problem of the too big distance between figure and 
caption.
pdflatex has _no_ bugs! And it is still the better
way than dvipdfm. For example: you get no hyphenated
links with dvipdfm
Acrobat will respect the bounding box of your EPS-File, but there are 
other PDF-Viewer which will not.
it is a problem of the eps file not of acrobat.

Hebrert




Re: Figure printing sideways

2003-09-18 Thread Angus Leeming
Angus Leeming wrote:
   Now I'm lost. Within the document I created a float figure. Within that,
   I
 used Insert  Graphic and entered the name of the .eps file. Should I have
 used the .fig file?
 
 Why not? One less thing to worry about keeping synched.
 I see that 13x comes with converters defined xfig-eps and xfig-ppm
 
 It is trivially easy to add a converter xfig-pdf. Either add this line to
 your .lyx/preferences file:
 \converter fig pdf fig2dev -L pdf $$i $$o 
 
 or open up the preferences dialog and play with the converters section.
 
 Note that in 1.4.x I'd recommend that you use the External inset for xfig
 images, but not for 1.3.x.

Please disregard this advice. It is impossible to get 1.3.x to do what I 
suggest; it'll create a PNG file from the XFIG one if you use pdflatex.

Ok, rather than create that EPS file as you have done already, create a PDF 
one by running
fig2dev -L pdf your_file.fig your_file.pdf
from the command line. LyX should automatically use the right one if you go 
lyx-latex-dvi-ps-pdf (the EPS file) or if you go lyx-latex-pdf (the PDF 
file).

-- 
Angus



Re: Using LyX for court documents

2003-09-18 Thread Matej Cepl
On 2003-09-18, 15:55 GMT, Bruce wrote:
 One thing I have often thought LyX would be ideal for would be for
 preparing court documents, or other legal documents for that matter, that
 have a set structure and elements. I particularly think of this when I am

Having been a lawyer in my past life (before coming into PhD program,
that is), I had some interest in writing LaTeX support for legal
documents too. And yes, I think that LaTeX is exactly perfect for the
highly structured legal documents, where invention in typography is
considered a sin. Moreover, LyX seems to be coming with tools allowing
cooperation over one document (version 1.4.0 should add Revision Marking
and although no lawyer ever seen CVS, it could be an excellent tool even
for them).

The only document I have written in LaTeX so far is one contract for my
national TUG. I can give a sanitized version to my website (or send to
the personal mail). However, it is really simple thing (no special
class, just over article.cls) -- I think, that these documents really
deserve new classes (probably based on the top of article.cls).

 working on a factum that has passed through several other lawyer's
 computers, and has the detruit of all their particular Word formatting
 quirks munged together.

I know what you mean :-). LyX/LaTeX would be excellent in this -- there
is nothing more safe than plain ASCII file.

 The problem is that court documents don't seem to fit well with any of
 the standard text classes in LyX, nor could I find anything
 particularly on topic on CTAN.

I do not think, there is any such class, they have to be developed from
scratch (or on the top of existing classes). That is you probably need
to get your hands on some good LaTeX book -- LaTeX Companion or my
preferred Kopka, Daily.

 Some of the requirements would be additional elements (court file no.,
 parties, counsel, etc.),

Try to write a document you want with ERT and definitions in preamble
whenever needed. Then this new definitions can be summarized into new
class file and embellished with options and other paraphernalia.

 and other requirements like sequential paragraph numbering through an
 entire document (including through different sections or parts),

new counter is created with \newcounter and commands for dealing with it
are very well described in info file for LaTeX2e (if you are on Linux)
or in LaTeX2e Help file (on Windows).

 which I couldn't figure out how to do with nesting.

You have to do it with ERT -- LyX won't help you here.

 The actual placement of the various elements is also generally
 determined by the court rules in the relevant jurisdiction, though
 I assume this could be set up easily enough by someone knowledgeable.

Here boxes can do the job very well.

 It seems that court documents are really a specialized enough type of
 document that they would need their own document class. Moreover,
 different jurisdictions may have wildly varying layout requirements
 (though the basic elements will probably be the same). Is anyone aware
 of any project to prepare legal documents using LyX?

I do not think there is any -- neither for LyX nor for LaTeX.

Matej

-- 
Matej Cepl,
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488



Re: Figure printing sideways

2003-09-18 Thread Matej Cepl
On 2003-09-18, 22:00 GMT, Herbert Vo wrote:
 pdflatex has _no_ bugs! And it is still the better
 way than dvipdfm. For example: you get no hyphenated
 links with dvipdfm

This is really courageous statement -- unfortunately, I am afraid not
very much correct. Contrary to the original TeX it is still in the
process of development and so there are occassionally some bugs (one
of them causes for example PDF files from pdflatex to be much bigger
than dvips-ps2pdf ones).  Yes, it is much better than other software,
but far from being bugfree.  And no, I do not like dvipdfm (I do not see
any reason why to use it), but if I need small and compact PDF file,
I use dvips-ps2pdf way.

Matej

-- 
Matej Cepl,
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488



How to rotateleft caption in a pdftex document?

2003-09-18 Thread rsamurti
Hello:

How do I rotateleft the figure caption in a pdftex document.
Please help.

Thanks for your help.

Anand


Re: Figure printing sideways

2003-09-18 Thread Rich Shepard
On Thu, 18 Sep 2003, Angus Leeming wrote:

 How are you generating the pdf file?

Angus et al.:

  I solved the problem by avoiding it.

  I used ipe to recreate the problem figure originally drawn in xfig and
saved in .eps format. Ipe uses .eps as its native format (or .pdf if you're
producing a slide show) and the figure prints properly.

  Used the File  Print  DVI output, then ran dvips to get the postscript
file, then ps2pdf for the .pdf file. However, ...

  With xpdf I can page through from the cover to the last page (49 so far).
With acroread-5.0.8 (freshly upgraded from -5.0.6) I can page through until
the blank page immediately following the page for a new Part. The error
message is that the page has the wrong object type.

  Clicking on the OK button clears the error box and lets me page to the
first page of the Chapter that begins that Part. I can then page backwards
to the Part page, forward again and the error does not appear.

  What could be going on here? It is an issue because I'm sending review
drafts to folks who run on Microsoft systems. They use Adobe Acrobat Reader
for winduhs and it won't print for them. This is, of course, rather
frustrating to me.

  Also, would the person who recommended ipe on the list yesterday please
contact me directly? I have some questions not answered in the manual and
there's no activity on the mail list.

Thanks all,

Rich

Dr. Richard B. Shepard, President

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


Re: Figure printing sideways

2003-09-18 Thread Herbert Vo
Matej Cepl schrieb:
On 2003-09-18, 22:00 GMT, Herbert Vo wrote:

pdflatex has _no_ bugs! And it is still the better
way than dvipdfm. For example: you get no hyphenated
links with dvipdfm


This is really courageous statement -- unfortunately, I am afraid not
very much correct. Contrary to the original TeX it is still in the
process of development and so there are occassionally some bugs (one
of them causes for example PDF files from pdflatex to be much bigger
than dvips-ps2pdf ones).  
also nonsense. You are comparing apples with pears. pdflatex enbedds
the fonts often by default, ps2pdf not. And if I use vTeX/Free
then my file is smaller than the one from ps2pdf.
but far from being bugfree.  And no, I do not like dvipdfm (I do not see
any reason why to use it), but if I need small and compact PDF file,
I use dvips-ps2pdf way.
I use VTeX for Linux, where I can have any PostScript stuff, like
code from pstricks, psfrag ...
Herbert




Re: Figure printing sideways

2003-09-18 Thread Michael Logies
At 00:00 19.09.2003 +0200, Herbert Voß wrote:

pdflatex has _no_ bugs!
Herbert,

this big distance between caption and graphic in floats is a bug for me. 
How would you call it? An option? How to change this?

 And it is still the better
way than dvipdfm. For example: you get no hyphenated
links with dvipdfm
I have hyphenated links in my footnotes and they are all fully shown and 
working (I always click generate hyperlink when inserting the URL). 
Within the text some cross references do not work (ending at the wrong 
page), but I had no closer look at this. Hyperlinks to the bibliography do 
work, that`s more important for me.

Acrobat will respect the bounding box of your EPS-File, but there are 
other PDF-Viewer which will not.
it is a problem of the eps file not of acrobat.
As I wrote, Acrobat (5.1 and 6) shows my EPS-files according to my bounding 
boxes.
But the Jaws PDF Editor 1.0 does not:
http://www.jawspdf.com/pdf_editor/index.html

So I think it is a problem with this Editor. Even after using the editor 
for taking out single pages of the PDF-File, Acrobat shows them correctly, 
but PDF Editor does not.
My EPS-files are simple. I have TIFF-Scans (20 MB), resize them to 1/4 
within Irfanview (5 MB), print TIFF into an Apple-driver as postscript, 
then use Ghostview for creating the bounding box and converting to EPS. As 
written here, it has been impossible for me with Lyx 1.3.2 for Qt-Windows 
to use another graphic format.

Regards

Michael
--
http://www.logies.de/ (u. a. _die_ Mailingliste für die Dentalbranche)
PGP-key (RSA/IDEA) kommt mit angeforderter Empfangsbestätigung (return receipt)


Re: Xfig question

2003-09-18 Thread Andre Poenitz
On Wed, Sep 17, 2003 at 01:42:10PM -0700, Rich Shepard wrote:
   While this is not explicitly LyX, I'm using Xfig to prepare illustrations
 for my book which is being written with LyX. If anyone knows of a more
 appropriate mail list, _please_ let me know.
 
   I'm brand new to Xfig and I'm trying to draw xspline curves quickly and
 accurately. I'm slowly getting the idea, but now and then I get a little
 zig-zag in the line between nodes and I have no idea how to remove that and
 make the line smooth. The edit box has only the nodes (where I clicked the
 left trackball button) and, as far as I can see, no way to edit the line
 itself.
 
   Can someone with more experience help me learn?

There is a button with a pair of scissors in the left 'tool column'
(fifth button counted from the bottom). This can be used to remove
points from a curve. The button above introduces new points.

As far as I am concerned, xfig is a bit quiky UI wise but apart from
that a fairly powerful tool.

Andre'

-- 
Those who desire to give up Freedom in order to gain Security, will not have,
nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)


Re: Once more: Bibtex

2003-09-18 Thread Andre Poenitz
On Thu, Sep 18, 2003 at 12:29:36AM +0200, Kai Johannes Keller wrote:
 But I don't like the numbers ([1] in .dvi-output) for citing an entry of
 the bibtex-catalogue, I'd rather like to have something like [OLO] in
 the Text to take reference to a book written by Rainer Oloff. I know
 that it's possible with the normal Bibliography-environment, but is
 there a way to do this in Bibtex, too?

Isn't that what the 'style' field in the dialog is good for?

Andre'

-- 
Those who desire to give up Freedom in order to gain Security, will not have,
nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)


Some footnotes only in draft?

2003-09-18 Thread Michael Logies
Hello,

here is described how to use some footnotes only in draft:
http://www.educat.hu-berlin.de/~voss/LaTeX/misc/misc.phtml#draft

If you want to use this option for own commands like notes, than you can use this 
option and output some notes only when the draft option is set. The following example 
shows this for the arcticle class: 
\newcommand{\myNote}[1]{%
   [EMAIL PROTECTED]
 \marginpar{#1}}{}%
}

My problem is that I don`t understand this code. How do I have to use it?

Thanks

M.


-- 
http://www.logies.de/ (u. a. _die_ Mailingliste für die Dentalbranche)
PGP-key (RSA/IDEA) kommt mit angeforderter Empfangsbestätigung (return receipt)



Re: Some footnotes only in draft?

2003-09-18 Thread Michael Logies
At 09:59 18.09.2003 +0200, Andre Poenitz wrote:

Even better: '\mynote{' in ERT, then 'normal text', then the '}' in ERT
again.

Andre',

I like this, because it would be easy to use on more complex footnotes. But it does 
not work. I don`t see the footnote, whether draft or not:

%% LyX 1.3 created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[12pt,ngerman,bibtotocnumbered, idxtotoc, liststotoc, draft]{scrartcl}

%% Bestimmte Dinge (\myNote{nur im Draft}) nur im Draft:
\newcommand{\myNote}[1]{%
   [EMAIL PROTECTED]
 \marginpar{#1}}{}%
}

In the text I find:

\myNote{%
\footnote{Testfußnote%
} }

Thanks

M.

-- 
http://www.logies.de/ (u. a. _die_ Mailingliste für die Dentalbranche)
PGP-key (RSA/IDEA) kommt mit angeforderter Empfangsbestätigung (return receipt)



Re: Some footnotes only in draft?

2003-09-18 Thread Andre Poenitz
On Thu, Sep 18, 2003 at 10:56:26AM +0200, Michael Logies wrote:
 At 09:59 18.09.2003 +0200, Andre Poenitz wrote:
 
 Even better: '\mynote{' in ERT, then 'normal text', then the '}' in ERT
 again.
 
 Andre',
 
 I like this, because it would be easy to use on more complex footnotes. But it does 
 not work. I don`t see the footnote, whether draft or not:
 
 %% LyX 1.3 created this file.  For more info, see http://www.lyx.org/.
 %% Do not edit unless you really know what you are doing.
 \documentclass[12pt,ngerman,bibtotocnumbered, idxtotoc, liststotoc, draft]{scrartcl}
 
 %% Bestimmte Dinge (\myNote{nur im Draft}) nur im Draft:
 \newcommand{\myNote}[1]{%
[EMAIL PROTECTED]
  \marginpar{#1}}{}%
 }
 
 In the text I find:
 
 \myNote{%
 \footnote{Testfußnote%
 } }

What about

 \newcommand{\myNote}[1]{%
[EMAIL PROTECTED]
  \footnote{#1}}%
 }
 
 In the text I find:
 
 \myNote{%
 Testfußnote%
 }

?

Andre'
-- 
Those who desire to give up Freedom in order to gain Security, will not have,
nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)


Re: Xfig question

2003-09-18 Thread Angus Leeming
Jean-Pierre.Chretien wrote:
 man xfig
 man transfig
 
 But what I like in xfig (in addition to its powerful import and
 export capabilities and the batch processing features) is the
 object oriented interface (update settings/update objects)
 and the adaptive help and  particularly the dynamic mouse at the
 top right corner.
 
 Once the initial learning effort made, I can use it from time
 to time without having to dig again in the manual.

Incidentally all, 
LyX 1.4.x (current cvs) has really powerful support for xfig images via the 
External inset.

I have written a couple of converters to produce 'best quality' documents when 
the latex file is run through either the latex or pdflatex compilers and to 
just use a 'quick and easy' converter for display on the LyX screen:

\converter fig pdftex sh $$s/fig2pdftex.sh $$i $$o 
\converter fig pstex  sh $$s/fig2pstex.sh $$i $$o 
\converter fig ppm fig2dev -L ppm $$i $$o 
\converter fig png fig2dev -L png $$i $$o 

FYI, I attach the fig2pstex.sh script and the External Template that we use to 
define XFIG support.

I do this because there is no reason not to support dia, tgif and sketch also. 

If these programs don't need some sort of 'latex support' to produce optimal 
results, then you can use the existing graphics inset together with an 
appropriate set of converters and all will be fine.

However, from what I understand, tgif can export snippets of latex just as 
xfig can. If that is the case, then it would be nice to have an External 
Template equivalent to the XFIG one that we have already. Don't you think?

Any tgif users out there interested in showing me the way forward?

-- 
Angus

fig2pstex.sh
Description: application/shellscript
# An External Template for XFIG support by LyX

PreambleDef XFigInput
%% This inputs the file if it exists, else prints a warning
%% encased in an fbox.
\def\stripprefix#1{}
\newcommand*{\xfiginput}[1]{%
\edef\tempfilename{#1}%
\InputIfFileExists{#1}{}{%
\fbox{Could not find
\ttfamily\expandafter\stripprefix\meaning\tempfilename!}
\typeout{xfiginput: Could not find \tempfilename!}
}
}
PreambleDefEnd

Template XFig
GuiName [XFig: $$Basename]
HelpText
An XFig figure.
This template uses XFig for editing.
HelpTextEnd
InputFormat fig
FileFilter *.fig
EditCommand xfig $$FName
AutomaticProduction true
Format LaTeX
Product \\xfiginput{$$Basename.pstex_t}
UpdateFormat pstex
UpdateResult $$Basename.pstex_t
Requirement graphicx
Preamble XFigInput
FormatEnd
Format PDFLaTeX
Product \\xfiginput{$$Basename.pdftex_t}
UpdateFormat pdftex
UpdateResult $$Basename.pdftex_t
Requirement graphicx  
Preamble XFigInput
FormatEnd
Format Ascii
Product $$Contents(\$$Basename.asc\)
UpdateFormat asciixfig
UpdateResult $$Basename.asc
FormatEnd
Format DocBook
Product graphic fileref=\$$Basename.eps\/graphic
UpdateFormat eps
UpdateResult $$Basename.eps
FormatEnd
Format LinuxDoc
Product [XFig: $$FName]
FormatEnd
TemplateEnd


Re: Some footnotes only in draft?

2003-09-18 Thread Michael Logies
At 11:08 18.09.2003 +0200, Andre Poenitz wrote:

What about

 \newcommand{\myNote}[1]{%
[EMAIL PROTECTED]
  \footnote{#1}}%
 }
Andre',

no, that`s even worse.

Regards

M.
--
http://www.logies.de/ (u. a. _die_ Mailingliste für die Dentalbranche)
PGP-key (RSA/IDEA) kommt mit angeforderter Empfangsbestätigung (return receipt)


mwbk bullets

2003-09-18 Thread gordon
Hi

I'm using the book (mwbk) document type, but all bullets (itemize)
appear as dashes. What would be the easiest way to prevent this?

Regards
Gordon


-- 
gordon [EMAIL PROTECTED]


Re: Once more: Bibtex

2003-09-18 Thread Juergen Spitzmueller
Kai Johannes Keller wrote:
 But I don't like the numbers ([1] in .dvi-output) for citing an entry of
 the bibtex-catalogue, I'd rather like to have something like [OLO] in
 the Text to take reference to a book written by Rainer Oloff. I know
 that it's possible with the normal Bibliography-environment, but is
 there a way to do this in Bibtex, too?

bibstyle alpha does something similar. If you want Author (year), you have 
to use natbib (Layout-Document-Bibliography: use natbib).

HTH,
Juergen. 


Re: mwbk bullets

2003-09-18 Thread Jeannette Meyer
Hi Gordon,

On Thursday 18 September 2003 16:45, gordon wrote:
 I'm using the book (mwbk) document type, but all bullets (itemize)
 appear as dashes. What would be the easiest way to prevent this?

Did you try to change this behavior in Layout-Document-Bullets, Set Bullets?

Jeannette


Qt-UI widget question

2003-09-18 Thread Rich Shepard
  Running 1.3.2 with the Qt UI I see a data entry widget at the bottom of
the main window. To the left of this area are two buttons, one with an up
arrow the other with a down arrow. Left of the buttons is a narrow vertical
bar that closes the entire window line.

  I don't see anything in the documentation about this. What does it do? How
do I use it? When -- or why -- would I want to use it?

Thanks,

Rich

Dr. Richard B. Shepard, President

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


Re: Qt-UI widget question

2003-09-18 Thread Juergen Spitzmueller
Am Donnerstag, 18. September 2003 17:05 schrieb Rich Shepard:
 Running 1.3.2 with the Qt UI I see a data entry widget at the bottom of
 the main window. To the left of this area are two buttons, one with an up
 arrow the other with a down arrow. Left of the buttons is a narrow vertical
 bar that closes the entire window line.

   I don't see anything in the documentation about this. What does it do?
 How do I use it? When -- or why -- would I want to use it?

This is the minibuffer, more or less a power user tool. You can type in so 
called lfuns like date-insert. Have a look here for a list:
http://wiki.lyx.org/pmwiki.php/Devel/LFUNs

Regards,
Juergen.


LyX/Mac: AppleScript error when double clicking on a LyX file

2003-09-18 Thread Jean Gosset
Hello,

I just installed the LyX/Mac binary package on my PowerBook, from the 
http://www.18james.com/lyx_on_aqua.html; web page. Almost everything 
works properly, except the following.

When I try to open a LyX file by double clicking on its icon in the 
Finder or through a Drag and drop of its icon onto the Start-LyX 
application, I get the AppleScript error: You need to setup the 
LyXServer pipe in LyX  Preferences  Paths.. In this menu I see as 
path /Users/gosset/.lyx/.lyxpipe. This file does not exist. The ls 
-la /Users/gosset/.lyx/.lyx* command gives me the following answer, 
with two empty files but none with the right name:

prw---   1 gosset  staff 0 Sep 18 17:30 .lyxpipe.in
prw---   1 gosset  staff 0 Sep 18 17:30 .lyxpipe.out
What should I do?
Thanks for your help,
+--+---+
| Jean Gosset  | Tél. (33/0) 1 69 08 73 05 |
| DAPNIA/SPhN, B703, P40   | Fax 75 84 |
| CE de Saclay | Mél: [EMAIL PROTECTED]   |
| F 91191 Gif-sur-Yvette cedex |   |
+--+---+


Path to the lyx file cannot contain spaces

2003-09-18 Thread Bruce
(I sent this message last week, and though received no error message it
didn't seem to make it to the list (or at least not to the archive).
Apologies if it is a duplicate.)
___


I get this message when try to preview a file that (suprise) is in a
directory that has spaces in its name.

Not that this is a huge deal, I'm just curious... why is this?

Though I must say that it is refreshing to get an error message that tells
you _exactly_ what went wrong, which unfortunately so many programs don't
do.

B.




Using LyX for court documents

2003-09-18 Thread Bruce
(I sent this message last week, and though received no error message it
didn't seem to make it to the list (or at least not to the archive).
Apologies if it is a duplicate.)
___


I've had a look at LyX a couple of times over the past few years, and
occasionally write an article or paper with it (provided it is something I
don't have to share for editing with others in my MS/Word/Wordperfect
world of work, which is extremely rare).

One thing I have often thought LyX would be ideal for would be for
preparing court documents, or other legal documents for that matter, that
have a set structure and elements. I particularly think of this when I am
working on a factum that has passed through several other lawyer's
computers, and has the detruit of all their particular Word formatting
quirks munged together. However, though I recognize that, in principle, it
should be possible, I haven't managed to figure out how one would go about
setting up the necessary templates/layouts/text class/document class (I'm
still a bit vague on the distinctions), and I get the feeling that it is
probably not a simple task.

The problem is that court documents don't seem to fit well with any of the
standard text classes in LyX, nor could I find anything particularly on
topic on CTAN.

Some of the requirements would be additional elements (court file no.,
parties, counsel, etc.), and other requirements like sequential paragraph
numbering through an entire document (including through different
sections or parts), which I couldn't figure out how to do with
nesting. The actual placement of the various elements is also generally
determined by the court rules in the relevant jurisdiction, though I
assume this could be set up easily enough by someone knowledgeable.

It seems that court documents are really a specialized enough type of
document that they would need their own document class. Moreover,
different jurisdictions may have wildly varying layout requirements
(though the basic elements will probably be the same). Is anyone aware of
any project to prepare legal documents using LyX?

B.




Tesis finished

2003-09-18 Thread Andres Becerra

Greetings,

I want to thank all LyX developers and users for this tool and the
useful activity of this list.

A few days ago I finished my tesis written with LyX (100+ pages), and it
was a deligth, because I've never had real problems with the software.

-  I was using Carsten Heinz latex package listings to include source
code located in external files (C++, CORBA IDL)
-  I also used oz2tex a converter from Oz source code to raw tex (which
was included in lyx files)
- All images were made with the tool Dia (and, yes, it supports latex
formulas, according to the FAQ in its web page, but I have not used it
yet)

Thanks to all of you who contribute in this list and the developers for
the good work.


Best regards,

Andres Becerra Sandoval
---



Re: Using LyX for court documents

2003-09-18 Thread John Levon
On Thu, Sep 18, 2003 at 11:55:19AM -0400, Bruce wrote:

 It seems that court documents are really a specialized enough type of
 document that they would need their own document class. Moreover,
 different jurisdictions may have wildly varying layout requirements
 (though the basic elements will probably be the same). Is anyone aware of
 any project to prepare legal documents using LyX?

The priority is to find a class for LaTeX. Then it's relatively easy
(probably) to write a lyx layout file that can use that LaTeX class.

regards
john
-- 
Khendon's Law:
If the same point is made twice by the same person, the thread is over.


Re: Qt-UI widget question

2003-09-18 Thread Juergen Spitzmueller
Rich Shepard wrote:
 Oh. Thanks. I read the Web page and understand it as far as it goes, but I
 do not -- yet? -- see the advantages. For example, I do not see the
 advantage of typing LFUN_FILE_OPEN in the minibuffer when a ctrl-o does
 the same thing.

you do not type LFUN_FILE_OPEN but file-open. The advantages are for those 
who don't like dialogs and clicking. Sometimes it is just faster, and some 
features are only supported via minibuffer (e.g. date-insert, 
paragraph-spacing onehalf).

   Well, at least now I know what it is. :-)

Yes. In 1.4, you should be able to switch it off...

Regards,
Juergen.


Re: Qt-UI widget question

2003-09-18 Thread Andre Poenitz
On Thu, Sep 18, 2003 at 09:06:13AM -0700, Rich Shepard wrote:
 On Thu, 18 Sep 2003, Juergen Spitzmueller wrote:
 
  This is the minibuffer, more or less a power user tool. You can type in so
  called lfuns like date-insert. Have a look here for a list:
  http://wiki.lyx.org/pmwiki.php/Devel/LFUNs
 
 Juergen,
 
   Oh. Thanks. I read the Web page and understand it as far as it goes, but I
 do not -- yet? -- see the advantages. For example, I do not see the
 advantage of typing LFUN_FILE_OPEN

[That would be 'file-open'...]

 in the minibuffer when a ctrl-o does the same thing.

Not everything LyX provides is accessible via keybindings and menus.
Apart from that, some things are faster typed in in the minibuffer than
typed in some dialog.

Andre'


Re: Qt-UI widget question

2003-09-18 Thread John Levon
On Thu, Sep 18, 2003 at 09:06:13AM -0700, Rich Shepard wrote:

   Oh. Thanks. I read the Web page and understand it as far as it goes, but I
 do not -- yet? -- see the advantages. For example, I do not see the
 advantage of typing LFUN_FILE_OPEN in the minibuffer when a ctrl-o does
 the same thing.

o a very small number of functions don't have key bindings or menu
  items by default
o it's useful for us hackers

in 1.4.0cvs, it's hidden by default under the Qt frontend, precisely
because it's fairly useless.

regards
john

-- 
Khendon's Law:
If the same point is made twice by the same person, the thread is over.


Re: Path to the lyx file cannot contain spaces

2003-09-18 Thread Bruce
 On Thu, Sep 18, 2003 at 11:54:46AM -0400, Bruce wrote:
 (I sent this message last week, and though received no error message it
 didn't seem to make it to the list (or at least not to the archive).
 Apologies if it is a duplicate.)

 As I seem to remember having answered it probably made it through.


Very strange. I was not subscribed when I sent the two messages on 11
Sept, thinking I would just go and check the archive for responses.

The archive is apparently current to today (18 Sept). However, neither of
the messages I sent, nor any replies, are in the archive at:

 http://www.mail-archive.com/[EMAIL PROTECTED]/maillist.html

which is identified as the new archive at

 http://www.lyx.org/internet/mailing.php3

Is it possible that threads started by non-lists subscribers are not
archived?

B.


Re: Qt-UI widget question

2003-09-18 Thread Rich Shepard
On Thu, 18 Sep 2003, Andre Poenitz wrote:

 Not everything LyX provides is accessible via keybindings and menus. Apart
 from that, some things are faster typed in in the minibuffer than typed in
 some dialog.

Andre',

  OK. I've not yet run into this situation.

Thanks,

Rich

Dr. Richard B. Shepard, President

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


Re: mwbk bullets

2003-09-18 Thread gordon
Hi

I'm afraid that doesn't work. All bullets on all levels are dashes.

On Thu, 2003-09-18 at 15:48, Rich Shepard wrote:
 On Thu, 18 Sep 2003, gordon wrote:
 
  I'm using the book (mwbk) document type, but all bullets (itemize)
  appear as dashes. What would be the easiest way to prevent this?
 
   In the Layout | Document menu system is a place to specify the bullets to
 be used at different levels. Make your changes there.
 
 Rich
 
 Dr. Richard B. Shepard, President
 
Applied Ecosystem Services, Inc. (TM)
 2404 SW 22nd Street | Troutdale, OR 97060-1247 | U.S.A.
  + 1 503-667-4517 (voice) | + 1 503-667-8863 (fax) | rshepard#64;appl-ecosys.com
  http://www.appl-ecosys.com/
-- 
gordon [EMAIL PROTECTED]


Re: LyX/Mac: AppleScript error when double clicking on a LyX file

2003-09-18 Thread Angus Leeming
Jean Gosset wrote:

 Hello,
 
 I just installed the LyX/Mac binary package on my PowerBook, from the
 http://www.18james.com/lyx_on_aqua.html; web page. Almost everything
 works properly, except the following.
 
 When I try to open a LyX file by double clicking on its icon in the
 Finder or through a Drag and drop of its icon onto the Start-LyX
 application, I get the AppleScript error: You need to setup the
 LyXServer pipe in LyX  Preferences  Paths.. In this menu I see as
 path /Users/gosset/.lyx/.lyxpipe. This file does not exist. The ls
 -la /Users/gosset/.lyx/.lyx* command gives me the following answer,
 with two empty files but none with the right name:
 
 prw---   1 gosset  staff 0 Sep 18 17:30 .lyxpipe.in
 prw---   1 gosset  staff 0 Sep 18 17:30 .lyxpipe.out

These _are_ the correct names of the input and output pipes. At least, they 
correspond to the entry in the Preferences dialog.

 What should I do?

See if lyx responds to input through them. 
Type the stuff below at the command line to open up a file within lyx.

$ FILE=path/to/you/file.lyx
$ lyx -dbg lyxserver
$ echo LYXSRV:jean:hello  ~/.lyx/lyxpipe.in
$ echo LYXCMD:jean:file-open $FILE  ~/.lyx/lyxpipe.in

-- 
Angus



Re: Using LyX for court documents

2003-09-18 Thread Herbert Voß
John Levon schrieb:
The priority is to find a class for LaTeX. Then it's relatively easy
(probably) to write a lyx layout file that can use that LaTeX class.
seems to be a joke, that this is easy if you want a
_real_ LyX layout file ...
Herbert




Re: Qt-UI widget question

2003-09-18 Thread Andre Poenitz
On Thu, Sep 18, 2003 at 05:15:14PM +0100, John Levon wrote:
 o a very small number of functions don't have key bindings or menu
   items by default
 o it's useful for us hackers
 
 in 1.4.0cvs, it's hidden by default under the Qt frontend, precisely
 because it's fairly useless.

Who made that decision?

Andre'

-- 
Those who desire to give up Freedom in order to gain Security, will not have,
nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)


Re: mwbk bullets

2003-09-18 Thread Jean-Pierre.Chretien

Subject: Re: mwbk bullets
From: gordon [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Date: Thu, 18 Sep 2003 18:27:57 +0200

Hi

I'm afraid that doesn't work. All bullets on all levels are dashes.

On Thu, 2003-09-18 at 15:48, Rich Shepard wrote:
 On Thu, 18 Sep 2003, gordon wrote:
 
  I'm using the book (mwbk) document type, but all bullets (itemize)
  appear as dashes. What would be the easiest way to prevent this?
 
   In the Layout | Document menu system is a place to specify the bullets to
 be used at different levels. Make your changes there.

AFAIR, you should use plain List instead of Itemize as selected
environment for the bullet election to be taken into account.

-- 
Jean-Pierre



Re: Using LyX for court documents

2003-09-18 Thread John Levon
On Thu, Sep 18, 2003 at 06:31:46PM +0200, Herbert Vo? wrote:

 The priority is to find a class for LaTeX. Then it's relatively easy
 (probably) to write a lyx layout file that can use that LaTeX class.
 
 seems to be a joke, that this is easy if you want a
 _real_ LyX layout file ...

It's a thousand times easier writing a lyx layout file than writing a
latex class is.

john
-- 
Khendon's Law:
If the same point is made twice by the same person, the thread is over.


Re: mwbk bullets

2003-09-18 Thread Juergen Spitzmueller
gordon wrote:
 I'm afraid that doesn't work. All bullets on all levels are dashes.

it works as long as you do not want the default buttons. If you want them, 
however, write in preamble:

\AtBeginDocument{
\renewcommand{\labelitemi}{\textbullet}
\renewcommand\labelitemii{\normalfont\bfseries \textendash}
\renewcommand\labelitemiii{\textasteriskcentered}
\renewcommand\labelitemiv{\textperiodcentered}
}

Juergen.


Re: Using LyX for court documents

2003-09-18 Thread Herbert Voss
John Levon schrieb:
The priority is to find a class for LaTeX. Then it's relatively easy
(probably) to write a lyx layout file that can use that LaTeX class.
seems to be a joke, that this is easy if you want a
_real_ LyX layout file ...


It's a thousand times easier writing a lyx layout file than writing a
latex class is.
then tell me which LyX layout file is (nearly) a 1:1 translation of
an existing class file ... ;-)
Herbert



Re: Using LyX for court documents

2003-09-18 Thread John Levon
On Thu, Sep 18, 2003 at 06:58:55PM +0200, Herbert Voss wrote:

 then tell me which LyX layout file is (nearly) a 1:1 translation of
 an existing class file ... ;-)

Well, in what sense ?  It's not very important IMHO for the in-lyx
display to look exactly like what latex does.

Can you explain further please ?

regards
john

-- 
Khendon's Law:
If the same point is made twice by the same person, the thread is over.


Re: mwbk bullets

2003-09-18 Thread gordon
That did it :)
Thanks alot!

gordon


On Thu, 2003-09-18 at 18:54, Juergen Spitzmueller wrote:
 gordon wrote:
  I'm afraid that doesn't work. All bullets on all levels are dashes.
 
 it works as long as you do not want the default buttons. If you want them, 
 however, write in preamble:
 
 \AtBeginDocument{
 \renewcommand{\labelitemi}{\textbullet}
 \renewcommand\labelitemii{\normalfont\bfseries \textendash}
 \renewcommand\labelitemiii{\textasteriskcentered}
 \renewcommand\labelitemiv{\textperiodcentered}
 }
 
 Juergen.
-- 
gordon [EMAIL PROTECTED]


Re: LyX/Mac: AppleScript error when double clicking on a LyX file

2003-09-18 Thread Ronald Florence
Jean Gosset [EMAIL PROTECTED] writes:

 When I try to open a LyX file by double clicking on its icon in the
 Finder or through a Drag and drop of its icon onto the Start-LyX
 application, I get the AppleScript error: You need to setup the
 LyXServer pipe in LyX  Preferences  Paths.. In this menu I see as
 path /Users/gosset/.lyx/.lyxpipe. This file does not exist. The ls
 -la /Users/gosset/.lyx/.lyx* command gives me the following answer,
 with two empty files but none with the right name:
 
 prw---   1 gosset  staff 0 Sep 18 17:30 .lyxpipe.in
 prw---   1 gosset  staff 0 Sep 18 17:30 .lyxpipe.out

Looks like the LyXServer pipe is properly configured by the LyX/Mac
install.  Did you not trash an old version of Start-LyX from a
previous installation of LyX on Aqua before installing LyX/Mac?  

As a workaround for that possibility, try saving your Preferences in
LyX.  (Older versions of Start-LyX only read your own Preferences;
newer versions read system-wide Preferences as well.)
-- 

Ronald Florence www.18james.com



Re: Using LyX for court documents

2003-09-18 Thread Ronald Florence
You will need a LaTeX class and a LyX layout file, as others have
suggested, but the built-iin support for BibTeX and the availability
of Jurabib should make citations in court documents a pleasure.
-- 

Ronald Florence www.18james.com



Figure printing sideways

2003-09-18 Thread Rich Shepard
  I have a line drawing I did (in xfig) that is imported into a figure
float. When I look at the figure within LyX it appears properly --
horizontal orientation.

  However, when I view the compiled document (generally pdflatex in
acroread) the figure is rotated 90 degrees counter clockwise. This puts the
x axis vertically on the right, the y axis horizontally along the bottom
and everything else equally mis-placed.

  I assume the problem is the size of the figure and that's why it's rotated
when printed. In the figure properties dialog box I see many options for
sizing; most make no sense to me. At first I tried 50% with the scale%
measure, followed by 50% of the page%, then 40%. The figure is reduced in
size, but it's still rotated!

  What have I done wrong here? This I've not seen before and I have a large
number of equivalent line figures to include so I need to learn how to place
them properly.

Thanks,

Rich

Dr. Richard B. Shepard, President

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


Re: Figure printing sideways

2003-09-18 Thread Rich Shepard
On Thu, 18 Sep 2003, Rich Shepard wrote:

   However, when I view the compiled document (generally pdflatex in
 acroread) the figure is rotated 90 degrees counter clockwise. This puts the
 x axis vertically on the right, the y axis horizontally along the bottom
 and everything else equally mis-placed.

  Further information: when I rotate the figure -90 degrees around the
center it prints properly. But with a size of 5 in horizontal and 3 in
vertical, it's very small and the caption is too far below the figure -- in
acroread. In xpdf it looks better.

  Does this help identify the problem?

Thanks,

Rich

Dr. Richard B. Shepard, President

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


Re: Figure printing sideways

2003-09-18 Thread Angus Leeming
Rich Shepard wrote:

 On Thu, 18 Sep 2003, Rich Shepard wrote:
 
   However, when I view the compiled document (generally pdflatex in
 acroread) the figure is rotated 90 degrees counter clockwise. This puts the
 x axis vertically on the right, the y axis horizontally along the
 bottom and everything else equally mis-placed.
 
   Further information: when I rotate the figure -90 degrees around the
 center it prints properly. But with a size of 5 in horizontal and 3 in
 vertical, it's very small and the caption is too far below the figure -- in
 acroread. In xpdf it looks better.
 
   Does this help identify the problem?
 
 Thanks,
 
 Rich

Why not post a minimal sample document that displays the problem...

-- 
Angus



Re: Figure printing sideways

2003-09-18 Thread Kayvan A. Sylvan
I think this is a problem with epstopdf.

Try removing the %%Orientation:  line from your eps file and try
again. This is a hack, but I don't know the rigt fix yet.

On Thu, Sep 18, 2003 at 11:54:39AM -0700, Rich Shepard wrote:
   I have a line drawing I did (in xfig) that is imported into a figure
 float. When I look at the figure within LyX it appears properly --
 horizontal orientation.
 
   However, when I view the compiled document (generally pdflatex in
 acroread) the figure is rotated 90 degrees counter clockwise. This puts the
 x axis vertically on the right, the y axis horizontally along the bottom
 and everything else equally mis-placed.
 
   I assume the problem is the size of the figure and that's why it's rotated
 when printed. In the figure properties dialog box I see many options for
 sizing; most make no sense to me. At first I tried 50% with the scale%
 measure, followed by 50% of the page%, then 40%. The figure is reduced in
 size, but it's still rotated!
 
   What have I done wrong here? This I've not seen before and I have a large
 number of equivalent line figures to include so I need to learn how to place
 them properly.
 
 Thanks,
 
 Rich
 
 Dr. Richard B. Shepard, President
 
Applied Ecosystem Services, Inc. (TM)
 2404 SW 22nd Street | Troutdale, OR 97060-1247 | U.S.A.
  + 1 503-667-4517 (voice) | + 1 503-667-8863 (fax) | rshepard#64;appl-ecosys.com
  http://www.appl-ecosys.com/

-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | crown of her husband | Robin Gregory (2/28/92)


Re: Figure printing sideways

2003-09-18 Thread Angus Leeming
Kayvan A. Sylvan wrote:

 I think this is a problem with epstopdf.
 
 Try removing the %%Orientation:  line from your eps file and try
 again. This is a hack, but I don't know the rigt fix yet.

These are pure line drawings, right? No latex text.

How are you generating the pdf file?

If you are going the latex-dvi-ps-pdf route, then your converter route 
should be from xfig-eps using the native xfig conversion package. In LyX 
speak that'll be:
\converter fig eps fig2dev -L eps $$i $$o 

If you are going the pdflatex-pdf route, then your converter route should be 
xfig-pdf. No intermediate format (eps) at all.
\converter fig pdf fig2dev -L pdf $$i $$o 

If you're route is actually xfig-eps-pdf, then you may well be experiencing 
problems with epstopdf.

Incidentally, Kayvan, the 'solution' to your problem would be to define your 
own converter, epstopdf_kayvan.sh, that runs the eps file through sed to 
strip the %%Orientation:  line before calling epstopdf.

Angus




Re: Figure printing sideways

2003-09-18 Thread Rich Shepard
On Thu, 18 Sep 2003, Angus Leeming wrote:

 Why not post a minimal sample document that displays the problem...

  Thanks, Angus. Attached -- in pdf because that's a fraction of the size of
the ps file -- is the page with my problem figure on it. It displays in both
acroread and xpdf -- with the figure rotated.

Rich

Dr. Richard B. Shepard, President

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

fig-2.pdf
Description: Adobe PDF document


Re: Figure printing sideways

2003-09-18 Thread Rich Shepard
On Thu, 18 Sep 2003, Kayvan A. Sylvan wrote:

 I think this is a problem with epstopdf.

 Try removing the %%Orientation:  line from your eps file and try
 again. This is a hack, but I don't know the rigt fix yet.

Kayvan,

  There is no such line. Here's the prefix to the .eps file:

%!PS-Adobe-2.0 EPSF-2.0
%%Title: book-fig.2.eps
%%Creator: fig2dev Version 3.2 Patchlevel 3d
%%CreationDate: Wed Sep 10 18:02:40 2003
%%For: [EMAIL PROTECTED] (Rich Shepard)
%%BoundingBox: 0 0 496 277
%%Magnification: 1.
%%EndComments
/$F2psDict 200 dict def
$F2psDict begin
$F2psDict /mtrx matrix put

Thanks,

Rich

Dr. Richard B. Shepard, President

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


Re: Figure printing sideways

2003-09-18 Thread Rich Shepard
On Thu, 18 Sep 2003, Angus Leeming wrote:

 These are pure line drawings, right? No latex text.

Angus,

  Correct.

 How are you generating the pdf file?

  From within LyX: View  Pdflatex.

 If you are going the pdflatex-pdf route, then your converter route should be
 xfig-pdf. No intermediate format (eps) at all.
 \converter fig pdf fig2dev -L pdf $$i $$o 

  Now I'm lost. Within the document I created a float figure. Within that, I
used Insert  Graphic and entered the name of the .eps file. Should I have
used the .fig file?

Many thanks,

Rich

Dr. Richard B. Shepard, President

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


Re: Path to the lyx file cannot contain spaces

2003-09-18 Thread Paul A. Rubin
Bruce [EMAIL PROTECTED] wrote in
news:[EMAIL PROTECTED]: 

 (I sent this message last week, and though received no error message
 it didn't seem to make it to the list (or at least not to the
 archive). Apologies if it is a duplicate.)
 ___
 
 
 I get this message when try to preview a file that (suprise) is in a
 directory that has spaces in its name.
 
 Not that this is a huge deal, I'm just curious... why is this?
 
 Though I must say that it is refreshing to get an error message that
 tells you _exactly_ what went wrong, which unfortunately so many
 programs don't do.
 
 B.

In case you're a Windows user, a couple of tips that I *think* will work 
(seem to work for me):

1.  For paths to viewers, etc. (paths you enter into LyX as options), you 
can get around the no-spaces issue by escaping spaces with \.  So, for 
instance, if your DVI viewer is in C:\Program Files\WinDVI, for instance, 
you could enter that as /Program\ Files/WinDVI/windvi.exe.

2.  That doesn't work for files passed to LaTeX, etc.  I like to keep my 
LyX files in subdirectories under My Documents, so the trick is to put a 
symbolic link in my Cygwin home directory that contains no spaces (for 
instance, /home/rubin/mydocuments links to C:\ridiculously_long_path\My 
Documents).

Not sure how to handle this if you're using the native Win32 port of LyX, 
and of course all bets are off if you're a Mac user.

-- Paul

*
Paul A. Rubin  Phone:(517) 432-3509
Department of Management   Fax:  (517) 432-
The Eli Broad Graduate School of ManagementE-mail:   [EMAIL PROTECTED]
Michigan State University  http://www.msu.edu/~rubin/
East Lansing, MI  48824-1122  (USA)
*
Mathematicians are like Frenchmen:  whenever you say something to them,
they translate it into their own language, and at once it is something
entirely different.J. W. v. GOETHE



Re: Figure printing sideways

2003-09-18 Thread Michael Logies
At 13:41 18.09.2003 -0700, Rich Shepard wrote:

 How are you generating the pdf file?

  From within LyX: View  Pdflatex.
Rich,

use  LyX: View  dvipdfm instead. I think, it has less bugs. This  should 
solve the problem of the too big distance between figure and caption.
Acrobat will respect the bounding box of your EPS-File, but there are other 
PDF-Viewer which will not.

Regards

Michael
--
http://www.logies.de/ (u. a. _die_ Mailingliste für die Dentalbranche)
PGP-key (RSA/IDEA) kommt mit angeforderter Empfangsbestätigung (return receipt)


Re: Path to the lyx file cannot contain spaces

2003-09-18 Thread Michael Logies
At 20:49 18.09.2003 +, Paul A. Rubin wrote:

Not sure how to handle this if you're using the native Win32 port of LyX,
I solved it by installing the other software in simple pathes for a second 
time. Should be the fastest solution.

Regards

M.
--
http://www.logies.de/ (u. a. _die_ Mailingliste für die Dentalbranche)
PGP-key (RSA/IDEA) kommt mit angeforderter Empfangsbestätigung (return receipt)


  1   2   >