Re: inserting custom layout

2010-07-19 Thread Richard Heck

On 07/20/2010 01:26 AM, Sajjad wrote:




I need some suggestion make this mapping between the manual that
i have now and .layout file that i have to edit. Some of the
macros defined in the manual has no corresponding options defined
in the LyX manual. What to do then?


That depends upon the command. Ones like \subject are going to be
treated as paragraphs. So:
Style Subject
LatexType command
LatexName subject
# this tells LyX that it goes into Front Matter
InTitle 1
End
Very basic, with no special formatting, but it will work. The only
one of the Front Matter commands you can't do this way is
\thesisDate, because LyX doesn't yet do multi-argument commands.
There will be support for that in 2.0, however. So, for now, you'd
have to enter that as ERT.


Any hint on how to do you find /subject to be treated as a Style? In 
the manual it specifies that it takes only one argument.



Isn't that just above? One argument is easy.

rh



Re: inserting custom layout

2010-07-19 Thread Sajjad
On Fri, Jul 16, 2010 at 4:56 PM, Richard Heck  wrote:

>  On 07/16/2010 05:32 AM, Sajjad wrote:
>
> Hello Forum,
>
>  I have made similar post couple of months ago. The new class that i am
> trying to incorporate into LyX layout is accompanied by a description of the
> class file.
>
>  I did some configuration so  that get the liuthesis.layout in
> Document->settings->Document class option combox box. I believe that it is
> not enough to get started with the writing yet.
>
>  And i am kind of confused how to make the related configuration in the
> layout file. Lets take an example:
>
>  1. In the accompanied manual, it specifies number of options that i can
> set. One of the options is "Output format". The possible values for this
> option are:
>
>- print.
>- ePress.
>- pdfRelease.
>- draft.
>
> How to specifiy this option in the layout file. I have checked the
> customization chapter for LyX. Should it go under the section "ClassOptions"
> section or "AddToPreamble" ?
>
>  If you want one of these options set by default, but for the user to be
> able to override it, then add it ClassOptions, e.g.:
> Class Options
> Other ePress
> End
> These will turn up on the Document Class pane of Document>Settings.
>
>
>
>  There are several other Macros in the accompanied pdf file that must be
> configured in  the layout file.
>
>
>  During the previous post, one Julien showed me some hint ; like inputting
> the department name of the thesis that i am writing for and it was specified
> in the class options from LyX Documents Settings menu. He suggested this
> based on his extensive experience with LyX.
>
>  Now if i have to specify the department name in the liuthesis.layout file
> it should have went into "ClassOptions" section and  inside "Other"
> subsection. Shouldn't it?
>
>  Yes, just as with ePress, since this is a class option.
>
>
>  I need some suggestion make this mapping between the manual that i have
> now and .layout file that i have to edit. Some of the macros defined in the
> manual has no corresponding options defined in the LyX manual. What to do
> then?
>
>  That depends upon the command. Ones like \subject are going to be treated
> as paragraphs. So:
> Style Subject
> LatexType command
> LatexName subject
> # this tells LyX that it goes into Front Matter
> InTitle 1
> End
> Very basic, with no special formatting, but it will work. The only one of
> the Front Matter commands you can't do this way is \thesisDate, because LyX
> doesn't yet do multi-argument commands. There will be support for that in
> 2.0, however. So, for now, you'd have to enter that as ERT.
>

Any hint on how to do you find /subject to be treated as a Style? In the
manual it specifies that it takes only one argument.

>
> Then I'd do:
> TitleLatexName makeFrontPage
> so LyX will issue \makeFrontPage to create the title page, etc.
>
> The theorem, etc, environments can probably be copied over from LyX's own
> theorems.inc.
>
> Richard
>
> InTitle 1
>


Re: MinionPro

2010-07-19 Thread Yago

Yes, of course.
- Original Message - 
From: "Paul Rubin" 

To: 
Sent: Monday, July 19, 2010 9:18 PM
Subject: Re: MinionPro



Yago  ono.com> writes:



Finally, after refreshing the MiKTeX Data Base

