Re: need working example of copier to customize pdf output

2012-03-02 Thread Richard Heck

On 03/02/2012 02:02 AM, Paul Johnson wrote:

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.


Sorry, I'm not sure I understand the issue yet.

If you export to PDF (Beamer), then this will always give you the 2x2 
thing, since the copier will always be invoked.


If you try to export to just PDF (pdflatex), is that when you have a 
problem?


Richard


On Mon, Feb 27, 2012 at 2:15 PM, Richard Heckrgh...@comcast.net  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?





Re: need working example of copier to customize pdf output

2012-03-02 Thread Richard Heck

On 03/02/2012 02:02 AM, Paul Johnson wrote:

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.


Sorry, I'm not sure I understand the issue yet.

If you export to PDF (Beamer), then this will always give you the 2x2 
thing, since the copier will always be invoked.


If you try to export to just PDF (pdflatex), is that when you have a 
problem?


Richard


On Mon, Feb 27, 2012 at 2:15 PM, Richard Heckrgh...@comcast.net  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?





Re: need working example of copier to customize pdf output

2012-03-02 Thread Richard Heck

On 03/02/2012 02:02 AM, Paul Johnson wrote:

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.


Sorry, I'm not sure I understand the issue yet.

If you export to "PDF (Beamer)", then this will always give you the 2x2 
thing, since the copier will always be invoked.


If you try to export to just "PDF (pdflatex)", is that when you have a 
problem?


Richard


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?





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 rgh...@comcast.net 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


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 rgh...@comcast.net 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


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


Re: need working example of copier to customize pdf output

2012-02-27 Thread Paul Johnson
On Sat, Feb 25, 2012 at 3:00 PM, Richard Heck rgh...@comcast.net wrote:
 On 02/25/2012 01:43 PM, Paul Johnson wrote:

 Copiers are tied to formats, so you will need to create a new format first.
 Call it PDF (beamer), or something of the sort. When you do, you can
 assign a copier program. The copier will have to be responsible for the
 actual copying, as well as the conversion you want. Write a little shell
 script that takes two arguments, the input file and its output location. So
 something like:

 #!/bin/bash
 INFILE=$1;
 OUTFILE=$2;
 if [ -z $OUTFILE ]; then exit 1; fi
 pdfnup -nup 2x2 --suffix 2x2' --frame true --output $OUTFILE --batch $1;

 Save it somewhere in your path, say to /home/you/bin/pdfcopier.sh, make it
 executable, and then enter
    pdfcopier.sh $$i $$o
 into the copier field for your new format.

 Richard


Thanks, Richard.

I think I'm missing a converter line in preferences. Well, I still
don't understand how the ordinary work of pdflatex is supposed to get
done before my copier gets called.

I created the pdfcopier shell script you mention, it is in the path.

I run into some trouble configuring preferences in LyX. Can we just
talk about what is in preferences itself? The LyX preferences gui is
difficult for me.

What do I need for short name.  I was guessing something unique like pdf5.

#
# FORMATS SECTION ##
#

\format pdf5 pdf PDF (BEAMER)  evince auto
document,vector,menu=export

#
# COPIERS SECTION ##
#

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


That fails thusly:

$ lyx -e pdf5 hpcexample-1.lyx
Error: Couldn't export file

No information for exporting the format PDF (BEAMER).


PDF (BEAMER) does not show in the LyX export menu.


-- 
Paul E. Johnson
Professor, Political Science
1541 Lilac Lane, Room 504
University of Kansas


Re: need working example of copier to customize pdf output

2012-02-27 Thread Richard Heck

On 02/27/2012 01:11 PM, Paul Johnson wrote:

On Sat, Feb 25, 2012 at 3:00 PM, Richard Heckrgh...@comcast.net  wrote:

On 02/25/2012 01:43 PM, Paul Johnson wrote:
Copiers are tied to formats, so you will need to create a new format first.
Call it PDF (beamer), or something of the sort. When you do, you can
assign a copier program. The copier will have to be responsible for the
actual copying, as well as the conversion you want. Write a little shell
script that takes two arguments, the input file and its output location. So
something like:

#!/bin/bash
INFILE=$1;
OUTFILE=$2;
if [ -z $OUTFILE ]; then exit 1; fi
pdfnup -nup 2x2 --suffix 2x2' --frame true --output $OUTFILE --batch $1;

Save it somewhere in your path, say to /home/you/bin/pdfcopier.sh, make it
executable, and then enter
pdfcopier.sh $$i $$o
into the copier field for your new format.

Richard


Thanks, Richard.

I think I'm missing a converter line in preferences. Well, I still
don't understand how the ordinary work of pdflatex is supposed to get
done before my copier gets called.

I created the pdfcopier shell script you mention, it is in the path.

I run into some trouble configuring preferences in LyX. Can we just
talk about what is in preferences itself? The LyX preferences gui is
difficult for me.

What do I need for short name.  I was guessing something unique like pdf5.
Yes, that's fine. Now you just need to define a pdflatex -- pdf5 
converter. This can be done in the UI: Just copy over the information 
from the existing LaTeX (pdflatex) -- PDF (pdflatex) converter. 
Then LyX knows how to produce the pdf5 format, and it should invoke your 
copier when it is done.


Richard



Re: need working example of copier to customize pdf output

2012-02-27 Thread Paul Johnson
On Sat, Feb 25, 2012 at 3:00 PM, Richard Heck rgh...@comcast.net wrote:
 On 02/25/2012 01:43 PM, Paul Johnson wrote:

 Copiers are tied to formats, so you will need to create a new format first.
 Call it PDF (beamer), or something of the sort. When you do, you can
 assign a copier program. The copier will have to be responsible for the
 actual copying, as well as the conversion you want. Write a little shell
 script that takes two arguments, the input file and its output location. So
 something like:

 #!/bin/bash
 INFILE=$1;
 OUTFILE=$2;
 if [ -z $OUTFILE ]; then exit 1; fi
 pdfnup -nup 2x2 --suffix 2x2' --frame true --output $OUTFILE --batch $1;

 Save it somewhere in your path, say to /home/you/bin/pdfcopier.sh, make it
 executable, and then enter
    pdfcopier.sh $$i $$o
 into the copier field for your new format.

 Richard


Thanks, Richard.

I think I'm missing a converter line in preferences. Well, I still
don't understand how the ordinary work of pdflatex is supposed to get
done before my copier gets called.

I created the pdfcopier shell script you mention, it is in the path.

I run into some trouble configuring preferences in LyX. Can we just
talk about what is in preferences itself? The LyX preferences gui is
difficult for me.

What do I need for short name.  I was guessing something unique like pdf5.

#
# FORMATS SECTION ##
#

\format pdf5 pdf PDF (BEAMER)  evince auto
document,vector,menu=export

#
# COPIERS SECTION ##
#

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


That fails thusly:

$ lyx -e pdf5 hpcexample-1.lyx
Error: Couldn't export file

No information for exporting the format PDF (BEAMER).


PDF (BEAMER) does not show in the LyX export menu.


-- 
Paul E. Johnson
Professor, Political Science
1541 Lilac Lane, Room 504
University of Kansas


Re: need working example of copier to customize pdf output

2012-02-27 Thread Richard Heck

On 02/27/2012 01:11 PM, Paul Johnson wrote:

On Sat, Feb 25, 2012 at 3:00 PM, Richard Heckrgh...@comcast.net  wrote:

On 02/25/2012 01:43 PM, Paul Johnson wrote:
Copiers are tied to formats, so you will need to create a new format first.
Call it PDF (beamer), or something of the sort. When you do, you can
assign a copier program. The copier will have to be responsible for the
actual copying, as well as the conversion you want. Write a little shell
script that takes two arguments, the input file and its output location. So
something like:

#!/bin/bash
INFILE=$1;
OUTFILE=$2;
if [ -z $OUTFILE ]; then exit 1; fi
pdfnup -nup 2x2 --suffix 2x2' --frame true --output $OUTFILE --batch $1;

Save it somewhere in your path, say to /home/you/bin/pdfcopier.sh, make it
executable, and then enter
pdfcopier.sh $$i $$o
into the copier field for your new format.

Richard


Thanks, Richard.

I think I'm missing a converter line in preferences. Well, I still
don't understand how the ordinary work of pdflatex is supposed to get
done before my copier gets called.

I created the pdfcopier shell script you mention, it is in the path.

I run into some trouble configuring preferences in LyX. Can we just
talk about what is in preferences itself? The LyX preferences gui is
difficult for me.

What do I need for short name.  I was guessing something unique like pdf5.
Yes, that's fine. Now you just need to define a pdflatex -- pdf5 
converter. This can be done in the UI: Just copy over the information 
from the existing LaTeX (pdflatex) -- PDF (pdflatex) converter. 
Then LyX knows how to produce the pdf5 format, and it should invoke your 
copier when it is done.


Richard



Re: need working example of copier to customize pdf output

2012-02-27 Thread Paul Johnson
On Sat, Feb 25, 2012 at 3:00 PM, Richard Heck  wrote:
> On 02/25/2012 01:43 PM, Paul Johnson wrote:

> Copiers are tied to formats, so you will need to create a new format first.
> Call it "PDF (beamer)", or something of the sort. When you do, you can
> assign a copier program. The copier will have to be responsible for the
> actual copying, as well as the conversion you want. Write a little shell
> script that takes two arguments, the input file and its output location. So
> something like:
>
> #!/bin/bash
> INFILE="$1";
> OUTFILE="$2";
> if [ -z "$OUTFILE" ]; then exit 1; fi
> pdfnup -nup 2x2 --suffix 2x2' --frame true --output "$OUTFILE" --batch "$1";
>
> Save it somewhere in your path, say to /home/you/bin/pdfcopier.sh, make it
> executable, and then enter
>    pdfcopier.sh "$$i" "$$o"
> into the copier field for your new format.
>
> Richard
>

Thanks, Richard.

I think I'm missing a converter line in preferences. Well, I still
don't understand how the ordinary work of pdflatex is supposed to get
done before my copier gets called.

I created the pdfcopier shell script you mention, it is in the path.

I run into some trouble configuring preferences in LyX. Can we just
talk about what is in preferences itself? The LyX preferences gui is
difficult for me.

What do I need for "short name".  I was guessing something unique like "pdf5".

#
# FORMATS SECTION ##
#

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

#
# COPIERS SECTION ##
#

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


That fails thusly:

$ lyx -e pdf5 hpcexample-1.lyx
Error: Couldn't export file

No information for exporting the format PDF (BEAMER).


PDF (BEAMER) does not show in the LyX export menu.


-- 
Paul E. Johnson
Professor, Political Science
1541 Lilac Lane, Room 504
University of Kansas


Re: need working example of copier to customize pdf output

