Re: Lyx 2.1.3 on Mavericks not converting pdfs

2015-03-17 Thread Graham Smith
Oh bother, I haven't got used to the google email client, and still seem to
send email to the sender when  I mean to send to all.

The Knitr example works fine, and my minimal examples work fine as well,
its just this file (42 pages) and indeed some others that have broken.
Unfortunately this is a regular happening between versions where I try to
use a file that hasn't been opened for a year.

I will just do what I have down in the past and copy paragraph by paragraph
into a new file, compiling as I go, and try and sort it out.

I do have a new error concerning the PDFS

"no information for converting pdf6 format to eps, Define convertor in the
preferences"

And then Lyx crashes.

Cheers,

Graham

On 17 March 2015 at 21:29, Scott Kostyshak  wrote:

> On Tue, Mar 17, 2015 at 5:15 PM, Graham Smith  wrote:
> > Hello Scott,
> >
> > If I open pdfs in a new file, I still get the error converting to
> loadable
> > format, but the file compiles OK.
> >
> > Looking back on my original post, I realise that I didn't say that I was
> > using Sweave as I had convinced myself that it was related to the PDF
> issue.
> >
> >
> >
> > The log is printed below, it would be good to get this sorted out but
> > meanwhile I have the PDF version that I produced before it stopped
> > compiling.
> >
> >
> > Thanks for your help,
> >
> >
> > Graham
>
> Hi Graham,
>
> Please always respond to the list. Do you have a minimal example file
> you can send? Can you compile the knitr example file that comes with
> LyX?
>
> Scott
>


Lyx 2.1.3 on Mavericks not converting pdfs

2015-03-16 Thread Graham Smith
I have just upgraded to Lyx 2.1.3 on Mac (Mavericks) and I am now getting
an error about PDFs

"Error converting to loadable  format"  and the file won't compile which
may or may not be associated with this issue, as I am getting dozens of
errors, which I am slowly working through.

Regardless it would be nice to get some help with this as I routinely have
my graphics as pdfs.

Any help appreciated.

Cheers,

Graham


Re: "Not a readable lyx document"

2012-11-25 Thread Graham Smith
Thanks to everyone for the further comments, good to hear that it seems I
am unusual in having corrupt files.

Time Machine is, as Liviu says, a Mac solution and I share with Ubuntu and
occasionally Windows. Dropbox will retain files indefinitely, for an extra
fee, but I didn't know that SiderOak did it for their standard fee.

Certainly it looks as if I need to improve my backup procedures in some
way, but these few files with Lyx are the only times I have had this
problem.

Graham


Re: "Not a readable lyx document"

2012-11-25 Thread Graham Smith
Liviu,

I have 100+Gb on Dropbox that I use, and it gives me version control for 30
days, which is good for falling back on a previous version, but the Dropbox
version will have long been replaced by the corrupt version. This then
syncs to a few computers in different locations

But, I do need a better long term backup, and a more flexible version
control.

I also have a Spider Oak account, as it so happens.

Thanks,

Graham


Re: "Not a readable lyx document"

2012-11-25 Thread Graham Smith
David,

>   My students would testify that many of my notes are far, far more than
> 8-12 months old when I open and "revise" them for the current term, and
> this has never happened to me [except on very, very old files whose format
> is no longer supported directly by lyx].
>
>
>  Thinking about it the computer that probably produced this file is no
> longer in use, but it wasn't corrupt when last used as I printed out the
> PDF from it, so it has become corrupt sitting on my hard drive.
>
> Well, your hard drive has probably begun to fail, corrupting random areas
> on the disk.  Although disk drives do seem more reliable than they used to
> be, it does still happen.
>

I think I am going to put it down to just being one of those things, for
now and see if it happens again. I'm not having any problems with other
files, and so far this year, only this file has been a problem. I keep a
note of the revisions I want to make from one year to the next, so I can
just ask students to annotate the hard copy. I don't have time to redo the
document.

Hard drives have all recently had some form of hardware check run on them
in the last few weeks, and this may in fact be the first file to go wrong
with my current computer set up, so maybe its a legacy of a past hard drive.

Thanks,

Graham


Re: "Not a readable lyx document"

2012-11-25 Thread Graham Smith
Richard,

 so I will just be more cautious in future.
>>
>>  This file is definitley corrupt. Here's the result of "hexdump -c | head
> -n 25":
>
>
> If you've had this problem more than once, you may want to think about
> whether you have a hardware problem that is corrupting your files.


It has happened occasionally before, maybe 3 or 4 times over the same
number of years. It's difficult to track, as its always the same  situation
lecture notes or a tutorial than has sat there for 8 to 12 months
untouched, and then I can't open it to revise for the current term.

Thinking about it the computer that probably produced this file is no
longer in use, but it wasn't corrupt when last used as I printed out the
PDF from it, so it has become corrupt sitting on my hard drive.

I am unaware of any other problems, so I suspect I will just need to wait
and see.

Thanks,

Graham


Re: "Not a readable lyx document"

2012-11-25 Thread Graham Smith
Thanks Liviu

If you ever manually edit your .lyx files in a text editor, try to
> make sure that the result is accessible on both your platforms.


So far, I have never had occasion to edit lyx files directly, I was just
using  a text editor here, because I wanted to have a look at the file when
it wouldn't open in Lyx.

Cheers,

Graham


Re: "Not a readable lyx document"

2012-11-25 Thread Graham Smith
Liviu


> That's odd. The first question that pops to mind: Do you use the
> Document > Compressed option? Maybe this corrupts things.
>

What is also odd is that  I can open the file with no problem using a text
editor on the Mac, indeed the file preview in the Mac file Manager
(Pathfinder) reads it without any problems. BUT I have just tried on Ubuntu
(open with text editor) , and it won't open.

I certainly haven't selected the compressed option, but this particular
file is 7 months old, and I can't remember whether it originated on the Mac
or Ubuntu or even the version of Lyx. I will check the compressed option in
future.

However, it seems there is no obvious answer, so I will just be more
cautious in future.

Thanks,

Graham


ModernCV style - address block and name header missing

2012-08-06 Thread Graham Smith
I am trying to create a CV using the ModernCV style on Mac OS Lion, Lyx
2.04 and MacTex 2012.

Although I can add and entry and it will compile OK, there is no address
block or name header.

There are some instructions on the Wiki (
http://wiki.lyx.org/Examples/ModernCVClassIssues) about centering the name
and title and leaving more room for the address, by editing the .sty file
which may be relevant, but the instructions don't match the current
moderncvcasual.sty file, and I am not sure what I need to do, if indeed it
is relevant.

In desperation, I actually created the CV that I needed in latex, and
copied the personal info into the Lyx preamble, so I am assuming that the
required information is available to Lyx.

Is there anything obvious I should be looking at.

Thanks,

Graham

BTW, don't be misled by me moving to Latex to create my CV, I don't
actually know much about Latex, its just that when things don't work in Lyx
its sometimes quicker to find an example in Latex, and edit it directly.
than try and work out what is happening with Lyx - but this is a temporary
solution as I primarily want to work in Lyx.


Re: 403 forbidden access to lyx.org

2012-07-31 Thread Graham Smith
Richard,

Thanks, its now working :-)

Graham

On 31 July 2012 20:35, Richard Heck  wrote:

>  On 07/31/2012 03:19 PM, Graham Smith wrote:
>
> Thanks, but..
>
>  Unfortunately, it is also timing out for me now as well, but I assume
> that is a step better than a 403 forbidden access.
>
>  Yeah, that timeout problem is different, and one we've had on several
> other occasions. The guess is that it has something to do with trac.
> Sometimes it resolves itself; sometimes I have to restart httpd.
>
> Richard
>
>
>  Graham
>
> On 31 July 2012 15:26, Richard Heck  wrote:
>
>>   On 07/31/2012 06:32 AM, Graham Smith wrote:
>>
>> Hello all,
>>
>>  Anyone any suggestions what this problem might be.
>>
>>  Trying to access lyx.org I get this message
>>
>>   Forbidden
>>
>> You don't have permission to access / on this server.
>> --
>> Apache/2.2.15 (CentOS) Server at www.lyx.org Port 80
>>
>>  Is this a temporary problem,. There doesn't seem to be any mention of
>> it on the forums.
>>
>>  I seem to have fixed it.
>>
>> Richard
>>
>>
>
>
>


Re: 403 forbidden access to lyx.org

2012-07-31 Thread Graham Smith
Thanks, but..

Unfortunately, it is also timing out for me now as well, but I assume that
is a step better than a 403 forbidden access.

Graham

On 31 July 2012 15:26, Richard Heck  wrote:

>  On 07/31/2012 06:32 AM, Graham Smith wrote:
>
> Hello all,
>
>  Anyone any suggestions what this problem might be.
>
>  Trying to access lyx.org I get this message
>
>   Forbidden
>
> You don't have permission to access / on this server.
> --
> Apache/2.2.15 (CentOS) Server at www.lyx.org Port 80
>
>  Is this a temporary problem,. There doesn't seem to be any mention of it
> on the forums.
>
> I seem to have fixed it.
>
> Richard
>
>


403 forbidden access to lyx.org

2012-07-31 Thread Graham Smith
Hello all,

Anyone any suggestions what this problem might be.

Trying to access lyx.org I get this message

Forbidden

You don't have permission to access / on this server.
--
Apache/2.2.15 (CentOS) Server at www.lyx.org Port 80

Is this a temporary problem,. There doesn't seem to be any mention of it on
the forums.
Thanks,
Graham


Re: Sweave Snow Leopard and lyx 2.0

2012-03-04 Thread Graham Smith
Yihui

