Re: customizing bullets in lists: I got Simpsons now, you could too

2012-12-27 Thread Scott Kostyshak
On Fri, Dec 14, 2012 at 5:14 PM, Paul Johnson  wrote:
> Without further adieu!  Working example output:
>
> http://pj.freefaculty.org/scraps/simpsons/simpsons-2.pdf
>
> Lyx file:
>
> http://pj.freefaculty.org/scraps/simpsons/simpsons-2.lyx


> If anybody has ideas about these things, let me know. I may post that
> example into the LyX Wiki, if I can reach the conclusion about whether
> 1 and 2 can be "solved" and if 3 is a problem unique to this document
> (probably because I've damaged some default setting somewhere).

This would make a good wiki page in my opinion, even if you're unable
to resolve the issues.

Scott


Cannot find vezes.sty file

2012-12-27 Thread João Alberto
I just installed the most recent version of Lyx and when I tried to
generate the PDF Lyx/MiKTeX requested the vezes.sty file. I updated MiKTex
repositories and searched in CTAN, but I cannot find this file. Any ideas
on how to solve this problem?

The error presented by Lyx follows.

Cordially,

João Alberto Ferreira.

This is pdfTeX, Version 3.1415926-2.4-1.40.13 (MiKTeX 2.9) (preloaded
format=pdflatex 2012.12.27) 27 DEC 2012 19:54

entering extended mode

**FuzzyController.tex


(C:\Users\Joao\AppData\Local\Temp\lyx_tmpdir.Hp1732\lyx_tmpbuf2\FuzzyController

.tex

LaTeX2e <2011/06/27>

Babel  and hyphenation patterns for english, afrikaans,
ancientgreek, ar

abic, armenian, assamese, basque, bengali, bokmal, bulgarian, catalan,
coptic,

croatian, czech, danish, dutch, esperanto, estonian, farsi, finnish,
french, ga

lician, german, german-x-2012-05-30, greek, gujarati, hindi, hungarian,
iceland

ic, indonesian, interlingua, irish, italian, kannada, kurmanji, latin,
latvian,

lithuanian, malayalam, marathi, mongolian, mongolianlmc, monogreek,
ngerman, n

german-x-2012-05-30, nynorsk, oriya, panjabi, pinyin, polish, portuguese,
roman

ian, russian, sanskrit, serbian, slovak, slovenian, spanish, swedish,
swissgerm

an, tamil, telugu, turkish, turkmen, ukenglish, ukrainian, uppersorbian,
usengl

ishmax, welsh, loaded.


("C:\Program Files\MiKTeX 2.9\tex\latex\base\article.cls"

Document Class: article 2007/10/19 v1.4h Standard LaTeX document class

("C:\Program Files\MiKTeX 2.9\tex\latex\base\size12.clo"

File: size12.clo 2007/10/19 v1.4h Standard LaTeX file (size option)

)

\c@part=\count79

\c@section=\count80

\c@subsection=\count81

\c@subsubsection=\count82

\c@paragraph=\count83

\c@subparagraph=\count84

\c@figure=\count85

\c@table=\count86

\abovecaptionskip=\skip41

\belowcaptionskip=\skip42

\bibindent=\dimen102

)


! LaTeX Error: File `vezes.sty' not found.


Type X to quit or  to proceed,

or enter new name. (Default extension: sty)


Enter file name:

! Emergency stop.



 l.7 \renewcommand

{\familydefault}{\rmdefault}

*** (cannot \read from terminal in nonstop modes)


 Here is how much of TeX's memory you used:

205 strings out of 493921

2369 string characters out of 3147284

49031 words of memory out of 300

3586 multiletter control sequences out of 15000+20

3938 words of font info for 15 fonts, out of 300 for 9000

841 hyphenation exceptions out of 8191

22i,0n,19p,165b,36s stack positions out of 5000i,500n,1p,20b,5s

! ==> Fatal error occurred, no output PDF file produced!


Re: New APA6 Layout

2012-12-27 Thread John Kane
Reporting further progress, after a bit of mucking around where I kept having 
problems, I seem to apa6 working with knitr to produce some nice (mock) 
analysis results using R www.r-project.org/.  

It also seems to work just fine with LaTex and knitr when used in RStudio.

Still nothing very large but it's looking good.







 From: Jacob Bishop 
To: John Kane  
Cc: lyx-users  
Sent: Wednesday, December 26, 2012 11:26:21 AM
Subject: Re: New APA6 Layout
 

On Tue, Dec 18, 2012 at 11:56 AM, John Kane  wrote:


>
>Well I've only used it on a half-page file to see how it looks but I'm 
>certainly very pleased.  
>
>It's great work
>
>
Thank you.

RE: Insert->Float->Algorithm results in Latex errors

2012-12-27 Thread Regina Anger
Hi again,

> http://fedoraproject.org/wiki/Features/TeXLive (search for the
> instructions regarding Fedora 17)
> If you follow the instructions there you can update the packages to
> newer versions.
> 
> For Fedora 18 (to be released in January) and newer the packages there
> are the default.

Glad to know there are updated packages for F17 available, too.
Thanks for letting me know and for helping me with the memoir issue.

- Reggi
  

RE: Insert->Float->Algorithm results in Latex errors

2012-12-27 Thread Regina Anger
Hi,

Updating memoir helped, it works now like a charme. Thanks a lot!
I wonder however, how can Fedora distribute packages *that* old.

Thx, Regi
  

Re: Insert->Float->Algorithm results in Latex errors

2012-12-27 Thread José Matos
On 12/27/2012 04:07 PM, Regina Anger wrote:
> Does this mean I manually have to update my latex installation? Is
> there any way you can recommend, without re-compiling my whole
> software-stack?
> The whole situation is a bit sad, as I am sitting behind a ~100kBit/s
> GPRS line :/
>
> Thx, Reggi

For Fedora 17, there is the texlive-2012 repository that has all the
available packages:

http://fedoraproject.org/wiki/Features/TeXLive (search for the
instructions regarding Fedora 17)

If you follow the instructions there you can update the packages to
newer versions.

This repository was put in place by Fedora texlive maintainer and the
repository is a backport.

For Fedora 18 (to be released in January) and newer the packages there
are the default.

-- 
José Matos



Re: Insert->Float->Algorithm results in Latex errors

2012-12-27 Thread Richard Heck

On 12/27/2012 11:07 AM, Regina Anger wrote:

Hello Jürgen,


> Your file compiles fine here. This is with most recent TL 2012 and LyX
> 2.0.6dev. Maybe some of your packages are outdated. The versions are 
printed

> to the log file if you enter \listfiles into the preamble. Here's mine:

I am using the most recent packages (lyx, latex, ...) distributed with 
Fedora-17-updates:


*File List*

memoir.cls 2005/09/25 v1.618 configurable document class

mem10.clo 2002/07/27 v0.2 memoir class 10pt size option

mempatch.sty 2007/01/22 v4.8 Patches for memoir class v1.618

fontenc.sty

t1enc.def 2005/09/27 v1.99g Standard LaTeX file

inputenc.sty 2006/05/05 v1.1b Input encoding file

latin9.def 2006/05/05 v1.1b Input encoding file

float.sty 2001/11/08 v1.3d Float enhancements (AL)

amsthm.sty 2004/08/06 v2.20

amsmath.sty 2000/07/18 v2.13 AMS math features

amstext.sty 2000/06/29 v2.01

amsgen.sty 1999/11/30 v2.0

amsbsy.sty 1999/11/29 v1.2d

amsopn.sty 1999/12/14 v2.01 operator names


which seem to be *really* outdated, compared to the package-versions 
you list.


Does this mean I manually have to update my latex installation? Is 
there any way you can recommend, without re-compiling my whole 
software-stack?
The whole situation is a bit sad, as I am sitting behind a ~100kBit/s 
GPRS line :/


Ugh. Well, if you have a laptop and can take it somewhere with better 
speed, you might want to try using the updated TeXLive repository, as 
described here:

http://fedoraproject.org/wiki/Features/TeXLive
It takes a while to download it the first time, but then you should be OK.

Richard



Re: Insert->Float->Algorithm results in Latex errors

2012-12-27 Thread Jürgen Spitzmüller
Regina Anger wrote:
> Does this mean I manually have to update my latex installation? Is there any
> way you can recommend, without re-compiling my whole software-stack? The
> whole situation is a bit sad, as I am sitting behind a ~100kBit/s GPRS line
> :/

Probably updating memoir will suffice. You can grab the most recent version 
from CTAN [1], unpack the files by running "latex memoir.ins" and "latex 
mempatch.ins" and then put them in you TEXMF home directory (usually 
~/texmf/tex/latex/memoir). Run "texhash" afterwards to update the filename 
database.

HTH
Jürgen

[1] http://mirrors.ctan.org/macros/latex/contrib/memoir.zip


RE: Insert->Float->Algorithm results in Latex errors

2012-12-27 Thread Regina Anger
Hello Jürgen,


> Your file compiles fine here. This is with most recent TL 2012 and LyX 
> 2.0.6dev. Maybe some of your packages are outdated. The versions are printed 
> to the log file if you enter \listfiles into the preamble. Here's mine:

I am using the most recent packages (lyx, latex, ...) distributed with 
Fedora-17-updates:


 *File List*
  memoir.cls2005/09/25 v1.618 configurable document class
   mem10.clo2002/07/27 v0.2 memoir class 10pt size option
mempatch.sty2007/01/22 v4.8 Patches for memoir class v1.618
 fontenc.sty
   t1enc.def2005/09/27 v1.99g Standard LaTeX file
inputenc.sty2006/05/05 v1.1b Input encoding file
  latin9.def2006/05/05 v1.1b Input encoding file
   float.sty2001/11/08 v1.3d Float enhancements (AL)
  amsthm.sty2004/08/06 v2.20
 amsmath.sty2000/07/18 v2.13 AMS math features
 amstext.sty2000/06/29 v2.01
  amsgen.sty1999/11/30 v2.0
  amsbsy.sty1999/11/29 v1.2d
  amsopn.sty1999/12/14 v2.01 operator names
which seem to be *really* outdated, compared to the package-versions you list.

Does this mean I manually have to update my latex installation? Is there any 
way you can recommend, without re-compiling my whole software-stack?
The whole situation is a bit sad, as I am sitting behind a ~100kBit/s GPRS line 
:/

Thx, Reggi
  

In exported XHTML, styles for some classes not defined.

2012-12-27 Thread Robert Matthews
In a simple Lyx document I have a program list box
containing:

Here is some code

When I export via File->Export->LyXHTML the
part corresponding to the above is:

Here is some code

Now earlier in the XHTML file some styles are defined,
but not 'float' nor 'float-listings', as required by
the above.
Curiously there is a 'listings' style defined:

div.listings {
font-family: monospace;
}

And from a separate, and much larger, Lyx document
that I exported to XHTML there is:

div.float {
border: 2px solid black;
text-align: center;
}

Note the "text-align: center": in that document all
the program listings are centered - which is NOT
appropriate for my code snippets: they need to be aligned
to the left. 
That document's XHTML also includes a style for
'listings', but again no definition for 'float-listings'.
Perhaps the missing style for 'float-listings'
will correct the alignment problem.

Note that I am using 64-bit Ubuntu 12.10 and have 
Lyx version 2.0.6dev which I compiled from the source
file lyx2.0_2.0.6~git20121225~quantal1.tar.gz

All help gratefully received,

Robert.



Re: Conversion of "---" to Em Dash: can I turn this off?

2012-12-27 Thread Robert Matthews
Scott Kostyshak  lyx.org> writes:
> You can use the daily Ubuntu PPA. See here for instructions:
> http://wiki.lyx.org/LyX/LyXOnUbuntu#toc3
> Those instructions were just added so if you have any suggestions for
> making things more clear, please edit directly or post back here. The
> process is very straightforward.

I built Lyx from the PPA you specified - and it did the trick! Thank you.

Robert.



Re: Insert->Float->Algorithm results in Latex errors

2012-12-27 Thread Jürgen Spitzmüller
Regina Anger wrote:
> Hi folks,
> 
> I would like to insert an algorithm float in my document.
> However, even for empty documents, doing so results in:
> 
> LaTeX Error: Command \newfloat already defined.
> LaTeX Error: Missing \begin{document}.
> 
> 
> Any idea what could be wrong here?

Your file compiles fine here. This is with most recent TL 2012 and LyX 
2.0.6dev. Maybe some of your packages are outdated. The versions are printed 
to the log file if you enter \listfiles into the preamble. Here's mine:

 *File List*
  memoir.cls2011/03/06 v3.6j configurable book, report, article document 
class
   ifpdf.sty2011/01/30 v2.3 Provides the ifpdf switch (HO)
  ifetex.sty2011/12/15 v1.2 ifetex
 ifxetex.sty2010/09/12 v0.6 Provides ifxetex conditional
ifluatex.sty2010/03/01 v1.3 Provides the ifluatex switch (HO)
etex.sty1998/03/26 v2.0 eTeX basic definition package (PEB)
   mem10.clo2008/01/30 v0.3 memoir class 10pt size option
mempatch.sty2009/07/24 v6.0f Patches for memoir class v1.6180339
 fontenc.sty
   t1enc.def2005/09/27 v1.99g Standard LaTeX file
inputenc.sty2008/03/30 v1.1d Input encoding file
  latin9.def2008/03/30 v1.1d Input encoding file
   float.sty2001/11/08 v1.3d Float enhancements (AL)
  amsthm.sty2009/07/02 v2.20.1
 amsmath.sty2000/07/18 v2.13 AMS math features
 amstext.sty2000/06/29 v2.01
  amsgen.sty1999/11/30 v2.0
  amsbsy.sty1999/11/29 v1.2d
  amsopn.sty1999/12/14 v2.01 operator names
   babel.sty2008/07/08 v3.8m The Babel package
 english.ldf2005/03/30 v3.3o English support from the babel system
 ***

HTH
Jürgen