2012-02-27 Thread Richard Heck

On 02/27/2012 01:11 PM, Paul Johnson wrote:

On Sat, Feb 25, 2012 at 3:00 PM, Richard Heck  wrote:

On 02/25/2012 01:43 PM, Paul Johnson wrote:
Copiers are tied to formats, so you will need to create a new format first.
Call it "PDF (beamer)", or something of the sort. When you do, you can
assign a copier program. The copier will have to be responsible for the
actual copying, as well as the conversion you want. Write a little shell
script that takes two arguments, the input file and its output location. So
something like:

#!/bin/bash
INFILE="$1";
OUTFILE="$2";
if [ -z "$OUTFILE" ]; then exit 1; fi
pdfnup -nup 2x2 --suffix 2x2' --frame true --output "$OUTFILE" --batch "$1";

Save it somewhere in your path, say to /home/you/bin/pdfcopier.sh, make it
executable, and then enter
pdfcopier.sh "$$i" "$$o"
into the copier field for your new format.

Richard


Thanks, Richard.

I think I'm missing a converter line in preferences. Well, I still
don't understand how the ordinary work of pdflatex is supposed to get
done before my copier gets called.

I created the pdfcopier shell script you mention, it is in the path.

I run into some trouble configuring preferences in LyX. Can we just
talk about what is in preferences itself? The LyX preferences gui is
difficult for me.

What do I need for "short name".  I was guessing something unique like "pdf5".
Yes, that's fine. Now you just need to define a pdflatex --> pdf5 
converter. This can be done in the UI: Just copy over the information 
from the existing "LaTeX (pdflatex)" --> "PDF (pdflatex)" converter. 
Then LyX knows how to produce the pdf5 format, and it should invoke your 
copier when it is done.


Richard



need working example of copier to customize pdf output

2012-02-25 Thread Paul Johnson
I'm generating a lot of slide shows for my statistics class. Sometimes
I forget to run the followup program
to create a compressed version of the presentation. It want to make
that automatic.[1]

When I export a document in pdf from a Beamer slides project, I also
want this shell program to run.
It automatically creates another pdf document that is 4 slides on one page.

#!/bin/bash

pdfnup --nup 2x2 --suffix '2x2' --frame true --batch $1


pdfnup is from package called pdfjam on Debian Linux. The output is
awesome, quick, convenient.


I am reading the LyX customization manual about copiers, but I just
can't understand it!

I don't want to destroy the existing copy behavior that writes the PDF
output to the document folder,
I just want that additional command to run.  But I don't want this 2x2
PDF type for all PDF I create,
just for the Beamer slide projects.

Thanks in advance.


[1] I've got example output here, in case you want to see what I mean:

http://pj.freefaculty.org/guides/stat/Regression/ElementaryOLS

I just upload the full working directory, let the students take the
source code or the pdf output,
or the 2x2 pdf output.

-- 
Paul E. Johnson
Professor, Political Science
1541 Lilac Lane, Room 504
University of Kansas


Re: need working example of copier to customize pdf output

2012-02-25 Thread Yihui Xie
I'm not sure if a copier or converter can be associated to a
particular document class, but this task does not seem to be closely
tied to LyX since it is just pdf-to-pdf conversion. I mean you can
write a shell script named, say, pdfnup22, and put it in your PATH so
that each time you call pdfnup22 to convert all your slides to the 2x2
layout. To restrict the conversion only on certain files, I guess you
can name all your slides with a special pattern, e.g. something like
^.*-lecture.pdf$, then pdfnup22 lists all files with this pattern and
convert them all. This conversion can be done on demand, instead of
each time you export PDF from LyX.

Or if you like point-and-click, you can make a pdfnup22.sh in your
directory and change its mode to be executable; then each time you
want to convert the slides, just click it and you are done.

Regards,
Yihui
--
Yihui Xie xieyi...@gmail.com
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA



On Sat, Feb 25, 2012 at 12:43 PM, Paul Johnson pauljoh...@gmail.com wrote:
 I'm generating a lot of slide shows for my statistics class. Sometimes
 I forget to run the followup program
 to create a compressed version of the presentation. It want to make
 that automatic.[1]

 When I export a document in pdf from a Beamer slides project, I also
 want this shell program to run.
 It automatically creates another pdf document that is 4 slides on one page.

 #!/bin/bash

 pdfnup --nup 2x2 --suffix '2x2' --frame true --batch $1


 pdfnup is from package called pdfjam on Debian Linux. The output is
 awesome, quick, convenient.


 I am reading the LyX customization manual about copiers, but I just
 can't understand it!

 I don't want to destroy the existing copy behavior that writes the PDF
 output to the document folder,
 I just want that additional command to run.  But I don't want this 2x2
 PDF type for all PDF I create,
 just for the Beamer slide projects.

 Thanks in advance.


 [1] I've got example output here, in case you want to see what I mean:

 http://pj.freefaculty.org/guides/stat/Regression/ElementaryOLS

 I just upload the full working directory, let the students take the
 source code or the pdf output,
 or the 2x2 pdf output.

 --
 Paul E. Johnson
 Professor, Political Science
 1541 Lilac Lane, Room 504
 University of Kansas


Re: need working example of copier to customize pdf output

2012-02-25 Thread Richard Heck

On 02/25/2012 01:43 PM, Paul Johnson wrote:

I'm generating a lot of slide shows for my statistics class. Sometimes
I forget to run the followup program
to create a compressed version of the presentation. It want to make
that automatic.[1]

When I export a document in pdf from a Beamer slides project, I also
want this shell program to run.
It automatically creates another pdf document that is 4 slides on one page.

#!/bin/bash

pdfnup --nup 2x2 --suffix '2x2' --frame true --batch $1


pdfnup is from package called pdfjam on Debian Linux. The output is
awesome, quick, convenient.

I am reading the LyX customization manual about copiers, but I just
can't understand it!

I don't want to destroy the existing copy behavior that writes the PDF
output to the document folder, I just want that additional command to run.  But 
I don't want this 2x2 PDF type for all PDF I create, just for the Beamer slide 
projects.

Copiers are tied to formats, so you will need to create a new format 
first. Call it PDF (beamer), or something of the sort. When you do, 
you can assign a copier program. The copier will have to be responsible 
for the actual copying, as well as the conversion you want. Write a 
little shell script that takes two arguments, the input file and its 
output location. So something like:


#!/bin/bash
INFILE=$1;
OUTFILE=$2;
if [ -z $OUTFILE ]; then exit 1; fi
pdfnup -nup 2x2 --suffix 2x2' --frame true --output $OUTFILE --batch $1;

Save it somewhere in your path, say to /home/you/bin/pdfcopier.sh, make 
it executable, and then enter

pdfcopier.sh $$i $$o
into the copier field for your new format.

Richard



need working example of copier to customize pdf output

2012-02-25 Thread Paul Johnson
I'm generating a lot of slide shows for my statistics class. Sometimes
I forget to run the followup program
to create a compressed version of the presentation. It want to make
that automatic.[1]

When I export a document in pdf from a Beamer slides project, I also
want this shell program to run.
It automatically creates another pdf document that is 4 slides on one page.

#!/bin/bash

pdfnup --nup 2x2 --suffix '2x2' --frame true --batch $1


pdfnup is from package called pdfjam on Debian Linux. The output is
awesome, quick, convenient.


I am reading the LyX customization manual about copiers, but I just
can't understand it!

I don't want to destroy the existing copy behavior that writes the PDF
output to the document folder,
I just want that additional command to run.  But I don't want this 2x2
PDF type for all PDF I create,
just for the Beamer slide projects.

Thanks in advance.


[1] I've got example output here, in case you want to see what I mean:

http://pj.freefaculty.org/guides/stat/Regression/ElementaryOLS

I just upload the full working directory, let the students take the
source code or the pdf output,
or the 2x2 pdf output.

-- 
Paul E. Johnson
Professor, Political Science
1541 Lilac Lane, Room 504
University of Kansas


Re: need working example of copier to customize pdf output

2012-02-25 Thread Yihui Xie
I'm not sure if a copier or converter can be associated to a
particular document class, but this task does not seem to be closely
tied to LyX since it is just pdf-to-pdf conversion. I mean you can
write a shell script named, say, pdfnup22, and put it in your PATH so
that each time you call pdfnup22 to convert all your slides to the 2x2
layout. To restrict the conversion only on certain files, I guess you
can name all your slides with a special pattern, e.g. something like
^.*-lecture.pdf$, then pdfnup22 lists all files with this pattern and
convert them all. This conversion can be done on demand, instead of
each time you export PDF from LyX.

Or if you like point-and-click, you can make a pdfnup22.sh in your
directory and change its mode to be executable; then each time you
want to convert the slides, just click it and you are done.

Regards,
Yihui
--
Yihui Xie xieyi...@gmail.com
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA



On Sat, Feb 25, 2012 at 12:43 PM, Paul Johnson pauljoh...@gmail.com wrote:
 I'm generating a lot of slide shows for my statistics class. Sometimes
 I forget to run the followup program
 to create a compressed version of the presentation. It want to make
 that automatic.[1]

 When I export a document in pdf from a Beamer slides project, I also
 want this shell program to run.
 It automatically creates another pdf document that is 4 slides on one page.

 #!/bin/bash

 pdfnup --nup 2x2 --suffix '2x2' --frame true --batch $1


 pdfnup is from package called pdfjam on Debian Linux. The output is
 awesome, quick, convenient.


 I am reading the LyX customization manual about copiers, but I just
 can't understand it!

 I don't want to destroy the existing copy behavior that writes the PDF
 output to the document folder,
 I just want that additional command to run.  But I don't want this 2x2
 PDF type for all PDF I create,
 just for the Beamer slide projects.

 Thanks in advance.


 [1] I've got example output here, in case you want to see what I mean:

 http://pj.freefaculty.org/guides/stat/Regression/ElementaryOLS

 I just upload the full working directory, let the students take the
 source code or the pdf output,
 or the 2x2 pdf output.

 --
 Paul E. Johnson
 Professor, Political Science
 1541 Lilac Lane, Room 504
 University of Kansas


Re: need working example of copier to customize pdf output

2012-02-25 Thread Richard Heck

On 02/25/2012 01:43 PM, Paul Johnson wrote:

I'm generating a lot of slide shows for my statistics class. Sometimes
I forget to run the followup program
to create a compressed version of the presentation. It want to make
that automatic.[1]

When I export a document in pdf from a Beamer slides project, I also
want this shell program to run.
It automatically creates another pdf document that is 4 slides on one page.

#!/bin/bash

pdfnup --nup 2x2 --suffix '2x2' --frame true --batch $1


pdfnup is from package called pdfjam on Debian Linux. The output is
awesome, quick, convenient.