On Monday, 5 March 2012, Yihui Xie  wrote:
> I think LyX 2.0.3 looks good now. The Sweave manual is accessible via
> Help=>Specific Manuals. The LyX wiki has been updated as well.

I have only briefly looked at this, but I also see that Kintr is now a
module.

Graham


Re: Gtk-warning

2012-03-03 Thread Graham Smith
Vincent,


>>
> https://bugs.launchpad.net/**ubuntu/+source/light-themes/+**bug/762167
>
> You can fix this by installing "gtk2-engines-pixbuf".
>
>
Thanks, that fixed it.

Graham


Re: Gtk-warning

2012-03-03 Thread Graham Smith
Richard


On 03/02/2012 12:04 PM, Graham Smith wrote:
>
>> I have just updated Lyx by adding the new  the Ubuntu ppa to Ubuntu 11.10
>> and I am getting the following warning:
>>
>> (lyx:2997): Gtk-WARNING **: Unable to locate theme engine in module_path:
>> "pixmap",
>>
>> Is this something to be worried about, and if so can anyone help me fix
>> it.
>>
>>  Probably not a LyX issue as such, since LyX does not use Gtk itself.


Thanks, I will just ignore it for now then.

Graham


Gtk-warning

2012-03-02 Thread Graham Smith
I have just updated Lyx by adding the new  the Ubuntu ppa to Ubuntu 11.10
and I am getting the following warning:

(lyx:2997): Gtk-WARNING **: Unable to locate theme engine in module_path:
"pixmap",

Is this something to be worried about, and if so can anyone help me fix it.

Many thanks,

Graham


Re: Compile error File does not exist: /var/folders

2012-02-09 Thread Graham Smith
> Yes, this sounds like a problem specific to a particular file (then it
> will be even harder for me to diagnose). Does that one produce figures
> from R?
>

Yes, it produces figures as well.

Graham


Re: Compile error File does not exist: /var/folders

2012-02-08 Thread Graham Smith
I have just a different file from a different project, but still one using
Sweave, and that compliled fine so it seems something unique to this file,
so maybe that is where I should be looking.

Graham


Re: Compile error File does not exist: /var/folders

2012-02-08 Thread Graham Smith
Can you also attach a copy of the script
> /Applications/LyX.app/Contents/Resources/scripts/lyxsweave.R ?
>

File atached

Thanks,

Graham


lyxsweave.R
Description: Binary data


Re: Compile error File does not exist: /var/folders

2012-02-08 Thread Graham Smith
Just realised I didn't answer

>Have you set up any Sweave options like prefix and prefix.string in your
document? Or have you ever changed the >Sweave module in LyX?

No I haven't doen either of these things, except when I added the TEX box
you suggsted, which Inave since removed.

Graham


Re: Compile error File does not exist: /var/folders

2012-02-08 Thread Graham Smith
Yihui


This is confusing to me. Ideally Sweave should write that file in the
> temp folder, and R will clean up the temp dir string in the tex
> output. However, in your case, both tasks failed. Have you set up any
> Sweave options like prefix and prefix.string in your document? Or have
> you ever changed the Sweave module in LyX? What are the first few
> lines of messages when you compile the document? (View-->View
> Messages)
>

