Re: how to set the table column width

2010-05-14 Thread [Ricardo Rodriguez] eBioTIC.
Hi!

zhangdavid37 wrote:
 Hi,
 I would like to change the default column width, because it is too wide.
 Can anyone tell me how to make this? The attachment is an example.
 Thanks.

Have you tried to right-click a cell/column, choose Settings and to play
with Table Settings?

Even though I am brand new for this list, I guess some information about
your environment will be always welcome! At least: LyX release number,
OS and LaTeX installation. Thanks!

HTH,

Ricardo

-- 
Ricardo Rodríguez
CTO
eBiotic.
Life Sciences, Data Modeling and Information Management Systems



Re: including a Sweave/R code chunk in a LyX table cell

2010-05-14 Thread [Ricardo Rodriguez] eBioTIC.

Hi!

I've been trying to learn a bit more about LyX, LaTeX, R and Sweave to 
better understand this issue :-)


Jean-Marc LASGOUTTES wrote:


It is expected (by me at least) that either:

1/ the installation of R installs Sweave.sty at the right place (was
MaxTeX already installed when you installed R?)
  


Yes, MacTex was installed when I installed R. Please, what does it mean? 
Must I get a different result if MacTex was not installed before R 
installation?

or

2/ Sweave is set up in such a way that it puts the full path to the
Sweave.sty file in the \usepackage command.
  
The point is that there is no Sweave.sty in the system. Neither before R 
installation, nor before after it.


As far as I understand, and read, it is expected that R copy Sweave.sty 
on my system although I don't know yet if I must also expect that the 
texmf tree is modified with the same installation or the user must 
customize the installation on his/her own.


Actually, with the new LyX 2.0 releases, I don't know if Sweave.sty is 
required by LyX at all!


Sorry, I am still a bit puzzle with this issue!

Thanks!

Ricardo



--
Ricardo Rodríguez
CTO
eBiotic.
Life Sciences, Data Modeling and Information Management Systems



Re: how to set the table column width

2010-05-14 Thread [Ricardo Rodriguez] eBioTIC.
Hi David!

zhangdavid37 wrote:
 Hi,
 I use LyX 1.65, Windows XP SP3. I did do that by right-clicking the
 table/cell and set the column width.
 But it does not seem to work even I set the width to 2 em.
 Regards

Please, reply to the list as well! I'm brand new to LyX and I am sure
you will be get more and better answers by keeping the thread on the list.

I usually use absolute units as cm, px or in and they work without a
glitch. % does also fine. No experience with em though! Same LyX
release, but running on Mac OS X 10.5.8.

Greetings!

Ricardo

-- 
Ricardo Rodríguez
CTO
eBiotic.
Life Sciences, Data Modeling and Information Management Systems



Re: including a Sweave/R code chunk in a LyX table cell

2010-05-14 Thread [Ricardo Rodriguez] eBioTIC.

Hi!

Rob Oakes wrote:

This is clearly either a problem in the way that R installs itself, or
the way that LaTeX installs itself.  I'm not actually sure which though
and I don't know where to file the bug report.
  


It Sweave.sty is required by LaTeX only when used with R, who must we 
take care of the correct installation of the style file? Sorry, I don't 
know LaTeX as for being able to answer this question!

When I just checked, I was not able to find a sweave package for R,
nor was I able to find one for TeXLive 2009 (don't know about MikTeX).
But I've experienced a similar problem on Mac OS X and on Linux, which
provides some evidence that it's not getting packaged.
  


As far as I can find, Sweave is included with R at least as of R 2.4.1 
In R, ...


help(Sweave, package=utils)

Read this from http://tinyurl.com/346jrnu ...

Unfortunately, Sweave hard-codes the absolute path to its style files 
in its LaTeX output. The path to the style files depends on where R was 
installed on the local system. This means that while an Sweave document 
may be portable, the LaTeX file it produces is not. If you receive a 
LaTeX document produced by Sweave on someone else's computer, you will 
need to edit the path inside the \usepackage statement so that it points 
to the Sweave style file location on your computer. If you want to give 
your LaTeX file to someone who does not have R, you can delete the 
reference to Sweave and paste in the contents of the Sweave.sty file. 

Because out of the box support for Sweave is one of LyX 2's newest (and
IMHO, killer) features, it might make sense to include a copy of
Sweave.sty with the installation script and have it installed at the
time of LyX configuration.  LyX already does this with a few specialty
document classes anyway (broadway, hollywood).

  
As Sweave.sty file will be only required by people not running R, I 
think it must be maintained by LyX and/or LaTeX bundles.


But I'm just a newbie here! Please, any insight will be extremely 
welcome! Thanks!


Greetings,

Ricardo

--
Ricardo Rodríguez
CTO
eBiotic.
Life Sciences, Data Modeling and Information Management Systems



LyX / pdflatex / paper size

2010-05-14 Thread Torquil Macdonald Sørensen

Hi!

When choosing Page Layout - Paper format = a5 in LyX, is it to expected that 
the paper size is still a4? This is the case when I use the pdfpatex , but not 
with ps or dvi output.


Including \usepackage{geometry} in the preamble fixes the problem.

I'm using Debian Sid/TexLive and LyX 1.6.5.

This seems to have been reported here:
http://www.lyx.org/trac/ticket/5247

but it is marked as fixed in 1.5.5?

Best regards
Torquil Sørensen


How

2010-05-14 Thread outspoken

Using LyX 1.6.5 on Windows with MikTex
Koma-Script package : Date : 2010-02-22
Using Koma - Report

I found a few options in the KOMA Script guide, how do I enable them in LyX?
[Need detailed help, am a newbie]

Example:
I want to enable Koma Script option : 
titlepage=true so that The chapter title starts on a new page

-- 
View this message in context: 
http://lyx.475766.n2.nabble.com/How-tp5049928p5049928.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Re: Re: Word import

2010-05-14 Thread stephen's mailinglist account

 If you're already 250 pages into it then yes, you want to look for
 conversions.  At worst you could install OpenOffice, convert the Word
 document, then convert to Lyx (I think you may have to convert to LaTeX,
 then from there to LyX).  Between the fundamental differences between Word
 and LaTeX, and the fact that you've been WYSIWYGing you are guaranteed to
 end up with a messed-up document, which you will have to fix.

 But those last 50 pages will still be easier to end up with in LyX if you
 convert now.


I have found conversions painful, they come into LyX OK but do not
necessarily compile well.  There are often problem characters - smart
quotes etc



