Re: need working example of copier to customize pdf output

2012-03-01 Thread Paul Johnson
Oh, heck. I broke the regular export of the one-page at a time PDF
when I added my copier for the 4 sheets on one page.

Details below, please advise.


On Mon, Feb 27, 2012 at 2:15 PM, Richard Heck  wrote:
> On 02/27/2012 01:11 PM, Paul Johnson wrote:

When this finally seemed to work, I was so happy.  However, I see now
I've broken the pdf export.

The weird thing is that LyX asks me if I want to replace the old pdf
version, and I say yes, it still does not get copied.

Just now, I worked on lecture notes and exported to PDF(Beamer). I end up with
-rw-r--r--  1 337226 Mar  2 00:57 Regression-MultipleInputs-lecture-2-2x2.pdf
-rw-r--r--  1  56429 Mar  2 00:55 Regression-MultipleInputs-lecture-2.lyx
-rw-r--r--  1543209 Sep 29 12:17 Regression-MultipleInputs-lecture-2.pdf

I do get the 4 slides on 1 page output, the one with 2x2 on the end.
The lyx file is saved, but last semester's pdf is stuck there.

Here's what I'm using now.

In .lyx/preferences, I add:

\format "pdf5" "pdf" "PDF (Beamer)" "" "evince" "" "document,vector,menu=export"

\converter "pdflatex" "pdf5" "pdflatex $$i" "latex=pdflatex"

\copier pdf5 "pdfcopier.sh \"$$i\" \"$$o\""

And here's "pdfcopier.sh"

#!/bin/bash
INFILE="$1";
pdfnup --nup 2x2  --frame true --suffix '2x2' --batch "$INFILE";

Inside LyX, I can Export to PDF(Beamer) and it does export the file
with the 2x2 format, and the name is set correctly.
.
What do you think?

-- 
Paul E. Johnson
Professor, Political Science    Assoc. Director
1541 Lilac Lane, Room 504     Center for Research Methods
University of Kansas               University of Kansas
http://pj.freefaculty.org            http://quant.ku.edu


ModernCV and Section Bibliography Problems

2012-03-01 Thread Danny Parker
Sorry for the double post but I forgot the files in the original one.

I'm trying to make a CV with different sections for Journals, conferences,
etc in LyX 2.0.  I'm trying to follow the example shown
here but
using the modernCV class. I can run the example code fine but when I do it
using my document I get an error "found unknown 'thebibliography'
environment".  After digging into that it seems that document class or some
package is interfering.  I've tried clicking the natbib option but that did
not clear things up.  I'm at a lost of what to do next.  My files are
included below.  Any help would be appreciated.

Danny


conference.bib
Description: Binary data


journals.bib
Description: Binary data


config.bib
Description: Binary data


DannyCV.lyx
Description: Binary data


ModernCV and Section Bibliography Problems

2012-03-01 Thread Danny Parker
I'm trying to make a CV with different sections for Journals, conferences,
etc in LyX 2.0.  I'm trying to follow the example shown
here but
using the modernCV class. I can run the example code fine but when I do it
using my document I get an error "found unknown 'thebibliography'
environment".  After digging into that it seems that document class or some
package is interfering.  I've tried clicking the natbib option but that did
not clear things up.  I'm at a lost of what to do next.  My files are
included below.  Any help would be appreciated.

Danny


Re: lyx-2.0.3 from getdeb

2012-03-01 Thread Liviu Andronic
On Thu, Mar 1, 2012 at 1:01 PM, Waluyo Adi Siswanto  wrote:
> Although there is no official announcement release of lyx-2.0.3,
> lyx in my Ubuntu 11.10 has been updated to lyx-2.0.3 today (from
> getdeb repository).
>
You may also try out the new LyX PPA. [1]
Liviu

[1] https://launchpad.net/~lyx-devel/+archive/release


lyx-2.0.3 from getdeb

2012-03-01 Thread Waluyo Adi Siswanto
Hi all,

Although there is no official announcement release of lyx-2.0.3,
lyx in my Ubuntu 11.10 has been updated to lyx-2.0.3 today (from
getdeb repository).

regards,
waluyo


Re: cannot find example files for training

2012-03-01 Thread Maria Gouskova
On Thu, Mar 1, 2012 at 6:52 AM, Stephan Witt  wrote:
> Am 01.03.2012 um 12:46 schrieb Maria Gouskova:
>
>> On Thu, Mar 1, 2012 at 6:36 AM, Stephan Witt  wrote:
>>> Am 01.03.2012 um 11:22 schrieb Hauke:
>>>
 Hi,
 i am just about to start writing my master thesis and thought of using 
 something different than word.

 so i just started to read the tutorial for Lyx.

 in there, i am told to practice some excercises given for example in 
 'example_raw.lyx'. I shall open these files and train stuff… But i cannot 
 find the files. they seem not to be on my mac.

 did i do something wrong with the installation? Hope you can help.