I am reading the LyX customization manual about copiers, but I just
can't understand it!

I don't want to destroy the existing copy behavior that writes the PDF
output to the document folder, I just want that additional command to run.  But 
I don't want this 2x2 PDF type for all PDF I create, just for the Beamer slide 
projects.

Copiers are tied to formats, so you will need to create a new format 
first. Call it PDF (beamer), or something of the sort. When you do, 
you can assign a copier program. The copier will have to be responsible 
for the actual copying, as well as the conversion you want. Write a 
little shell script that takes two arguments, the input file and its 
output location. So something like:


#!/bin/bash
INFILE=$1;
OUTFILE=$2;
if [ -z $OUTFILE ]; then exit 1; fi
pdfnup -nup 2x2 --suffix 2x2' --frame true --output $OUTFILE --batch $1;

Save it somewhere in your path, say to /home/you/bin/pdfcopier.sh, make 
it executable, and then enter

pdfcopier.sh $$i $$o
into the copier field for your new format.

Richard



need working example of copier to customize pdf output

2012-02-25 Thread Paul Johnson
I'm generating a lot of slide shows for my statistics class. Sometimes
I forget to run the followup program
to create a compressed version of the presentation. It want to make
that automatic.[1]

When I export a document in pdf from a Beamer slides project, I also
want this shell program to run.
It automatically creates another pdf document that is 4 slides on one page.

#!/bin/bash

pdfnup --nup 2x2 --suffix '2x2' --frame true --batch $1


pdfnup is from package called "pdfjam" on Debian Linux. The output is
awesome, quick, convenient.


I am reading the LyX customization manual about copiers, but I just
can't understand it!

I don't want to destroy the existing copy behavior that writes the PDF
output to the document folder,
I just want that additional command to run.  But I don't want this 2x2
PDF type for all PDF I create,
just for the Beamer slide projects.

Thanks in advance.


[1] I've got example output here, in case you want to see what I mean:

http://pj.freefaculty.org/guides/stat/Regression/ElementaryOLS

I just upload the full working directory, let the students take the
source code or the pdf output,
or the 2x2 pdf output.

-- 
Paul E. Johnson
Professor, Political Science
1541 Lilac Lane, Room 504
University of Kansas


Re: need working example of copier to customize pdf output

2012-02-25 Thread Yihui Xie
I'm not sure if a copier or converter can be associated to a
particular document class, but this task does not seem to be closely
tied to LyX since it is just pdf-to-pdf conversion. I mean you can
write a shell script named, say, pdfnup22, and put it in your PATH so
that each time you call pdfnup22 to convert all your slides to the 2x2
layout. To restrict the conversion only on certain files, I guess you
can name all your slides with a special pattern, e.g. something like
^.*-lecture.pdf$, then pdfnup22 lists all files with this pattern and
convert them all. This conversion can be done on demand, instead of
each time you export PDF from LyX.

Or if you like point-and-click, you can make a pdfnup22.sh in your
directory and change its mode to be executable; then each time you
want to convert the slides, just click it and you are done.

Regards,
Yihui
--
Yihui Xie <xieyi...@gmail.com>
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA



On Sat, Feb 25, 2012 at 12:43 PM, Paul Johnson <pauljoh...@gmail.com> wrote:
> I'm generating a lot of slide shows for my statistics class. Sometimes
> I forget to run the followup program
> to create a compressed version of the presentation. It want to make
> that automatic.[1]
>
> When I export a document in pdf from a Beamer slides project, I also
> want this shell program to run.
> It automatically creates another pdf document that is 4 slides on one page.
>
> #!/bin/bash
>
> pdfnup --nup 2x2 --suffix '2x2' --frame true --batch $1
>
>
> pdfnup is from package called "pdfjam" on Debian Linux. The output is
> awesome, quick, convenient.
>
>
> I am reading the LyX customization manual about copiers, but I just
> can't understand it!
>
> I don't want to destroy the existing copy behavior that writes the PDF
> output to the document folder,
> I just want that additional command to run.  But I don't want this 2x2
> PDF type for all PDF I create,
> just for the Beamer slide projects.
>
> Thanks in advance.
>
>
> [1] I've got example output here, in case you want to see what I mean:
>
> http://pj.freefaculty.org/guides/stat/Regression/ElementaryOLS
>
> I just upload the full working directory, let the students take the
> source code or the pdf output,
> or the 2x2 pdf output.
>
> --
> Paul E. Johnson
> Professor, Political Science
> 1541 Lilac Lane, Room 504
> University of Kansas


Re: need working example of copier to customize pdf output

2012-02-25 Thread Richard Heck

On 02/25/2012 01:43 PM, Paul Johnson wrote:

I'm generating a lot of slide shows for my statistics class. Sometimes
I forget to run the followup program
to create a compressed version of the presentation. It want to make
that automatic.[1]

When I export a document in pdf from a Beamer slides project, I also
want this shell program to run.
It automatically creates another pdf document that is 4 slides on one page.

#!/bin/bash

pdfnup --nup 2x2 --suffix '2x2' --frame true --batch $1


pdfnup is from package called "pdfjam" on Debian Linux. The output is
awesome, quick, convenient.

I am reading the LyX customization manual about copiers, but I just
can't understand it!

I don't want to destroy the existing copy behavior that writes the PDF
output to the document folder, I just want that additional command to run.  But 
I don't want this 2x2 PDF type for all PDF I create, just for the Beamer slide 
projects.

Copiers are tied to formats, so you will need to create a new format 
first. Call it "PDF (beamer)", or something of the sort. When you do, 
you can assign a copier program. The copier will have to be responsible 
for the actual copying, as well as the conversion you want. Write a 
little shell script that takes two arguments, the input file and its 
output location. So something like:


#!/bin/bash
INFILE="$1";
OUTFILE="$2";
if [ -z "$OUTFILE" ]; then exit 1; fi
pdfnup -nup 2x2 --suffix 2x2' --frame true --output "$OUTFILE" --batch "$1";

Save it somewhere in your path, say to /home/you/bin/pdfcopier.sh, make 
it executable, and then enter

pdfcopier.sh "$$i" "$$o"
into the copier field for your new format.

Richard



Re: Best PDF output quality with pdflatex?

2011-12-20 Thread C

 On 2011-12-08 20:52 , Chi wrote:
  Hi,
 
Thanks Eberhard!





Re: Best PDF output quality with pdflatex?

2011-12-20 Thread C

 On 2011-12-08 20:52 , Chi wrote:
  Hi,
 
Thanks Eberhard!





Re: Best PDF output quality with pdflatex?

2011-12-20 Thread C

> On 2011-12-08 20:52 , Chi wrote:
> > Hi,
> 
Thanks Eberhard!





Re: Best PDF output quality with pdflatex?

2011-12-08 Thread Dr Eberhard W Lisse
File-Export-PDF (pdflatex)
File-Export-PDF (LuaTeX)

el

On 2011-12-08 20:52 , Chi wrote:
 Hi,
 
 I read that one can optimize the quality of the output file (PDF in my case) 
 by
 using the pdflatex option to generate PDF output files. Unfortunately, I
 cannot find the pdflatex option in 'Document  Settings  Document Class 
 Graphics driver. I'm using the latest Lyx version 2.0.2 on a Mac. Thoughts?
 
 Thanks!
 
 C
 
 



Re: Best PDF output quality with pdflatex?

2011-12-08 Thread Dr Eberhard W Lisse
File-Export-PDF (pdflatex)
File-Export-PDF (LuaTeX)

el

On 2011-12-08 20:52 , Chi wrote:
 Hi,
 
 I read that one can optimize the quality of the output file (PDF in my case) 
 by
 using the pdflatex option to generate PDF output files. Unfortunately, I
 cannot find the pdflatex option in 'Document  Settings  Document Class 
 Graphics driver. I'm using the latest Lyx version 2.0.2 on a Mac. Thoughts?
 
 Thanks!
 
 C
 
 



Re: Best PDF output quality with pdflatex?

2011-12-08 Thread Dr Eberhard W Lisse
File->Export->PDF (pdflatex)
File->Export->PDF (LuaTeX)

el

On 2011-12-08 20:52 , Chi wrote:
> Hi,
> 
> I read that one can optimize the quality of the output file (PDF in my case) 
> by
> using the "pdflatex" option to generate PDF output files. Unfortunately, I
> cannot find the "pdflatex" option in 'Document > Settings > Document Class >
> Graphics driver". I'm using the latest Lyx version 2.0.2 on a Mac. Thoughts?
> 
> Thanks!
> 
> C
> 
> 



British Pound symbol problem in Sweave PDF output

2011-10-19 Thread Graham Smith
I'm not exactly sure where the problem lies with this, but if I include a
£ symbol in an graph legend, I get £ in the PDF.

I am on Snow Leopard and Lyx 2.0.0.

It doesn't happen when I generate graphs from R and save as PDF, so it seems
to be a Lyx/Latex/Sweave thing.

As so often is the case searching for an answer has proved fruitless,as a I
can't come up with meaningful search terms.

But I am sure this has cropped up before.

Any help much appreciated.

Graham


Re: British Pound symbol problem in Sweave PDF output

2011-10-19 Thread Graham Smith
Ok, to reply to myself, I have just realised that the first time I compiled
this file I got a dialog box asking about encoding, and I chose the default
UTF -8 encoding. Could this be where the problem lies and, if it does, how
do i now sort it.

Which encoding should I have chosen, if that is the issues.

Graham

On 19 October 2011 10:45, Graham Smith myotis...@gmail.com wrote:

 I'm not exactly sure where the problem lies with this, but if I include a
 £ symbol in an graph legend, I get £ in the PDF.

 I am on Snow Leopard and Lyx 2.0.0.

 It doesn't happen when I generate graphs from R and save as PDF, so it
 seems to be a Lyx/Latex/Sweave thing.

 As so often is the case searching for an answer has proved fruitless,as a I
 can't come up with meaningful search terms.

 But I am sure this has cropped up before.

 Any help much appreciated.

 Graham



Re: British Pound symbol problem in Sweave PDF output

2011-10-19 Thread Liviu Andronic
On Wed, Oct 19, 2011 at 11:45 AM, Graham Smith myotis...@gmail.com wrote:
 I'm not exactly sure where the problem lies with this, but if I include a
 £ symbol in an graph legend, I get £ in the PDF.
 I am on Snow Leopard and Lyx 2.0.0.
 It doesn't happen when I generate graphs from R and save as PDF, so it seems
 to be a Lyx/Latex/Sweave thing.
 As so often is the case searching for an answer has proved fruitless,as a I
 can't come up with meaningful search terms.
 But I am sure this has cropped up before.
 Any help much appreciated.

