Re: [OT] the best method for avoid widow and orphan?

2009-05-05 Thread rgheck

Marcelo Acuña wrote:

hello,

wich is the best method for avoid widow and orphan?

  

http://www.mail-archive.com/lyx-users@lists.lyx.org/msg01541.html

rh



Re: Logo Not Displaying ... FIXED!!

2009-05-05 Thread Rich Shepard

On Tue, 5 May 2009, Rich Shepard wrote:


 Serious issues have come up and I've not experienced anything like them
before.


  All fixed.

  I downloaded pgf-2.00 and installed it in /usr/share/texmf/tex/latex/
(other than the context directory). Then I removed the pgf/ and pgf-1.00/
directories there and ran texhash.

  Happy camper now. Whew!

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
 Voice: 503-667-4517  Fax: 503-667-8863


Another beamer class issue

2009-05-05 Thread Rich Shepard

  Now that I have the logo displaying properly and the slides for the
presentation finished, I need to get the navigation tools in acroread
working.

  I can load the pdf file with no problems, but the control icons along the
bottom, right of the screen are not there. There are faint images of the
page, subsection, section, etc. icons, but I cannot page forward and back.

  There is also no tree of slides along the left side; it's a blank window.

  Loading a presentation I created a couple of years ago, the navigation
tree on the left and the forward/back controls work as they should.

  What might have happened to this new file that it doesn't work properly?
There are no errors in the log file. I can send that privately if anyone
wants to see it but it's too large to attach to the message.

  Almost there, but not quite.

TIA,

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
 Voice: 503-667-4517  Fax: 503-667-8863


module question - modifying list environment

2009-05-05 Thread James C. Sutherland

LyX Module Gurus:

I am trying to create a modified List environment where is counter is  
not reset each time the environment begins.  I have created a module  
(attached) that does part of this for me - it creates a new "TaskList"  
environment in LyX. However, I cannot seem to get the counter to keep  
incrementing - it resets with each instantiation of the environment.


This may be a LaTeX question, since I cannot get it working properly  
in LaTeX either.  I just hope someone out there can shed some light on  
this...


James



tasklist.module
Description: Binary data




Need help creating a Style in a custom layout

2009-05-05 Thread Ryan Warner
Hello LyX users,

I'm new to TeX, LaTeX, and LyX, but climbing fast.  I'm trying to make
a standardized structured document format for my company.  Right now,
I'm attempting to do this by making a custom LyX layout.

This layout is based on article.cls.  As it happens, if I apply this
style to a line in LyX, the generated output in DVI is what I want.
However, in the GUI the preview is not.  In the GUI I don't get the
prepended "Feature:" and the text is completely unformatted.  How do I
make the preview in the GUI resemble the output?

Here's my Style entry in my layout file:

Style Feature
LatexType Command
LatexName planfeature
Preamble
\newcommand{\planfeature}[1]{ \section{Feature: #1} }
EndPreamble
End

For that matter, how does LyX know how to display \section{FooBar}
normally?  Does it parse the class and determine the appearance or is
it predefined somewhere?

On the subject of layout files and Style entries.  Looking at the
layouts that come with LyX, there are a lot of options you can use.
Is any of that documented anywhere?  Or is it all learn by example?

-Ryan


Re: Need help creating a Style in a custom layout

2009-05-05 Thread rgheck

Ryan Warner wrote:

Hello LyX users,

I'm new to TeX, LaTeX, and LyX, but climbing fast.  I'm trying to make
a standardized structured document format for my company.  Right now,
I'm attempting to do this by making a custom LyX layout.

This layout is based on article.cls.  As it happens, if I apply this
style to a line in LyX, the generated output in DVI is what I want.
However, in the GUI the preview is not.  In the GUI I don't get the
prepended "Feature:" and the text is completely unformatted.  How do I
make the preview in the GUI resemble the output?

Here's my Style entry in my layout file:

Style Feature
LatexType Command
LatexName planfeature
Preamble
\newcommand{\planfeature}[1]{ \section{Feature: #1} }
EndPreamble
End

For that matter, how does LyX know how to display \section{FooBar}
normally?  Does it parse the class and determine the appearance or is
it predefined somewhere?

  
Look at the file stdsections.inc. If you do roughly what's done there, I 
expect you will get the results you want.



On the subject of layout files and Style entries.  Looking at the
layouts that come with LyX, there are a lot of options you can use.
Is any of that documented anywhere?  Or is it all learn by example?

  
It's documented in the Customization manual, chapter 5, I think. See the 
Help menu.


Richard



Re: module question - modifying list environment

2009-05-05 Thread James C. Sutherland


On May 5, 2009, at 6:06 PM, James C. Sutherland wrote:


LyX Module Gurus:

I am trying to create a modified List environment where is counter  
is not reset each time the environment begins.  I have created a  
module (attached) that does part of this for me - it creates a new  
"TaskList" environment in LyX. However, I cannot seem to get the  
counter to keep incrementing - it resets with each instantiation of  
the environment.


This may be a LaTeX question, since I cannot get it working properly  
in LaTeX either.  I just hope someone out there can shed some light  
on this...


I have managed to find a solution to this (see attached), although I  
could really benefit from knowing how modules work in more depth.  The  
user manual (Customization Ch. 5) is very terse on this topic!




tasklist.module
Description: Binary data




Re: module question - modifying list environment

2009-05-05 Thread Steve Litt
On Tuesday 05 May 2009 11:07:13 pm James C. Sutherland wrote:
> On May 5, 2009, at 6:06 PM, James C. Sutherland wrote:
> > LyX Module Gurus:
> >
> > I am trying to create a modified List environment where is counter
> > is not reset each time the environment begins.  I have created a
> > module (attached) that does part of this for me - it creates a new
> > "TaskList" environment in LyX. However, I cannot seem to get the
> > counter to keep incrementing - it resets with each instantiation of
> > the environment.
> >
> > This may be a LaTeX question, since I cannot get it working properly
> > in LaTeX either.  I just hope someone out there can shed some light
> > on this...
>
> I have managed to find a solution to this (see attached), although I
> could really benefit from knowing how modules work in more depth.  The
> user manual (Customization Ch. 5) is very terse on this topic!

I'm almost positive both of you should have used "LatexType Item_Environment" 
in the LyX part of your definitions.

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



<    1   2