Re: cover page?

2011-07-14 Thread Ignacio Martinez
That is perfect :-)
thanks a lot

On Wed, Jul 13, 2011 at 5:44 PM, Liviu Andronic wrote:

> On Wed, Jul 13, 2011 at 5:46 PM, Ignacio Martinez 
> wrote:
> > Hi everyone,
> > Is there a way to create a cover in lyx that looks like this?
> >
> Does the attached fit the bill? Created with LyX 2.0.
> Liviu
>


Re: cover page?

2011-07-14 Thread Ignacio Martinez
That is perfect :-)
thanks a lot

On Wed, Jul 13, 2011 at 5:44 PM, Liviu Andronic wrote:

> On Wed, Jul 13, 2011 at 5:46 PM, Ignacio Martinez 
> wrote:
> > Hi everyone,
> > Is there a way to create a cover in lyx that looks like this?
> >
> Does the attached fit the bill? Created with LyX 2.0.
> Liviu
>


epsdice package.

2011-07-14 Thread Michael Joyner
I am trying to use the epsdice package from inside LyX, and when I switch to
using xelatex as the formatting engine, the package malfunctions.

Instead of drawing a single die, it draws all 12 possible combinations of
dice on two lines. :(

Is there a working dice or dominoes or "grouped dots" package for xelatex ?
The document I am writing is in Cherokee, so xelatex is my only choice for
font reasons.

-- 
---

   - Learn to speak Cherokee: http://www.cherokeelessons.com/
   - Cherokee Language Help BBS/Chat:
   http://www.cherokeelessons.com/phpBB3/viewforum.php?f=6
   - Cherokee Lessons PDF made with: http://www.lyx.org/


die test-BAD.tex
Description: TeX document


die test-BAD.pdf
Description: Adobe PDF document


die test.tex
Description: TeX document


die test.pdf
Description: Adobe PDF document


die test.lyx
Description: Binary data


Re: Guidance in starting to use LyX/LaTex

2011-07-14 Thread Eric Weir

On Jul 14, 2011, at 2:39 PM, Liviu Andronic wrote:

> Another source of documentation may be the templates and examples
> folders shipped with LyX. They will often contain templates for the
> various document classes available. Start with File > New from
> template.

Yes, I noticed that about the templates and have had them in mind, but I'd 
forgotten about the examples. [Which is evident from the fact that I said it'd 
be nice if there were some. Well there are!] 

I just checked out the simplecv example. It is simple, and it looks like I 
might be able to modify it into one type of document that I commonly create 
without a great deal of difficult, i.e., into a template, not a new class. 

In checking out parameters in document > settings it would be helpful if the 
actual default values for the class were displayed instead of just "default." 
To get them I guess I'll have to locate the original document class document. 
[Or just see what effects changes have in LyX!]  

Thanks, 
--
Eric Weir
Decatur, GA  USA
eew...@bellsouth.net






Re: Guidance in starting to use LyX/LaTex

2011-07-14 Thread Eric Weir

On Jul 14, 2011, at 2:36 PM, Liviu Andronic wrote:

> On Thu, Jul 14, 2011 at 5:42 PM, Eric Weir  wrote:
>> Reconfigure seems to have helped. I now have five koma classes. And many 
>> other new ones. However -- and I don't if this matters -- in the huge list 
>> revealed in tools > tex information > latex classes koma is still missing.
>> 
> Some times Tools > Reconfigure and Tools > TeX info > Rescan are not
> in sync. Try hitting 'rescan', too; but if what you're trying to do
> works, then don't worry about the TeX info thingy.

They may be in better sync than first appeared. As Richard pointed out, the 
koma classes all have names beginning with src, or apparently all. I have 
several of those in the tools > tex info > latex classes. So maybe I do have 
the full koma class after all. 

> In addition to reading more carefully, as suggested by Liviu, I guess I need 
> to find a class that appears somewhat relevant to my needs and get started 
> seeing what I can do with it. I think I can do that now.
>> 
> 
> Rob has a book cooking, on Open Source Writing Tools, and to my
> knowledge it will include some extensive info on LyX and on (a subset
> of) the various LaTeX classes available, with their drawbacks,
> advantages and intended usage.
> 
> Additionally, should it be of any help, you can also check the 'LyX
> Essentials' [1], which is a brief introduction to creating a first
> document in LyX.
> [1] https://sites.google.com/site/tsewiki/resources/latex

Thanks for the references. The latter might help, and sounds like the former 
definitely would.

Sincerely,
--
Eric Weir
Decatur, GA  USA
eew...@bellsouth.net






Re: font question

2011-07-14 Thread Csikos Bela
Liviu Andronic  írta:
>2011/7/8 Csikos Bela :>
> Hello:>
>>
> I have a question related to latex fonts, xetex and unicode.>
>>
> In lyx2 under document > settings > fonts I can set "Use non-TeX fonts (via 
> XeTeX/LuaTeX). If I want to use unicode encoding I have to set this option, I 
> guess. Does this mean as well that the standard tex fonts won't be available?>
> Or can they be still chosen? If yes, how? I am confused.>
>>
It is slightly confusing. You can use XeTeX and TeX fonts: uncheck>
'Use non-TeX fonts', select your preferred TeX fonts and compile View>
> Other > PDF (XeTeX). (When you do this, I'm not sure if you benefit>
entirely from the Unicode capabilities of XeTeX, since the TeX fonts>
are not---to my knowledge---Unicode aware.)>
>
Otherwise, if you need XeTeX with full Unicode support (again, I'm not>
sure if above you miss anything), check 'Use non-TeX fonts', select>
your preferred system fonts (which, in some cases, can be OTF versions>
of the TeX fonts) and compile View > PDF (XeTeX). Unicode is the only>
encoding that XeTeX supports, so you don't need to select anything>
else.>
>
Regards>
Liviu>


Thank you.
I will try both methods and compare them.
Thanks again,

bcsikos



Re: Captionsetup in preamble

2011-07-14 Thread Karl Linek
Am Donnerstag, den 14.07.2011, 13:55 -0400 schrieb Julien Rioux:
> On 13/07/2011 5:23 AM, Karl Linek wrote:
> > Hallo,
> >
> > I tried to use this captionsetup in the preamble:
> >
> > \captionsetup{figurename=Abb.,tablename=Tab.,font={footnotesize,sf},justification=RaggedRight,labelfont=bf,singlelinecheck=false,labelsep=colonenskip}
> >
> > It didn't do its job. Using the same line in the text, was ok. Why? Well
> > I could live with it, but I think it is not the way it should work.
> >
> > Karl
> >
> >
> 
> Have a look at the generated LaTeX code (menu View > View Source) to see 
> if there is not another \captionsetup line generated by LyX that comes 
> after the user preamble. You also need a \useoackage{caption} line, right?
> 

This is the whole preamble an the beginning of the text:

\documentclass[ngerman,nohyper,justified,marginals=raggedright,nofonts,a4paper,symmetric]{tufte-book}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\usepackage{verbatim}
\usepackage{graphicx}
\PassOptionsToPackage{version=3}{mhchem}
\usepackage{mhchem}