Not as confusing as it is to me :-(

It's identical to the file that compiled in October, I opened the Lyx file
and tried to compile it and couldn't because I got this error, then opened
it in Lyx/Ubuntu and it compiled fine.

I have pasted the lines from View-->Messages errors come half way through,
so I thought this would be more informative than just the firet few lines

 21:59:54.210: Previewing ...

21:59:54.218: (buffer-view: ⌘R)

21:59:54.299: Rscript --verbose --no-save --no-restore
"/Applications/LyX.app/Contents/Resources/scripts/lyxsweave.R"
"/var/folders/g3/h89z1g_n7yv3fth6y2yd2nlhgn/T/lyx_tmpdir.JL3034/lyx_tmpbuf2/""R-GettingStarted.Rnw"
"/var/folders/g3/h89z1g_n7yv3fth6y2yd2nlhgn/T/lyx_tmpdir.JL3034/lyx_tmpbuf2/""R-GettingStarted.tex"
UTF-8 "/Users/graham/Dropbox/projects/R-Intro_Oct2011/"

21:59:54.302: running

21:59:54.302:
'/Library/Frameworks/R.framework/Versions/2.14/Resources/bin/R --slave
--no-restore --no-save --no-restore
--file=/Applications/LyX.app/Contents/Resources/scripts/lyxsweave.R --args
/var/folders/g3

21:59:54.302:
/h89z1g_n7yv3fth6y2yd2nlhgn/T/lyx_tmpdir.JL3034/lyx_tmpbuf2/R-GettingStarted.Rnw
/var/folders/g3/h89z1g_n7yv3fth6y2yd2nlhgn/T/lyx_tmpdir.JL3034/lyx_tmpbuf2/R-GettingStarted.tex
UTF-8'

21:59:54.302:

21:59:54.609: Writing to file
/var/folders/g3/h89z1g_n7yv3fth6y2yd2nlhgn/T/lyx_tmpdir.JL3034/lyx_tmpbuf2/R-GettingStarted.tex

21:59:54.611: Processing code chunks with options ...

21:59:54.627: 1 : keep.source term verbatim

21:59:54.646: 2 : echo keep.source

21:59:54.648: 3 : echo keep.source term verbatim

21:59:54.662: 4 : echo keep.source

21:59:54.664: 5 : echo keep.source

21:59:54.666: 6 : echo keep.source term verbatim

21:59:54.671: 7 : echo keep.source

21:59:54.674: 8 : echo keep.source term verbatim

21:59:54.686: 9 : echo keep.source

21:59:54.687: 10 : echo keep.source

21:59:54.689: 11 : echo keep.source

21:59:54.692: 12 : echo keep.source term verbatim pdf

21:59:54.748:

21:59:54.748: You can now run (pdf)latex on
'/var/folders/g3/h89z1g_n7yv3fth6y2yd2nlhgn/T/lyx_tmpdir.JL3034/lyx_tmpbuf2/R-GettingStarted.tex'

21:59:54.748: Warning message:

21:59:54.748: In readLines(f[1L], warn = FALSE) :

21:59:54.748: invalid input found on input connection
'/var/folders/g3/h89z1g_n7yv3fth6y2yd2nlhgn/T/lyx_tmpdir.JL3034/lyx_tmpbuf2/R-GettingStarted.Rnw'

21:59:54.778: pdflatex "R-GettingStarted.tex"

21:59:54.932: This is pdfTeX, Version 3.1415926-2.3-1.40.12 (TeX Live 2011)

21:59:54.934: restricted \write18 enabled.

21:59:54.940: entering extended mode

21:59:54.940: (./R-GettingStarted.tex

21:59:54.940: LaTeX2e <2011/06/27>

21:59:54.940: Babel  and hyphenation patterns for english, dumylang,
nohyphenation, ge

21:59:54.940: rman-x-2011-07-01, ngerman-x-2011-07-01, afrikaans,
ancientgreek, ibycus, arabi

21:59:54.941: c, armenian, basque, bulgarian, catalan, pinyin, coptic,
croatian, czech, danis

21:59:54.941: h, dutch, ukenglish, usenglishmax, esperanto, estonian,
ethiopic, farsi, finnis

21:59:54.941: h, french, galician, german, ngerman, swissgerman, monogreek,
greek, hungarian,

21:59:54.941: icelandic, assamese, bengali, gujarati, hindi, kannada,
malayalam, marathi, or

21:59:54.941: iya, panjabi, tamil, telugu, indonesian, interlingua, irish,
italian, kurmanji,

21:59:54.941: lao, latin, latvian, lithuanian, mongolian, mongolianlmc,
bokmal, nynorsk, pol

21:59:54.941: ish, portuguese, romanian, russian, sanskrit, serbian,
serbianc, slovak, sloven

21:59:54.941: ian, spanish, swedish, turkish, turkmen, ukrainian,
uppersorbian, welsh, loaded

21:59:54.941: .

21:59:54.941:

21:59:55.396: pdflatex
"R-GettingStarted.tex"/Users/Shared/LyX/lyx-2.0.2/src/support/Systemcall.cpp(243):
Systemcall: 'pdflatex "R-GettingStarted.tex"' finished with exit code 1

21:59:55.550: This is pdfTeX, Version 3.1415926-2.3-1.40.12 (TeX Live 2011)

21:59:55.550: restricted \write18 enabled.

21:59:55.558: entering extended mode

21:59:55.559: (./R-GettingStarted.tex

21:59:55.559: LaTeX2e <2011/06/27>

21:59:55.559: Babel  and hyphenation patterns for english, dumylang,
nohyphenation, ge

21:59:55.559: rman-x-2011-07-01, ngerman-x-2011-07-01, afrikaans,
ancientgreek, ibycus, arabi

21:59:55.559: c, armenian, basque, bulgarian, catalan, pinyin, coptic,
croatian, czech, danis

21:59:55.559: h, dutch, ukenglish, usenglishmax, esperanto, estonian,
ethiopic, farsi, finnis

21:59:55.559: h, french, galician, german, ngerman, swissgerman, monogreek,
greek, hungarian,

21:59:55.560: icelandic, assamese, bengali, gujarati, 

Re: Compile error File does not exist: /var/folders

2012-02-08 Thread Graham Smith
OK,

The file doesn't seem to exist. A search only finds the PDF from October in

\Users\graham\Dropbox\projects\R-Intro_Oct2011\R-GettingStarted.pdf

The temp folder has all the tex files etc but no PDF.

Graham

On 8 February 2012 20:50, Yihui Xie  wrote:

> OK, then the question is where is this file. Can you try to compile
> the document again, and search for that R-GettingStarted.pdf?
>
> Regards,
> Yihui
> --
> Yihui Xie 
> Phone: 515-294-2465 Web: http://yihui.name
> Department of Statistics, Iowa State University
> 2215 Snedecor Hall, Ames, IA
>
>
>
> On Wed, Feb 8, 2012 at 2:44 PM, Graham Smith  wrote:
> > Yihui
> >
> >> This sounds hard to diagnose... Does that file really exist or not?
> >> Can you go and check in that folder?
> >
> >
> > The folder exists, but there is no R-GettingStarted.pdf in the folder.
> The
> > folder is empty.
> >
> > Graham
> >
> >
> >
>


Re: Compile error File does not exist: /var/folders

2012-02-08 Thread Graham Smith
Yihui

This sounds hard to diagnose... Does that file really exist or not?
> Can you go and check in that folder?
>

The folder exists, but there is no R-GettingStarted.pdf in the folder. The
folder is empty.

Graham


Re: Compile error File does not exist: /var/folders

2012-02-08 Thread Graham Smith
Yihui

Thanks for the response

> Which version of R are you using? Does it work when you add this to
> your document as TeX code (Insert-->TeX Code)?
>
> \SweaveOpts{prefix=TRUE,prefix.string=sweave-figure}

It's R 2.14.1, and adding the code doesn't make any difference.

Graham


Compile error File does not exist: /var/folders

2012-02-08 Thread Graham Smith
I have just tried compile a file that I last compiled in October 2011, on
Mac with Lion and Lyx 2.02, but may have originally been compiled on a  Mac
with Snow leopard and Lyx 2.01.

I am getting the error

 File does not exist:
/var/folders/g3/h89z1g_n7yv3fth6y2yd2nlhgn/T/lyx_tmpdir.xJL756/lyx_tmpbuf0/R-GettingStarted.pdf


The file points to some screen grabs and has R code so it also uses Sweave.


I have just tried and the same file compiles fine on Ubnutu 11.10/lyx 2.0.0
(Ubuntu is running virtual box on the Mac so is pointing at the same file
in the same directory as the Mac copy of Lyx is pointing at). So I can
carry on, but I coud do with sorting out the problem with the Mac version
of Lyx.


I see the same question was asked in December, but it didn't reach a
conclusion.


Many thanks,


Graham


Re: Package varioref Sweave error

2011-11-06 Thread Graham Smith
Jürgen


> Read the varioref documentation:
>

The problem with this for me, and I did read some of it before posting, is
I have no idea how this relates to what I can do in Lyx.

If I was running Latex then fine, but how does this translate into action
in Lyx.

Thanks,

Graham


Re: Package varioref Sweave error

2011-11-06 Thread Graham Smith
Liviu


> The Economist's Babbage blog has a nice discussion on this topic [1].
> Regards
> Liviu
>
> [1] http://www.economist.com/blogs/babbage/2011/05/internet_security
>
> Thanks again, an interesting read.

Graham


Re: Package varioref Sweave error

2011-11-06 Thread Graham Smith
Thanks Liviu,

I have used Spider Oak in the past, and it was fine and more flexible that
Dropbox (but Dropbox has improved) and every so often I think about using
it for cloud backups,and keeping Dropbox for syncing.

And as an aside, Dropbox does use encryption for their servers: from
http://www.dropbox.com/help/27

"Dropbox uses modern encryption methods to both transfer and store your
data.

   - Secure Sockets Layer (SSL) and AES-256 bit encryption
   - Dropbox website and client software have been hardened against attacks
   from hackers
   - Public files are only viewable by people who have a link to the
   file(s). Public folders are not browsable or searchable

Dropbox uses Amazon's Simple Storage Service (S3) for storage, which has a
robust security policy of its own. You can find more information on
Amazon's data security from the S3
siteor, read more about how
Dropbox and Amazon securely stores data . "

I don't know enough about it to know "how" secure this is, but it doesn't
suggest the data are in simply in plain view on their servers.


Graham




> Then use SpiderOak [1]. (I also mention it in [2], section 1.3.) It's
> a cross-platform alternative, somewhat more flexible and with slightly
> more overhead when it comes to syncing, but it keeps past versions
> indefinitely (while they---the diff parts---count towards your quota
> of 2GB) which requires some periodic clean-up. It has a steeper
> learning curve than Dropbox, but if you put one hour worth of effort
> then you'll be quickly up to speed.
>
> A last point is that it treats privacy seriously: your data is
> encrypted on your computer and kept encrypted on their servers, while
> they don't have a record of your password (don't lose it!). Dropbox
> uses encryption only for transfer, meaning that all your data are
> stored in plain view on the servers.
>
> Regards
> Liviu
>
> [1] http://alternativeto.net/software/spideroak/
> [2]
> http://wiki.lyx.org/uploads/LyX/tutorials/essentials/LyX_Essentials.pdf
>


Re: Package varioref Sweave error

2011-11-05 Thread Graham Smith
Hello Xu,

I don't mean to be parental, but this should be a good reminder to you that
> it's always good to save frequently and to save many different versions.
> Ideally you should look into a version control system (which LyX actually
> supports!), but at the least, make multiple backups, and not just one one
> machine.


Or, to remember that a back up exists!!

All my documents are in a Dropbox folder which is then synced to three
different computers including one off site, as well as the Dropbox servers.


Dropbox records a snapshot of every save for the last 30 days, and saves
them on their server. They also do a paid version which saves snapshots for
longer than 30 days.

I save frequently, indeed looking at the log on Dropbox I seem to save
every  two to three minutes and I have 22 pages of snapshots.

I had forgotten all about this until your comments above.  However, the
free Dropbox solution isn't going to help if I come back to a document in 6
months time, as it only keeps the versions for 30 days, rather than keeping
30 days worth of versions (if you see what I mean), which I hadn't
realised. So I will need to think about that, and thanks fro raising it.

Graham


Re: Package varioref Sweave error

2011-11-05 Thread Graham Smith
Hello Xu

Could you send a minimum working example (WME) of your .lyx file? My guess
> is that you might be able to generate the same error by deleting most or
> all of your document.
>
> My only suggestion for now is to start a new LyX document, and then copy
> from your old to your new. This will copy all of the content but will not
> copy some of the underlying things in the .lyx file. This would be easy to
> try and could solve your problem.
>

I have copied all the text into a new document and it all seems to be
working again. Which is great relief as I am very short of time trying to
get this document finished for Tuesday.

Thanks,

Graham


Package varioref Sweave error

2011-11-05 Thread Graham Smith
I have unsuccessfully been trying to get some latex code to (make a table)
run in an ERT box in Lyx. In the end I gave up and deleted my attempts.
However, now the document won't compile with the error message below.
 Nothing has changed other than the stuff I added and then deleted, but I
assume the aborted attempts to compile have broken something. I am on a Mac
with Lyx 2.0.0

Error
Package varioref \vref at page boundary 18-19 (may loop)


Description

terms. }

 Please check the pages in question. You might need to replace the \vref

or \vpageref by a normal \(page)ref to stop LaTeX running forever.


Is there an obvious solution to this,




many thanks,


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
>


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: Sweave Snow Leopard and lyx 2.0

2011-09-02 Thread Graham Smith

Yihui,


> You are absolutely right -- too many instructions around. I wished I
> could make a comprehensive documentation of Sweave in LyX, but did not
> manage to do it before LyX 2.0.1. Perhaps we can do it in 2.0.2...
> 
Yes, some up to date, and detailed instructions would be very useful.

Graham

Re: Sweave Snow Leopard and lyx 2.0

2011-09-02 Thread Graham Smith
Yihui

As far as I know, there is no such a package named literate, and the
> Sweave module does not rely on noweb.sty (this seems to be a common
> misunderstanding about Sweave in LyX).
>
> I'm sort of lost in the discussion and do not know what is the problem
> right now.
>

Sorry for the delay in replying, there is no package named literate, but the
instructions (to me anyway) suggested that I needed to install a package
called literate, which I couldn't find it. I did go on to explain this in a
later post, after the problem had been solved.

One of the problems about SWeave on Lyx is that there are lots of different
instructions around, of varying ages, all giving slightly different
directions, including the need for noweb.sty.  But as you say, in fact it
isn't needed.

It's all a little confusing.

Graham


Re: Sweave Snow Leopard and lyx 2.0

2011-08-21 Thread Graham Smith
With  a follow up to a follow up,



> Thanks for the comment about noweb and sweave, I wasn't sure if I needed
> both. I knew I needed Sweave, just not sure about noweb.
>

The errror message, as suggested by Julien, was indeed linked to trying to
load the noweb module. Removing the noweb module fixed the error and fixing
the path fixed the compile error.

 I don't get this error on Ubuntu so I assume I must have a more complete
installation on Ubuntu.

Thanks again Liviu and Julien, a great relief to get this sorted.

Graham


Re: Sweave Snow Leopard and lyx 2.0

2011-08-21 Thread Graham Smith
Julien



> If this file was created with LyX 1.6 and then converted to LyX 2.0, you
> might have found a bug in the conversion routine. Do you have a sample LyX
> 1.6 file which reproduces the problem when opened in 2.0?
>
>
Thanks for the comment about noweb and sweave, I wasn't sure if I needed
both. I knew I needed Sweave, just not sure about noweb.

The file has never seen 1.6, it was produced in Lyx 2 on Ubuntu 11.04, but
then opened in the Mac after I had upgraded to the existing  1.6 to 2.0.

I did say this in original post, and in the post when I uploaded the file
:-)

Graham


Re: Sweave Snow Leopard and lyx 2.0

2011-08-21 Thread Graham Smith
Julien


