iCloud Drive and LyX Backup Files

2024-01-02 Thread Jeremy via lyx-users

LyX saves backup files by appending a tilde, ~, to the file name. Apple's 
iCloud Drive does not upload files ending in tildes to the cloud. Is there a 
way to get these two pieces of software to coexist, so that LyX backups can 
themselves be backed up into Apple's cloud?

I suppose this could occur by either:

1. Forcing iCloud Drive to sync files ending in a tilde

2. Changing the extra character in the file extension of LyX backups to a 
character other than tilde

Does anyone know how to solve this?

If anyone cares, my motivation is that iCloud Drive supports end to end 
encryption, if you turn on Advanced Data Protection for iCloud. I realize that 
there are some smaller companies that also support end to end encryption, but 
the well-known cloud storage providers Box, Dropbox, Google and Microsoft do 
not. 

Happy New Year, Jeremy


-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


1/15/2015 3:48:30 AM

2015-01-14 Thread jeremy adler

 
http://www.kariatimatractor.com/tgiozyrh/jndtyazjtcwqpfennjglkybsehazbeczshkt.raknnkilcctaghzhdnufcngsoddvovlpls




















  jeremy adler



 1/15/2015 3:48:30 AM

1/15/2015 3:48:30 AM

2015-01-14 Thread jeremy adler

 
http://www.kariatimatractor.com/tgiozyrh/jndtyazjtcwqpfennjglkybsehazbeczshkt.raknnkilcctaghzhdnufcngsoddvovlpls




















  jeremy adler



 1/15/2015 3:48:30 AM

1/15/2015 3:48:30 AM

2015-01-14 Thread jeremy adler

 
http://www.kariatimatractor.com/tgiozyrh/jndtyazjtcwqpfennjglkybsehazbeczshkt.raknnkilcctaghzhdnufcngsoddvovlpls




















  jeremy adler



 1/15/2015 3:48:30 AM

How to open tex file in Latex

2014-05-11 Thread Jeremy P
Hi 
I download the tex file from La Tex Zip Files
and It seems I cannot open thetex file in Lyx and Do you know how to do this?

Best

Jeremy

How to open tex file in Latex

2014-05-11 Thread Jeremy P
Hi 
I download the tex file from La Tex Zip Files
and It seems I cannot open thetex file in Lyx and Do you know how to do this?

Best

Jeremy

How to open tex file in Latex

2014-05-11 Thread Jeremy P
Hi 
I download the tex file from La Tex Zip Files
and It seems I cannot open thetex file in Lyx and Do you know how to do this?

Best

Jeremy

highlighting long text exhibits

2012-09-29 Thread Jeremy C. Reed
My book has several long exhibits or examples that may be multiple pages 
long (such as verbatim copies of software agreements and lists of 
software packages and descriptions).  Instead of putting at end of book 
as appendix material, I am including them directly in the chapters with 
the related content.

I'd like it to be identified somehow to be extra content so it doesn't 
break the flow of the reading and is easily identified.

Some ideas I tried:

- alltt environment but the fixed font went beyond right margins and no 
caption for each page.

- sloppypar with texttt -- that was fine but didn't identify it was 
different than rest of content other than font change. (I don't care if 
the content paragraphs are reformatted.) Also no caption for each page.

- longtable with vertical and horizontal borders (a box) with the 
sloppypar and texttt for content inside and a caption at the bottom.

I also changed the tablename (and listtablename) to be Exhibit
instead Table.  (By the way, do any of you do this? What do you call 
it?)

The problem with this is that the caption is only on one page. Also I 
may have bottom hline and caption on page by itself.

And on another example the content just goes off the bottom margin 
instead of continuing to next page.

- Used framed package with leftbar environment. That is fine but no 
caption (need a float? but that won't work for a multipage?)

I will next try using lstlistings with lstcaptioncont (so I can have 
captions on every page). But I want the text paragraphs to flow together 
instead of going out into right margin. Any ideas on that?  (Instead of 
continuing to spend more hours trying new ideas, I decided now to ask 
the list :)

Does anyone have any suggestions or ideas on how to do this better?

Thank you,

  Jeremy C. Reed

echo 'EhZ[h ^jjf0%%h[[Zc[Z_W$d[j%Xeeai%ZW[ced#]dk#f[d]k_d%' | \
  tr'#-~''\-.-{'



highlighting long text exhibits

2012-09-29 Thread Jeremy C. Reed
My book has several long exhibits or examples that may be multiple pages 
long (such as verbatim copies of software agreements and lists of 
software packages and descriptions).  Instead of putting at end of book 
as appendix material, I am including them directly in the chapters with 
the related content.

I'd like it to be identified somehow to be extra content so it doesn't 
break the flow of the reading and is easily identified.

Some ideas I tried:

- alltt environment but the fixed font went beyond right margins and no 
caption for each page.

- sloppypar with texttt -- that was fine but didn't identify it was 
different than rest of content other than font change. (I don't care if 
the content paragraphs are reformatted.) Also no caption for each page.

- longtable with vertical and horizontal borders (a box) with the 
sloppypar and texttt for content inside and a caption at the bottom.

I also changed the tablename (and listtablename) to be Exhibit
instead Table.  (By the way, do any of you do this? What do you call 
it?)

The problem with this is that the caption is only on one page. Also I 
may have bottom hline and caption on page by itself.

And on another example the content just goes off the bottom margin 
instead of continuing to next page.

- Used framed package with leftbar environment. That is fine but no 
caption (need a float? but that won't work for a multipage?)

I will next try using lstlistings with lstcaptioncont (so I can have 
captions on every page). But I want the text paragraphs to flow together 
instead of going out into right margin. Any ideas on that?  (Instead of 
continuing to spend more hours trying new ideas, I decided now to ask 
the list :)

Does anyone have any suggestions or ideas on how to do this better?

Thank you,

  Jeremy C. Reed

echo 'EhZ[h ^jjf0%%h[[Zc[Z_W$d[j%Xeeai%ZW[ced#]dk#f[d]k_d%' | \
  tr'#-~''\-.-{'



highlighting long text exhibits

2012-09-29 Thread Jeremy C. Reed
My book has several long exhibits or examples that may be multiple pages 
long (such as verbatim copies of software agreements and lists of 
software packages and descriptions).  Instead of putting at end of book 
as appendix material, I am including them directly in the chapters with 
the related content.

I'd like it to be identified somehow to be extra content so it doesn't 
break the flow of the reading and is easily identified.

Some ideas I tried:

- alltt environment but the fixed font went beyond right margins and no 
caption for each page.

- sloppypar with texttt -- that was fine but didn't identify it was 
different than rest of content other than font change. (I don't care if 
the content paragraphs are reformatted.) Also no caption for each page.

- longtable with vertical and horizontal borders (a box) with the 
sloppypar and texttt for content inside and a caption at the bottom.

I also changed the tablename (and listtablename) to be "Exhibit"
instead "Table".  (By the way, do any of you do this? What do you call 
it?)

The problem with this is that the caption is only on one page. Also I 
may have bottom hline and caption on page by itself.

And on another example the content just goes off the bottom margin 
instead of continuing to next page.

- Used framed package with leftbar environment. That is fine but no 
caption (need a float? but that won't work for a multipage?)

I will next try using lstlistings with lstcaptioncont (so I can have 
captions on every page). But I want the text paragraphs to flow together 
instead of going out into right margin. Any ideas on that?  (Instead of 
continuing to spend more hours trying new ideas, I decided now to ask 
the list :)

Does anyone have any suggestions or ideas on how to do this better?

Thank you,

  Jeremy C. Reed

echo 'EhZ[h ^jjf0%%h[[Zc[Z_W$d[j%Xeeai%ZW[ced#]dk#f[d]k_d%' | \
  tr'#-~''\-.-{'



Re: lyxhtml and calibre and mobi and epub

2012-04-03 Thread Jeremy C. Reed
(responding to a single point)

On Tue, 3 Apr 2012, Richard Heck wrote:

  1) the XHTML has:
  
math xmlns=http://www.w3.org/1998/Math/MathML;
mrow
 mfrac
  mrowmn1/mn
  /mrow
  mrowmn3/mn
  /mrow
 /mfrac
/mrow/math
  
  but the epub shows 13 and mobi has nothing.
  
 Does mobi handle MathML? Maybe you should try using HTML for math export
 (under Document Settings Output).

I don't think any devices support MathML yet.

I made that change. And the new xhtml displayed as:

  1
-
  3

(long vertical vinculum)

So I removed these math fractions from my lyx document and replaced with 
the special symbol from the Number Forms category.

This now works for my XHTML and the EPUB and MOBI converted from it. The 
XHTML now contains this character: ??? 

This adds one issue -- I now have some Lyx/LaTeX in my XHTML output (and 
EPUB and MOBI):

!-- Preamble Snippets --
\newcommand*\LyXonethird{\mbox{\raisebox{.8ex}{1}\kern-.175em\raisebox{.2ex}{/}\kern-.18em\raisebox{-.2ex}{3}}}

That line is included as content at the start of my document.

I can easily remove it to workaround this issue.



Re: lyxhtml and calibre and mobi and epub

2012-04-03 Thread Jeremy C. Reed
(responding to single discussion item...)

On Tue, 3 Apr 2012, Richard Heck wrote:

  5) My footnotes work with the xhtml ... when I hover over them they
  popup. But these hover style footnotes don't work in the calibre viewer.
  The document shows the small underlined number but clicking or hovering
  on it does nothing.
  
  The xhtml has:
  
  div.foot:hover div.foot_inner {
  display: block;
  border: 1px double black;
  margin: 0em 1em;
  padding: 1em;
  }
  
  This was missing from the epub stylesheet.
  
  I think the epub and mobi don't support hovering footnotes.
  
 This can be easily customized, and maybe we should just make a module for it.
 Do something like this in your LyX file, under Document Settings Local
 Layout:
 
 Format 31
 
 InsetLayout Foot
 HTMLStyle
 now put here whatever CSS you'd like to shape the footnotes...
 EndHTMLStyle
 End
 
 At some point, we'll also provide the possibility to export footnotes as
 endnotes instead. There's some code for this already, in fact, but I have been
 too busy to finish it.

Thank you.

I set it to:

InsetLayout Foot
HTMLStyle
span.foot_label {
vertical-align: super;
font-size: smaller;
font-weight: bold;
text-decoration: underline;
}
div.foot {
display: inline;
font-size: small;
font-weight: medium;
font-family: serif;
font-variant: normal;
font-style: normal;
}
div.foot_inner { font-size: small; text-indent: 0em; margin-right: 15mm; 
margin-left: 15mm; margin-top: 5pt; margin-bottom: 5pt; }
EndHTMLStyle
End

And that worked for me for the XHTML and my epub and mobi files.

(By the way, the \newcommand junk left in my XHTML file as mentioned in 
previous email caused calibre to not recognize my footnotes and 
converted foot to standard, footlabel to flexurl and footinner to 
standard. Once I manually removed that line from the XHTML file, then it 
worked.)

So I don't have foot notes, but simply a note in smaller font and 
indented on next line after the superscript number.

Thanks again for the lyx hint.

By the way, my lyx file doesn't seem to have any way to remove the 
Local Layout. Even if I clear it, press validate and click ok, then go 
back to settings it is there again.


Re: lyxhtml and calibre and mobi and epub

2012-04-03 Thread Jeremy C. Reed
(responding to one item below)

On Tue, 3 Apr 2012, Richard Heck wrote:

  6) The xhtml output had links to horizontal rules in my table of
  contents:
  
  !-- Output Error: Tags still open in closeFontTags(). Probably not a
  problem,
  but you might want to check these tags: --!-- Output Error: div
  --!-- Output Error: div --!-- Output Error: Tried to close pending
  tag `a' when other tags were pending. Last pending tag is
  `LyX_parsep_tag'. Tag discarded. --div class='lyxtoc-2'  a
  href='#magicparlabel-236' class='tocarrow'gt;/a!-- Output Error:
  Closing tag `div' when other tags are open, namely: --!-- Output
  Error:LyX_parsep_tag  --/div
  
  I simple removed that line for each.
  
 Can you provide a simple file showing the problem? This kind of thing is also
 fairly easy to fix, usually.

I didn't notice before ... but now I realize that all my Section* (note 
the asterisk) were added to my table of contents.  I had the following 
code to put a horizontal rule before my summary at end of each chapter. 
(It looks nice in my PDF.) This is what caused the above error.

\begin_layout Section*
\noindent
\begin_inset CommandInset line
LatexCommand rule
offset 0.5ex
width 100line%
height 1pt

\end_inset


\end_layout



I don't mind that lyxhtml exported all my Section* (except the 
horizontal rule above) into my ebook table of contents. It looks useful. 
But that is different that my PDF.


Re: lyxhtml and calibre and mobi and epub

2012-04-03 Thread Jeremy C. Reed
Another issue with lyxhtml export:

7) Index is sorted with uppercase before lowercase; that is all A-Z 
before any a-z.

Anyway to configure it so it will consider the uppercase/lowercase the 
same for sort comparisons?


Re: lyxhtml and calibre and mobi and epub

2012-04-03 Thread Jeremy C. Reed
On Tue, 3 Apr 2012, Richard Heck wrote:

 It would help me debug it if you could produce a small example file that makes
 this happen. I'm not sure why the output mechanism is choking.

http://reedmedia.net/~reed/tmp/sample1.lyx
http://reedmedia.net/~reed/tmp/sample1.xhtml(see the extra links in 
ToC)



Re: lyxhtml and calibre and mobi and epub

2012-04-03 Thread Jeremy C. Reed
On Tue, 3 Apr 2012, Richard Heck wrote:

 Oversight. I've just fixed it for 2.0.4, but it's a source issue. You can
 download the current version from git if you wish and compile that.

Can someone point me to anonymous GIT details?

I found http://wiki.lyx.org/Devel/Git  if I need an account then who do 
I send a public SSH key to?


Re: lyxhtml and calibre and mobi and epub

2012-04-03 Thread Jeremy C. Reed
(responding to a single point)

On Tue, 3 Apr 2012, Richard Heck wrote:

  1) the XHTML has:
  
math xmlns=http://www.w3.org/1998/Math/MathML;
mrow
 mfrac
  mrowmn1/mn
  /mrow
  mrowmn3/mn
  /mrow
 /mfrac
/mrow/math
  
  but the epub shows 13 and mobi has nothing.
  
 Does mobi handle MathML? Maybe you should try using HTML for math export
 (under Document Settings Output).

I don't think any devices support MathML yet.

I made that change. And the new xhtml displayed as:

  1
-
  3

(long vertical vinculum)

So I removed these math fractions from my lyx document and replaced with 
the special symbol from the Number Forms category.

This now works for my XHTML and the EPUB and MOBI converted from it. The 
XHTML now contains this character: ??? 

This adds one issue -- I now have some Lyx/LaTeX in my XHTML output (and 
EPUB and MOBI):

!-- Preamble Snippets --
\newcommand*\LyXonethird{\mbox{\raisebox{.8ex}{1}\kern-.175em\raisebox{.2ex}{/}\kern-.18em\raisebox{-.2ex}{3}}}

That line is included as content at the start of my document.

I can easily remove it to workaround this issue.



Re: lyxhtml and calibre and mobi and epub

2012-04-03 Thread Jeremy C. Reed
(responding to single discussion item...)

On Tue, 3 Apr 2012, Richard Heck wrote:

  5) My footnotes work with the xhtml ... when I hover over them they
  popup. But these hover style footnotes don't work in the calibre viewer.
  The document shows the small underlined number but clicking or hovering
  on it does nothing.
  
  The xhtml has:
  
  div.foot:hover div.foot_inner {
  display: block;
  border: 1px double black;
  margin: 0em 1em;
  padding: 1em;
  }
  
  This was missing from the epub stylesheet.
  
  I think the epub and mobi don't support hovering footnotes.
  
 This can be easily customized, and maybe we should just make a module for it.
 Do something like this in your LyX file, under Document Settings Local
 Layout:
 
 Format 31
 
 InsetLayout Foot
 HTMLStyle
 now put here whatever CSS you'd like to shape the footnotes...
 EndHTMLStyle
 End
 
 At some point, we'll also provide the possibility to export footnotes as
 endnotes instead. There's some code for this already, in fact, but I have been
 too busy to finish it.

Thank you.

I set it to:

InsetLayout Foot
HTMLStyle
span.foot_label {
vertical-align: super;
font-size: smaller;
font-weight: bold;
text-decoration: underline;
}
div.foot {
display: inline;
font-size: small;
font-weight: medium;
font-family: serif;
font-variant: normal;
font-style: normal;
}
div.foot_inner { font-size: small; text-indent: 0em; margin-right: 15mm; 
margin-left: 15mm; margin-top: 5pt; margin-bottom: 5pt; }
EndHTMLStyle
End

And that worked for me for the XHTML and my epub and mobi files.

(By the way, the \newcommand junk left in my XHTML file as mentioned in 
previous email caused calibre to not recognize my footnotes and 
converted foot to standard, footlabel to flexurl and footinner to 
standard. Once I manually removed that line from the XHTML file, then it 
worked.)

So I don't have foot notes, but simply a note in smaller font and 
indented on next line after the superscript number.

Thanks again for the lyx hint.

By the way, my lyx file doesn't seem to have any way to remove the 
Local Layout. Even if I clear it, press validate and click ok, then go 
back to settings it is there again.


Re: lyxhtml and calibre and mobi and epub

2012-04-03 Thread Jeremy C. Reed
(responding to one item below)

On Tue, 3 Apr 2012, Richard Heck wrote:

  6) The xhtml output had links to horizontal rules in my table of
  contents:
  
  !-- Output Error: Tags still open in closeFontTags(). Probably not a
  problem,
  but you might want to check these tags: --!-- Output Error: div
  --!-- Output Error: div --!-- Output Error: Tried to close pending
  tag `a' when other tags were pending. Last pending tag is
  `LyX_parsep_tag'. Tag discarded. --div class='lyxtoc-2'  a
  href='#magicparlabel-236' class='tocarrow'gt;/a!-- Output Error:
  Closing tag `div' when other tags are open, namely: --!-- Output
  Error:LyX_parsep_tag  --/div
  
  I simple removed that line for each.
  
 Can you provide a simple file showing the problem? This kind of thing is also
 fairly easy to fix, usually.