Have you tried to switch Doc Setting  Language  Encoding to
something other than Default? Experiment with the various 'utf8'
flavours, and also try compiling with XeTeX.

Liviu


British Pound symbol problem in Sweave PDF output

2011-10-19 Thread Graham Smith
I'm not exactly sure where the problem lies with this, but if I include a
£ symbol in an graph legend, I get £ in the PDF.

I am on Snow Leopard and Lyx 2.0.0.

It doesn't happen when I generate graphs from R and save as PDF, so it seems
to be a Lyx/Latex/Sweave thing.

As so often is the case searching for an answer has proved fruitless,as a I
can't come up with meaningful search terms.

But I am sure this has cropped up before.

Any help much appreciated.

Graham


Re: British Pound symbol problem in Sweave PDF output

2011-10-19 Thread Graham Smith
Ok, to reply to myself, I have just realised that the first time I compiled
this file I got a dialog box asking about encoding, and I chose the default
UTF -8 encoding. Could this be where the problem lies and, if it does, how
do i now sort it.

Which encoding should I have chosen, if that is the issues.

Graham

On 19 October 2011 10:45, Graham Smith myotis...@gmail.com wrote:

 I'm not exactly sure where the problem lies with this, but if I include a
 £ symbol in an graph legend, I get £ in the PDF.

 I am on Snow Leopard and Lyx 2.0.0.

 It doesn't happen when I generate graphs from R and save as PDF, so it
 seems to be a Lyx/Latex/Sweave thing.

 As so often is the case searching for an answer has proved fruitless,as a I
 can't come up with meaningful search terms.

 But I am sure this has cropped up before.

 Any help much appreciated.

 Graham



Re: British Pound symbol problem in Sweave PDF output

2011-10-19 Thread Liviu Andronic
On Wed, Oct 19, 2011 at 11:45 AM, Graham Smith myotis...@gmail.com wrote:
 I'm not exactly sure where the problem lies with this, but if I include a
 £ symbol in an graph legend, I get £ in the PDF.
 I am on Snow Leopard and Lyx 2.0.0.
 It doesn't happen when I generate graphs from R and save as PDF, so it seems
 to be a Lyx/Latex/Sweave thing.
 As so often is the case searching for an answer has proved fruitless,as a I
 can't come up with meaningful search terms.
 But I am sure this has cropped up before.
 Any help much appreciated.

Have you tried to switch Doc Setting  Language  Encoding to
something other than Default? Experiment with the various 'utf8'
flavours, and also try compiling with XeTeX.

Liviu


British Pound symbol problem in Sweave PDF output

2011-10-19 Thread Graham Smith
I'm not exactly sure where the problem lies with this, but if I include a
"£" symbol in an graph legend, I get "£" in the PDF.

I am on Snow Leopard and Lyx 2.0.0.

It doesn't happen when I generate graphs from R and save as PDF, so it seems
to be a Lyx/Latex/Sweave thing.

As so often is the case searching for an answer has proved fruitless,as a I
can't come up with meaningful search terms.

But I am sure this has cropped up before.

Any help much appreciated.

Graham


Re: British Pound symbol problem in Sweave PDF output

2011-10-19 Thread Graham Smith
Ok, to reply to myself, I have just realised that the first time I compiled
this file I got a dialog box asking about encoding, and I chose the default
UTF -8 encoding. Could this be where the problem lies and, if it does, how
do i now sort it.

Which encoding should I have chosen, if that is the issues.

Graham

On 19 October 2011 10:45, Graham Smith  wrote:

> I'm not exactly sure where the problem lies with this, but if I include a
> "£" symbol in an graph legend, I get "£" in the PDF.
>
> I am on Snow Leopard and Lyx 2.0.0.
>
> It doesn't happen when I generate graphs from R and save as PDF, so it
> seems to be a Lyx/Latex/Sweave thing.
>
> As so often is the case searching for an answer has proved fruitless,as a I
> can't come up with meaningful search terms.
>
> But I am sure this has cropped up before.
>
> Any help much appreciated.
>
> Graham
>


Re: British Pound symbol problem in Sweave PDF output

2011-10-19 Thread Liviu Andronic
On Wed, Oct 19, 2011 at 11:45 AM, Graham Smith  wrote:
> I'm not exactly sure where the problem lies with this, but if I include a
> "£" symbol in an graph legend, I get "£" in the PDF.
> I am on Snow Leopard and Lyx 2.0.0.
> It doesn't happen when I generate graphs from R and save as PDF, so it seems
> to be a Lyx/Latex/Sweave thing.
> As so often is the case searching for an answer has proved fruitless,as a I
> can't come up with meaningful search terms.
> But I am sure this has cropped up before.
> Any help much appreciated.
>
Have you tried to switch Doc Setting > Language > Encoding to
something other than Default? Experiment with the various 'utf8'
flavours, and also try compiling with XeTeX.

Liviu


Re: Setting zoom level when opening PDF output file

2011-08-02 Thread ChiPro

 
Thanks much guys, I figured it out. 





Re: Setting zoom level when opening PDF output file

2011-08-02 Thread ChiPro

 
Thanks much guys, I figured it out. 





Re: Setting zoom level when opening PDF output file

2011-08-02 Thread ChiPro

> 
Thanks much guys, I figured it out. 





Setting zoom level when opening PDF output file

2011-07-29 Thread ChiPro
Hi,

does anyone know how to set the zoom level for when you open the PDF output 
file?

I found that the package hyperref is supposed to allow this feature but I don't
know the command.

Does anyone know where to find all the options that can be used in hyperref? 

Thanks.



Re: Setting zoom level when opening PDF output file

2011-07-29 Thread Liviu Andronic
On Fri, Jul 29, 2011 at 10:37 PM, ChiPro chipro...@gmail.com wrote:
 Hi,

 does anyone know how to set the zoom level for when you open the PDF output 
 file?

 I found that the package hyperref is supposed to allow this feature but I 
 don't
 know the command.

 Does anyone know where to find all the options that can be used in hyperref?

See http://ctan.org/pkg/hyperref  Documentation. To find
documentation for LaTeX packages best is always to look on CTAN.
Liviu



 Thanks.





-- 
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: Setting zoom level when opening PDF output file

2011-07-29 Thread Nikos Chantziaras

On 07/29/2011 11:37 PM, ChiPro wrote:

Hi,

does anyone know how to set the zoom level for when you open the PDF output 
file?

I found that the package hyperref is supposed to allow this feature but I don't
know the command.

Does anyone know where to find all the options that can be used in hyperref?


In hyperref's documentation.  It should be included in your TeX 
installation.  Or Google it to find it online.  I found:


  http://www.tug.org/applications/hyperref/manual.html#x1-13.6

The option you're looking for is pdfstartview.  You can put something 
like pdfstartview=FitH in Document Settings-PDF 
Properties-Additional Options.  Separate multiple options with commas. 
 (Like option1=foo, option2=bar.)




Setting zoom level when opening PDF output file

2011-07-29 Thread ChiPro
Hi,

does anyone know how to set the zoom level for when you open the PDF output 
file?

I found that the package hyperref is supposed to allow this feature but I don't
know the command.

Does anyone know where to find all the options that can be used in hyperref? 

Thanks.



Re: Setting zoom level when opening PDF output file

2011-07-29 Thread Liviu Andronic
On Fri, Jul 29, 2011 at 10:37 PM, ChiPro chipro...@gmail.com wrote:
 Hi,

 does anyone know how to set the zoom level for when you open the PDF output 
 file?

 I found that the package hyperref is supposed to allow this feature but I 
 don't
 know the command.

 Does anyone know where to find all the options that can be used in hyperref?

See http://ctan.org/pkg/hyperref  Documentation. To find
documentation for LaTeX packages best is always to look on CTAN.
Liviu



 Thanks.





-- 
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: Setting zoom level when opening PDF output file

2011-07-29 Thread Nikos Chantziaras

On 07/29/2011 11:37 PM, ChiPro wrote:

Hi,

does anyone know how to set the zoom level for when you open the PDF output 
file?

I found that the package hyperref is supposed to allow this feature but I don't
know the command.

Does anyone know where to find all the options that can be used in hyperref?


In hyperref's documentation.  It should be included in your TeX 
installation.  Or Google it to find it online.  I found:


  http://www.tug.org/applications/hyperref/manual.html#x1-13.6

The option you're looking for is pdfstartview.  You can put something 
like pdfstartview=FitH in Document Settings-PDF 
Properties-Additional Options.  Separate multiple options with commas. 
 (Like option1=foo, option2=bar.)




Setting zoom level when opening PDF output file

2011-07-29 Thread ChiPro
Hi,

does anyone know how to set the zoom level for when you open the PDF output 
file?

I found that the package hyperref is supposed to allow this feature but I don't
know the command.

Does anyone know where to find all the options that can be used in hyperref? 

Thanks.



Re: Setting zoom level when opening PDF output file

2011-07-29 Thread Liviu Andronic
On Fri, Jul 29, 2011 at 10:37 PM, ChiPro <chipro...@gmail.com> wrote:
> Hi,
>
> does anyone know how to set the zoom level for when you open the PDF output 
> file?
>
> I found that the package hyperref is supposed to allow this feature but I 
> don't
> know the command.
>
> Does anyone know where to find all the options that can be used in hyperref?
>
See http://ctan.org/pkg/hyperref > Documentation. To find
documentation for LaTeX packages best is always to look on CTAN.
Liviu



> Thanks.
>
>



-- 
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: Setting zoom level when opening PDF output file

2011-07-29 Thread Nikos Chantziaras

On 07/29/2011 11:37 PM, ChiPro wrote:

Hi,

does anyone know how to set the zoom level for when you open the PDF output 
file?

I found that the package hyperref is supposed to allow this feature but I don't
know the command.

Does anyone know where to find all the options that can be used in hyperref?


In hyperref's documentation.  It should be included in your TeX 
installation.  Or Google it to find it online.  I found:


  http://www.tug.org/applications/hyperref/manual.html#x1-13.6

The option you're looking for is "pdfstartview".  You can put something 
like "pdfstartview=FitH" in Document Settings->PDF 
Properties->Additional Options.  Separate multiple options with commas. 
 (Like "option1=foo, option2=bar".)




Re: Image PDF output rescalling issues

2011-06-24 Thread Paul Rubin
Can you post a minimal example (single page document, one image), including the
image file, here?  That would help to sort out what you're seeing.

Paul



Re: Image PDF output rescalling issues

2011-06-24 Thread Paul Rubin
Can you post a minimal example (single page document, one image), including the
image file, here?  That would help to sort out what you're seeing.

Paul



Re: Image PDF output rescalling issues

2011-06-24 Thread Paul Rubin
Can you post a minimal example (single page document, one image), including the
image file, here?  That would help to sort out what you're seeing.

