How to write a movie script

2005-07-30 Thread Steve Litt
Hi all,

Offtopic, but you're the only people I know who might know. How does one go 
about writing a movie script, introducing it to whomever in Hollywood without 
getting it stolen? There must be a process one goes through.

If anyone has any ideas, please email me at [EMAIL PROTECTED]

Thanks

Steve

Steve Litt
http://www.troubleshooters.com/tuni.htm
http://www.troubleshooters.com/utp/utpfaq.htm
http://www.troubleshooters.com/utp/tcourses.htm
http://www.troubleshooters.com/bookstore/ttech.htm
Author: Troubleshooting Techniques of the Successful Technologist


Book of short stories

2005-09-26 Thread Steve Litt
Hi all,

I'm about to publish a book of short stories. I want a table of contents with 
the page number of each story. I don't want to have "Chapter" or a chapter 
number, because each story stands on its own. What document class should I 
use? What environment should I use to head up each short story?

Thanks

Steve

Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Rapid Learning: Secret Weapon of the Successful Technologist
Webmaster
   * Troubleshooters.Com
   * http://www.troubleshooters.com

(Legal Disclaimer) Follow these suggestions at your own risk.


Memoir \setlrmarginsandblock{}{}{}

2005-10-14 Thread Steve Litt
not working as advertised
Date: Fri, 14 Oct 2005 11:36:38 -0400
User-Agent: KMail/1.6.1
MIME-Version: 1.0
Content-Disposition: inline
Content-Type: text/plain;
  charset="us-ascii"
Content-Transfer-Encoding: 7bit
Message-Id: <[EMAIL PROTECTED]>
Status: R
X-Status: NQ
X-KMail-EncryptionState:  
X-KMail-SignatureState:  
X-KMail-MDN-Sent:  

Hi all,

I'm using memoir (actually a doc class I've created based on memoir) for my 
new book. I want editor's notes to have larger margins on both sides than 
normal text (in other words, editors notes would have less chars per line 
assuming identical fonts).

I tried \setlrmarginsandblock{}{}{} and \setlrmargins{}{}{} using various 
combinations of measurements and asterisks, but they made not one bit of 
difference. It was as if the command weren't there. I tried inserting 
\checkandfixthelayout after the commands, but that changed nothing.

Any ideas?

SteveT

Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Rapid Learning: Secret Weapon of the Successful Technologist
Webmaster
   * Troubleshooters.Com
   * http://www.troubleshooters.com


Re: R.I.P. WYSIWYG

2005-10-17 Thread Steve Litt
On Monday 10 October 2005 11:27 am, Roy Schestowitz wrote:
> _/ On Mon 10 Oct 2005 16:07:04 BST, [Angus Leeming] wrote : \_
>
> > Martin A. Hansen wrote:
> >> reading jacob nielsens weekly alertbox, i feel that this weeks issue
> >> would be of interest to the lyx-people.
> >>
> >> http://www.useit.com/alertbox/wysiwyg.html
> >
> > Fascinating! Word as LyX :)
>
> This extends beyond the word processing context. Web page composition is
> transforming itself too. Content management systems make WYSIWYG
> editors rather
> obsolete. In fact, people who use WYSIWYG editors to build sites are often
> snubbed these days, perhaps because poor standards compliance which
> follows and
> the poor underlying understanding of how everyone's Web works, as well as
> semantics (e.g. structure). It is the same problem we see with proprietary
> WYSIWYG tools.
>
> Roy

I wouldn't count out WYSIWYG just yet. It's an excellent way to pound out lots 
of content very fast, because what you see is what you get, so there's 
immediate feedback on whether both your content and your layout are 
appropriate for the audience. 

I've used Mozilla Composer and its ancestors to author Troubleshooters.Com 
since January 1997, and as far as I can tell by my logs, Troubleshooters.Com 
hasn't been snubbed. When I write a web page, I can quickly lay it out 
without worrying about either conforming to past policies or creating new 
ones.

Some wysiwyg authoring environemnts have styles, which make them capable of 
wygiwym if one uses the styles. In such cases, wysiwyg's only advantage is 
you can experimentally fine tune in the gui, and once you have it the way you 
like it, you can make it into a style.

I'm not sure TeX based authoring will ever gain significant mind share, 
because it's just too time consuming to make styles (environments). I've 
created my own .layout files for each of my books, and in each .layout file, 
the debugging phase for each command and environment has been excessive, like 
a day apiece. Contrast that to my work with WordPerfect 5.1, where creating 
even a complex style took 5 minutes. In MSWord, it took 10 to 15 minutes.

There's only one situation where I use TeX based authoring (via LyX), full 
length books. And there's only one reason I use LyX->LaTeX->TeX for full 
length books -- because the typeset result looks so darned good. And of 
course, with something as long as a book, "fine tuning" would be really 
obnoxious.

But for day to day short stories and web pages, I'm a WYSIWYG man.

SteveT

Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Rapid Learning: Secret Weapon of the Successful Technologist
Webmaster
   * Troubleshooters.Com
   * http://www.troubleshooters.com


Problems with my editor's note environment

2005-10-17 Thread Steve Litt
Hi all,

My editor's not environment has 2 problems:

1. I cannot center the word "Editor's Note"
2. The line spacing on the last paragraph in this environment is spaced much 
wider than other paragraphs in the same environment.

Note that the base for my layout file is memoir.

Here's my editor's note environment:

% ### whitebox is basis for StartNote and EndNote ###
% ### Implements 80% width, and indented paragraphs. ###
\newenvironment{whitebox}[0]%
  {%
  \setlength{\widthchange}{-2in}%
  \setlength{\minipagewidth}{\textwidth}%
  \addtolength{\minipagewidth}{\widthchange}%
  \hspace{-0.5\widthchange}%
  \begin{minipage}[]{\minipagewidth}%
  \begin{bfseries}%%
  Editor's Note\\[.2in]%
  \begin{tiny}%%
  \setlength\parindent{16pt}%%
  }%
  {%
  \end{tiny}%
  \end{bfseries}%
  \par
  \end{minipage}%
  ~\\[0.1in]
  }%


If I use 