-- 
Stephen


Re: how to set the table column width

2010-05-14 Thread Uwe Stöhr

Am 14.05.2010 03:51, schrieb zhangdavid37:


I would like to change the default column width, because it is too wide.
Can anyone tell me how to make this? The attachment is an example.


You don't need to change the column width because the width is automatically the width of the widest 
column entry. You need to adjust the inter-column space. Haw this can be doe and much more about 
table fine-tuning is given in chapter 2 of the EmbeddedObjects manual that you find in LyX's Help menu.


regards Uwe


Re: LyX / pdflatex / paper size

2010-05-14 Thread Uwe Stöhr

Am 14.05.2010 09:50, schrieb Torquil Macdonald Sørensen:


When choosing Page Layout - Paper format = a5 in LyX, is it to
expected that the paper size is still a4? This is the case when I use
the pdfpatex , but not with ps or dvi output.

Including \usepackage{geometry} in the preamble fixes the problem.


Thanks for the report. I'll think that this can be fixed for the next LyX 
release.


This seems to have been reported here:
http://www.lyx.org/trac/ticket/5247
but it is marked as fixed in 1.5.5?


Bug 5247 was indeed never fixed - I reopened it.

regards Uwe


Print Chapter Names on Seperate Page - Koma Script Report

2010-05-14 Thread outspoken

I am using LyX 1.6.5 on Windows (MikTek).
Using Koma-Script Report
I want my Chapter Names to be on a fresh page altogether. [Centered
vertically and horizontally]
Am a LyX / TeX Newbie!
i.e.

|---new page-|
| |
| |
| |
| |
|  1.Introduction|
| |
| |
| |
| |
|---New PAge|

1.1 What is XYZ
Some text here


How do I do it!
-- 
View this message in context: 
http://lyx.475766.n2.nabble.com/Print-Chapter-Names-on-Seperate-Page-Koma-Script-Report-tp5050293p5050293.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Re: How

2010-05-14 Thread Liviu Andronic
On 5/14/10, outspoken colablizz...@gmail.com wrote:

  Using LyX 1.6.5 on Windows with MikTex
  Koma-Script package : Date : 2010-02-22
  Using Koma - Report

  I found a few options in the KOMA Script guide, how do I enable them in LyX?
  [Need detailed help, am a newbie]

  Example:
  I want to enable Koma Script option :
  titlepage=true so that The chapter title starts on a new page

Perhaps Documetn  Settings  Class  Class options?
Liviu


Re: Re: Word import

2010-05-14 Thread stefano franchi
On Fri, May 14, 2010 at 3:40 AM, stephen's mailinglist account 
stephen4mailingli...@googlemail.com wrote:

 
  If you're already 250 pages into it then yes, you want to look for
  conversions.  At worst you could install OpenOffice, convert the Word
  document, then convert to Lyx (I think you may have to convert to LaTeX,
  then from there to LyX).  Between the fundamental differences between
 Word
  and LaTeX, and the fact that you've been WYSIWYGing you are guaranteed to
  end up with a messed-up document, which you will have to fix.
 
  But those last 50 pages will still be easier to end up with in LyX if you
  convert now.
 

 I have found conversions painful, they come into LyX OK but do not
 necessarily compile well.  There are often problem characters - smart
 quotes etc



My usual route (I have to do it quite often, unfortunately) is the
following:

1. Save from word to rtf

2. Convert rtf to Latex with rtf2latex

3. Open the latex file in a text editor and clean it up. I usually have to
fix single and double quotes, countless  \tab commands at the beginning of
paragraphs,  and other miscellaneous attempts by  rtf2latex to replicate
word formatting in latex.

4. Convert biblio to bibtex, if necessary, with endnote -- save to bibtex
format -- jabref

5. Import file into lyx, set formatting options (class, etc).

6. Reinsert all bib references manually from converted bibtex database.

It is a rather long and tedious  process, unfortunately. If you will really
need the to convert your file to Lyx/Latex eventually, I would start as soon
as possible. The more you wait, the longer and more tedious the process will
become. Given that you already have  150 or so pages in Word, it may not be
worth it. Is the document going to a publisher? In that case, for instance,
you may be better off with Word. On the other hand, if you are sure it will
have to be Latex at the end, by all means start right away. And plan for a
few  days of boring work.


Cheers,

Stefano



 --
 Stephen




-- 
__
Stefano Franchi
Department of Philosophy   Ph:   (1) 979 862-2211
Texas AM University Fax: (1) 979 845-0458
College Station, Texas, USA


Re: How

2010-05-14 Thread Marcelo Acuña
 I found a few options in the KOMA Script guide, how do I
 enable them in LyX?
 [Need detailed help, am a newbie]
 
 Example:
 I want to enable Koma Script option : 
 titlepage=true so that The chapter title starts on a new
 page

 You can add options with Document  Configuration and put the option in Option

Marcelo





Print Chapter Names on Seperate Page - Koma Script Report

2010-05-14 Thread Cola Blizzard GMail

I am using LyX 1.6.5 on Windows (MikTek).
Using Koma-Script Report
I want my Chapter Names to be on a fresh page altogether. [Centered 
vertically and horizontally]

Am a LyX / TeX Newbie!
i.e.

|---new page-|
| |
| |
| |
| |
|  1.Introduction|
| |
| |
| |
| |
|---New PAge|

1.1 What is XYZ
Some text here


How do I do it!


Automatically Importing Word Documents Into LyX

2010-05-14 Thread Rob Oakes
Dear LyX-Users,

Everytime this particular topic comes up, I find myself exploring
different options for automatically importing MS Word into LyX.  This
latest time round, I managed to come up with an automated system that
meets most of my needs.

A description with links and instructions can be found at:

http://blog.oak-tree.us/index.php/2010/05/14/msword-lyx-import

I mostly use this to import rough drafts that I receive from others, and
it does an admirable job of maintaining doc structure (including
images).  Unfortunately, it doesn't play as nicely with tables.  But
then, I tend to generate all of my tables in R anyway or in
Excel/OpenOffice and export as separate LaTeX files.  (Trying to create
tables in LyX or LaTeX by hand is just painful.)

If anyone else tries it, I'd be interested in your feedback and
thoughts.  I've thought about expanding the base python library to also
support Word to DocBook conversions in an effort to see if that results
in a more faithful conversion.

Cheers,

Rob



Re: Automatically Importing Word Documents Into LyX