\makeatletter

%% LyX specific LaTeX commands.
%% A simple dot to overcome graphicx limitations
\newcommand{\lyxdot}{.}


%% User specified LaTeX commands.
\usepackage [version=3] {mhchem}
\mhchemoptions{font=sf}
\usepackage [notextcomp,oldstylenums] {kpfonts}
\setcounter{secnumdepth}{1}
\usepackage{caption}
\usepackage{mcaption}
\newcommand{\xyR}[1]{%
\xydef@\xymatrixrowsep@{#1}}
\newcommand{\xyC}[1]{%
\xydef@\xymatrixcolsep@{#1}}
\DeclareCaptionLabelSeparator{colonenskip}{:\enskip{}}
\captionsetup{figurename=Abb.,tablename=Tab.,font={footnotesize,sf},justification=RaggedRight,labelfont=bf,singlelinecheck=false,labelsep=colonenskip}
\title{Chemie verstehen -- Band I}
\author{Karl Linek}
\sloppy
\usepackage{microtype}

\makeatother

\usepackage{babel}
\begin{document}

\chapter*{Von der Alchemie zur Chemie}

\captionsetup{figurename=Abb.,tablename=Tab.,font={footnotesize,sf},justification=RaggedRight,labelfont=bf,singlelinecheck=false,labelsep=colonenskip}Im
Altertum gab es keinen Unterschied zwischen

I added the \captionsetup after \begin{document}. I dont see a reason
why it shouldn't work without the second \captionsetup, but it doesn't.

lg, Karl




Re: Guidance in starting to use LyX/LaTex

2011-07-14 Thread Liviu Andronic
On Thu, Jul 14, 2011 at 5:58 PM, Eric Weir  wrote:
> I think I'm gonna go with koma, Trevor. For one, the documentation strikes
> me as excellent. Certainly compared to memoir.
>
Another source of documentation may be the templates and examples
folders shipped with LyX. They will often contain templates for the
various document classes available. Start with File > New from
template.
Liviu


Re: Guidance in starting to use LyX/LaTex

2011-07-14 Thread Liviu Andronic
On Thu, Jul 14, 2011 at 5:42 PM, Eric Weir  wrote:
> Reconfigure seems to have helped. I now have five koma classes. And many 
> other new ones. However -- and I don't if this matters -- in the huge list 
> revealed in tools > tex information > latex classes koma is still missing.
>
Some times Tools > Reconfigure and Tools > TeX info > Rescan are not
in sync. Try hitting 'rescan', too; but if what you're trying to do
works, then don't worry about the TeX info thingy.


> In addition to reading more carefully, as suggested by Liviu, I guess I need 
> to find a class that appears somewhat relevant to my needs and get started 
> seeing what I can do with it. I think I can do that now.
>
Rob has a book cooking, on Open Source Writing Tools, and to my
knowledge it will include some extensive info on LyX and on (a subset
of) the various LaTeX classes available, with their drawbacks,
advantages and intended usage.

Additionally, should it be of any help, you can also check the 'LyX
Essentials' [1], which is a brief introduction to creating a first
document in LyX.
[1] https://sites.google.com/site/tsewiki/resources/latex

Regards
Liviu


Re: Centered text just under the part title

2011-07-14 Thread Julien Rioux

On 10/07/2011 5:46 PM, Harold Mouras wrote:

Dear List,
writting a book under Lyx under the memoir class, I have part title in this
document. For these part, I'd like to add a little descriptive text for the
part centered on the page. I've read that this would possible with this
memoir class, but don't know which label to choose for this text or what
kind of latex instructions to specify.
Any help would be wonderful !
Thank you very much in advance,
Sincerely yours,
Harold




It is a bit convoluted but it is explained in section 13.3.1 "13.3.1 
Epigraphs on book or part pages" of the memoir manual. It seems you 
would need to copy/paste some of the code there into TeX Code boxes in 
your LyX document, unless somebody actually did a layout for this in LyX?


--
Julien



Re: Bibliography

2011-07-14 Thread Julien Rioux

On 07/07/2011 10:55 AM, Hamid Badi wrote:

Hello,
I'd like to have a bibliography at the end of each chapter of a report.
What package must I use (chapterbib, bibunits...), how can I use it in LyX.

Best regards.



Have you tried Document > Settings > Bibliography > Sectioned 
bibliography ??


--
Julien



Re: Captionsetup in preamble

2011-07-14 Thread Julien Rioux

On 13/07/2011 5:23 AM, Karl Linek wrote:

Hallo,

I tried to use this captionsetup in the preamble:

\captionsetup{figurename=Abb.,tablename=Tab.,font={footnotesize,sf},justification=RaggedRight,labelfont=bf,singlelinecheck=false,labelsep=colonenskip}

It didn't do its job. Using the same line in the text, was ok. Why? Well
I could live with it, but I think it is not the way it should work.

Karl




Have a look at the generated LaTeX code (menu View > View Source) to see 
if there is not another \captionsetup line generated by LyX that comes 
after the user preamble. You also need a \useoackage{caption} line, right?


--
Julien



Re: Lyx 2.0 problems with PDF in Windows

2011-07-14 Thread Julien Rioux

On 14/07/2011 5:18 AM, Liviu Andronic wrote:

On Thu, Jul 14, 2011 at 9:48 AM, Mariano Llamedo Soria
  wrote:

The problem is related to the temporal path used by Lyx. I am usign  Lyx in
spanish, where the temp path by default has characters not supported by Lyx,
as "Configuración Local" (local configuration). I think this should be
handled in future releases to avoid changing the path to a simpler place,
like c:\temp.


Please file this bug on the bug tracker [1], so that it doesn't get
lost on the ML.
Liviu

[1] http://www.lyx.org/trac/wiki/BugTrackerHome



I recall it is already reported but I don't remember the issue number.

--
Julien



Re: formatted cross-reference to subsection broken

2011-07-14 Thread Julien Rioux

On 14/07/2011 7:08 AM, Sebastian Rockel wrote:


Am 09.07.2011 um 16:49 schrieb Richard Heck:


On 07/09/2011 10:08 AM, Sebastian Rockel wrote:

Hi,

I am using Lyx-2.0 with KOMA-book class (pdflatex) on Mac OSX 10.6.8.

I am often using the cross-reference option 'Formatted reference' as it is 
quite convenient to have automatic addition of 'figure', 'section' etc.

Nevertheless I noticed (by accident) that in the Lyx window references appear 
to be fine but show up in the final pdf as '??'. This is the case for 
references within a 'subsection'.

This is a little bit annoying as it can be overseen in a larger document easily.

Is this a bug? Has anyone else this problem?
Any comments?


The reason for this is that LyX by default uses the prefix "sub" for
such references, as you create them, but neither prettyref nor refstyle
defines a format for this. I'm not sure if that counts as a bug or not.
Anyway, you can deal with it two ways.


Thanks for the explanation.
IMO another solution would be that LyX by default uses 'sec' instead of 'sub'.


(i) Put a format declaration for "sub" references into your preamble.
How you do this depends upon whether you are using refstyle or
prettyref. (This is set under Document>Settings.) For prettyref, you can
do something like:
\newrefformat{sub}{Subsection \ref{#1}}
For refstyle:
\newref{sub}{refcmd={Subsection \ref{#1}}}
Of course, you can adapt these as you wish.

(ii) Modify what LyX uses for subsections. This is a matter of layout,
and can be done in a module, in local layout (under Document>Settings),
or wherever you wish:
Style Subsection
RefPrefix sec
End
The defaults are in the file stdrefprefix.inc. If you like, you can copy
the system file to your local layout directory (by default, on Linux,
~/.lyx/layouts/), modify it, and then LyX will use it instead of the
system one.


I tried local layout and stdrefprefix.inc  (under Mac OS) but it didn't work 
(still '??').
For the time being I don't use LyX 'formatted reference' and keep manually 
writing 'section'.

Sebastian


Are you by any chance also using subfloats? i.e. floats within floats?
There is a incompatibility between the package used by LyX to do this, 
and the refstyle package used for formatted references.


--
Julien



Re: use of \citet (with natbib numeric) gives "(author?)" error

2011-07-14 Thread Julien Rioux

On 14/07/2011 7:37 AM, Matthias Hunstig wrote:

Hello Richard,

thanks for the answer. I do not think it is a Unicode problem because I generate the 
bibtex file from Zotero using IS0-8859-15 which has worked before.. Also, all author 
names appear fine in the bibliography itself. Even those with special characters such as 
"ï".

Any other ideas?

Matthias


-Original Message-
From: Richard Heck [mailto:rgh...@comcast.net]
Sent: Wednesday, July 13, 2011 3:40 PM
To: Matthias Hunstig
Cc: lyx-users@lists.lyx.org
Subject: Re: use of \citet (with natbib numeric) gives "(author?)" error

On 07/13/2011 05:58 AM, Matthias Hunstig wrote:

Hello,

I am using LyX 2.0 and just switched the citation style to Natbib (numeric)

because I want to use \citet from time to time.


However, whenever I use \citet, a bold *(author?)* appears in the PDF
instead of the author name. The source code looks fine to me, for
example: \citet[p.~223]{watson_2009}

Any idea what causes this?


This kind of thing is usually due to problems with the .bib file, and the
problem is usually the presence of Unicode characters gotten from pasting a
reference from the web or something. If you use bibtex for the processor,
then the file really needs to be ASCII; if you use bibtex8, you can get away
with 8-bit encodings; but Unicode needs special treatment and is not
presently recommended.

Richard





You also need to use a natbib-compatible bibliography style. You select 
this by clicking on your "BibTeX Generated Bibliography" in your LyX 
document and selecting e.g. plainnat


--
Julien



Re: Guidance in starting to use LyX/LaTex

2011-07-14 Thread Steve Litt
On Thursday, July 14, 2011 12:23:36 PM Trevor Jenkins wrote:
> On Thu, Jul 14, 2011 at 5:19 PM, Eric Weir  
wrote:
> > On Jul 14, 2011, at 11:52 AM, Steve Litt wrote:
> :-) That's why the documentation on Troubleshooters.Com is so
> :
> >> important. It assumes few prerequisites.
> > 
> > I do recall there being significant content at your site related
> > to LaTeX, Steve, but I don't find it when I mouse over the links
> > on the home page. Must be deeper in?
> 
> So still some prerequisites being assumed then.
> 
> Regards, Trevor.

Yes. The person has to know how to use a computer. They have to know 
something about how to use a wordprocessor (for want of a better word, 
but even familiarity with MS Word.

The person should have had a little experience with some computer 
programming, even if it's excel macros or something, so he/she can 
understand what I'm saying about LaTeX. And the person must have an 
open mind.

But in my opinion, LyX or LaTeX experience isn't essential for using 
the LyX docs on my website.

SteveT



Steve Litt
Author: The Key to Everyday Excellence
http://www.troubleshooters.com/bookstore/key_excellence.htm
Twitter: http://www.twitter.com/stevelitt



Re: Guidance in starting to use LyX/LaTex

2011-07-14 Thread Steve Litt
On Thursday, July 14, 2011 12:19:31 PM you wrote:
> On Jul 14, 2011, at 11:52 AM, Steve Litt wrote:
> > On Thursday, July 14, 2011 11:42:09 AM Trevor Jenkins wrote:
> >> Sadly this seems to be the modern tradition. Documentation, if
> >> it even exists, is targeted to the advanced user or the class
> >> author themselves. Other users especially those trying to get
> >> started are overlooked. LyX has the tutorial document, which is
> >> a good start. LaTeX has been around for so long that beginners'
> >> documentation is rarely provided; we are all assumed to be
> >> experts.
> >> 
> > :-) That's why the documentation on Troubleshooters.Com is so
> > 
> > important. It assumes few prerequisites.
> 
> I do recall there being significant content at your site related to
> LaTeX, Steve, but I don't find it when I mouse over the links on
> the home page. Must be deeper in?

That's good information. People might be missing my stuff.

At Troubleshooters.Com, click Linux->Linux_desktop->Office_apps->LyX.

HTH

SteveT

Steve Litt
Author: The Key to Everyday Excellence
http://www.troubleshooters.com/bookstore/key_excellence.htm
Twitter: http://www.twitter.com/stevelitt



Re: Guidance in starting to use LyX/LaTex

2011-07-14 Thread Trevor Jenkins
On Thu, Jul 14, 2011 at 5:19 PM, Eric Weir  wrote:

>
> On Jul 14, 2011, at 11:52 AM, Steve Litt wrote:
>

>
:-) That's why the documentation on Troubleshooters.Com is so
>> important. It assumes few prerequisites.
>>
>
> I do recall there being significant content at your site related to LaTeX,
> Steve, but I don't find it when I mouse over the links on the home page.
> Must be deeper in?
>

So still some prerequisites being assumed then.

Regards, Trevor.

<>< Re: deemed!


Re: Guidance in starting to use LyX/LaTex

2011-07-14 Thread Eric Weir

On Jul 14, 2011, at 11:52 AM, Steve Litt wrote:

> On Thursday, July 14, 2011 11:42:09 AM Trevor Jenkins wrote:
>> 
>> Sadly this seems to be the modern tradition. Documentation, if it
>> even exists, is targeted to the advanced user or the class author
>> themselves. Other users especially those trying to get started are
>> overlooked. LyX has the tutorial document, which is a good start.
>> LaTeX has been around for so long that beginners' documentation is
>> rarely provided; we are all assumed to be experts.
> 
> :-) That's why the documentation on Troubleshooters.Com is so 
> important. It assumes few prerequisites.

I do recall there being significant content at your site related to LaTeX, 
Steve, but I don't find it when I mouse over the links on the home page. Must 
be deeper in?

--
Eric Weir
Decatur, GA  USA
eew...@bellsouth.net






Re: Guidance in starting to use LyX/LaTex

2011-07-14 Thread Eric Weir

On Jul 14, 2011, at 11:49 AM, Richard Heck wrote:

>> Reconfigure seems to have helped. I now have five koma classes. And many 
>> other new ones. However -- and I don't if this matters -- in the huge list 
>> revealed in tools > tex information > latex classes koma is still missing. 
>> 
> 
> These classes have names like: scrartcl.cls, scrbook.cls, etc. Don't ask
> me why.

Thanks, Richard. In checking out koma I did notice reference to those names. I 
see there are seven classes in that list that begin with the letters "src". It 
may be that reconfiguring has made them all available to me in document > 
settings. At least there are several more than previously.

--
Eric Weir
Decatur, GA  USA
eew...@bellsouth.net






Re: Guidance in starting to use LyX/LaTex

2011-07-14 Thread Eric Weir

On Jul 14, 2011, at 11:35 AM, Richard Heck wrote:

> n 07/13/2011 08:58 PM, Eric Weir wrote:
>> 
>> 
>> I'm intrigued by both memoir and koma. And maybe the standard classes are as 
>> good a place to start?
>> 
>> The documentation for memoir [memman] is forbidding, for koma [scrguien] 
>> much less so. The former does not even obviously address installation. 
>> 
> 
> These classes should be installed automatically with your TeX
> distribution. If not, then I presume whatever OSX thing you are using
> has some kind of GUI for doing this. I don't know Mac, though.

Reconfiguring, as suggested by Stephan, helped, Richard. I now have several 
koma classes.

--
Eric Weir
Decatur, GA  USA
eew...@bellsouth.net






Re: Guidance in starting to use LyX/LaTex

2011-07-14 Thread Eric Weir

On Jul 14, 2011, at 11:42 AM, Trevor Jenkins wrote:

> On Thu, Jul 14, 2011 at 1:58 AM, Eric Weir  wrote:
> 
> The documentation for memoir [memman] is forbidding, for koma [scrguien] much 
> less so.
> 
> Sadly this seems to be the modern tradition. Documentation, if it even 
> exists, is targeted to the advanced user or the class author themselves. 
> Other users especially those trying to get started are overlooked. LyX has 
> the tutorial document, which is a good start. LaTeX has been around for so 
> long that beginners' documentation is rarely provided; we are all assumed to 
> be experts. 

I think I'm gonna go with koma, Trevor. For one, the documentation strikes me 
as excellent. Certainly compared to memoir.

Don't remember where I accessed them at the moment, or which ones, but I did 
take a look at a few class documents. There were a couple relatively simple 
ones that I could make rough sense of. Many were overwhelming. I'd like to have 
at least some idea what I'm working with, and to be able to refer back to the 
class document while I'm working with it to see if I can learn how it works. 

--
Eric Weir
Decatur, GA  USA
eew...@bellsouth.net






Re: Guidance in starting to use LyX/LaTex

2011-07-14 Thread Steve Litt
On Thursday, July 14, 2011 11:42:09 AM Trevor Jenkins wrote:
> On Thu, Jul 14, 2011 at 1:58 AM, Eric Weir 
> wrote:
> 
> The documentation for memoir [memman] is forbidding, for koma
> [scrguien]
> 
> > much less so.
> 
> Sadly this seems to be the modern tradition. Documentation, if it
> even exists, is targeted to the advanced user or the class author
> themselves. Other users especially those trying to get started are
> overlooked. LyX has the tutorial document, which is a good start.
> LaTeX has been around for so long that beginners' documentation is
> rarely provided; we are all assumed to be experts.

:-) That's why the documentation on Troubleshooters.Com is so 
important. It assumes few prerequisites.

SteveT


> 
> Regards, Trevor.
> 
> <>< Re: deemed!

-- 
Steve Litt
Author: The Key to Everyday Excellence
http://www.troubleshooters.com/bookstore/key_excellence.htm
Twitter: http://www.twitter.com/stevelitt



Re: Guidance in starting to use LyX/LaTex

2011-07-14 Thread Richard Heck
On 07/14/2011 11:42 AM, Eric Weir wrote:
>
>>> Through documents > settings > document class I see a collection of 
>>> document classes. Many are identified as unavailable. Through tools > tex 
>>> information > latex classes I see a huge list of classes. Are these 
>>> available for use in LyX? If not, how do I make them available? Koma-script 
>>> is not among them. How do I get it included. 
>> You may try to reconfigure: LyX -> Reconfigure.
>>
>> I have document class "book (Koma-Script)" available.
>> Which classes are available depends on your LaTeX installation.
> Reconfigure seems to have helped. I now have five koma classes. And many 
> other new ones. However -- and I don't if this matters -- in the huge list 
> revealed in tools > tex information > latex classes koma is still missing. 
>
These classes have names like: scrartcl.cls, scrbook.cls, etc. Don't ask
me why.

rh



Re: Guidance in starting to use LyX/LaTex

2011-07-14 Thread Eric Weir

On Jul 14, 2011, at 10:59 AM, Stephan Witt wrote:

> Am 14.07.2011 um 15:18 schrieb Eric Weir:
> 
>> I've found the LyX layouts folder. In 
>> /applications/lyx.app/resources/layouts.
> 
> Are you sure? It should be /Applications/LyX.app/Contents/Resources/layouts.

Thanks, Stephan. I was careless.

>> Through documents > settings > document class I see a collection of document 
>> classes. Many are identified as unavailable. Through tools > tex information 
>> > latex classes I see a huge list of classes. Are these available for use in 
>> LyX? If not, how do I make them available? Koma-script is not among them. 
>> How do I get it included. 
> 
> You may try to reconfigure: LyX -> Reconfigure.
> 
> I have document class "book (Koma-Script)" available.
> Which classes are available depends on your LaTeX installation.

Reconfigure seems to have helped. I now have five koma classes. And many other 
new ones. However -- and I don't if this matters -- in the huge list revealed 
in tools > tex information > latex classes koma is still missing. 

>> I see how to use a template. How do I use a layout? How do I use a document 
>> class? 
> 
> AFAIK, you choose a document class not a layout. 

Thanks again. That helps. 

In addition to reading more carefully, as suggested by Liviu, I guess I need to 
find a class that appears somewhat relevant to my needs and get started seeing 
what I can do with it. I think I can do that now.

Sincerely,
--
Eric Weir
Decatur, GA  USA
eew...@bellsouth.net






Re: Guidance in starting to use LyX/LaTex

2011-07-14 Thread Trevor Jenkins
On Thu, Jul 14, 2011 at 1:58 AM, Eric Weir  wrote:

The documentation for memoir [memman] is forbidding, for koma [scrguien]
> much less so.


Sadly this seems to be the modern tradition. Documentation, if it even
exists, is targeted to the advanced user or the class author themselves.
Other users especially those trying to get started are overlooked. LyX has
the tutorial document, which is a good start. LaTeX has been around for so
long that beginners' documentation is rarely provided; we are all assumed to
be experts.

Regards, Trevor.

<>< Re: deemed!


Re: Guidance in starting to use LyX/LaTex

2011-07-14 Thread Richard Heck
On 07/13/2011 08:58 PM, Eric Weir wrote:
>
>> The sort of thing
>> you want to do would probably be quite easy with the memoir class, or
>> perhaps with one of the koma-script classes (probably the article one,
>> since it looks as if you do not need chapters here), all of which
>> provide "hooks" for customizing the appearance of the headings, title,
>> etc. Both of these have extensive documentation (memman.pdf,
>> scrguien.pdf), and various people here have plenty of experience with
>> these classes.
> I'm intrigued by both memoir and koma. And maybe the standard classes are as 
> good a place to start?
>
> The documentation for memoir [memman] is forbidding, for koma [scrguien] much 
> less so. The former does not even obviously address installation. 
>
These classes should be installed automatically with your TeX
distribution. If not, then I presume whatever OSX thing you are using
has some kind of GUI for doing this. I don't know Mac, though.

Richard



Re: Guidance in starting to use LyX/LaTex

2011-07-14 Thread Eric Weir

On Jul 14, 2011, at 10:47 AM, Liviu Andronic wrote:

> Most of your questions should already be answered in either of these
> three documents in Help: Intro, Tutorial and User's Guide. (For
> example, User's Guide > Section 3.1.2.2 explains why some classes
> would be tagged as 'unavailable'.) If you still have questions after
> reading them (and re-reading, if necessary), please post back here.

Thanks, Liviu. I'll reread, and reread more carefully. 

Sincerely,
--
Eric Weir
Decatur, GA  USA
eew...@bellsouth.net






Re: Guidance in starting to use LyX/LaTex

2011-07-14 Thread Stephan Witt
Am 14.07.2011 um 15:18 schrieb Eric Weir:

> 
> I've found the LyX layouts folder. In /applications/lyx.app/resources/layouts.

Are you sure? It should be /Applications/LyX.app/Contents/Resources/layouts.

> How do I make use of them? Through documents > settings? If so, where exactly?
> 
> Through documents > settings > document class I see a collection of document 
> classes. Many are identified as unavailable. Through tools > tex information 
> > latex classes I see a huge list of classes. Are these available for use in 
> LyX? If not, how do I make them available? Koma-script is not among them. How 
> do I get it included. 

You may try to reconfigure: LyX -> Reconfigure.

I have document class "book (Koma-Script)" available.
Which classes are available depends on your LaTeX installation.

> I see how to use a template. How do I use a layout? How do I use a document 
> class? 

AFAIK, you choose a document class not a layout. 

You may find information about that in the Customization manual "5.2 Types of 
layout files".

Stephan

Re: use of \citet (with natbib numeric) gives "(author?)" error

2011-07-14 Thread Richard Heck
On 07/14/2011 07:37 AM, Matthias Hunstig wrote:
> Hello Richard,
>
> thanks for the answer. I do not think it is a Unicode problem because I 
> generate the bibtex file from Zotero using IS0-8859-15 which has worked 
> before. Also, all author names appear fine in the bibliography itself. Even 
> those with special characters such as "ï".
>
This does not mean that they are handled properly by the algorithms that
create the citations. I would suggest you at least try this with a
sanitized BibTeX file.

rh

> Any other ideas?
>
> Matthias
>
>> -Original Message-
>> From: Richard Heck [mailto:rgh...@comcast.net]
>> Sent: Wednesday, July 13, 2011 3:40 PM
>> To: Matthias Hunstig
>> Cc: lyx-users@lists.lyx.org
>> Subject: Re: use of \citet (with natbib numeric) gives "(author?)" error
>>
>> On 07/13/2011 05:58 AM, Matthias Hunstig wrote:
>>> Hello,
>>>
>>> I am using LyX 2.0 and just switched the citation style to Natbib (numeric)
>> because I want to use \citet from time to time.
>>> However, whenever I use \citet, a bold *(author?)* appears in the PDF
>>> instead of the author name. The source code looks fine to me, for
>>> example: \citet[p.~223]{watson_2009}
>>>
>>> Any idea what causes this?
>>>
>> This kind of thing is usually due to problems with the .bib file, and the
>> problem is usually the presence of Unicode characters gotten from pasting a
>> reference from the web or something. If you use bibtex for the processor,
>> then the file really needs to be ASCII; if you use bibtex8, you can get away
>> with 8-bit encodings; but Unicode needs special treatment and is not
>> presently recommended.
>>
>> Richard



Re: Guidance in starting to use LyX/LaTex

2011-07-14 Thread Liviu Andronic
Hello

On Thu, Jul 14, 2011 at 3:18 PM, Eric Weir  wrote:
>
> I've found the LyX layouts folder. In 
> /applications/lyx.app/resources/layouts. How do I make use of them? Through 
> documents > settings? If so, where exactly?
>
> Through documents > settings > document class I see a collection of document 
> classes. Many are identified as unavailable. Through tools > tex information 
> > latex classes I see a huge list of classes. Are these available for use in 
> LyX? If not, how do I make them available? Koma-script is not among them. How 
> do I get it included.
>
> I see how to use a template. How do I use a layout? How do I use a document 
> class?
>
A document class is a LaTeX package. A layout is file that allows LyX
to understand that LaTeX document class. (For the moment, don't worry
about *.layout files; you use them automatically.) To use a given
LaTeX class select it in Document > Settings > Class. If koma-script
is unavailable, you need to install the appropriate LaTeX package (the
LyX layout should already be available on your system).

Most of your questions should already be answered in either of these
three documents in Help: Intro, Tutorial and User's Guide. (For
example, User's Guide > Section 3.1.2.2 explains why some classes
would be tagged as 'unavailable'.) If you still have questions after
reading them (and re-reading, if necessary), please post back here.
Liviu


> Thanks,
> --
> Eric Weir
> Decatur, GA  USA
> eew...@bellsouth.net
>
>
>
>
>



-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


Re: formatted cross-reference to subsection broken

2011-07-14 Thread Richard Heck
On 07/14/2011 07:08 AM, Sebastian Rockel wrote:
> Am 09.07.2011 um 16:49 schrieb Richard Heck:
>
>> On 07/09/2011 10:08 AM, Sebastian Rockel wrote:
>>> Hi,
>>>
>>> I am using Lyx-2.0 with KOMA-book class (pdflatex) on Mac OSX 10.6.8.
>>>
>>> I am often using the cross-reference option 'Formatted reference' as it is 
>>> quite convenient to have automatic addition of 'figure', 'section' etc.
>>>
>>> Nevertheless I noticed (by accident) that in the Lyx window references 
>>> appear to be fine but show up in the final pdf as '??'. This is the case 
>>> for references within a 'subsection'.
>>>
>>> This is a little bit annoying as it can be overseen in a larger document 
>>> easily.
>>>
>>> Is this a bug? Has anyone else this problem?
>>> Any comments?
>>>
>> The reason for this is that LyX by default uses the prefix "sub" for
>> such references, as you create them, but neither prettyref nor refstyle
>> defines a format for this. I'm not sure if that counts as a bug or not.
>> Anyway, you can deal with it two ways.
> Thanks for the explanation.
> IMO another solution would be that LyX by default uses 'sec' instead of 'sub'.
>
>> (i) Put a format declaration for "sub" references into your preamble.
>> How you do this depends upon whether you are using refstyle or
>> prettyref. (This is set under Document>Settings.) For prettyref, you can
>> do something like:
>>\newrefformat{sub}{Subsection \ref{#1}}
>> For refstyle:
>>\newref{sub}{refcmd={Subsection \ref{#1}}}
>> Of course, you can adapt these as you wish.
>>
>> (ii) Modify what LyX uses for subsections. This is a matter of layout,
>> and can be done in a module, in local layout (under Document>Settings),
>> or wherever you wish:
>>Style Subsection
>>RefPrefix sec
>>End
>> The defaults are in the file stdrefprefix.inc. If you like, you can copy
>> the system file to your local layout directory (by default, on Linux,
>> ~/.lyx/layouts/), modify it, and then LyX will use it instead of the
>> system one.
> I tried local layout and stdrefprefix.inc  (under Mac OS) but it didn't work 
> (still '??').
> For the time being I don't use LyX 'formatted reference' and keep manually 
> writing 'section'.
>
Putting the above into local layout (make sure you put "Format 35" as
the first line, though) should change the default. It won't change
what's already there.

rh



Re: Chapter numbers disappear

2011-07-14 Thread Louis Turk
On 07/13/2011 09:36 PM, Richard Heck wrote:
> On 07/13/2011 05:49 AM, Louis Turk wrote:
>> Hi fellow Lyxers,
>>
>> We are using Lyx 2.0, the book (Memoir) document class, and the 
>>
>> bianchi chapter
>> style. All was well until we finished the body of the book, and
>> inserted the frontmatter. Now in the PDF the chapter numbers do
>> not show above the chapter names or in the TOC (they still show
>> in Lyx). I note in the archives that several others have
>> experienced this same problem in the past, but I found no
>> solution. What is the way to fix this?
>>
> Sounds more like a memoir issue. You might try asking on comp.text.tex.
>
>> In this same book, we are using the default headings style. Is
>> there an easy way to place a thin rule under the headings.
>>
> Have a look at the fancyhdr package, or (I think) the similar mechanisms
> that are built into memoir.
>
> Richard
Thanks Richard, I'll check in comp.text.tex.

Lou



Re: Guidance in starting to use LyX/LaTex

2011-07-14 Thread Eric Weir

I've found the LyX layouts folder. In /applications/lyx.app/resources/layouts. 
How do I make use of them? Through documents > settings? If so, where exactly?

Through documents > settings > document class I see a collection of document 
classes. Many are identified as unavailable. Through tools > tex information > 
latex classes I see a huge list of classes. Are these available for use in LyX? 
If not, how do I make them available? Koma-script is not among them. How do I 
get it included. 

I see how to use a template. How do I use a layout? How do I use a document 
class? 

Thanks,
--
Eric Weir
Decatur, GA  USA
eew...@bellsouth.net






RE: use of \citet (with natbib numeric) gives "(author?)" error

2011-07-14 Thread Matthias Hunstig
Hello Richard,

thanks for the answer. I do not think it is a Unicode problem because I 
generate the bibtex file from Zotero using IS0-8859-15 which has worked before. 
Also, all author names appear fine in the bibliography itself. Even those with 
special characters such as "ï".

Any other ideas?

Matthias

> -Original Message-
> From: Richard Heck [mailto:rgh...@comcast.net]
> Sent: Wednesday, July 13, 2011 3:40 PM
> To: Matthias Hunstig
> Cc: lyx-users@lists.lyx.org
> Subject: Re: use of \citet (with natbib numeric) gives "(author?)" error
> 
> On 07/13/2011 05:58 AM, Matthias Hunstig wrote:
> > Hello,
> >
> > I am using LyX 2.0 and just switched the citation style to Natbib (numeric)
> because I want to use \citet from time to time.
> >
> > However, whenever I use \citet, a bold *(author?)* appears in the PDF
> > instead of the author name. The source code looks fine to me, for
> > example: \citet[p.~223]{watson_2009}
> >
> > Any idea what causes this?
> >
> This kind of thing is usually due to problems with the .bib file, and the
> problem is usually the presence of Unicode characters gotten from pasting a
> reference from the web or something. If you use bibtex for the processor,
> then the file really needs to be ASCII; if you use bibtex8, you can get away
> with 8-bit encodings; but Unicode needs special treatment and is not
> presently recommended.
> 
> Richard



Re: File -> control version

2011-07-14 Thread Mariano Llamedo Soria
Thanks Stephan.

On Thu, Jul 14, 2011 at 1:10 PM, Stephan Witt  wrote:

> Am 14.07.2011 um 12:58 schrieb Mariano Llamedo Soria:
>
> > Which is the idea and how can I use the control version features in the
> file menu ? I looked for some documentation and I found nothing.
>
> Please read the "Additional" manual - Section "7.2 Version Control in LyX".
>
>
> > I am interesting in usgin SVN with my documents but I dont know if Lyx
> has some feature integrated. Now I am doing it with TortoiseSVN outside Lyx.
> >
> > Some recommendations ?
>
> LyX has support for SVN included. You have to work with an existing
> repository.
>
> Stephan


Re: File -> control version

2011-07-14 Thread Stephan Witt
Am 14.07.2011 um 12:58 schrieb Mariano Llamedo Soria:

> Which is the idea and how can I use the control version features in the file 
> menu ? I looked for some documentation and I found nothing. 

Please read the "Additional" manual - Section "7.2 Version Control in LyX".


> I am interesting in usgin SVN with my documents but I dont know if Lyx has 
> some feature integrated. Now I am doing it with TortoiseSVN outside Lyx. 
> 
> Some recommendations ?

LyX has support for SVN included. You have to work with an existing repository.

Stephan

Re: formatted cross-reference to subsection broken

2011-07-14 Thread Sebastian Rockel

Am 09.07.2011 um 16:49 schrieb Richard Heck:

> On 07/09/2011 10:08 AM, Sebastian Rockel wrote:
>> Hi,
>> 
>> I am using Lyx-2.0 with KOMA-book class (pdflatex) on Mac OSX 10.6.8.
>> 
>> I am often using the cross-reference option 'Formatted reference' as it is 
>> quite convenient to have automatic addition of 'figure', 'section' etc.
>> 
>> Nevertheless I noticed (by accident) that in the Lyx window references 
>> appear to be fine but show up in the final pdf as '??'. This is the case for 
>> references within a 'subsection'.
>> 
>> This is a little bit annoying as it can be overseen in a larger document 
>> easily.
>> 
>> Is this a bug? Has anyone else this problem?
>> Any comments?
>> 
> The reason for this is that LyX by default uses the prefix "sub" for
> such references, as you create them, but neither prettyref nor refstyle
> defines a format for this. I'm not sure if that counts as a bug or not.
> Anyway, you can deal with it two ways.

Thanks for the explanation.
IMO another solution would be that LyX by default uses 'sec' instead of 'sub'.

> (i) Put a format declaration for "sub" references into your preamble.
> How you do this depends upon whether you are using refstyle or
> prettyref. (This is set under Document>Settings.) For prettyref, you can
> do something like:
>\newrefformat{sub}{Subsection \ref{#1}}
> For refstyle:
>\newref{sub}{refcmd={Subsection \ref{#1}}}
> Of course, you can adapt these as you wish.
> 
> (ii) Modify what LyX uses for subsections. This is a matter of layout,
> and can be done in a module, in local layout (under Document>Settings),
> or wherever you wish:
>Style Subsection
>RefPrefix sec
>End
> The defaults are in the file stdrefprefix.inc. If you like, you can copy
> the system file to your local layout directory (by default, on Linux,
> ~/.lyx/layouts/), modify it, and then LyX will use it instead of the
> system one.

I tried local layout and stdrefprefix.inc  (under Mac OS) but it didn't work 
(still '??').
For the time being I don't use LyX 'formatted reference' and keep manually 
writing 'section'.

Sebastian

File -> control version

2011-07-14 Thread Mariano Llamedo Soria
Which is the idea and how can I use the control version features in the file
menu ? I looked for some documentation and I found nothing.

I am interesting in usgin SVN with my documents but I dont know if Lyx has
some feature integrated. Now I am doing it with TortoiseSVN outside Lyx.

Some recommendations ?

Thanks,
Mariano.


Re: Lyx 2.0 problems with PDF in Windows

2011-07-14 Thread Liviu Andronic
On Thu, Jul 14, 2011 at 9:48 AM, Mariano Llamedo Soria
 wrote:
> The problem is related to the temporal path used by Lyx. I am usign  Lyx in
> spanish, where the temp path by default has characters not supported by Lyx,
> as "Configuración Local" (local configuration). I think this should be
> handled in future releases to avoid changing the path to a simpler place,
> like c:\temp.
>
Please file this bug on the bug tracker [1], so that it doesn't get
lost on the ML.
Liviu

[1] http://www.lyx.org/trac/wiki/BugTrackerHome


Re: Lyx file format ?

2011-07-14 Thread Abdelrazak Younes

On 14/07/2011 02:08, Stephen George wrote:

On 13/07/2011 12:31 PM, steve_...@optusnet.com.au wrote:


Hi,

I am wondering if it is conceivable to generate (with a script) Lyx
files, that can be later opened in Lyx to perform final
editing/touch-ups before generating my final book?

Is their some documentation on the Lyx file format somewhere?
Will the Lyx format be easier or harder to manage than dealing
directly with Latex format?

Thanks
Steve


Thanks everyone for the great hints.

A couple of you asked what I intend to do (how complicated).

I'll be dragging data from a data base populated with genealogy data.
It's not fully formulated in my mind yet, but I see:
- for each person a new section
- sub sections for various details of the person (marriages, children,
notes etc)
- maybe a table to summarize various details of a person (life events)
- possibly the inclusion of a picture if the records contains a picture.

I was considering targeting Lyx as the generated files rather than
Latex, as I will need to tweak the data, and potentially add more
details, introductions, explanations etc. that are not included in the
data base. I was wanting to use the pull from the data base as a
starting base to which I need to do more work.
As pointed out by Trevor I could import Latex files to lyx, this is
under consideration but I would still need to generate the Latex files.
In the mean time I've been playing around with the lyx2lyx python code
and created a simple class that can write basic lyx files, I might try
and push this a bit more and see if I can get the elements of lyx that
I'll need to use to work.


Another option with greater flexibility IMHO would be to create an 
external inset that would pull the database directly from within LyX.


Abdel.


Re: Lyx 2.0 problems with PDF in Windows

2011-07-14 Thread Mariano Llamedo Soria
Finally I solved this problem when trying to fix another problem related to
SVG graphics.

The problem is related to the temporal path used by Lyx. I am usign  Lyx in
spanish, where the temp path by default has characters not supported by Lyx,
as "Configuración Local" (local configuration). I think this should be
handled in future releases to avoid changing the path to a simpler place,
like c:\temp.

As I told before, the same problem occurs when Lyx does the internal
conversions of graphics to PNG, for example from SVG. The temporal path in a
language different than english probably generates troubles. This is also
fixed by changing the temp folder.

Regards,
Mariano.

On Tue, Jul 12, 2011 at 4:41 AM, Mariano Llamedo Soria
wrote:

> Thanks Liviu but the problem seems not to be there. I tried many options as
> you suggested, acrobat, sumatra, etc. I have to remark that in version 1.6.9
> the same configuration than in 2.0 is set: Custom -> pdfview. There are not
> predefined options as you suggested, only None and Custom. Any clue ?
>
> Regards,
> Mariano.
>
>
> On Mon, Jul 11, 2011 at 8:35 PM, Liviu Andronic wrote:
>
>> (please reply to the list, too)
>>
>>
>> On Mon, Jul 11, 2011 at 8:23 PM, Mariano Llamedo Soria
>>  wrote:
>> > Hi Liviu, now I have Lyx 1.6.9 working good and 2.0.0 29 April 2011 not
>> > working.
>> >
>> > I am comparing the settings where you ask me.
>> >
>> > I think I use pdflatex, and in both versions are the same settings:
>> >
>> > short name: pdf2
>> > extension: pdf
>> > shortcut: F
>> > Editor: none
>> > Viewer: custom -> pdfview
>> >
>> The culprit may be here. Instead of 'custom -> pdfview', can you
>> select one from the predefined list, such as 'acroread', 'evince',
>> etc.? Otherwise, what do you see in that list?
>> Liviu
>>
>>
>> > predefined output format PDF (pdflatex)
>> >
>> >
>> > The other PDF programs seems to have similar values, but with other
>> > shortcuts. None of them work.
>> >
>> > Thanks !!
>> > Mariano.
>> >
>> >
>> > On Mon, Jul 11, 2011 at 2:19 PM, Liviu Andronic > >
>> > wrote:
>> >>
>> >> On Mon, Jul 11, 2011 at 8:13 AM, Mariano Llamedo Soria
>> >>  wrote:
>> >> > Hi everybody, I am still having problems with Lyx 2.0 producing PDF
>> >> > files.
>> >> > The message I have when trying to visualize, after Latex compiling is
>> >> > "No
>> >> > PDF Viewer is installed...". I read a post of Josep Luis having the
>> same
>> >> > problem, that after uninstalling, cleaning the registry of lyx and
>> >> > acrobat
>> >> > stuff, reinstalling acrobat with all updates and latest Lyx he suceed
>> to
>> >> > produce PDF documents. This is not my case with Windows XP SP3. I
>> also
>> >> > tried
>> >> > Sumatra with no sucess ... I have been using Lyx for 4 years with no
>> >> > problems, probably an installation bug is still around there ... Can
>> >> > anybody
>> >> > help ?
>> >> >
>> >> Check Tools > Prefs > File > Formats > PDF* > Viewe and tell us what
>> >> you see in that list.
>> >> Liviu
>> >>
>> >>
>> >> > Regards,
>> >> > Mariano.
>> >> >
>> >>
>> >>
>> >>
>> >> --
>> >> Do you know how to read?
>> >> http://www.alienetworks.com/srtest.cfm
>> >> http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
>> >> Do you know how to write?
>> >> http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail
>> >
>> >
>>
>>
>>
>> --
>> Do you know how to read?
>> http://www.alienetworks.com/srtest.cfm
>> http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
>> Do you know how to write?
>> http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail
>>
>
>


Re: Lyx file format ?

2011-07-14 Thread Trevor Jenkins
On Thu, Jul 14, 2011 at 8:09 AM, Mark Livingstone  wrote:

On 14 July 2011 10:46, Trevor Jenkins  wrote:
>

>
Alternatively you might want to consider using LifeLifes (open source so
>> provided you have a C compiler can be run pretty much on many machine). It
>> has a powerful report language and a LaTeX report script already exists.
>>
>
I think you meant LifeLines at http://lifelines.sourceforge.net ?


Oops yes, LifeLines. Some of the report repositories listed there are no
longer available but on that are the OP should look for book-latex.

Regards, Trevor.

<>< Re: deemed!


Re: Question on using Lyx 2.0 with Sweave for R 2.13.0

2011-07-14 Thread Liviu Andronic
On Thu, Jul 14, 2011 at 5:18 AM, Yihui Xie  wrote:
> So that is the problem. The 'View' button was disabled because the
> converter associated with the Sweave module does not exist.
>
> I am not sure about the reason why these converters are not there.
>
Possibly an old profile folder that didn't get updated correctly,
or/and LyX Reconfigure that failed at this step. Since the Rtools
installation helps LyX to communicate with R, I would suggest that you
try reinstalling Rtools as much as possible by using default
installation settings (especially I wouldn't tinker with '3) Select
current value of PATH'). Additionally, try moving your old profile dir
to somewhere else and then completely uninstall and reinstall LyX.
Liviu


> JMarc should be more familiar with the configuration behind the scene.
> I can give you steps to manually define these converters, but I do not
> want to mess up with your LyX configurations. You may come back to me
> if you really cannot solve the problem.
>
> BTW, are you sure the bin path of R is in your PATH? try this in a
> command window (Start-->Run; cmd):
>
> Rscript --version
>
> Regards,
> Yihui
> --
> Yihui Xie 
> Phone: 515-294-2465 Web: http://yihui.name
> Department of Statistics, Iowa State University
> 2215 Snedecor Hall, Ames, IA
>
>
>
> On Wed, Jul 13, 2011 at 9:03 PM, Z.L. Li  wrote:
>> Hi Yihui,
>> Thanks for your help. I just checked the converter part, surprisingly there
>> is 0 converter from Sweave to LaTeX ! I never thought about this as I think
>> if Sweave is a module, such converters should be automatically loaded.
>> Can you show me the how-to on putting those 4 converters into Lyx? Thank you
>> very much.
>> Ziliang
>>
>>
>> On Wed, Jul 13, 2011 at 4:32 PM, Yihui Xie  wrote:
>>>
>>> Is there a converter from Sweave to LaTeX? Check it in the menu
>>> Tools-->Preferences-->Converters. Normally you should have at least
>>> four converters from Sweave to different types of LaTeX output.
>>>
>>> Regards,
>>> Yihui
>>> --
>>> Yihui Xie 
>>> Phone: 515-294-2465 Web: http://yihui.name
>>> Department of Statistics, Iowa State University
>>> 2215 Snedecor Hall, Ames, IA
>>>
>>>
>>>
>>> On Wed, Jul 13, 2011 at 12:25 PM, Z.L. Li  wrote:
>>> > Dear list members,
>>> > As a newbee to Lyx, recently I tried to set it up and use the Sweave
>>> > module
>>> > to document some R codes
>>> > I have. I ran into problems very similar to the one discussed earlier in
>>> > this tread:
>>> > http://www.mail-archive.com/lyx-users@lists.lyx.org/msg87193.html
>>> > I looked through the replies, tried and same problem remained. I have
>>> > listed
>>> > what I did below and hope
>>> > to find a cure.
>>> > I tried the following steps in two systems: XP + MikTex 2.9 + R 2.13.0 /
>>> > Win7 + MikTex 2.9 + R 2.13.0
>>> > 1. put "C:\Program Files\MiKTEX 2.9\miktex\bin" and "C:\Program
>>> > Files\R\R-2.13.0\bin"
>>> >     into the PATH system variable.
>>> > 2. download and install RTool for 2.13.x or later, checked to add the
>>> > appropriate Rtools path during
>>> >     installation. And "C:\Program Files\Rtools\MinGW\bin", "C:\Program
>>> > Files\Rtools\MinGW64\bin"
>>> >     are in the PATH variable, too.
>>> > 3. copy noweb.sty and Sweave.sty to "C:\Program Files\MiKTeX
>>> > 2.9\tex\latex\misc" and Refresh FNDB
>>> >     using the MikTex setting interface. I can use "kpsewhich" under
>>> > command
>>> > mode to locate these two
>>> >     style files.
>>> > 4. download LyX-2.0.0-3-Installer and install Lyx. After installation,
>>> > run
>>> > the Reconfigure once.
>>> > When these steps finished, I opened the test file sweave.lyx, the "View"
>>> > button is "disabled". I can see
>>> > the Sweave module is loaded in Lyx from the Preference tab with the
>>> > typical
>>> > warning:
>>> > "WARNING: Some required packages are unavailable!"
>>> > I am pretty much stuck at this point and don't know what else I can do.
>>> > Any
>>> > help is truly appreciated.
>>> > Regards,
>>> > Ziliang
>>> >
>>> > --
>>> > Life goes on
>>> >
>>
>>
>>
>> --
>> Life goes on
>>
>



-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


Re: Lyx file format ?

2011-07-14 Thread Mark Livingstone
I think you meant LifeLines at http://lifelines.sourceforge.net ?



On 14 July 2011 10:46, Trevor Jenkins  wrote:

> On Thu, Jul 14, 2011 at 1:08 AM, Stephen George  > wrote:
>
> GEDCOM? There's an example in an early edition of Michael Kay's book on
> using XSLT (Wrox Press) taking GEDCOM data and using XSLT to transform it
> into an XML format.
>
> Alternatively you might want to consider using LifeLifes (open source so
> provided you have a C compiler can be run pretty much on many machine). It
> has a powerful report language and a LaTeX report script already exists.
>
>