Paul



Image PDF output rescalling issues

2011-06-22 Thread Paul Titze

Hi LyX,

I'm writting a paper using LyX 2.0.0, windows 7 based PC. I've read the 
User's guide
and Embeded objects manuals. I've noticed when I insert graphics images 
(I'm using either
JPG or PNG images) in the text, they all get rescaled slightly larger in 
the PDF output which
degrades the quality of the images. I would like them to appear in the 
PDF output unaltered
without rescaling. In the graphics settings options for the images, I've 
left the Output size Scale
Graphics (%) unticked. The images do appear fine in the LyX editor 
itself however when I export
to PDF that's when I have the rescaling problem (the Adobe Reader Zoom 
is set to actual size 100%).
Any ideas? I've noticed if I set the Output size scale Graphics to 75% 
in LyX for the image it comes
approximately the correct size in the PDF output as the original image 
however slightly blurred because

of the rescaling.

Cheers, Paul Titze.
http://wizlab.com/marine
http://captaininterstellar.blogspot.com




Image PDF output rescalling issues

2011-06-22 Thread Paul Titze

Hi LyX,

I'm writting a paper using LyX 2.0.0, windows 7 based PC. I've read the 
User's guide
and Embeded objects manuals. I've noticed when I insert graphics images 
(I'm using either
JPG or PNG images) in the text, they all get rescaled slightly larger in 
the PDF output which
degrades the quality of the images. I would like them to appear in the 
PDF output unaltered
without rescaling. In the graphics settings options for the images, I've 
left the Output size Scale
Graphics (%) unticked. The images do appear fine in the LyX editor 
itself however when I export
to PDF that's when I have the rescaling problem (the Adobe Reader Zoom 
is set to actual size 100%).
Any ideas? I've noticed if I set the Output size scale Graphics to 75% 
in LyX for the image it comes
approximately the correct size in the PDF output as the original image 
however slightly blurred because

of the rescaling.

Cheers, Paul Titze.
http://wizlab.com/marine
http://captaininterstellar.blogspot.com




Image PDF output rescalling issues

2011-06-22 Thread Paul Titze

Hi LyX,

I'm writting a paper using LyX 2.0.0, windows 7 based PC. I've read the 
User's guide
and Embeded objects manuals. I've noticed when I insert graphics images 
(I'm using either
JPG or PNG images) in the text, they all get rescaled slightly larger in 
the PDF output which
degrades the quality of the images. I would like them to appear in the 
PDF output unaltered
without rescaling. In the graphics settings options for the images, I've 
left the Output size Scale
Graphics (%) unticked. The images do appear fine in the LyX editor 
itself however when I export
to PDF that's when I have the rescaling problem (the Adobe Reader Zoom 
is set to actual size 100%).
Any ideas? I've noticed if I set the Output size scale Graphics to 75% 
in LyX for the image it comes
approximately the correct size in the PDF output as the original image 
however slightly blurred because

of the rescaling.

Cheers, Paul Titze.
http://wizlab.com/marine
http://captaininterstellar.blogspot.com




Re: how to use eps graphic for dvi, pdf graphic for pdf output?

2011-06-03 Thread Uwe Stöhr

Am 23.05.2011 17:30, schrieb Julien Rioux:


I have two versions of a graphic, one is an eps the other a pdf. How can I 
instruct LyX to use the
eps version when compiling to DVI and the pdf version when compiling to PDF 
(pdflatex)?

The usual trick in latex to omit file extension does not work here. LyX displays No 
file found!,


Then you found a bug. This must work.
Take for example the CV class examples files that come with LyX. In the modernCV file we use an 
image file named CV-image. You can see in LyX's messages window that the PNG-version is used when a 
PDF is compiled (no image conversion). For a DVI or Postscript output, the EPS-version of the image 
is used.


If the problem persists, can you please provide a _small_ LyX file and the image files to have a 
closer look?


regards Uwe


Re: how to use eps graphic for dvi, pdf graphic for pdf output?

2011-06-03 Thread Julien Rioux

On 03/06/2011 4:02 PM, Uwe Stöhr wrote:

Am 23.05.2011 17:30, schrieb Julien Rioux:


I have two versions of a graphic, one is an eps the other a pdf. How
can I instruct LyX to use the
eps version when compiling to DVI and the pdf version when compiling
to PDF (pdflatex)?

The usual trick in latex to omit file extension does not work here.
LyX displays No file found!,


Then you found a bug. This must work.
Take for example the CV class examples files that come with LyX. In the
modernCV file we use an image file named CV-image. You can see in LyX's
messages window that the PNG-version is used when a PDF is compiled (no
image conversion). For a DVI or Postscript output, the EPS-version of
the image is used.

If the problem persists, can you please provide a _small_ LyX file and
the image files to have a closer look?

regards Uwe


In the modernCV document you put the image file in the preamble, which 
to me is the same as using ERT. So you seem to suggest that there is no 
way to use the includegraphics GUI, which offers many advantages, to 
specify alternate versions of an image. Yo suggest instead that I should 
use ERT. That's fine and it will work, using either .eps or .pdf where 
needed.


The other option is using branches, as Jürgen suggested. That also works 
of course, and would be great if there was a notion of output-specific 
branches, which get automatically activated and deactivated according to 
output.


Cheers,
Julien


Re: how to use eps graphic for dvi, pdf graphic for pdf output?

2011-06-03 Thread Uwe Stöhr

Am 03.06.2011 22:27, schrieb Julien Rioux:


In the modernCV document you put the image file in the preamble, which to me is 
the same as using
ERT. So you seem to suggest that there is no way to use the includegraphics 
GUI, which offers many
advantages, to specify alternate versions of an image.


No, this is because modernCV requires the image in its preamble.


Yo suggest instead that I should use ERT.


No, but now I understand the problematic. LyX cannot show a preview if you omit the file extension. 
Fixing this is very difficult and I don't think such a feature is safe for all cases.


So indeed, use in this case TeX-code or branches.

regards Uwe


Re: how to use eps graphic for dvi, pdf graphic for pdf output?

2011-06-03 Thread Uwe Stöhr

Am 23.05.2011 17:30, schrieb Julien Rioux:


I have two versions of a graphic, one is an eps the other a pdf. How can I 
instruct LyX to use the
eps version when compiling to DVI and the pdf version when compiling to PDF 
(pdflatex)?

The usual trick in latex to omit file extension does not work here. LyX displays No 
file found!,


Then you found a bug. This must work.
Take for example the CV class examples files that come with LyX. In the modernCV file we use an 
image file named CV-image. You can see in LyX's messages window that the PNG-version is used when a 
PDF is compiled (no image conversion). For a DVI or Postscript output, the EPS-version of the image 
is used.


If the problem persists, can you please provide a _small_ LyX file and the image files to have a 
closer look?


regards Uwe


Re: how to use eps graphic for dvi, pdf graphic for pdf output?

2011-06-03 Thread Julien Rioux

On 03/06/2011 4:02 PM, Uwe Stöhr wrote:

Am 23.05.2011 17:30, schrieb Julien Rioux:


I have two versions of a graphic, one is an eps the other a pdf. How
can I instruct LyX to use the
eps version when compiling to DVI and the pdf version when compiling
to PDF (pdflatex)?

The usual trick in latex to omit file extension does not work here.
LyX displays No file found!,


Then you found a bug. This must work.
Take for example the CV class examples files that come with LyX. In the
modernCV file we use an image file named CV-image. You can see in LyX's
messages window that the PNG-version is used when a PDF is compiled (no
image conversion). For a DVI or Postscript output, the EPS-version of
the image is used.

If the problem persists, can you please provide a _small_ LyX file and
the image files to have a closer look?

regards Uwe


In the modernCV document you put the image file in the preamble, which 
to me is the same as using ERT. So you seem to suggest that there is no 
way to use the includegraphics GUI, which offers many advantages, to 
specify alternate versions of an image. Yo suggest instead that I should 
use ERT. That's fine and it will work, using either .eps or .pdf where 
needed.


The other option is using branches, as Jürgen suggested. That also works 
of course, and would be great if there was a notion of output-specific 
branches, which get automatically activated and deactivated according to 
output.


Cheers,
Julien


Re: how to use eps graphic for dvi, pdf graphic for pdf output?

2011-06-03 Thread Uwe Stöhr

Am 03.06.2011 22:27, schrieb Julien Rioux:


In the modernCV document you put the image file in the preamble, which to me is 
the same as using
ERT. So you seem to suggest that there is no way to use the includegraphics 
GUI, which offers many
advantages, to specify alternate versions of an image.


No, this is because modernCV requires the image in its preamble.


Yo suggest instead that I should use ERT.


No, but now I understand the problematic. LyX cannot show a preview if you omit the file extension. 
Fixing this is very difficult and I don't think such a feature is safe for all cases.


So indeed, use in this case TeX-code or branches.

regards Uwe


Re: how to use eps graphic for dvi, pdf graphic for pdf output?

2011-06-03 Thread Uwe Stöhr

Am 23.05.2011 17:30, schrieb Julien Rioux:


I have two versions of a graphic, one is an eps the other a pdf. How can I 
instruct LyX to use the
eps version when compiling to DVI and the pdf version when compiling to PDF 
(pdflatex)?

The usual trick in latex to omit file extension does not work here. LyX displays "No 
file found!",


Then you found a bug. This must work.
Take for example the CV class examples files that come with LyX. In the modernCV file we use an 
image file named CV-image. You can see in LyX's messages window that the PNG-version is used when a 
PDF is compiled (no image conversion). For a DVI or Postscript output, the EPS-version of the image 
is used.


If the problem persists, can you please provide a _small_ LyX file and the image files to have a 
closer look?


regards Uwe


Re: how to use eps graphic for dvi, pdf graphic for pdf output?

2011-06-03 Thread Julien Rioux

On 03/06/2011 4:02 PM, Uwe Stöhr wrote:

Am 23.05.2011 17:30, schrieb Julien Rioux:


I have two versions of a graphic, one is an eps the other a pdf. How
can I instruct LyX to use the
eps version when compiling to DVI and the pdf version when compiling
to PDF (pdflatex)?

The usual trick in latex to omit file extension does not work here.
LyX displays "No file found!",


Then you found a bug. This must work.
Take for example the CV class examples files that come with LyX. In the
modernCV file we use an image file named CV-image. You can see in LyX's
messages window that the PNG-version is used when a PDF is compiled (no
image conversion). For a DVI or Postscript output, the EPS-version of
the image is used.

If the problem persists, can you please provide a _small_ LyX file and
the image files to have a closer look?

regards Uwe