\center{Editor's Note}\\

it centers everything in the minipage -- not just the words Editor's Note. Go 
figure.

I'm sure my mistakes are minor, but I can't find them. Anybody have an idea?

Thanks

SteveT

Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Rapid Learning: Secret Weapon of the Successful Technologist
Webmaster
   * Troubleshooters.Com
   * http://www.troubleshooters.com


Re: Chapter with numbering but without word "chapter" - more questions...

2005-10-29 Thread Steve Litt
On Friday 21 October 2005 12:00 pm, Uwe Stöhr wrote:
> [EMAIL PROTECTED] schrieb:
> > Do you by any chance also know, if it is now also possible to get the
> > number of the chapter in front of my own chapter title instead of on top
> > of it? And is there a possibility to get around the pagebreaks when a new
> > chapter starts?
>
> Please have a look at the book "The LaTeX Companion 2nd edition". All
> details are explained there in Chapter 2.2.
>
> regards Uwe

Where does one get "The LaTeX Companion 2nd edition"?

Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Rapid Learning: Secret Weapon of the Successful Technologist
Webmaster
   * Troubleshooters.Com
   * http://www.troubleshooters.com



Can't see my layout environments

2005-10-29 Thread Steve Litt
Hi all,

I have a custom layout file (storybook.layout, defining the storybook document 
class, which is derived from memoir). None of my defined LyX styles appear in 
my environment list, even though I edit->rebuild, exited, and then 
view->postscript.

The layout file is being processed, because I can put a bogus command most 
places in the layout file and it will then prevent compile. However, if I put 
it inside a LaTeX environment, it will not prevent compilation.

Anyone have ideas for how to troubleshoot this? The layout file is fairly 
involved, and any error messages are non-useful, at least to me.


LyX: Unknown layout tag `Style' [around line 136 of file 
~/.lyx/layouts/storybook.layout]
Error parsing style `TopNote'
Error reading `~/.lyx/layouts/storybook.layout'
(Check `storybook')
Check your installation and try Options/Reconfigure...
Layout 'TopNote' does not exist in textclass 'storybook'.
Trying to use default layout instead.



There is no word "Style" anywhere near 136. I put in blank lines before the 
word "Style" and the error message did not change. I commented out the 
Topnote style and nothing changed. And yes, I'm doing Edit->reconfigure every 
time.

Any ideas?

Thanks

SteveT

Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Rapid Learning: Secret Weapon of the Successful Technologist
Webmaster
   * Troubleshooters.Com
   * http://www.troubleshooters.com


Re: Can't see my layout environments

2005-10-29 Thread Steve Litt
I have more info. I deleted all references to TopNote from the file, 
reperformed texhash, then went into LyX and did Edit->reconfigure and then 
restarted LyX, and it STILL issued the same error message. There's a ghost of 
layout files past.

SteveT

On Saturday 29 October 2005 09:13 pm, Steve Litt wrote:
> Hi all,
>
> I have a custom layout file (storybook.layout, defining the storybook
> document class, which is derived from memoir). None of my defined LyX
> styles appear in my environment list, even though I edit->rebuild, exited,
> and then view->postscript.
>
> The layout file is being processed, because I can put a bogus command most
> places in the layout file and it will then prevent compile. However, if I
> put it inside a LaTeX environment, it will not prevent compilation.
>
> Anyone have ideas for how to troubleshoot this? The layout file is fairly
> involved, and any error messages are non-useful, at least to me.
>
> 
> LyX: Unknown layout tag `Style' [around line 136 of file
> ~/.lyx/layouts/storybook.layout]
> Error parsing style `TopNote'
> Error reading `~/.lyx/layouts/storybook.layout'
> (Check `storybook')
> Check your installation and try Options/Reconfigure...
> Layout 'TopNote' does not exist in textclass 'storybook'.
> Trying to use default layout instead.
>
> 
>
> There is no word "Style" anywhere near 136. I put in blank lines before the
> word "Style" and the error message did not change. I commented out the
> Topnote style and nothing changed. And yes, I'm doing Edit->reconfigure
> every time.
>
> Any ideas?
>
> Thanks
>
> SteveT
>
> Steve Litt
> Author:
>* Universal Troubleshooting Process courseware
>* Troubleshooting Techniques of the Successful Technologist
>* Rapid Learning: Secret Weapon of the Successful Technologist
> Webmaster
>* Troubleshooters.Com
>* http://www.troubleshooters.com


Upcoming LyX versions

2005-10-31 Thread Steve Litt
Hi all,

I seem to remember that an upcoming LyX version will have a different native 
format. What will that native format be? Will it still be a front end to 
LaTeX, or will it go in a different direction?

Also, when will we have character styles?

Thanks

SteveT

Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Rapid Learning: Secret Weapon of the Successful Technologist
Webmaster
   * Troubleshooters.Com
   * http://www.troubleshooters.com


Re: Custom titlepage

2005-10-31 Thread Steve Litt
On Monday 31 October 2005 10:43 am, Sanders, Maarten (M.J.L.) wrote:
> Hi,
>
> Is anyone aware of any samples of lyx and a customized titlepage? E.g. a
> full page image with text printed over it.
>
> met vriendelijke groet / kind regards,
>
> Maarten Sanders

This won't be a popular reply, but on my title page and my copyright page, I 
fine tune the daylights out of them, using voluminous ERT instead of styles 
and environments.

I do this because the title page and copyright page are very different from 
the text of the book -- they need to have a certain layout -- a certain 
design, a certain look. Ideally they'd be created with a paint program, but 
obviously doing so would be a huge hassle, so instead I simply fine tune with 
voluminous ERT, and it works out quite nicely.

SteveT

Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Rapid Learning: Secret Weapon of the Successful Technologist
Webmaster
   * Troubleshooters.Com
   * http://www.troubleshooters.com


Re: Can't see my layout environments

2005-10-31 Thread Steve Litt
Hi all,

I solved the problem. The root cause was that in my .layout file I forgot to 
end one or more LyX styles with the End keyword.

If your .layout file seems to be recognized but you don't see your custom 
created LyX environments in your LyX environment dropdown, look for an 
unended LyX style. Another symptom would be wierd line numbers on LyX error 
messages.

SteveT


On Saturday 29 October 2005 10:31 pm, Steve Litt wrote:
> I have more info. I deleted all references to TopNote from the file,
> reperformed texhash, then went into LyX and did Edit->reconfigure and then
> restarted LyX, and it STILL issued the same error message. There's a ghost
> of layout files past.
>
> SteveT
>
> On Saturday 29 October 2005 09:13 pm, Steve Litt wrote:
> > Hi all,
> >
> > I have a custom layout file (storybook.layout, defining the storybook
> > document class, which is derived from memoir). None of my defined LyX
> > styles appear in my environment list, even though I edit->rebuild,
> > exited, and then view->postscript.
> >
> > The layout file is being processed, because I can put a bogus command
> > most places in the layout file and it will then prevent compile. However,
> > if I put it inside a LaTeX environment, it will not prevent compilation.
> >
> > Anyone have ideas for how to troubleshoot this? The layout file is fairly
> > involved, and any error messages are non-useful, at least to me.
> >
> > 
> > LyX: Unknown layout tag `Style' [around line 136 of file
> > ~/.lyx/layouts/storybook.layout]
> > Error parsing style `TopNote'
> > Error reading `~/.lyx/layouts/storybook.layout'
> > (Check `storybook')
> > Check your installation and try Options/Reconfigure...
> > Layout 'TopNote' does not exist in textclass 'storybook'.
> > Trying to use default layout instead.
> >
> > 
> >
> > There is no word "Style" anywhere near 136. I put in blank lines before
> > the word "Style" and the error message did not change. I commented out
> > the Topnote style and nothing changed. And yes, I'm doing
> > Edit->reconfigure every time.
> >
> > Any ideas?
> >
> > Thanks
> >
> > SteveT
> >
> > Steve Litt
> > Author:
> >* Universal Troubleshooting Process courseware
> >* Troubleshooting Techniques of the Successful Technologist
> >* Rapid Learning: Secret Weapon of the Successful Technologist
> > Webmaster
> >* Troubleshooters.Com
> >* http://www.troubleshooters.com

-- 
Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Rapid Learning: Secret Weapon of the Successful Technologist
Webmaster
   * Troubleshooters.Com
   * http://www.troubleshooters.com

(Legal Disclaimer) Follow these suggestions at your own risk.


Re: Problems with my editor's note environment

2005-11-01 Thread Steve Litt
On Monday 17 October 2005 12:12 pm, Steve Litt wrote:
> Hi all,
>
> My editor's not environment has 2 problems:
>
> 1. I cannot center the word "Editor's Note"

The problem was that I was doing something like this:

\center{Editor's Note}\\%

or this:

\centering{Editor's Note}\\%

Both of the preceding centered not only "Editor's Note", but also everything 
that was placed in that environment.

And then I tried this:

\begin{center}Editor's Note\end{center}\\%

That gave a compile error when generating dvi.

What solved the problem was this:

\begin{center}Editor's Note\\%
\end{center}%

Greater minds will tell me why I needed to end centering AFTER the newline -- 
I just know that it worked.

Also, the addition of the centering code made it impossible to raise or lower 
the "Editor's Note" title with respect to the environment's text. So at the 
very end of the pre-text code (the first set of braces) I had to put the 
following line to raise the environment's text with respect to the "Editor's 
Note" title:

 ~\\[-.2in]

Crude, but effective.


> 2. The line spacing on the last paragraph in this environment is spaced
> much wider than other paragraphs in the same environment.

This problem was caused by my post-text part of the LaTeX environment (the 
second set of braces). Specifically, I ended the environment like this:

  {%
  \end{tiny}%
  \end{bfseries}%
  \par
  \end{minipage}%
  \\[0.2in]
  }%

What fixed the problem was moving \par to the top:

  {%
  \par
  \end{tiny}%
  \end{bfseries}%
  \end{minipage}%
  \\[0.2in]
  }%

If anyone has ANY idea why reordering like this should eliminate the symptom 
of ultra-wide line spacing in the final paragraph of the text in this 
environment, please tell me.

Anyway, I now have an Editor's Note environment that's perfect for my book.

Thanks

SteveT

Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Rapid Learning: Secret Weapon of the Successful Technologist
Webmaster
   * Troubleshooters.Com
   * http://www.troubleshooters.com


Making a LyX environment with arguments

2005-11-05 Thread Steve Litt
Hi all,

I'd like have my LyX style pass arguments to the LaTeX environment named in 
its "latex name". However, I can't get it to work. What would be the syntax 
for the LaTeX style, and how would my LyX style call it?

For instance, this doesn't work:

\newenvironment{whiteargs}[2]%
  {%
  ~\\[#1]%
  ~\\[#2]%
  \setlength{\widthchange}{-2in}%
  \setlength{\minipagewidth}{\textwidth}%
  \addtolength{\minipagewidth}{\widthchange}%
  \hspace{-0.5\widthchange}%
  \begin{minipage}[]{\minipagewidth}%
  \begin{bfseries}%%
  \begin{center}Author's Note\\%
  \end{center}%
  \begin{tiny}%%
  \setlength\parindent{16pt}%%
  ~\\[-.2in]
  }%
  {%
  \par
  \end{tiny}%
  \end{bfseries}%
  \end{minipage}%
  }%



# %%% BottomNote Environment
Style BottomNote
  LatexType Environment
  LatexName whiteargs[1in, 3in]
### rest of this environment style is left out for clarity
End


What syntax mistakes have I made as far as passing the 1 inch and 3 inch 
arguments, both in the LyX style and in the LaTeX environment? Please don't 
worry about the uselessness of having both arguments skip space in the same 
place -- this is just a proof of concept.

Thanks

SteveT

Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Rapid Learning: Secret Weapon of the Successful Technologist
Webmaster
   * Troubleshooters.Com
   * http://www.troubleshooters.com


Writing text on the Part page

2005-12-10 Thread Steve Litt
Hi all,

For my next book I'm using a derivative of the Memoir class.

My next book has two distinct parts that have two very different functions in 
the book. Each needs an explanation, and because it's a book of short 
stories, it would be inappropriate to have the first chapter in a Part be the 
explanation. I'd like to put a few paragraphs of explanation right on the 
Part page. Anyone know how to do that?

Thanks

SteveT

Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Rapid Learning: Secret Weapon of the Successful Technologist
Webmaster
   * Troubleshooters.Com
   * http://www.troubleshooters.com


Superscript

2005-12-10 Thread Steve Litt
Hi all,

I just went to write O2, as in two oxygen atoms stuck together, and saw no 
provision for superscripting the 2, at least not on the Format->Character 
dialog box. There was also no subscript. I know this can't be true -- how do 
I do it?

I'm using LyX 1.3.3.

Thanks

SteveT

Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Rapid Learning: Secret Weapon of the Successful Technologist
Webmaster
   * Troubleshooters.Com
   * http://www.troubleshooters.com


Re: Superscript

2005-12-10 Thread Steve Litt
On Saturday 10 December 2005 02:12 pm, Charles de Miramon wrote:
> Steve Litt wrote:
> > Hi all,
> >
> > I just went to write O2, as in two oxygen atoms stuck together, and saw
> > no provision for superscripting the 2, at least not on the
> > Format->Character dialog box. There was also no subscript. I know this
> > can't be true -- how do I do it?
> >
> > I'm using LyX 1.3.3.
>
> You can insert a subscript with insert --> special character --> subscript.
> It is a hack that will create a math inset with a subscript.
> Or you can use in ERT O\textsuperscript{2}
>
> The two solutions are not typographically equivalent, the superscript is
> not placed at the same place. For abreviations superscripts like 12th for
> example, or Mr. Dr., use textsuperscript for chemical symbols use a
> mathematical inset.
>
> I wish the actual superscript and subscript hacks could go away. They are a
> pain when you export a LyX file to rtf (they are transformed in
> mathematical formulas) and result in wrong typesetting. Lyx should default
> to \textsuperscript and \textsubscript

Thanks Charles,

I tried these both, and they both worked. I chose the 
Insert->Specialcharacter->superscript method for 2 reasons:

1) The 2 was visible in the LyX file, which is more clear
2) The 2 was bigger, which in this case I liked.

Thanks so much for the help.

SteveT
 
Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Rapid Learning: Secret Weapon of the Successful Technologist
Webmaster
   * Troubleshooters.Com
   * http://www.troubleshooters.com


Re: Superscript

2005-12-16 Thread Steve Litt
On Monday 12 December 2005 05:24 am, Geoffrey Lloyd wrote:
> On Sat, 10 Dec 2005, Steve Litt wrote:
> > On Saturday 10 December 2005 02:12 pm, Charles de Miramon wrote:
> >> Steve Litt wrote:
> >>> Hi all,
> >>>
> >>> I just went to write O2, as in two oxygen atoms stuck
> >>> together, and saw no provision for superscripting the 2, at
> >>> least not on the
>
> Sorry to be an accurate scientist but really the 2 should be
> SUBscripted if you want to write O2, else it is O^2 which really
> means nothing at all.
>
> Geoff

Dh

Thanks Geoff, I'll change it right now. Of course it's still solved, 
because you can do subscript the same way as superscript. Thanks 
for pointing this out, or my book would have had a rather 
embarrassing stupid error.

STeveT
 
Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Rapid Learning: Secret Weapon of the Successful Technologist
Webmaster
   * Troubleshooters.Com
   * http://www.troubleshooters.com



What do you guys prefer

2005-12-16 Thread Steve Litt
Hi all,

Which you guys think is better, ragged right or justified right? 
It's a book of short stories.

SteveT

Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Rapid Learning: Secret Weapon of the Successful Technologist
Webmaster
   * Troubleshooters.Com
   * http://www.troubleshooters.com


Re: I lost a very useful feature

2005-12-20 Thread Steve Litt
On Sunday 18 December 2005 05:02 am, Juergen Spitzmueller wrote:
> Marcelo Acuÿf1a wrote:
> > For aesthetic and legibility. My book is on history and
> >   is plenty of dates, numbers, and is very long.
> >   I try to reduce hard impact in readers.
> >   Because my book have a cronological structural, numbers
> >   of section no add useful information for readers but
> >   impose a hard load for they.
>
> If you just want to get rid of the numbering all over the place,
> then do not use section*, but set
> layout->document->numbering->section to 0 (and keep on using
> section).
>
> Jürgen

That didn't work for me in LyX 1.3.3. The sections still had 
numbers. I use a layout derived from Memoir.

SteveT

Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Rapid Learning: Secret Weapon of the Successful Technologist
Webmaster
   * Troubleshooters.Com
   * http://www.troubleshooters.com


Re: What do you guys prefer

2005-12-20 Thread Steve Litt
On Monday 19 December 2005 07:14 am, Herbert Voss wrote:
> Steve Litt wrote:
> > Hi all,
> >
> > Which you guys think is better, ragged right or justified
> > right? It's a book of short stories.
>
> a short story of one page looks nicer with ragged right.
> This is the reason why I would choose always ragged
> right for a book of short stories.
>
> Herbert

Thanks Herbert.

The shortest story is 2 pages. The longest is 80 pages. I'd peg the 
average at about 6-8 pages.

SteveT

Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Rapid Learning: Secret Weapon of the Successful Technologist
Webmaster
   * Troubleshooters.Com
   * http://www.troubleshooters.com



Re: Writing text on the Part page

2005-12-21 Thread Steve Litt
On Sunday 11 December 2005 03:30 pm, Herbert Voss wrote:
> Steve Litt wrote:
> > For my next book I'm using a derivative of the Memoir class.
> >
> > My next book has two distinct parts that have two very
> > different functions in the book. Each needs an explanation, and
> > because it's a book of short stories, it would be inappropriate
> > to have the first chapter in a Part be the explanation. I'd
> > like to put a few paragraphs of explanation right on the Part
> > page. Anyone know how to do that?
>
> package epigraph
>
> Herbert

Thanks Herbert,

I was unable to make epigraph work in a reasonable amount of time -- 
error after error.

So I finally kludged Memoir by disabling the final formfeed on the 
Part environment:

[EMAIL PROTECTED]

Now that parts don't automatically formfeed, I can put anything I 
want on the page. So I made an environment, using \leftbar, which 
is specific to the Memoir document class. Here's my parttextL 
environment:

\newenvironment{parttextL}[1]%
{%
\begin{leftbar}{}%
\begin{adjustwidth*}{1cm}{1cm}%
\Large%
#1%
\footnotesize%
}%
{%
\end{adjustwidth*}%
\end{leftbar}%
}%


The result is a pleasing commentary on the Part page, about an inch 
below the part title. Proper formfeeding happens at the start of 
the chapter following the part, which is just what I want.

As I mentioned, this is a kludge that would break down under other 
circumstances, but it works in my book and enables me to continue 
writing content.

Thanks

SteveT


Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Rapid Learning: Secret Weapon of the Successful Technologist
Webmaster
   * Troubleshooters.Com
   * http://www.troubleshooters.com



Crammed roman numerals in table of contents

2005-12-21 Thread Steve Litt
Hi all,

I'm using a modified Memoir document class. I have 6 parts in the 
book, and the parts numbering needs to be in the table of contents 
as roman numerals. Unfortunately, III, IV and VI but up against 
their respective part titles in the table of contents. Those 
particular titles are short enough that the problem isn't the 
length of the titles.

How can I put extra space between the number and the part title 
within the table of contents?

SteveT
 
Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Rapid Learning: Secret Weapon of the Successful Technologist
Webmaster
   * Troubleshooters.Com
   * http://www.troubleshooters.com


Fancyhdr doesn't work with Memoir

2005-12-21 Thread Steve Litt
Hi all,

Be aware that fancyhdr doesn't work with the Memoir document class. 
It gives an error about so and so already defined.

Memoir has its own functions that accomplish the same thing as 
fancyhdr. What I do is set my LyX document to "plain" page type in 
LyX, and then code how "plain" does headers. Here's my header code 
for my book:


\renewcommand{\partmark}[1]{\markboth{\footnotesize{}Part \thepart : 
#1}{}}
[EMAIL PROTECTED]
[EMAIL PROTECTED] [#1]{#2}\partmark{#1}}
\renewcommand{\chaptermark}[1]{\markright{\small{}#1}}
\renewcommand{\sectionmark}[1]{}

\makepagestyle{pgonly}
\makeoddfoot{pgonly}{}{\thepage}{}
\makeoddfoot{pgonly}{}{\thepage}{}
\makeevenfoot{pgonly}{}{}{}
\makeevenfoot{pgonly}{}{}{}

\aliaspagestyle{part}{pgonly}
\aliaspagestyle{chapter}{pgonly}

\makeevenhead{plain}{\leftmark}{}{\thepage}
\makeoddhead{plain}{\thepage}{}{\rightmark}
\makeevenfoot{plain}{}{}{}
\makeoddfoot{plain}{}{}{}

\makeevenhead{cleared}{}{}{}
\makeoddhead{cleared}{}{}{}
\makeevenfoot{cleared}{}{\thepage}{}
\makeoddfoot{cleared}{}{\thepage}{}
\makeheadrule{plain}{\textwidth}{1pt}


SteveT

Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Rapid Learning: Secret Weapon of the Successful Technologist
Webmaster
   * Troubleshooters.Com
   * http://www.troubleshooters.com


Re: Crammed roman numerals in table of contents

2005-12-24 Thread Steve Litt
On Thursday 22 December 2005 09:36 am, Bennett Helm wrote:
> On Dec 21, 2005, at 6:10 PM, Steve Litt wrote:
> > Hi all,
> >
> > I'm using a modified Memoir document class. I have 6 parts in the
> > book, and the parts numbering needs to be in the table of contents
> > as roman numerals. Unfortunately, III, IV and VI but up against
> > their respective part titles in the table of contents. Those
> > particular titles are short enough that the problem isn't the
> > length of the titles.
> >
> > How can I put extra space between the number and the part title
> > within the table of contents?
>
> Here's my kludge: put the following in the preamble:
>
> \addtolength{\cftpartnumwidth}{.5em}
>
> Adjust to suit.
>
> Bennett

Thanks Bennett,

That worked perfectly. How did you ever find that? I looked over documentation 
for several hours and never even encountered that command.

Thanks

SteveT

-- 
Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Rapid Learning: Secret Weapon of the Successful Technologist
Webmaster
   * Troubleshooters.Com
   * http://www.troubleshooters.com

(Legal Disclaimer) Follow these suggestions at your own risk.


Using 14 point font in Memoir

2005-12-24 Thread Steve Litt
Hi all,

I have a document class that is based on Memoir. According to the Memoir 
document class documentation, Memoir supports the following document font 
sizes: 10pt, 11pt, 12pt, 14pt and 17pt

I want to use 14pt, but the option doesn't show up in LyX's 
Layout->Document->Layout->Font&Size. If I use Vim to strongarm the .lyx file 
itself to \paperfontsize 14, when I View->postscript the typesize is 10, 
which is Memoir's default. How do I use Memoir's 14 point size?

SteveT

Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Rapid Learning: Secret Weapon of the Successful Technologist
Webmaster
   * Troubleshooters.Com
   * http://www.troubleshooters.com



Raising the table of contents

2005-12-26 Thread Steve Litt
Hi all,

I need to fine tune my table of contents page so it fits on one page (it's 
only parts and chapters). I could do it easily except that the "Contents" 
header begins about 2.5 inches down the page, and for the life of me I can't 
figure a way to raise it.

I'm using a modified Memoir document class, so I cannot\usepackage{tocloft} -- 
it gives 24 errors if I try.

Any ideas how to raise the "Contents" header on the table of contents page?

SteveT

Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Rapid Learning: Secret Weapon of the Successful Technologist
Webmaster
   * Troubleshooters.Com
   * http://www.troubleshooters.com


Re: Crammed roman numerals in table of contents

2005-12-27 Thread Steve Litt
On Tuesday 27 December 2005 07:08 am, Kevin Pfeiffer wrote:
> Steve Litt writes:
> > On Thursday 22 December 2005 09:36 am, Bennett Helm wrote:
> > > On Dec 21, 2005, at 6:10 PM, Steve Litt wrote:
>
> [...]
>
> > > > How can I put extra space between the number and the part title
> > > > within the table of contents?
> > >
> > > Here's my kludge: put the following in the preamble:
> > >
> > > \addtolength{\cftpartnumwidth}{.5em}
>
> [...]
>
> > That worked perfectly. How did you ever find that? I looked over
> > documentation for several hours and never even encountered that
> > command.
>
> The package tocloft has lots of information about this (and many other
> things one can do to modify the toc, lof, etc. (Actually I thought that
> \cftpartnumwidth _was_ part of the tocloft package.)
>
> -Kevin

Yes, Kevin, it's supposed to be part of tocloft. But curiously, when I 
\usepackage{tocloft} on my tweaked Memoir document class, my document gets 24 
errors.

SteveT


-- 
Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Rapid Learning: Secret Weapon of the Successful Technologist
Webmaster
   * Troubleshooters.Com
   * http://www.troubleshooters.com

(Legal Disclaimer) Follow these suggestions at your own risk.


Re: Crammed roman numerals in table of contents

2005-12-28 Thread Steve Litt
On Wednesday 28 December 2005 03:16 am, Kevin Pfeiffer wrote:
> Steve Litt writes:
> > On Tuesday 27 December 2005 07:08 am, Kevin Pfeiffer wrote:
>
> [...]
>
> > > The package tocloft has lots of information about this (and many
> > > other things one can do to modify the toc, lof, etc. (Actually I
> > > thought that \cftpartnumwidth _was_ part of the tocloft package.)
> > >
> > > -Kevin
> >
> > Yes, Kevin, it's supposed to be part of tocloft. But curiously, when
> > I \usepackage{tocloft} on my tweaked Memoir document class, my
> > document gets 24 errors.
>
> See Jürgen Spitzmueller's answer to my post (if you haven't already):
> > It is. However, Peter Wilson, author of the tocloft package,
> > merged this  functionality (amongst others) into his
> > memoir class. So memoir features this, too
> > (that's why tocloft and memoir cannot be used together).
>
> -K

Thanks Kevin,

I saw that. It's too bad Peter Wilson didn't include more. I REALLY could have 
used some more of the tocloft variables, especially \cftbeforetoctitleskip.

Anyway, I finally decided to make the printing nice and big and let the table 
of contents be two pages. That second page would have been blank anyway :-)

Kevin and Jürgen -- thanks for helping me understand the details of the 
situation.

SteveT


-- 
Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Rapid Learning: Secret Weapon of the Successful Technologist
Webmaster
   * Troubleshooters.Com
   * http://www.troubleshooters.com

(Legal Disclaimer) Follow these suggestions at your own risk.


Re: Crammed roman numerals in table of contents

2005-12-28 Thread Steve Litt
On Wednesday 28 December 2005 11:29 am, Juergen Spitzmueller wrote:
> Steve Litt wrote:
> >  It's too bad Peter Wilson didn't include more. I REALLY could have
> > used some more of the tocloft variables, especially
> > \cftbeforetoctitleskip.
>
> could you tell me again why this hint didn't work for you?
> http://www.mail-archive.com/lyx-users%40lists.lyx.org/msg44197.html

Thanks Jürgen,

I just tried both suggestions, and neither 
\renewcommand{\tocheadstart}{}

nor 

\renewcommand{\tocheadstart}{\vspace*{7in}}

made any difference in where the CONTENTS title started, nor did the empty one 
followed by the one with the length. I tried all sorts of lengths, and none 
made any difference.

Thanks

SteveT
Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Rapid Learning: Secret Weapon of the Successful Technologist
Webmaster
   * Troubleshooters.Com
   * http://www.troubleshooters.com



Re: Crammed roman numerals in table of contents

2005-12-30 Thread Steve Litt
On Thursday 29 December 2005 06:06 am, Juergen Spitzmueller wrote:
> Steve Litt wrote:
> > Thanks Jürgen,
> >
> > I just tried both suggestions, and neither
> > \renewcommand{\tocheadstart}{}
> >
> > nor
> >
> > \renewcommand{\tocheadstart}{\vspace*{7in}}
> >
> > made any difference in where the CONTENTS title started, nor did the
> > empty one followed by the one with the length. I tried all sorts of
> > lengths, and none made any difference.
>
> That's strange. For me,
> \renewcommand{\tocheadstart}{}
> sets the contents title to the very top of the page
>
> \renewcommand{\tocheadstart}{\vspace*{7in}}
> should place it 7 inches below the top.
>
> See attached example.
>
> Jürgen

Hmmm,

When I tried to view postscript on your file, I got the following error 
message:

==
LaTeX Error: File `showframe.sty' not found.
 \renewcommand
  {\tocheadstart}{}^^M
*** (cannot \read from terminal in nonstop modes)
======

What is showframe.sty? I wonder if that could be the difference between our 
experiences?

Thanks

SteveT

Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Rapid Learning: Secret Weapon of the Successful Technologist
Webmaster
   * Troubleshooters.Com
   * http://www.troubleshooters.com



Book cover in LyX file

2006-03-23 Thread Steve Litt
Hi all,

I'm making my first Ebook, and want to have the front cover be part of the 
final PDF file. That means it, and a following blank page, has to come before 
the title page.

I'd like the cover page to be a graphic. How do I do this?

Thanks

SteveT

Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Rapid Learning: Secret Weapon of the Successful Technologist
Webmaster
   * Troubleshooters.Com
   * http://www.troubleshooters.com


Re: Book cover in LyX file

2006-03-24 Thread Steve Litt
Thanks Bruce,

pdftk enabled me to easily do exactly what I want.

Thanks

SteveT

On Thursday 23 March 2006 09:20 pm, Bruce Muirhead wrote:
> You also can use pdftk. It is a command line utility, but very powerfula
> and easy to use. What is needed is to create the cover and extra pages in a
> separate programme as a pdf, and then joing th e two pdf files using pdftk.
>
> see  http://www.accesspdf.com/index.php?topic=pdftk
>
> It is my preferred tool for that type of thing because it is easy and lets
> me design the cover and frontispiece however I want.
>
>
>
> Cheers
>
>
>
> Bruce
>
> - Original Message -
>
> From: "Jose' Matos" <[EMAIL PROTECTED]>
> To: 
> Sent: Friday, March 24, 2006 7:39 AM
> Subject: Re: Book cover in LyX file
>
> On Thursday 23 March 2006 21:03, Steve Litt wrote:
> > Hi all,
> >
> > I'm making my first Ebook, and want to have the front cover be part of
> > the final PDF file. That means it, and a following blank page, has to
> > come before the title page.
> >
> > I'd like the cover page to be a graphic. How do I do this?
>
>  pdfpages?
> http://www.ctan.org/tex-archive/help/Catalogue/entries/pdfpages.html
>
>   I remember this advice from Herbert's previous answers to similar
> questions.
> Notice that I could remember wrong. :-)
> http://tug.org/PSTricks/main.cgi?file=pdf/pdf#a5
>
> > Thanks
> >
> > SteveT
> >
> > Steve Litt
> > Author:
> >* Universal Troubleshooting Process courseware
> >* Troubleshooting Techniques of the Successful Technologist
> >* Rapid Learning: Secret Weapon of the Successful Technologist
> > Webmaster
> >* Troubleshooters.Com
> >* http://www.troubleshooters.com
>
> --
> José Abílio


How do you make a wide footer in memoir

2006-03-24 Thread Steve Litt
Hi all,

My book uses the memoir document class. At the bottom of all pages not 
beginning a chapter, I need a brown stripe going all the way across the page, 
with some white writing in it. I'm using a minipage and containing a shaded 
environment, and it works, except that no matter what I do, I cannot get the 
shading to start at the left edge, but instead it starts at the left margin. 
I can \hspace{-5in} and it still starts at the margin.

This is only true when the minipage is in the footer. When ERT containing the 
minipage and shaded is placed in the body, the shaded can be started anywhere 
by preceding it with the proper \hspace{}. But that trick doesn't work in the 
footer.

Any ideas?

Thanks

SteveT

Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Rapid Learning: Secret Weapon of the Successful Technologist
Webmaster
   * Troubleshooters.Com
   * http://www.troubleshooters.com


Re: Chapter title and section name in the left and right pages

2006-03-31 Thread Steve Litt
On Friday 31 March 2006 06:14 am, Horacio Emilio Pérez Sánchez wrote:
> Hello all,
>
> I am writting a big document with a lot of pages and I would want to have
> my document (book format), with the chapter tittle in the left pages and
> the section name in the right pages. Is there any way to do this in lyx ?
>
> Thanks in advance.

Here's some documentation on that issue:

http://www.troubleshooters.com/lpm/200210/200210.htm

The actual part about headers and footers is here:


http://www.troubleshooters.com/lpm/200210/200210.htm#_HeadersandFooters

but I'd recommend reading the whole document to understand what's in the 
headers and footers section.

Thanks

Steve

Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Rapid Learning: Secret Weapon of the Successful Technologist
Webmaster
   * Troubleshooters.Com
   * http://www.troubleshooters.com



Edge to edge footer?

2006-03-31 Thread Steve Litt
Hi all,

My book uses the memoir document class. At the bottom of all pages not 
beginning a chapter, I need a brown stripe going all the way across the page, 
with some white writing in it. I'm using a minipage and containing a shaded 
environment, and it works, except that no matter what I do, I cannot get the 
shading to start at the left edge, but instead it starts at the left margin. 
I can \hspace{-5in} and it still starts at the margin.

This is only true when the minipage is in the footer. When ERT containing the 
minipage and shaded is placed in the body, the shaded can be started anywhere 
by preceding it with the proper \hspace{}. But that trick doesn't work in the 
footer.

Any ideas?

Thanks

SteveT

Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Rapid Learning: Secret Weapon of the Successful Technologist
Webmaster
   * Troubleshooters.Com
   * http://www.troubleshooters.com


Nonprintable text in pdf output

2006-04-08 Thread Steve Litt
Hi all,

Is there a way I can have something in my LyX file (maybe a comment 
environment or something), and have it occur in the PDF output without having 
it print or be viewable?

If that's not possible, is there a way I can "brand" a PDF with a number 
somehow? I have pdftk.

Thanks

SteveT

Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Rapid Learning: Secret Weapon of the Successful Technologist
Webmaster
   * Troubleshooters.Com
   * http://www.troubleshooters.com


Re: Nonprintable text in pdf output

2006-04-08 Thread Steve Litt
On Saturday 08 April 2006 03:34 pm, Steve Litt wrote:
> Hi all,
>
> Is there a way I can have something in my LyX file (maybe a comment
> environment or something), and have it occur in the PDF output without
> having it print or be viewable?
>
> If that's not possible, is there a way I can "brand" a PDF with a number
> somehow? I have pdftk.
>
> Thanks
>
> SteveT

Here's how it's done, assuming you want to tweak org.pdf so it includes 
metadata MYKEY=MYVALUE in the output PDF, tweaked.pdf:

[EMAIL PROTECTED] ~]$ pdftk org.pdf dump_data output mymetadata.txt
[EMAIL PROTECTED] ~]$ echo InfoKey: MYKEY >> mymetadata.txt 
[EMAIL PROTECTED] ~]$ echo InfoValue: MYVALUE >> mymetadata.txt 
[EMAIL PROTECTED] ~]$ pdftk org.pdf update_info mymetadata.txt output 
tweaked.pdf

You've now put metadata key MYKEY with value MYVALUE into tweaked.pdf. You can 
quickly pull that data out with my check_pdf.sh script:

[EMAIL PROTECTED] ~]$ ./check_pdf.sh tweaked.pdf MYKEY
[EMAIL PROTECTED] ~]$ 

Here's the (bash script) code for check_pdf.sh, which I put in the public 
domain and disclaim all warranty and liability:

#!/bin/bash
cat $1 | grep -a "$2" | sed -e "s/.*$2\s*//" | format_pdf_metadata_value.exe

format_pdf_metadata_value.exe simply grabs the value from the line containing 
the key. It should work under Linux or Windows (or BSD, which I assume would 
make it Mac compatible). Here is the C source code for 
format_pdf_metadata_value.exe, which I put in the public domain and disclaim 
all warranty and liability:

#include 
int main(int argc, char *argv[])
{
int ord = getc(stdin);
int count = 0;

/* GO TO OPENING PAREN */
for(; ord != '(' && count < 20; count++, ord=getc(stdin));
if(count >= 20) /* magic number, much bigger than needed */
{
fprintf(stderr, "Value not found\n");
return(1);
}

/* GO PAST OPENING PAREN */
for(; ord == '('; ord=getc(stdin));

/* BLOW OFF LEADING NONPRINTABLES */
for(;((ord < 0) || (ord > 127)); ord = getc(stdin));

/* PRINT UP TO BUT NOT INCLUDING CLOSING PAREN */
/* DO NOT PRINT ALL THE NULL BYTES */
for(; ord != ')'; ord = getc(stdin))
if(ord != 0)
putc(ord, stdout);
return 0;
}



Re: Linking & referencing

2006-04-08 Thread Steve Litt
On Friday 07 April 2006 07:07 pm, Nick Kuzmik wrote:
> Can I use Lyx's label and cross reference features across different
> documents?
>
>
> Nick Kuzmik
> (845) 406-5115
> AIM NKUZMIK

Hi Nick,

I was just reading chapter 11 in "Guide to LaTeX"  by Kopka and Daly, and on 
page 212 they state the following:

"it is possible to refer to the marker keys in another LaTeX document by means 
of David Carlisle's xr package, which is a part of the tools collection 
(Section B.5.4)."

On my computer, I found the xr package as:

/usr/share/texmf/tex/latex/tool/xr.sty

I hope this helps.

SteveT

Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Rapid Learning: Secret Weapon of the Successful Technologist
Webmaster
   * Troubleshooters.Com
   * http://www.troubleshooters.com


Re: Nonprintable text in pdf output

2006-04-09 Thread Steve Litt
On Saturday 08 April 2006 09:07 pm, [EMAIL PROTECTED] wrote:
> On Sat, 8 Apr 2006, Steve Litt wrote:
>
> Hi Steve
>
> I think I understand what you're doing, but would you mind explaining why?
>
> best regards
> /Christian
>
> PS. Then I could add what you wrote to some wiki page if you'd like, but
> only if I can understand the purpose :-)

Sure Christian,

I'm publishing an Ebook in PDF format. I want to discourage copying, but don't 
want to do obnoxious DRM like not allowing printing, degrading printing, or 
locking it to a specific computer.

So I do 2 things:

1) Print the customer's name in a footer at the bottom of the page (which is 
why I asked before how to get a footer to print from paper edge to paper 
edge). This discourages the customer from giving the PDF to his friends, 
because it's his name on the book, and if it "escapes" into the wild, it's 
obvious who did it. Now you and I probably know at least 3 ways to get rid of 
that name, but your average joe doesn't.

2) In case it escapes into the wild and maybe someone altered the name in the 
footer, I want a code inside the pdf that doesn't print. The easiest way I 
know to do this is to make the code a metadata property with a key and a 
value. The key will be a nonobvious string, and the value will look like 
gibberish, but I can scan the PDF for the key, get the value, and relate it 
back to my book sales.

So to add a key->value pair, you use the pdftk dump_data to write all metadata 
to a text file, then append the new key and value to the text file, then 
pdftk update_info to put back all the metadata, including the new key value 
pair.

You can then use grep to get the line containing the key and value, and sed to 
partially remove garbage, and my the listed C program to strip it down to 
nothing but the value so it can be assigned to a variable in a script using 
backticks or $(mycommand) syntax.

I hope this helps you understand what I was doing, but if you or anyone else 
has any questions, please feel free to ask.

Thanks

SteveT

>
> > On Saturday 08 April 2006 03:34 pm, Steve Litt wrote:
> > > Hi all,
> > >
> > > Is there a way I can have something in my LyX file (maybe a comment
> > > environment or something), and have it occur in the PDF output without
> > > having it print or be viewable?
> > >
> > > If that's not possible, is there a way I can "brand" a PDF with a
> > > number somehow? I have pdftk.
> > >
> > > Thanks
> > >
> > > SteveT
> >
> > Here's how it's done, assuming you want to tweak org.pdf so it includes
> > metadata MYKEY=MYVALUE in the output PDF, tweaked.pdf:
> >
> > [EMAIL PROTECTED] ~]$ pdftk org.pdf dump_data output mymetadata.txt
> > [EMAIL PROTECTED] ~]$ echo InfoKey: MYKEY >> mymetadata.txt
> > [EMAIL PROTECTED] ~]$ echo InfoValue: MYVALUE >> mymetadata.txt
> > [EMAIL PROTECTED] ~]$ pdftk org.pdf update_info mymetadata.txt output
> > tweaked.pdf
> >
> > You've now put metadata key MYKEY with value MYVALUE into tweaked.pdf.
> > You can quickly pull that data out with my check_pdf.sh script:
> >
> > [EMAIL PROTECTED] ~]$ ./check_pdf.sh tweaked.pdf MYKEY
> > [EMAIL PROTECTED] ~]$
> >
> > Here's the (bash script) code for check_pdf.sh, which I put in the public
> > domain and disclaim all warranty and liability:
> >
> > #!/bin/bash
> > cat $1 | grep -a "$2" | sed -e "s/.*$2\s*//" |
> > format_pdf_metadata_value.exe
> >
> > format_pdf_metadata_value.exe simply grabs the value from the line
> > containing the key. It should work under Linux or Windows (or BSD, which
> > I assume would make it Mac compatible). Here is the C source code for
> > format_pdf_metadata_value.exe, which I put in the public domain and
> > disclaim all warranty and liability:
> >
> > #include 
> > int main(int argc, char *argv[])
> > {
> > int ord = getc(stdin);
> > int count = 0;
> >
> > /* GO TO OPENING PAREN */
> > for(; ord != '(' && count < 20; count++, ord=getc(stdin));
> > if(count >= 20) /* magic number, much bigger than needed */
> > {
> > fprintf(stderr, "Value not found\n");
> > return(1);
> > }
> >
> > /* GO PAST OPENING PAREN */
> > for(; ord == '('; ord=getc(stdin));
> >
> > /* BLOW OFF LEADING NONPRINTABLES */
> > for(;((ord < 0) || (ord > 127)); ord = getc(stdin));
> >
> > /* PRINT UP TO BUT NOT INCLUDING CLOSING PAREN */
> > /* DO NOT PRINT ALL THE NULL BYTES */
> > for(; ord != ')'; ord = getc(stdin))
> > if(ord != 0)
> > putc(ord, stdout);
> > return 0;
> > }

-- 
Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Rapid Learning: Secret Weapon of the Successful Technologist
Webmaster
   * Troubleshooters.Com
   * http://www.troubleshooters.com

(Legal Disclaimer) Follow these suggestions at your own risk.


Frontmatter aware PDF?

2006-04-10 Thread Steve Litt
Hi all,

On my LyX version 1.3.5, when I make a .ps file, the page numbers in the 
postscript reader (gv) go 1-9 for the frontmatter, and then switch back to 1 
on the first page of the mainmatter, according to my gv (for Linux) 
postscript reader.

I cannot get LyX to produce a .pdf file that does the same thing. Whether I do 
interactive View->PDF, View->PDF(pdflatex), or whether I do the commandline 
lyx -e pdf or lyx -e ps; ps2pdf fname.ps, the produced PDF starts the 
frontmatter at page 1, but does not reset the reader's page number at the 
start of the mainmatter. I've observed this behavior on the gv, xpdf and 
acroread (for Linux) pdf readers.

Does anyone know how to produce a PDF that preserves the reader's page reset 
at the beginning of mainmatter?

Thanks

SteveT

Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Rapid Learning: Secret Weapon of the Successful Technologist
Webmaster
   * Troubleshooters.Com
   * http://www.troubleshooters.com


Re: LyX 1.4.1 is released

2006-04-11 Thread Steve Litt
Does 1.4.1 have character styles?

SteveT


On Tuesday 11 April 2006 05:57 am, Jean-Marc Lasgouttes wrote:
> Public release of LyX version 1.4.1
> ===
>
> We are pleased to announce the release of LyX 1.4.1. This is a bug fix
> release, but some of the bugs were big. In particular:
>
>  - fix the huge memory consumption and corresponding sluggishness with
>documents containing many graphics or `instant preview' snippets.
>
>  - fix slow screen update with nested insets, particularly with LyX/Mac.
>
>  - fix the delay when exiting from a math inset.
>
>  - let the change tracking code track paragraph breaks too.
>
> Also, this will be the first 1.4 release with a windows installer.
>
> See the file RELEASE-NOTES for some known problems in this release.
>
> In case you are wondering what LyX is, here is what
> http://www.lyx.org/ has to say on the subject:
>
>LyX is a document processor that encourages an approach to writing
>based on the structure of your documents, not their appearance. It
>is released under a Free Software / Open Source license.
>
>LyX is for people that write and want their writing to look great,
>right out of the box. No more endless tinkering with formatting
>details, 'finger painting' font attributes or futzing around with page
>boundaries. You just write. In the background, Prof. Knuth's legendary
>TeX typesetting engine makes you look good.
>
>On screen, LyX looks like any word processor; its printed output -- or
>richly cross-referenced PDF, just as readily produced -- looks like
>nothing else. Gone are the days of industrially bland .docs, all
>looking similarly not-quite-right, yet coming out unpredictably
>different on different printer drivers. Gone are the crashes 'eating'
>your dissertation the evening before going to press.
>
>LyX is stable and fully featured. It is a multi-platform, fully
>internationalized application running natively on Unix/Linux, the
>Macintosh and modern Windows platforms.
>
> You can download LyX 1.4.1 here (the .bz2 are compressed with bzip2,
> which yields smaller files):
>
>   ftp://ftp.lyx.org/pub/lyx/stable/lyx-1.4.1.tar.gz
>   ftp://ftp.lyx.org/pub/lyx/stable/lyx-1.4.1.tar.bz2
>   ftp://ftp.devel.lyx.org/pub/lyx/lyx-1.4.1.tar.gz
>   ftp://ftp.devel.lyx.org/pub/lyx/lyx-1.4.1.tar.bz2
>
> and it should propagate shortly to the following mirrors (which will also
> host the .bz2 versions):
>
> http://lyx.mirror.fr/stable/lyx-1.4.1.tar.gz
> ftp://ftp.sdsc.edu/pub/other/lyx/stable/lyx-1.4.1.tar.gz
> ftp://ftp.lip6.fr/pub/lyx/stable/lyx-1.4.1.tar.gz
> ftp://gd.tuwien.ac.at/publishing/tex/lyx/stable/lyx-1.4.1.tar.gz
> ftp://ftp.ntua.gr/pub/X11/LyX/stable/lyx-1.4.1.tar.gz
>
> Note that no patch is provided to upgrade from version 1.3.7.
>
> Prebuilt binaries (rpms for linux distributions, Mac OS X and Windows
> installers) should soon be available at
>   ftp://ftp.lyx.org/pub/lyx/bin/1.4.1/
>
> If you already have the LyX 1.4.0 sources, you may want to apply one
> of the following patches instead
>   ftp://ftp.lyx.org/pub/lyx/stable/patch-1.4.1.gz
>   ftp://ftp.lyx.org/pub/lyx/stable/patch-1.4.1.bz2
>
> Note that this patch will not produce valid LyX/Mac sources, since
> some binary files have been added for this release.
>
> If you find what you think is a bug in LyX 1.4.1, you may either
> e-mail the LyX developers' mailing list (lyx-devellists.lyx.org),
> or open a bug report at http://bugzilla.lyx.org
>
> If you're having trouble using the new version of LyX, or have a question,
> first check out http://www.lyx.org/help/. If you can't find the answer
> there, e-mail the LyX users' list (lyx-userslists.lyx.org).
>
> Enjoy!
>
> The LyX team.
>
> What's new in version 1.4.1?
> 
>
> ** Updates
>
> - Enable breaking and merging of paragraphs in change tracking mode
>   (bug 880).
>
> - Update Basque, German, Hungarian, Italian, Polish and Spanish
>   localizations; import 1.3.7 localizations for Finnish, Slovak,
>   Russian, Slovenian, Romanian, Dutch and Turkish.
>
> - Update Spanish translation of the tutorial; update German
>   translation of the Tutorial and Introduction.
>
> - Document the packages fancybox, prettyref, preview and varioref in
>   LaTeXConfig.lyx.
>
>
> ** Bug fixes
>
> * Document input/output:
>
> - Fix LaTeX error with Address layout in AMS classes (bug 2363).
>
> - Fix LaTeX error when \labelitemi is undefined (bug 2053).
>
> - Fix LaTeX error when inserting a graphic in a section heading or a
>   caption (bug 675).
>
> - Translate \verb commands correctly in tex2lyx (bug 2236).
>
> - Truncate temporary file names that are too long for MikTeX's pdflatex.
>
> - Parse \tag and \tag* commands correctly in tex2lyx and mathed (bug 2234).
>
> - Import fixed width table columns correctly in tex2lyx (bug 2290).
>
> - Convert old LyX doc

Re: LyX 1.4.1 is released

2006-04-12 Thread Steve Litt
On Wednesday 12 April 2006 05:05 am, Jean-Marc Lasgouttes wrote:
> >>>>> "Steve" == Steve Litt <[EMAIL PROTECTED]> writes:
>
> Steve> Does 1.4.1 have character styles?
>
> Yes.
>
> JMarc

   * *
\ o /
 \|/ 
  |   Y E S !
 / \  _  
/   \/
   /
  -

I've been waiting so long for character styles. Since 2000! No more textcolor 
workaround (but thanks for giving me that, Dekl!).

As soon as I complete "Twenty Eight Tales of Troubleshooting", and it's all 
complete except for a very few minor punctuation cleanups, I'll install 1.4.1 
on my Mandriva 2006, which currently has 1.3.5, and as far as I know, no 
character styles.

How does one install LyX 1.4.1? Can it be installed in /usr/local in such a 
way that it can coexist with my current 1.3.5? Are there any 
incompatibilities of which I should be aware?

THANK YOU ALL for including character styles!

SteveT

Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Rapid Learning: Secret Weapon of the Successful Technologist
Webmaster
   * Troubleshooters.Com
   * http://www.troubleshooters.com


How to turn off hyphenation in the footer only?

2006-04-15 Thread Steve Litt
Hi all,

How do I turn off hyphenation in a footer, while leaving hyphenation in the 
rest of the document on?

SteveT

Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Rapid Learning: Secret Weapon of the Successful Technologist
Webmaster
   * Troubleshooters.Com
   * http://www.troubleshooters.com


Re: margins in a double-sided document

2006-04-19 Thread Steve Litt
On Wednesday 19 April 2006 04:25 am, Martin A. Hansen wrote:
> hello
>
> using komascript article i have chosen a double-sided document with fancy
> headers.
>
> because i include a coverpage using the eso-pic and graphicx packages, the
> document has an "extra page". this have the unwanted effect that the
> margins are switched so that the uneven pages have small left margin, and
> even pages have wide left margin. how to fix that?
>
>
> martin

Well, the kludgy way to do it is to set the LyX margins so that even pages 
have a wide margin and odd pages have an even one. The titlepage will be the 
only one that's off.

I'll bet you need something like \cleardoublepage or something like that to do 
it right.

SteveT

Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Rapid Learning: Secret Weapon of the Successful Technologist
Webmaster
   * Troubleshooters.Com
   * http://www.troubleshooters.com



Re: FW: Header problem

2006-05-03 Thread Steve Litt
On Tuesday 02 May 2006 04:37 pm, Paul A. Rubin wrote:
> Jeroen Boydens wrote:
> > Hello,
> >
> > I motivated a colleague to switch from WinWord to LyX, with success.
> > Thanks to the lyx developers!
> > Now he runs into a problem with the automatic generated header. As you
> > can see in the attached *.pdf the header is correctly generated on pages
> > 1,2,4,5. But on page 3 the header flips over the paper side. Adjusting
> > the paragraph title is not the desired solution.
> >
> > Is there a possibility to make LyX split the header, so the second part
> > is below the first headerline?
> >
> > Kind regards,
> >
> > Jeroen
> >
> >
> > 
>
> I hope you mean that adjusting the paragraph title where it occurs in
> the text is not desired (but shortening it in the header is acceptable).
>   If so, the trick is to position the cursor at the very beginning of
> the title, type
>
> optional-insert
>
> in the minibuffer (which opens an inset labeled 'opt'), then type a
> short title into the inset.  The short title is used in the header.
>
> /Paul

Thanks Paul,

Here's my next question. In my latest book, "Twenty Eight Tales of 
Troubleshooting", the Part title appears in the header of the verso (even) 
page, and the chapter title appears on the recto (odd) header. Two of my 
other books have the chapter title on the recto header and the section title 
on the verso header. Can I use your technique to shorten the header 
appearance of part and chapter titles too, and if so, would the shortened 
titles appear in the table of contents?

On a similar note, my book "Manager's Guide to Technical Troubleshooting" uses 
lines of different thicknesses to give the reader cues about the hierarchy. 
Sections are preceded by a black block almost as tall (thick) as a capital 
letter. Subsections are preceded by a thick black line about half the height 
of a lower case letter. Subsubsections are preceded by a hairline. Paragraphs 
and subparagraps are just the Book document class defaults. All three lines 
are the same length -- only the thickness (height) varies. In my opinion it 
really works out well. If anyone wants to see the LaTeX code, I'll post it.

Thanks

SteveT

Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Manager's Guide to Technical Troubleshooting
   * Twenty Eight Tales of Troubleshooting
   * Rapid Learning: Secret Weapon of the Successful Technologist

http://www.troubleshooters.com/bookstore
http://www.troubleshooters.com/utp/tcourses.htm


Re: make a .pdf of part of a document

2006-05-18 Thread Steve Litt
On Wednesday 17 May 2006 09:50 pm, Paul A. Rubin wrote:
> mail.k wrote:
> > Is it possible to make a .pdf of a specific chapter or section of a long
> > document (not the whole document)?
> >
> > regards,
> > eran
>
> Method 1: Stick everything except the desired part in comments (and hope
> this does not screw up the pagination, or leave cross-references
> undefined).
>
> Method 2: Make a PDF of the entire document, then use Ghostscript to
> produce a PDF of selected pages, as in the following (which extracts
> pages 3 through 5 inclusive from sourcefile.pdf):
>
> gsc -dFirstPage=3 -dLastPage=5 -sDEVICE=pdfwrite -sOutputFile=test.pdf
> -dBATCH -dNOPAUSE sourcefile.pdf
>
> Method 3: I use a PDF printer driver (PDFCreator) that, like most
> printer drivers, can output selected pages.  So I can print the document
> to it from Acrobat Reader and extract just the pages I want.

Method 4:

pdftk sourcefile.pdf cat 130-140 output test.pdf

You can find pdftk here:

http://www.accesspdf.com/pdftk/

It can do lots of other stuff, including merging pdfs, splitting pdfs, 
reading, inserting and changing metadata, and lots more. I first heard about  
it on this list.

Thanks

SteveT

Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Manager's Guide to Technical Troubleshooting
   * Twenty Eight Tales of Troubleshooting
   * Rapid Learning: Secret Weapon of the Successful Technologist

http://www.troubleshooters.com/bookstore
http://www.troubleshooters.com/utp/tcourses.htm


Re: make a .pdf of part of a document

2006-05-21 Thread Steve Litt
On Friday 19 May 2006 11:56 am, Paul A. Rubin wrote:
> [EMAIL PROTECTED] wrote:
> > May I suggest that you add these methods/tips to this page:
> >
> > http://wiki.lyx.org/FAQ/PDF
>
> Done.
> /Paul

Thanks Paul and everyone,

That's a fantastic resource. Using it I was able to make my table of contents 
clickable, and also was able to have clickable URLs in my document.

I also discovered some things requiring even more knowledge than I have, and 
after a few hours of web search and experimentation failed, I sent this 
email...

1) The suggestions of \href{mailto:[EMAIL PROTECTED]@mydomain.com} would not 
start the Mozilla email client, at least on my box. I click it and nothing 
happens. Any suggestions?

2) Whenever I insert a URL link (with text with spaces) into my document, it 
doesn't word wrap correctly. Specifically, the line it's on goes VERY long. 
The text forming the link will not wrap. As a result, I've had to limit my 
URLs to things that could be put on their own line. 

3) My book consists of a concatination of three PDFs. The cover is made with 
Gimp, the back of the cover is made with OpenOffice (too much fine tuning to 
do in LyX), and the rest of the document is done in LyX. The URLs on the back 
of the cover (made with OpenOffice) correctly pull up the web page when 
clicked within OpenOffice, but when I export to PDF, that ability is lost. 
How can I have OpenOffice URL links survive into PDF the way LyX links do, if 
you include hyperref?

Once again, thanks so much for the PDF FAQ. It let me do a bunch of stuff I'd 
wanted to do but had given up on.

SteveT


-- 
Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Manager's Guide to Technical Troubleshooting
   * Twenty Eight Tales of Troubleshooting
   * Rapid Learning: Secret Weapon of the Successful Technologist

http://www.troubleshooters.com/bookstore
http://www.troubleshooters.com/utp/tcourses.htm

(Legal Disclaimer) Follow these suggestions at your own risk.


Re: make a .pdf of part of a document

2006-05-21 Thread Steve Litt
On Sunday 21 May 2006 01:32 pm, Steve Litt wrote:
> On Friday 19 May 2006 11:56 am, Paul A. Rubin wrote:
> > [EMAIL PROTECTED] wrote:
> > > May I suggest that you add these methods/tips to this page:
> > >
> > > http://wiki.lyx.org/FAQ/PDF
> >
> > Done.
> > /Paul
>
> Thanks Paul and everyone,
[clip]
>
> 3) My book consists of a concatination of three PDFs. The cover is made
> with Gimp, the back of the cover is made with OpenOffice (too much fine
> tuning to do in LyX), and the rest of the document is done in LyX. The URLs
> on the back of the cover (made with OpenOffice) correctly pull up the web
> page when clicked within OpenOffice, but when I export to PDF, that ability
> is lost. How can I have OpenOffice URL links survive into PDF the way LyX
> links do, if you include hyperref?

I worked around it by creating a small LaTeX file with the same info and 
approximate layout as the OpenOffice doc, included hyperref, and it worked. 
I'd still like to know how to have OpenOffice web links passed through to the 
PDF.

SteveT

Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Manager's Guide to Technical Troubleshooting
   * Twenty Eight Tales of Troubleshooting
   * Rapid Learning: Secret Weapon of the Successful Technologist

http://www.troubleshooters.com/bookstore
http://www.troubleshooters.com/utp/tcourses.htm



How to reset page number in a lyx generated pdf?

2006-05-21 Thread Steve Litt
Hi all,

Like most books, my page numbering starts over when frontmatter becomes 
mainmatter. When I export to postscript, that numbering change is carried 
through and the gv program's page numbering reflects that of the LyX 
document. However, when I make it into a pdf, either with pdflatex or ps2pdf, 
the page numbering change is discarded and page numbering starts from the 
first physical page.

Any ideas how to do preserve my frontmatter/mainmatter page number change into 
the pdf file?

Thanks

SteveT

Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Manager's Guide to Technical Troubleshooting
   * Twenty Eight Tales of Troubleshooting
   * Rapid Learning: Secret Weapon of the Successful Technologist

http://www.troubleshooters.com/bookstore
http://www.troubleshooters.com/utp/tcourses.htm



pst-psf package didn't work for me

2006-05-21 Thread Steve Litt
Hi all,

I downloaded pst-pdf.zip from CTAN, unzipped it, and read the README, which to 
me made no sense and referenced a bunch of files that weren't contained in 
the zip.

So I put the pst-pdf.sty into directory /usr/share/texmf/tex/latex/pst-pdf, 
ran texhash, put \usepackage{pst-pdf} into my lyx file, and 
View->PDF(pdflatex). It gave me 5 identical errors at the top of the file:

=
Illegal parameter number in definition of \next.
 \begin{document}
  
You meant to type ## instead of #, right?
Or maybe a } was forgotten somewhere earlier, and things
are all screwed up? I'm going to assume that you meant ##.
=

I know that it found pst-pdf.sty, because when I changed the filename to 
pst-pdfz within the \usepackage, the error changed to a not-found error. Just 
for fun, before \usepackage{pst-pdf} I put \usepackage{pstricks}, but that 
had no effect on the symptom.

I'm thinking that if I can get pst-pdf.sty to work, it might yield the 
frontmatter/mainmatter page numbering break I need in the PDF, but given the 
existing pst-pdf documentation I can't even get to first base.

Has anyone successfully used pst-pdf, and if so, what did you do differently 
from me?

Thanks

SteveT

Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Manager's Guide to Technical Troubleshooting
   * Twenty Eight Tales of Troubleshooting
   * Rapid Learning: Secret Weapon of the Successful Technologist

http://www.troubleshooters.com/bookstore
http://www.troubleshooters.com/utp/tcourses.htm


Re: make a .pdf of part of a document

2006-05-21 Thread Steve Litt
On Sunday 21 May 2006 04:43 pm, Paul A. Rubin wrote:

> Try the URL package (url.sty, at
> http://www.ctan.org/tex-archive/macros/latex/contrib/misc/).
>
> /Paul

Thanks Paul,

That worked, but intermittently. Sometimes it wrapped URLs and text links, and 
sometimes it let them stick way out to the left. There was no obvious 
differentiating factor between when it worked and when it didn't. Lacking the 
time to isolate the factors determining whether it worked, I put it aside for 
awhile.

Thanks for the suggestion.

SteveT

Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Manager's Guide to Technical Troubleshooting
   * Twenty Eight Tales of Troubleshooting
   * Rapid Learning: Secret Weapon of the Successful Technologist

http://www.troubleshooters.com/bookstore
http://www.troubleshooters.com/utp/tcourses.htm



Re: How to reset page number in a lyx generated pdf?

2006-05-21 Thread Steve Litt
On Sunday 21 May 2006 04:54 pm, Paul A. Rubin wrote:
> Steve Litt wrote:
> > Hi all,
> >
> > Like most books, my page numbering starts over when frontmatter becomes
> > mainmatter. When I export to postscript, that numbering change is carried
> > through and the gv program's page numbering reflects that of the LyX
> > document. However, when I make it into a pdf, either with pdflatex or
> > ps2pdf, the page numbering change is discarded and page numbering starts
> > from the first physical page.
> >
> > Any ideas how to do preserve my frontmatter/mainmatter page number change
> > into the pdf file?
>
> I failed to reproduce this (using the book class, and with \frontmatter
> and \mainmatter in ERT before the title and first chapter heading,
> respectively).  Are you using a different class?  Can you post a small
> example?
>
> /Paul

Thanks Paul,

Here's a fairly minimal test.lyx. On my system, when I View->Postscript, the 
gv page numbers reset at page 1 (gv pages 1, 1 and 2 correspond to logical 
pages i, 1 and 2). This is correct.

However, when I View->PDF(pdflatex) or any other conversion to pdf, my gv page 
numbers are 1, 2 and 3 corresponding to logical page numbers i, 1 and 2.  
This results in the gv page numbers not matching the logical page numbers.

It would be interesting to see if it acts the same way on your system.

I'm using lyx 1.3.5 Oct 6, 2004, which is what came with my Mandriva 2006 
Linux. I'd very much prefer not to upgrade until I'm completely through with 
my current book and have plenty of time to troubleshoot all my past books 
after upgrading my lyx to 1.4.whatever, which has *character styles!!!* (and 
thanks so much for the character styles).

Thanks

SteveT

Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Manager's Guide to Technical Troubleshooting
   * Twenty Eight Tales of Troubleshooting
   * Rapid Learning: Secret Weapon of the Successful Technologist

http://www.troubleshooters.com/bookstore
http://www.troubleshooters.com/utp/tcourses.htm



test.lyx
Description: application/lyx


Re: How to reset page number in a lyx generated pdf?

2006-05-21 Thread Steve Litt
On Sunday 21 May 2006 04:54 pm, Paul A. Rubin wrote:

> I failed to reproduce this (using the book class, and with \frontmatter
> and \mainmatter in ERT before the title and first chapter heading,
> respectively).  Are you using a different class?

I'm using an adaptation of memoir, but in a previous email I sent a small 
example that exhibited the symptom with the book document class.

Thanks

SteveT

Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Manager's Guide to Technical Troubleshooting
   * Twenty Eight Tales of Troubleshooting
   * Rapid Learning: Secret Weapon of the Successful Technologist

http://www.troubleshooters.com/bookstore
http://www.troubleshooters.com/utp/tcourses.htm


Re: How to reset page number in a lyx generated pdf?

2006-05-22 Thread Steve Litt
On Monday 22 May 2006 11:42 am, Paul A. Rubin wrote:
> Steve Litt wrote:
> > Here's a fairly minimal test.lyx. On my system, when I View->Postscript,
> > the gv page numbers reset at page 1 (gv pages 1, 1 and 2 correspond to
> > logical pages i, 1 and 2). This is correct.
> >
> > However, when I View->PDF(pdflatex) or any other conversion to pdf, my gv
> > page numbers are 1, 2 and 3 corresponding to logical page numbers i, 1
> > and 2. This results in the gv page numbers not matching the logical page
> > numbers.
> >
> > It would be interesting to see if it acts the same way on your system.
> >
> > I'm using lyx 1.3.5 Oct 6, 2004, which is what came with my Mandriva 2006
> > Linux. I'd very much prefer not to upgrade until I'm completely through
> > with my current book and have plenty of time to troubleshoot all my past
> > books after upgrading my lyx to 1.4.whatever, which has *character
> > styles!!!* (and thanks so much for the character styles).
>
> I get page numbers i, 1, 2 with both View->DVI and View->PDF (pdflatex)
> here, using LyX 1.4.1 (also LyX 1.3.7).  I'm on Win XP with MiKTeX.
> Don't know if the difference is the LyX version, the LaTeX distribution,
> or the version of pdflatex (MiKTeX-pdfetex 2.4.2140).
>
> /Paul

Thanks Paul,

Now that we have one system that shows the symptom and another that doesn't, 
we have this problem where we want it! I used the following commands to 
create test.dvi, test.ps and test.pdf from test.lyx:

[EMAIL PROTECTED] ~]$ lyx --export dvi test.lyx
Document exported as DVI to file `~/test.dvi'
[EMAIL PROTECTED] ~]$ dvips -o test.ps test.dvi
This is dvips(k) 5.95a Copyright 2005 Radical Eye Software 
(www.radicaleye.com)
' TeX output 2006.05.22:1441' -> test.ps
. [1] [1] [2] 
[EMAIL PROTECTED] ~]$ ps2pdf test.ps
[EMAIL PROTECTED] ~]$

I've uploaded each of these four files to http://www.a3b3.com/lyx/ so that 
anyone can download them and see whether their system displays this symptom. 
Once again, the symptom is that the pdf file does not display two page 1's in 
the pdf browser, whereas the ps file correctly displays two page 1's using 
gv, and the dvi correctly displays 2 page 1's using xdvi. The PDF also fails 
to show 2 page 1's using Adobe acroread.

Paul, if you could do the same things and attach the same files, then I can go 
through your files and see at what point I can inject one of your files to 
cure my symptom. And you can inject my files and see at what point you can 
reproduce the symptom. Doing that, we'll have the exact step at which things 
go wrong, and fixing the problem will be trivial.

If anyone else would like to try it, you're more than welcome.

Thanks

SteveT

Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Manager's Guide to Technical Troubleshooting
   * Twenty Eight Tales of Troubleshooting
   * Rapid Learning: Secret Weapon of the Successful Technologist

http://www.troubleshooters.com/bookstore
http://www.troubleshooters.com/utp/tcourses.htm


Re: How to reset page number in a lyx generated pdf?

2006-05-23 Thread Steve Litt
On Monday 22 May 2006 07:24 pm, Paul A. Rubin wrote:
> Steve Litt wrote:
> > On Monday 22 May 2006 11:42 am, Paul A. Rubin wrote:
> >> Steve Litt wrote:
> >>> Here's a fairly minimal test.lyx. On my system, when I
> >>> View->Postscript, the gv page numbers reset at page 1 (gv pages 1, 1
> >>> and 2 correspond to logical pages i, 1 and 2). This is correct.
> >>>
> >>> However, when I View->PDF(pdflatex) or any other conversion to pdf, my
> >>> gv page numbers are 1, 2 and 3 corresponding to logical page numbers i,
> >>> 1 and 2. This results in the gv page numbers not matching the logical
> >>> page numbers.
>
> Oops.  It occurs to me that maybe we're talking at cross-purposes here.
>
> In all three of your output files (DVI, PS, PDF), the page numbers *in
> the document display* go i, 1, 2.  I thought that's what you were saying
> was munged, but perhaps not.  In GSView, the page numbers reported in
> the status line of the program for the PS file are '"1" 1 of 3', '"1" 2
> of 3' and '"2" 3 of 3' respectively; for the PDF they are '"1" 1 of 3',
> '"2" 2 of 3' and '"3" 3 of 3'.  The page numbers reported by Acrobat
> Reader for the PDF are '1 of 3', '2 of 3' and '3 of 3'.
>
> To get the PDF viewer to recognize correct page numbers in its status
> line (as opposed to in the document window), try adding
> \usepackage[pdfpagelabels]{hyperref} to the preamble.  (You might want
> to add the option 'pdfpagemode=None' to avoid having an empty bookmark
> tab open on the left, at least in Acrobat Reader.)
>
> Note that this will turn your table of contents into links.  If you
> don't want that, toss in the option 'draft', i.e.,
>
> \usepackage[draft,pdfpagelabels,pdfpagemode=None]{hyperref}
>
> in the preamble.
>
> Sorry for the confusion,
> /Paul

Thanks Paul,

Just so the symptom is completely described, I've uploaded ps.jpg and pdf.jpg 
to http://www.a3b3.com/lyx/. They're annotated to completely describe the 
symptom. The ps.jpg file's title bar says "test.dvi", but it was created by 
LyX's View->Postscript.

I've also included a new test.lyx with all 3 syntaxes included, although of 
course two are commented out.

No matter which of your hyperref syntaxes I used, I could not get the pdf 
reader's numbers to reset. Also, if I used:

\usepackage[pdfpagelabels,pdfpagemode=None]{hyperref}

View->PDF(pdflatex) produced the following error:

pdfTeX warning (ext4): destination with the same identifier (name{page.1}) ha
 \chapter
 {Chapter two} [1

Thanks for all the help. This really is important to me because I'm selling an 
Ebook, and it would be much nicer if the document's page numbers matched 
those on the viewer.

I'm still wondering if the pst-pdf package would solve this, but as I 
mentioned in my 5/21 post, its documentation is sparse and doesn't match the 
files sent, and the package appears to error out when incorporated in any 
obvious way.

Thanks

SteveT

Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Manager's Guide to Technical Troubleshooting
   * Twenty Eight Tales of Troubleshooting
   * Rapid Learning: Secret Weapon of the Successful Technologist

http://www.troubleshooters.com/bookstore
http://www.troubleshooters.com/utp/tcourses.htm



Re: A debate topic: What can LyX still learn from scientific workplace?

2006-05-24 Thread Steve Litt
On Wednesday 24 May 2006 11:01 am, Enrique S Gonzalez Di Totto wrote:

> So what I meant to say is that providing the user with a graphical
> interface where they can create layouts and customize the few usual
> options for an enviroment (font family, size, spacing, etc.) would
> allow them to get started. Most users wouldn't need to write even a
> single line of LaTeX code (either in a .layout or in an ERT inset) if
> you gave them that.

I'd *LOVE* to have a tool like that. One of my hardest jobs as a self 
publishing author is tweaking my layouts so that my book's "look and feel" 
will be pleasing to my audience. I do that in the layout file so as to 
present a consistent "look and feel" throughout the book. But tweaking layout 
files is a daunting task complete with huge amounts of debugging time.

If someone creates a tool like that, my one request is they don't make it 
dependent on the latest version of this_library and the latest version of 
that_library to the point where one would need to redo their whole Linux 
distribution to run the program. There's nothing inherant about making a 
layout constructing/modifying program requiring the latest of anything -- a 
simple Perl web app could do the job, or a simple Perl curses or tk app.

In fact, a text menu plus something to choose alternatives would do it. Maybe 
I could even glue it together with UMENU 
(http://www.troubleshooters.com/umenu/index.htm).

What I like about what you said is that we include a subset of the universe of 
LaTeX tweaks, not try to do everything (which as one person in this thread 
stated, might be more difficult than TeX itself).

If we do this, and if we spend most of our energy on the problem domain 
(layout construction) rather than figuring out intricacies of Tk, KDE, 
wxPython or whatever, I'd like to be part of the crew that does it.

Should we start designing it on this mailing list?

Thanks

SteveT

Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Manager's Guide to Technical Troubleshooting
   * Twenty Eight Tales of Troubleshooting
   * Rapid Learning: Secret Weapon of the Successful Technologist

http://www.troubleshooters.com/bookstore
http://www.troubleshooters.com/utp/tcourses.htm


Re: A debate topic: What can LyX still learn from scientific workplace?

2006-05-26 Thread Steve Litt
On Thursday 25 May 2006 07:43 pm, Stephen Harris wrote:
[clip]
> Designing such a menu seems quite ambitious, even for a
> subset of possibilities. I would have thought it impossible
> if Steve Litt, who wrote the layout tutorial, hadn't said
> he thought it was a good idea. It just seems so dynamic!

I envision a small subset of the totality of possible environment and command 
tweaks. Certainly fonts are fairly easy, at least I think so. Margins might 
be pretty easy. Once somebody (like me with some help) has delivered margins 
and fonts, others will add other functionality as it gains popularity.

> What we need here is a breakthrough in Artificial Intelligence,
> so I'm having trouble fathoming building a menu-driven new .cls
> or .layout file creator as even a debatable possibility that
> doesn't need expert human supervision and knowledge feedback.
> I am really interested to see how this (can possibly) works.

Hi Stephen,

I'm not necessarily saying it wouldn't need some human intervention, nor am I 
saying it would always produce exactly the right results, especially at 
first. However, without the menu driven interface, most people would just 
give up. Only a huge need kept me from giving up.

Probably the layout tweaking program would need to be accompanied by LaTeX 
documentation, and by that I mean how to modify LaTeX, not just a listing of 
all the commands.

>
> The proof of the pudding is in the eating not the view,

That's true. Half the projects I bragged that I'd create never saw the light 
of day.

SteveT
 
Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Manager's Guide to Technical Troubleshooting
   * Twenty Eight Tales of Troubleshooting
   * Rapid Learning: Secret Weapon of the Successful Technologist

http://www.troubleshooters.com/bookstore
http://www.troubleshooters.com/utp/tcourses.htm


Re: A debate topic: What can LyX still learn from scientific workplace?

2006-05-26 Thread Steve Litt
On Thursday 25 May 2006 08:30 pm, David Neeley wrote:
[clip]

> That said, I have held on several professional mail lists for tech
> writers that the LyX approach seems far better suited for
> documentation than other solutions. Entirely too much time is spent by
> tech writers fiddling with layout, and version upgrades are
> complicated by various style and format overrides in the documents.

Amen, Brother!

>
> At present, I believe that there is increasing interest in XML
> authoring solutions, with a document production sequence that permits
> these files to be printed properly--although "printed" these days
> increasingly does not include printing. Delivery in Acrobat format is
> extremely popular and is rapidly replacing printed manual production.

[clip]

> For example, I could easily see a separate software environment in
> which samples of each of the layouts included with LyX could be called
> up, with content including instructions on the various particulars of
> that format. As it stands, learning the various uses of the included
> layout files is chaotic at best, so seeing such sample files onscreen
> would be a great help. That would also be a great help in determining
> what layout files to use as the basis for any modifications desired.

That would require a person conversant in every document class, plus a very 
good programmer. Couldn't an html document do a better job, possibly data 
driven. One lookup is "what you want to do", another is document class, maybe 
another is command/environment. It could also include all the packages you 
can add into your document. For instance, it would be wonderful to know that 
if you want your table of contents to be clickable links in a PDF, you need 
the hyperref package.

Different people could document different packages.

If someone can't find a package to do what they need, THEN they use the LaTeX 
tweaking program to change or create the command/environment.


>
> In such a situation, popup "tool tips" could easily enough show the
> laTeX or LyX code required for the given feature (to list just one
> example). That would also be extremely helpful in learning the most
> commonly used commands.

I know how to do that in HTML, using CSS, I think.


Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Manager's Guide to Technical Troubleshooting
   * Twenty Eight Tales of Troubleshooting
   * Rapid Learning: Secret Weapon of the Successful Technologist

http://www.troubleshooters.com/bookstore
http://www.troubleshooters.com/utp/tcourses.htm


Re: Sharing layout files

2006-05-29 Thread Steve Litt
On Monday 29 May 2006 02:54 pm, [EMAIL PROTECTED] wrote:

> You ask a very good question, and to be honest I have no idea whatsoever
> why people aren't sharing their layouts, but here's two gueses:
>
> * People feel that their layout isn't "good" enough...

Yes, I don't think my layouts are good enough, at least from a coding 
viewpoint. They *do* accomplish the page layout I needed, but they're not 
pretty, and probably not done the best way.

> * People feel that it's too difficult to upload the layout...

Yes, I feel the layouts are too hard to upload. I hardly know how to use wikis 
at all.

SteveT
 
Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Manager's Guide to Technical Troubleshooting
   * Twenty Eight Tales of Troubleshooting
   * Rapid Learning: Secret Weapon of the Successful Technologist

http://www.troubleshooters.com/bookstore
http://www.troubleshooters.com/utp/tcourses.htm


Re: Sharing layout files

2006-05-30 Thread Steve Litt
On Tuesday 30 May 2006 11:27 am, [EMAIL PROTECTED] wrote:
> On Mon, 29 May 2006, Steve Litt wrote:
> > On Monday 29 May 2006 02:54 pm, [EMAIL PROTECTED] wrote:
> >> You ask a very good question, and to be honest I have no idea whatsoever
> >> why people aren't sharing their layouts, but here's two gueses:
> >>
> >> * People feel that their layout isn't "good" enough...
> >
> > Yes, I don't think my layouts are good enough, at least from a coding
> > viewpoint. They *do* accomplish the page layout I needed, but they're not
> > pretty, and probably not done the best way.
>
> Ach.. ich verstehe. Mabye we dein Angst helfen kann. If you on that Couch
> will lie down, we shall Your mutter, Uberjag und other issues diskutieren.

Ich konne ein bischen LaTex, aber keine Deutsch. Ich supposedlieren :-) 
Deutsch gelernt auf Hochschule, aber neiiinnn!

>
> Ok, that parody didn't come out as well as I'd hoped... 

Nor did mine :-)

> anyway, I 
> recognize the "my coding isn't good enough"-feeling. In addition, I'm
> often somewhat of a perfectionist. What I can say is that in my
> experience, people don't complain about coding quality[1].
> At best they are very grateful and thankful to just get anything.
> At worst, they ask for more features...
>
> Btw, I'd like to take the this opportunity and thank your for some of the
> stuff you wrote a long time ago about how to do your own layouts - those
> texts really did help me! In fact, I probably relied on your tips quite a
> bit when I did the Songbook layout.

Very welcome. I'm glad it worked out for you.
>
> >> * People feel that it's too difficult to upload the layout...
> >
> > Yes, I feel the layouts are too hard to upload. I hardly know how to use
> > wikis at all.
>
> I'd be happy to help with this of course. More importantly probably, I'm
> very grateful for any tips on *what* it is that makes it diffiult. If it
> so difficult that people as you don't to it, the entire LyX community is
> missing out...

I'll gratefully accept your help. I have 2 problems with wikis

1) I don't know (and forget when I do know) all the shortcuts for various 
lines, heading levels and the like.

2) The whole thing looks very intimidating to me. It's like I'm overwhelmed, 
and don't know where to start with a wiki.

One other question -- when submitting all these layouts, how do we license 
them so they're free software that can be used, modified, copied and 
redistruted by everyone?


>
> So please consider this a question to everyone on this list. Can you give
> me examples on what you find difficult when it comes to the wiki? 

For me it's not *the* wiki, it's *any* wiki.

Thanks

SteveT

Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Manager's Guide to Technical Troubleshooting
   * Twenty Eight Tales of Troubleshooting
   * Rapid Learning: Secret Weapon of the Successful Technologist

http://www.troubleshooters.com/bookstore
http://www.troubleshooters.com/utp/tcourses.htm


Re: Separate articles into book chapters

2006-06-12 Thread Steve Litt
On Sunday 11 June 2006 05:52 pm, Eric Fuchs wrote:
> Hello all:
>
>   I am writing a book, which originally started out as
> a bunch of articles written for a class. Every article
> was written using LyX's article layout. Now, I want to
> put them all into a single book, using the book
> layout.  This is what I've done for every article:
> 1.  Eliminated the author environment
> 2. Transformed the article-layout to book layout
> 3. Transformed the title of the article to chapter
>
> I want now, to just copy-paste each chapter in
> consecutive order to create a book.  My problem lies
> with the tables.  All the tables give out errors when
> compiling.  If I create the table again (even with the
> same data) the problems goes away.

Does the error occur when compiling a single converted article, or when 
compiling the whole concatination?

Further diagnosis would require the error messages thrown during compilation.

>
> Am I doing something wrong? Is there a better way of
> doing this?

My first thought was to use Vim to cut out each article minus its preamble, 
paste it onto the end of the book (with preamble), and put in a chapter mark. 
Also, you'd need to do something about any Part or Part* environments in your 
articles so they don't clash with the book's Part and Part*, since they 
clearly would not be used for the same purpose.

When I start a new book, I lay out the structure in VimOutliner, and then use 
a script to convert VimOutliner to a book document class's Part, Chapter, 
Section, Subsection, SubSubsection, Paragraph and SubParagraph environments, 
and then paste that into an empty document preamble. Also, I frequently make 
small tweaks to a LyX document in Vim.

SteveT

Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Manager's Guide to Technical Troubleshooting
   * Twenty Eight Tales of Troubleshooting
   * Rapid Learning: Secret Weapon of the Successful Technologist

http://www.troubleshooters.com/bookstore
http://www.troubleshooters.com/utp/tcourses.htm



Re: Layout copyright; was: Re: Sharing layout files

2006-06-12 Thread Steve Litt
On Friday 09 June 2006 07:52 pm, [EMAIL PROTECTED] wrote:
> On Fri, 2 Jun 2006, David Neeley wrote:

> > Oh, and Christian--I would suggest you be sure to make the copyright
> > info static with editing disallowed. Legal boilerplate is *not* the
> > place for community-wide editing!
>
> Hmm... ok, I just tried setting the password for editing that page to
> 'LyXers' (same as for uploading).  My browser rememberes the password, so
> I'm 100% sure it's actually activated, but it should be. OTOH, I'm not
> really worried about changes as these are all tracked. I alos monitor what
> pages are changed, so I notice if that particular page was edited. The
> main reason I prefer it editable is so that people could add
> questions/comments to it.

Why can't the original author label his or her contribution as "Licensed under 
the GNU General Public License, Version 2", or similar. Layout files are 
code, so the GPL fits them well. Speaking for myself, I'd be hesitant to 
contribute anything without GPL'ling it, because some licenses leave open the 
door for a big bad company to change my layout just a little bit and take it 
proprietary, and who knows, some day sue me for using code derived from their 
code, and then I have to prove that mine preceded theirs.

Others might like the BSD license, or the Mozilla license, or whatever -- 
wouldn't it be their option rather than that of the Wiki?

Thanks

SteveT

Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Manager's Guide to Technical Troubleshooting
   * Twenty Eight Tales of Troubleshooting
   * Rapid Learning: Secret Weapon of the Successful Technologist

http://www.troubleshooters.com/bookstore
http://www.troubleshooters.com/utp/tcourses.htm


Re: Layout copyright; was: Re: Sharing layout files

2006-06-12 Thread Steve Litt
On Friday 09 June 2006 07:52 pm, [EMAIL PROTECTED] wrote:
> On Fri, 2 Jun 2006, David Neeley wrote:
> > I've noticed with other wikis that it takes a considerable effort before
> > the average user is "sold" on the concept, enough to go through the
> > learning curve for the various tags. Unfortunately, IIRC wiki tags are
> > just enough different from HTML and other tagging taxonomies that it can
> > be confusing at first.
>
> Yes, the tags are certainly a part of the problem. Then I also think many
> people are simply reluctant to write something that'll end up being so
> visible. (Which is kind of strange since everything on this list is
> equally visible... OTOH, I was quite reluctant the first few messages I
> posted to this list).

In my case it's 100% the former. I have no problem with revealing my mistakes 
worldwide, but don't have a lot of time to learn the ins and outs of Wikis.

SteveT

Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Manager's Guide to Technical Troubleshooting
   * Twenty Eight Tales of Troubleshooting
   * Rapid Learning: Secret Weapon of the Successful Technologist

http://www.troubleshooters.com/bookstore
http://www.troubleshooters.com/utp/tcourses.htm



Subtitles

2006-06-13 Thread Steve Litt
Hi all,

If you notice, most modern books have two lines to their title, as in:

===
Guide to LaTeX
Tools and Techniques for Computer Typesetting
===

or

===
The Cathedral & the Bazaar
Musings on Linux and Open Source by an Accidental Revolutionary
===

Typically, the subtitle is longer than the title and therefore is printed in a 
smaller font. What I'd like to do is have them both on the title page.

I spoze I could put them both in the Title environment and fine tune the 
dickens out of the thing to make it look the way I want, but this is a common 
enough thing that I bet somebody's made something to do this (hopefully a 
Subtitle environemnt or something like that).

I'm using my own derivative of the Book environment for this project.

Thanks

SteveT

Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Manager's Guide to Technical Troubleshooting
   * Twenty Eight Tales of Troubleshooting
   * Rapid Learning: Secret Weapon of the Successful Technologist

http://www.troubleshooters.com/bookstore
http://www.troubleshooters.com/utp/tcourses.htm


Box environment with variable label

2006-06-13 Thread Steve Litt
Hi all,

I've created a breakout box environment so that the box title is passed to the 
LaTeX environment. However, I don't know how to make it so that I can specify 
the box title to the LyX environment. As a temporary (or maybe not so 
temporary) kludge, I have the LyX environment call the LaTeX environment with 
an argument of \breakouttext, and  at the end of 
the paragraph before the breakout box I put ERT that says 
\dev\breaktouttext{This shall be my title}.

My solution works fine, but Is there a more LyX like way to do this?

Thanks

SteveT

Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Manager's Guide to Technical Troubleshooting
   * Twenty Eight Tales of Troubleshooting
   * Rapid Learning: Secret Weapon of the Successful Technologist

http://www.troubleshooters.com/bookstore
http://www.troubleshooters.com/utp/tcourses.htm


Re: Subtitles

2006-06-13 Thread Steve Litt
On Tuesday 13 June 2006 05:40 pm, Rich Shepard wrote:
> On Tue, 13 Jun 2006, Steve Litt wrote:
> > Typically, the subtitle is longer than the title and therefore is printed
> > in a smaller font. What I'd like to do is have them both on the title
> > page.
> >
> > I'm using my own derivative of the Book environment for this project.
>
> SteveT,
>
>Consider deriving the Extra title environment from the Koma-script book
> class. Because this class has this ability, the titlehead environment that
> allows me to put the logo above the title, and the ability to put
> information on the top and bottom of the page immediately following the
> title, I've adopted it as my standard book class. I tuned the heading
> typeface selection to that of the standard book class, but use the
> flexibility provided by the Koma-scripts.
>
> Rich


Thanks Rich,

I investigated Koma years ago and for reasons I can't remember decided against 
it. I could revisit that decision, but I've already got a layout that's a 
derivative of Book, so I'd like to have a lot more reasons to go Koma than 
just the title page. If the only benefit is just the title page, I'd rather 
fine tune the title page with voluminous ERT the way I do my copyright page.

Would Memoir do the same thing? I've already written one book with a Memoir 
derivative document class, so at least I have some experience with Memoir.

Thanks

SteveT

Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Manager's Guide to Technical Troubleshooting
   * Twenty Eight Tales of Troubleshooting
   * Rapid Learning: Secret Weapon of the Successful Technologist

http://www.troubleshooters.com/bookstore
http://www.troubleshooters.com/utp/tcourses.htm


Re: Font size

2006-06-14 Thread Steve Litt
On Wednesday 14 June 2006 04:10 am, Ingo Klöcker wrote:

I'm confining my comments to books and very long documents. I have few 
opinions on LyX for docs less than 10 pages -- personally I use OpenOffice 
for such short docs.

> I think you are completely missing the point what LyX and LaTeX is all
> about. Just like with HTML in combination with CSS, LyX/LaTeX is mainly
> concerned with the contents. Unless you are a typographer you shouldn't
> have to worry about layouting a document. LyX/LaTeX will take care of
> this i you choose the right document class.

By definition, any self-publisher is a typographer unless he/she hires a 
typographer, and the economics of self-publishing usually foreclose the 
possibility of hiring a typographer. So, for self-publishers, the question 
becomes, "how difficult will it be for me to implement the styles necessary 
to make this book's appearance something that will sell".

Unfortunately, creating new styles (environments) in LaTeX is very difficult, 
much more difficult than with OpenOffice and the like. However, as you point 
out later in this message, it would be very hard to give up the typography 
and hyphenation that LaTeX does for you. LyX makes things even better because 
when you're in the "pounding out content" mode, you needn't type in a single 
LaTeX command.

>
> If you want to do fancy stuff and want to have full control over the
> layout than you either have to use a lot of LaTeX code in LyX (via ERT)
> or you should use a word processor (like OpenOffice.org or MS Word)
> which doesn't help you with layouting but forces you to do all the
> layouting yourself (with the result of a much inferior layout to what
> LyX/LaTeX would create).

A third alternative, and I think the right alternative for the majority of a 
book, is to create a layout file that *consistently* implements the look you 
want throughout the document. That way, if you want to change the look of 
every story, you just modify the story environment in the layout file and 
recompile. If you had used ERT in every story, the changes would be 
voluminous and error prone.

By using a layout file to consistently implement the exact look you want, you 
have both that *and* LaTeX's help in typesetting.

>
> > I think really I should just stick with Openoffice for writing. It is
> > much simpler to use for actual writing and producing forms. Except,
> > like I said, unless you want to do math formulae.
>
> Maybe for your special use case you are right. But in general you are
> completely mistaken. LyX/LaTeX can be used to typeset any kinds of
> documents. For example I write all my letters with LyX, because I never
> have to worry about correct spacing or placement of address, date, etc.
> LaTeX places everything at the correct spot (in my case following the
> German norm for letters).

For books, LyX/LaTeX gives you very nice spacing and a pleasing page that 
would be difficult with a word processor. The difference is subtle, but to 
the reader reading 100 pages a day, I believe LyX/LaTeX formatting would make 
reading less tiresome. The only problem I see with LyX/LaTeX is that it's *so 
darned hard* to implement your own environments.

Another LyX benefit is that the LyX native format (at least in 1.3x) is a very 
simple  and parsable format so that I can import, export and tweak with ease.

Bottom line -- whenever someone says "you just write the content and let LyX 
format it", please remember that the self-publisher must control both content 
and look, hopefully without huge difficulty.

SteveT

Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Manager's Guide to Technical Troubleshooting
   * Twenty Eight Tales of Troubleshooting
   * Rapid Learning: Secret Weapon of the Successful Technologist

http://www.troubleshooters.com/bookstore
http://www.troubleshooters.com/utp/tcourses.htm



Re: Subtitles

2006-06-14 Thread Steve Litt
Hi Matej,

Looks good from a casual read, and I'll try this, but your email brings up a 
much more serious topic -- *how the heck did you learn this???*

I know you didn't learn it in Kopka and Daly's "Guide to LaTeX", because I 
read that book cover to cover and there were no more than a few sentences on 
the use of the \let TeX primative.

You've given me several suggestions like this, most of which are incorporated 
in the .layout files of my various books. Could you please tell me (and 
everyone else on this list) where you learned this, and how, and a little 
about your mental state and process when you learned this.

The lyx-users list has discussion after discussion about how to make a 
customized environment, command, or whatever. The typical response is "use 
package whatever" or "you don't need that feature". If all of us learned what 
you know about LaTeX and TeX (\let is pure TeX from what I understand), we'd 
all be much happier LyX users if we could whip out a quick LaTeX solution to 
our formatting needs.

Thanks so much

SteveT 

On Wednesday 14 June 2006 09:34 am, Matej Cepl wrote:
> Steve Litt wrote:
> > If you notice, most modern books have two lines to their title, as in:
> >
> > ===
> > Guide to LaTeX
> > Tools and Techniques for Computer Typesetting
> > ===
>
> Try this one. Basically it means redefinition of [EMAIL PROTECTED] like this
> (notice using [EMAIL PROTECTED], which is per default [EMAIL PROTECTED]):
>
> [EMAIL PROTECTED]@empty
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> \newpage
> \null
> \vskip 2em%
> \begin{center}%
> \let \footnote \thanks
> {\LARGE \bfseries [EMAIL PROTECTED] \par}%
> [EMAIL PROTECTED]@empty
> \else
> [EMAIL PROTECTED] [EMAIL PROTECTED]
> \fi
> \vskip 1.5em%
> {\large
> \lineskip .5em%
> \begin{tabular}[t]{c}%
> [EMAIL PROTECTED]
> \end{tabular}\par}%
> \vskip 1em%
> {\large [EMAIL PROTECTED]
> \end{center}%
> \par
> \vskip 1.5em}
>
>
> and now we fill [EMAIL PROTECTED] with some stuff (if desired):
>
> [EMAIL PROTECTED]
>
> The redefinition of [EMAIL PROTECTED] goes to the Preamble section of Title
> style, and definition of \subtitle into Preamble section of Subtitle style.
> Size of the font can be changed in [EMAIL PROTECTED]
>
> Is this what you want?
>
> Matěj


Re: Subtitles

2006-06-14 Thread Steve Litt
On Wednesday 14 June 2006 01:50 pm, Rich Shepard wrote:
> On Wed, 14 Jun 2006, Steve Litt wrote:
> > I know you didn't learn it in Kopka and Daly's "Guide to LaTeX", because
> > I read that book cover to cover and there were no more than a few
> > sentences on the use of the \let TeX primative.
>
> Steve,
>
>Have you read Knuth's "TeXbook?"
>
> Rich

Hi Rich,

Not yet. Is it good? Is it hugely confusing? How much does it cost? I see that 
it retails for $44.99 and you can get it new for $38.67 at Amazon. Can I get 
it used? Where would I get it?

Thanks

SteveT

Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Manager's Guide to Technical Troubleshooting
   * Twenty Eight Tales of Troubleshooting
   * Rapid Learning: Secret Weapon of the Successful Technologist

http://www.troubleshooters.com/bookstore
http://www.troubleshooters.com/utp/tcourses.htm



Re: Subtitles

2006-06-14 Thread Steve Litt
On Wednesday 14 June 2006 01:55 pm, Jose' Matos wrote:

>   At least for me "LaTeX tips and tricks" is always a nice place to start.

Thanks  Jose,

Are you referring to http://tug.org/TeXnik/mainFAQ.cgi/?

SteveT


LyX Title environment

2006-06-14 Thread Steve Litt
Hi all,

Now that we've been discussing it, the LyX Title environment is fascinating, 
to say the least. Instead of printing directly, I deduce that it  fills some 
LaTeX variable that gets printed by the maketitle command or whatever. How do 
they do that? I've looked at the book.cls code, and get no ideas from that.

Thanks

SteveT

Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Manager's Guide to Technical Troubleshooting
   * Twenty Eight Tales of Troubleshooting
   * Rapid Learning: Secret Weapon of the Successful Technologist

http://www.troubleshooters.com/bookstore
http://www.troubleshooters.com/utp/tcourses.htm


Re: Subtitles

2006-06-14 Thread Steve Litt
On Wednesday 14 June 2006 09:34 am, Matej Cepl wrote:
> [EMAIL PROTECTED]@empty
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> \newpage
> \null
> \vskip 2em%
> \begin{center}%
>     \let \footnote \thanks
>     {\LARGE \bfseries [EMAIL PROTECTED] \par}%
>     [EMAIL PROTECTED]@empty
>     \else
>         [EMAIL PROTECTED] [EMAIL PROTECTED]
>     \fi
>     \vskip 1.5em%
>     {\large
>         \lineskip .5em%
>         \begin{tabular}[t]{c}%
>             [EMAIL PROTECTED]
>         \end{tabular}\par}%
>     \vskip 1em%
>     {\large [EMAIL PROTECTED]
> \end{center}%
> \par
> \vskip 1.5em}

Hi Matej,

Putting the preceding code into my LyX .layout file right after the preamble 
statement did absolutely nothing, even when I hardcoded stuff into it.

SteveT

Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Manager's Guide to Technical Troubleshooting
   * Twenty Eight Tales of Troubleshooting
   * Rapid Learning: Secret Weapon of the Successful Technologist

http://www.troubleshooters.com/bookstore
http://www.troubleshooters.com/utp/tcourses.htm


Re: LyX Title environment

2006-06-14 Thread Steve Litt
Sweet!!!

Thanks Richard. That's going to come in *very* handy.

SteveT


On Wednesday 14 June 2006 05:30 pm, Richard Heck wrote:
> What you put in the title environment becomes a \title command. (See the
> stdtitle.inc file: The LatexType for Title is: Command.) So you end up
> with \title{Whatever} in the LaTeX file. This seems to do little more
> than set [EMAIL PROTECTED] to whatever, and then that variable is used in 
> \maketitle.
>
> Richard
>
> Steve Litt wrote:
> > Hi all,
> >
> > Now that we've been discussing it, the LyX Title environment is
> > fascinating, to say the least. Instead of printing directly, I deduce
> > that it  fills some LaTeX variable that gets printed by the maketitle
> > command or whatever. How do they do that? I've looked at the book.cls
> > code, and get no ideas from that.
> >
> > Thanks
> >
> > SteveT
> >
> > Steve Litt
> > Author:
> >* Universal Troubleshooting Process courseware
> >* Troubleshooting Techniques of the Successful Technologist
> >* Manager's Guide to Technical Troubleshooting
> >* Twenty Eight Tales of Troubleshooting
> >* Rapid Learning: Secret Weapon of the Successful Technologist
> >
> > http://www.troubleshooters.com/bookstore
> > http://www.troubleshooters.com/utp/tcourses.htm


Re: Subtitles

2006-06-15 Thread Steve Litt
On Thursday 15 June 2006 06:06 am, Jose' Matos wrote:
> On Wednesday 14 June 2006 20:25, Steve Litt wrote:
> > > [EMAIL PROTECTED]
>
> I don't know what I am talking about (you have been warned) but should not
> this be
>
> \renewcommand{\maketitle}{%
> ?
>
>   After all \maketitle is already defined.

Hi Jose,

The \def\myvar{mycode} syntax is pure TeX, whereas the \renewcommand{\myvar}
{mycode} syntax is LaTeX.  My reading indicates that if you CAN use LaTeX, 
you SHOULD use LaTeX, but sometimes it's very easy to use the TeX syntax.

So yes, theoretically I should use \renewcommand.

Thanks

SteveT

Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Manager's Guide to Technical Troubleshooting
   * Twenty Eight Tales of Troubleshooting
   * Rapid Learning: Secret Weapon of the Successful Technologist

http://www.troubleshooters.com/bookstore
http://www.troubleshooters.com/utp/tcourses.htm


Turning a LyX environment into a LaTeX command

2006-06-15 Thread Steve Litt
Hi all,

After Richard Heck talked about LatexType=Command in the LyX Title environment 
thread, I started experimenting and got it to work. I have a LyX and LaTeX 
breakout environment (breakout is the name of the environment) which prints 
in a shaded box, with a label. However, the label isn't hard coded, but 
instead is contained in a variable called breakoutstring.

I had previously been setting breakoutstring with ERT before the section of 
breakout environment, but I don't like ERT. So, taking Richard Heck's advice, 
I made a BreakoutTitle LyX environment whose LatexType is command, and whose 
LatexName is setBreakoutstring. setBreakoutstring is simply a LaTeX (actually 
TeX) command to set the variable breakoutstring:

\def\setBreakoutstring#1{\def\breakoutstring{#1}}

I tried first to do it with \newcommand, but couldn't get it to compile. If 
anyone can show me how, please do.

Anyway, the following is the code for BreakoutTitle:

# Breakout title style definition
Style BreakoutTitle
  MarginStatic
  LatexType Command
  InTitle   1
  LatexName setBreakoutstring
  ParSkip   0.4
  ItemSep   0
  TopSep1
  BottomSep 0.0
  ParSep1
  Align Center
  AlignPossible Center
  LabelType No_Label

  # standard font definition
  Font 
SizeLarge
  EndFont

Preamble
\def\setBreakoutstring#1{\def\breakoutstring{#1}}
EndPreamble

End



And in case anyone wants to see it, here's the code for Breakout:


# ### Labeled shadowed box for Breakouts ###
Style Breakout
  LatexType Environment
  LatexName breakout_l
  
  AlignPossible Left
  LeftMargin"M"
  RightMargin   "M"
  ParSkip   0.7
  ParSep0.7
  TopSep0.7
  BottomSep 0.7

  Font
  EndFont
  Preamble
\newenvironment{breakout_l}{\begin{shadowbox}{\breakoutstring}}
{\end{shadowbox}}%
  EndPreamble
End


In the preceding, shadowbox is just a home grown LaTeX environment to put the 
text in shading, and bring its borders in.

Obviously, now that I've done this, doing subtitles with an environment 
instead of ERT is pretty easy. Hope some of you can use this.

Richard -- thanks for the tip. I've been trying to do this since 2001.

Thanks

SteveT


Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Manager's Guide to Technical Troubleshooting
   * Twenty Eight Tales of Troubleshooting
   * Rapid Learning: Secret Weapon of the Successful Technologist

http://www.troubleshooters.com/bookstore
http://www.troubleshooters.com/utp/tcourses.htm


How to make home grown layouts much easier

2006-06-15 Thread Steve Litt
Hi all,

I have a suggestion to make it much easier for a LyX user to develop home 
grown layouts.

For me, 95% of the development time in making a layout is debugging. What 
balloons debugging time by a factor of 10 is the need to Edit->Reconfigure 
and then quit and restart LyX every time you make a change to the layout 
file. It's horrid.

If someone could either change LyX so it rereads the layout file on the fly, 
or develops a workaround or kludge so I could just run a command that does 
all that stuff and allows me to continue in my current LyX session, it would 
make layout creation a ton easier, and would kill a main source of resistance 
to LyX -- inability to easily make your own layout files.

SteveT

Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Manager's Guide to Technical Troubleshooting
   * Twenty Eight Tales of Troubleshooting
   * Rapid Learning: Secret Weapon of the Successful Technologist

http://www.troubleshooters.com/bookstore
http://www.troubleshooters.com/utp/tcourses.htm


Re: Layout copyright; was: Re: Sharing layout files

2006-06-16 Thread Steve Litt
On Thursday 15 June 2006 06:06 pm, [EMAIL PROTECTED] wrote:
> On Mon, 12 Jun 2006, David Neeley wrote:
> > Comments within
> >
> > On 6/12/06, Steve Litt
> >
> > <[EMAIL PROTECTED]> wrote:
> >> Why can't the original author label his or her contribution as "Licensed
> >> under the GNU General Public License, Version 2", or similar. Layout
> >> files are code, so the GPL fits them well. Speaking for myself, I'd be
> >> hesitant to contribute anything without GPL'ling it, because some
> >> licenses leave open the door for a big bad company to change my layout
> >> just a little bit and take it proprietary, and who knows, some day sue
> >> me for using code derived from their code, and then I have to prove that
> >> mine preceded theirs.
>
> 
>
> > There is a considerable debate, as you probably know, about whether the
> > GPL is a good idea for areas such as these in which a layout may be used
> > to create commercial documents. That is why I would suggest something
> > like the BSD approach that permits commercial use.
>
> 
>
> > Finally, it is unlikely that layout files themselves would be an
> > issue--since the objective is the documents created with that layout
> > file and not the layout file itself. I really think that this discussion
> > is largely the result of worry over what is very unlikely to happen to
> > begin with--but a reasonable application of a license is certainly not a
> > bad idea at all.
>
> This is issue is apparently a bit complicated. However, I think it was a
> good idea to emphasize that wiki authors are free to license their work
> as they see fit, especially any files they upload. So, for the page
>
>   http://wiki.lyx.org/Site/Copyrights
>
> What do you about adding a paragraph such as this:
>
>   Please note that contributors are free to license uploaded
>   material as they see fit. So if you wish to upload layout examples
>   under some specific license, please do so.

I HUGELY like this. License has always been important to me. I believe the 
VimOutliner project evolved so well in part because of my original choice to 
license it GPL. I felt funny about putting my stuff up there with a license 
chosen by others, so this is a good thing.

In a related thread somebody mentioned GPL wouldn't be good because some 
people use LyX for commercial purposes. I'd imagine the only thing being sold 
are the pdf or paper output  (please let me know if you think I'm wrong), and 
I'd imagine (please let me know if you think I'm wrong) that the pdf or paper 
output would be like a report made by the software, not a compiled version of 
the software. If I'm wrong, my whole business is illegal, as I sell 
proprietary books assembled with various free software, including GPL.

Thanks

SteveT

Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Manager's Guide to Technical Troubleshooting
   * Twenty Eight Tales of Troubleshooting
   * Rapid Learning: Secret Weapon of the Successful Technologist

http://www.troubleshooters.com/bookstore
http://www.troubleshooters.com/utp/tcourses.htm



Re: Layout copyright; was: Re: Sharing layout files

2006-06-16 Thread Steve Litt
On Friday 16 June 2006 11:50 am, you wrote:
> The real first question is whether a layout file can be covered by
> copyright to begin with.
>
> As I pointed out before, one good example is fonts. While their names
> can be copyrighted, the actual outline and metric files cannot be.

I didn't know that. In that case, how can a font foundary legally prevent 
their fonts from being copied willy nilly around the world? If protected only 
by a trademark, one could copy the outline and metric files and call them 
"StevesSansSerif" for instance. If protected by patent, what would be so 
novel from one font to another that a patent would be issued?

SteveT

 
Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Manager's Guide to Technical Troubleshooting
   * Twenty Eight Tales of Troubleshooting
   * Rapid Learning: Secret Weapon of the Successful Technologist

http://www.troubleshooters.com/bookstore
http://www.troubleshooters.com/utp/tcourses.htm


Re: Layout copyright; was: Re: Sharing layout files

2006-06-16 Thread Steve Litt
On Friday 16 June 2006 11:50 am, David Neeley wrote:

> Finally, I do believe that if you wish to be covered, the wiki should
> have a copyright statement something like:
>
> "Files submitted to the wiki for general download are covered by the
> XXX license in the name of their respective author, unless specified
> otherwise by the contributing authors."

That sounds good.

>
> I would suggest something like the BSD license as the basic one, so
> there are no real limitations or questions about use--commercial or
> otherwise--but giving the contributor the option of choosing another
> one if he or she desires. That way, if the files can be copyrighted,
> they would be covered in all cases.

That also sounds good, at least for most stuff, including what I emailed a 
couple days ago. If it were something I worked 60 hours on I might go GPL to 
prevent a Microsoft Kerberos type situation, but my layout files aren't that 
type of work.

Thanks for the clarification and good idea.

SteveT
 
Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Manager's Guide to Technical Troubleshooting
   * Twenty Eight Tales of Troubleshooting
   * Rapid Learning: Secret Weapon of the Successful Technologist

http://www.troubleshooters.com/bookstore
http://www.troubleshooters.com/utp/tcourses.htm



Inserting a tab indented outline into a lyx document

2006-06-17 Thread Steve Litt
Hi all,

In several places in my latest book I need to insert tab indented outlines. 
Here's an example:

Whole program
Initialize
Open input file for read
Open output file for write
Copy
loop
Read input record
Copy to output buffer
Translate characters
Write output record
Finalize
Close input file
Close output file
Print ending message

How do I do that in LyX in such a way that I don't get too much space between 
lines, and it's obvious that this outline is a think in itself and not just 
part of the flow of the document?

Thanks

SteveT

Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Manager's Guide to Technical Troubleshooting
   * Twenty Eight Tales of Troubleshooting
   * Rapid Learning: Secret Weapon of the Successful Technologist

http://www.troubleshooters.com/bookstore
http://www.troubleshooters.com/utp/tcourses.htm



Re: Inserting a tab indented outline into a lyx document

2006-06-18 Thread Steve Litt
On Sunday 18 June 2006 06:21 pm, Paul A. Rubin wrote:
> Steve Litt wrote:
> > Hi all,
> >
> > In several places in my latest book I need to insert tab indented
> > outlines. Here's an example:
> >
> > Whole program
> > Initialize
> > Open input file for read
> > Open output file for write
> > Copy
> > loop
> > Read input record
> > Copy to output buffer
> > Translate characters
> > Write output record
> > Finalize
> > Close input file
> > Close output file
> > Print ending message
> >
> > How do I do that in LyX in such a way that I don't get too much space
> > between lines, and it's obvious that this outline is a think in itself
> > and not just part of the flow of the document?
>
> I don't know if there's a slick way of doing it, but the attached
> example seems to get the desired end result (albeit with a high degree
> of tedium).  You can experiment with the \setlength commands in the
> preamble to adjust the spacing (see, for instance,
> http://www.eng.cam.ac.uk/help/tpl/textprocessing/teTeX/latex/latex2e-html/l
>tx-260.html for a list of lengths you can play with).  If you're doing this
> often enough, it might be worth modifying a layout to include the new list
> environment.

Thanks Paul,

That works perfectly, and I could make a LyX environment to eliminate the ERT. 
As it turned out, I just used the itemize environment for this particular 
application, but your example showed me how to directly translate my tab 
indented outline into LyX with a simple Ruby script.

Thanks

SteveT

Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Manager's Guide to Technical Troubleshooting
   * Twenty Eight Tales of Troubleshooting
   * Rapid Learning: Secret Weapon of the Successful Technologist

http://www.troubleshooters.com/bookstore
http://www.troubleshooters.com/utp/tcourses.htm


Re: Copyrights of material contributed to the wiki (Was: Layout..)

2006-06-19 Thread Steve Litt
On Monday 19 June 2006 04:29 am, Georg Baum wrote:
> [EMAIL PROTECTED] wrote:
> > Do we choose BSD or GPL for the default? Out of habit I'd lean towards
> > GPL, and also because that is what I'd expect if I never bothered to read
> > the Copyrights page.
>
> I'd say GPL. I did not follow this thread too closely, but as I understand
> it layout files can only be licensed under GPL: They require LyX, and LyX
> is GPL.

I'm not a lawyer, but my understanding is the relationship between LyX and 
layouts is program vs. data, and in general you can use non-gpl or even 
non-free data as input to a GPL program, so I don't (and I'm not a lawyer ;-) 
think it's legally required to have the layout file be GPL.

SteveT
 
Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Manager's Guide to Technical Troubleshooting
   * Twenty Eight Tales of Troubleshooting
   * Rapid Learning: Secret Weapon of the Successful Technologist

http://www.troubleshooters.com/bookstore
http://www.troubleshooters.com/utp/tcourses.htm



Re: Confused about Lyx's goals -- isn't this supposed to increase productivity?

2006-06-19 Thread Steve Litt
 major publisher if it weren't for my self-designed covers and my staple 
binding method.

Like I say, I feel your pain. All I can tell you is that right now I'm 
authoring my third LyX created book. You might find some of my LyX writings 
helpful, because they were made in the same mindstate you appear to be in 
right now. Here's a page that links to all my LyX writings:

* http://www.troubleshooters.cxm/linux/lyx/index.htm

HTH

SteveT
 
Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Manager's Guide to Technical Troubleshooting
   * Twenty Eight Tales of Troubleshooting
   * Rapid Learning: Secret Weapon of the Successful Technologist

http://www.troubleshooters.com/bookstore
http://www.troubleshooters.com/utp/tcourses.htm


Re: Easing the editing/correction of LyX documents

2006-06-19 Thread Steve Litt
On Monday 19 June 2006 04:00 pm, Peter Bowyer wrote:
> Hi,
>
> I am one of  the people who cannot finds editing documents hard on
> screen - I end up printing a copy and then working through it with a
> pen, making changes and restructuring, and then typing the changes up.
>
> I didn't find this a problem when using Word because what was
> on-screen looked like the paper copy, so I didn't have to think hard
> about which parts matched up.  However with LyX this has become much
> more difficult, because the printed copy and the editable copy don't
> look similar.
>
> Now I know that people have been writing documents this way for much
> longer than word processors have been around, (think of raw TeX)
> which suggests it's a problem with my approach.  Do you have any tips
> or suggestions for making the editing process smoother?

I like the way you're doing it right now. Wordperfect, Word and LyX, I've 
always printed a chapter, sat down in a quiet corner or layed down in bed, 
and marked it up with a red pen. When I'm done, I go back into the "source 
document" and make the changes, same as you do now. If I can't find something 
because of different pagenation and the like, I use search, and that's fast.

I'll tell you why I'm so enthusiastic about printing a chapter and marking it 
up with red pen. Reading paper gives you a different viewpoint than sitting 
in front of a terminal. You input the content in front of a terminal, and my 
thought is that if I were to edit in that same way, I'd miss the mistakes I 
made in the first place. By marking up a paper copy, I edit from a different 
viewpoint and nail the mistakes I made the first time.

By the way, if you're anything like me, you'll need to print and mark up each 
chapter 2 or 3 times before you get what you consider satisfactory.

SteveT

Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Manager's Guide to Technical Troubleshooting
   * Twenty Eight Tales of Troubleshooting
   * Rapid Learning: Secret Weapon of the Successful Technologist

http://www.troubleshooters.com/bookstore
http://www.troubleshooters.com/utp/tcourses.htm



Re: lyx tutorium - docbook/xml

2007-06-12 Thread Steve Litt
On Tuesday 12 June 2007 10:06, [EMAIL PROTECTED] wrote:
> On Tue, 12 Jun 2007, Trevor Nicholls wrote:
> > What we'd really like is to be able to use LyX as our document editor,
> > because alternative XML editors really suck big time. However this would
> > mean we have to be able to go in the other direction, converting LyX
> > documents back into XML.
>
> Currently the big change that is planned for LyX 1.6 is making use XML as
> its native format... 

Oh No!

The current 1.4x native format is so easy to read and understand, and even to 
write. With an XML format, I'll need to hook an XML parser to Ruby. Worse 
yet, creating LyX programmatically (VimOutliner to LyX converter, for 
instance) will be challenging.

Will they have a 1.5 to 1.6 converter? If so, I can continue to use my current 
VimOutliner to LyX converter, and then simply convert.

Thanks

SteveT
 
Steve Litt
Author: Universal Troubleshooting Process books and courseware
http://www.troubleshooters.com/


LyX Outline feature

2007-06-12 Thread Steve Litt
> By the way, you keep talking about the VimOutliner, may I ask if you
> tried the new outline feature of 1.5? (Part of it is also in 1.4.4).

No. I'm still on 1.4.2. I usually upgrade my LyX when I upgrade Mandriva 
versions. In the 5 years I've used LyX, the only added feature so wonderful 
that it compelled me to go through the pain compiling a new LyX was character 
styles (and thanks for that!).

Where can I learn more about LyX's new outline feature? If it's anything like 
MS Word's outline mode, it will be a SPECTACULAR addition to already great 
software.

Thanks

SteveT

Steve Litt
Author: Universal Troubleshooting Process books and courseware
http://www.troubleshooters.com/



Where can I find better info on LyX functions?

2007-06-12 Thread Steve Litt
Hi all,

There's long list of LyX functions for 1.3.3 here:

http://wiki.lyx.org/LyX/LyxFunctions

Unfortunately most of them have no explanations or argument lists, and I get 
the feeling the list is not complete, even for 1.3.3.

Is there a better place (besides reading and understanding LyXAction.c and 
everything called from it) to get information on LyX functions?

Thanks

SteveT

Steve Litt
Author: Universal Troubleshooting Process books and courseware
http://www.troubleshooters.com/


Re: Explanations with equations?

2007-06-12 Thread Steve Litt
On Monday 11 June 2007 18:59, Steve Litt wrote:
> On Monday 11 June 2007 17:42, you wrote:
> > On Mon, Jun 11, 2007 at 02:33:31PM -0400, Steve Litt wrote:
> > > LyX math is so new to me that I don't know exactly what I want, yet I
> > > need to have it pretty much nailed down before I begin the book.
> >
> > Yet you decided already that typing in LaTeX and hitting C-m is easier.
> >
> > Quite interesting.
> >
> > Andre'
>
> It's an author's prerogative to change his mind :-)
>
> SteveT

Hi all,

As you can imagine, I want a solution that not only looks good, but is fast 
during authoring. I've explored character styles, typing in LaTeX and then 
hitting Ctrl+M, \eqnarray, using LyX's Edit->rows&columns->add_column and 
Edit->rows&columns->add_column, using a table with one row on one side and a 
row per equation string on the other, all the while trying to imagine using 
it 50 times per day. The thought was gruesome.

Now I think I have something that will be useable:

\bind "F11" "math-insert \begin{align*} &=&&\qquad\text{}\end{align*}"
\bind "F12" "tabular-feature copy-row"
\bind "S-F12"   "tabular-feature swap-row"
\bind "C-F12"   "tabular-feature delete-row"

When I need a series of equations, I can press F11 to create the series and 
one row, then repeatedly press F12 to make lots of rows -- too many rows. 
When I'm done I can go to the first unused row and delete unused rows. 

In the preceding bindings, F12 is already implemented as "M-m w c", but I 
needed something involving a single keystroke so I could make 10 rows in 5 
seconds, so I used F12. My "S-F12" and "C-F12" were used for preexisting 
other bindings for similar reasons.

This will be lightning fast, especially if I can find a keystroke to move from 
column to column. It will look good in both the LyX environment and in the 
finished copy.

I see one problem with this -- it is not styles based. If half way through the 
book I decided I wanted to change the appearance of all equations, I'd need 
to use Vim to edit the LyX file, and perform an extensive substitution.

That being said, this is still the best solution I've come up with so far. I 
will continue evaluating, because when I actually write the book, I want to 
be confident of my equation format.

Thanks to all of you for your extensive help and advice, and putting up with 
the multitudes of times I changed my mind, especially when I knew nothing 
about the subject.

SteveT


Re: LyX Outline feature - screenshot & short explanation

2007-06-13 Thread Steve Litt
Is there a "stable" 1.5.x? Does 1.5.x use the same native format as 1.4.2? Is 
1.5.x as reliable and stable as 1.4.2 (meaning it never screws up)?

I'm using Mandriva 2007. Anyone know how difficult it would be for me to 
install 1.5.x  in /usr/local/bin without trashing /usr/bin/lyx, which is 
1.4.2?

Many thanks

SteveT

On Wednesday 13 June 2007 09:16, Helge Hafting wrote:
> Steve Litt wrote:
> >> By the way, you keep talking about the VimOutliner, may I ask if you
> >> tried the new outline feature of 1.5? (Part of it is also in 1.4.4).
> >
> > No. I'm still on 1.4.2. I usually upgrade my LyX when I upgrade Mandriva
> > versions. In the 5 years I've used LyX, the only added feature so
> > wonderful that it compelled me to go through the pain compiling a new LyX
> > was character styles (and thanks for that!).
> >
> > Where can I learn more about LyX's new outline feature? If it's anything
> > like MS Word's outline mode, it will be a SPECTACULAR addition to already
> > great software.
>
> See the screenshot that show the outline feature at
> http://www.aitel.hist.no/~helgehaf/lyx-outline.png
>
> (Unusually small LyX window in order to get a smaller image file)
>
> Outliner subwindow, from top to bottom:
>
> Pulldown box set to show the TOC (other options
> are lists of figures or tables).
>
> The outline itself, showing all the headings in my test document.
> "1.1.1 subsection" is selected.
>
> A slider that lets you set the detail level.
> Example: If you don't care about seeing
> subsections (and lower) in a large document, then you use this slider.
>
> Five buttons:
> * refresh - unnecessary if the outline is updated automatically.
>Otherwise it will update the outline view.
> * decrease depth - will turn the selected subsection into a section
> * increase depth - the subsection will become a subsubsection
> * Move down - subsection (with contents) moves below "other section"
> * Move up - sebsection (with contents) will move above
>"1.1 section"
>
> Helge Hafting

-- 
Steve Litt
Author: Universal Troubleshooting Process books and courseware
http://www.troubleshooters.com/

(Legal Disclaimer) Follow these suggestions at your own risk.


Re: Logo

2007-06-13 Thread Steve Litt
On Wednesday 13 June 2007 11:53, Jaime Díaz-Deus Fernández wrote:
> I need to insert a logo, that is an .eps graphic, in the upper left of
> all pages for to compose a very large corporative document. I think that
> the best idea for do it is to put something in the preamble, but I don't
> know what packages are needed or the commands for this work. Can you
> help me? Thanks in advance.

My first reaction is to put it in the header, so use the fancyheader package 
(Document->settings->page_layout->page_style->fancy), and put the commands 
provided by fancyheader in the preamble.

The one problem with using the header is that you can't have the graphic 
descend into the text, if that's what you want to do. But otherwise, I think 
it's ideal.

SteveT

Steve Litt
Author: Universal Troubleshooting Process books and courseware
http://www.troubleshooters.com/


Re: Problem with PDF output with different pdf reader.

2007-06-14 Thread Steve Litt
On Thursday 14 June 2007 08:01, John Kane wrote:
> Someone in an OOo forum recommended a PDF reader
> called PDF-Viewer
> http://www.docu-track.com/?act[69]=download  (Windows
> only I believe)
>
> I gave it a try and it is very nice, far superior to
> Acrobat reader.  However with both installed and
> PDF-Viewer as default I find that LyX does not create
> a pdf. No errors, no warnings, no file.
>
>  At least, that is the only change to my system that I
> can think of, and returning to Acrobat as default
> reader makes everything work.
>
> Should changing the default reader make such a
> difference?
>
> Thanks

I can't imagine how using a different reader would prevent LyX from creating a 
pdf. That would be like being blind preventing the sun from rising. I'd 
suggest you perform an ls command to find the PDF. If there's really no PDF, 
it's almost certainly not due to the PDF reader -- it's probably due to a 
problem in the document. Try the following:

1) lyx --export latex test.lyx
2) latex test.tex
3) dvipdf test.dvi

If #1 fails, you have something basic wrong with your lyx file. If #2 fails, 
your LyX is producing bad LaTeX -- troubleshoot the LaTeX til you find the 
root cause, and then go back to the LyX and fix it there. If #3 fails, that's 
bizarre. If none of them fail, find out what LyX is doing when you View->Pdf 
that's different from what you did manually.

HTH

SteveT

Steve Litt
Author: Universal Troubleshooting Process books and courseware
http://www.troubleshooters.com/


Math book tips?

2007-06-15 Thread Steve Litt
Hi all,

I'm writing an introductory algebra book, meant to teach without a teacher, 
meant to be easy to learn for kids 12-16. It's been my impression that 
traditional textbooks try to make the material seem complex so as to require 
a teacher, so that the school will order it (what school would order 
something that would put them out of business).

So in a way, my book is diametrically opposed to math textbooks, yet I also 
want to benefit from literally generations of math teaching and writing, 
which is why I use the AMS Book document class.

I know a lot of you have written math books, so please, please, give me all 
the tips you can on writing a math book. I can't guarantee I'll do everything 
suggested, but I sure would like to be aware of the possibilities.

One of the first things I've wondered about is book structure. Traditional 
math textbooks seem to break down to chapters, and within each chapter are 
several lessons, each with its own questions, exercises and the like. In my 
book I'm considering having each lesson be its own chapter, in an effort to 
make short, simple units. I'm trying very hard to have the book come in under 
200 pages, maybe even under 100 pages. If the book goes long, I might make it 
into 2 books if I can find a way to divide the material. I figure with, let's 
say, a 120 page book, if I had 20 chapters each 6 pages long, that wouldn't 
be excessive, and it would give the learner a clear indication of how he/she 
is doing.

Once again, I'm looking for any tips on writing a math book -- any tips at 
all. If you've written a math book and have a cool way of doing stuff, please 
do tell. If you've read math books and have a pet peeve, please tell me that 
too. I'm hoping to start the actual authoring in about a week, and would like 
to have the book's riffs defined by that time.

Thanks

SteveT

Steve Litt
Author: Universal Troubleshooting Process books and courseware
http://www.troubleshooters.com/


LyX errors when View->Postscript

2007-06-15 Thread Steve Litt
But it works just fine when I:

lyx --export mybook.lyx
latex mybook.tex
dvips -o mybook.ps mybook.tex

I've had this problem in several of my books, and just used a script to 
compile them, but now I want to solve the problem so that I can 
View->Postscript.

It seems to have nothing to do with my document class -- it happens in AMS 
book, book and my modified AMS book. It sometimes doesn't happen if I run 
LyX "a certain way", but of course as of now I don't know exactly what that 
way is.

Can someone help me decipher the following error message issued by 
View->Postscript:


ERROR: /syntaxerrorESP Ghostscript 815.03: Unrecoverable error, exit code 1
 in -file-
Operand stack:

Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   
--nostringval--   
2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   
false   1   %stopped_push   1   3   %oparray_pop   1   3   %oparray_pop   1   
3   %oparray_pop   1   
3   %oparray_pop   .runexec2   --nostringval--   --nostringval--   
--nostringval--   
2   %stopped_push
Dictionary stack:
   --dict:1121/1686(ro)(G)--   --dict:0/20(G)--   --dict:102/200(L)--
Current allocation mode is local
Current file position is 1


Re: LyX errors when View->Postscript

2007-06-15 Thread Steve Litt
Hi all,

Turns out the symptom happened when I ran LyX from the background instead of 
from a terminal. I do that in my UMENU menu system. I took out the background 
attribute to cure the View->Postscript problem, but now my UMENU terminal 
hangs around until the LyX session is closed.

I'd still like to understand how to interpret the error message.

Thanks

SteveT

On Friday 15 June 2007 17:49, Steve Litt wrote:
> But it works just fine when I:
>
> lyx --export mybook.lyx
> latex mybook.tex
> dvips -o mybook.ps mybook.tex
>
> I've had this problem in several of my books, and just used a script to
> compile them, but now I want to solve the problem so that I can
> View->Postscript.
>
> It seems to have nothing to do with my document class -- it happens in AMS
> book, book and my modified AMS book. It sometimes doesn't happen if I run
> LyX "a certain way", but of course as of now I don't know exactly what that
> way is.
>
> Can someone help me decipher the following error message issued by
> View->Postscript:
>
>
> ERROR: /syntaxerrorESP Ghostscript 815.03: Unrecoverable error, exit code 1
>  in -file-
> Operand stack:
>
> Execution stack:
>%interp_exit   .runexec2   --nostringval--   --nostringval--  
> --nostringval-- 2   %stopped_push   --nostringval--   --nostringval--  
> --nostringval-- false   1   %stopped_push   1   3   %oparray_pop   1   3  
> %oparray_pop   1 3   %oparray_pop   1
> 3   %oparray_pop   .runexec2   --nostringval--   --nostringval--  
> --nostringval-- 2   %stopped_push
> Dictionary stack:
>--dict:1121/1686(ro)(G)--   --dict:0/20(G)--   --dict:102/200(L)--
> Current allocation mode is local
> Current file position is 1


Re: Updating index file

2007-06-17 Thread Steve Litt
On Sunday 17 June 2007 14:26, Frederick Noronha [फ्रेडरिक नोरोन्या] wrote:
> Hi all, I created an index, and then reworked my book. To my surprise I
> found the index hadn't been updated. Did I do something wrong? How do I get
> all the index entries to reflect the latest corrections? Thanks in advance,
> FN

Here's my sure fire way to update the index. Note that I run latex several 
times to make sure the index gets updated. The actual index updating is done 
by makeindex, which I believe comes with my LaTeX distribution (tetex). 
Here's the script I use:

rm -f $1.aux
rm -f $1.dvi
rm -f $1.ps
rm -f $1.pdf
rm -f $1.idx
rm -f $1.ilg
rm -f $1.ind
rm -f $1.log
rm -f $1.tex
rm -f $1.toc
lyx --export latex $1.lyx
latex $1.tex
makeindex $1.idx
ilglines=`wc -l $1.ilg | cut -d " " -f 1`
if test "$ilglines" = "6"; then
latex $1.tex
latex $1.tex

# Two commands below DO NOT ensure embedded fonts.
#   dvips -o $1.ps $1.dvi
#   ps2pdf $1.ps

# Two commands below ensure all fonts embedded!
dvips -t letter -Pdownload35 -o $1.ps $1.dvi
ps2pdf -dEmbedAllFonts=true $1.ps
#nohup gv $1.pdf & 
#exit 0
else
echo ERROR: Inspect $1.ilg and $1.ind!
gvim $1.ilg $1.ind
echo ERROR: Inspect $1.ilg and $1.ind!
exit 1
fi


SteveT

Steve Litt
Author: Universal Troubleshooting Process books and courseware
http://www.troubleshooters.com/


Re: Can't enter extra whitespace when editing.

2007-06-18 Thread Steve Litt
On Monday 18 June 2007 08:28, Darren Freeman wrote:
> On Mon, 2007-06-18 at 12:40 +0200, Hellmut Weber wrote:
> > Hi Darren, don't you think that calling a lyx behaviour 'gestapo
> > behaviour' is inappropriate?
>
> I don't think I spent any more than three seconds on it and hadn't
> considered it to be anything other than a little colourful. I was
> referring to the heavy-handed policing which LyX is now applying to
> extra white-space and I think I made my point.

Has a recent LyX version eliminated the author's ability to use Ctrl+Spacebar 
to insert multiple nonbreaking spaces? My 1.4.2 allows it.

SteveT


Re: LFUNs in 1.5 RC1 (Windows)

2007-06-19 Thread Steve Litt
On Tuesday 19 June 2007 05:12, Georg Baum wrote:

> It is supposed to work if you convert the bind file from latin1 to utf8 (is
> this mentioned in the release notes?). All non-ASCII stuff in config files
> has to be encoded in utf8.
> If converting to utf8 does not help then it is a bug.

Does this include the copyright symbol and the trademark symbol?

Thanks

SteveT

Steve Litt
Author: Universal Troubleshooting Process books and courseware
http://www.troubleshooters.com/


Re: book - two sides

2007-06-22 Thread Steve Litt
On Friday 22 June 2007 05:49, Giuseppe Vitalone wrote:
> Hi, I use Lyx 1.5rc1 in Windows. The guide says that the class "book" make
> the new chapters start on the right page, but in my documents it doesn't
> works, new chapters start on the left (in fact, right margin is wider),
> why? I can't attach any source to this message, but I will send it to
> anyone who can help me.
> Thanks

I'd rather ask a stupid question than make a stupid mistake, so I'll ask the 
stupid question -- do your chapters begin on odd pages, or on even pages? The 
answer is significant in diagnosing this problem.

SteveT


Re: Puitting other things on title page

2007-06-30 Thread Steve Litt
On Saturday 30 June 2007 20:26, Typhoon wrote:
> On Sat, 30 Jun 2007 19:27:46 -0400
>
> "Nathan Russell" <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > On the title page of my thesis I want to have title, author, and then
> > some other stuff (for example the names of my committee members).
> > However, if I put anything in standard format after the title and
> > author, it puts it on the next page.  How do I override this?
>
> I had the same problem when publishing a cookbook written by my wife. I
> just "hand-crafted" the pages, using standard paragraph for the title,
> but then centering and making the font large. Lots of hfills and so on
> in the first four pages of frontmatter.
>
> HTH,
> Alan

Yes, yes, YES! I've said it 1000 times -- the front matter is a one-off 
section that does not need consistency enforced by styles. The front matter 
is more like a poster than like a book, and hence I always create the whole 
thing with fine-tuned ERT.

I've used fine tuning in front matters to do things the document class authors 
never dreamed of.

WYSIWYM is great in mainmatter and backmatter, but IMHO the front matter is 
best done as WYDIHC (what you do is hard code).

SteveT

Steve Litt
Author: Universal Troubleshooting Process books and courseware
http://www.troubleshooters.com/


Re: Table column width

2007-07-02 Thread Steve Litt
On Monday 02 July 2007 09:08, Grahame Blackwood wrote:
> Hi
>
> I am trying to set the width of a column in a table, but no matter what I
> do, it refuses to work.
>
> I think I have followed the instructions in the manual, trying repeatedly
> with the menu Edit>Table Settings or right-clicking within the column and
> setting the Width to the required value, and also entering 'p' in the Latex
> code field. Every time I close the dialoge box and open it up again the
> settings have disappeared.
>
> Any ideas as to what I am doing wrong?  Help would be very much
> appreciated.
>
> I am using LyX 1.4.2.


I'm pretty sure I know. After changing the number in a column width field of 
the dialog box, you MUST PRESS ENTER. Clicking a button is not enough, you 
must press enter.

It's one of the most bizarre user interfaces in the world, but considering 
that so much of LyX is engineered *just right*, I guess we can live with this 
bizarity.

SteveT

Steve Litt
Author: Universal Troubleshooting Process books and courseware
http://www.troubleshooters.com/


  1   2   3   4   5   6   7   8   9   10   >