2010-05-14 Thread stephen's mailinglist account
On 14 May 2010 19:11, Rob Oakes lyx-de...@oak-tree.us wrote:
 Dear LyX-Users,

 Everytime this particular topic comes up, I find myself exploring
 different options for automatically importing MS Word into LyX.  This
 latest time round, I managed to come up with an automated system that
 meets most of my needs.

 A description with links and instructions can be found at:

 http://blog.oak-tree.us/index.php/2010/05/14/msword-lyx-import

 I mostly use this to import rough drafts that I receive from others, and
 it does an admirable job of maintaining doc structure (including
 images).  Unfortunately, it doesn't play as nicely with tables.  But
 then, I tend to generate all of my tables in R anyway or in
 Excel/OpenOffice and export as separate LaTeX files.  (Trying to create
 tables in LyX or LaTeX by hand is just painful.)

 If anyone else tries it, I'd be interested in your feedback and
 thoughts.  I've thought about expanding the base python library to also
 support Word to DocBook conversions in an effort to see if that results
 in a more faithful conversion.

 Cheers,

 Rob


This is an improvement over my usual experience. I've tried a few
documents - some work pretty much out of the box.  Some need a little
fiddling to get them to compile.  One or two choke at the import stage
-- however this only seems to happen for files names with spaces in
them, and is fixed by changing filename

-- 
Stephen


Re: Automatically Importing Word Documents Into LyX

2010-05-14 Thread *Meredith *
Thank you Rob-- my document has 15 plus images so this will do me well! I'll
try it this week and get back to you on how it works for me. Many thanks

On Sat, May 15, 2010 at 6:11 AM, Rob Oakes lyx-de...@oak-tree.us wrote:

 Dear LyX-Users,

 Everytime this particular topic comes up, I find myself exploring
 different options for automatically importing MS Word into LyX.  This
 latest time round, I managed to come up with an automated system that
 meets most of my needs.

 A description with links and instructions can be found at:

 http://blog.oak-tree.us/index.php/2010/05/14/msword-lyx-import

 I mostly use this to import rough drafts that I receive from others, and
 it does an admirable job of maintaining doc structure (including
 images).  Unfortunately, it doesn't play as nicely with tables.  But
 then, I tend to generate all of my tables in R anyway or in
 Excel/OpenOffice and export as separate LaTeX files.  (Trying to create
 tables in LyX or LaTeX by hand is just painful.)

 If anyone else tries it, I'd be interested in your feedback and
 thoughts.  I've thought about expanding the base python library to also
 support Word to DocBook conversions in an effort to see if that results
 in a more faithful conversion.

 Cheers,

 Rob




incompatibility between lyx, hyperref and tth

2010-05-14 Thread travis+ml-lyx
I wrote to Ian Hutchinson (author of tth):

 Anyway, I wanted to alert you to a potential bug.  When I use lyx's
 hyperef feature to make a hyperlink (as opposed to embedding a URL,
 where the text is the same as the href target), it generates a .tex
 file that contains a line like this:

 \usepackage[unicode=true, pdfusetitle,
 bookmarks=true,bookmarksnumbered=false,bookmarksopen=false,
 breaklinks=false,pdfborder={0 0 1},backref=false,colorlinks=false]
 {hyperref}

 When I run it through tth, it creates a title tag of hyperref.

He responds:

Hello. Thanks for this message. The problem is with the way Lyx is laying
out its \usepackage command. TtH knows nothing about \usepackage. It treats
it as an unknown command.

http://hutchinson.belmont.ma.us/tth/manual/sec9.html#commands+unknown93
explains that such commands ought to be laid out _without_ whitespace
between themselves and their arguments. Because Lyx is inserting whitespace
before {hyperref}, TtH scans it as if it is the start of the text.

The only way to fix this properly is for Lyx to avoid adding that extra
whitespace between ] and {. No space or newline is allowed. You could fix
it by hand in the .tex file yourself; but that's a bit annoying.

Typical results appear at top of this page:

http://www.subspacefield.org/~travis/web_generator/
-- 
A Weapon of Mass Construction
My emails do not have attachments; it's a digital signature that your mail
program doesn't understand. | http://www.subspacefield.org/~travis/ 
If you are a spammer, please email j...@subspacefield.org to get blacklisted.


pgpodldZNhEzV.pgp
Description: PGP signature


Re: how to set the table column width

2010-05-14 Thread [Ricardo Rodriguez] eBioTIC.
Hi!

zhangdavid37 wrote:
 Hi,
 I would like to change the default column width, because it is too wide.
 Can anyone tell me how to make this? The attachment is an example.
 Thanks.

Have you tried to right-click a cell/column, choose Settings and to play
with Table Settings?

Even though I am brand new for this list, I guess some information about
your environment will be always welcome! At least: LyX release number,
OS and LaTeX installation. Thanks!

HTH,

Ricardo

-- 
Ricardo Rodríguez
CTO
eBiotic.
Life Sciences, Data Modeling and Information Management Systems



Re: including a Sweave/R code chunk in a LyX table cell

2010-05-14 Thread [Ricardo Rodriguez] eBioTIC.

Hi!

I've been trying to learn a bit more about LyX, LaTeX, R and Sweave to 
better understand this issue :-)


Jean-Marc LASGOUTTES wrote:


It is expected (by me at least) that either:

1/ the installation of R installs Sweave.sty at the right place (was
MaxTeX already installed when you installed R?)
  


Yes, MacTex was installed when I installed R. Please, what does it mean? 
Must I get a different result if MacTex was not installed before R 
installation?

or

2/ Sweave is set up in such a way that it puts the full path to the
Sweave.sty file in the \usepackage command.
  
The point is that there is no Sweave.sty in the system. Neither before R 
installation, nor before after it.


As far as I understand, and read, it is expected that R copy Sweave.sty 
on my system although I don't know yet if I must also expect that the 
texmf tree is modified with the same installation or the user must 
customize the installation on his/her own.


Actually, with the new LyX 2.0 releases, I don't know if Sweave.sty is 
required by LyX at all!


Sorry, I am still a bit puzzle with this issue!

Thanks!

Ricardo



--
Ricardo Rodríguez
CTO
eBiotic.
Life Sciences, Data Modeling and Information Management Systems



Re: how to set the table column width

2010-05-14 Thread [Ricardo Rodriguez] eBioTIC.
Hi David!

zhangdavid37 wrote:
 Hi,
 I use LyX 1.65, Windows XP SP3. I did do that by right-clicking the
 table/cell and set the column width.
 But it does not seem to work even I set the width to 2 em.
 Regards