>>
> The error message that you get should have pointed you to Section 3.1.2.3
> of the User's Guide. The message says that a literate->latex converter is
> missing (although not stated, usually this would be noweave), it also says
> that the LaTeX package noweb.sty is missing.
>
> Is the error message not correct? i.e., do you have "noweave" and
> "noweb.sty" installed in a useful place in your computer? It might be that
> LyX is wrong here.
>
> When LyX is right, you should follow the instructions in the User's Guide
> to correct the problem. If you can, please provide feedback on the text in
> Section 3.1.2.3 (and maybe some suggested replacement text) so that we can
> change it and make it more understandable.
>

Thanks for the follow up.

As you will now have seen, none of these things were in fact missing. The
error was caused by the path in the Lyx doc pointing to the text file used
by R, which   was pointing somewhere that Lyx on the Mac didn't understand.
Changing the path has fixed everything so inspite of the error message the
missing elements were not in fact missing.

I did read the section in the help file and the follow up in the
customisation guide.  I think you have identified my key area of confusion,
for as you can see in subsequent posts, based on those instructions I was
looking for a Latex package called "literate" to install, which I couldn't
find.

Graham


Re: Sweave Snow Leopard and lyx 2.0

2011-08-21 Thread Graham Smith
Liviu,

Many many thanks for this, I knew I would need to edit the file path once I
started working with the file, but didn't realise that it could cause an
error about  installed classes when simply loading the file.

No changed "~/Dropbox/projects/R_Anova/Data/Ian.txt"