>>>
>>> Please google for example_raw.lyx and mac.
>>>
>>> Stephan
>>
>> Hauke--it's not obious. You have to right-click on LyX.app, then "show
>> package contents", and navigate to Resources/examples. The file
>> example_raw.lyx is one of many.
>>
>> This feature of LyX on Mac is not very user-friendly, in my opinion.
>> Some templates are only accessible this way, too.
>
> This is not a feature --- it's a bug :)
>
> Stephan

Hah, gotcha. It's been this way for so long, I thought it was supposed
to be that way...

Maria


Re: cannot find example files for training

2012-03-01 Thread Stephan Witt
Am 01.03.2012 um 12:46 schrieb Maria Gouskova:

> On Thu, Mar 1, 2012 at 6:36 AM, Stephan Witt  wrote:
>> Am 01.03.2012 um 11:22 schrieb Hauke:
>> 
>>> Hi,
>>> i am just about to start writing my master thesis and thought of using 
>>> something different than word.
>>> 
>>> so i just started to read the tutorial for Lyx.
>>> 
>>> in there, i am told to practice some excercises given for example in 
>>> 'example_raw.lyx'. I shall open these files and train stuff… But i cannot 
>>> find the files. they seem not to be on my mac.
>>> 
>>> did i do something wrong with the installation? Hope you can help.
>> 
>> Please google for example_raw.lyx and mac.
>> 
>> Stephan
> 
> Hauke--it's not obious. You have to right-click on LyX.app, then "show
> package contents", and navigate to Resources/examples. The file
> example_raw.lyx is one of many.
> 
> This feature of LyX on Mac is not very user-friendly, in my opinion.
> Some templates are only accessible this way, too.

This is not a feature --- it's a bug :)

Stephan

Re: cannot find example files for training

2012-03-01 Thread Maria Gouskova
On Thu, Mar 1, 2012 at 6:36 AM, Stephan Witt  wrote:
> Am 01.03.2012 um 11:22 schrieb Hauke:
>
>> Hi,
>> i am just about to start writing my master thesis and thought of using 
>> something different than word.
>>
>> so i just started to read the tutorial for Lyx.
>>
>> in there, i am told to practice some excercises given for example in 
>> 'example_raw.lyx'. I shall open these files and train stuff… But i cannot 
>> find the files. they seem not to be on my mac.
>>
>> did i do something wrong with the installation? Hope you can help.
>
> Please google for example_raw.lyx and mac.
>
> Stephan

Hauke--it's not obious. You have to right-click on LyX.app, then "show
package contents", and navigate to Resources/examples. The file
example_raw.lyx is one of many.

This feature of LyX on Mac is not very user-friendly, in my opinion.
Some templates are only accessible this way, too.

Maria


Re: cannot find example files for training

2012-03-01 Thread Stephan Witt
Am 01.03.2012 um 11:22 schrieb Hauke:

> Hi,
> i am just about to start writing my master thesis and thought of using 
> something different than word.
> 
> so i just started to read the tutorial for Lyx.
> 
> in there, i am told to practice some excercises given for example in 
> 'example_raw.lyx'. I shall open these files and train stuff… But i cannot 
> find the files. they seem not to be on my mac.
> 
> did i do something wrong with the installation? Hope you can help.

Please google for example_raw.lyx and mac.

Stephan

RE: cannot find example files for training

2012-03-01 Thread Scott Kostyshak
From: lyx-users@lists.lyx.org [lyx-users@lists.lyx.org] on behalf of Hauke 
[hauke_st...@gmx.de]
Sent: Thursday, March 01, 2012 5:22 AM

>in there, i am told to practice some excercises given for example in 
>'example_raw.lyx'. I shall open these files and >train stuff… But i cannot 
>find the files. they seem not to be on my mac.

Hi Hauke, please always say which version of LyX you are using.
When you go to open, is there a button that is called "Examples" ? For me, it 
is in the upper-right corner next to a button called "Documents". I can also 
activate that button by pressing alt+e. Does either the button or the 
key-combination alt+e work for you?

Scott

Re: Page numbers for the bibliography in book(AMS) document class.

2012-03-01 Thread UD
On the first page of the chapter the command: \thispagestyle{myheadings} 
puts the page number in the upper right corner, but at the beginning of 
the bibliography that command does nothing


On 02/29/2012 01:41 PM, Richard Heck wrote:

On 02/28/2012 05:18 PM, UD wrote:
Here is a short example.  Subsequent pages of the bibliography have 
their page number in the upper right corner-- only the first page has 
it at the bottom.


Do chapters in AMS books generally put the page number at the bottom 
on the first page of the chapter? It is common to use a different page 
style for the first page of a chapter, and the bibliography is 
generated, I will guess, as a \chapter*. (That's what most books do.)


Richard



--
Ehud Kaplan, Ph.D.
Jules and Doris Stein /Research to Prevent Blindness/ Professor
*Director*, The laboratory of Visual & Computational Neuroscience
*Director*, Center for Excellence in Computational & Systems Neuroscience
/Friedman Brain Institute/
Departments of Neuroscience, Ophthalmology, Structural & Chemical Biology,
The Mount Sinai School of Medicine
One Gustave Levy Place,
NY, NY, 10029