Re: "Date intended for the title?

2017-09-18 Thread John K. Parejko
> On 15Sep 2017, at 17:05, Richard Heck wrote: > > On 09/15/2017 01:58 PM, John Parejko wrote: >> I've defined Date, Title, Author, Abstract, and DocumentReference (a >> custom command) in the layout as "InPremable 1" (our LaTeX class >> expects them to come before \begin{document}), but still ge

Re: "default" bibliography style in custom layout

2017-09-04 Thread John K. Parejko
On 4Sep 2017, at 06:52, Richard Heck wrote: > On 09/03/2017 07:36 PM, John K. Parejko wrote: > >> Is there a command to add to the layout file to prevent LyX from adding the >> bibliography style? > > No, but you do not have to enter a style in the bibliography dialo

"default" bibliography style in custom layout

2017-09-03 Thread John K. Parejko
Hello, I’m working with a custom LaTeX class[1], based off of article, and I’ve made a LyX layout for it (attached below, modified from article.layout) that works well so far, except for the bibliography. The latex class specifies the bibliography style: \bibliographystyle{lsst_aa} and there

MNRAS/mn2e layout

2010-12-14 Thread John K. Parejko
Hello, Has anyone created an MNRAS (mn2e.cls) LyX layout file? I've made a skeleton file referencing emulateapj that lets me open and compile files with the mn2e class, but it doesn't know anything about, say, their author/thanks style. Piotr Dybczyński asked this exact same question at the en

RE: Python-generated diagram as "external material"

2010-03-12 Thread John K
>> I added the following to the Lyx external_templates file: >> >> Template Python >> GuiName "Python: $$AbsOrRelPathParent$$Basename" >> HelpText >> Python diagram. >> HelpTextEnd >> InputFormat "*" > > I think you need to define an input format and a .py -> .pdf converter which > runs the python

RE: Python-generated diagram as "external material"

2010-03-11 Thread John K
> John K writes: >> I added the following to the Lyx external_templates file: >> >> Template Python >> GuiName "Python: $$AbsOrRelPathParent$$Basename" >> HelpText >> Python diagram. >> HelpTextEnd >> InputFormat "*" >

RE: Python-generated diagram as "external material"

2010-03-11 Thread John K
> John K wrote: >> >> >> I am trying to auto-generate a diagram from a Python script in my Lyx >> document using the "External Material" function. I have created a Python >> script called "myscript.py" which generates a diagram and saves

Python-generated diagram as "external material"

2010-03-10 Thread John K
I am trying to auto-generate a diagram from a Python script in my Lyx document using the "External Material" function. I have created a Python script called "myscript.py" which generates a diagram and saves it to "myscript.pdf". I am trying to make Lyx run my script to generate the diagram wh