When I was regularly switching between Linux and the Mac, I used this format
as it migrated between platforms. But I haven't used the Mac for a long
time. Unfortunately, I am having to abandon Linux and switch back to the Mac
full time, and I seem to have forgotten everything I knew about the Mac :-(


Thanks again,

Graham

On 21 August 2011 08:24, Liviu Andronic  wrote:

> On Sun, Aug 21, 2011 at 8:06 AM, Graham Smith  wrote:
> > I have attached the file that is giving me the problems and just in case
> it
> > as been missed, this file was produced in Lyx 2.0 in Ubuntu 11.04.  It
> was
> > the Mac that had 1.6 on it, which I upgraded to 2.0 before trying to open
> > this file.
> >
> After I open View > Messages and try to compile the file, I notice
> that R fails with the following message:
> 09:18:06.166: Processing code chunks with options ...
> 09:18:06.218:  1 : term verbatim
> 09:18:06.244:  2 : echo keep.source term verbatim
> 09:18:06.288:
> 09:18:06.303: Error:  chunk 2
> 09:18:06.303: Error in file(file, "rt") : cannot open the connection
> 09:18:06.303: In addition: Warning message:
> 09:18:06.304: In file(file, "rt") :
> 09:18:06.304:   cannot open file
> '/home/graham/Dropbox/projects/R_Anova/Data/Ian.txt': No such file or
> directory
> 09:18:06.305: Execution halted
>
> Naturally it doesn't fine '/home' on Mac OS X, while it doesn't find
> '/home/graham' on my Xubuntu system.
> Liviu
>


Re: Sweave Snow Leopard and lyx 2.0

2011-08-20 Thread Graham Smith
Further to this,  I have now created a small file from scratch with a single
chunk of R code and it seems to work fine. article class and Sweave module
loaded.

I have attached the file that is giving me the problems and just in case it
as been missed, this file was produced in Lyx 2.0 in Ubuntu 11.04.  It was
the Mac that had 1.6 on it, which I upgraded to 2.0 before trying to open
this file.

Thanks,

Graham



On 21 August 2011 06:48, Graham Smith  wrote:

> Liviu,
>
> Thanks for the reply.
>
> I'm afraid I don't understand what you are asking me to try.
>
> As the doc has already worked with SWeave, the modules SWeave and Noweb are
> loaded automatically, which is why I assume I am getting the error as soon
> as I open the document the lyx. And again the article class is chosen as
> that is what class of the document I am loading.
>
> So I don't reall know what it is you want me to try, sorry.
>
> Also when you ask for a small Lyx Sweave file, I haven't reached the stage
> of trying to compile the document because of the error messages.
>
> However, I have just tried to complile it and get an error.
>
> "An error occurred while running:
>
> Rscript --verbose --no-save --no-restore
>
> "/Applications/LyX.app/Contents/Resources/scripts/lyxsweave.R"
>
>
> "/var/folders/NZ/NZHrfNFJED4D2lK1ptzXHE+++TI/-Tmp-/lyx_tmpdir.L11776/lyx_tmp..."
>
>
>
> I have now searced all the latex packages installed and uninstalled and
> cannot find one called literate, so I am even more confused :-(
>
>
> On 20 August 2011 22:23, Liviu Andronic  wrote:
>
>> On Sat, Aug 20, 2011 at 10:29 PM, Graham Smith 
>> wrote:
>> > Just to add to this, I have updated to Mactex 2011, and found the the
>> Tex
>> > live utlity, but cannot find a package called "literate".
>> >
>> Have you tried Document > Settings > Modules > Sweave? And Settings >
>> Class > Article (or whichever you use)? Else, please send a small
>> sample of your LyX Sweave file.
>>
>> Liviu
>>
>>
>> > I have updated "all" run texhash and reconfigured lyx, but still the
>> same
>> > error.
>> >
>> > Thanks,
>> >
>> > Graham
>> >
>> > On 20 August 2011 17:40, Graham Smith  wrote:
>> >>
>> >> I am trying to get Sweave to work with lyx 2.0 on Snow leopard with
>> Mactex
>> >> 2010
>> >>
>> >> I had Lyx 1.6 working fine, but uninstalled before installing lyx 2.0
>> >>
>> >> Opening a file in Lyx 2.0 (originally from Ubuntu 11.04 and lyx 2.0)
>> gives
>> >> me an error that I am missing
>> >>
>> >> literate-latex
>> >> noweb.sty
>> >>
>> >> I know lyx 2.0 uses modules now, but all the instructions I can find
>> still
>> >> seem to refer to the old installation, and I am not at all sure what I
>> >> should be doing here. The Mac is a little bit of a mystery to me, so I
>> would
>> >> be very grateful for a bit of hand holding.
>> >>
>> >> I'm a bit surprised that googling hasn't found anything, so I assume
>> its
>> >> just me.
>> >>
>> >> many thanks,
>> >>
>> >> Graham
>> >
>> >
>>
>>
>>
>> --
>> 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
>>
>
>


R_Anova.lyx
Description: Binary data


Re: Sweave Snow Leopard and lyx 2.0

2011-08-20 Thread Graham Smith
Liviu,

Thanks for the reply.

I'm afraid I don't understand what you are asking me to try.

As the doc has already worked with SWeave, the modules SWeave and Noweb are
loaded automatically, which is why I assume I am getting the error as soon
as I open the document the lyx. And again the article class is chosen as
that is what class of the document I am loading.

So I don't reall know what it is you want me to try, sorry.

Also when you ask for a small Lyx Sweave file, I haven't reached the stage
of trying to compile the document because of the error messages.

However, I have just tried to complile it and get an error.

"An error occurred while running:

Rscript --verbose --no-save --no-restore

"/Applications/LyX.app/Contents/Resources/scripts/lyxsweave.R"

"/var/folders/NZ/NZHrfNFJED4D2lK1ptzXHE+++TI/-Tmp-/lyx_tmpdir.L11776/lyx_tmp..."



I have now searced all the latex packages installed and uninstalled and
cannot find one called literate, so I am even more confused :-(


On 20 August 2011 22:23, Liviu Andronic  wrote:

> On Sat, Aug 20, 2011 at 10:29 PM, Graham Smith 
> wrote:
> > Just to add to this, I have updated to Mactex 2011, and found the the Tex
> > live utlity, but cannot find a package called "literate".
> >
> Have you tried Document > Settings > Modules > Sweave? And Settings >
> Class > Article (or whichever you use)? Else, please send a small
> sample of your LyX Sweave file.
>
> Liviu
>
>
> > I have updated "all" run texhash and reconfigured lyx, but still the same
> > error.
> >
> > Thanks,
> >
> > Graham
> >
> > On 20 August 2011 17:40, Graham Smith  wrote:
> >>
> >> I am trying to get Sweave to work with lyx 2.0 on Snow leopard with
> Mactex
> >> 2010
> >>
> >> I had Lyx 1.6 working fine, but uninstalled before installing lyx 2.0
> >>
> >> Opening a file in Lyx 2.0 (originally from Ubuntu 11.04 and lyx 2.0)
> gives
> >> me an error that I am missing
> >>
> >> literate-latex
> >> noweb.sty
> >>
> >> I know lyx 2.0 uses modules now, but all the instructions I can find
> still
> >> seem to refer to the old installation, and I am not at all sure what I
> >> should be doing here. The Mac is a little bit of a mystery to me, so I
> would
> >> be very grateful for a bit of hand holding.
> >>
> >> I'm a bit surprised that googling hasn't found anything, so I assume its
> >> just me.
> >>
> >> many thanks,
> >>
> >> Graham
> >
> >
>
>
>
> --
> 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: Sweave Snow Leopard and lyx 2.0

2011-08-20 Thread Graham Smith
Just to add to this, I have updated to Mactex 2011, and found the the Tex
live utlity, but cannot find a package called "literate".

I have updated "all" run texhash and reconfigured lyx, but still the same
error.

Thanks,

Graham

On 20 August 2011 17:40, Graham Smith  wrote:

> I am trying to get Sweave to work with lyx 2.0 on Snow leopard with Mactex
> 2010
>
> I had Lyx 1.6 working fine, but uninstalled before installing lyx 2.0
>
> Opening a file in Lyx 2.0 (originally from Ubuntu 11.04 and lyx 2.0) gives
> me an error that I am missing
>
> literate-latex
> noweb.sty
>
> I know lyx 2.0 uses modules now, but all the instructions I can find still
> seem to refer to the old installation, and I am not at all sure what I
> should be doing here. The Mac is a little bit of a mystery to me, so I would
> be very grateful for a bit of hand holding.
>
> I'm a bit surprised that googling hasn't found anything, so I assume its
> just me.
>
> many thanks,
>
> Graham
>


Sweave Snow Leopard and lyx 2.0

2011-08-20 Thread Graham Smith
I am trying to get Sweave to work with lyx 2.0 on Snow leopard with Mactex
2010

I had Lyx 1.6 working fine, but uninstalled before installing lyx 2.0

Opening a file in Lyx 2.0 (originally from Ubuntu 11.04 and lyx 2.0) gives
me an error that I am missing

literate-latex
noweb.sty

I know lyx 2.0 uses modules now, but all the instructions I can find still
seem to refer to the old installation, and I am not at all sure what I
should be doing here. The Mac is a little bit of a mystery to me, so I would
be very grateful for a bit of hand holding.

I'm a bit surprised that googling hasn't found anything, so I assume its
just me.

many thanks,

Graham


Re: MiKTeX won't download with LyX

2011-07-05 Thread Graham Smith
Michael


> "Downloading MiKTeX failed.  Would you like to try again? (HTTP/1.1 404 Not
> Found)"


I installed  Lyx 2 on Windows 7 yesterday and got this exact same error. I
continued with the install, assuming I would need to install MikTeX after
Lyx had completed.

However, during the install I clicked on the details button and was able to
watch Lyx configure  Latex  (suggesting it had in fact downloaded MikTeX)
and indeed it is working fine, in spite of that error.

Graham


Re: Adding a logo to beamer presentation

2011-06-15 Thread Graham Smith
Paul


> > Each Beamer theme is a collection of LaTeX commands, meaning that
> > instead of using a given theme you could compile several commands
> > (from different themes) that would give you the look you desire. I'd
> > start with Beamer's documentation.
>
> I've customized a few themes (Warsaw, Madrid, Marburg) to add my college's
> logo.
>  What I did was copy the relevant theme files to a folder in my localtexmf
> tree,
> renamed them (so that they did not collide with the originals), and hacked
> them.
>  Hacking an existing theme is probably faster than cobbling together a new
> one,
> assuming you're happy with most of what the existing theme does.
>

I may well try that some time, but for now I will have to compromise.

Thanks,

Graham


Re: Adding a logo to beamer presentation

2011-06-14 Thread Graham Smith
Liviu


> I'm wondering if it's not theme-related. Have you tried with some other
> themes?
>
>
You are correct, it is linked to the them, changing to Warsaw gives me the
logo in the bottom left corner.

Which is fine except I really want the Goettingen theme. Having tried a few
themes it seems it doesn't work if you have a theme with a vertical
navigation bar.

That's a blow, but at least I now know what is going on.

Thanks,

Graham


Adding a logo to beamer presentation

2011-06-14 Thread Graham Smith
Hello I am trying to add a logo to a beamer presentation Lyx 1.6.7 Ubuntu
10.10  Goettingen theme

I tried just

\logo{\includegraphics[height=0.5cm]{Biocensustraininglogonew.JPG}}

an option in the Beamer instructions both as a preamble and ERT but nothing
happened , no errors no logo. The logo file is in the same directory as the
lyx file.

I then tried:


\usepackage{pgf}
\pgfdeclareimage[height=0.5cm]{Biocensus-logo}{/home/graham/Dropbox/Lectures/WildlifeLegislation/Biocensustraininglogonew.JPG}
\logo{\pgfuseimage{Biocensus-logo}}


Again no error messages and no logo.

My search through google seems to just confirm the above method of doing
what I am doing, but obviously I am missing something.

Can anyone help.

Many thanks,

Graham


Re: R Gaphics for Lyx

2011-05-29 Thread Graham Smith
Yihui


, I think Graham's question has pointed out a very useful
> direction -- we may consider leaving some sort of API's or hooks in
> the R script in LyX which is used to process the Rnw document.


> A few months ago I also recommended the qpdf program to R developers
> to compress PDF plots and it has been included in R now (the option
> --compact-vignettes in R CMD build). Graham, is your script portable
> to Windows and Mac? Could you share it with us? Maybe we can propose
> this feature to LyX developers. It will be definitely helpful.
>

Although I do normally use  SWeave, these particular files were simply
exported from R, and then imported into Lyx, there  just big PDFs. ECDFs
based on 120,000 data points, which is why I suspect they are large without
some form of flattening.

But compressing imported PDFs goes beyond R and maybe qpdf could become a
Lyx  feature to optimise PDFs the same way that MSWord allows you to
optimise graphics before saving/printing.

The Nautilus script in Linux uses Ghostscript and maybe this could be
another option to consider along with qpdf.
http://www.webupd8.org/2010/11/download-compress-pdf-12-nautilus.html

But I will have a look at qpdf, thanks,

Graham


Re: R Gaphics for Lyx

2011-05-29 Thread Graham Smith
Hello Murat


> If I understand well your message, your plots have a lot of data points and
> since each point is represented as a vector object, the vector based formats
> like eps or pdf become huge.


I often use PNGs if the files are going to end up in a Windows program, but
have got used to using PDFs whenever I can.  I will give PNGs a try and see
how big a difference it makes.

Thanks,

Graham


R Gaphics for Lyx

2011-05-29 Thread Graham Smith
 I'm looking for some advice on format and quality specification for
exporting graphs from R to go into a Lyx Document, that will end up as a
printed document.

At the moment each graph using the R defaults is a 3 - 4mb PDF, and I am
using them as 9cm x 9cm in the document.

Has anyone got  a standard spec that they use for exporting from R to keep
the file size as small as possible while still giving high quality

I am less than half way through a document which currently has 122 graphs
(each 9cm x 9cm) in it that gives me  a PDF of half a Gb. I can compress the
PDF with a Nautilus script down to 11Mb, but it would make sense to export
graphs that were as small as possible. At half a Gb, the preview scrolls
really badly on my PC.

Many thanks,

Graham


Re: LyX Promotion

2011-03-25 Thread Graham Smith
Stephen


> There was a version for LaTeX
> http://www.tex.ac.uk/tex-archive/info/latex4wp/latex4wp.pdf
>
>
This looks useful, thanks.

Graham


Re: LyX Promotion

2011-03-23 Thread Graham Smith
Rainer,

I completely agree and this would be a very usefull document - but the
> issue is not to provide an easy transition from Word to LyX, but to
> enable an easy co-operation with Word or OO / LibreOffice users, in
> the sense that:
>

Ah OK, I obviously misunderstood the basis of the thread, I thought it was
to broaden the appeal/user base beyond the perceived Academic one (but I use
it in consultancy).

Graham


Re: LyX Promotion

2011-03-23 Thread Graham Smith
One possible approach is to write an introduction to Lyx specifically aimed
at Word users.

This has been done for R at
http://chartsgraphs.wordpress.com/learnr-toolkit/ where the tutorials assume
familiarity with Excel and demonstrate how things differ (or are the same)
in R. There have also been similar things done for the GIS program Manifold,
comparing it against the Industry standard products from ESRI.

I had a couple of aborted attempts with Lyx, because, as a Word User, I just
couldn't get my head around certain concepts (the concept of compiling a
document probably being the main one). I then eventually came back to Lyx
via SWeave in R, which introduced me to Latex, and then Lyx fell into place
and I realised it gave me an easy interface to Latex for every day
documents.

A Lyx equivilant of the R tutorials would have been a great help.

Graham



On 22 March 2011 15:51, Rob Oakes  wrote:

> Dear Users and Developers,
>
> Thank you to both Pavel and Stefano for ollowing up with Google about why
> the GSoC application was turned down. Is there any way that I could help in
> that review? Stefano, will you be attending the IRC meeting to be held later
> today? I think it's very important that we understand why LyX was rejected
> as a mentoring organization, and I'd be willing to hep in any way necessary.
>
> While I have some ideas about why it may have happened, I think that Pavel
> hit the nail on the head. When I talk to people about LyX, they seem to
> think of it as a specialized academic writing tool. Basically, a program
> which helps professors and students write a thesis or articles. (To be even
> more narrow, it seems like many think it is for math and physics people to
> write a thesis or article.) Which is to say, a specialized program with an
> incredibly small user base and use.
>
> While that stereotype may be somewhat true (I don't think anyone would
> argue that many of the developers and users are within academics), it
> significantly understates LyX's appeal, especially if you consider the
> enhancements available in the upcoming version. From my own personal
> experience, I've found LyX to be the most capable pre-press/writing tool
> I've ever come across. If I were a publishing company or involved in the
> creation of any type of documentation, I would be looking  at LyX very
> carefully. It's the only tool that I know that allows you to manage
> collaboration, typesetting the final output, and target both electronic and
> print from the same source. With the recent explosion of electronic
> publishing and eBooks, I think that makes it *highly* relevant.
>
> Yet, I'm not sure that the wider community appreciates that. (Hearing
> Google's rationale for rejecting the GSoC application will help somewhat in
> clarifying how LyX is perceived.) Which really brings me to the reason I'm
> writing.
>
> Would it be worth trying to promote LyX to people who might find it
> helpful?
>
> We've talked for a long time about writing a LyX book, which is an
> excellent and wonderful project. But what if we first tested those waters by
> tackling some smaller projects first?
>
> For example:
>
> 1.) I just learned about a new open design magazine this morning, called
> LibreGraphics magazine (http://libregraphicsmag.com/). The goal of the
> publication is to help designers find tools for their work. It seems like an
> article about using LyX for book design would be a natural fit for their
> target audience.
>
> 2.) In similar vein, the LibreGraphics meeting is also coming up. This
> year, it will be held in Montreal. LibreGraphics targets a similar
> demographic, and it seems like such a presentation would be a natural fit.
> Even better, they pay the travel expenses of presenters (
> http://libregraphicsmeeting.org/2011/). Might anyone be interested in
> talking about using LyX to talk about book design, typography, or writing?
>
> 3.) It's been some time since Linux magazine or one of the other trade
> publications published a general purpose article on LyX. Might it be worth
> creating and submitting one? We might try and target Linux users magazine (
> http://www.linuxuser.co.uk/), ZdNet, or one of the large Linux blogs (like
> OMG!Ubuntu, http://www.omgubuntu.co.uk/).
>
> 4.) It seems that there are people willing to help promote/evangelize LyX,
> but I'm not sure we offer much in the way of promotional materials to help.
> Would it be worthwhile to create a limited number of tutorials for people,
> like Venom, who will be holding seminars or workshops? (I've also thought
> about teaching a design workshop through my local library, and these
> materials would help provide a curriculum.)
>
> The tutorials could address some of the finer points of using LyX that are
> not covered in the manuals. For example, how do you collaborate using
> version control? What is the process for creating custom, typeset
> publications with LyX and LaTeX? We could publish cohesive examples and then
> walk throu