Please, reply to the list as well! I'm brand new to LyX and I am sure
you will be get more and better answers by keeping the thread on the list.

I usually use absolute units as cm, px or in and they work without a
glitch. % does also fine. No experience with em though! Same LyX
release, but running on Mac OS X 10.5.8.

Greetings!

Ricardo

-- 
Ricardo Rodríguez
CTO
eBiotic.
Life Sciences, Data Modeling and Information Management Systems



Re: including a Sweave/R code chunk in a LyX table cell

2010-05-14 Thread [Ricardo Rodriguez] eBioTIC.

Hi!

Rob Oakes wrote:

This is clearly either a problem in the way that R installs itself, or
the way that LaTeX installs itself.  I'm not actually sure which though
and I don't know where to file the bug report.
  


It Sweave.sty is required by LaTeX only when used with R, who must we 
take care of the correct installation of the style file? Sorry, I don't 
know LaTeX as for being able to answer this question!

When I just checked, I was not able to find a sweave package for R,
nor was I able to find one for TeXLive 2009 (don't know about MikTeX).
But I've experienced a similar problem on Mac OS X and on Linux, which
provides some evidence that it's not getting packaged.
  


As far as I can find, Sweave is included with R at least as of R 2.4.1 
In R, ...


help(Sweave, package=utils)

Read this from http://tinyurl.com/346jrnu ...

Unfortunately, Sweave hard-codes the absolute path to its style files 
in its LaTeX output. The path to the style files depends on where R was 
installed on the local system. This means that while an Sweave document 
may be portable, the LaTeX file it produces is not. If you receive a 
LaTeX document produced by Sweave on someone else's computer, you will 
need to edit the path inside the \usepackage statement so that it points 
to the Sweave style file location on your computer. If you want to give 
your LaTeX file to someone who does not have R, you can delete the 
reference to Sweave and paste in the contents of the Sweave.sty file. 

Because out of the box support for Sweave is one of LyX 2's newest (and
IMHO, killer) features, it might make sense to include a copy of
Sweave.sty with the installation script and have it installed at the
time of LyX configuration.  LyX already does this with a few specialty
document classes anyway (broadway, hollywood).

  
As Sweave.sty file will be only required by people not running R, I 
think it must be maintained by LyX and/or LaTeX bundles.


But I'm just a newbie here! Please, any insight will be extremely 
welcome! Thanks!


Greetings,

Ricardo

--
Ricardo Rodríguez
CTO
eBiotic.
Life Sciences, Data Modeling and Information Management Systems



LyX / pdflatex / paper size

2010-05-14 Thread Torquil Macdonald Sørensen

Hi!

When choosing Page Layout - Paper format = a5 in LyX, is it to expected that 
the paper size is still a4? This is the case when I use the pdfpatex , but not 
with ps or dvi output.


Including \usepackage{geometry} in the preamble fixes the problem.

I'm using Debian Sid/TexLive and LyX 1.6.5.

This seems to have been reported here:
http://www.lyx.org/trac/ticket/5247

but it is marked as fixed in 1.5.5?

Best regards
Torquil Sørensen


How

2010-05-14 Thread outspoken

Using LyX 1.6.5 on Windows with MikTex
Koma-Script package : Date : 2010-02-22
Using Koma - Report

I found a few options in the KOMA Script guide, how do I enable them in LyX?
[Need detailed help, am a newbie]

Example:
I want to enable Koma Script option : 
titlepage=true so that The chapter title starts on a new page

-- 
View this message in context: 
http://lyx.475766.n2.nabble.com/How-tp5049928p5049928.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Re: Re: Word import

2010-05-14 Thread stephen's mailinglist account

 If you're already 250 pages into it then yes, you want to look for
 conversions.  At worst you could install OpenOffice, convert the Word
 document, then convert to Lyx (I think you may have to convert to LaTeX,
 then from there to LyX).  Between the fundamental differences between Word
 and LaTeX, and the fact that you've been WYSIWYGing you are guaranteed to
 end up with a messed-up document, which you will have to fix.

 But those last 50 pages will still be easier to end up with in LyX if you
 convert now.


I have found conversions painful, they come into LyX OK but do not
necessarily compile well.  There are often problem characters - smart
quotes etc



-- 
Stephen


Re: how to set the table column width

2010-05-14 Thread Uwe Stöhr

Am 14.05.2010 03:51, schrieb zhangdavid37:


I would like to change the default column width, because it is too wide.
Can anyone tell me how to make this? The attachment is an example.


You don't need to change the column width because the width is automatically the width of the widest 
column entry. You need to adjust the inter-column space. Haw this can be doe and much more about 
table fine-tuning is given in chapter 2 of the EmbeddedObjects manual that you find in LyX's Help menu.


regards Uwe


Re: LyX / pdflatex / paper size

2010-05-14 Thread Uwe Stöhr

Am 14.05.2010 09:50, schrieb Torquil Macdonald Sørensen:


When choosing Page Layout - Paper format = a5 in LyX, is it to
expected that the paper size is still a4? This is the case when I use
the pdfpatex , but not with ps or dvi output.

Including \usepackage{geometry} in the preamble fixes the problem.


Thanks for the report. I'll think that this can be fixed for the next LyX 
release.


This seems to have been reported here:
http://www.lyx.org/trac/ticket/5247
but it is marked as fixed in 1.5.5?


Bug 5247 was indeed never fixed - I reopened it.

regards Uwe


Print Chapter Names on Seperate Page - Koma Script Report

2010-05-14 Thread outspoken

I am using LyX 1.6.5 on Windows (MikTek).
Using Koma-Script Report
I want my Chapter Names to be on a fresh page altogether. [Centered
vertically and horizontally]
Am a LyX / TeX Newbie!
i.e.

|---new page-|
| |
| |
| |
| |
|  1.Introduction|
| |
| |
| |
| |
|---New PAge|

1.1 What is XYZ
Some text here


How do I do it!
-- 
View this message in context: 
http://lyx.475766.n2.nabble.com/Print-Chapter-Names-on-Seperate-Page-Koma-Script-Report-tp5050293p5050293.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Re: How

2010-05-14 Thread Liviu Andronic
On 5/14/10, outspoken colablizz...@gmail.com wrote:

  Using LyX 1.6.5 on Windows with MikTex
  Koma-Script package : Date : 2010-02-22
  Using Koma - Report

  I found a few options in the KOMA Script guide, how do I enable them in LyX?
  [Need detailed help, am a newbie]

  Example:
  I want to enable Koma Script option :
  titlepage=true so that The chapter title starts on a new page