In the modernCV document you put the image file in the preamble, which 
to me is the same as using ERT. So you seem to suggest that there is no 
way to use the includegraphics GUI, which offers many advantages, to 
specify alternate versions of an image. Yo suggest instead that I should 
use ERT. That's fine and it will work, using either .eps or .pdf where 
needed.


The other option is using branches, as Jürgen suggested. That also works 
of course, and would be great if there was a notion of output-specific 
branches, which get automatically activated and deactivated according to 
output.


Cheers,
Julien


Re: how to use eps graphic for dvi, pdf graphic for pdf output?

2011-06-03 Thread Uwe Stöhr

Am 03.06.2011 22:27, schrieb Julien Rioux:


In the modernCV document you put the image file in the preamble, which to me is 
the same as using
ERT. So you seem to suggest that there is no way to use the includegraphics 
GUI, which offers many
advantages, to specify alternate versions of an image.


No, this is because modernCV requires the image in its preamble.


Yo suggest instead that I should use ERT.


No, but now I understand the problematic. LyX cannot show a preview if you omit the file extension. 
Fixing this is very difficult and I don't think such a feature is safe for all cases.


So indeed, use in this case TeX-code or branches.

regards Uwe


how to use eps graphic for dvi, pdf graphic for pdf output?

2011-05-23 Thread Julien Rioux

Dear list,

I have two versions of a graphic, one is an eps the other a pdf. How can 
I instruct LyX to use the eps version when compiling to DVI and the pdf 
version when compiling to PDF (pdflatex)?


The usual trick in latex to omit file extension does not work here. LyX 
displays No file found!, DVI output shows a default 200px by 100px box 
instead of the graphic, and PDF (pdflatex) output issues an error 
message Cannot determine size of graphic


NB I know that LyX calls eps-pdf convertion tools.
NB I explicitly do not want that to happen.

Thanks,
Julien


Re: how to use eps graphic for dvi, pdf graphic for pdf output?

2011-05-23 Thread Jürgen Spitzmüller
Julien Rioux wrote:
 I have two versions of a graphic, one is an eps the other a pdf. How can 
 I instruct LyX to use the eps version when compiling to DVI and the pdf 
 version when compiling to PDF (pdflatex)?
 
 The usual trick in latex to omit file extension does not work here. LyX 
 displays No file found!, DVI output shows a default 200px by 100px box 
 instead of the graphic, and PDF (pdflatex) output issues an error 
 message Cannot determine size of graphic

LyX outputs the graphic insets to LaTeX without extension, so it should work 
if you just insert either of the two formats, while both are stored in the 
same directory and with the same file name.

Jürgen


Re: how to use eps graphic for dvi, pdf graphic for pdf output?

2011-05-23 Thread Julien Rioux

On 23/05/2011 11:34 AM, Jürgen Spitzmüller wrote:

Julien Rioux wrote:

I have two versions of a graphic, one is an eps the other a pdf. How can
I instruct LyX to use the eps version when compiling to DVI and the pdf
version when compiling to PDF (pdflatex)?

The usual trick in latex to omit file extension does not work here. LyX
displays No file found!, DVI output shows a default 200px by 100px box
instead of the graphic, and PDF (pdflatex) output issues an error
message Cannot determine size of graphic


LyX outputs the graphic insets to LaTeX without extension, so it should work
if you just insert either of the two formats, while both are stored in the
same directory and with the same file name.

Jürgen



Hi Jürgen,

Thanks, however when I use the pdf version in LyX, with the file name 
mangling that happens in the temp dir, and LyX issuing a pdf-eps 
convertion, the resulting eps used in the DVI is not the one I provide.


Right now I use

\usepackage{graphicx}

in the preamble and

\includegraphics{filename}

in ERT and this is a satisfactory workaround.

--
Julien



Re: how to use eps graphic for dvi, pdf graphic for pdf output?

2011-05-23 Thread Jürgen Spitzmüller
Julien Rioux wrote:
 Thanks, however when I use the pdf version in LyX, with the file name 
 mangling that happens in the temp dir, and LyX issuing a pdf-eps 
 convertion, the resulting eps used in the DVI is not the one I provide.

Oh yes, I forgot.

 Right now I use
 
 \usepackage{graphicx}
 
 in the preamble and
 
 \includegraphics{filename}
 
 in ERT and this is a satisfactory workaround.

Another workaround would be a branch.

Jürgen


how to use eps graphic for dvi, pdf graphic for pdf output?

2011-05-23 Thread Julien Rioux

Dear list,

I have two versions of a graphic, one is an eps the other a pdf. How can 
I instruct LyX to use the eps version when compiling to DVI and the pdf 
version when compiling to PDF (pdflatex)?


The usual trick in latex to omit file extension does not work here. LyX 
displays No file found!, DVI output shows a default 200px by 100px box 
instead of the graphic, and PDF (pdflatex) output issues an error 
message Cannot determine size of graphic


NB I know that LyX calls eps-pdf convertion tools.
NB I explicitly do not want that to happen.

Thanks,
Julien


Re: how to use eps graphic for dvi, pdf graphic for pdf output?

2011-05-23 Thread Jürgen Spitzmüller
Julien Rioux wrote:
 I have two versions of a graphic, one is an eps the other a pdf. How can 
 I instruct LyX to use the eps version when compiling to DVI and the pdf 
 version when compiling to PDF (pdflatex)?
 
 The usual trick in latex to omit file extension does not work here. LyX 
 displays No file found!, DVI output shows a default 200px by 100px box 
 instead of the graphic, and PDF (pdflatex) output issues an error 
 message Cannot determine size of graphic

LyX outputs the graphic insets to LaTeX without extension, so it should work 
if you just insert either of the two formats, while both are stored in the 
same directory and with the same file name.

Jürgen


Re: how to use eps graphic for dvi, pdf graphic for pdf output?

2011-05-23 Thread Julien Rioux

On 23/05/2011 11:34 AM, Jürgen Spitzmüller wrote:

Julien Rioux wrote:

I have two versions of a graphic, one is an eps the other a pdf. How can
I instruct LyX to use the eps version when compiling to DVI and the pdf
version when compiling to PDF (pdflatex)?

The usual trick in latex to omit file extension does not work here. LyX
displays No file found!, DVI output shows a default 200px by 100px box
instead of the graphic, and PDF (pdflatex) output issues an error
message Cannot determine size of graphic


LyX outputs the graphic insets to LaTeX without extension, so it should work
if you just insert either of the two formats, while both are stored in the
same directory and with the same file name.

Jürgen



Hi Jürgen,

Thanks, however when I use the pdf version in LyX, with the file name 
mangling that happens in the temp dir, and LyX issuing a pdf-eps 
convertion, the resulting eps used in the DVI is not the one I provide.


Right now I use

\usepackage{graphicx}

in the preamble and

\includegraphics{filename}

in ERT and this is a satisfactory workaround.

--
Julien



Re: how to use eps graphic for dvi, pdf graphic for pdf output?

2011-05-23 Thread Jürgen Spitzmüller
Julien Rioux wrote:
 Thanks, however when I use the pdf version in LyX, with the file name 
 mangling that happens in the temp dir, and LyX issuing a pdf-eps 
 convertion, the resulting eps used in the DVI is not the one I provide.

Oh yes, I forgot.

 Right now I use
 
 \usepackage{graphicx}
 
 in the preamble and
 
 \includegraphics{filename}
 
 in ERT and this is a satisfactory workaround.

Another workaround would be a branch.

Jürgen


how to use eps graphic for dvi, pdf graphic for pdf output?

2011-05-23 Thread Julien Rioux

Dear list,

I have two versions of a graphic, one is an eps the other a pdf. How can 
I instruct LyX to use the eps version when compiling to DVI and the pdf 
version when compiling to PDF (pdflatex)?


The usual trick in latex to omit file extension does not work here. LyX 
displays "No file found!", DVI output shows a default 200px by 100px box 
instead of the graphic, and PDF (pdflatex) output issues an error 
message "Cannot determine size of graphic...".


NB> I know that LyX calls eps<->pdf convertion tools.
NB> I explicitly do not want that to happen.

Thanks,
Julien


Re: how to use eps graphic for dvi, pdf graphic for pdf output?

2011-05-23 Thread Jürgen Spitzmüller
Julien Rioux wrote:
> I have two versions of a graphic, one is an eps the other a pdf. How can 
> I instruct LyX to use the eps version when compiling to DVI and the pdf 
> version when compiling to PDF (pdflatex)?
> 
> The usual trick in latex to omit file extension does not work here. LyX 
> displays "No file found!", DVI output shows a default 200px by 100px box 
> instead of the graphic, and PDF (pdflatex) output issues an error 
> message "Cannot determine size of graphic...".

LyX outputs the graphic insets to LaTeX without extension, so it should work 
if you just insert either of the two formats, while both are stored in the 
same directory and with the same file name.

Jürgen


Re: how to use eps graphic for dvi, pdf graphic for pdf output?

2011-05-23 Thread Julien Rioux

On 23/05/2011 11:34 AM, Jürgen Spitzmüller wrote:

Julien Rioux wrote:

I have two versions of a graphic, one is an eps the other a pdf. How can
I instruct LyX to use the eps version when compiling to DVI and the pdf
version when compiling to PDF (pdflatex)?

The usual trick in latex to omit file extension does not work here. LyX
displays "No file found!", DVI output shows a default 200px by 100px box
instead of the graphic, and PDF (pdflatex) output issues an error
message "Cannot determine size of graphic...".


LyX outputs the graphic insets to LaTeX without extension, so it should work
if you just insert either of the two formats, while both are stored in the
same directory and with the same file name.

Jürgen



Hi Jürgen,

Thanks, however when I use the pdf version in LyX, with the file name 
mangling that happens in the temp dir, and LyX issuing a pdf->eps 
convertion, the resulting eps used in the DVI is not the one I provide.


Right now I use

\usepackage{graphicx}

in the preamble and

\includegraphics{filename}

in ERT and this is a satisfactory workaround.

--
Julien



Re: how to use eps graphic for dvi, pdf graphic for pdf output?

2011-05-23 Thread Jürgen Spitzmüller
Julien Rioux wrote:
> Thanks, however when I use the pdf version in LyX, with the file name 
> mangling that happens in the temp dir, and LyX issuing a pdf->eps 
> convertion, the resulting eps used in the DVI is not the one I provide.

Oh yes, I forgot.

> Right now I use
> 
> \usepackage{graphicx}
> 
> in the preamble and
> 
> \includegraphics{filename}
> 
> in ERT and this is a satisfactory workaround.

Another workaround would be a branch.

Jürgen


LyX 2.0 (beta2) didn't show PDF output

2010-12-13 Thread Moises Padilla
Hi.