...

but the output is
incorrect because there no exists spanish accents and nor the "ñ".


Did you also update formats?

/Paul





Re: Endnotes Only, No Bibliography

2010-07-19 Thread Bruce Pourciau


On Jul 19, 2010, at 2:10 PM, Richard Heck wrote:


On 07/19/2010 02:31 PM, Bruce Pourciau wrote:

What if you've written a paper in the usual style, with citations
distinct from footnotes and a bibtex generated bibliography, but this
paper will ultimately be appearing in a book where the house style is
to have only endnotes and no bibliography: all bibliographic
information is given in the endnotes, in full form initially and then
using Ibid or some abbreviated form for later citations of the same  
work.


Is there a LyX or LaTeX way to automate the bibliographic information
with this style?

I've seen a few packages that do this. Jurabib has options for this  
kind
of thing. I'm not sure that's quite what you need, but try using it  
and

loading it with class options "super,ibidem". Maybe you get lucky. If
you need to do it more manually, try the bibentry package.

Richard



Thanks, Richard, I appreciate the help.

Bruce


Re: MinionPro

2010-07-19 Thread Paul Rubin
Yago  ono.com> writes:

>  
> Finally, after refreshing the MiKTeX Data Base
... 
> but the output is 
> incorrect because there no exists spanish accents and nor the "ñ".

Did you also update formats?

/Paul



Re: Endnotes Only, No Bibliography

2010-07-19 Thread Richard Heck

On 07/19/2010 02:31 PM, Bruce Pourciau wrote:
What if you've written a paper in the usual style, with citations 
distinct from footnotes and a bibtex generated bibliography, but this 
paper will ultimately be appearing in a book where the house style is 
to have only endnotes and no bibliography: all bibliographic 
information is given in the endnotes, in full form initially and then 
using Ibid or some abbreviated form for later citations of the same work.


Is there a LyX or LaTeX way to automate the bibliographic information 
with this style?


I've seen a few packages that do this. Jurabib has options for this kind 
of thing. I'm not sure that's quite what you need, but try using it and 
loading it with class options "super,ibidem". Maybe you get lucky. If 
you need to do it more manually, try the bibentry package.


Richard



Endnotes Only, No Bibliography

2010-07-19 Thread Bruce Pourciau
What if you've written a paper in the usual style, with citations  
distinct from footnotes and a bibtex generated bibliography, but this  
paper will ultimately be appearing in a book where the house style is  
to have only endnotes and no bibliography: all bibliographic  
information is given in the endnotes, in full form initially and then  
using Ibid or some abbreviated form for later citations of the same  
work.


Is there a LyX or LaTeX way to automate the bibliographic information  
with this style?


Bruce


Re: Losing Lydia: A Simpler LyX Icon?

2010-07-19 Thread Pavel Sanda
Bruce Pourciau wrote:
> Looking at the icons in the dock of my Mac, it's hard not to notice that 
> the LyX icon -- with Lydia sitting on top of the letters LyX -- being 
> relatively complicated, is less readily identifiable and less "graphic" 

i guess you can relatively easy change the icon on your toolbar,
here are different ones http://wiki.lyx.org/LyX/Icons , choose the one you like.
pavel


Re: MinionPro

2010-07-19 Thread Paul A. Rubin

On 7/18/2010 6:22 PM, Yago wrote:

At the DOS prompt, entering `kpsewhich MinionPro.sty´ three seconds
thinking about and after this time the prompt without messages. Please,
can you explain to me what is the `double-cheked the spelling in the
preamble´. Thank for your hlep.


By double-checking, I meant making sure you had not accidentally entered 
something like \usepackage{MininPro} in the preamble.  That does not 
seem to be the problem, though.  If kpsewhich returned no output, then 
MiKTeX cannot find MinionPro.sty.  Do you have more than one version of 
MiKTeX installed on the machine?


You might try starting the MiKTeX Settings application and clicking 
first Update Formats and then Refresh FNDB.  Then run kpsewhich again 
and see if it finds MinionPro.


/Paul