Perhaps Documetn  Settings  Class  Class options?
Liviu


Re: Re: Word import

2010-05-14 Thread stefano franchi
On Fri, May 14, 2010 at 3:40 AM, stephen's mailinglist account 
stephen4mailingli...@googlemail.com wrote:

 
  If you're already 250 pages into it then yes, you want to look for
  conversions.  At worst you could install OpenOffice, convert the Word
  document, then convert to Lyx (I think you may have to convert to LaTeX,
  then from there to LyX).  Between the fundamental differences between
 Word
  and LaTeX, and the fact that you've been WYSIWYGing you are guaranteed to
  end up with a messed-up document, which you will have to fix.
 
  But those last 50 pages will still be easier to end up with in LyX if you
  convert now.
 

 I have found conversions painful, they come into LyX OK but do not
 necessarily compile well.  There are often problem characters - smart
 quotes etc



My usual route (I have to do it quite often, unfortunately) is the
following:

1. Save from word to rtf

2. Convert rtf to Latex with rtf2latex

3. Open the latex file in a text editor and clean it up. I usually have to
fix single and double quotes, countless  \tab commands at the beginning of
paragraphs,  and other miscellaneous attempts by  rtf2latex to replicate
word formatting in latex.

4. Convert biblio to bibtex, if necessary, with endnote -- save to bibtex
format -- jabref

5. Import file into lyx, set formatting options (class, etc).

6. Reinsert all bib references manually from converted bibtex database.

It is a rather long and tedious  process, unfortunately. If you will really
need the to convert your file to Lyx/Latex eventually, I would start as soon
as possible. The more you wait, the longer and more tedious the process will
become. Given that you already have  150 or so pages in Word, it may not be
worth it. Is the document going to a publisher? In that case, for instance,
you may be better off with Word. On the other hand, if you are sure it will
have to be Latex at the end, by all means start right away. And plan for a
few  days of boring work.


Cheers,

Stefano



 --
 Stephen




-- 
__
Stefano Franchi
Department of Philosophy   Ph:   (1) 979 862-2211
Texas AM University Fax: (1) 979 845-0458
College Station, Texas, USA


Re: How

2010-05-14 Thread Marcelo Acuña
 I found a few options in the KOMA Script guide, how do I
 enable them in LyX?
 [Need detailed help, am a newbie]
 
 Example:
 I want to enable Koma Script option : 
 titlepage=true so that The chapter title starts on a new
 page

 You can add options with Document  Configuration and put the option in Option

Marcelo





Print Chapter Names on Seperate Page - Koma Script Report

2010-05-14 Thread Cola Blizzard GMail

I am using LyX 1.6.5 on Windows (MikTek).
Using Koma-Script Report
I want my Chapter Names to be on a fresh page altogether. [Centered 
vertically and horizontally]

Am a LyX / TeX Newbie!
i.e.

|---new page-|
| |
| |
| |
| |
|  1.Introduction|
| |
| |
| |
| |
|---New PAge|

1.1 What is XYZ
Some text here


How do I do it!


Automatically Importing Word Documents Into LyX

2010-05-14 Thread Rob Oakes
Dear LyX-Users,

Everytime this particular topic comes up, I find myself exploring
different options for automatically importing MS Word into LyX.  This
latest time round, I managed to come up with an automated system that
meets most of my needs.

A description with links and instructions can be found at:

http://blog.oak-tree.us/index.php/2010/05/14/msword-lyx-import

I mostly use this to import rough drafts that I receive from others, and
it does an admirable job of maintaining doc structure (including
images).  Unfortunately, it doesn't play as nicely with tables.  But
then, I tend to generate all of my tables in R anyway or in
Excel/OpenOffice and export as separate LaTeX files.  (Trying to create
tables in LyX or LaTeX by hand is just painful.)

If anyone else tries it, I'd be interested in your feedback and
thoughts.  I've thought about expanding the base python library to also
support Word to DocBook conversions in an effort to see if that results
in a more faithful conversion.

Cheers,

Rob



Re: Automatically Importing Word Documents Into LyX

2010-05-14 Thread stephen's mailinglist account
On 14 May 2010 19:11, Rob Oakes lyx-de...@oak-tree.us wrote:
 Dear LyX-Users,

 Everytime this particular topic comes up, I find myself exploring
 different options for automatically importing MS Word into LyX.  This
 latest time round, I managed to come up with an automated system that
 meets most of my needs.

 A description with links and instructions can be found at:

 http://blog.oak-tree.us/index.php/2010/05/14/msword-lyx-import

 I mostly use this to import rough drafts that I receive from others, and
 it does an admirable job of maintaining doc structure (including
 images).  Unfortunately, it doesn't play as nicely with tables.  But
 then, I tend to generate all of my tables in R anyway or in
 Excel/OpenOffice and export as separate LaTeX files.  (Trying to create
 tables in LyX or LaTeX by hand is just painful.)

 If anyone else tries it, I'd be interested in your feedback and
 thoughts.  I've thought about expanding the base python library to also
 support Word to DocBook conversions in an effort to see if that results
 in a more faithful conversion.

 Cheers,

 Rob


This is an improvement over my usual experience. I've tried a few
documents - some work pretty much out of the box.  Some need a little
fiddling to get them to compile.  One or two choke at the import stage
-- however this only seems to happen for files names with spaces in
them, and is fixed by changing filename

-- 
Stephen


Re: Automatically Importing Word Documents Into LyX

2010-05-14 Thread *Meredith *
Thank you Rob-- my document has 15 plus images so this will do me well! I'll
try it this week and get back to you on how it works for me. Many thanks

On Sat, May 15, 2010 at 6:11 AM, Rob Oakes lyx-de...@oak-tree.us wrote:

 Dear LyX-Users,

 Everytime this particular topic comes up, I find myself exploring
 different options for automatically importing MS Word into LyX.  This
 latest time round, I managed to come up with an automated system that
 meets most of my needs.

 A description with links and instructions can be found at:

 http://blog.oak-tree.us/index.php/2010/05/14/msword-lyx-import

 I mostly use this to import rough drafts that I receive from others, and
 it does an admirable job of maintaining doc structure (including
 images).  Unfortunately, it doesn't play as nicely with tables.  But
 then, I tend to generate all of my tables in R anyway or in
 Excel/OpenOffice and export as separate LaTeX files.  (Trying to create
 tables in LyX or LaTeX by hand is just painful.)

 If anyone else tries it, I'd be interested in your feedback and
 thoughts.  I've thought about expanding the base python library to also
 support Word to DocBook conversions in an effort to see if that results
 in a more faithful conversion.

 Cheers,

 Rob