I didn't notice before ... but now I realize that all my Section* (note 
the asterisk) were added to my table of contents.  I had the following 
code to put a horizontal rule before my summary at end of each chapter. 
(It looks nice in my PDF.) This is what caused the above error.

\begin_layout Section*
\noindent
\begin_inset CommandInset line
LatexCommand rule
offset 0.5ex
width 100line%
height 1pt

\end_inset


\end_layout



I don't mind that lyxhtml exported all my Section* (except the 
horizontal rule above) into my ebook table of contents. It looks useful. 
But that is different that my PDF.


Re: lyxhtml and calibre and mobi and epub

2012-04-03 Thread Jeremy C. Reed
Another issue with lyxhtml export:

7) Index is sorted with uppercase before lowercase; that is all A-Z 
before any a-z.

Anyway to configure it so it will consider the uppercase/lowercase the 
same for sort comparisons?


Re: lyxhtml and calibre and mobi and epub

2012-04-03 Thread Jeremy C. Reed
On Tue, 3 Apr 2012, Richard Heck wrote:

 It would help me debug it if you could produce a small example file that makes
 this happen. I'm not sure why the output mechanism is choking.

http://reedmedia.net/~reed/tmp/sample1.lyx
http://reedmedia.net/~reed/tmp/sample1.xhtml(see the extra links in 
ToC)



Re: lyxhtml and calibre and mobi and epub

2012-04-03 Thread Jeremy C. Reed
On Tue, 3 Apr 2012, Richard Heck wrote:

 Oversight. I've just fixed it for 2.0.4, but it's a source issue. You can
 download the current version from git if you wish and compile that.

Can someone point me to anonymous GIT details?

I found http://wiki.lyx.org/Devel/Git  if I need an account then who do 
I send a public SSH key to?


Re: lyxhtml and calibre and mobi and epub

2012-04-03 Thread Jeremy C. Reed
(responding to a single point)

On Tue, 3 Apr 2012, Richard Heck wrote:

> > 1) the XHTML has:
> > 
> >   http://www.w3.org/1998/Math/MathML;>
> >   
> >
> > 1
> > 
> > 3
> > 
> >
> >   
> > 
> > but the epub shows "13" and mobi has nothing.
> > 
> Does mobi handle MathML? Maybe you should try using HTML for math export
> (under Document> Settings> Output).

I don't think any devices support MathML yet.

I made that change. And the new xhtml displayed as:

  1
-
  3

(long vertical vinculum)

So I removed these math fractions from my lyx document and replaced with 
the special symbol from the Number Forms category.

This now works for my XHTML and the EPUB and MOBI converted from it. The 
XHTML now contains this character: ??? 

This adds one issue -- I now have some Lyx/LaTeX in my XHTML output (and 
EPUB and MOBI):


\newcommand*\LyXonethird{\mbox{\raisebox{.8ex}{1}\kern-.175em\raisebox{.2ex}{/}\kern-.18em\raisebox{-.2ex}{3}}}

That line is included as content at the start of my document.

I can easily remove it to workaround this issue.



Re: lyxhtml and calibre and mobi and epub

2012-04-03 Thread Jeremy C. Reed
(responding to single discussion item...)

On Tue, 3 Apr 2012, Richard Heck wrote:

> > 5) My footnotes work with the xhtml ... when I hover over them they
> > popup. But these hover style footnotes don't work in the calibre viewer.
> > The document shows the small underlined number but clicking or hovering
> > on it does nothing.
> > 
> > The xhtml has:
> > 
> > div.foot:hover div.foot_inner {
> > display: block;
> > border: 1px double black;
> > margin: 0em 1em;
> > padding: 1em;
> > }
> > 
> > This was missing from the epub stylesheet.
> > 
> > I think the epub and mobi don't support hovering footnotes.
> > 
> This can be easily customized, and maybe we should just make a module for it.
> Do something like this in your LyX file, under Document> Settings> Local
> Layout:
> 
> Format 31
> 
> InsetLayout Foot
> HTMLStyle
> now put here whatever CSS you'd like to shape the footnotes...
> EndHTMLStyle
> End
> 
> At some point, we'll also provide the possibility to export footnotes as
> endnotes instead. There's some code for this already, in fact, but I have been
> too busy to finish it.

Thank you.

I set it to:

InsetLayout Foot
HTMLStyle
span.foot_label {
vertical-align: super;
font-size: smaller;
font-weight: bold;
text-decoration: underline;
}
div.foot {
display: inline;
font-size: small;
font-weight: medium;
font-family: serif;
font-variant: normal;
font-style: normal;
}
div.foot_inner { font-size: small; text-indent: 0em; margin-right: 15mm; 
margin-left: 15mm; margin-top: 5pt; margin-bottom: 5pt; }
EndHTMLStyle
End

And that worked for me for the XHTML and my epub and mobi files.

(By the way, the \newcommand junk left in my XHTML file as mentioned in 
previous email caused calibre to not recognize my footnotes and 
converted foot to standard, footlabel to flexurl and footinner to 
standard. Once I manually removed that line from the XHTML file, then it 
worked.)

So I don't have "foot" notes, but simply a note in smaller font and 
indented on next line after the superscript number.

Thanks again for the lyx hint.

By the way, my lyx file doesn't seem to have any way to remove the 
"Local Layout". Even if I clear it, press validate and click ok, then go 
back to settings it is there again.


Re: lyxhtml and calibre and mobi and epub

2012-04-03 Thread Jeremy C. Reed
(responding to one item below)

On Tue, 3 Apr 2012, Richard Heck wrote:

> > 6) The xhtml output had links to horizontal rules in my table of
> > contents:
> > 
> >> href='#magicparlabel-236' class='tocarrow'>
> > 
> > I simple removed that line for each.
> > 
> Can you provide a simple file showing the problem? This kind of thing is also
> fairly easy to fix, usually.

I didn't notice before ... but now I realize that all my Section* (note 
the asterisk) were added to my table of contents.  I had the following 
code to put a horizontal rule before my summary at end of each chapter. 
(It looks nice in my PDF.) This is what caused the above error.

\begin_layout Section*
\noindent
\begin_inset CommandInset line
LatexCommand rule
offset "0.5ex"
width "100line%"
height "1pt"

\end_inset


\end_layout



I don't mind that lyxhtml exported all my Section* (except the 
horizontal rule above) into my ebook table of contents. It looks useful. 
But that is different that my PDF.


Re: lyxhtml and calibre and mobi and epub

2012-04-03 Thread Jeremy C. Reed
Another issue with lyxhtml export:

7) Index is sorted with uppercase before lowercase; that is all A-Z 
before any a-z.

Anyway to configure it so it will consider the uppercase/lowercase the 
same for sort comparisons?


Re: lyxhtml and calibre and mobi and epub

2012-04-03 Thread Jeremy C. Reed
On Tue, 3 Apr 2012, Richard Heck wrote:

> It would help me debug it if you could produce a small example file that makes
> this happen. I'm not sure why the output mechanism is choking.

http://reedmedia.net/~reed/tmp/sample1.lyx
http://reedmedia.net/~reed/tmp/sample1.xhtml(see the extra links in 
ToC)



Re: lyxhtml and calibre and mobi and epub

2012-04-03 Thread Jeremy C. Reed
On Tue, 3 Apr 2012, Richard Heck wrote:

> Oversight. I've just fixed it for 2.0.4, but it's a source issue. You can
> download the current version from git if you wish and compile that.

Can someone point me to anonymous GIT details?

I found http://wiki.lyx.org/Devel/Git  if I need an account then who do 
I send a public SSH key to?


lyxhtml and calibre and mobi and epub

2012-04-02 Thread Jeremy C. Reed
I am using LyX 2.0.0 (2011-04-29) on a Ubuntu system with lyx 2.0.0-1 
packages. I export XHTML using the lyxhtml export.

My goal is to create mobi (for kindle) and epub (for nook)files. I am 
using calibre 0.8.8 for conversion from the XHTML file.

Here are my issues:

1) the XHTML has:

 math xmlns=http://www.w3.org/1998/Math/MathML;
 mrow
  mfrac
   mrowmn1/mn
   /mrow
   mrowmn3/mn
   /mrow
  /mfrac
 /mrow/math

but the epub shows 13 and mobi has nothing.

2) Some lyx/tex sections are like First~Second~Third but the lyxhtml 
output in my table of contents is FirstSecondThird (no spaces). So I 
manually fixed them.

3) My print cross references say See page elsewhere. I fixed this 
with:

sed -e 's,on page \(a href=.*\)elsewhere,\1here,' -e 's,page \(a 
href=.*\)elsewhere,\1here,' -e 's,pages \(a 
href=.*\)elsewhere/a and \(a href=.*\)elsew,\1here/a and \2,'

4) I made some hyperlinks back into hyperlinks:
 
sed -e 's,span class=flex_url\([^]*\)/span,a href=\1span 
class=flex_url\1/span/a,g'

5) My footnotes work with the xhtml ... when I hover over them they 
popup. But these hover style footnotes don't work in the calibre viewer. 
The document shows the small underlined number but clicking or hovering 
on it does nothing.

The xhtml has:

div.foot:hover div.foot_inner {
display: block;
border: 1px double black;
margin: 0em 1em;
padding: 1em;
}

This was missing from the epub stylesheet.

I think the epub and mobi don't support hovering footnotes.

I see elyxer supports different footnote features. I didn't try all the 
elyxer features yet. (I see it has graphical arrow links I want to 
remove and also some index tags are left in my main content.)

6) The xhtml output had links to horizontal rules in my table of 
contents:

!-- Output Error: Tags still open in closeFontTags(). Probably not a 
problem,
but you might want to check these tags: --!-- Output Error: div 
--!-- Output Error: div --!-- Output Error: Tried to close pending 
tag `a' when other tags were pending. Last pending tag is 
`LyX_parsep_tag'. Tag discarded. --div class='lyxtoc-2' a 
href='#magicparlabel-236' class='tocarrow'gt;/a!-- Output Error: 
Closing tag `div' when other tags are open, namely: --!-- Output 
Error: LyX_parsep_tag --/div

I simple removed that line for each.


Anyways what do you all do to generate good epub and/or mobi files from 
LyX?

I also tried lyx2ebook but it crashed when I used it. (I sent traceback 
and example lyx file to the developer.)

Thank you


lyxhtml and calibre and mobi and epub

2012-04-02 Thread Jeremy C. Reed
I am using LyX 2.0.0 (2011-04-29) on a Ubuntu system with lyx 2.0.0-1 
packages. I export XHTML using the lyxhtml export.

My goal is to create mobi (for kindle) and epub (for nook)files. I am 
using calibre 0.8.8 for conversion from the XHTML file.

Here are my issues:

1) the XHTML has:

 math xmlns=http://www.w3.org/1998/Math/MathML;
 mrow
  mfrac
   mrowmn1/mn
   /mrow
   mrowmn3/mn
   /mrow
  /mfrac
 /mrow/math

but the epub shows 13 and mobi has nothing.

2) Some lyx/tex sections are like First~Second~Third but the lyxhtml 
output in my table of contents is FirstSecondThird (no spaces). So I 
manually fixed them.

3) My print cross references say See page elsewhere. I fixed this 
with:

sed -e 's,on page \(a href=.*\)elsewhere,\1here,' -e 's,page \(a 
href=.*\)elsewhere,\1here,' -e 's,pages \(a 
href=.*\)elsewhere/a and \(a href=.*\)elsew,\1here/a and \2,'

4) I made some hyperlinks back into hyperlinks:
 
sed -e 's,span class=flex_url\([^]*\)/span,a href=\1span 
class=flex_url\1/span/a,g'

5) My footnotes work with the xhtml ... when I hover over them they 
popup. But these hover style footnotes don't work in the calibre viewer. 
The document shows the small underlined number but clicking or hovering 
on it does nothing.

The xhtml has:

div.foot:hover div.foot_inner {
display: block;
border: 1px double black;
margin: 0em 1em;
padding: 1em;
}

This was missing from the epub stylesheet.

I think the epub and mobi don't support hovering footnotes.

I see elyxer supports different footnote features. I didn't try all the 
elyxer features yet. (I see it has graphical arrow links I want to 
remove and also some index tags are left in my main content.)

6) The xhtml output had links to horizontal rules in my table of 
contents:

!-- Output Error: Tags still open in closeFontTags(). Probably not a 
problem,
but you might want to check these tags: --!-- Output Error: div 
--!-- Output Error: div --!-- Output Error: Tried to close pending 
tag `a' when other tags were pending. Last pending tag is 
`LyX_parsep_tag'. Tag discarded. --div class='lyxtoc-2' a 
href='#magicparlabel-236' class='tocarrow'gt;/a!-- Output Error: 
Closing tag `div' when other tags are open, namely: --!-- Output 
Error: LyX_parsep_tag --/div

I simple removed that line for each.


Anyways what do you all do to generate good epub and/or mobi files from 
LyX?

I also tried lyx2ebook but it crashed when I used it. (I sent traceback 
and example lyx file to the developer.)

Thank you


lyxhtml and calibre and mobi and epub

2012-04-02 Thread Jeremy C. Reed
I am using LyX 2.0.0 (2011-04-29) on a Ubuntu system with lyx 2.0.0-1 
packages. I export XHTML using the lyxhtml export.

My goal is to create mobi (for kindle) and epub (for nook)files. I am 
using calibre 0.8.8 for conversion from the XHTML file.

Here are my issues:

1) the XHTML has:

 http://www.w3.org/1998/Math/MathML;>
 
  
   1
   
   3
   
  
 

but the epub shows "13" and mobi has nothing.

2) Some lyx/tex sections are like "First~Second~Third" but the lyxhtml 
output in my table of contents is "FirstSecondThird" (no spaces). So I 
manually fixed them.

3) My print cross references say "See page elsewhere". I fixed this 
with:

sed -e 's,on page \(\)elsewhere,\1here,' -e 's,page \(\)elsewhere,\1here,' -e 's,pages \(\)elsewhere and \(\)elsew,\1here and \2,'

4) I made some hyperlinks back into hyperlinks:
 
sed -e 's,\([^<]*\),\1,g'

5) My footnotes work with the xhtml ... when I hover over them they 
popup. But these hover style footnotes don't work in the calibre viewer. 
The document shows the small underlined number but clicking or hovering 
on it does nothing.

The xhtml has:

div.foot:hover div.foot_inner {
display: block;
border: 1px double black;
margin: 0em 1em;
padding: 1em;
}

This was missing from the epub stylesheet.

I think the epub and mobi don't support hovering footnotes.

I see elyxer supports different footnote features. I didn't try all the 
elyxer features yet. (I see it has graphical arrow links I want to 
remove and also some "index" tags are left in my main content.)

6) The xhtml output had links to horizontal rules in my table of 
contents:

 

I simple removed that line for each.


Anyways what do you all do to generate good epub and/or mobi files from 
LyX?

I also tried lyx2ebook but it crashed when I used it. (I sent traceback 
and example lyx file to the developer.)

Thank you


Re: Setting page margins..

2010-03-04 Thread Jeremy C. Reed
 I have a problem with the definition of the page margins in a LyX 
 document.. In particular, I would like to create a book-style 
 document, where the internal margin is always a bit bigger the the 
 external one so that once I print and bind it, the document will be 
 easily readable.

Choose Document - Settings.

Choose Page Margins (in left list).

Uncheck Default Margins. Set any as desired.

Click Ok or Apply.

(Maybe the defaults are good enough already.)


Re: Setting page margins..

2010-03-04 Thread Jeremy C. Reed
 I have a problem with the definition of the page margins in a LyX 
 document.. In particular, I would like to create a book-style 
 document, where the internal margin is always a bit bigger the the 
 external one so that once I print and bind it, the document will be 
 easily readable.

Choose Document - Settings.

Choose Page Margins (in left list).

Uncheck Default Margins. Set any as desired.

Click Ok or Apply.

(Maybe the defaults are good enough already.)


Re: Setting page margins..

2010-03-04 Thread Jeremy C. Reed
> I have a problem with the definition of the page margins in a LyX 
> document.. In particular, I would like to create a book-style 
> document, where the internal margin is always a bit bigger the the 
> external one so that once I print and bind it, the document will be 
> easily readable.

Choose Document -> Settings.

Choose "Page Margins" (in left list).

Uncheck "Default Margins". Set any as desired.

Click Ok or Apply.

(Maybe the defaults are good enough already.)


pkg/42449: pkgsrc-built LyX uses unusable font on Red Hat (fwd)

2009-12-14 Thread Jeremy C. Reed
Anyone recognize this problem in this bug report?
http://www.netbsd.org/cgi-bin/query-pr-single.pl?number=42449
(A screenshot is linked from there too.)

Using wrong fonts for menu and introductory graphic.


pkg/42449: pkgsrc-built LyX uses unusable font on Red Hat (fwd)

2009-12-14 Thread Jeremy C. Reed
Anyone recognize this problem in this bug report?
http://www.netbsd.org/cgi-bin/query-pr-single.pl?number=42449
(A screenshot is linked from there too.)

Using wrong fonts for menu and introductory graphic.


pkg/42449: pkgsrc-built LyX uses unusable font on Red Hat (fwd)

2009-12-14 Thread Jeremy C. Reed
Anyone recognize this problem in this bug report?
http://www.netbsd.org/cgi-bin/query-pr-single.pl?number=42449
(A screenshot is linked from there too.)

Using wrong fonts for menu and introductory graphic.


Re: LaTeX line length formatting

2009-12-03 Thread Jeremy C. Reed
On Tue, 22 Sep 2009, Jeremy C. Reed wrote:

 I am looking for a tool that will fold or format long LaTeX lines. It 
 will need to know LaTeX, so it doesn't break commands or environments. 
 (Examples: will properly handle % comments and not split a long 
 \includegraphics filename.)

So I never found this.

So I always thought that LyX did a good job at this folding long lines 
into multiple lines -- my many .lyx documents show this. But then today 
I looked at a document (#LyX file created by tex2lyx 1.6.2 and 
\lyxformat 247) and it had long lines. I opened it in LyX 1.6.4.1 and 
and LyX said:

Warning: #LyX file created by tex2lyx 1.6.2

Why the warning?

When I saved it, it folded the long lines (which is what I wanted 
because I want diffs to be readable).

So I am using LyX for this project. (I was going to try Kile but it 
chopped and created broken LaTeX when it shortened lines.)

Thanks again to LyX!


Re: LaTeX line length formatting

2009-12-03 Thread Jeremy C. Reed
On Tue, 22 Sep 2009, Jeremy C. Reed wrote:

 I am looking for a tool that will fold or format long LaTeX lines. It 
 will need to know LaTeX, so it doesn't break commands or environments. 
 (Examples: will properly handle % comments and not split a long 
 \includegraphics filename.)

So I never found this.

So I always thought that LyX did a good job at this folding long lines 
into multiple lines -- my many .lyx documents show this. But then today 
I looked at a document (#LyX file created by tex2lyx 1.6.2 and 
\lyxformat 247) and it had long lines. I opened it in LyX 1.6.4.1 and 
and LyX said:

Warning: #LyX file created by tex2lyx 1.6.2

Why the warning?

When I saved it, it folded the long lines (which is what I wanted 
because I want diffs to be readable).

So I am using LyX for this project. (I was going to try Kile but it 
chopped and created broken LaTeX when it shortened lines.)

Thanks again to LyX!


Re: LaTeX line length formatting

2009-12-03 Thread Jeremy C. Reed
On Tue, 22 Sep 2009, Jeremy C. Reed wrote:

> I am looking for a tool that will fold or format long LaTeX lines. It 
> will need to know LaTeX, so it doesn't break commands or environments. 
> (Examples: will properly handle % comments and not split a long 
> \includegraphics filename.)

So I never found this.

So I always thought that LyX did a good job at this folding long lines 
into multiple lines -- my many .lyx documents show this. But then today 
I looked at a document ("#LyX file created by tex2lyx 1.6.2" and 
"\lyxformat 247") and it had long lines. I opened it in LyX 1.6.4.1 and 
and LyX said:

Warning: #LyX file created by tex2lyx 1.6.2

Why the warning?

When I saved it, it folded the long lines (which is what I wanted 
because I want diffs to be readable).

So I am using LyX for this project. (I was going to try Kile but it 
chopped and created broken LaTeX when it shortened lines.)

Thanks again to LyX!


finding some classes and styles

2009-10-16 Thread Jeremy C. Reed
Installing lyx created:

/usr/pkg/share/lyx/tex/broadway.cls
/usr/pkg/share/lyx/tex/hollywood.cls
/usr/pkg/share/lyx/tex/lyxchess.sty
/usr/pkg/share/lyx/tex/lyxskak.sty
/usr/pkg/share/lyx/tex/revtex.cls
/usr/pkg/share/lyx/layouts/broadway.layout
/usr/pkg/share/lyx/layouts/hollywood.layout
/usr/pkg/share/lyx/layouts/revtex.layout
/usr/pkg/share/lyx/layouts/revtex4.layout

When I do a ktrace of lyx and a reconfigure I don't see it ever look in 
/usr/pkg/share/lyx/tex/.

Broadway is marked unavailable. When I choose it anyways, it says it 
can't find its style related to the layout file. ktrace doesn't seem to 
show me where it is looking.

Any ideas on how to configure lyx at built time so these are recognized?







finding some classes and styles

2009-10-16 Thread Jeremy C. Reed
Installing lyx created:

/usr/pkg/share/lyx/tex/broadway.cls
/usr/pkg/share/lyx/tex/hollywood.cls
/usr/pkg/share/lyx/tex/lyxchess.sty
/usr/pkg/share/lyx/tex/lyxskak.sty
/usr/pkg/share/lyx/tex/revtex.cls
/usr/pkg/share/lyx/layouts/broadway.layout
/usr/pkg/share/lyx/layouts/hollywood.layout
/usr/pkg/share/lyx/layouts/revtex.layout
/usr/pkg/share/lyx/layouts/revtex4.layout

When I do a ktrace of lyx and a reconfigure I don't see it ever look in 
/usr/pkg/share/lyx/tex/.

Broadway is marked unavailable. When I choose it anyways, it says it 
can't find its style related to the layout file. ktrace doesn't seem to 
show me where it is looking.

Any ideas on how to configure lyx at built time so these are recognized?







finding some classes and styles

2009-10-16 Thread Jeremy C. Reed
Installing lyx created:

/usr/pkg/share/lyx/tex/broadway.cls
/usr/pkg/share/lyx/tex/hollywood.cls
/usr/pkg/share/lyx/tex/lyxchess.sty
/usr/pkg/share/lyx/tex/lyxskak.sty
/usr/pkg/share/lyx/tex/revtex.cls
/usr/pkg/share/lyx/layouts/broadway.layout
/usr/pkg/share/lyx/layouts/hollywood.layout
/usr/pkg/share/lyx/layouts/revtex.layout
/usr/pkg/share/lyx/layouts/revtex4.layout

When I do a ktrace of lyx and a reconfigure I don't see it ever look in 
/usr/pkg/share/lyx/tex/.

Broadway is marked unavailable. When I choose it anyways, it says it 
can't find its style related to the layout file. ktrace doesn't seem to 
show me where it is looking.

Any ideas on how to configure lyx at built time so these are recognized?







LaTeX line length formatting

2009-09-22 Thread Jeremy C. Reed
I am looking for a tool that will fold or format long LaTeX lines. It 
will need to know LaTeX, so it doesn't break commands or environments. 
(Examples: will properly handle % comments and not split a long 
\includegraphics filename.)

It would be great if the tool can be used non-interactively, such as 
piped on the Unix command line. Like a LaTeX knowledgable fmt or fold.