Re: LyX and editors?

2010-12-14 Thread Graham Smith
Steve,


> Perhaps some of you author in LyX but have editors go over your material.
> My
> experience is most editors don't have LyX and don't have the technical
> chops
> to use LyX. So how do you interface with your editors when writing a book
> in
> LyX?
>
> Why not just PDFs, I can't imagine a book editor not having mark up tools
for PDFs.

If you own Acrobat Professional you can activate the mark up tools enabling
them to work in the free Acrobat viewer, but there are lots of other
programs that will allow marking up PDFs.

Although our books were written in Word, the publisher sent the proofs back
to us to check (after they had edited them and messed up several bits) as
PDFs, and we were expected to mark up the PDFs to send back to them for them
to make  the corrections.

This was because by this time they had converted the Word files into their
DTP program and the problem was now reversed ie we didn't have the DTP
program to allow us to edit their chosen file format.

Graham


Re: Spellchecker stopped working

2010-12-12 Thread Graham Smith
M


With lyx 1.6.7 on Ubuntu 10.10 the spell checker cannot be started, running
> from terminal gives me this output.
>

To answer this myself, switching the preferences to aspell, got this working
again, but why should it suddenly decide to use iSpell.

Or have I always been using ispell and it did indeed suddenly break.

I will obviously need to read up about this, unless someone has a quick and
easy answer.

Thanks,

Graham


Spellchecker stopped working

2010-12-12 Thread Graham Smith
With lyx 1.6.7 on Ubuntu 10.10 the spell checker cannot be started, running
from terminal gives me this output.

gra...@antec-linux:~$ lyx
ForkedProcess::kill(5)
Error: Spellchecker error

The spellchecker could not be started
LyX: Failed to start ispell!


** (:3299): WARNING **: Failed to send buffer

** (:3299): WARNING **: Failed to send buffer
Killed 3301
../../../../src/frontends/qt4/Dialog.cpp(129): Dialog "spellchecker" failed
to translate the data string passed to show()

This a fresh install of both Ubuntu and Lyx (a couple of weeks old), and the
spell checker was working until today

Possibly of relevance, after this re-install, Emacs was giving me an error
that it couldn't enable flyspell.

This apparently needed elisp updated which was done as per instruction to
add ppa:ubuntu-elisp/ppa
and update the dist-upgrade.

This may be coincidence but since sorting out the spell checking issue with
emacs, I seem to have broken the spell checking with Lyx.

I have re-installed Lyx, but this hasn't helped.

Thanks,

Graham


Off-topic (sort of) Online PDF annotation tools

2010-10-25 Thread Graham Smith
Has anyone any experience of tools such http://a.nnotate.com/index.html 
or https://docq.com/


These allow you to upload a PDF to the web, send someone a link, and 
they can then annotate the PDF online from their browser.


It seems a way of getting some level of collaboration/feedback from 
clients/collaborators, without needing to have a copy of Adobe Acrobat 
Professional to enable the comment feature, forcing them to download one 
of the many third party pdf annotation tools, or giving them a converted 
 Word/HTML version of your Lyx document.


They will see something that looks like a finished document.

As, with one exception, everyone I work with expects a Word document to 
comment on, but is still comfortable with the idea of PDFs as "final" 
documents, this seems a possible solution, to an ongoing problem I have, 
just because I use Lyx.


It wouldn't be that great for full blown co-author work, but for a lot 
of what I do when its really on-going feedback this sounds like a 
possible solution.



Graham



Re: Printing a beamer outline

2010-09-24 Thread Graham Smith
Paul,

> First off, unless you have a specific reason to put the article-only text in
> child documents, I'd probably advocate including it in the original text file 
> in
> branches (just to keep things together).  If you have a particular reason to 
> use
> child documents, then maybe put the child include statements in a branch (so 
> you
> can turn them on and off easily).

I used to do it all in one doc and switch document class as you
suggest.  However, I found the presentation often  needs tweaked to
get the article to look right and the child document approach allows
easier regular compilation to check that it looks OK. But I agree
using branches looks a promising approach

Certainly its going to be better than PowerPoint, I will give it a go.

Thanks,

Graham


Re: Printing a beamer outline

2010-09-24 Thread Graham Smith
Richard


>> I guess this is impossible.
>>
>> Unless someone has had a brainwave since my original post.
>>
>>
>
> I just haven't had time to think about it. LyX time is spent chasing other
> bugs right now.

I still appreciate you thinking about it, if you do have a sudden
eureka moment, then I would still appreciate you getting back to me.

I am already viewed with some suspicion, as I don't use PowerPoint,
and as its now department policy to hand out outlines, not being able
to produce them in Lyx/Beamer, gives me a bit of a problem.

Graham


Re: more on collaboration

2010-09-24 Thread Graham Smith
Steve,

> All Unleashed books are written by a main author and lots of contributing
> authors. However, it's carved up by chapter, so no chapter is collaborative.

While this may well be true in general, the two books I have
collaborated on (my only book experience)  I contributed to every
chapter, writing some sections as well as heavy editing of the content
written by the main author (or the other authors).

Certainly this wasn't live collaboration, and relied on the track
changes features of Word.

I have done the same thing with Lyx and co-authoring Technical reports.

We also tried a Skype/Google Apps approach for live editing, but it
didn't work very well because of how slow the Skype connection was.
But this was more of brainstorming exercise trying to flesh out a
Report outline.

The books are:

http://www.amazon.com/Effects-Extensions-Ecology-Statistics-Biology/dp/0387874577/ref=sr_1_1?s=books&ie=UTF8&qid=1285353221&sr=1-1

and

http://www.amazon.com/Analysing-Ecological-Statistics-Biology-Health/dp/0387459677/ref=sr_1_2?s=books&ie=UTF8&qid=1285353262&sr=1-2

Graham


Re: Printing a beamer outline

2010-09-24 Thread Graham Smith
I guess this is impossible.

Unless someone has had a brainwave since my original post.

I've had no reply to this on the Beamer forum or on the comp.text.tex group.

 I was hoping that someone might have known of a simple Latex switch
to switch off the graphics and the article only text, but obviously
not.

I'm not sure how I get round this, certainly don't want to go back to
PowerPoint, but nor do I fancy manually creating and keeping an
outline in sync with the main presentation and article.

Thanks,

Graham


Re: Printing a beamer outline

2010-09-16 Thread Graham Smith
I wonder  if a child document that only contained a TOC might work, if
that's possible.

Graham


Re: Printing a beamer outline

2010-09-16 Thread Graham Smith
Richard,

Thanks for  persisting with this.

The text is added in an ERT box.

\mode {text inserted between brackets will only print in the
article and not the presentation}

Graphics are added just with the insert graphics menu.

It is beginning to look that this may well end up rather complicated.
I wonder if your original idea of using branches might be the
solution.

I will put together a file, but I'm on the wrong computer at the moment.

Graham


Re: Printing a beamer outline

2010-09-16 Thread Graham Smith
Richard,


> I'm not sure I fully understand what you want. What do you mean by "the
> bullet points beneath them"? I think of bullet points as things on the
> slides, so that's presumably not what you mean.

 If you have a presentation file with no additional "article" notes or
graphics and print out a Beamer article as a handout you get an
outline of the presentation, with each frame title as a heading and
the text contained in  the frame under the frame title. This is what I
am describing as an outline.

But  I have graphics and additional article only text in the
presentation, which is currently also printed as part of the Beamer
Article. I would like to be able to:

1. Print out the Beamer presentation
2. Print out a Beamer article with the additional article only text
and graphics.
3. Print out a Beamer Article that excludes the article only text and
graphics, and only has the text that is included in the presentation
(without the frames)

Does that make any more sense?

Thanks,

Graham


Printing a beamer outline

2010-09-16 Thread Graham Smith
I have Beamer set up to create a main presentation plus a child document 
that produces an article (where I include additional "article" only 
text) that I use as a handout.


A change of policy means that we are now handing out just an "outline" 
of the main slide headings and the bullet points beneath them (no frames 
or graphics).


Easily done in PowerPoint (just print as an outline) which everyone else 
uses, but its not obvious to me how I do this with Lyx. The "proper" 
handout will be made available online, so I still need my existing 
article ouput.


I did wonder if there might be some way of setting up a second child 
document still with the beamer class, but with a print "outline" or 
maybe even a TOC option, but I can't see anything as simple as that.