incompatibility between lyx, hyperref and tth

2010-05-14 Thread travis+ml-lyx
I wrote to Ian Hutchinson (author of tth):

 Anyway, I wanted to alert you to a potential bug.  When I use lyx's
 hyperef feature to make a hyperlink (as opposed to embedding a URL,
 where the text is the same as the href target), it generates a .tex
 file that contains a line like this:

 \usepackage[unicode=true, pdfusetitle,
 bookmarks=true,bookmarksnumbered=false,bookmarksopen=false,
 breaklinks=false,pdfborder={0 0 1},backref=false,colorlinks=false]
 {hyperref}

 When I run it through tth, it creates a title tag of hyperref.

He responds:

Hello. Thanks for this message. The problem is with the way Lyx is laying
out its \usepackage command. TtH knows nothing about \usepackage. It treats
it as an unknown command.

http://hutchinson.belmont.ma.us/tth/manual/sec9.html#commands+unknown93
explains that such commands ought to be laid out _without_ whitespace
between themselves and their arguments. Because Lyx is inserting whitespace
before {hyperref}, TtH scans it as if it is the start of the text.

The only way to fix this properly is for Lyx to avoid adding that extra
whitespace between ] and {. No space or newline is allowed. You could fix
it by hand in the .tex file yourself; but that's a bit annoying.

Typical results appear at top of this page:

http://www.subspacefield.org/~travis/web_generator/
-- 
A Weapon of Mass Construction
My emails do not have attachments; it's a digital signature that your mail
program doesn't understand. | http://www.subspacefield.org/~travis/ 
If you are a spammer, please email j...@subspacefield.org to get blacklisted.


pgpodldZNhEzV.pgp
Description: PGP signature


Re: how to set the table column width

2010-05-14 Thread [Ricardo Rodriguez] eBioTIC.
Hi!

zhangdavid37 wrote:
> Hi,
> I would like to change the default column width, because it is too wide.
> Can anyone tell me how to make this? The attachment is an example.
> Thanks.

Have you tried to right-click a cell/column, choose Settings and to play
with Table Settings?

Even though I am brand new for this list, I guess some information about
your environment will be always welcome! At least: LyX release number,
OS and LaTeX installation. Thanks!

HTH,

Ricardo

-- 
Ricardo Rodríguez
CTO
eBiotic.
Life Sciences, Data Modeling and Information Management Systems



Re: including a Sweave/R code chunk in a LyX table cell

2010-05-14 Thread [Ricardo Rodriguez] eBioTIC.

Hi!

I've been trying to learn a bit more about LyX, LaTeX, R and Sweave to 
better understand this issue :-)


Jean-Marc LASGOUTTES wrote:


It is expected (by me at least) that either:

1/ the installation of R installs Sweave.sty at the right place (was
MaxTeX already installed when you installed R?)
  


Yes, MacTex was installed when I installed R. Please, what does it mean? 
Must I get a different result if MacTex was not installed before R 
installation?

or

2/ Sweave is set up in such a way that it puts the full path to the
Sweave.sty file in the \usepackage command.
  
The point is that there is no Sweave.sty in the system. Neither before R 
installation, nor before after it.


As far as I understand, and read, it is expected that R copy Sweave.sty 
on my system although I don't know yet if I must also expect that the 
texmf tree is modified with the same installation or the user must 
customize the installation on his/her own.


Actually, with the new LyX 2.0 releases, I don't know if Sweave.sty is 
required by LyX at all!


Sorry, I am still a bit puzzle with this issue!

Thanks!

Ricardo



--
Ricardo Rodríguez
CTO
eBiotic.
Life Sciences, Data Modeling and Information Management Systems



Re: how to set the table column width

2010-05-14 Thread [Ricardo Rodriguez] eBioTIC.
Hi David!

zhangdavid37 wrote:
> Hi,
> I use LyX 1.65, Windows XP SP3. I did do that by right-clicking the
> table/cell and set the column width.
> But it does not seem to work even I set the width to 2 em.
> Regards

Please, reply to the list as well! I'm brand new to LyX and I am sure
you will be get more and better answers by keeping the thread on the list.

I usually use absolute units as cm, px or in and they work without a
glitch. % does also fine. No experience with em though! Same LyX
release, but running on Mac OS X 10.5.8.

Greetings!

Ricardo

-- 
Ricardo Rodríguez
CTO
eBiotic.
Life Sciences, Data Modeling and Information Management Systems



Re: including a Sweave/R code chunk in a LyX table cell

2010-05-14 Thread [Ricardo Rodriguez] eBioTIC.

Hi!

Rob Oakes wrote:

This is clearly either a problem in the way that R installs itself, or
the way that LaTeX installs itself.  I'm not actually sure which though
and I don't know where to file the bug report.
  


It Sweave.sty is required by LaTeX only when used with R, who must we 
take care of the correct installation of the style file? Sorry, I don't 
know LaTeX as for being able to answer this question!

When I just checked, I was not able to find a "sweave" package for R,
nor was I able to find one for TeXLive 2009 (don't know about MikTeX).
But I've experienced a similar problem on Mac OS X and on Linux, which
provides some evidence that it's not getting packaged.
  


As far as I can find, Sweave is included with R at least as of R 2.4.1 
In R, ...


help("Sweave", package="utils")

Read this from http://tinyurl.com/346jrnu ...

"Unfortunately, Sweave hard-codes the absolute path to its style files 
in its LaTeX output. The path to the style files depends on where R was 
installed on the local system. This means that while an Sweave document 
may be portable, the LaTeX file it produces is not. If you receive a 
LaTeX document produced by Sweave on someone else's computer, you will 
need to edit the path inside the \usepackage statement so that it points 
to the Sweave style file location on your computer. If you want to give 
your LaTeX file to someone who does not have R, you can delete the 
reference to Sweave and paste in the contents of the Sweave.sty file. "

Because out of the box support for Sweave is one of LyX 2's newest (and
IMHO, killer) features, it might make sense to include a copy of
Sweave.sty with the installation script and have it installed at the
time of LyX configuration.  LyX already does this with a few specialty
document classes anyway (broadway, hollywood).

  
As Sweave.sty file will be only required by people not running R, I 
think it must be "maintained" by LyX and/or LaTeX bundles.