I'm having troubles previewing PDF under the latest beta (PDFview, the new 
default) since the program keep saying no Acrobat Reader is installed. 
Obviously 
it are, and I already try to reinstall/repair but nothing happens: the file is 
open but there is no output.

The Acrobat Reader is version X and work just fine with 1.6.x and I have no 
luck 
under SumatraPDF nor FoxitReader. I'm downloading the programs in a second PC 
to 
see is something internal or OS related.

Tested so far: Windows XP SP3 (32bits)  Seven (64bits)
LyX-20beta2-5-8-AltInstaller-Small.exe (Miktex 2.7)



LyX 2.0 (beta2) didn't show PDF output

2010-12-13 Thread Moises Padilla
Hi.

I'm having troubles previewing PDF under the latest beta (PDFview, the new 
default) since the program keep saying no Acrobat Reader is installed. 
Obviously 
it are, and I already try to reinstall/repair but nothing happens: the file is 
open but there is no output.

The Acrobat Reader is version X and work just fine with 1.6.x and I have no 
luck 
under SumatraPDF nor FoxitReader. I'm downloading the programs in a second PC 
to 
see is something internal or OS related.

Tested so far: Windows XP SP3 (32bits)  Seven (64bits)
LyX-20beta2-5-8-AltInstaller-Small.exe (Miktex 2.7)



LyX 2.0 (beta2) didn't show PDF output

2010-12-13 Thread Moises Padilla
Hi.

I'm having troubles previewing PDF under the latest beta (PDFview, the new 
default) since the program keep saying no Acrobat Reader is installed. 
Obviously 
it are, and I already try to reinstall/repair but nothing happens: the file "is 
open" but there is no output.

The Acrobat Reader is version X and work just fine with 1.6.x and I have no 
luck 
under SumatraPDF nor FoxitReader. I'm downloading the programs in a second PC 
to 
see is something internal or OS related.

Tested so far: Windows XP SP3 (32bits) & Seven (64bits)
LyX-20beta2-5-8-AltInstaller-Small.exe (Miktex 2.7)



Re: PDF output question

2010-12-12 Thread Nikos Chantziaras

On 12/12/2010 05:13 AM, Steve Litt wrote:

On Saturday 11 December 2010 16:42:45 Venable wrote:

On Sat, Dec 11, 2010 at 1:24 PM, Liviu Androniclandronim...@gmail.com

wrote:

On Sat, Dec 11, 2010 at 7:15 PM, Nikos Chantziarasrea...@arcor.de

wrote:

http://dl.dropbox.com/u/14591540/newfile1.pdf


I see.  Those are indeed bitmap fonts and not recommended for PDFs (or
anything else, actually.)  I guess your TeX installation is missing the
scalable version of the Computer Modern fonts.


My guess is that you're using default fonts, and LyX in default
configuration will use bitmap fonts (long story). Try to change
Document  Settings  Fonts  Roman to Latin Modern or Palatino to get
vector fonts. But I don't know if this would help you with the
submission thingy.


This (bitmap as default) has always been puzzling to me. Even though
it's a small thing to correct, I've seen it be a barrier to adoption
by the less-technically-inclined. It seems like making a scalable font
the default would go a long way to making LyX just work out of the
box.

Of course, there is probably another side to the story.


I'll tell you one thing. Every time I tried Palatino, and I think Latin
Modern, they were thin, reedy, hard to read, especially on a computer screen.
By far the best looking font I've had that comes with LyX/TeTeX is Century
Schoolbook. I have no idea if that's bitmapped or scalable.


It's scalable.



Re: PDF output question

2010-12-12 Thread Nikos Chantziaras

On 12/12/2010 05:13 AM, Steve Litt wrote:

On Saturday 11 December 2010 16:42:45 Venable wrote:

On Sat, Dec 11, 2010 at 1:24 PM, Liviu Androniclandronim...@gmail.com

wrote:

On Sat, Dec 11, 2010 at 7:15 PM, Nikos Chantziarasrea...@arcor.de

wrote:

http://dl.dropbox.com/u/14591540/newfile1.pdf


I see.  Those are indeed bitmap fonts and not recommended for PDFs (or
anything else, actually.)  I guess your TeX installation is missing the
scalable version of the Computer Modern fonts.


My guess is that you're using default fonts, and LyX in default
configuration will use bitmap fonts (long story). Try to change
Document  Settings  Fonts  Roman to Latin Modern or Palatino to get
vector fonts. But I don't know if this would help you with the
submission thingy.


This (bitmap as default) has always been puzzling to me. Even though
it's a small thing to correct, I've seen it be a barrier to adoption
by the less-technically-inclined. It seems like making a scalable font
the default would go a long way to making LyX just work out of the
box.

Of course, there is probably another side to the story.


I'll tell you one thing. Every time I tried Palatino, and I think Latin
Modern, they were thin, reedy, hard to read, especially on a computer screen.
By far the best looking font I've had that comes with LyX/TeTeX is Century
Schoolbook. I have no idea if that's bitmapped or scalable.


It's scalable.



Re: PDF output question

2010-12-12 Thread Nikos Chantziaras

On 12/12/2010 05:13 AM, Steve Litt wrote:

On Saturday 11 December 2010 16:42:45 Venable wrote:

On Sat, Dec 11, 2010 at 1:24 PM, Liviu Andronic

wrote:

On Sat, Dec 11, 2010 at 7:15 PM, Nikos Chantziaras

wrote:

http://dl.dropbox.com/u/14591540/newfile1.pdf


I see.  Those are indeed bitmap fonts and not recommended for PDFs (or
anything else, actually.)  I guess your TeX installation is missing the
scalable version of the Computer Modern fonts.


My guess is that you're using default fonts, and LyX in default
configuration will use bitmap fonts (long story). Try to change
Document>  Settings>  Fonts>  Roman to Latin Modern or Palatino to get
vector fonts. But I don't know if this would help you with the
submission thingy.


This (bitmap as default) has always been puzzling to me. Even though
it's a small thing to correct, I've seen it be a barrier to adoption
by the less-technically-inclined. It seems like making a scalable font
the default would go a long way to making LyX "just work" out of the
box.

Of course, there is probably another side to the story.


I'll tell you one thing. Every time I tried Palatino, and I think Latin
Modern, they were thin, reedy, hard to read, especially on a computer screen.
By far the best looking font I've had that comes with LyX/TeTeX is Century
Schoolbook. I have no idea if that's bitmapped or scalable.


It's scalable.



PDF output question

2010-12-11 Thread Alan McIntyre
Hi,

I'm a relative newbie to Lyx and am using it for writing my thesis. The
problem I'm having is that the pdf output I generate, which looks OK (bit
'jumpy' looking though), appears to be bitmap images rather than proper
searchable text. For example I need to submit my document to my university
via the Turnitin plagarism detection system, but this complains that my
document contains no text! Also, on the pdf output I can't do copy/paste
text, word counts, word search, etc.

I'm using Lyx on Win XP, set up with the LyXWinInstaller v.1.6.8. It's all
default setup - I know nothing about Latex or what goes on under the cover!

Thanks,
Alan


Re: PDF output question

2010-12-11 Thread Nikos Chantziaras

On 12/11/2010 06:41 PM, Alan McIntyre wrote:

Hi,

I'm a relative newbie to Lyx and am using it for writing my thesis. The
problem I'm having is that the pdf output I generate, which looks OK
(bit 'jumpy' looking though), appears to be bitmap images rather than
proper searchable text. For example I need to submit my document to my
university via the Turnitin plagarism detection system, but this
complains that my document contains no text! Also, on the pdf output I
can't do copy/paste text, word counts, word search, etc.

I'm using Lyx on Win XP, set up with the LyXWinInstaller v.1.6.8. It's
all default setup - I know nothing about Latex or what goes on under the
cover!


Always use the pdflatex export option.  This will use scalable fonts.



Re: PDF output question

2010-12-11 Thread mario
Hi

try to give a look at Laport's book
http://www.amazon.com/LaTeX-Document-Preparation-System-2nd/dp/0201529831 
It helps.
My best wishes for your thesis
mario



On Sat, Dec 11, 2010 04:41  PM, Alan McIntyre lt;apmcint...@gmail.comgt; 
wrote:
 Hi,
 
 I'm a relative newbie to Lyx and am using it for writing my thesis. The
 problem I'm having is that the pdf output I generate, which looks OK (bit
 'jumpy' looking though), appears to be bitmap images rather than proper
 searchable text. For example I need to submit my document to my university
 via the Turnitin plagarism detection system, but this complains that my
 document contains no text! Also, on the pdf output I can't do copy/paste
 text, word counts, word search, etc.
 
 I'm using Lyx on Win XP, set up with the LyXWinInstaller v.1.6.8. It's all
 default setup - I know nothing about Latex or what goes on under the cover!
 
 Thanks,
 Alan
Email sent using Axigen Free Mail Server:
http://www.axigen.com/mail-server/free


Re: PDF output question

2010-12-11 Thread Alan McIntyre
Thanks Nikos for reply - I've tried pdflatex output option with same result.
See output file at...
http://dl.dropbox.com/u/14591540/newfile1.pdf

On 11 December 2010 16:41, Alan McIntyre apmcint...@gmail.com wrote:

 Hi,

 I'm a relative newbie to Lyx and am using it for writing my thesis. The
 problem I'm having is that the pdf output I generate, which looks OK (bit
 'jumpy' looking though), appears to be bitmap images rather than proper
 searchable text. For example I need to submit my document to my university
 via the Turnitin plagarism detection system, but this complains that my
 document contains no text! Also, on the pdf output I can't do copy/paste
 text, word counts, word search, etc.

 I'm using Lyx on Win XP, set up with the LyXWinInstaller v.1.6.8. It's all
 default setup - I know nothing about Latex or what goes on under the cover!

 Thanks,
 Alan



Re: PDF output question

2010-12-11 Thread Alan McIntyre
Nikos Chantziaras realnc at arcor.de writes:

 
 
 Always use the pdflatex export option.  This will use scalable fonts.
 
 

Thanks Nikos for reply - I've tried pdflatex output option with same result. See
output file at...
http://dl.dropbox.com/u/14591540/newfile1.pdf





Re: PDF output question

2010-12-11 Thread mario
Alan

I can search your file.
How do you look at it?
Or am I misunderstanding your issue?
mario


On Sat, Dec 11, 2010 05:21  PM, Alan McIntyre lt;apmcint...@gmail.comgt; 
wrote:
 Nikos Chantziaras realnc at arcor.de writes:
 
  
  
  Always use the pdflatex export option.  This will use scalable fonts.
  
  
 
 Thanks Nikos for reply - I've tried pdflatex output option with same result. 
 See
 output file at...
 http://dl.dropbox.com/u/14591540/newfile1.pdf
Email sent using Axigen Free Mail Server:
http://www.axigen.com/mail-server/free