Once again any suggestions gratefully received.

Thanks,

Graham




Re: Keeping text in sync at two locations in a document

2010-09-16 Thread Graham Smith
Mateo

> Yes there is native support for macros in lyx, but the name is misleading; 
> they are called Math macros. [Menu | Insert | Math | Macros] will allow you 
> to define the macro, in both LaTeX and how it should appear in LyX if you so 
> desire. Then, to use it in your text, insert some Inline Math; type your 
> macro name preceded with a back-slash.
>
> This is instead of defining the LaTeX macros in your preamble, as per below 
> (which also work just as well).

This is also useful to know, but in this instance having the code in
an ERT block at the beginning of the document works well, as I can
construct my timetable in this block and see dates etc in context have
it propagated through the document.  Next year I can then edit the
appropriate bits in the block and that part of the docment is updated.


Thanks,

Graham


Re: Keeping text in sync at two locations in a document

2010-09-16 Thread Graham Smith
Richard

> It can easily be done in LaTeX, by defining macros that contain the dates
> and titles and then using those more than once. You can do this in LyX, too,

That is very clever, and exactly what I wanted. Indeed I can see scope
for this being useful for several other things as well.

many thanks,

Graham


Keeping text in sync at two locations in a document

2010-09-16 Thread Graham Smith
I have two timetables within the same document.

One is the main timetable which has the lecture title and a summary of
its content. The other is a summary timetable that goes on the back
page of the document, and just has the date and lecture title.

With Word I can use" Bookmarks" to auto-update the summary timetable
when I edit the main timetable. The dates are fixed so its only the
lecture titles that get edited and re-arranged.

Is there some way of doing this in Lyx.

Thanks,

Graham


Re: Sweave - No information for exporting the format PDF (pdflatex).

2010-09-12 Thread Graham Smith
Liviu,

I have managed to fix this. The preferences file had downloaded as
preferences.txt.

But looking at my other installs, I noticed it has no extension, so I
deleted the ",txt", and everything now works.

Can't say I remember deleting this before, but its now working.

Thanks for your help..

Graham


Re: Sweave - No information for exporting the format PDF (pdflatex).

2010-09-12 Thread Graham Smith
Liviu,

Thanks, all it says is

+Read the file doc/LaTeXConfig.lyx for more information.
gra...@eeepc-linux:~$ lyx
Error: Couldn't export file

No information for exporting the format PDF (pdflatex).


If I just use article class it compiles OK, its just when I change the class to

article Sweave noweb that I get the error, so it seems an Sweave issue.

Graham


Sweave - No information for exporting the format PDF (pdflatex).

2010-09-12 Thread Graham Smith
I have just installed, Lyx/Sweave on ubuntu 10.04 on an Asus eeepc 901.

I have upgraded to Lyx 1.6.7 using the repository at
http://ppa.launchpad.net/lyx-outline-devel/lyx-stable/ubuntu

Followed the instructions at
http://ggorjan.blogspot.com/2010/01/lyx-sweave-on-ubuntu-karmic.html
to install SWeave etc, as I have done several times before, checked
that all the files are where the instructions say they should be, done
the texhash/reconfigure but get an

erro:r No information for exporting the format PDF (pdflatex).

When I try to compile a file with this text


test
<>=
x<-c(4,5,6,7,5,6,7,8,9)
x
@

The code chunk is in an ert box.

Has anyone any suggestions s to where I can look for the problem.

Many thanks,

Graham


Re: SWeave and Lyx - managing the R code component

2010-09-10 Thread Graham Smith

Rainer


Well - you could open the LyX document in a text editor, and do a
search-replace, so that all chunks have the same option? Also something
I did in the past.


Yes, this is an option, but its an added complication I would rather avoid



Howver, I haven't tried it as an option in  the pre-amble. I
will give it a go.


If I remember correctly, I tried to set it in the preamble, but it was
overwritten again - so I put it into an ert block at the beginning of
the document and it was working.


I have it an ERT block at the beginning of the document, as it didn't 
seem to work in the pre-amble, but that was before I realised that the 
local echo=T were overrding the SWeaveOpt command. So I'm not sure now.


However, as I've said in another response I now seem to have the makings 
of someting that will work.


Thanks,

Graham


Re: SWeave and Lyx - managing the R code component

2010-09-10 Thread Graham Smith

Liviu,

This shows some promise. The echo=T within the chunks overrides the 
SWeaveOpts command, and the although the code is suppressed you still 
get the output, which is fine for the figures but not for some of the 
numerical output


However, this all looks promising as you could create objects in the 
main text (rather than output)and then put the output into the appendix.


All told this looks very good.

Many many thanks.  lyx seems to triumph again.

Graham



Re: SWeave and Lyx - managing the R code component

2010-09-10 Thread Graham Smith

Liviu


Have you tried to use \SweaveOpts{echo=T} for the with_code document,
and 'echo=F' for the document with no code? You can also use this
option on specific chunks as follows
<>=
@


I have used this in specific chunks but it isn't practical for a full 
report. Howver, I haven't tried it as an option in  the pre-amble. I 
will give it a go.


Thanks,

Graham



SWeave and Lyx - managing the R code component

2010-09-10 Thread Graham Smith

Hello,

I posted a similar question earlier, but without a response - maybe it 
wasn't worded properly, as I was in a bit of a panic, when it was posted.


SWeave and Lyx are a great combination for combining R code and R output 
into the same document and most of the time this is fine, but 
occasionally I need a 2nd version without the code, but still any graphs 
produced by the code.


I did try branches, but switching off a branch, which runs a calculation 
that a figure relies on, breaks the figure code.


I also tried putting the code in an appendix, but this has a similar 
problem with the figure code calling data that hasn't yet been created.


Has anyone any idea how this can be got around, and give me the two 
document versions: one with code and one without.


I could live with all the code ending up in an appendix, and wondered if 
there was some clever way of working with two files, one for the 
analysis that would run first, then the main document could grab output 
from this analysis file for the main text, and then dump the analysis 
file into the compiled document as an appendix. If that makes sense.


Any suggestions gratefully received.

Graham



Re: Adding bibliography environment adds key-2[] at end of document rather than Bibliography

2010-09-07 Thread Graham Smith
Oh Dear, how stupid am I, in a bit of a tizz here and just being stupid.

Sorry folks.

Graham

On 7 September 2010 16:02, Graham Smith  wrote:
> To add to this on an earlier draft of this document I see the source code is
>
> \bibliographystyle{apalike2}
> \bibliography{jbatsbib}
>
>
> On this document and indeed I have now tried this with a couple of new
> documents, adding the bibliography environment is adding
>
> \begin{thebibliography}{99}
> \bibitem{key-10}
> \end{thebibliography}
>
> Graham
>


Re: Adding bibliography environment adds key-2[] at end of document rather than Bibliography

2010-09-07 Thread Graham Smith
To add to this on an earlier draft of this document I see the source 
code is


\bibliographystyle{apalike2}
\bibliography{jbatsbib}


On this document and indeed I have now tried this with a couple of new 
documents, adding the bibliography environment is adding


\begin{thebibliography}{99}
\bibitem{key-10}
\end{thebibliography}

Graham


Adding bibliography environment adds key-2[] at end of document rather than Bibliography

2010-09-07 Thread Graham Smith
I changed class from book to article and the bibliography broke. No 
references appeared in the Bibliography section when compliled and the 
in text citations compiled with a "?"


I deleted the environment and tried to re-add the bibliography but 
intead of getting the bibliography "button" that allows you to link a 
database, I am getting


References
key-2[]


If I open an existing citation there is no database listed, I have tried 
shutting down and reconfiguring, but I guess I am doing something more 
fundamentally wrong here.


Can someone explain what it is.

Thanks,

Graham



Sweave and Branches (optionally including and excluding code in a report)

2010-09-07 Thread Graham Smith

I have written a report using Lyx and SWeave.

After testing to see it worked with a couple of bits of code, I put all 
the code in a branch called code. The plan being to be able to produce 
two reports, one with code and one without.


However, even though it seemed to work when I tested it,now that I am 
finished, the file compiles fine with the code branch active, but if I 
switch off the branch containing the code I get an error.


An error occurred whilst running R CMD Sweave 
'Jbats_3_ReportFinalArticle.Rnw'


Should the code work in branches. I'm not sure how SWeave works.

Some of the figures in the report draw on information generated by the 
code. I also have some bootstrapping.


Is there an easy  way of incuding and excluding code that I am missing.

Any suggestion very welcome.

Thanks,

Graham



Re: suppressing "Chapter" labels in book class

2010-09-06 Thread Graham Smith
Jürgen

> Quick and dirty:
> \d...@chapapp{\hspace*{-1ex}}

Excellent, quick and dirty is what I need right now.
>
> More elegant: set heading style to "fancy" and redefine the header to your
> needs (see fancyheadings manual).

I will look at this once I start to think in detail on how I want the
report presented, at the moment I was/am under pressure to get
something out the door.

So many thanks again.

Graham


Re: suppressing "Chapter" labels in book class

2010-09-06 Thread Graham Smith
Jürgen

> Either use the KOMA book class (that has this as default), or with the
> standard book class, use
>
> \usepackage{anonchap}
> \simplechapter
>
> If you use the tocbibind package, you cannot use anonchap in parallel (but
> tocbibind provides the same \simplechapter command).

Thanks,  I am using  Book because I am running SWeave, which currenly
Lyx only supports in Book,Report and Article. I believe this is
changing in Lyx 2.0, but for now I am stuck with Book.

anonchap works fine for the text, but it still leaves Chapter 1,
Chapter 2 etc in the header.
I have had a look at the documenation for anonchap and tocbibind and I
can't see anything obvious to fix the header.