The reason I need this is that I read diffs of some LaTeX files and I 
don't want to see a diff of 80 word or 500 character lines (multiple 
sentences). By shortening lines, diffs are more manageable.

(On that note, I know some use a % comment on a new line in between 
every sentence -- the paragraph renders together, but diffs are easier 
to read. Can LaTeX export like that?)

I did look at and try LaTeXTidy.pl, but it doesn't do what I want.

Does LyX include any code or scripts that can be reused for that? It 
looks like LyX's LaTeX export formats nicely.

Or do you know of any tools for this?

Thanks


LaTeX line length formatting

2009-09-22 Thread Jeremy C. Reed
I am looking for a tool that will fold or format long LaTeX lines. It 
will need to know LaTeX, so it doesn't break commands or environments. 
(Examples: will properly handle % comments and not split a long 
\includegraphics filename.)

It would be great if the tool can be used non-interactively, such as 
piped on the Unix command line. Like a LaTeX knowledgable fmt or fold.

The reason I need this is that I read diffs of some LaTeX files and I 
don't want to see a diff of 80 word or 500 character lines (multiple 
sentences). By shortening lines, diffs are more manageable.

(On that note, I know some use a % comment on a new line in between 
every sentence -- the paragraph renders together, but diffs are easier 
to read. Can LaTeX export like that?)

I did look at and try LaTeXTidy.pl, but it doesn't do what I want.

Does LyX include any code or scripts that can be reused for that? It 
looks like LyX's LaTeX export formats nicely.

Or do you know of any tools for this?

Thanks


LaTeX line length formatting

2009-09-22 Thread Jeremy C. Reed
I am looking for a tool that will fold or format long LaTeX lines. It 
will need to know LaTeX, so it doesn't break commands or environments. 
(Examples: will properly handle % comments and not split a long 
\includegraphics filename.)

It would be great if the tool can be used non-interactively, such as 
piped on the Unix command line. Like a LaTeX knowledgable fmt or fold.

The reason I need this is that I read diffs of some LaTeX files and I 
don't want to see a diff of 80 word or 500 character lines (multiple 
sentences). By shortening lines, diffs are more manageable.

(On that note, I know some use a % comment on a new line in between 
every sentence -- the paragraph renders together, but diffs are easier 
to read. Can LaTeX export like that?)

I did look at and try LaTeXTidy.pl, but it doesn't do what I want.

Does LyX include any code or scripts that can be reused for that? It 
looks like LyX's LaTeX export formats nicely.

Or do you know of any tools for this?

Thanks


Re: koma-script v2 letter

2009-09-08 Thread Jeremy
On Tuesday 08 September 2009, Iain Mac Donald wrote:
 Hello Jean-Marie,
 
 On Tue, 08 Sep 2009 08:55:19 +0200
 
 Jean-Marie Pacquet j...@pacquet.net wrote:
  The figure 6.1 named Schematic of letter paper's pseudo lengths on
  page 170 of the KOMA-Script english manual (scrguien.pdf) is your
  best friend.
  You can change firstheadwidth, firstfootwidth and refwidth in the lco
  file and adapt them to your needs.
 
 Thanks for the reply.
 
 I have scrguien.pdf too (but my version has the schematic on page 185)
 and I note on page 201
 
 The simplest rule is as follows: either refhpos is left at null and so
 the width and alignment of the reference fields line are left to the
 option refline, or refwidth as well as refhpos are set by the user.
 
 Using this info I commented out refline and tried to set refwidth
 and refhpos. I edited the LyX template, LaTeX Preamble in the
 \KOMAoptions section and added my new info. However, I then get an error
 when creating a dvi.
 
 Package scrkbase Error: unknown KOMA option `refwidth'.
 and
 the same for `refhpos'.
 
 Any further pointers would be appreciated.
 
 Regards,
 Iain.
 


Pseudolengths can only be set in .lco (letter class option) files, e.g.
\ProvidesFile{mylcofile.lco}[]
\...@setplength{refwidth}{6.5in}

Then you need to load the .lco file in your lyx preamble
\LoadLetterOption{mylcofile}
or alternatively if you used the \ProvidesFile{} method
just add myfilelco to your \documentclass[] options

which in lyx is found in

Document - Settings - ClassOptions - Custom


Re: koma-script v2 letter

2009-09-08 Thread Jeremy
On Tuesday 08 September 2009, Iain Mac Donald wrote:
 Hello Jean-Marie,
 
 On Tue, 08 Sep 2009 08:55:19 +0200
 
 Jean-Marie Pacquet j...@pacquet.net wrote:
  The figure 6.1 named Schematic of letter paper's pseudo lengths on
  page 170 of the KOMA-Script english manual (scrguien.pdf) is your
  best friend.
  You can change firstheadwidth, firstfootwidth and refwidth in the lco
  file and adapt them to your needs.
 
 Thanks for the reply.
 
 I have scrguien.pdf too (but my version has the schematic on page 185)
 and I note on page 201
 
 The simplest rule is as follows: either refhpos is left at null and so
 the width and alignment of the reference fields line are left to the
 option refline, or refwidth as well as refhpos are set by the user.
 
 Using this info I commented out refline and tried to set refwidth
 and refhpos. I edited the LyX template, LaTeX Preamble in the
 \KOMAoptions section and added my new info. However, I then get an error
 when creating a dvi.
 
 Package scrkbase Error: unknown KOMA option `refwidth'.
 and
 the same for `refhpos'.
 
 Any further pointers would be appreciated.
 
 Regards,
 Iain.
 


Pseudolengths can only be set in .lco (letter class option) files, e.g.
\ProvidesFile{mylcofile.lco}[]
\...@setplength{refwidth}{6.5in}

Then you need to load the .lco file in your lyx preamble
\LoadLetterOption{mylcofile}
or alternatively if you used the \ProvidesFile{} method
just add myfilelco to your \documentclass[] options

which in lyx is found in

Document - Settings - ClassOptions - Custom


Re: koma-script v2 letter

2009-09-08 Thread Jeremy
On Tuesday 08 September 2009, Iain Mac Donald wrote:
> Hello Jean-Marie,
> 
> On Tue, 08 Sep 2009 08:55:19 +0200
> 
> Jean-Marie Pacquet  wrote:
> > The figure 6.1 named "Schematic of letter paper's pseudo lengths" on
> > page 170 of the KOMA-Script english manual (scrguien.pdf) is your
> > best friend.
> > You can change firstheadwidth, firstfootwidth and refwidth in the lco
> > file and adapt them to your needs.
> 
> Thanks for the reply.
> 
> I have scrguien.pdf too (but my version has the schematic on page 185)
> and I note on page 201
> 
> "The simplest rule is as follows: either refhpos is left at null and so
> the width and alignment of the reference fields line are left to the
> option refline, or refwidth as well as refhpos are set by the user."
> 
> Using this info I commented out refline and tried to set refwidth
> and refhpos. I edited the LyX template, LaTeX Preamble in the
> \KOMAoptions section and added my new info. However, I then get an error
> when creating a dvi.
> 
> Package scrkbase Error: unknown KOMA option `refwidth'.
> and
> the same for `refhpos'.
> 
> Any further pointers would be appreciated.
> 
> Regards,
> Iain.
> 


Pseudolengths can only be set in .lco (letter class option) files, e.g.
\ProvidesFile{mylcofile.lco}[]
\...@setplength{refwidth}{6.5in}

Then you need to load the .lco file in your lyx preamble
\LoadLetterOption{mylcofile}
or alternatively if you used the \ProvidesFile{} method
just add myfilelco to your \documentclass[] options

which in lyx is found in

Document -> Settings -> ClassOptions -> Custom


Re: Documentation specifically for using KOMA Script with LyX?

2009-09-02 Thread Jeremy
On Wednesday 02 September 2009, Christian Ridderström wrote:
 On Tue, 1 Sep 2009, Jeremy wrote:
  Have you read the pdf documentation from the KOMA website? There is a
  German and English version available: scrguide.pdf scrguien.pdf
 
  Some documentation is only available from the latest KOMA guide book
  (available only in German)

 I'm reading a version of scrguien.pdf, but I still haven't figured out how
 to have multiple lines in my header and footer for instance. Any ideas?

 cheers
 /Christian


The German version scrguide.pdf is more up-to-date than the English 
scrguien.pdf.

If you want to modify the default header  footer, look into the commands
\firsthead 
\nexthead 
\firstfoot 
\nextfoot


For example, in the preamble of your lyx file 
add some code defining a header:

% Define some komavars
\setkomavar{fromphone}{123-456-7890}
\setkomavar{fromfax}{123-456-0987}
\setkomavar{fromurl}{http://www.myhomepage.com}
\setkomavar{fromemail}...@myhomepage}

% Define PATH
%\def\MYPATH{/usr/share/mytemplates}

% Now define \myletterhead
\def\FHW{\useplength{firstheadwidth}}
\newcommand{\myletterhead}{
   \parbox[t]{\FHW}{
  \begin{tabular}[...@{}l}
 %\includegraphics[width=\FHW]{logo.jpg}
 %\includegraphics[width=\FHW]{\MYPATH/Logos/logo.pdf}
 This is the first line of header.
  \end{tabular}
  \hfill
  % This is the next line of header
  {\footnotesize
 \definecolor{headercolor}{cmyk}{0.32549, 0.11373, 0, 0.23529, 0.39216}
 \color{headercolor}
 {Office:~\usekomavar{fromphone}} \hfill
 {Fax:~\usekomavar{fromfax}}   \hfill
 {Web:~\usekomavar{fromurl}}   \hfill
 {Email:~\usekomavar{fromemail}}
  }
   }
}
\firsthead{\usebox{\myletterhead}} %construct new koma \firsthead

We could also use saved boxes instead:
\firsthead{\usebox{\letterhead}} 

Then at top of your lyx document, you can insert some ERT code  to initialize 
your sbox letterhead:

\newsavebox{\letterhead}
\sbox{\letterhead}{\myletterhead}



Re: Documentation specifically for using KOMA Script with LyX?

2009-09-02 Thread Jeremy
On Wednesday 02 September 2009, Christian Ridderström wrote:
 On Tue, 1 Sep 2009, Jeremy wrote:
  Have you read the pdf documentation from the KOMA website? There is a
  German and English version available: scrguide.pdf scrguien.pdf
 
  Some documentation is only available from the latest KOMA guide book
  (available only in German)

 I'm reading a version of scrguien.pdf, but I still haven't figured out how
 to have multiple lines in my header and footer for instance. Any ideas?

 cheers
 /Christian


The German version scrguide.pdf is more up-to-date than the English 
scrguien.pdf.

If you want to modify the default header  footer, look into the commands
\firsthead 
\nexthead 
\firstfoot 
\nextfoot


For example, in the preamble of your lyx file 
add some code defining a header:

% Define some komavars
\setkomavar{fromphone}{123-456-7890}
\setkomavar{fromfax}{123-456-0987}
\setkomavar{fromurl}{http://www.myhomepage.com}
\setkomavar{fromemail}...@myhomepage}

% Define PATH
%\def\MYPATH{/usr/share/mytemplates}

% Now define \myletterhead
\def\FHW{\useplength{firstheadwidth}}
\newcommand{\myletterhead}{
   \parbox[t]{\FHW}{
  \begin{tabular}[...@{}l}
 %\includegraphics[width=\FHW]{logo.jpg}
 %\includegraphics[width=\FHW]{\MYPATH/Logos/logo.pdf}
 This is the first line of header.
  \end{tabular}
  \hfill
  % This is the next line of header
  {\footnotesize
 \definecolor{headercolor}{cmyk}{0.32549, 0.11373, 0, 0.23529, 0.39216}
 \color{headercolor}
 {Office:~\usekomavar{fromphone}} \hfill
 {Fax:~\usekomavar{fromfax}}   \hfill
 {Web:~\usekomavar{fromurl}}   \hfill
 {Email:~\usekomavar{fromemail}}
  }
   }
}
\firsthead{\usebox{\myletterhead}} %construct new koma \firsthead

We could also use saved boxes instead:
\firsthead{\usebox{\letterhead}} 

Then at top of your lyx document, you can insert some ERT code  to initialize 
your sbox letterhead:

\newsavebox{\letterhead}
\sbox{\letterhead}{\myletterhead}



Re: Documentation specifically for using KOMA Script with LyX?

2009-09-02 Thread Jeremy
On Wednesday 02 September 2009, Christian Ridderström wrote:
> On Tue, 1 Sep 2009, Jeremy wrote:
> > Have you read the pdf documentation from the KOMA website? There is a
> > German and English version available: scrguide.pdf scrguien.pdf
> >
> > Some documentation is only available from the latest KOMA guide book
> > (available only in German)
>
> I'm reading a version of scrguien.pdf, but I still haven't figured out how
> to have multiple lines in my header and footer for instance. Any ideas?
>
> cheers
> /Christian


The German version scrguide.pdf is more up-to-date than the English 
scrguien.pdf.

If you want to modify the default header & footer, look into the commands
\firsthead 
\nexthead 
\firstfoot 
\nextfoot


For example, in the preamble of your lyx file 
add some code defining a header:

% Define some komavars
\setkomavar{fromphone}{123-456-7890}
\setkomavar{fromfax}{123-456-0987}
\setkomavar{fromurl}{http://www.myhomepage.com}
\setkomavar{fromemail}...@myhomepage}

% Define PATH
%\def\MYPATH{/usr/share/mytemplates}

% Now define \myletterhead
\def\FHW{\useplength{firstheadwidth}}
\newcommand{\myletterhead}{
   \parbox[t]{\FHW}{
  \begin{tabular}[...@{}l}
 %\includegraphics[width=\FHW]{logo.jpg}
 %\includegraphics[width=\FHW]{\MYPATH/Logos/logo.pdf}
 This is the first line of header.
  \end{tabular}
  \hfill
  % This is the next line of header
  {\footnotesize
 \definecolor{headercolor}{cmyk}{0.32549, 0.11373, 0, 0.23529, 0.39216}
 \color{headercolor}
 {Office:~\usekomavar{fromphone}} \hfill
 {Fax:~\usekomavar{fromfax}}   \hfill
 {Web:~\usekomavar{fromurl}}   \hfill
 {Email:~\usekomavar{fromemail}}
  }
   }
}
\firsthead{\usebox{\myletterhead}} %construct new koma \firsthead

