colorizing section headings

2005-05-31 Thread Peter Harkins
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I'm trying to colorize my section headings, and I can't quite get it
right. I've got some LaTeX (below) that's almost it, but the background
box is taller than I want; I'd like it to only be a little taller than
the text of the section heading. Can anyone tweak this to the right
height?

\usepackage{color}
\let\mySection\section
\renewcommand\section[1]{%
\protect\textcolor{blue}{%
\colorbox{green}{%
\parbox{\columnwidth}{%
\mySection[#1]{#1}
}%
}%
}%
}%


In case you're wondering, the ugly blue on green is just for testing.


- --
Peter Harkins-ph at malaprop.org-http://malaprop.org


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: If you don't know what this is, it's OK to ignore it.

iD8DBQFCnI9Va6PWv6+ALKoRAg5jAJ90HiO32yDQqjhZXoItaMJGfWARbQCeN4Kr
SmUTjfeXNfrIAHiU4ijN/oA=
=bVIr
-END PGP SIGNATURE-


colorizing section headings

2005-05-31 Thread Peter Harkins
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I'm trying to colorize my section headings, and I can't quite get it
right. I've got some LaTeX (below) that's almost it, but the background
box is taller than I want; I'd like it to only be a little taller than
the text of the section heading. Can anyone tweak this to the right
height?

\usepackage{color}
\let\mySection\section
\renewcommand\section[1]{%
\protect\textcolor{blue}{%
\colorbox{green}{%
\parbox{\columnwidth}{%
\mySection[#1]{#1}
}%
}%
}%
}%


In case you're wondering, the ugly blue on green is just for testing.


- --
Peter Harkins-ph at malaprop.org-http://malaprop.org


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: If you don't know what this is, it's OK to ignore it.

iD8DBQFCnI9Va6PWv6+ALKoRAg5jAJ90HiO32yDQqjhZXoItaMJGfWARbQCeN4Kr
SmUTjfeXNfrIAHiU4ijN/oA=
=bVIr
-END PGP SIGNATURE-


colorizing section headings

2005-05-31 Thread Peter Harkins
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I'm trying to colorize my section headings, and I can't quite get it
right. I've got some LaTeX (below) that's almost it, but the background
box is taller than I want; I'd like it to only be a little taller than
the text of the section heading. Can anyone tweak this to the right
height?

\usepackage{color}
\let\mySection\section
\renewcommand\section[1]{%
\protect\textcolor{blue}{%
\colorbox{green}{%
\parbox{\columnwidth}{%
\mySection[#1]{#1}
}%
}%
}%
}%


In case you're wondering, the ugly blue on green is just for testing.


- --
Peter Harkins-ph at malaprop.org-http://malaprop.org


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: If you don't know what this is, it's OK to ignore it.

iD8DBQFCnI9Va6PWv6+ALKoRAg5jAJ90HiO32yDQqjhZXoItaMJGfWARbQCeN4Kr
SmUTjfeXNfrIAHiU4ijN/oA=
=bVIr
-END PGP SIGNATURE-


LyX - DOC conversion

2004-12-15 Thread Peter Harkins
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


I'm using Linux and looking to convert a LyX document to Microsoft doc
format (yes, perhaps a bit unholy) non-interactively.

It doesn't have to be especially beautiful, just work; and I don't mind
intermediate steps like PDF, PS, HTML, or ASCII that may lose formatting.
I've looked through the help, the Wiki, and tried Googling. I'd appreciate
any pointers or ideas.


- -- 
Peter Harkins - Experienced and skilled PHP developer looking for fulltime
work in Chicago. Visit http://malaprop.org/work for resume and portfolio.


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: If you don't know what this is, it's OK to ignore it.

iD8DBQFBwS4za6PWv6+ALKoRAnLxAJ45911dum/Xns3dkYMu8DUAANRNYACfWcw/
7hSlYEoFO+lyDww/Hym3C+A=
=nlbe
-END PGP SIGNATURE-


LyX - DOC conversion

2004-12-15 Thread Peter Harkins
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


I'm using Linux and looking to convert a LyX document to Microsoft doc
format (yes, perhaps a bit unholy) non-interactively.

It doesn't have to be especially beautiful, just work; and I don't mind
intermediate steps like PDF, PS, HTML, or ASCII that may lose formatting.
I've looked through the help, the Wiki, and tried Googling. I'd appreciate
any pointers or ideas.


- -- 
Peter Harkins - Experienced and skilled PHP developer looking for fulltime
work in Chicago. Visit http://malaprop.org/work for resume and portfolio.


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: If you don't know what this is, it's OK to ignore it.

iD8DBQFBwS4za6PWv6+ALKoRAnLxAJ45911dum/Xns3dkYMu8DUAANRNYACfWcw/
7hSlYEoFO+lyDww/Hym3C+A=
=nlbe
-END PGP SIGNATURE-


LyX -> DOC conversion

2004-12-15 Thread Peter Harkins
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


I'm using Linux and looking to convert a LyX document to Microsoft doc
format (yes, perhaps a bit unholy) non-interactively.

It doesn't have to be especially beautiful, just work; and I don't mind
intermediate steps like PDF, PS, HTML, or ASCII that may lose formatting.
I've looked through the help, the Wiki, and tried Googling. I'd appreciate
any pointers or ideas.


- -- 
Peter Harkins - Experienced and skilled PHP developer looking for fulltime
work in Chicago. Visit http://malaprop.org/work for resume and portfolio.


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: If you don't know what this is, it's OK to ignore it.

iD8DBQFBwS4za6PWv6+ALKoRAnLxAJ45911dum/Xns3dkYMu8DUAANRNYACfWcw/
7hSlYEoFO+lyDww/Hym3C+A=
=nlbe
-END PGP SIGNATURE-


underlining

2004-10-12 Thread Peter Harkins
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

This sounds silly, but I've been through all the help files, and I can't see
a way to underline some text. Yes, I know it's a moderately tacky holdover
from typewriter days, but I need to underline a few words here and there in
a document to meet external requirements.


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: If you don't know what this is, it's OK to ignore it.

iD8DBQFBbBmua6PWv6+ALKoRAhOpAJ0a6gYKwVvNtNO8WEAqoRrt1nPrwgCdH0kE
rrt3UBPcxGM6ghFkV5XRec0=
=3qFX
-END PGP SIGNATURE-


Re: Display problem: LyX-1.3.4

2004-10-12 Thread Peter Harkins
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tue, Oct 12, 2004 at 09:46:21AM +0100, Angus Leeming wrote:
 1. You are running the Qt-frontend version of LyX. Qt look and feel 
 (text size in this case) is controlled by QControlCenter or suchlike. 
 Maybe QConfig. I forget the name, but the point is that it is 
 controlled from a single place and covers all Qt apps. LyX itself 
 controls only how text appears inside the main LyX screen.

Speaking of QT issues, I've run into a regular frustration since switching
over from the xforms interface: if I hit ALT, the menu bar is highlighted so
I can go through it with the arrow keys. Aside from the many LyX shortcuts
using ALT, I have some set up through my window manager. It happens several
times during any particular editing session that I start a shortcut and
change my mind or move the window using ALT and end up with the menu
selected when I don't want it.

Is there any way I can disable this or shove it off to an unused key?


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: If you don't know what this is, it's OK to ignore it.

iD8DBQFBbHgka6PWv6+ALKoRArA7AJ46H3qGcKgNB2+wywBwGzfk8gIujACfX2Cs
qQTxK3HPkVn5nEeYqPbgYcM=
=iIrP
-END PGP SIGNATURE-


Re: Display problem: LyX-1.3.4

2004-10-12 Thread Peter Harkins
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tue, Oct 12, 2004 at 05:50:29PM -0700, Rich Shepard wrote:
   Why not set up your key bindings in ~/.lyx/bind/my.bind You can copy
 either cua.bind or emacs.bind to my.bind and futz away to your heart's
 content.

Because it's a QT thing, not a LyX thing.

I hope you're not suggesting I remap every LyX keybinding to not use ALT,
relearn them all, remap every personal shortcut to not use ALT, relearn all
those, reprogram my window manager to not use ALT, and lastly relearn it.
Because that would be silly.


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: If you don't know what this is, it's OK to ignore it.

iD8DBQFBbILya6PWv6+ALKoRAhROAJ0bYov/OXNR/eXzNd9dmO3muyMz0wCcD631
DZpNbcIzDsRO2PLcdwKRwyQ=
=Bpg3
-END PGP SIGNATURE-


underlining

2004-10-12 Thread Peter Harkins
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

This sounds silly, but I've been through all the help files, and I can't see
a way to underline some text. Yes, I know it's a moderately tacky holdover
from typewriter days, but I need to underline a few words here and there in
a document to meet external requirements.


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: If you don't know what this is, it's OK to ignore it.

iD8DBQFBbBmua6PWv6+ALKoRAhOpAJ0a6gYKwVvNtNO8WEAqoRrt1nPrwgCdH0kE
rrt3UBPcxGM6ghFkV5XRec0=
=3qFX
-END PGP SIGNATURE-


Re: Display problem: LyX-1.3.4

2004-10-12 Thread Peter Harkins
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tue, Oct 12, 2004 at 09:46:21AM +0100, Angus Leeming wrote:
 1. You are running the Qt-frontend version of LyX. Qt look and feel 
 (text size in this case) is controlled by QControlCenter or suchlike. 
 Maybe QConfig. I forget the name, but the point is that it is 
 controlled from a single place and covers all Qt apps. LyX itself 
 controls only how text appears inside the main LyX screen.

Speaking of QT issues, I've run into a regular frustration since switching
over from the xforms interface: if I hit ALT, the menu bar is highlighted so
I can go through it with the arrow keys. Aside from the many LyX shortcuts
using ALT, I have some set up through my window manager. It happens several
times during any particular editing session that I start a shortcut and
change my mind or move the window using ALT and end up with the menu
selected when I don't want it.

Is there any way I can disable this or shove it off to an unused key?


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: If you don't know what this is, it's OK to ignore it.

iD8DBQFBbHgka6PWv6+ALKoRArA7AJ46H3qGcKgNB2+wywBwGzfk8gIujACfX2Cs
qQTxK3HPkVn5nEeYqPbgYcM=
=iIrP
-END PGP SIGNATURE-


Re: Display problem: LyX-1.3.4

2004-10-12 Thread Peter Harkins
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tue, Oct 12, 2004 at 05:50:29PM -0700, Rich Shepard wrote:
   Why not set up your key bindings in ~/.lyx/bind/my.bind You can copy
 either cua.bind or emacs.bind to my.bind and futz away to your heart's
 content.

Because it's a QT thing, not a LyX thing.

I hope you're not suggesting I remap every LyX keybinding to not use ALT,
relearn them all, remap every personal shortcut to not use ALT, relearn all
those, reprogram my window manager to not use ALT, and lastly relearn it.
Because that would be silly.


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: If you don't know what this is, it's OK to ignore it.

iD8DBQFBbILya6PWv6+ALKoRAhROAJ0bYov/OXNR/eXzNd9dmO3muyMz0wCcD631
DZpNbcIzDsRO2PLcdwKRwyQ=
=Bpg3
-END PGP SIGNATURE-


underlining

2004-10-12 Thread Peter Harkins
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

This sounds silly, but I've been through all the help files, and I can't see
a way to underline some text. Yes, I know it's a moderately tacky holdover
from typewriter days, but I need to underline a few words here and there in
a document to meet external requirements.


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: If you don't know what this is, it's OK to ignore it.

iD8DBQFBbBmua6PWv6+ALKoRAhOpAJ0a6gYKwVvNtNO8WEAqoRrt1nPrwgCdH0kE
rrt3UBPcxGM6ghFkV5XRec0=
=3qFX
-END PGP SIGNATURE-


Re: Display problem: LyX-1.3.4

2004-10-12 Thread Peter Harkins
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tue, Oct 12, 2004 at 09:46:21AM +0100, Angus Leeming wrote:
> 1. You are running the Qt-frontend version of LyX. Qt look and feel 
> (text size in this case) is controlled by QControlCenter or suchlike. 
> Maybe QConfig. I forget the name, but the point is that it is 
> controlled from a single place and covers all Qt apps. LyX itself 
> controls only how text appears inside the main LyX screen.

Speaking of QT issues, I've run into a regular frustration since switching
over from the xforms interface: if I hit ALT, the menu bar is highlighted so
I can go through it with the arrow keys. Aside from the many LyX shortcuts
using ALT, I have some set up through my window manager. It happens several
times during any particular editing session that I start a shortcut and
change my mind or move the window using ALT and end up with the menu
selected when I don't want it.

Is there any way I can disable this or shove it off to an unused key?


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: If you don't know what this is, it's OK to ignore it.

iD8DBQFBbHgka6PWv6+ALKoRArA7AJ46H3qGcKgNB2+wywBwGzfk8gIujACfX2Cs
qQTxK3HPkVn5nEeYqPbgYcM=
=iIrP
-END PGP SIGNATURE-


Re: Display problem: LyX-1.3.4

2004-10-12 Thread Peter Harkins
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tue, Oct 12, 2004 at 05:50:29PM -0700, Rich Shepard wrote:
>   Why not set up your key bindings in ~/.lyx/bind/my.bind You can copy
> either cua.bind or emacs.bind to my.bind and futz away to your heart's
> content.

Because it's a QT thing, not a LyX thing.

I hope you're not suggesting I remap every LyX keybinding to not use ALT,
relearn them all, remap every personal shortcut to not use ALT, relearn all
those, reprogram my window manager to not use ALT, and lastly relearn it.
Because that would be silly.


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: If you don't know what this is, it's OK to ignore it.

iD8DBQFBbILya6PWv6+ALKoRAhROAJ0bYov/OXNR/eXzNd9dmO3muyMz0wCcD631
DZpNbcIzDsRO2PLcdwKRwyQ=
=Bpg3
-END PGP SIGNATURE-


Re: in the subject line

2004-08-23 Thread Peter Harkins
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Mon, Aug 23, 2004 at 02:59:57PM +0100, Angus Leeming wrote:
 Paul Smith wrote:
 
  Dear All
  
  I think it would be helpful (for identifying and managing messages) to
  have the label [lyx-users] automatically inserted in the subject line
  of the messages of this list, similarly to what happens with other
  mailing lists. Do you agree that it would be useful?
 
 No. It's mindless clutter.
 
 Use the From field to filter your mail into separate folders. 

I agree with Angus that it's a bad idea to add a tag to subject lines, but I
find filtering on the To or List-Post headers to be best. Here's a snip from
my procmailrc, for procmail users.

:0
* [EMAIL PROTECTED]
/path/to/mail/lyx-users/

If you decide to filter on List-Post, the following (untested) should work.

:0
* ^List-Post: mailto:[EMAIL PROTECTED]
/path/to/mail/lyx-users/

Whether or not you happen to use procmail, the orginal poster's mail client
(Mozilla Thunderbird) can definitely filter on one of these other fields,
just look around in the documentation.


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: If you don't know what this is, just ignore it.

iD8DBQFBKkSia6PWv6+ALKoRAslkAJ0QEPaTKpwrQT+bI1nOJ/0BR8QYuQCeKcro
QIToJBCFE1n6Iw5/doVvso8=
=+jdQ
-END PGP SIGNATURE-


Re: in the subject line

2004-08-23 Thread Peter Harkins
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Mon, Aug 23, 2004 at 02:59:57PM +0100, Angus Leeming wrote:
 Paul Smith wrote:
 
  Dear All
  
  I think it would be helpful (for identifying and managing messages) to
  have the label [lyx-users] automatically inserted in the subject line
  of the messages of this list, similarly to what happens with other
  mailing lists. Do you agree that it would be useful?
 
 No. It's mindless clutter.
 
 Use the From field to filter your mail into separate folders. 

I agree with Angus that it's a bad idea to add a tag to subject lines, but I
find filtering on the To or List-Post headers to be best. Here's a snip from
my procmailrc, for procmail users.

:0
* [EMAIL PROTECTED]
/path/to/mail/lyx-users/

If you decide to filter on List-Post, the following (untested) should work.

:0
* ^List-Post: mailto:[EMAIL PROTECTED]
/path/to/mail/lyx-users/

Whether or not you happen to use procmail, the orginal poster's mail client
(Mozilla Thunderbird) can definitely filter on one of these other fields,
just look around in the documentation.


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: If you don't know what this is, just ignore it.

iD8DBQFBKkSia6PWv6+ALKoRAslkAJ0QEPaTKpwrQT+bI1nOJ/0BR8QYuQCeKcro
QIToJBCFE1n6Iw5/doVvso8=
=+jdQ
-END PGP SIGNATURE-


Re: in the subject line

2004-08-23 Thread Peter Harkins
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Mon, Aug 23, 2004 at 02:59:57PM +0100, Angus Leeming wrote:
> Paul Smith wrote:
> 
> > Dear All
> > 
> > I think it would be helpful (for identifying and managing messages) to
> > have the label "[lyx-users]" automatically inserted in the subject line
> > of the messages of this list, similarly to what happens with other
> > mailing lists. Do you agree that it would be useful?
> 
> No. It's mindless clutter.
> 
> Use the From field to filter your mail into separate folders. 

I agree with Angus that it's a bad idea to add a tag to subject lines, but I
find filtering on the To or List-Post headers to be best. Here's a snip from
my procmailrc, for procmail users.

:0
* [EMAIL PROTECTED]
/path/to/mail/lyx-users/

If you decide to filter on List-Post, the following (untested) should work.

:0
* ^List-Post: 
/path/to/mail/lyx-users/

Whether or not you happen to use procmail, the orginal poster's mail client
(Mozilla Thunderbird) can definitely filter on one of these other fields,
just look around in the documentation.


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: If you don't know what this is, just ignore it.

iD8DBQFBKkSia6PWv6+ALKoRAslkAJ0QEPaTKpwrQT+bI1nOJ/0BR8QYuQCeKcro
QIToJBCFE1n6Iw5/doVvso8=
=+jdQ
-END PGP SIGNATURE-


Re: Printing Comments environment?

2004-03-05 Thread Peter Harkins
On Fri, Mar 05, 2004 at 01:08:57PM -0800, Stefano Franchi wrote:
   I was wondering is there is way to switch  Comment paragraphs on 
   and off the formatted output. What I am trying to do is to emulate the 
 Conditional text feature of FrameMaker (a more powerful version of 
 Word's invisible text).  I looked through the documentation, FAQs, 
 etc., but could not find anything. Perhaps Comment is not the right 
 paragraph environment? Or perhaps I need an additional package? Any 
 help is greatly appreciated.

In the Document menu, choose Preamble and paste the following line:

\usepackage{comment}

And then one of the following two lines for if you want them printed or not.

\includecomment{comment}
\excludecomment{comment}

This will work for what you describe, but LyX lacks proper conditional text
support. (Yes, I know the ifthen-package workaround, that's pretty ugly.)


Re: Printing Comments environment?

2004-03-05 Thread Peter Harkins
On Fri, Mar 05, 2004 at 01:08:57PM -0800, Stefano Franchi wrote:
   I was wondering is there is way to switch  Comment paragraphs on 
   and off the formatted output. What I am trying to do is to emulate the 
 Conditional text feature of FrameMaker (a more powerful version of 
 Word's invisible text).  I looked through the documentation, FAQs, 
 etc., but could not find anything. Perhaps Comment is not the right 
 paragraph environment? Or perhaps I need an additional package? Any 
 help is greatly appreciated.

In the Document menu, choose Preamble and paste the following line:

\usepackage{comment}

And then one of the following two lines for if you want them printed or not.

\includecomment{comment}
\excludecomment{comment}

This will work for what you describe, but LyX lacks proper conditional text
support. (Yes, I know the ifthen-package workaround, that's pretty ugly.)


Re: Printing Comments environment?

2004-03-05 Thread Peter Harkins
On Fri, Mar 05, 2004 at 01:08:57PM -0800, Stefano Franchi wrote:
>   I was wondering is there is way to switch  "Comment" paragraphs on 
>   and off the formatted output. What I am trying to do is to emulate the 
> "Conditional text" feature of FrameMaker (a more powerful version of 
> Word's "invisible text").  I looked through the documentation, FAQs, 
> etc., but could not find anything. Perhaps "Comment" is not the right 
> paragraph environment? Or perhaps I need an additional package? Any 
> help is greatly appreciated.

In the Document menu, choose Preamble and paste the following line:

\usepackage{comment}

And then one of the following two lines for if you want them printed or not.

\includecomment{comment}
\excludecomment{comment}

This will work for what you describe, but LyX lacks proper conditional text
support. (Yes, I know the ifthen-package workaround, that's pretty ugly.)


Re: indexing a book

2003-12-01 Thread Peter Harkins
On Fri, Nov 28, 2003 at 07:54:12AM -0800, Rich Shepard wrote:
   Wouldn't it be useful to have a forum for scientific and technical writers
 (authors of other types of work would have equivalent fora) where the art
 and techniques of writing -- using LyX and LaTeX, of course -- could be
 shared?

There is an forum for technical writers called techwr-l. It's primarly an
e-mail list, but can also be read from/posted to from the web (and it
exports to Usenet). It has a large membership and very useful discussion.

It deals with all kinds of issues that technical writers face, from indexing
to terminology to translation. There's frequently discussion of the tools
technical writers on Windows use like Word, RoboHelp, and Framemaker (I've
certainly learned some scary bugs they have). There's also a few of us Linux
users on the list piping up occasionally, and there's been a bit of
discussion lately on replacing Office with OpenOffice.org. Though there's
not much discussion on Linux tools (beacuse they tend to have their own
dedicated lists, like this one), we're not at all unwelcome.

There are two caveats about the list. First, it's fairly high-traffic; I get
between one and five dozen e-mails from it every day, and this is an issue
for some poor mail clients. Second, because it's posted to the web and
usenet, spammers and Windows viruses will get whatever address you post to
the list with. I'm currently getting about ten Windows viruses a day (at
154k each, ack) and a a similar number of daily spams to the address I've
only used for the list.

You can find more information, the archives, and sign up at:
http://raycomm.com/techwhirl/techwhirllist/index.html


pgp0.pgp
Description: PGP signature


Re: indexing a book

2003-12-01 Thread Peter Harkins
On Fri, Nov 28, 2003 at 07:54:12AM -0800, Rich Shepard wrote:
   Wouldn't it be useful to have a forum for scientific and technical writers
 (authors of other types of work would have equivalent fora) where the art
 and techniques of writing -- using LyX and LaTeX, of course -- could be
 shared?

There is an forum for technical writers called techwr-l. It's primarly an
e-mail list, but can also be read from/posted to from the web (and it
exports to Usenet). It has a large membership and very useful discussion.

It deals with all kinds of issues that technical writers face, from indexing
to terminology to translation. There's frequently discussion of the tools
technical writers on Windows use like Word, RoboHelp, and Framemaker (I've
certainly learned some scary bugs they have). There's also a few of us Linux
users on the list piping up occasionally, and there's been a bit of
discussion lately on replacing Office with OpenOffice.org. Though there's
not much discussion on Linux tools (beacuse they tend to have their own
dedicated lists, like this one), we're not at all unwelcome.

There are two caveats about the list. First, it's fairly high-traffic; I get
between one and five dozen e-mails from it every day, and this is an issue
for some poor mail clients. Second, because it's posted to the web and
usenet, spammers and Windows viruses will get whatever address you post to
the list with. I'm currently getting about ten Windows viruses a day (at
154k each, ack) and a a similar number of daily spams to the address I've
only used for the list.

You can find more information, the archives, and sign up at:
http://raycomm.com/techwhirl/techwhirllist/index.html


pgp0.pgp
Description: PGP signature


Re: indexing a book

2003-12-01 Thread Peter Harkins
On Fri, Nov 28, 2003 at 07:54:12AM -0800, Rich Shepard wrote:
>   Wouldn't it be useful to have a forum for scientific and technical writers
> (authors of other types of work would have equivalent fora) where the art
> and techniques of writing -- using LyX and LaTeX, of course -- could be
> shared?

There is an forum for technical writers called techwr-l. It's primarly an
e-mail list, but can also be read from/posted to from the web (and it
exports to Usenet). It has a large membership and very useful discussion.

It deals with all kinds of issues that technical writers face, from indexing
to terminology to translation. There's frequently discussion of the tools
technical writers on Windows use like Word, RoboHelp, and Framemaker (I've
certainly learned some scary bugs they have). There's also a few of us Linux
users on the list piping up occasionally, and there's been a bit of
discussion lately on replacing Office with OpenOffice.org. Though there's
not much discussion on Linux tools (beacuse they tend to have their own
dedicated lists, like this one), we're not at all unwelcome.

There are two caveats about the list. First, it's fairly high-traffic; I get
between one and five dozen e-mails from it every day, and this is an issue
for some poor mail clients. Second, because it's posted to the web and
usenet, spammers and Windows viruses will get whatever address you post to
the list with. I'm currently getting about ten Windows viruses a day (at
154k each, ack) and a a similar number of daily spams to the address I've
only used for the list.

You can find more information, the archives, and sign up at:
http://raycomm.com/techwhirl/techwhirllist/index.html


pgp0.pgp
Description: PGP signature


Re: How to get a black box with white text in it?

2003-10-28 Thread Peter Harkins
On Tue, Oct 28, 2003 at 10:57:19PM +0530, Ananda Murthy R S wrote:
 I want a box filled with black and with white letters in it? How to do  
 this?

See http://www.educat.hu-berlin.de/~voss/LaTeX/color/color.phtml#frame for
how to make a black box. Select the text in it and go Layout - Character -
Color and you can turn it white.

When I've used color boxes they just show up black on DVI output, so use
PDF as you test.


Re: How to get a black box with white text in it?

2003-10-28 Thread Peter Harkins
On Tue, Oct 28, 2003 at 10:57:19PM +0530, Ananda Murthy R S wrote:
 I want a box filled with black and with white letters in it? How to do  
 this?

See http://www.educat.hu-berlin.de/~voss/LaTeX/color/color.phtml#frame for
how to make a black box. Select the text in it and go Layout - Character -
Color and you can turn it white.

When I've used color boxes they just show up black on DVI output, so use
PDF as you test.


Re: How to get a black box with white text in it?

2003-10-28 Thread Peter Harkins
On Tue, Oct 28, 2003 at 10:57:19PM +0530, Ananda Murthy R S wrote:
> I want a box filled with black and with white letters in it? How to do  
> this?

See http://www.educat.hu-berlin.de/~voss/LaTeX/color/color.phtml#frame for
how to make a black box. Select the text in it and go Layout -> Character ->
Color and you can turn it white.

When I've used color boxes they just show up black on DVI output, so use
PDF as you test.


Re: Feature request

2003-09-15 Thread Peter Harkins
On Tue, Sep 16, 2003 at 07:51:48AM +1000, Robert Thorsby wrote:
 I think there should be a number of dictionaries:
 [big snip]
 One dictionary is not enough

Your ideas are pretty interesting (and I can think of a few situations for
myself where it'd be pretty handy). This isn't quite the place for them,
though. LyX is a nice graphical program, but it works by farming out all the
specialized work to other established programs. In the case of spell
checking, it calls out to ispell or aspell. If LyX were to implement them,
it would have to take on the whole task of writing and maintaining a
spell-checker program rather than the considerably smaller task of
interfacing with them.

So the best place to bring up your revisions is on the ispell and aspell
programs (urls below). When they support the features, bring back some
information on how programs interface with them, and LyX will be set for
someone to write the code to use them.

http://aspell.sourceforge.net/
http://fmg-www.cs.ucla.edu/fmg-members/geoff/ispell.html


Re: Feature request

2003-09-15 Thread Peter Harkins
On Tue, Sep 16, 2003 at 07:51:48AM +1000, Robert Thorsby wrote:
 I think there should be a number of dictionaries:
 [big snip]
 One dictionary is not enough

Your ideas are pretty interesting (and I can think of a few situations for
myself where it'd be pretty handy). This isn't quite the place for them,
though. LyX is a nice graphical program, but it works by farming out all the
specialized work to other established programs. In the case of spell
checking, it calls out to ispell or aspell. If LyX were to implement them,
it would have to take on the whole task of writing and maintaining a
spell-checker program rather than the considerably smaller task of
interfacing with them.

So the best place to bring up your revisions is on the ispell and aspell
programs (urls below). When they support the features, bring back some
information on how programs interface with them, and LyX will be set for
someone to write the code to use them.

http://aspell.sourceforge.net/
http://fmg-www.cs.ucla.edu/fmg-members/geoff/ispell.html


Re: Feature request

2003-09-15 Thread Peter Harkins
On Tue, Sep 16, 2003 at 07:51:48AM +1000, Robert Thorsby wrote:
> I think there should be a number of dictionaries:
> [big snip]
> One dictionary is not enough

Your ideas are pretty interesting (and I can think of a few situations for
myself where it'd be pretty handy). This isn't quite the place for them,
though. LyX is a nice graphical program, but it works by farming out all the
specialized work to other established programs. In the case of spell
checking, it calls out to ispell or aspell. If LyX were to implement them,
it would have to take on the whole task of writing and maintaining a
spell-checker program rather than the considerably smaller task of
interfacing with them.

So the best place to bring up your revisions is on the ispell and aspell
programs (urls below). When they support the features, bring back some
information on how programs interface with them, and LyX will be set for
someone to write the code to use them.

http://aspell.sourceforge.net/
http://fmg-www.cs.ucla.edu/fmg-members/geoff/ispell.html


Re: grant proposal timeline/work plan

2003-08-14 Thread Peter Harkins
On Tue, Jul 08, 2003 at 11:06:57AM -0700, [EMAIL PROTECTED] wrote:
 On Tue, Jul 08, 2003 at 06:26:19PM +0100, Raphael Clifford wrote:
  I have to produce one of those timeline tables for a grant proposal. 
  It's basically a normal table except that some of the entries are 
  horizontal bars that start and end to indicate when that piece of the 
  project will begin and end.
  
  Does anyone have any ideas how I should do this?
 It's called a Gantt chart.

Related, does anyone have a method of charting software planning (or similar
dependency-oriented information) *besides* Gantt or Pert charts?

There's an example of one alternative by Edward Tufte at the link below, but
in correspondence with him I learned it was hand-made, never used, and not
completely defined.

http://www.edwardtufte.com/bboard/q-and-a-fetch-msg?msg_id=76topic_id=1topic=


pgp0.pgp
Description: PGP signature


Re: grant proposal timeline/work plan

2003-08-14 Thread Peter Harkins
On Tue, Jul 08, 2003 at 11:06:57AM -0700, [EMAIL PROTECTED] wrote:
 On Tue, Jul 08, 2003 at 06:26:19PM +0100, Raphael Clifford wrote:
  I have to produce one of those timeline tables for a grant proposal. 
  It's basically a normal table except that some of the entries are 
  horizontal bars that start and end to indicate when that piece of the 
  project will begin and end.
  
  Does anyone have any ideas how I should do this?
 It's called a Gantt chart.

Related, does anyone have a method of charting software planning (or similar
dependency-oriented information) *besides* Gantt or Pert charts?

There's an example of one alternative by Edward Tufte at the link below, but
in correspondence with him I learned it was hand-made, never used, and not
completely defined.

http://www.edwardtufte.com/bboard/q-and-a-fetch-msg?msg_id=76topic_id=1topic=


pgp0.pgp
Description: PGP signature


Re: grant proposal timeline/work plan

2003-08-14 Thread Peter Harkins
On Tue, Jul 08, 2003 at 11:06:57AM -0700, [EMAIL PROTECTED] wrote:
> On Tue, Jul 08, 2003 at 06:26:19PM +0100, Raphael Clifford wrote:
> > I have to produce one of those timeline tables for a grant proposal. 
> > It's basically a normal table except that some of the entries are 
> > horizontal bars that start and end to indicate when that piece of the 
> > project will begin and end.
> > 
> > Does anyone have any ideas how I should do this?
> It's called a "Gantt chart".

Related, does anyone have a method of charting software planning (or similar
dependency-oriented information) *besides* Gantt or Pert charts?

There's an example of one alternative by Edward Tufte at the link below, but
in correspondence with him I learned it was hand-made, never used, and not
completely defined.

http://www.edwardtufte.com/bboard/q-and-a-fetch-msg?msg_id=76_id=1=


pgp0.pgp
Description: PGP signature


Re: Is this layout possible?

2003-03-13 Thread Peter Harkins
On Thu, Mar 13, 2003 at 08:41:04PM +0100, [EMAIL PROTECTED] wrote:
 I guys, I'm still fearly new to lyx.
 I want to convert my layout of my website to lyx.
 
 Is this: http://www.rvt.dds.nl possible?
 
 I tried stuff with tables but I don't even come close.

It looks entirely possible. Poke around in the list archives and Herbet
Voss' tips and tricks page for how to do color boxes, frame boxes, and and
shadow boxes. The side-by-side view can be done with multicols, which your
LyX installation probably ships with an example of.


Re: Is this layout possible?

2003-03-13 Thread Peter Harkins
On Thu, Mar 13, 2003 at 08:41:04PM +0100, [EMAIL PROTECTED] wrote:
 I guys, I'm still fearly new to lyx.
 I want to convert my layout of my website to lyx.
 
 Is this: http://www.rvt.dds.nl possible?
 
 I tried stuff with tables but I don't even come close.

It looks entirely possible. Poke around in the list archives and Herbet
Voss' tips and tricks page for how to do color boxes, frame boxes, and and
shadow boxes. The side-by-side view can be done with multicols, which your
LyX installation probably ships with an example of.


Re: Is this layout possible?

2003-03-13 Thread Peter Harkins
On Thu, Mar 13, 2003 at 08:41:04PM +0100, [EMAIL PROTECTED] wrote:
> I guys, I'm still fearly new to lyx.
> I want to convert my layout of my website to lyx.
> 
> Is this: http://www.rvt.dds.nl possible?
> 
> I tried stuff with tables but I don't even come close.

It looks entirely possible. Poke around in the list archives and Herbet
Voss' tips and tricks page for how to do color boxes, frame boxes, and and
shadow boxes. The side-by-side view can be done with multicols, which your
LyX installation probably ships with an example of.


bottom of the page

2003-02-08 Thread Peter Harkins
I've got some text (and tabulars) I'd like to appear at the bottom
of a page. I tried putting it in a minipage and setting alignment to bottom,
but this did nothing.



Re: bottom of the page

2003-02-08 Thread Peter Harkins
On Sat, Feb 08, 2003 at 10:31:18PM +0200, robin wrote:
 Quick and dirty fix -
 
 LayoutParagraph : Space aboveVFill

Just what I was looking for, didn't know where to find it (was
looking in Insert-Specal Characters). Thanks.



bottom of the page

2003-02-08 Thread Peter Harkins
I've got some text (and tabulars) I'd like to appear at the bottom
of a page. I tried putting it in a minipage and setting alignment to bottom,
but this did nothing.



Re: bottom of the page

2003-02-08 Thread Peter Harkins
On Sat, Feb 08, 2003 at 10:31:18PM +0200, robin wrote:
 Quick and dirty fix -
 
 LayoutParagraph : Space aboveVFill

Just what I was looking for, didn't know where to find it (was
looking in Insert-Specal Characters). Thanks.



bottom of the page

2003-02-08 Thread Peter Harkins
I've got some text (and tabulars) I'd like to appear at the bottom
of a page. I tried putting it in a minipage and setting alignment to bottom,
but this did nothing.



Re: bottom of the page

2003-02-08 Thread Peter Harkins
On Sat, Feb 08, 2003 at 10:31:18PM +0200, robin wrote:
> Quick and dirty fix -
> 
> Layout>Paragraph : Space above>VFill

Just what I was looking for, didn't know where to find it (was
looking in Insert->Specal Characters). Thanks.



losing first character

2003-01-31 Thread Peter Harkins
I made an environment (gameoutput) in a new style (attached). If you
make a document with text in a gameoutput environment, the first character
is always deleted. If you make the text foo, the output is a shaded box
with oo in it. I'm at my wit's end trying to track this down, please help.

#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass[article]{WR Documentation}
Input stdclass.inc

Preamble
\usepackage{color,calc,ifthen}
\definecolor{shade}{gray}{0.8}

\providecommand{\textcolor}[2]{#2}
\renewcommand{\textcolor}[2]{%
\ifthenelse%% game commands in text
{\equal{#1}{blue}}{{\ttfamily{{#2{}%
\ifthenelse%% game commands in output
{\equal{#1}{red}}{{\textit{{#2{}%
\ifthenelse{\equal{#1}{red}\or\equal{#1}{blue}}{}{#2}%
}
EndPreamble

# %%% Note Environment
Style GameOutput
LatexType   Environment
LatexName   gameoutput
LeftMargin  MMM
RightMargin MMM
ParIndent   MM
Align   Left
AlignPossible   Left
FreeSpacing 1
PassThru0
NextNoIndent1
TopSep  0.5
BottomSep   0.5
LabelType   No_Label

Font 
Family  Typewriter
Series  Medium
SizeNormal
EndFont

  Preamble
\newenvironment{gameoutput}[1]%
{
\setlength{\fboxsep}{6pt}
\footnotesize\normalfont\ttfamily\raggedright
\setlength{\rightmargin}{\leftmargin}
\setlength{\itemsep}{-12pt}
\setlength{\parsep}{20pt}
\begin{lrbox}{\@tempboxa}
\begin{minipage}{\linewidth-2\fboxsep}
%\begin{list}{}{\item[]}
}%
{
%\end{list}
\end{minipage}%
\end{lrbox}%
\fcolorbox{black}{shade}{\usebox{\@tempboxa}}\newline\newline
}%
  EndPreamble
End



losing first character

2003-01-31 Thread Peter Harkins
I made an environment (gameoutput) in a new style (attached). If you
make a document with text in a gameoutput environment, the first character
is always deleted. If you make the text foo, the output is a shaded box
with oo in it. I'm at my wit's end trying to track this down, please help.

#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass[article]{WR Documentation}
Input stdclass.inc

Preamble
\usepackage{color,calc,ifthen}
\definecolor{shade}{gray}{0.8}

\providecommand{\textcolor}[2]{#2}
\renewcommand{\textcolor}[2]{%
\ifthenelse%% game commands in text
{\equal{#1}{blue}}{{\ttfamily{{#2{}%
\ifthenelse%% game commands in output
{\equal{#1}{red}}{{\textit{{#2{}%
\ifthenelse{\equal{#1}{red}\or\equal{#1}{blue}}{}{#2}%
}
EndPreamble

# %%% Note Environment
Style GameOutput
LatexType   Environment
LatexName   gameoutput
LeftMargin  MMM
RightMargin MMM
ParIndent   MM
Align   Left
AlignPossible   Left
FreeSpacing 1
PassThru0
NextNoIndent1
TopSep  0.5
BottomSep   0.5
LabelType   No_Label

Font 
Family  Typewriter
Series  Medium
SizeNormal
EndFont

  Preamble
\newenvironment{gameoutput}[1]%
{
\setlength{\fboxsep}{6pt}
\footnotesize\normalfont\ttfamily\raggedright
\setlength{\rightmargin}{\leftmargin}
\setlength{\itemsep}{-12pt}
\setlength{\parsep}{20pt}
\begin{lrbox}{\@tempboxa}
\begin{minipage}{\linewidth-2\fboxsep}
%\begin{list}{}{\item[]}
}%
{
%\end{list}
\end{minipage}%
\end{lrbox}%
\fcolorbox{black}{shade}{\usebox{\@tempboxa}}\newline\newline
}%
  EndPreamble
End



losing first character

2003-01-31 Thread Peter Harkins
I made an environment (gameoutput) in a new style (attached). If you
make a document with text in a gameoutput environment, the first character
is always deleted. If you make the text "foo", the output is a shaded box
with "oo" in it. I'm at my wit's end trying to track this down, please help.

#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass[article]{WR Documentation}
Input stdclass.inc

Preamble
\usepackage{color,calc,ifthen}
\definecolor{shade}{gray}{0.8}

\providecommand{\textcolor}[2]{#2}
\renewcommand{\textcolor}[2]{%
\ifthenelse%% game commands in text
{\equal{#1}{blue}}{{\ttfamily{{#2{}%
\ifthenelse%% game commands in output
{\equal{#1}{red}}{{\textit{{#2{}%
\ifthenelse{\equal{#1}{red}\or\equal{#1}{blue}}{}{#2}%
}
EndPreamble

# %%% Note Environment
Style GameOutput
LatexType   Environment
LatexName   gameoutput
LeftMargin  MMM
RightMargin MMM
ParIndent   MM
Align   Left
AlignPossible   Left
FreeSpacing 1
PassThru0
NextNoIndent1
TopSep  0.5
BottomSep   0.5
LabelType   No_Label

Font 
Family  Typewriter
Series  Medium
SizeNormal
EndFont

  Preamble
\newenvironment{gameoutput}[1]%
{
\setlength{\fboxsep}{6pt}
\footnotesize\normalfont\ttfamily\raggedright
\setlength{\rightmargin}{\leftmargin}
\setlength{\itemsep}{-12pt}
\setlength{\parsep}{20pt}
\begin{lrbox}{\@tempboxa}
\begin{minipage}{\linewidth-2\fboxsep}
%\begin{list}{}{\item[]}
}%
{
%\end{list}
\end{minipage}%
\end{lrbox}%
\fcolorbox{black}{shade}{\usebox{\@tempboxa}}\newline\newline
}%
  EndPreamble
End



Re: making new templates

2003-01-30 Thread Peter Harkins
On Thu, Jan 30, 2003 at 05:43:58PM -0700, Andrew Diederich wrote:
 I'm in the US Army and I'd like to write documents in LyX.  This won't be
 a big surprise to you, but the army is a bit particular about the
 formatting of her documents.  There's a whole AR (Army Regulation) on it,
 http://www.usapa.army.mil/pdffiles/r25_50.pdf.  It's Preparing and
 Managing Correspondence, AR 25-20.

I've glanced through it. There's examples starting on p17. I'd
suggest you grab the text from one and try to format it in LyX, asking
specific questions as you go. The first would be how to replicate those odd
line numbers, as they look to be the most difficult (to me, anyways, perhaps
they're a solved problem to others). The numberings, indentation, etc all
looks pretty straightforward. Best of luck.



Re: making new templates

2003-01-30 Thread Peter Harkins
On Thu, Jan 30, 2003 at 05:43:58PM -0700, Andrew Diederich wrote:
 I'm in the US Army and I'd like to write documents in LyX.  This won't be
 a big surprise to you, but the army is a bit particular about the
 formatting of her documents.  There's a whole AR (Army Regulation) on it,
 http://www.usapa.army.mil/pdffiles/r25_50.pdf.  It's Preparing and
 Managing Correspondence, AR 25-20.

I've glanced through it. There's examples starting on p17. I'd
suggest you grab the text from one and try to format it in LyX, asking
specific questions as you go. The first would be how to replicate those odd
line numbers, as they look to be the most difficult (to me, anyways, perhaps
they're a solved problem to others). The numberings, indentation, etc all
looks pretty straightforward. Best of luck.



Re: making new templates

2003-01-30 Thread Peter Harkins
On Thu, Jan 30, 2003 at 05:43:58PM -0700, Andrew Diederich wrote:
> I'm in the US Army and I'd like to write documents in LyX.  This won't be
> a big surprise to you, but the army is a bit particular about the
> formatting of her documents.  There's a whole AR (Army Regulation) on it,
> http://www.usapa.army.mil/pdffiles/r25_50.pdf.  It's "Preparing and
> Managing Correspondence", AR 25-20.

I've glanced through it. There's examples starting on p17. I'd
suggest you grab the text from one and try to format it in LyX, asking
specific questions as you go. The first would be how to replicate those odd
line numbers, as they look to be the most difficult (to me, anyways, perhaps
they're a solved problem to others). The numberings, indentation, etc all
looks pretty straightforward. Best of luck.



Re: fcolorbox environment

2003-01-26 Thread Peter Harkins
On Sat, Jan 25, 2003 at 10:18:11PM -0800, Peter Harkins wrote:
   I've got an ERT for defining a shaded box with a line around it. I'm
 trying to make my own environment for it, but I'm just not getting the
 Preamble right.

Well, after spending a few hours reading 'The Not So Short Guide to
LaTex' and 'A Simplified Introduction to LaTex' and pulling some of Herbert
Voss' pages out of Google's catch (a few transatlantic links have been
spotty, so I can't get there directly) I've got this, which works quite
nicely:

  Preamble
\usepackage(color,calc}
\definecolor{shade}{gray}{0.8}
\newenvironment{myshadedbox}[1][]%
{
%\setlength{\fboxsep}{-\fboxrule}
\footnotesize\normalfont\ttfamily\raggedright
\setlength{\rightmargin}{\leftmargin}
\setlength{\itemsep}{-12pt}
\setlength{\parsep}{20pt}
\begin{lrbox}{\@tempboxa}%
\begin{minipage}{\linewidth-2\fboxsep}
}%
{
\end{minipage}%
\end{lrbox}%
\fcolorbox{black}{shade}{\usebox{\@tempboxa}}\newline\newline
}%
  EndPreamble

Just figured I'd post it in case anyone else was curious how to do it.



Re: fcolorbox environment

2003-01-26 Thread Peter Harkins
On Sat, Jan 25, 2003 at 10:18:11PM -0800, Peter Harkins wrote:
   I've got an ERT for defining a shaded box with a line around it. I'm
 trying to make my own environment for it, but I'm just not getting the
 Preamble right.

Well, after spending a few hours reading 'The Not So Short Guide to
LaTex' and 'A Simplified Introduction to LaTex' and pulling some of Herbert
Voss' pages out of Google's catch (a few transatlantic links have been
spotty, so I can't get there directly) I've got this, which works quite
nicely:

  Preamble
\usepackage(color,calc}
\definecolor{shade}{gray}{0.8}
\newenvironment{myshadedbox}[1][]%
{
%\setlength{\fboxsep}{-\fboxrule}
\footnotesize\normalfont\ttfamily\raggedright
\setlength{\rightmargin}{\leftmargin}
\setlength{\itemsep}{-12pt}
\setlength{\parsep}{20pt}
\begin{lrbox}{\@tempboxa}%
\begin{minipage}{\linewidth-2\fboxsep}
}%
{
\end{minipage}%
\end{lrbox}%
\fcolorbox{black}{shade}{\usebox{\@tempboxa}}\newline\newline
}%
  EndPreamble

Just figured I'd post it in case anyone else was curious how to do it.



Re: fcolorbox environment

2003-01-26 Thread Peter Harkins
On Sat, Jan 25, 2003 at 10:18:11PM -0800, Peter Harkins wrote:
>   I've got an ERT for defining a shaded box with a line around it. I'm
> trying to make my own environment for it, but I'm just not getting the
> Preamble right.

Well, after spending a few hours reading 'The Not So Short Guide to
LaTex' and 'A Simplified Introduction to LaTex' and pulling some of Herbert
Voss' pages out of Google's catch (a few transatlantic links have been
spotty, so I can't get there directly) I've got this, which works quite
nicely:

  Preamble
\usepackage(color,calc}
\definecolor{shade}{gray}{0.8}
\newenvironment{myshadedbox}[1][]%
{
%\setlength{\fboxsep}{-\fboxrule}
\footnotesize\normalfont\ttfamily\raggedright
\setlength{\rightmargin}{\leftmargin}
\setlength{\itemsep}{-12pt}
\setlength{\parsep}{20pt}
\begin{lrbox}{\@tempboxa}%
\begin{minipage}{\linewidth-2\fboxsep}
}%
{
\end{minipage}%
\end{lrbox}%
\fcolorbox{black}{shade}{\usebox{\@tempboxa}}\newline\newline
}%
  EndPreamble

Just figured I'd post it in case anyone else was curious how to do it.



fcolorbox environment

2003-01-25 Thread Peter Harkins
I've got an ERT for defining a shaded box with a line around it. I'm
trying to make my own environment for it, but I'm just not getting the
Preamble right.

In ERT at the start of a paragraph I have (shade is a color defined
elsewhere):
\fcolorbox{black}{black}{shade}{\parbox{\columnwidth - 8pt}{

and at the end:
}}

I've tried using \begin and \end, but just can't seem to get it
right. Can someone point out the right way to do it?



fcolorbox environment

2003-01-25 Thread Peter Harkins
I've got an ERT for defining a shaded box with a line around it. I'm
trying to make my own environment for it, but I'm just not getting the
Preamble right.

In ERT at the start of a paragraph I have (shade is a color defined
elsewhere):
\fcolorbox{black}{black}{shade}{\parbox{\columnwidth - 8pt}{

and at the end:
}}

I've tried using \begin and \end, but just can't seem to get it
right. Can someone point out the right way to do it?



fcolorbox environment

2003-01-25 Thread Peter Harkins
I've got an ERT for defining a shaded box with a line around it. I'm
trying to make my own environment for it, but I'm just not getting the
Preamble right.

In ERT at the start of a paragraph I have (shade is a color defined
elsewhere):
\fcolorbox{black}{black}{shade}{\parbox{\columnwidth - 8pt}{

and at the end:
}}

I've tried using \begin and \end, but just can't seem to get it
right. Can someone point out the right way to do it?



Re: Lost the cv...

2003-01-23 Thread Peter Harkins
On Thu, Jan 23, 2003 at 12:51:50PM +0100, Michael Jaeger wrote:
 On Thursday, 23. January 2003 12:26, Dekel Tsur wrote:
 | What is the output of 'kpsewhich cv.cls', 'locate cv.cls', and
 | 'dpkg -S cv.cls' ?
 
 kpsewhich cv.cls: Nothing
 locate cvs.cls: locate: /var/cache/locate/locatedb: No such file or directory
 dpkg -S cv.cls: dpkg: *cv.cls* not found.

Take a stab at the following command:

find / -name cvs.cls -print

(Note that this command take as much as several minutes, depending
on how many files you have.)



Re: Lost the cv...

2003-01-23 Thread Peter Harkins
On Thu, Jan 23, 2003 at 12:51:50PM +0100, Michael Jaeger wrote:
 On Thursday, 23. January 2003 12:26, Dekel Tsur wrote:
 | What is the output of 'kpsewhich cv.cls', 'locate cv.cls', and
 | 'dpkg -S cv.cls' ?
 
 kpsewhich cv.cls: Nothing
 locate cvs.cls: locate: /var/cache/locate/locatedb: No such file or directory
 dpkg -S cv.cls: dpkg: *cv.cls* not found.

Take a stab at the following command:

find / -name cvs.cls -print

(Note that this command take as much as several minutes, depending
on how many files you have.)



Re: Lost the cv...

2003-01-23 Thread Peter Harkins
On Thu, Jan 23, 2003 at 12:51:50PM +0100, Michael Jaeger wrote:
> On Thursday, 23. January 2003 12:26, Dekel Tsur wrote:
> | What is the output of 'kpsewhich cv.cls', 'locate cv.cls', and
> | 'dpkg -S cv.cls' ?
> 
> kpsewhich cv.cls: Nothing
> locate cvs.cls: locate: /var/cache/locate/locatedb: No such file or directory
> dpkg -S cv.cls: dpkg: *cv.cls* not found.

Take a stab at the following command:

find / -name "cvs.cls" -print

(Note that this command take as much as several minutes, depending
on how many files you have.)



indenting

2003-01-13 Thread Peter Harkins
I have a paragraph I want to tweak the indentations on, but the
'more' and 'extra' buttons the Tips page (below) mentions don't exist. Is
this broken in 1.2.1? Is there an ERT workaround?



Re: indenting

2003-01-13 Thread Peter Harkins
On Tue, Jan 14, 2003 at 06:55:50AM +0100, Andre Poenitz wrote:
 On Mon, Jan 13, 2003 at 09:46:23PM -0800, Peter Harkins wrote:
  I have a paragraph I want to tweak the indentations on, but the
  'more' and 'extra' buttons the Tips page (below) mentions don't exist. Is
  this broken in 1.2.1? Is there an ERT workaround?
 
 \parindent=12cm
 
 [Or maybe \setlength\parindent{12cm} works too]

This doesn't do what I want: it only indents the first line instead
of the whole paragraph, and I also don't see what to put at the end to
restore the previous value, so all later paragraphs are messed up.



Re: indenting

2003-01-13 Thread Peter Harkins
On Tue, Jan 14, 2003 at 07:16:30AM +0100, Herbert Voss wrote:
  This doesn't do what I want: it only indents the first line instead
  of the whole paragraph, and I also don't see what to put at the end to
  restore the previous value, so all later paragraphs are messed up.
 
 choose one of the LaTeX environemnts from:
 
 http://www.educat.hu-berlin.de/~voss/lyx/paragraph/margins.phtml

Using the 'myQuote' example worked almost perfectly. I'm getting a
break above and below it that I don't want, though. Is this because it uses
the list environment, which has this? How can I get around this?



indenting

2003-01-13 Thread Peter Harkins
I have a paragraph I want to tweak the indentations on, but the
'more' and 'extra' buttons the Tips page (below) mentions don't exist. Is
this broken in 1.2.1? Is there an ERT workaround?



Re: indenting

2003-01-13 Thread Peter Harkins
On Tue, Jan 14, 2003 at 06:55:50AM +0100, Andre Poenitz wrote:
 On Mon, Jan 13, 2003 at 09:46:23PM -0800, Peter Harkins wrote:
  I have a paragraph I want to tweak the indentations on, but the
  'more' and 'extra' buttons the Tips page (below) mentions don't exist. Is
  this broken in 1.2.1? Is there an ERT workaround?
 
 \parindent=12cm
 
 [Or maybe \setlength\parindent{12cm} works too]

This doesn't do what I want: it only indents the first line instead
of the whole paragraph, and I also don't see what to put at the end to
restore the previous value, so all later paragraphs are messed up.



Re: indenting

2003-01-13 Thread Peter Harkins
On Tue, Jan 14, 2003 at 07:16:30AM +0100, Herbert Voss wrote:
  This doesn't do what I want: it only indents the first line instead
  of the whole paragraph, and I also don't see what to put at the end to
  restore the previous value, so all later paragraphs are messed up.
 
 choose one of the LaTeX environemnts from:
 
 http://www.educat.hu-berlin.de/~voss/lyx/paragraph/margins.phtml

Using the 'myQuote' example worked almost perfectly. I'm getting a
break above and below it that I don't want, though. Is this because it uses
the list environment, which has this? How can I get around this?



indenting

2003-01-13 Thread Peter Harkins
I have a paragraph I want to tweak the indentations on, but the
'more' and 'extra' buttons the Tips page (below) mentions don't exist. Is
this broken in 1.2.1? Is there an ERT workaround?



Re: indenting

2003-01-13 Thread Peter Harkins
On Tue, Jan 14, 2003 at 06:55:50AM +0100, Andre Poenitz wrote:
> On Mon, Jan 13, 2003 at 09:46:23PM -0800, Peter Harkins wrote:
> > I have a paragraph I want to tweak the indentations on, but the
> > 'more' and 'extra' buttons the Tips page (below) mentions don't exist. Is
> > this broken in 1.2.1? Is there an ERT workaround?
> 
> \parindent=12cm
> 
> [Or maybe \setlength\parindent{12cm} works too]

This doesn't do what I want: it only indents the first line instead
of the whole paragraph, and I also don't see what to put at the end to
restore the previous value, so all later paragraphs are messed up.



Re: indenting

2003-01-13 Thread Peter Harkins
On Tue, Jan 14, 2003 at 07:16:30AM +0100, Herbert Voss wrote:
> > This doesn't do what I want: it only indents the first line instead
> > of the whole paragraph, and I also don't see what to put at the end to
> > restore the previous value, so all later paragraphs are messed up.
> 
> choose one of the LaTeX environemnts from:
> 
> http://www.educat.hu-berlin.de/~voss/lyx/paragraph/margins.phtml

Using the 'myQuote' example worked almost perfectly. I'm getting a
break above and below it that I don't want, though. Is this because it uses
the list environment, which has this? How can I get around this?



paragraph indenting and penalties

2002-12-18 Thread Peter Harkins
I've some paragraphs I'd like to indent a bit from the left margin.
I checked Herbert Voss' tips page and found the following, which makes it
seem there's an easy (not-ERT) way of doing this. Unfortunately, the 'more'
(or 'extra') button it describes simply doesn't exist. I'm using LyX 1.2.1.

http://www.educat.hu-berlin.de/~voss/lyx/paragraph/margins.phtml#par

Also, I've some text that's just barely spilling onto a second page.
I've read the Tips page on penalties, but can't see which penalty applies to
this.



paragraph indenting and penalties

2002-12-18 Thread Peter Harkins
I've some paragraphs I'd like to indent a bit from the left margin.
I checked Herbert Voss' tips page and found the following, which makes it
seem there's an easy (not-ERT) way of doing this. Unfortunately, the 'more'
(or 'extra') button it describes simply doesn't exist. I'm using LyX 1.2.1.

http://www.educat.hu-berlin.de/~voss/lyx/paragraph/margins.phtml#par

Also, I've some text that's just barely spilling onto a second page.
I've read the Tips page on penalties, but can't see which penalty applies to
this.



paragraph indenting and penalties

2002-12-18 Thread Peter Harkins
I've some paragraphs I'd like to indent a bit from the left margin.
I checked Herbert Voss' tips page and found the following, which makes it
seem there's an easy (not-ERT) way of doing this. Unfortunately, the 'more'
(or 'extra') button it describes simply doesn't exist. I'm using LyX 1.2.1.

http://www.educat.hu-berlin.de/~voss/lyx/paragraph/margins.phtml#par

Also, I've some text that's just barely spilling onto a second page.
I've read the Tips page on penalties, but can't see which penalty applies to
this.



keyboard shortcut for document menu

2002-12-05 Thread Peter Harkins
I'm working with several smallish documents that cross-reference
each other and are included in one large document. I tend to jump around
between the documents as I think of things to add or references to make, but
I'm hampered by needing to take my hands off the keyboard to do so.

I've looked in the Customization help file, but I can't see a
shortcut for switching between documents, nor can I see a way to define a
keybinding for this. What function name would I use? I looked in lyx's
share/ui/default.ui and there aren't any function names listed. 



keyboard shortcut for document menu

2002-12-05 Thread Peter Harkins
I'm working with several smallish documents that cross-reference
each other and are included in one large document. I tend to jump around
between the documents as I think of things to add or references to make, but
I'm hampered by needing to take my hands off the keyboard to do so.

I've looked in the Customization help file, but I can't see a
shortcut for switching between documents, nor can I see a way to define a
keybinding for this. What function name would I use? I looked in lyx's
share/ui/default.ui and there aren't any function names listed. 



keyboard shortcut for document menu

2002-12-05 Thread Peter Harkins
I'm working with several smallish documents that cross-reference
each other and are included in one large document. I tend to jump around
between the documents as I think of things to add or references to make, but
I'm hampered by needing to take my hands off the keyboard to do so.

I've looked in the Customization help file, but I can't see a
shortcut for switching between documents, nor can I see a way to define a
keybinding for this. What function name would I use? I looked in lyx's
share/ui/default.ui and there aren't any function names listed. 



Re: keeping words together

2002-11-18 Thread Peter Harkins
On Mon, Nov 18, 2002 at 11:39:58PM -0500, Nirmal Govind wrote:
 Hi.. have a really simple question ... if I'm trying to get all parts of
 a name, say First M. Last to stay together on the same line, then how
 do I do it in LyX? Basically, I'm trying to avoid getting First at the
 end of one line and then M. Last at the beginning of the next line. I
 vaguely remember something of this sort exists in Latex but is there a
 way in LyX to do this?

Instead of typing a normal space, hold ctrl and hit space for a
protected blank. It won't be broken across lines. (Hey, finally a question I
can answer.)



Re: keeping words together

2002-11-18 Thread Peter Harkins
On Mon, Nov 18, 2002 at 11:39:58PM -0500, Nirmal Govind wrote:
 Hi.. have a really simple question ... if I'm trying to get all parts of
 a name, say First M. Last to stay together on the same line, then how
 do I do it in LyX? Basically, I'm trying to avoid getting First at the
 end of one line and then M. Last at the beginning of the next line. I
 vaguely remember something of this sort exists in Latex but is there a
 way in LyX to do this?

Instead of typing a normal space, hold ctrl and hit space for a
protected blank. It won't be broken across lines. (Hey, finally a question I
can answer.)



Re: keeping words together

2002-11-18 Thread Peter Harkins
On Mon, Nov 18, 2002 at 11:39:58PM -0500, Nirmal Govind wrote:
> Hi.. have a really simple question ... if I'm trying to get all parts of
> a name, say "First M. Last" to stay together on the same line, then how
> do I do it in LyX? Basically, I'm trying to avoid getting "First" at the
> end of one line and then "M. Last" at the beginning of the next line. I
> vaguely remember something of this sort exists in Latex but is there a
> way in LyX to do this?

Instead of typing a normal space, hold ctrl and hit space for a
protected blank. It won't be broken across lines. (Hey, finally a question I
can answer.)



typewriter font

2002-10-22 Thread Peter Harkins
This sounds very silly, but I'm having trouble with the typewriter
font. I'm writing some docs which occasionally direct the user to do
something (ls -l) and having trouble marking it as a command. I select text,
click the Font button in the toolbar, and nothing happens. I can go to
Layout - Character - Font to set it, but that's really inconvenient and
I'm guessing this Font button is supposed to actually do something. Any
suggestions?



msg22266/pgp0.pgp
Description: PGP signature


typewriter font

2002-10-22 Thread Peter Harkins
This sounds very silly, but I'm having trouble with the typewriter
font. I'm writing some docs which occasionally direct the user to do
something (ls -l) and having trouble marking it as a command. I select text,
click the Font button in the toolbar, and nothing happens. I can go to
Layout - Character - Font to set it, but that's really inconvenient and
I'm guessing this Font button is supposed to actually do something. Any
suggestions?



msg22266/pgp0.pgp
Description: PGP signature


typewriter font

2002-10-22 Thread Peter Harkins
This sounds very silly, but I'm having trouble with the typewriter
font. I'm writing some docs which occasionally direct the user to do
something (ls -l) and having trouble marking it as a command. I select text,
click the Font button in the toolbar, and nothing happens. I can go to
Layout -> Character -> Font to set it, but that's really inconvenient and
I'm guessing this Font button is supposed to actually do something. Any
suggestions?



msg22266/pgp0.pgp
Description: PGP signature


Re: Renumbering sections

2002-09-21 Thread Peter Harkins

On Sat, Sep 21, 2002 at 08:02:13PM +0300, Dekel Tsur wrote:
 On Fri, Sep 20, 2002 at 10:03:40PM -0700, Peter Harkins wrote:
  I've got a document that I'm renumbering a little - instead of
  Section 1, etc. I've got Title I, Title II. I've put the following in
  the preamble to get it to print right, but it messes up the table of
  contents. I'm guessing I need to change something about the spacing on the
  Table of Contents, but I have no idea what to add to the preamble to do so.
 Use the tocloft package.

Ah, this put me on the right track. I didn't need to use tocloft,
but one of the Tips pages on it pointed me to:

\renewcommand{\l@section}{\dottedtocline{1}{0em}{3.5em}}
\renewcommand{\l@subsection}{\dottedtocline{1}{1.5em}{4em}}

After some tinkering with the numbers I got it working.




Re: Algorithm in Lyx 1.2.0

2002-09-21 Thread Peter Harkins

On Sat, Sep 21, 2002 at 08:00:10PM +0300, Dekel Tsur wrote:
  the corresponding float menu in LyX, the algorithm numerotation is global 
  (1,2,3, ...) rather chapter specific (1.1,1.2,2.1,).
  Any ideas?
 
 Add to the preamble:
 
 \renewcommand{\thealgorithm}{\thechapter.\arabic{algorithm}}
 \@addtoreset{algorithm}{chapter}

I was able to use this as follows to fix a problem I was having, but
is there a way to make it reset to -1 so my sections will be numbered from 0
up?

\@addtoreset{section}{part}




\partname

2002-09-21 Thread Peter Harkins


In my preamble, I've put 
\renewcommand \thepart {Title \@Roman\cpart}
to get the parts to print Title I, etc in the TOC. But then in the
body, I always see Part Title I, etc. It looks like \partname is exactly
what I need to set, but adding the following doesn't work even though every
doc I can find says it should. Any ideas?

\renewcommand{\partname}{Title}




Re: Renumbering sections

2002-09-21 Thread Peter Harkins

On Sat, Sep 21, 2002 at 08:02:13PM +0300, Dekel Tsur wrote:
 On Fri, Sep 20, 2002 at 10:03:40PM -0700, Peter Harkins wrote:
  I've got a document that I'm renumbering a little - instead of
  Section 1, etc. I've got Title I, Title II. I've put the following in
  the preamble to get it to print right, but it messes up the table of
  contents. I'm guessing I need to change something about the spacing on the
  Table of Contents, but I have no idea what to add to the preamble to do so.
 Use the tocloft package.

Ah, this put me on the right track. I didn't need to use tocloft,
but one of the Tips pages on it pointed me to:

\renewcommand{\l@section}{\dottedtocline{1}{0em}{3.5em}}
\renewcommand{\l@subsection}{\dottedtocline{1}{1.5em}{4em}}

After some tinkering with the numbers I got it working.




Re: Algorithm in Lyx 1.2.0

2002-09-21 Thread Peter Harkins

On Sat, Sep 21, 2002 at 08:00:10PM +0300, Dekel Tsur wrote:
  the corresponding float menu in LyX, the algorithm numerotation is global 
  (1,2,3, ...) rather chapter specific (1.1,1.2,2.1,).
  Any ideas?
 
 Add to the preamble:
 
 \renewcommand{\thealgorithm}{\thechapter.\arabic{algorithm}}
 \@addtoreset{algorithm}{chapter}

I was able to use this as follows to fix a problem I was having, but
is there a way to make it reset to -1 so my sections will be numbered from 0
up?

\@addtoreset{section}{part}




\partname

2002-09-21 Thread Peter Harkins


In my preamble, I've put 
\renewcommand \thepart {Title \@Roman\cpart}
to get the parts to print Title I, etc in the TOC. But then in the
body, I always see Part Title I, etc. It looks like \partname is exactly
what I need to set, but adding the following doesn't work even though every
doc I can find says it should. Any ideas?

\renewcommand{\partname}{Title}




Re: Renumbering sections

2002-09-21 Thread Peter Harkins

On Sat, Sep 21, 2002 at 08:02:13PM +0300, Dekel Tsur wrote:
> On Fri, Sep 20, 2002 at 10:03:40PM -0700, Peter Harkins wrote:
> > I've got a document that I'm renumbering a little - instead of
> > "Section 1", etc. I've got "Title I", "Title II". I've put the following in
> > the preamble to get it to print right, but it messes up the table of
> > contents. I'm guessing I need to change something about the spacing on the
> > Table of Contents, but I have no idea what to add to the preamble to do so.
> Use the tocloft package.

Ah, this put me on the right track. I didn't need to use tocloft,
but one of the Tips pages on it pointed me to:

\renewcommand{\l@section}{\@dottedtocline{1}{0em}{3.5em}}
\renewcommand{\l@subsection}{\@dottedtocline{1}{1.5em}{4em}}

After some tinkering with the numbers I got it working.




Re: Algorithm in Lyx 1.2.0

2002-09-21 Thread Peter Harkins

On Sat, Sep 21, 2002 at 08:00:10PM +0300, Dekel Tsur wrote:
> > the corresponding float menu in LyX, the algorithm numerotation is global 
> > (1,2,3, ...) rather chapter specific (1.1,1.2,2.1,).
> > Any ideas?
> 
> Add to the preamble:
> 
> \renewcommand{\thealgorithm}{\thechapter.\arabic{algorithm}}
> \@addtoreset{algorithm}{chapter}

I was able to use this as follows to fix a problem I was having, but
is there a way to make it reset to -1 so my sections will be numbered from 0
up?

\@addtoreset{section}{part}




\partname

2002-09-21 Thread Peter Harkins


In my preamble, I've put 
\renewcommand \thepart {Title \@Roman\c@part}
to get the parts to print "Title I", etc in the TOC. But then in the
body, I always see "Part Title I", etc. It looks like \partname is exactly
what I need to set, but adding the following doesn't work even though every
doc I can find says it should. Any ideas?

\renewcommand{\partname}{Title}




Renumbering sections

2002-09-20 Thread Peter Harkins

I've got a document that I'm renumbering a little - instead of
Section 1, etc. I've got Title I, Title II. I've put the following in
the preamble to get it to print right, but it messes up the table of
contents. I'm guessing I need to change something about the spacing on the
Table of Contents, but I have no idea what to add to the preamble to do so.

\renewcommand \thesection {TITLE \@Roman\csection}
\renewcommand\thesubsection   {\@Roman\csection\@arabic\csubsection}

I've one other question that's probably pretty easy: how do I get
subsections to start counting from 0 instead of 1? I wouldn't want to do
either of these, but I'm reformatting to an existing document.

I've attached an example of the problem.



#LyX 1.2 created this file. For more info see http://www.lyx.org/
\lyxformat 220
\textclass article
\begin_preamble
\usepackage{ae,aecompl}
\renewcommand \thesection {TITLE \@Roman\csection}
\renewcommand\thesubsection   {\@Roman\csection.\@arabic\csubsection}
\end_preamble
\language english
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize default
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Standard


\begin_inset LatexCommand \tableofcontents{}

\end_inset 


\layout Section

first
\layout Section

second
\layout Subsection

second - first
\layout Subsubsection

stuff
\layout Subsubsection

nonsense
\layout Subsection

second - second
\layout Section

third
\the_end



Renumbering sections

2002-09-20 Thread Peter Harkins

I've got a document that I'm renumbering a little - instead of
Section 1, etc. I've got Title I, Title II. I've put the following in
the preamble to get it to print right, but it messes up the table of
contents. I'm guessing I need to change something about the spacing on the
Table of Contents, but I have no idea what to add to the preamble to do so.

\renewcommand \thesection {TITLE \@Roman\csection}
\renewcommand\thesubsection   {\@Roman\csection\@arabic\csubsection}

I've one other question that's probably pretty easy: how do I get
subsections to start counting from 0 instead of 1? I wouldn't want to do
either of these, but I'm reformatting to an existing document.

I've attached an example of the problem.



#LyX 1.2 created this file. For more info see http://www.lyx.org/
\lyxformat 220
\textclass article
\begin_preamble
\usepackage{ae,aecompl}
\renewcommand \thesection {TITLE \@Roman\csection}
\renewcommand\thesubsection   {\@Roman\csection.\@arabic\csubsection}
\end_preamble
\language english
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize default
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Standard


\begin_inset LatexCommand \tableofcontents{}

\end_inset 


\layout Section

first
\layout Section

second
\layout Subsection

second - first
\layout Subsubsection

stuff
\layout Subsubsection

nonsense
\layout Subsection

second - second
\layout Section

third
\the_end



Renumbering sections

2002-09-20 Thread Peter Harkins

I've got a document that I'm renumbering a little - instead of
"Section 1", etc. I've got "Title I", "Title II". I've put the following in
the preamble to get it to print right, but it messes up the table of
contents. I'm guessing I need to change something about the spacing on the
Table of Contents, but I have no idea what to add to the preamble to do so.

\renewcommand \thesection {TITLE \@Roman\c@section}
\renewcommand\thesubsection   {\@Roman\c@section\@arabic\c@subsection}

I've one other question that's probably pretty easy: how do I get
subsections to start counting from 0 instead of 1? I wouldn't want to do
either of these, but I'm reformatting to an existing document.

I've attached an example of the problem.



#LyX 1.2 created this file. For more info see http://www.lyx.org/
\lyxformat 220
\textclass article
\begin_preamble
\usepackage{ae,aecompl}
\renewcommand \thesection {TITLE \@Roman\c@section}
\renewcommand\thesubsection   {\@Roman\c@section.\@arabic\c@subsection}
\end_preamble
\language english
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize default
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Standard


\begin_inset LatexCommand \tableofcontents{}

\end_inset 


\layout Section

first
\layout Section

second
\layout Subsection

second - first
\layout Subsubsection

stuff
\layout Subsubsection

nonsense
\layout Subsection

second - second
\layout Section

third
\the_end



resuming enumerate

2002-09-19 Thread Peter Harkins

I've got an Enumerate that has some text in the middle, hwo do I get
it to pick up from where I left off? I'd the like output to look like:

1. Foo
2. Bar

subsection*
standard text
3. baz
4. quux




resuming enumerate

2002-09-19 Thread Peter Harkins

I've got an Enumerate that has some text in the middle, hwo do I get
it to pick up from where I left off? I'd the like output to look like:

1. Foo
2. Bar

subsection*
standard text
3. baz
4. quux




resuming enumerate

2002-09-19 Thread Peter Harkins

I've got an Enumerate that has some text in the middle, hwo do I get
it to pick up from where I left off? I'd the like output to look like:

1. Foo
2. Bar

subsection*
standard text
3. baz
4. quux




milestones

2002-05-02 Thread Peter Harkins

I'm writing the specification of a piece of software and want to be
to include information on the various milestones. As an example of a
section:

Milestone 1: The 'add users' screen will contain a blank for user name and a
button labeled 'add'.

Milestone 2: A radio-button control will be added with options 'user' or
'administrator'.

Milestone 3: The 'add users' screen will have a text area for notes on a
user.

What I want to be able to do is output documents that contain
information on all the milestones or just some. I could output a 'Milestone
1' document that would only have information on it, or a 'Milestone 3'
document that would contain 1, 2 and 3.
To give you an idea of my skill level, I'm not scared of ERT, but I
am pretty much a newbie when it comes to LyX (I've only used it for a few
papers and a FAQ).
I browsed the LyX Tips page but nothing leaped out at me as matching
what I'm trying to do. If I missed something please point it out to me.




Re: milestones

2002-05-02 Thread Peter Harkins

On Fri, May 03, 2002 at 07:15:36AM +0200, Herbert Voss wrote:
 switching between two optional texts
 
 http://www.lyx.org/help/IfThen/ifthen.php

Thanks, I can adapt this to do just what I'm looking to do.




milestones

2002-05-02 Thread Peter Harkins

I'm writing the specification of a piece of software and want to be
to include information on the various milestones. As an example of a
section:

Milestone 1: The 'add users' screen will contain a blank for user name and a
button labeled 'add'.

Milestone 2: A radio-button control will be added with options 'user' or
'administrator'.

Milestone 3: The 'add users' screen will have a text area for notes on a
user.

What I want to be able to do is output documents that contain
information on all the milestones or just some. I could output a 'Milestone
1' document that would only have information on it, or a 'Milestone 3'
document that would contain 1, 2 and 3.
To give you an idea of my skill level, I'm not scared of ERT, but I
am pretty much a newbie when it comes to LyX (I've only used it for a few
papers and a FAQ).
I browsed the LyX Tips page but nothing leaped out at me as matching
what I'm trying to do. If I missed something please point it out to me.




Re: milestones

2002-05-02 Thread Peter Harkins

On Fri, May 03, 2002 at 07:15:36AM +0200, Herbert Voss wrote:
 switching between two optional texts
 
 http://www.lyx.org/help/IfThen/ifthen.php

Thanks, I can adapt this to do just what I'm looking to do.




milestones

2002-05-02 Thread Peter Harkins

I'm writing the specification of a piece of software and want to be
to include information on the various milestones. As an example of a
section:

Milestone 1: The 'add users' screen will contain a blank for user name and a
button labeled 'add'.

Milestone 2: A radio-button control will be added with options 'user' or
'administrator'.

Milestone 3: The 'add users' screen will have a text area for notes on a
user.

What I want to be able to do is output documents that contain
information on all the milestones or just some. I could output a 'Milestone
1' document that would only have information on it, or a 'Milestone 3'
document that would contain 1, 2 and 3.
To give you an idea of my skill level, I'm not scared of ERT, but I
am pretty much a newbie when it comes to LyX (I've only used it for a few
papers and a FAQ).
I browsed the LyX Tips page but nothing leaped out at me as matching
what I'm trying to do. If I missed something please point it out to me.




Re: milestones

2002-05-02 Thread Peter Harkins

On Fri, May 03, 2002 at 07:15:36AM +0200, Herbert Voss wrote:
> switching between two optional texts
> 
> http://www.lyx.org/help/IfThen/ifthen.php

Thanks, I can adapt this to do just what I'm looking to do.




Re: misconfiguration?

2002-02-04 Thread Peter Harkins

On Mon, Feb 04, 2002 at 12:13:06AM -0800, Peter Harkins wrote:
   I installed LyX and got it running - I can open files and edit them,
 but the 'View - DVI' menu option doesn't work. I'm guessing it's just some
 misconfiguration, so I'd appreciate a pointer to what to fix. Here's LyX's
 error message:
 
 Converting from  latex to dvi
 Running  
 sh: ./newfile1.tex: Permission denied
 Executing command: none -paper us 'newfile1.dvi'
 sh: none: command not found

Summarizing back to list with answer: teTex wasn't fully installed.
After a little tinkering, 'make install' finished properly and it worked
great. Thanks to Jan-Peter Koopmann for the incredibly quick help.



  1   2   >