Can you suggest an approach for the header.

Thanks again,

Graham


Re: suppressing "Chapter" labels in book class

2010-09-05 Thread Graham Smith

 Can I be more specific with this

What I would like to be able to do is to replace

Chapter 1
Title of Chapter 1

With

1. Title of Chapter 1

So it looks like another section

I can't simply use sections as they start numbers at zero if you don't 
use the chapter environment.


I'm not sure my earlier post was all that clear.

Thanks,

Graham



On 05/09/2010 11:08, Graham Smith wrote:

I'm afraid I have asked this before, but can't find it either by
googlng or in my mail base.

With book class each chapter is headed Chapter x and then the title of
the chapter.

I only want to show the title of the chapter and suppress the "Chapter
x" printing in either the main text or the header.

I would be grateful if someone could remind me how this is done.

Many thanks,

Graham






Re: text placement with box(minipage) on same page

2010-09-05 Thread Graham Smith
Jürgen

> Try (in preamble):
>
> \raggedbottom

Excellent, that fixed it :-)

many thank,

Graham


text placement with box(minipage) on same page

2010-09-05 Thread Graham Smith
Using book  class I have some information inside a box, which is
sitting inside a branch (as the material is optional). The box fills
about a quarter of the page.

The box is being placed at the bottom of the page and the three short
paragraphs of text above the box on the same page are being spread
evenly to fill the space.  As they are short paragraphs this leaves
large amounts of white space between them.

If I convert then them to a single paragraph, that single paragraph is
then centred in the whte space between the top of the page and the top
of the box. This obviously does not look very good.

There is another box/code branch on the next page if that is
important. However for this page it would make sense if the paragraphs
and the box were all moved up, so all the white space was at the
bottom of the page.

I hope that makes sense, and that somoen can tell me how to fix this.

Many thanks,

Graham


suppressing "Chapter" labels in book class

2010-09-05 Thread Graham Smith
I'm afraid I have asked this before, but can't find it either by
googlng or in my mail base.

With book class each chapter is headed Chapter x and then the title of
the chapter.

I only want to show the title of the chapter and suppress the "Chapter
x" printing in either the main text or the header.

I would be grateful if someone could remind me how this is done.

Many thanks,

Graham


Re: A bit OT - Jabref and citing web pages in lyx

2010-09-02 Thread Graham Smith

Paul,


If you're disinclined to move to Biblatex (per Julio's suggestion), you might
try one of the workarounds at
http://win.ua.ac.be/~nschloe/content/bibtex-how-cite-website.


Thanks, a lot of helpful info here.

Graham


Re: A bit OT - Jabref and citing web pages in lyx

2010-09-02 Thread Graham Smith

Julio


The best solution is Biblatex. For example:


Thanks for this, I was looking for something like this, but couldn't 
find it.


Graham



Re: A bit OT - Jabref and citing web pages in lyx

2010-09-02 Thread Graham Smith

Kevin,


I haven't tried JabRef, but Zotero does export my web pages as "misc"
in a format that LyX understands anyway. However, Zotero doesn't
export the "lastchecked" field, I believe since it's not "standard"
bibtex.


Ah, I never tried using the Zotero to bibtex direct route, as I couldn't 
get Jabref to import the Zotero exported bibtex file.


I might rethink this


The user shil88 in
http://forums.zotero.org/discussion/1302/export-bibtex-webpage-specific-fieldsinformation-missing/


Thanks, I will have a look at this.

Graham


A bit OT - Jabref and citing web pages in lyx

2010-09-02 Thread Graham Smith
I've got Lyx working with citations largely as I expect it to work, but 
I am struggling with web page citations.


I am collecting references in Zotero, then importing into Jabref which 
has a *.bib file in the same directory I am usng for my Lyx document.


I am then inserting the citations using Lyx, but keeping the *.bib file 
updated with Jabref.


Web page reference exported from Zotero won't import into Jabref. BUT I 
also have Mendeley which syncs with the Zotero database and exports as a 
bib file that Jabref will read. However, there is no web page reference 
option and the "misc" type that it imports as doesn't have a field for 
"last accessed"


As this has now a days got to be a common reference type, can anyone 
give me some pointers about how to deal with web page 
references/citations with a lyx/jabref/bibtex combination.


Googlind hasn't helped me any, but if someone has a link to an 
appropriate web site, that would be great.


Many thanks,

Graham


Re: Figure x: defaults set up

2010-09-01 Thread Graham Smith

Paul,


In the preamble:

\usepackage{caption}
\captionsetup[figure]{labelsep=period}


Many thanks, exactly what I needed.

Graham



Figure x: defaults set up

2010-09-01 Thread Graham Smith
This has got to be simple, but how do I change the figure/table 
defaults, so I get "Figure x." rather than "Figure x:"  i.e. a full stop 
rather than a colon.


This is with article class if that makes a difference.

Thanks,

Graham


Re: print slides with notes

2010-08-30 Thread Graham Smith

Necati


* Is there a way to disable the thumbnail?
* When i add notes, notes are seen as numbered list. Is there a way to
change to itemized list?


Sorry, I don't know the answer to either of these questions, I'm still 
very new to this. Hopefully someone else can help.


Graham



Re: print slides with notes

2010-08-30 Thread Graham Smith

Necati

Not exactly what you need maybe, but this is what I do.

This is copied from my preamble

%next five  lines needed to print two to a page handout comment out for 
presentation

\usepackage{pgfpages}
\pgfpagesuselayout{2 on 1}[a4paper,border shrink=2mm]
\setbeamercolor{background canvas}{bg=black!1}
\setbeamertemplate{footline}[page number]
\setbeameroption{show only notes}

It shows a thumbnail of the slide, plus any notes associated with the slide.

For it to work, every slide has to have a note attached, even if its 
empty, as its really printing the notes, with the thumbnail of the slide 
an addition to the note.


I haven't used it for a bit, and its cobbled together from beamer help 
from different places, but it might help.


Graham





Re: positioning tables inside float

2010-08-28 Thread Graham Smith

Jurgen,


Are you sure the cursor is _outside_ the table?


Nope, I'm sure the cursor is _inside_ the table :-(

That would explain why it worked before, but didn't work this time.

Working fine now, many thanks.

Graham






positioning tables inside float

2010-08-27 Thread Graham Smith
I am trying to align a table inside a float, so it sits in the centre of 
the page. I can't see any obvious way of doing this. I thought using the 
center paragraphs might have worked but its greyed out. But that is how 
I thought I had done it in the past


I am using lyx 1.6.5 on Ubuntu 10.04 and lyx 1.6.7 on a Mac running Tiger.

Thanks,

Graham



Re: Frames added to existing presentation not appearing in Beamer handout

2010-03-23 Thread Graham Smith

Paul

I don't know if that would affect the handouts, 
but it's worth investigating. This option is intended to suppress the 
printing of frames and print only the attached notes.  I take it that's 
not happening, which confuses me.  (Then again, I'm only halfway through 
my first cup of coffee, so I'm easily confused at the moment.)


As my other post says this certainly seems to be the root of the 
problem.  The problem is that as I don't know what I'm doing code in the 
preamble evolves as people advise additions and omissions to resolve 
particular problems - eventually I forget how and why it all works.


What is printed out from that preamble is a small strip along the top of 
the page that includes an outline of where you are in the presentation 
and a thumbnail of the slide. The rest of the page is devoted to notes.


Thanks.

Graham


Re: Frames added to existing presentation not appearing in Beamer handout

2010-03-23 Thread Graham Smith

To reply to myself, the answer is in the preamble, but didn't realise it

Only the slides that contain a noteitem environment are printed out. 
All my other slides had this,but I hadn't added it to the two new slides.


Graham



The preamble for the handout is

%next five  lines needed to print two to a page handout. Comment out for 
presentation

\usepackage{pgfpages}
\pgfpagesuselayout{2 on 1}[a4paper,border shrink=2mm]
\setbeamercolor{background canvas}{bg=black!1}
\setbeamertemplate{footline}[page number]
\setbeameroption{show only notes}


Frames added to existing presentation not appearing in Beamer handout

2010-03-23 Thread Graham Smith


I have a beamer presentation in Lyx 1.6.4 on Ubuntu 9.10.

I print it out as a presentation, an article (to hand out) and as a 
handout (which I use as my personal lecture notes).


I have updated the presentation with two new frames, and although they 
are appearing in the presentation and the article, they are not 
appearing in the handout.


Edits to exsiting frames are updating fine.

Anyone any idea on what might be happening here


The preamble for the handout is

%next five  lines needed to print two to a page handout. Comment out for 
presentation

\usepackage{pgfpages}
\pgfpagesuselayout{2 on 1}[a4paper,border shrink=2mm]
\setbeamercolor{background canvas}{bg=black!1}
\setbeamertemplate{footline}[page number]
\setbeameroption{show only notes}

Thanks,

Graham


Re: things that I miss in lyx

2010-03-22 Thread Graham Smith

Jose



I couldn't find anything. Can you post your findings here?


Mmmm, not really as I'm not especially interested and didn't keep any 
records, but the add ons for Chrome searched from within Chrome came up 
with something called multiclip, plus a couple of others


And "Clipboard manager" and chromium seemed to throw up several options.

Graham


Re: things that I miss in lyx

2010-03-22 Thread Graham Smith

Jose


Yes, as described above, I wanted something that would add the url to the
clipboard contents. That ff plugin does it. I wish it existed for chromium,
though, and that urls pasted became clickable...


Have you googled for a chromium extension?  A quick google here 
suggested a several possibilities.


Not the clickable URLS of course !

Graham


  1   2   3   >