We could also use saved boxes instead:
\firsthead{\usebox{\letterhead}} 

Then at top of your lyx document, you can insert some ERT code  to initialize 
your sbox letterhead:

\newsavebox{\letterhead}
\sbox{\letterhead}{\myletterhead}



Re: Documentation specifically for using KOMA Script with LyX?

2009-09-01 Thread Jeremy
On Tuesday 01 September 2009, Christian Ridderström wrote:
 On Tue, 1 Sep 2009, Uwe Stöhr wrote:
  Christian Ridderström schrieb:
   I'm just wondering if there's any documentation that's specific to
  using KOMA Script document classes with LyX, which would be a good
  starting point instead of the regular KOMA Script documenation.
 
  The LyX UserGuide.lyx uses for example koma-skript.

 That helped a bit. Unfortunately I need to implement a corporate template,
 which means I need to use more than the standard stuff. So far I've found
 the KOMA-script documentation pretty poor.

 I'll look on the wiki, but if I don't find any examples there I'll add
 mine as I make some progress.

 regards
 /Christian

Have you read the pdf documentation from the KOMA website?
There is a German and English version available: 
scrguide.pdf  scrguien.pdf

Some documentation is only available from the latest KOMA guide book 
(available only in German)


Re: Documentation specifically for using KOMA Script with LyX?

2009-09-01 Thread Jeremy
On Tuesday 01 September 2009, Christian Ridderström wrote:
 On Tue, 1 Sep 2009, Uwe Stöhr wrote:
  Christian Ridderström schrieb:
   I'm just wondering if there's any documentation that's specific to
  using KOMA Script document classes with LyX, which would be a good
  starting point instead of the regular KOMA Script documenation.
 
  The LyX UserGuide.lyx uses for example koma-skript.

 That helped a bit. Unfortunately I need to implement a corporate template,
 which means I need to use more than the standard stuff. So far I've found
 the KOMA-script documentation pretty poor.

 I'll look on the wiki, but if I don't find any examples there I'll add
 mine as I make some progress.

 regards
 /Christian

Have you read the pdf documentation from the KOMA website?
There is a German and English version available: 
scrguide.pdf  scrguien.pdf

Some documentation is only available from the latest KOMA guide book 
(available only in German)


Re: Documentation specifically for using KOMA Script with LyX?

2009-09-01 Thread Jeremy
On Tuesday 01 September 2009, Christian Ridderström wrote:
> On Tue, 1 Sep 2009, Uwe Stöhr wrote:
> > Christian Ridderström schrieb:
> >>  I'm just wondering if there's any documentation that's specific to
> >> using KOMA Script document classes with LyX, which would be a good
> >> starting point instead of the regular KOMA Script documenation.
> >
> > The LyX UserGuide.lyx uses for example koma-skript.
>
> That helped a bit. Unfortunately I need to implement a corporate template,
> which means I need to use more than the standard stuff. So far I've found
> the KOMA-script documentation pretty poor.
>
> I'll look on the wiki, but if I don't find any examples there I'll add
> mine as I make some progress.
>
> regards
> /Christian

Have you read the pdf documentation from the KOMA website?
There is a German and English version available: 
scrguide.pdf  scrguien.pdf

Some documentation is only available from the latest KOMA guide book 
(available only in German)


index entry see also ?

2009-08-21 Thread Jeremy C. Reed
LaTeX has see for an index entry, but docbook has see and see also.

Any suggestions on how to get LyX or LaTeX to support a see also style 
index entry?

I believe that \seename can be redefined, but I may want both.

Something like:
\index{BSD|seealso{Berkeley Unix}}


index entry see also ?

2009-08-21 Thread Jeremy C. Reed
LaTeX has see for an index entry, but docbook has see and see also.

Any suggestions on how to get LyX or LaTeX to support a see also style 
index entry?

I believe that \seename can be redefined, but I may want both.

Something like:
\index{BSD|seealso{Berkeley Unix}}


index entry "see also" ?

2009-08-21 Thread Jeremy C. Reed
LaTeX has "see" for an index entry, but docbook has "see" and "see also".

Any suggestions on how to get LyX or LaTeX to support a "see also" style 
index entry?

I believe that \seename can be redefined, but I may want both.

Something like:
\index{BSD|seealso{Berkeley Unix}}


Re: How to embed a spreadsheet in LyX or LaTeX?