But I'm just a newbie here! Please, any insight will be extremely 
welcome! Thanks!


Greetings,

Ricardo

--
Ricardo Rodríguez
CTO
eBiotic.
Life Sciences, Data Modeling and Information Management Systems



LyX / pdflatex / paper size

2010-05-14 Thread Torquil Macdonald Sørensen

Hi!

When choosing "Page Layout -> Paper format = a5" in LyX, is it to expected that 
the paper size is still a4? This is the case when I use the pdfpatex , but not 
with ps or dvi output.


Including \usepackage{geometry} in the preamble fixes the problem.

I'm using Debian Sid/TexLive and LyX 1.6.5.

This seems to have been reported here:
http://www.lyx.org/trac/ticket/5247

but it is marked as fixed in 1.5.5?

Best regards
Torquil Sørensen


How

2010-05-14 Thread outspoken

Using LyX 1.6.5 on Windows with MikTex
Koma-Script package : Date : 2010-02-22
Using Koma - Report

I found a few options in the KOMA Script guide, how do I enable them in LyX?
[Need detailed help, am a newbie]

Example:
I want to enable Koma Script option : 
titlepage=true so that The chapter title starts on a new page

-- 
View this message in context: 
http://lyx.475766.n2.nabble.com/How-tp5049928p5049928.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Re: Re: Word import

2010-05-14 Thread stephen's mailinglist account
>
> If you're already 250 pages into it then yes, you want to look for
> conversions.  At worst you could install OpenOffice, convert the Word
> document, then convert to Lyx (I think you may have to convert to LaTeX,
> then from there to LyX).  Between the fundamental differences between Word
> and LaTeX, and the fact that you've been WYSIWYGing you are guaranteed to
> end up with a messed-up document, which you will have to fix.
>
> But those last 50 pages will still be easier to end up with in LyX if you
> convert now.
>

I have found conversions painful, they come into LyX OK but do not
necessarily compile well.  There are often problem characters - smart
quotes etc



-- 
Stephen


Re: how to set the table column width

2010-05-14 Thread Uwe Stöhr

Am 14.05.2010 03:51, schrieb zhangdavid37:


I would like to change the default column width, because it is too wide.
Can anyone tell me how to make this? The attachment is an example.


You don't need to change the column width because the width is automatically the width of the widest 
column entry. You need to adjust the inter-column space. Haw this can be doe and much more about 
table fine-tuning is given in chapter 2 of the EmbeddedObjects manual that you find in LyX's Help menu.


regards Uwe


Re: LyX / pdflatex / paper size

2010-05-14 Thread Uwe Stöhr

Am 14.05.2010 09:50, schrieb Torquil Macdonald Sørensen:


When choosing "Page Layout -> Paper format = a5" in LyX, is it to
expected that the paper size is still a4? This is the case when I use
the pdfpatex , but not with ps or dvi output.

Including \usepackage{geometry} in the preamble fixes the problem.


Thanks for the report. I'll think that this can be fixed for the next LyX 
release.


This seems to have been reported here:
http://www.lyx.org/trac/ticket/5247
but it is marked as fixed in 1.5.5?


Bug 5247 was indeed never fixed - I reopened it.

regards Uwe


Print Chapter Names on Seperate Page - Koma Script Report

2010-05-14 Thread outspoken

I am using LyX 1.6.5 on Windows (MikTek).
Using Koma-Script Report
I want my Chapter Names to be on a fresh page altogether. [Centered
vertically and horizontally]
Am a LyX / TeX Newbie!
i.e.

|---new page-|
| |
| |
| |
| |
|  1.Introduction|
| |
| |
| |
| |
|---New PAge|

1.1 What is XYZ
Some text here


How do I do it!
-- 
View this message in context: 
http://lyx.475766.n2.nabble.com/Print-Chapter-Names-on-Seperate-Page-Koma-Script-Report-tp5050293p5050293.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Re: How

2010-05-14 Thread Liviu Andronic
On 5/14/10, outspoken  wrote:
>
>  Using LyX 1.6.5 on Windows with MikTex
>  Koma-Script package : Date : 2010-02-22
>  Using Koma - Report
>
>  I found a few options in the KOMA Script guide, how do I enable them in LyX?
>  [Need detailed help, am a newbie]
>
>  Example:
>  I want to enable Koma Script option :
>  titlepage=true so that The chapter title starts on a new page
>
Perhaps Documetn > Settings > Class > Class options?
Liviu


Re: Re: Word import

2010-05-14 Thread stefano franchi
On Fri, May 14, 2010 at 3:40 AM, stephen's mailinglist account <
stephen4mailingli...@googlemail.com> wrote:

> >
> > If you're already 250 pages into it then yes, you want to look for
> > conversions.  At worst you could install OpenOffice, convert the Word
> > document, then convert to Lyx (I think you may have to convert to LaTeX,
> > then from there to LyX).  Between the fundamental differences between
> Word
> > and LaTeX, and the fact that you've been WYSIWYGing you are guaranteed to
> > end up with a messed-up document, which you will have to fix.
> >
> > But those last 50 pages will still be easier to end up with in LyX if you
> > convert now.
> >
>
> I have found conversions painful, they come into LyX OK but do not
> necessarily compile well.  There are often problem characters - smart
> quotes etc
>
>
>
My usual route (I have to do it quite often, unfortunately) is the
following:

1. Save from word to rtf

2. Convert rtf to Latex with rtf2latex

3. Open the latex file in a text editor and clean it up. I usually have to
fix single and double quotes, countless  \tab commands at the beginning of
paragraphs,  and other miscellaneous attempts by  rtf2latex to replicate
word formatting in latex.

4. Convert biblio to bibtex, if necessary, with endnote --> save to bibtex
format --> jabref

5. Import file into lyx, set formatting options (class, etc).

6. Reinsert all bib references manually from converted bibtex database.

It is a rather long and tedious  process, unfortunately. If you will really
need the to convert your file to Lyx/Latex eventually, I would start as soon
as possible. The more you wait, the longer and more tedious the process will
become. Given that you already have  150 or so pages in Word, it may not be
worth it. Is the document going to a publisher? In that case, for instance,
you may be better off with Word. On the other hand, if you are sure it will
have to be Latex at the end, by all means start right away. And plan for a
few  days of boring work.


Cheers,

Stefano