Re: PDF output question

2010-12-11 Thread Nikos Chantziaras

On 12/11/2010 07:21 PM, Alan McIntyre wrote:

Nikos Chantziarasrealncat  arcor.de  writes:




Always use the pdflatex export option.  This will use scalable fonts.




Thanks Nikos for reply - I've tried pdflatex output option with same result. See
output file at...
http://dl.dropbox.com/u/14591540/newfile1.pdf


I see.  Those are indeed bitmap fonts and not recommended for PDFs (or 
anything else, actually.)  I guess your TeX installation is missing the 
scalable version of the Computer Modern fonts.  That sounds a bit messed 
up, since the scalable fonts should be the default these days (I think.)


But I've no idea how to correct that.  Other Windows users might know 
what's going on (I'm on Linux.)


What I do know is that you can check from inside LyX whether those fonts 
are actually installed.  It's in Help-LaTeX Configuration.  It's in 
the Latin Modern section.  It should say Found: yes.




Re: PDF output question

2010-12-11 Thread Liviu Andronic
On Sat, Dec 11, 2010 at 7:15 PM, Nikos Chantziaras rea...@arcor.de wrote:
 http://dl.dropbox.com/u/14591540/newfile1.pdf

 I see.  Those are indeed bitmap fonts and not recommended for PDFs (or
 anything else, actually.)  I guess your TeX installation is missing the
 scalable version of the Computer Modern fonts.

My guess is that you're using default fonts, and LyX in default
configuration will use bitmap fonts (long story). Try to change
Document  Settings  Fonts  Roman to Latin Modern or Palatino to get
vector fonts. But I don't know if this would help you with the
submission thingy.

Regards
Liviu


 That sounds a bit messed up,
 since the scalable fonts should be the default these days (I think.)

 But I've no idea how to correct that.  Other Windows users might know what's
 going on (I'm on Linux.)

 What I do know is that you can check from inside LyX whether those fonts are
 actually installed.  It's in Help-LaTeX Configuration.  It's in the
 Latin Modern section.  It should say Found: yes.





-- 
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: PDF output question

2010-12-11 Thread Alan McIntyre


Hmmm... that's strange. I've been using Nitro PDF Professional and that won't
allow searching or cut'n'paste. But in response to your comment, I've just
installed Acrobat X and that does! However, someone else on this thread has
confirmed that the fonts in the document sre indeed bitmaps?

I'm more confused now than I started :-(

Alan






Re: PDF output question

2010-12-11 Thread Alan McIntyre
Hi Nikos,

Looks like my installation does indeed include those fonts...

1.2 Latin Modern
MM Found: yes
MM CTAN: fonts/lm/
MM Notes: The Latin Modern fonts are PostScript versions of LaTeX' standard font
(Computer Modern). They aim to become the default LaTeX font eventually. We
recommend to use them instead of other PostScript versions of Computer Modern
(like AE). 



Re: PDF output question

2010-12-11 Thread Nikos Chantziaras

On 12/11/2010 08:42 PM, Alan McIntyre wrote:



Hmmm... that's strange. I've been using Nitro PDF Professional and that won't
allow searching or cut'n'paste. But in response to your comment, I've just
installed Acrobat X and that does! However, someone else on this thread has
confirmed that the fonts in the document sre indeed bitmaps?

I'm more confused now than I started :-(


Just because the fonts are bitmaps doesn't mean the document is not 
searchable.  It means it will look ugly though :)


As another poster mentioned, it seems LyX uses bitmaps by default.  So 
choosing Latin Modern Roman, Latim Modern Sans and Latin Modern 
Typewriter as fonts for you document should fix it.




Re: PDF output question

2010-12-11 Thread Alan McIntyre
Guys,

Thanks for your help, I've followed your instructions and changed the default
fonts to Computer Modern and using the Export - PDF(ps2pdf) I can get
searchable/selectable/paste'able' text output! :-)

Interestingly, using Export - PDF(pdflatex) doesn't produce the same result.

I guess the default setup with this installation is a bit messed up.

Thanks again for your help!

Alan



Re: PDF output question

2010-12-11 Thread Liviu Andronic
On Sat, Dec 11, 2010 at 8:09 PM, Alan McIntyre apmcint...@gmail.com wrote:
 Guys,

 Thanks for your help, I've followed your instructions and changed the default
 fonts to Computer Modern and using the Export - PDF(ps2pdf) I can get
 searchable/selectable/paste'able' text output! :-)

 Interestingly, using Export - PDF(pdflatex) doesn't produce the same result.

The two produce documents using different backends, and the latter is
often preferred. But it depends on what you need.

Regards
Liviu



 I guess the default setup with this installation is a bit messed up.

 Thanks again for your help!

 Alan





-- 
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: PDF output question

2010-12-11 Thread Venable
On Sat, Dec 11, 2010 at 1:24 PM, Liviu Andronic landronim...@gmail.com wrote:
 On Sat, Dec 11, 2010 at 7:15 PM, Nikos Chantziaras rea...@arcor.de wrote:
 http://dl.dropbox.com/u/14591540/newfile1.pdf

 I see.  Those are indeed bitmap fonts and not recommended for PDFs (or
 anything else, actually.)  I guess your TeX installation is missing the
 scalable version of the Computer Modern fonts.

 My guess is that you're using default fonts, and LyX in default
 configuration will use bitmap fonts (long story). Try to change
 Document  Settings  Fonts  Roman to Latin Modern or Palatino to get
 vector fonts. But I don't know if this would help you with the
 submission thingy.


This (bitmap as default) has always been puzzling to me. Even though
it's a small thing to correct, I've seen it be a barrier to adoption
by the less-technically-inclined. It seems like making a scalable font
the default would go a long way to making LyX just work out of the
box.

Of course, there is probably another side to the story.


Re: PDF output question

2010-12-11 Thread Liviu Andronic
On Sat, Dec 11, 2010 at 10:42 PM, Venable venabl...@gmail.com wrote:
 This (bitmap as default) has always been puzzling to me. Even though
 it's a small thing to correct, I've seen it be a barrier to adoption
 by the less-technically-inclined. It seems like making a scalable font
 the default would go a long way to making LyX just work out of the
 box.

 Of course, there is probably another side to the story.

There is. Although I feel the same way as you do about the issue,
there are several important reasons why (some) LaTeX defaults are left
unchanged. See this discussion [1] (it's very long).

The prevailing idea is that defaults are defaults, and unhappy users
should choose better. From the devel's perspective the better solution
is good documentation and good introductions.

Regards
Liviu

[1] http://www.mail-archive.com/lyx-users@lists.lyx.org/msg77578.html


Re: PDF output question

2010-12-11 Thread Steve Litt
On Saturday 11 December 2010 16:42:45 Venable wrote:
 On Sat, Dec 11, 2010 at 1:24 PM, Liviu Andronic landronim...@gmail.com 
wrote:
  On Sat, Dec 11, 2010 at 7:15 PM, Nikos Chantziaras rea...@arcor.de 
wrote:
  http://dl.dropbox.com/u/14591540/newfile1.pdf
 
  I see.  Those are indeed bitmap fonts and not recommended for PDFs (or
  anything else, actually.)  I guess your TeX installation is missing the
  scalable version of the Computer Modern fonts.
 
  My guess is that you're using default fonts, and LyX in default
  configuration will use bitmap fonts (long story). Try to change
  Document  Settings  Fonts  Roman to Latin Modern or Palatino to get
  vector fonts. But I don't know if this would help you with the
  submission thingy.
 
 This (bitmap as default) has always been puzzling to me. Even though
 it's a small thing to correct, I've seen it be a barrier to adoption
 by the less-technically-inclined. It seems like making a scalable font
 the default would go a long way to making LyX just work out of the
 box.
 
 Of course, there is probably another side to the story.

I'll tell you one thing. Every time I tried Palatino, and I think Latin 
Modern, they were thin, reedy, hard to read, especially on a computer screen. 
By far the best looking font I've had that comes with LyX/TeTeX is Century 
Schoolbook. I have no idea if that's bitmapped or scalable.

If I had to switch to Palatino or Latin Modern to get scalable fonts, I'd be 
one of those resisting making scalable fonts the default.

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



PDF output question

2010-12-11 Thread Alan McIntyre
Hi,

I'm a relative newbie to Lyx and am using it for writing my thesis. The
problem I'm having is that the pdf output I generate, which looks OK (bit
'jumpy' looking though), appears to be bitmap images rather than proper
searchable text. For example I need to submit my document to my university
via the Turnitin plagarism detection system, but this complains that my
document contains no text! Also, on the pdf output I can't do copy/paste
text, word counts, word search, etc.

I'm using Lyx on Win XP, set up with the LyXWinInstaller v.1.6.8. It's all
default setup - I know nothing about Latex or what goes on under the cover!

Thanks,
Alan


Re: PDF output question

2010-12-11 Thread Nikos Chantziaras

On 12/11/2010 06:41 PM, Alan McIntyre wrote:

Hi,

I'm a relative newbie to Lyx and am using it for writing my thesis. The
problem I'm having is that the pdf output I generate, which looks OK
(bit 'jumpy' looking though), appears to be bitmap images rather than
proper searchable text. For example I need to submit my document to my
university via the Turnitin plagarism detection system, but this
complains that my document contains no text! Also, on the pdf output I
can't do copy/paste text, word counts, word search, etc.

I'm using Lyx on Win XP, set up with the LyXWinInstaller v.1.6.8. It's
all default setup - I know nothing about Latex or what goes on under the
cover!


Always use the pdflatex export option.  This will use scalable fonts.



Re: PDF output question

2010-12-11 Thread mario
Hi

try to give a look at Laport's book
http://www.amazon.com/LaTeX-Document-Preparation-System-2nd/dp/0201529831 
It helps.
My best wishes for your thesis
mario



On Sat, Dec 11, 2010 04:41  PM, Alan McIntyre lt;apmcint...@gmail.comgt; 
wrote:
 Hi,
 
 I'm a relative newbie to Lyx and am using it for writing my thesis. The
 problem I'm having is that the pdf output I generate, which looks OK (bit
 'jumpy' looking though), appears to be bitmap images rather than proper
 searchable text. For example I need to submit my document to my university
 via the Turnitin plagarism detection system, but this complains that my
 document contains no text! Also, on the pdf output I can't do copy/paste
 text, word counts, word search, etc.
 
 I'm using Lyx on Win XP, set up with the LyXWinInstaller v.1.6.8. It's all
 default setup - I know nothing about Latex or what goes on under the cover!
 
 Thanks,
 Alan
Email sent using Axigen Free Mail Server:
http://www.axigen.com/mail-server/free


<    1   2   3   4   5   6   7   8   9   >