2009-08-12 Thread Jeremy
On Wednesday 12 August 2009, Les Denham wrote:
 On Wednesday 12 August 2009, Paul A. Rubin wrote:
  Dynamic link (user sees a table in the LyX doc, and can interact
  with it, making changes in the spreadsheet).  This would typically occur
  with the user reading the finished product (PDF, DVI) in a viewer, not
  reading it in LyX, so you get into issues of whether the viewer program
  supports this sort of embedding.  For instance, if you export the
  document in HTML and view it in a browser, I think there are browser
  plugins that let you edit a spreadsheet in situ (although I confess I've
  never done it).

 This kind of approach is possible in theory: for example, if you have a
 figure in LyX which is a Grace file, editing that file in Grace will change
 the figure in Lyx immediately.  That is not the same as just editing an
 image: the Grace file is actually displayed in LyX using Grace in a command
 line mode.

 The problem with a spreadsheet is that Excel does not (as far as I know)
 have a command line interface.  Neither does OpenOffice.org.  Gnumeric has
 a Python API which might be usable, but I haven't tried it.  The best
 possibility I'm aware of is the Perl module XLSperl
 (http://search.cpan.org/~jonallen/XLSperl-0.7/bin/XLSperl) which could be
 used to build an image from specified sheet, rows and columns. Once you
 have done this, the Perl script could be used in a converter (XLS-EPS, for
 example). But I don't think it would be a trivial task to do this.

If all you need is row+column data from an excel spreadsheet, you could also 
use the perl module Spreadsheet::ParseExcel
to parse the excel file, and then write the cells out in latex tabular format. 
Then just \input{exceltable.tex}. I've done something similar to generate 
longtables using excel data. Of course if you want charts, etc. from the excel 
file, that would be more difficult.

You could use something like the following perl code to parse your excel file 
and output a latex table:

#!/usr/bin/perl 

use strict; 

use warnings;   

#use Text::CSV; 

use Text::CSV_XS;   

use Spreadsheet::ParseExcel;


if($#ARGV!=1){  

   print Usage $0 excelfile outfile;  
 
   exit;

}   

my $file  = $ARGV[0];
my $ofile = $ARGV[1];
open (TEX, $ofile) or die $!;
 

my @fields;
process_xls();
close TEX
exit; 

# need to quote latex special characters
sub latexquote(){
   my $s=$_[0];  
   $s =~ s//\\/g;
   $s =~ s/#/\\#/g;
   $s =~ s/\$/\\\$/g;
   $s =~ s/%/\\%/g;  
   $s =~ s/{/\\{/g;  
   $s =~ s/}/\\}/g;  
   $s =~ s/_/\\_/g;  
   $s =~ s/\.\ /\.\\\ /g;
   return $s;
   1;
}

sub print_record()
{ 
   my $flds = $_[0];
   if(ref($flds) ne 'ARRAY' ) { die Expected array ref, not $flds\n; }
   #unless (@_ == 1  ref($flds) eq 'ARRAY') { die usage: 
print_record(array_ref)\n; }
   my $l...@$flds;  
 

   for(my $i=0; $i$len; $i++)
   { 
  print(TEX, \) if($i !=0); #Tab Character
  print(TEX, latexquote($flds-[$i]); 
   } print(TEX,  \n);  #End of Row   
}   

sub process_xls()
{
   my $oExcel = new Spreadsheet::ParseExcel;

   my $oBook = $oExcel-Parse($ARGV[0]);
   my($iR, $iC, $oWkS, $oWkC, $fld);
   print FILE  :, $oBook-{File} , \n;
   print COUNT :, $oBook-{SheetCount} , \n;

   print AUTHOR:, $oBook-{Author} , \n if defined $oBook-{Author};

   print(TEX, \\begin{tabular});
   #print {column formatting}
   #print column headings

   # Loop over sheets
   for(my $iSheet=0; $iSheet  $oBook-{SheetCount} ; $iSheet++)
   {
  $oWkS = $oBook-{Worksheet}[$iSheet]; 
  print - SHEET:, $oWkS-{Name}, \n;

  # Loop over all 

Re: How to embed a spreadsheet in LyX or LaTeX?

2009-08-12 Thread Jeremy
On Wednesday 12 August 2009, Les Denham wrote:
 On Wednesday 12 August 2009, Paul A. Rubin wrote:
  Dynamic link (user sees a table in the LyX doc, and can interact
  with it, making changes in the spreadsheet).  This would typically occur
  with the user reading the finished product (PDF, DVI) in a viewer, not
  reading it in LyX, so you get into issues of whether the viewer program
  supports this sort of embedding.  For instance, if you export the
  document in HTML and view it in a browser, I think there are browser
  plugins that let you edit a spreadsheet in situ (although I confess I've
  never done it).

 This kind of approach is possible in theory: for example, if you have a
 figure in LyX which is a Grace file, editing that file in Grace will change
 the figure in Lyx immediately.  That is not the same as just editing an
 image: the Grace file is actually displayed in LyX using Grace in a command
 line mode.

 The problem with a spreadsheet is that Excel does not (as far as I know)
 have a command line interface.  Neither does OpenOffice.org.  Gnumeric has
 a Python API which might be usable, but I haven't tried it.  The best
 possibility I'm aware of is the Perl module XLSperl
 (http://search.cpan.org/~jonallen/XLSperl-0.7/bin/XLSperl) which could be
 used to build an image from specified sheet, rows and columns. Once you
 have done this, the Perl script could be used in a converter (XLS-EPS, for
 example). But I don't think it would be a trivial task to do this.

If all you need is row+column data from an excel spreadsheet, you could also 
use the perl module Spreadsheet::ParseExcel
to parse the excel file, and then write the cells out in latex tabular format. 
Then just \input{exceltable.tex}. I've done something similar to generate 
longtables using excel data. Of course if you want charts, etc. from the excel 
file, that would be more difficult.

You could use something like the following perl code to parse your excel file 
and output a latex table:

#!/usr/bin/perl 

use strict; 

use warnings;   

#use Text::CSV; 

use Text::CSV_XS;   

use Spreadsheet::ParseExcel;


if($#ARGV!=1){  

   print Usage $0 excelfile outfile;  
 
   exit;

}   

my $file  = $ARGV[0];
my $ofile = $ARGV[1];
open (TEX, $ofile) or die $!;
 

my @fields;
process_xls();
close TEX
exit; 

# need to quote latex special characters
sub latexquote(){
   my $s=$_[0];  
   $s =~ s//\\/g;
   $s =~ s/#/\\#/g;
   $s =~ s/\$/\\\$/g;
   $s =~ s/%/\\%/g;  
   $s =~ s/{/\\{/g;  
   $s =~ s/}/\\}/g;  
   $s =~ s/_/\\_/g;  
   $s =~ s/\.\ /\.\\\ /g;
   return $s;
   1;
}

sub print_record()
{ 
   my $flds = $_[0];
   if(ref($flds) ne 'ARRAY' ) { die Expected array ref, not $flds\n; }
   #unless (@_ == 1  ref($flds) eq 'ARRAY') { die usage: 
print_record(array_ref)\n; }
   my $l...@$flds;  
 

   for(my $i=0; $i$len; $i++)
   { 
  print(TEX, \) if($i !=0); #Tab Character
  print(TEX, latexquote($flds-[$i]); 
   } print(TEX,  \n);  #End of Row   
}   

sub process_xls()
{
   my $oExcel = new Spreadsheet::ParseExcel;

   my $oBook = $oExcel-Parse($ARGV[0]);
   my($iR, $iC, $oWkS, $oWkC, $fld);
   print FILE  :, $oBook-{File} , \n;
   print COUNT :, $oBook-{SheetCount} , \n;

   print AUTHOR:, $oBook-{Author} , \n if defined $oBook-{Author};

   print(TEX, \\begin{tabular});
   #print {column formatting}
   #print column headings

   # Loop over sheets
   for(my $iSheet=0; $iSheet  $oBook-{SheetCount} ; $iSheet++)
   {
  $oWkS = $oBook-{Worksheet}[$iSheet]; 
  print - SHEET:, $oWkS-{Name}, \n;

  # Loop over all 

Re: How to embed a spreadsheet in LyX or LaTeX?

2009-08-12 Thread Jeremy
On Wednesday 12 August 2009, Les Denham wrote:
> On Wednesday 12 August 2009, Paul A. Rubin wrote:
> > Dynamic link (user sees a table in the LyX doc, and can interact
> > with it, making changes in the spreadsheet).  This would typically occur
> > with the user reading the finished product (PDF, DVI) in a viewer, not
> > reading it in LyX, so you get into issues of whether the viewer program
> > supports this sort of embedding.  For instance, if you export the
> > document in HTML and view it in a browser, I think there are browser
> > plugins that let you edit a spreadsheet in situ (although I confess I've
> > never done it).
>
> This kind of approach is possible in theory: for example, if you have a
> figure in LyX which is a Grace file, editing that file in Grace will change
> the figure in Lyx immediately.  That is not the same as just editing an
> image: the Grace file is actually displayed in LyX using Grace in a command
> line mode.
>
> The problem with a spreadsheet is that Excel does not (as far as I know)
> have a command line interface.  Neither does OpenOffice.org.  Gnumeric has
> a Python API which might be usable, but I haven't tried it.  The best
> possibility I'm aware of is the Perl module XLSperl
> (http://search.cpan.org/~jonallen/XLSperl-0.7/bin/XLSperl) which could be
> used to build an image from specified sheet, rows and columns. Once you
> have done this, the Perl script could be used in a converter (XLS->EPS, for
> example). But I don't think it would be a trivial task to do this.

If all you need is row+column data from an excel spreadsheet, you could also 
use the perl module Spreadsheet::ParseExcel
to parse the excel file, and then write the cells out in latex tabular format. 
Then just \input{exceltable.tex}. I've done something similar to generate 
longtables using excel data. Of course if you want charts, etc. from the excel 
file, that would be more difficult.

You could use something like the following perl code to parse your excel file 
and output a latex table:

#!/usr/bin/perl 

use strict; 

use warnings;   

#use Text::CSV; 

use Text::CSV_XS;   

use Spreadsheet::ParseExcel;


if($#ARGV!=1){  

   print "Usage $0 excelfile outfile";  
 
   exit;

}   

my $file  = $ARGV[0];
my $ofile = $ARGV[1];
open (TEX, ">$ofile") or die $!;
 

my @fields;
_xls();
close TEX
exit; 

# need to quote latex special characters
sub latexquote(){
   my $s=$_[0];  
   $s =~ s/&/\\&/g;
   $s =~ s/#/\\#/g;
   $s =~ s/\$/\\\$/g;
   $s =~ s/%/\\%/g;  
   $s =~ s/{/\\{/g;  
   $s =~ s/}/\\}/g;  
   $s =~ s/_/\\_/g;  
   $s =~ s/\.\ /\.\\\ /g;
   return $s;
   1;
}

sub print_record()
{ 
   my $flds = $_[0];
   if(ref($flds) ne 'ARRAY' ) { die "Expected array ref, not $flds\n"; }
   #unless (@_ == 1 && ref($flds) eq 'ARRAY') { die "usage: 
print_record(array_ref)\n"; }
   my $l...@$flds;  
 

   for(my $i=0; $i<$len; $i++)
   { 
  print(TEX, "\&") if($i !=0); #Tab Character
  print(TEX, ($flds->[$i]); 
   } print(TEX, " \n");  #End of Row   
}   

sub process_xls()
{
   my $oExcel = new Spreadsheet::ParseExcel;

   my $oBook = $oExcel->Parse($ARGV[0]);
   my($iR, $iC, $oWkS, $oWkC, $fld);
   print "FILE  :", $oBook->{File} , "\n";
   print "COUNT :", $oBook->{SheetCount} , "\n";

   print "AUTHOR:", $oBook->{Author} , "\n" if defined $oBook->{Author};

   print(TEX, "\\begin{tabular}");
   #print {column formatting}
   #print column headings

   # Loop over sheets
   for(my $iSheet=0; $iSheet < $oBook->{SheetCount} ; $iSheet++)
   {
  $oWkS = $oBook->{Worksheet}[$iSheet]; 
  print "- SHEET:", $oWkS->{Name}, "\n";

Re: LyX and LaTeX?????, LyX y LaTeX?????

2009-07-30 Thread Jeremy
On Thursday 30 July 2009, Siegfried Meunier-Guttin-Cluzel wrote:
  My problem is that the file does not load completely

 Did you try to look at the LaTeX code ( Visualize - Show LaTeX Code )
 to see where LyX stops the import ?
 Alternatively, try to export back to see where the import stops.

 Siegfried.


Have you tried manually converting the latex to lyx?
Copy and delete everything from your latex file starting from the top down to 
the \begin{document}
Save this to a new file, eg. preamble.tex

Comment out the main document class:
%\usepackage[options]{someclass}
Also comment out other packages which conflict with lyx, eg. setspace, xcolor, 
etc.

Now create a new lyx file, and input your latex preamble under
Document - Settings - LaTeXPreamble
\input{/path/to/preamble.tex}

Also set any custom class options under Document - DocumentClass
e.g. dvipsnames, x11names, svgnames (for the xcolor package)

Finally import your original latex (lacking the preamble)

Then use a lyx converter to compile your lyx. If you get any errors, look 
through the log to find any errors in your preamble.tex. If there's a package 
that conflicts with lyx, then comment it out. Try again.


Re: LyX and LaTeX?????, LyX y LaTeX?????

2009-07-30 Thread Jeremy
On Thursday 30 July 2009, Siegfried Meunier-Guttin-Cluzel wrote:
  My problem is that the file does not load completely

 Did you try to look at the LaTeX code ( Visualize - Show LaTeX Code )
 to see where LyX stops the import ?
 Alternatively, try to export back to see where the import stops.

 Siegfried.


Have you tried manually converting the latex to lyx?
Copy and delete everything from your latex file starting from the top down to 
the \begin{document}
Save this to a new file, eg. preamble.tex

Comment out the main document class:
%\usepackage[options]{someclass}
Also comment out other packages which conflict with lyx, eg. setspace, xcolor, 
etc.

Now create a new lyx file, and input your latex preamble under
Document - Settings - LaTeXPreamble
\input{/path/to/preamble.tex}

Also set any custom class options under Document - DocumentClass
e.g. dvipsnames, x11names, svgnames (for the xcolor package)

Finally import your original latex (lacking the preamble)

Then use a lyx converter to compile your lyx. If you get any errors, look 
through the log to find any errors in your preamble.tex. If there's a package 
that conflicts with lyx, then comment it out. Try again.


Re: LyX and LaTeX?????, LyX y LaTeX?????

2009-07-30 Thread Jeremy
On Thursday 30 July 2009, Siegfried Meunier-Guttin-Cluzel wrote:
> > My problem is that the file does not load completely
>
> Did you try to look at the LaTeX code ( Visualize -> Show LaTeX Code )
> to see where LyX stops the import ?
> Alternatively, try to export back to see where the import stops.
>
> Siegfried.


Have you tried manually converting the latex to lyx?
Copy and delete everything from your latex file starting from the top down to 
the \begin{document}
Save this to a new file, eg. preamble.tex

Comment out the main document class:
%\usepackage[options]{someclass}
Also comment out other packages which conflict with lyx, eg. setspace, xcolor, 
etc.

Now create a new lyx file, and input your latex preamble under
Document -> Settings -> LaTeXPreamble
\input{/path/to/preamble.tex}

Also set any custom class options under Document -> DocumentClass
e.g. dvipsnames, x11names, svgnames (for the xcolor package)

Finally import your original latex (lacking the preamble)

Then use a lyx converter to compile your lyx. If you get any errors, look 
through the log to find any errors in your preamble.tex. If there's a package 
that conflicts with lyx, then comment it out. Try again.


Re: lyx + pstricks - pdf

2009-07-17 Thread Jeremy
On Friday 10 July 2009, Jeremy wrote:
 I would like to add to my letters a signature created with inkscape from a
 scanned png and converted to a path and saved as a pstricks .tex file.

 So in my .lyx file I have
 \begin{document}
 \newsavebox{\mysignature}
 \sbox{\mysignature}{\input{./mysignature.tex}}
 . . .
 \begin{minipage}[pos]{width}
 \closingphrase
\vspace{.6in} \\
\begin{textblock*}{2.5in}[0,1](0pt,0pt)
   \usebox{\mysignature}
\end{textblock*}
 My Typed Name
 \end{minipage}

 The above works just fine with lyx for dvi and ps output.
 But I can't generate pdf.

 In order to directly generate pdfs I need to include in my preamble
 \usepackage{auto-pst-pdf}

 and convert to pdf using
 pdflatex --shell-escape file.tex

 However, lyx does not allow me to change or add options to the pdflatex
 converter.

I finally got this to work.
I added the option --shell-escape to the LaTeX (pdflatex) - PDF(pdflatex) and 
clicked modfiy
but when I clicked on the pdf button to regenerate and view the pdf, the 
pstricks logo was missing, but it was visible in the dvi and ps views.

I then clicked on View - PDF(ps2pdf) and the resulting pdf did show the 
pstricks logo. However, my envelopes were rotated to landscape view.

So I then added the auto-pst-pdf option -dAutoRotatePages=/None
\usepackage[ps2pdf={-dAutoRotatePages=/None}]{auto-pst-pdf}

but the envelopes were still rotated to landscape.

So I then changed the converter for Postscript - PDF (ps2pdf)
Converter: ps2pdf13 -dAutoRotatePages=/None $$i $$o

Now I can generate letters+envelopes in pdf format with included pstricks 
logos/signatures.



Re: lyx + pstricks - pdf

2009-07-17 Thread Jeremy
On Friday 10 July 2009, Jeremy wrote:
 I would like to add to my letters a signature created with inkscape from a
 scanned png and converted to a path and saved as a pstricks .tex file.

 So in my .lyx file I have
 \begin{document}
 \newsavebox{\mysignature}
 \sbox{\mysignature}{\input{./mysignature.tex}}
 . . .
 \begin{minipage}[pos]{width}
 \closingphrase
\vspace{.6in} \\
\begin{textblock*}{2.5in}[0,1](0pt,0pt)
   \usebox{\mysignature}
\end{textblock*}
 My Typed Name
 \end{minipage}

 The above works just fine with lyx for dvi and ps output.
 But I can't generate pdf.

 In order to directly generate pdfs I need to include in my preamble
 \usepackage{auto-pst-pdf}

 and convert to pdf using
 pdflatex --shell-escape file.tex

 However, lyx does not allow me to change or add options to the pdflatex
 converter.

I finally got this to work.
I added the option --shell-escape to the LaTeX (pdflatex) - PDF(pdflatex) and 
clicked modfiy
but when I clicked on the pdf button to regenerate and view the pdf, the 
pstricks logo was missing, but it was visible in the dvi and ps views.

I then clicked on View - PDF(ps2pdf) and the resulting pdf did show the 
pstricks logo. However, my envelopes were rotated to landscape view.

So I then added the auto-pst-pdf option -dAutoRotatePages=/None
\usepackage[ps2pdf={-dAutoRotatePages=/None}]{auto-pst-pdf}

but the envelopes were still rotated to landscape.

So I then changed the converter for Postscript - PDF (ps2pdf)
Converter: ps2pdf13 -dAutoRotatePages=/None $$i $$o

Now I can generate letters+envelopes in pdf format with included pstricks 
logos/signatures.



Re: lyx + pstricks -> pdf

2009-07-17 Thread Jeremy
On Friday 10 July 2009, Jeremy wrote:
> I would like to add to my letters a signature created with inkscape from a
> scanned png and converted to a path and saved as a pstricks .tex file.
>
> So in my .lyx file I have
> \begin{document}
> \newsavebox{\mysignature}
> \sbox{\mysignature}{\input{./mysignature.tex}}
> . . .
> \begin{minipage}[pos]{width}
> \closingphrase
>\vspace{.6in} \\
>\begin{textblock*}{2.5in}[0,1](0pt,0pt)
>   \usebox{\mysignature}
>\end{textblock*}
> My Typed Name
> \end{minipage}
>
> The above works just fine with lyx for dvi and ps output.
> But I can't generate pdf.
>
> In order to directly generate pdfs I need to include in my preamble
> \usepackage{auto-pst-pdf}
>
> and convert to pdf using
> pdflatex --shell-escape file.tex
>
> However, lyx does not allow me to change or add options to the pdflatex
> converter.

I finally got this to work.
I added the option --shell-escape to the LaTeX (pdflatex) -> PDF(pdflatex) and 
clicked "modfiy"
but when I clicked on the pdf button to regenerate and view the pdf, the 
pstricks logo was missing, but it was visible in the dvi and ps views.

I then clicked on "View -> PDF(ps2pdf)" and the resulting pdf did show the 
pstricks logo. However, my envelopes were rotated to landscape view.

So I then added the auto-pst-pdf option -dAutoRotatePages=/None
\usepackage[ps2pdf={-dAutoRotatePages=/None}]{auto-pst-pdf}

but the envelopes were still rotated to landscape.

So I then changed the converter for "Postscript -> PDF (ps2pdf)"
Converter: "ps2pdf13 -dAutoRotatePages=/None $$i $$o"

Now I can generate letters+envelopes in pdf format with included pstricks 
logos/signatures.



Re: Source code highlighting and indentation

2009-05-02 Thread Jeremy C. Reed
I have used the listings package. It probably knows ada. (I haven't used 
it with lyx though, just with latex.)


Re: Source code highlighting and indentation

2009-05-02 Thread Jeremy C. Reed
I have used the listings package. It probably knows ada. (I haven't used 
it with lyx though, just with latex.)


Re: Source code highlighting and indentation

2009-05-02 Thread Jeremy C. Reed
I have used the "listings" package. It probably knows ada. (I haven't used 
it with lyx though, just with latex.)


Re: similar typeface for monospaced and proportional?

2009-04-14 Thread Jeremy C. Reed
On Tue, 14 Apr 2009, Guenter Milde wrote:

 On 2009-04-11, Jeremy C. Reed wrote:
 
  Or is there a way to tell TeX to use a proportional typeface but force it 
  to use a fixed width so it will line up?
 
 The listings package has such an option. (Read its documentation.)

Thank you. I now scanned through the entire The Listings Package 
documentation. This appears to work for me. The default is to use the 
already defined font.

So I have:

\usepackage{listings}
\lstset{
columns=fixed
}

(I am not sure what the default is for columns, and didn't test others.)

But now document (the final PDF) has:
11Command invalid in math modeCommand invalid in math mode

Doesn't say what command. And nothing about this in my my latex logging.

I can reproduce this when I have two listlisting blocks that define a 
custom basicstyle. So my workaround is to simply change one of them to:

\begin{lstlisting}{basicstyle=\footnotesize}
to:
\begin{lstlisting}

But I need to reduce the size so a line doesn't wrap. Unless I can figure 
out how to increase the margin or get the text to not wrap.

Any thoughts on how to turn off any math mode or other?

Thanks again for pointing me to use listings package. Now the font looks 
correct and is still spaced accordingly.


  Jeremy C. Reed

echo 'EhZ[h ^jjf0%%h[[Zc[Z_W$d[j%Xeeai%ZW[ced#]dk#f[d]k_d%' | \
  tr'#-~''\-.-{'



Re: similar typeface for monospaced and proportional?

2009-04-14 Thread Jeremy C. Reed
On Tue, 14 Apr 2009, Guenter Milde wrote:

 On 2009-04-11, Jeremy C. Reed wrote:
 
  Or is there a way to tell TeX to use a proportional typeface but force it 
  to use a fixed width so it will line up?
 
 The listings package has such an option. (Read its documentation.)

Thank you. I now scanned through the entire The Listings Package 
documentation. This appears to work for me. The default is to use the 
already defined font.

So I have:

\usepackage{listings}
\lstset{
columns=fixed
}

(I am not sure what the default is for columns, and didn't test others.)

But now document (the final PDF) has:
11Command invalid in math modeCommand invalid in math mode

Doesn't say what command. And nothing about this in my my latex logging.

I can reproduce this when I have two listlisting blocks that define a 
custom basicstyle. So my workaround is to simply change one of them to:

\begin{lstlisting}{basicstyle=\footnotesize}
to:
\begin{lstlisting}

But I need to reduce the size so a line doesn't wrap. Unless I can figure 
out how to increase the margin or get the text to not wrap.

Any thoughts on how to turn off any math mode or other?

Thanks again for pointing me to use listings package. Now the font looks 
correct and is still spaced accordingly.


  Jeremy C. Reed

echo 'EhZ[h ^jjf0%%h[[Zc[Z_W$d[j%Xeeai%ZW[ced#]dk#f[d]k_d%' | \
  tr'#-~''\-.-{'



Re: similar typeface for monospaced and proportional?

2009-04-14 Thread Jeremy C. Reed
On Tue, 14 Apr 2009, Guenter Milde wrote:

> On 2009-04-11, Jeremy C. Reed wrote:
> 
> > Or is there a way to tell TeX to use a proportional typeface but force it 
> > to use a fixed width so it will line up?
> 
> The listings package has such an option. (Read its documentation.)

Thank you. I now scanned through the entire "The Listings Package" 
documentation. This appears to work for me. The default is to use the 
already defined font.

So I have:

\usepackage{listings}
\lstset{
columns=fixed
}

(I am not sure what the default is for columns, and didn't test others.)

But now document (the final PDF) has:
11Command invalid in math modeCommand invalid in math mode

Doesn't say what command. And nothing about this in my my latex logging.

I can reproduce this when I have two listlisting blocks that define a 
custom basicstyle. So my workaround is to simply change one of them to:

\begin{lstlisting}{basicstyle=\footnotesize}
to:
\begin{lstlisting}

But I need to reduce the size so a line doesn't wrap. Unless I can figure 
out how to increase the margin or get the text to not wrap.

Any thoughts on how to turn off any math mode or other?

Thanks again for pointing me to use listings package. Now the font looks 
correct and is still spaced accordingly.


  Jeremy C. Reed

echo 'EhZ[h ^jjf0%%h[[Zc[Z_W$d[j%Xeeai%ZW[ced#]dk#f[d]k_d%' | \
  tr'#-~''\-.-{'



similar typeface for monospaced and proportional?

2009-04-11 Thread Jeremy C. Reed
I am looking for some typeface that looks the same for both monospaced and 
proportional. I have a document with a mix of fixed width text that is to 
be lined up (verbatim environment). I'd prefer to not use tables to line 
up the content.

I want that font to look the same as the other variable-width fonts -- 
with the main difference just the spacing between the type. Currently 
there is a significant visible difference -- I am hoping it will be more 
similar.

Any suggestions for a typeface that looks very close to the same for both 
fixed width and variable width?

Or is there a way to tell TeX to use a proportional typeface but force it 
to use a fixed width so it will line up?

Currently, I am using
% for palatino font
\usepackage{mathpazo}
\usepackage[T1]{fontenc}
\usepackage{t1enc}
\usepackage{microtype}
and verbatim environments.

The fonts used are:

name type  emb sub uni object ID
 - --- --- --- -
LRUUGQ+URWPalladioL-Roma Type 1yes yes no   6  0
[none]   Type 3yes no  no   7  0
ARWHNO+CMSY10Type 1yes yes no  14  0
[none]   Type 3yes no  no  18  0
[none]   Type 3yes no  no  19  0
[none]   Type 3yes no  no  23  0
JAFOHT+URWPalladioL-Roma-Slant_167   Type 1yes yes no  54  0
UBBDOK+URWPalladioL-Roma-Extend_1020 Type 1yes yes no  57  0
PHLRTI+URWPalladioL-Roma-Extend_988  Type 1yes yes no  60  0
RXKJGH+URWPalladioL-Roma-Extend_980  Type 1yes yes no  63  0
VVGSKL+URWPalladioL-Roma-Extend_996  Type 1yes yes no  66  0
[none]   Type 3yes no  no  71  0
UYLLUF+URWPalladioL-Roma-Extend_1004 Type 1yes yes no  74  0
MXTISL+URWPalladioL-Roma-Extend_992  Type 1yes yes no  77  0
OSCZAI+URWPalladioL-Roma-Extend_1008 Type 1yes yes no  89  0
DZEPRE+URWPalladioL-Roma-Extend_1012 Type 1yes yes no  92  0
PDCOGY+URWPalladioL-Bold Type 1yes yes no  98  0
QBSUBD+URWPalladioL-Roma-Extend_1016 Type 1yes yes no 104  0
EIJDSS+URWPalladioL-Roma-Extend_984  Type 1yes yes no 111  0
[none]   Type 3yes no  no 112  0
[none]   Type 3yes no  no 166  0
ORRXDO+URWPalladioL-Ital Type 1yes yes no1423  0
AXBKIS+URWPalladioL-Ital-Extend_980  Type 1yes yes no1426  0

(I don't know what none is.)



similar typeface for monospaced and proportional?

2009-04-11 Thread Jeremy C. Reed
I am looking for some typeface that looks the same for both monospaced and 
proportional. I have a document with a mix of fixed width text that is to 
be lined up (verbatim environment). I'd prefer to not use tables to line 
up the content.

I want that font to look the same as the other variable-width fonts -- 
with the main difference just the spacing between the type. Currently 
there is a significant visible difference -- I am hoping it will be more 
similar.

Any suggestions for a typeface that looks very close to the same for both 
fixed width and variable width?

Or is there a way to tell TeX to use a proportional typeface but force it 
to use a fixed width so it will line up?

Currently, I am using
% for palatino font
\usepackage{mathpazo}
\usepackage[T1]{fontenc}
\usepackage{t1enc}
\usepackage{microtype}
and verbatim environments.

The fonts used are:

name type  emb sub uni object ID
 - --- --- --- -
LRUUGQ+URWPalladioL-Roma Type 1yes yes no   6  0
[none]   Type 3yes no  no   7  0
ARWHNO+CMSY10Type 1yes yes no  14  0
[none]   Type 3yes no  no  18  0
[none]   Type 3yes no  no  19  0
[none]   Type 3yes no  no  23  0
JAFOHT+URWPalladioL-Roma-Slant_167   Type 1yes yes no  54  0
UBBDOK+URWPalladioL-Roma-Extend_1020 Type 1yes yes no  57  0
PHLRTI+URWPalladioL-Roma-Extend_988  Type 1yes yes no  60  0
RXKJGH+URWPalladioL-Roma-Extend_980  Type 1yes yes no  63  0
VVGSKL+URWPalladioL-Roma-Extend_996  Type 1yes yes no  66  0
[none]   Type 3yes no  no  71  0
UYLLUF+URWPalladioL-Roma-Extend_1004 Type 1yes yes no  74  0
MXTISL+URWPalladioL-Roma-Extend_992  Type 1yes yes no  77  0
OSCZAI+URWPalladioL-Roma-Extend_1008 Type 1yes yes no  89  0
DZEPRE+URWPalladioL-Roma-Extend_1012 Type 1yes yes no  92  0
PDCOGY+URWPalladioL-Bold Type 1yes yes no  98  0
QBSUBD+URWPalladioL-Roma-Extend_1016 Type 1yes yes no 104  0
EIJDSS+URWPalladioL-Roma-Extend_984  Type 1yes yes no 111  0
[none]   Type 3yes no  no 112  0
[none]   Type 3yes no  no 166  0
ORRXDO+URWPalladioL-Ital Type 1yes yes no1423  0
AXBKIS+URWPalladioL-Ital-Extend_980  Type 1yes yes no1426  0

(I don't know what none is.)



similar typeface for monospaced and proportional?

2009-04-11 Thread Jeremy C. Reed
I am looking for some typeface that looks the same for both monospaced and 
proportional. I have a document with a mix of fixed width text that is to 
be lined up (verbatim environment). I'd prefer to not use tables to line 
up the content.

I want that font to look the same as the other variable-width fonts -- 
with the main difference just the spacing between the type. Currently 
there is a significant visible difference -- I am hoping it will be more 
similar.

Any suggestions for a typeface that looks very close to the same for both 
fixed width and variable width?

Or is there a way to tell TeX to use a proportional typeface but force it 
to use a fixed width so it will line up?

Currently, I am using
% for palatino font
\usepackage{mathpazo}
\usepackage[T1]{fontenc}
\usepackage{t1enc}
\usepackage{microtype}
and verbatim environments.

The fonts used are:

name type  emb sub uni object ID
 - --- --- --- -
LRUUGQ+URWPalladioL-Roma Type 1yes yes no   6  0
[none]   Type 3yes no  no   7  0
ARWHNO+CMSY10Type 1yes yes no  14  0
[none]   Type 3yes no  no  18  0
[none]   Type 3yes no  no  19  0
[none]   Type 3yes no  no  23  0
JAFOHT+URWPalladioL-Roma-Slant_167   Type 1yes yes no  54  0
UBBDOK+URWPalladioL-Roma-Extend_1020 Type 1yes yes no  57  0
PHLRTI+URWPalladioL-Roma-Extend_988  Type 1yes yes no  60  0
RXKJGH+URWPalladioL-Roma-Extend_980  Type 1yes yes no  63  0
VVGSKL+URWPalladioL-Roma-Extend_996  Type 1yes yes no  66  0
[none]   Type 3yes no  no  71  0
UYLLUF+URWPalladioL-Roma-Extend_1004 Type 1yes yes no  74  0
MXTISL+URWPalladioL-Roma-Extend_992  Type 1yes yes no  77  0
OSCZAI+URWPalladioL-Roma-Extend_1008 Type 1yes yes no  89  0
DZEPRE+URWPalladioL-Roma-Extend_1012 Type 1yes yes no  92  0
PDCOGY+URWPalladioL-Bold Type 1yes yes no  98  0
QBSUBD+URWPalladioL-Roma-Extend_1016 Type 1yes yes no 104  0
EIJDSS+URWPalladioL-Roma-Extend_984  Type 1yes yes no 111  0
[none]   Type 3yes no  no 112  0
[none]   Type 3yes no  no 166  0
ORRXDO+URWPalladioL-Ital Type 1yes yes no1423  0
AXBKIS+URWPalladioL-Ital-Extend_980  Type 1yes yes no1426  0

(I don't know what "none" is.)



Re: Anyone using LyX on FreeBSD?

2009-02-05 Thread Jeremy C. Reed
Well I don't often use LyX on FreeBSD, but when I did it behaved just the 
same as when I use it on Ubuntu or other Linux systems.

I primarily use LyX on NetBSD. (I help maintain the pkgsrc package for 
LyX. And I use NetBSD for my primary desktop for many years.)



Re: Anyone using LyX on FreeBSD?

2009-02-05 Thread Jeremy C. Reed
Well I don't often use LyX on FreeBSD, but when I did it behaved just the 
same as when I use it on Ubuntu or other Linux systems.

I primarily use LyX on NetBSD. (I help maintain the pkgsrc package for 
LyX. And I use NetBSD for my primary desktop for many years.)



Re: Anyone using LyX on FreeBSD?

2009-02-05 Thread Jeremy C. Reed
Well I don't often use LyX on FreeBSD, but when I did it behaved just the 
same as when I use it on Ubuntu or other Linux systems.

I primarily use LyX on NetBSD. (I help maintain the pkgsrc package for 
LyX. And I use NetBSD for my primary desktop for many years.)



Re: How to post reply?

2009-01-21 Thread Jeremy C. Reed
On Wed, 21 Jan 2009, Anders Host-Madsen wrote:

 Maybe this is not the right place to ask: I just don't understand how to 
 post replies to previous messages (including my own, and answers to my 
 questions) on this kind of mail forum. Could someone let me know where 
 to find help? I tried mailing lyx-users-h...@lists.lyx.org for help, but 
 it doesn't say how to post replies. Maybe that's too obvious?

If you are using email, then just click or choose Reply in your email 
client. Be sure to include the list itself (lyx-users) as a recipient if 
you want to reply to the list. Also be sure to never click reply to start 
a new topic (a new thread).


Re: How to post reply?

2009-01-21 Thread Jeremy C. Reed
On Wed, 21 Jan 2009, Anders Host-Madsen wrote:

 Maybe this is not the right place to ask: I just don't understand how to 
 post replies to previous messages (including my own, and answers to my 
 questions) on this kind of mail forum. Could someone let me know where 
 to find help? I tried mailing lyx-users-h...@lists.lyx.org for help, but 
 it doesn't say how to post replies. Maybe that's too obvious?

If you are using email, then just click or choose Reply in your email 
client. Be sure to include the list itself (lyx-users) as a recipient if 
you want to reply to the list. Also be sure to never click reply to start 
a new topic (a new thread).


Re: How to post reply?

2009-01-21 Thread Jeremy C. Reed
On Wed, 21 Jan 2009, Anders Host-Madsen wrote:

> Maybe this is not the right place to ask: I just don't understand how to 
> post replies to previous messages (including my own, and answers to my 
> questions) on this kind of mail forum. Could someone let me know where 
> to find help? I tried mailing lyx-users-h...@lists.lyx.org for help, but 
> it doesn't say how to post replies. Maybe that's too obvious?

If you are using email, then just click or choose "Reply" in your email 
client. Be sure to include the list itself (lyx-users) as a recipient if 
you want to reply to the list. Also be sure to never click reply to start 
a new topic (a new thread).


table of contents in every chapter per chapter

2008-12-29 Thread Jeremy C. Reed
My book needs a separate table of contents within every chapter containing 
the toc entries only for that chapter.

For now I am using labels and pageref. But it not as formatted nicely. And 
since I already have the main table of contents for all chapters at the 
front of the book, I am hoping I can use same routines to have per-chapter 
contents listings.

Any ideas?

Thanks

  Jeremy C. Reed

p.s. I thought there was some current discussion similar to this, but 
can't find that now.


table of contents in every chapter per chapter

2008-12-29 Thread Jeremy C. Reed
My book needs a separate table of contents within every chapter containing 
the toc entries only for that chapter.

For now I am using labels and pageref. But it not as formatted nicely. And 
since I already have the main table of contents for all chapters at the 
front of the book, I am hoping I can use same routines to have per-chapter 
contents listings.

Any ideas?

Thanks

  Jeremy C. Reed

p.s. I thought there was some current discussion similar to this, but 
can't find that now.


table of contents in every chapter per chapter

2008-12-29 Thread Jeremy C. Reed
My book needs a separate table of contents within every chapter containing 
the toc entries only for that chapter.

For now I am using labels and pageref. But it not as formatted nicely. And 
since I already have the main table of contents for all chapters at the 
front of the book, I am hoping I can use same routines to have per-chapter 
contents listings.

Any ideas?

Thanks

  Jeremy C. Reed

p.s. I thought there was some current discussion similar to this, but 
can't find that now.


Re: lyx2lyx script broken (1.6.0 on Vista)

2008-11-24 Thread Jeremy C. Reed
  - The 4.3 BSD kernel. Extended multihead support in the console driver
  and wrote some drivers for new hardware. Enhanced the shared memory
  kernel option. Nothing that didn't want to use the new features needed
  to be recompiled.
 
 Spring (?) 2001 - January 2002.

Sorry to jump into your thread. But the dates are many years off. 4.3BSD 
kernel was released by CSRG in 1986.


Re: lyx2lyx script broken (1.6.0 on Vista)

2008-11-24 Thread Jeremy C. Reed
  - The 4.3 BSD kernel. Extended multihead support in the console driver
  and wrote some drivers for new hardware. Enhanced the shared memory
  kernel option. Nothing that didn't want to use the new features needed
  to be recompiled.
 
 Spring (?) 2001 - January 2002.

Sorry to jump into your thread. But the dates are many years off. 4.3BSD 
kernel was released by CSRG in 1986.


Re: lyx2lyx script broken (1.6.0 on Vista)

2008-11-24 Thread Jeremy C. Reed
> > - The 4.3 BSD kernel. Extended multihead support in the console driver
> > and wrote some drivers for new hardware. Enhanced the shared memory
> > kernel option. Nothing that didn't want to use the new features needed
> > to be recompiled.
> 
> Spring (?) 2001 - January 2002.

Sorry to jump into your thread. But the dates are many years off. 4.3BSD 
kernel was released by CSRG in 1986.


Re: Number of documents prepared with LyX? (Was: Frustrated user)

2008-10-24 Thread Jeremy C. Reed
On Sat, 25 Oct 2008, Christian Ridderstr?m wrote:

 Interesting question... how many such documents have been written using LyX?
 
 I've written something like 10-20 documents (not counting presentations
 created with LyX). If ten documents is a typical number, and LyX has hundreds
 of users, we'd be talking about thousands of documents prepared with LyX.

On my main work station I have 291 lyx documents I created (not including 
all my newfile tests). This includes over 20 newsletters, around ten 
books, many letters, company sales proposals, slide show presentations, 
training courseware, but also includes some backups and old versions of 
same documents. I have some documents on other systems too. I have been 
using LyX since at least 1999. It has been tricky to configure many times 
-- but it has served me well and saved much time many times.

  Jeremy C. Reed

Re: Number of documents prepared with LyX? (Was: Frustrated user)

2008-10-24 Thread Jeremy C. Reed
On Sat, 25 Oct 2008, Christian Ridderstr?m wrote:

 Interesting question... how many such documents have been written using LyX?
 
 I've written something like 10-20 documents (not counting presentations
 created with LyX). If ten documents is a typical number, and LyX has hundreds
 of users, we'd be talking about thousands of documents prepared with LyX.

On my main work station I have 291 lyx documents I created (not including 
all my newfile tests). This includes over 20 newsletters, around ten 
books, many letters, company sales proposals, slide show presentations, 
training courseware, but also includes some backups and old versions of 
same documents. I have some documents on other systems too. I have been 
using LyX since at least 1999. It has been tricky to configure many times 
-- but it has served me well and saved much time many times.

  Jeremy C. Reed

Re: Number of documents prepared with LyX? (Was: Frustrated user)

2008-10-24 Thread Jeremy C. Reed
On Sat, 25 Oct 2008, Christian Ridderstr?m wrote:

> Interesting question... how many such documents have been written using LyX?
> 
> I've written something like 10-20 documents (not counting presentations
> created with LyX). If ten documents is a typical number, and LyX has hundreds
> of users, we'd be talking about thousands of documents prepared with LyX.

On my main work station I have 291 lyx documents I created (not including 
all my "newfile" tests). This includes over 20 newsletters, around ten 
books, many letters, company sales proposals, slide show presentations, 
training courseware, but also includes some backups and old versions of 
same documents. I have some documents on other systems too. I have been 
using LyX since at least 1999. It has been tricky to configure many times 
-- but it has served me well and saved much time many times.

  Jeremy C. Reed

add logo to slides when using beamer

2008-10-08 Thread Jeremy C. Reed
I have been using beamer off and on for a few years. I am currently using 
lyx 1.5.4 and my beamer is from pkgsrc package teTeX-texmf-3.0nb5.

I am trying to get a logo printed on every slide (PDF page). I have this 
in a ERT:

\pgfdeclareimage[height=2cm]{ISC-gears2}{ISC-gears2.png}

\logo{\pgfuseimage{ISC-gears2}}

But I don't see any logo. I am reading through the beameruserguide.pdf. 
Any suggestions/hints/examples would be appreciated.

  Jeremy C. Reed


Re: add logo to slides when using beamer

2008-10-08 Thread Jeremy C. Reed
  \pgfdeclareimage[height=2cm]{ISC-gears2}{ISC-gears2.png}
 
  \logo{\pgfuseimage{ISC-gears2}}
 
 I have placed this in the preamble and if I remember well we need to pass an 
 absolute path to \pgfdeclareimage because the latex code is compile in a 
 directory different from the one where the file is...

I moevd to the preamble and used full path to image.

I looked at the log and saw:

Package pgf Warning: File 
/home/reed/presentations/dnssec-intro/ISC-gears2.png
 not found when defining image ISC-gears2.
(pgf)Tried all extensions in pdf:jpg:png on input line 
51.


Package pgf Warning: Missing width for image ISC-gears2 in draft mode.
(pgf)Using 1cm instead on input line 51.



I got it to work by removing the .png from the filename.

Now I have a image in bottom right of each slide above the bottom border 
(that has the presentation Title) and above the PDF control graphics.

The image now overlaps some of my content so I am going to maybe make it 
smaller but at least I can now see it.

If you have any ideas on how to get it to be in background so text goes 
over it, please let me know.

Thanks,

Jeremy C. Reed


Re: add logo to slides when using beamer

2008-10-08 Thread Jeremy C. Reed
On Wed, 8 Oct 2008, Eran Kaplinsky wrote:

 Check out the Torino theme (http://www.barisione.org/blog.html/p=104) 
 and its documentation.

Looks nice, but I get same problem as mention at the end of that blog. I 
get:

...

[EMAIL PROTECTED]@linebottom=\skip62
[EMAIL PROTECTED]@watermarkheightbottom=\skip63
[EMAIL PROTECTED]@watermarkheightupperorig=\skip64

! Illegal unit of measure (pt inserted).
to be read again 
   p
l.65 [EMAIL PROTECTED]@watermarkheight}
  
? quit
OK, entering \batchmode...

! LaTeX Error: Missing \begin{document}.

...

LaTeX Font Info:Overwriting math alphabet `\mathtt' in version `bold'
(Font)  OT1/cmtt/m/n -- OT1/cmtt/bx/n on input line 17.
No file freewilly.nav.
! Illegal unit of measure (pt inserted).
to be read again 
   p
l.17 \begin{document}

...

and more.


add logo to slides when using beamer

2008-10-08 Thread Jeremy C. Reed
I have been using beamer off and on for a few years. I am currently using 
lyx 1.5.4 and my beamer is from pkgsrc package teTeX-texmf-3.0nb5.

I am trying to get a logo printed on every slide (PDF page). I have this 
in a ERT:

\pgfdeclareimage[height=2cm]{ISC-gears2}{ISC-gears2.png}

\logo{\pgfuseimage{ISC-gears2}}

But I don't see any logo. I am reading through the beameruserguide.pdf. 
Any suggestions/hints/examples would be appreciated.

  Jeremy C. Reed


Re: add logo to slides when using beamer

2008-10-08 Thread Jeremy C. Reed
  \pgfdeclareimage[height=2cm]{ISC-gears2}{ISC-gears2.png}
 
  \logo{\pgfuseimage{ISC-gears2}}
 
 I have placed this in the preamble and if I remember well we need to pass an 
 absolute path to \pgfdeclareimage because the latex code is compile in a 
 directory different from the one where the file is...

I moevd to the preamble and used full path to image.

I looked at the log and saw:

Package pgf Warning: File 
/home/reed/presentations/dnssec-intro/ISC-gears2.png
 not found when defining image ISC-gears2.
(pgf)Tried all extensions in pdf:jpg:png on input line 
51.


Package pgf Warning: Missing width for image ISC-gears2 in draft mode.
(pgf)Using 1cm instead on input line 51.



I got it to work by removing the .png from the filename.

Now I have a image in bottom right of each slide above the bottom border 
(that has the presentation Title) and above the PDF control graphics.

The image now overlaps some of my content so I am going to maybe make it 
smaller but at least I can now see it.

If you have any ideas on how to get it to be in background so text goes 
over it, please let me know.

Thanks,

Jeremy C. Reed


Re: add logo to slides when using beamer

2008-10-08 Thread Jeremy C. Reed
On Wed, 8 Oct 2008, Eran Kaplinsky wrote:

 Check out the Torino theme (http://www.barisione.org/blog.html/p=104) 
 and its documentation.

Looks nice, but I get same problem as mention at the end of that blog. I 
get:

...

[EMAIL PROTECTED]@linebottom=\skip62
[EMAIL PROTECTED]@watermarkheightbottom=\skip63
[EMAIL PROTECTED]@watermarkheightupperorig=\skip64

! Illegal unit of measure (pt inserted).
to be read again 
   p
l.65 [EMAIL PROTECTED]@watermarkheight}
  
? quit
OK, entering \batchmode...

! LaTeX Error: Missing \begin{document}.

...

LaTeX Font Info:Overwriting math alphabet `\mathtt' in version `bold'
(Font)  OT1/cmtt/m/n -- OT1/cmtt/bx/n on input line 17.
No file freewilly.nav.
! Illegal unit of measure (pt inserted).
to be read again 
   p
l.17 \begin{document}

...

and more.


add logo to slides when using beamer

2008-10-08 Thread Jeremy C. Reed
I have been using beamer off and on for a few years. I am currently using 
lyx 1.5.4 and my beamer is from pkgsrc package teTeX-texmf-3.0nb5.

I am trying to get a logo printed on every slide (PDF page). I have this 
in a ERT:

\pgfdeclareimage[height=2cm]{ISC-gears2}{ISC-gears2.png}

\logo{\pgfuseimage{ISC-gears2}}

But I don't see any logo. I am reading through the beameruserguide.pdf. 
Any suggestions/hints/examples would be appreciated.

  Jeremy C. Reed


Re: add logo to slides when using beamer

2008-10-08 Thread Jeremy C. Reed
> > \pgfdeclareimage[height=2cm]{ISC-gears2}{ISC-gears2.png}
> >
> > \logo{\pgfuseimage{ISC-gears2}}
> 
> I have placed this in the preamble and if I remember well we need to pass an 
> absolute path to \pgfdeclareimage because the latex code is compile in a 
> directory different from the one where the file is...

I moevd to the preamble and used full path to image.

I looked at the log and saw:

Package pgf Warning: File 
"/home/reed/presentations/dnssec-intro/ISC-gears2.png
" not found when defining image "ISC-gears2".
(pgf)Tried all extensions in "pdf:jpg:png" on input line 
51.


Package pgf Warning: Missing width for image "ISC-gears2" in draft mode.
(pgf)Using 1cm instead on input line 51.



I got it to work by removing the ".png" from the filename.

Now I have a image in bottom right of each slide above the bottom border 
(that has the presentation Title) and above the PDF control graphics.

The image now overlaps some of my content so I am going to maybe make it 
smaller but at least I can now see it.

If you have any ideas on how to get it to be in background so text goes 
over it, please let me know.

Thanks,

Jeremy C. Reed


Re: add logo to slides when using beamer

2008-10-08 Thread Jeremy C. Reed
On Wed, 8 Oct 2008, Eran Kaplinsky wrote:

> Check out the Torino theme (http://www.barisione.org/blog.html/p=104) 
> and its documentation.

Looks nice, but I get same problem as mention at the end of that blog. I 
get:

...

[EMAIL PROTECTED]@linebottom=\skip62
[EMAIL PROTECTED]@watermarkheightbottom=\skip63
[EMAIL PROTECTED]@watermarkheightupperorig=\skip64

! Illegal unit of measure (pt inserted).
 
   p
l.65 [EMAIL PROTECTED]@watermarkheight}
  
? quit
OK, entering \batchmode...

! LaTeX Error: Missing \begin{document}.

...

LaTeX Font Info:Overwriting math alphabet `\mathtt' in version `bold'
(Font)  OT1/cmtt/m/n --> OT1/cmtt/bx/n on input line 17.
No file freewilly.nav.
! Illegal unit of measure (pt inserted).
 
   p
l.17 \begin{document}

...

and more.


  1   2   3   4   5   6   7   >