>
> --
> Stephen
>



-- 
__
Stefano Franchi
Department of Philosophy   Ph:   (1) 979 862-2211
Texas A University Fax: (1) 979 845-0458
College Station, Texas, USA


Re: How

2010-05-14 Thread Marcelo Acuña
> I found a few options in the KOMA Script guide, how do I
> enable them in LyX?
> [Need detailed help, am a newbie]
> 
> Example:
> I want to enable Koma Script option : 
> titlepage=true so that The chapter title starts on a new
> page

 You can add options with Document > Configuration and put the option in Option

Marcelo





Print Chapter Names on Seperate Page - Koma Script Report

2010-05-14 Thread Cola Blizzard GMail

I am using LyX 1.6.5 on Windows (MikTek).
Using Koma-Script Report
I want my Chapter Names to be on a fresh page altogether. [Centered 
vertically and horizontally]

Am a LyX / TeX Newbie!
i.e.

|---new page-|
| |
| |
| |
| |
|  1.Introduction|
| |
| |
| |
| |
|---New PAge|

1.1 What is XYZ
Some text here


How do I do it!


Automatically Importing Word Documents Into LyX

2010-05-14 Thread Rob Oakes
Dear LyX-Users,

Everytime this particular topic comes up, I find myself exploring
different options for automatically importing MS Word into LyX.  This
latest time round, I managed to come up with an automated system that
meets most of my needs.

A description with links and instructions can be found at:

http://blog.oak-tree.us/index.php/2010/05/14/msword-lyx-import

I mostly use this to import rough drafts that I receive from others, and
it does an admirable job of maintaining doc structure (including
images).  Unfortunately, it doesn't play as nicely with tables.  But
then, I tend to generate all of my tables in R anyway or in
Excel/OpenOffice and export as separate LaTeX files.  (Trying to create
tables in LyX or LaTeX by hand is just painful.)

If anyone else tries it, I'd be interested in your feedback and
thoughts.  I've thought about expanding the base python library to also
support Word to DocBook conversions in an effort to see if that results
in a more faithful conversion.

Cheers,

Rob



Re: Automatically Importing Word Documents Into LyX

2010-05-14 Thread stephen's mailinglist account
On 14 May 2010 19:11, Rob Oakes  wrote:
> Dear LyX-Users,
>
> Everytime this particular topic comes up, I find myself exploring
> different options for automatically importing MS Word into LyX.  This
> latest time round, I managed to come up with an automated system that
> meets most of my needs.
>
> A description with links and instructions can be found at:
>
> http://blog.oak-tree.us/index.php/2010/05/14/msword-lyx-import
>
> I mostly use this to import rough drafts that I receive from others, and
> it does an admirable job of maintaining doc structure (including
> images).  Unfortunately, it doesn't play as nicely with tables.  But
> then, I tend to generate all of my tables in R anyway or in
> Excel/OpenOffice and export as separate LaTeX files.  (Trying to create
> tables in LyX or LaTeX by hand is just painful.)
>
> If anyone else tries it, I'd be interested in your feedback and
> thoughts.  I've thought about expanding the base python library to also
> support Word to DocBook conversions in an effort to see if that results
> in a more faithful conversion.
>
> Cheers,
>
> Rob
>
>
This is an improvement over my usual experience. I've tried a few
documents - some work pretty much out of the box.  Some need a little
fiddling to get them to compile.  One or two choke at the import stage
-- however this only seems to happen for files names with spaces in
them, and is fixed by changing filename

-- 
Stephen


Re: Automatically Importing Word Documents Into LyX

2010-05-14 Thread *Meredith *
Thank you Rob-- my document has 15 plus images so this will do me well! I'll
try it this week and get back to you on how it works for me. Many thanks

On Sat, May 15, 2010 at 6:11 AM, Rob Oakes  wrote:

> Dear LyX-Users,
>
> Everytime this particular topic comes up, I find myself exploring
> different options for automatically importing MS Word into LyX.  This
> latest time round, I managed to come up with an automated system that
> meets most of my needs.
>
> A description with links and instructions can be found at:
>
> http://blog.oak-tree.us/index.php/2010/05/14/msword-lyx-import
>
> I mostly use this to import rough drafts that I receive from others, and
> it does an admirable job of maintaining doc structure (including
> images).  Unfortunately, it doesn't play as nicely with tables.  But
> then, I tend to generate all of my tables in R anyway or in
> Excel/OpenOffice and export as separate LaTeX files.  (Trying to create
> tables in LyX or LaTeX by hand is just painful.)
>
> If anyone else tries it, I'd be interested in your feedback and
> thoughts.  I've thought about expanding the base python library to also
> support Word to DocBook conversions in an effort to see if that results
> in a more faithful conversion.
>
> Cheers,
>
> Rob
>
>


incompatibility between lyx, hyperref and tth

2010-05-14 Thread travis+ml-lyx
I wrote to Ian Hutchinson (author of tth):

> Anyway, I wanted to alert you to a potential bug.  When I use lyx's
> "hyperef" feature to make a hyperlink (as opposed to embedding a URL,
> where the text is the same as the href target), it generates a .tex
> file that contains a line like this:
>
> \usepackage[unicode=true, pdfusetitle,
> bookmarks=true,bookmarksnumbered=false,bookmarksopen=false,
> breaklinks=false,pdfborder={0 0 1},backref=false,colorlinks=false]
> {hyperref}
>
> When I run it through tth, it creates a  tag of "hyperref".

He responds:

Hello. Thanks for this message. The problem is with the way Lyx is laying
out its \usepackage command. TtH knows nothing about \usepackage. It treats
it as an unknown command.

http://hutchinson.belmont.ma.us/tth/manual/sec9.html#commands+unknown93
explains that such commands ought to be laid out _without_ whitespace
between themselves and their arguments. Because Lyx is inserting whitespace
before {hyperref}, TtH scans it as if it is the start of the text.

The only way to fix this properly is for Lyx to avoid adding that extra
whitespace between ] and {. No space or newline is allowed. You could fix
it by hand in the .tex file yourself; but that's a bit annoying.

Typical results appear at top of this page:

http://www.subspacefield.org/~travis/web_generator/
-- 
A Weapon of Mass Construction
My emails do not have attachments; it's a digital signature that your mail
program doesn't understand. | http://www.subspacefield.org/~travis/ 
If you are a spammer, please email j...@subspacefield.org to get blacklisted.


pgpodldZNhEzV.pgp
Description: PGP signature