Re: automatique reference of sub figure

2012-02-06 Thread Guenter Milde
On 2012-02-05, Omar Cheikhrouhou (ISET) wrote:

 I use the following preambule 

 \AtBeginDocument{\renewcommand{\ref}[1]{\mbox{\autoref{#1

 to add the word  Figure  when referencing figure.

 However, the word figure is not added when referencing sub-figure. For
 example it write 3a instead of Figure 3a.

 Please, what to add in order to get the word Figure before number of fig

I suppose you also load a package providing \autoref in the preamble.
Please look up its documentation to see whether/how it cooperates with
the subfig package.  As a fallback solution, add Figure by hand for
references to subfigures.

Günter



Re: alpha-numeric Section Numbering

2012-02-06 Thread Guenter Milde
On 2012-02-04, stefano franchi wrote:
 On Sat, Feb 4, 2012 at 4:07 AM, Boris Seincher bo...@seincher.de wrote:

 I want to use LyX wor a law paper in german. When I use Part, Chapter,
 Section and so on I get a sctructure like this:
 I., 1, 1.1 ... However I want something like this: A, I, 1, a), aa), (i),
 (ii).

 Is it somehow possible?

There are several ways to achieve this:

Maybe there is already a special LaTeX package for your document class
e.g. at CTAN.

 One way to do it is by redefining the corresponding commands:
 \thepart, \thechapter, etc. 
...
 This code may not get you all the way there, though. It only changes
 the style of the counters, not the overall styling of the sectioning
 commands. For instance, you will still get  Part A not just A.

 A better solution may be to use the titlesec package (or the memoir
 class which includes the titlesec package). Take a look at section 9.2
 of the manual (available on Ctan and probably on your own
 installation: http://www.ctan.org/tex-archive/macros/latex/contrib/titlesec/).
 Titlesec will allow you complete control over the sectioning commands

Another alternative is to use the KOMA-script classes that provide many
well documented configuration options including section heading styling.
See scrguide.pdf or the English version scrguien.pdf on CTAN or your
local installation).

 In either case, you'll get your desidered numbering scheme in the pdf
 only.  Lyx will still show you arabic figures on screen. You would
 have to write a module to fix what you see on screen as well (although
 a bug made it impossible a few versions back. Things may have
 changed).

Günter



Re: EOL characters removed when pasting a source code into a program listing section

2012-02-06 Thread Guenter Milde
On 2012-02-03, Marcin Zajączkowski wrote:

...

 I just did CTRL-V (normal Edit - Paste). When after a reply I tried
 with paste special Plain Text keeps as expected the end of line
 characters while Plain Text, Join Lines not.

 So, generally thanks for your explanation, but don't you think that for
 a Program Listening section because of its usage normal Edit - Paste
 should keep EOL characters?

This makes sense, indeed. Can you file a bug/enhancement report?

Günter



Re: automatique reference of sub figure

2012-02-06 Thread PhilipPirrip

On 02/05/2012 11:41 PM, Omar Cheikhrouhou (ISET) wrote:

Hello,

I use the following preambule

\AtBeginDocument{\renewcommand{\ref}[1]{\mbox{\autoref{#1

to add the word « Figure » when referencing figure.

However, the word figure is not added when referencing sub-figure. For
example it write 3a instead of Figure 3a.

Please, what to add in order to get the word Figure before number of fig


Try with
\providecommand{\subfigureautorefname}{\figureautorefname}

or even simpler
\providecommand{\subfigureautorefname}{Figure}



Re: errors typesetting UserGuide.lyx

2012-02-06 Thread Rich Talley
Thanks. As convert is now working, I'll put off installing software I
probably don't actually need. I am able to convert the problematic files
(such as mobius.eps) to pngs at the command line using convert manually.
The problem appears to be that my installation of LyX is not using convert.

As one of the wiki pages recommend, I ran this command:

lyx -dbg graphics

A bunch of graphic formats are listed as loadable. Pdf files are not; is
this correct?

I confirmed that I only have one copy of convert and that it's in my path.

I looked at LyX - Preferences - File Handling - Converters - EPS - PNG

This shows 'convert $$i $$o', which I believe is correct.

I show only two PDF converters, PDF(ps2pdf) to EPS and to Postscript.
Should there be more?


-- Rich



On Sun, Feb 5, 2012 at 7:40 PM, Jens Nöckel noec...@uoregon.edu wrote:

 Assuming convert is really the problem, perhaps you can try a different
 imagemagick installation.

 Two options would be Macports,
 http://www.macports.org/install.php
 or Fink,
 http://www.finkproject.org/download/index.php?phpLang=en

 You only need one of these. Most people seem to choose Macports nowadays,
 but it really doesn't matter for your purposes.
 After following the installation instructions for one of these package
 managers, you can then install imagemagick by typing either
 sudo port install imagemagick
 (for Macports)
 or
 fink install imagemagick
 (for Fink).

 This won't interfere with the MacTeX installation, so it can't hurt to
 try. I have used both methods and found convert to work fine.

 Jens

 On Feb 5, 2012, at 5:41 PM, Richard Talley wrote:

 So I found a problem with the 'convert' utility (part of ImageMagick
 6.6.9) that MacTex 2011 installs. The installation fails to install the
 necessary xml files that 'convert' needs to function correctly at the
 command line.

 Over at the macosx-tex mailing list, Dick Koch provided a link to the
 necessary xml files with this comment:

 We supply convert mainly for tex4html, thinking that users familiar with
 the Unix version
 will want to install the full ImageMagick. So the conversion you are using
 was never tested.

 So I got 'convert' working at the command line. Unfortunately, this turned
 out to be a red herring. I still can't typeset LyX's user manual
 from within LyX. Pdf and eps files (such as mobius.eps) still don't
 display within LyX ('Error converting to loadable format') and
 typesetting still fails.

 I tried exporting the LyX user manual to LaTeX(plain) and typesetting the
 resulting TeX file in TeXShop. That actually works,
 except cross references break ('see section ??' in the resulting pdf). But
 the pdf and eps files that are problematic in LyX typeset
 in TeXShop.

 What am I missing?

 -- Rich


 On Sat, Feb 4, 2012 at 2:47 PM, Richard Talley rich.tal...@gmail.comwrote:

 I had been running MacTex 2009 and Lyx 1.6.8. and using them extensively
 for technical documentation and homework assignments.

 I upgraded this morning to MacTex 2011 (using the Tex Live Utility to
 bring all the packages up to date) and Lyx 2.0.2.

 I tried to create a pdf of the UserGuide (located in
 /Applications/LyX.app/Contents/Resources/doc/ - opens as read only)

 Four eps files are generating 'Error converting to loadable format' in
 the LyX document. The LaTeX error dialog shows:

 Package pdftex.def Error: File
 `34_Applications_LyX_app_Contents_Resources_doc_clipart_mobius.pdf}

 Using draft setting for this image.
 Try typing return to proceed.
 If that doesn't work, type X return to quit.


 - OR -

 Package pdftex.def Error: File
 `42_Applications_LyX_app_Contents_Resources_doc_clipart_escher-lsd.pdf}}
 \hfill{}\subfloat[\label{f...


 So my system doesn't seem to be converting eps files correctly into pdfs
 for LyX to use. Any suggestions for troubleshooting? I've saved the
 complete LaTeX log, but it's huge and I'm not sure what's relevant.

 -- Rich
 MacBook Pro/OS X 10.6.8






small beef with LyX on the Mac

2012-02-06 Thread Dr Eberhard Lisse
I have been irritated for quite a while now by the close/save file
dialog (Safe Discard Cancel which defaults to Save.

What I would like to see is one like the commonly used one, defaulting
to Save (by hitting Return) but also offering Discard (by hitting
Space), because most of the time I do not use the mouse for this...

el



Re: small beef with LyX on the Mac

2012-02-06 Thread ariestao

On Tue, 07 Feb 2012 06:43:34 +0200, Dr Eberhard Lisse wrote:

I have been irritated for quite a while now by the close/save file
dialog (Safe Discard Cancel which defaults to Save.

What I would like to see is one like the commonly used one, 
defaulting

to Save (by hitting Return) but also offering Discard (by hitting
Space), because most of the time I do not use the mouse for this...

el


Hitting the cursor or tab key is to much of a problem/effort?

Charlie


Re: small beef with LyX on the Mac

2012-02-06 Thread Rich Talley
This has to with muscle memory  consistency with OS X standards.

If I close a document with unsaved changes in TextEdit or Pages, hitting
Return saves and hitting Space discards.

LyX is inconsistent with this expectation of Mac users. Charlie did write
that it was a 'small beef'. ;o)

BTW, I just discovered a fairly consistent way to crash LyX 2.02 on my Mac.

If I bring up a new document in LyX, type a word, then close the document
with Command-W, and finally discard the changes by choosing 'Don't Save',
then LyX stops responding to Command-N. If I then use File - New to try to
open a new document, LyX usually crashes. Interesting.

LyX is still more robust than most of the multi-platform software that I
run on my Mac. I just wish I could solve my problem with typesetting the
User's Manual.

-- Rich

On Mon, Feb 6, 2012 at 10:02 PM, aries...@skymesh.com.au wrote:

 On Tue, 07 Feb 2012 06:43:34 +0200, Dr Eberhard Lisse wrote:

 I have been irritated for quite a while now by the close/save file
 dialog (Safe Discard Cancel which defaults to Save.

 What I would like to see is one like the commonly used one, defaulting
 to Save (by hitting Return) but also offering Discard (by hitting
 Space), because most of the time I do not use the mouse for this...

 el


 Hitting the cursor or tab key is to much of a problem/effort?

 Charlie



Re: small beef with LyX on the Mac

2012-02-06 Thread Jens Nöckel
Unfortunately Apple have themselves broken the continuity here with Lion. Now 
when you close a native application like TeXtEdit, the old shortcuts for don't 
save no longer work (neither space bar nor Apple-D). Instead you have to press 
Apple-Delete. 

So in other words, if we assume that Lion and pre-Lion OS X are still in wide 
use, there is (sadly) no single standard Apple behavior that LyX could be 
expected to conform to.

Jens

On Feb 6, 2012, at 9:24 PM, Rich Talley wrote:

 This has to with muscle memory  consistency with OS X standards.
 
 If I close a document with unsaved changes in TextEdit or Pages, hitting 
 Return saves and hitting Space discards.
 
 LyX is inconsistent with this expectation of Mac users. Charlie did write 
 that it was a 'small beef'. ;o)
 
 BTW, I just discovered a fairly consistent way to crash LyX 2.02 on my Mac.
 
 If I bring up a new document in LyX, type a word, then close the document 
 with Command-W, and finally discard the changes by choosing 'Don't Save', 
 then LyX stops responding to Command-N. If I then use File - New to try to 
 open a new document, LyX usually crashes. Interesting.
 
 LyX is still more robust than most of the multi-platform software that I run 
 on my Mac. I just wish I could solve my problem with typesetting the User's 
 Manual.
 
 -- Rich
 
 On Mon, Feb 6, 2012 at 10:02 PM, aries...@skymesh.com.au wrote:
 On Tue, 07 Feb 2012 06:43:34 +0200, Dr Eberhard Lisse wrote:
 I have been irritated for quite a while now by the close/save file
 dialog (Safe Discard Cancel which defaults to Save.
 
 What I would like to see is one like the commonly used one, defaulting
 to Save (by hitting Return) but also offering Discard (by hitting
 Space), because most of the time I do not use the mouse for this...
 
 el
 
 Hitting the cursor or tab key is to much of a problem/effort?
 
 Charlie
 



Re: errors typesetting UserGuide.lyx

2012-02-06 Thread Jens Nöckel
I think this can only be solved if you save the user's guide to an external 
file, bisect that new file until you localize the error to a reasonably small 
portion of the file, and then inspect the LaTeX log.

Jens

On Feb 6, 2012, at 1:09 PM, Rich Talley wrote:

 Thanks. As convert is now working, I'll put off installing software I 
 probably don't actually need. I am able to convert the problematic files 
 (such as mobius.eps) to pngs at the command line using convert manually. The 
 problem appears to be that my installation of LyX is not using convert.
 
 As one of the wiki pages recommend, I ran this command:
 
 lyx -dbg graphics
 
 A bunch of graphic formats are listed as loadable. Pdf files are not; is this 
 correct?
 
 I confirmed that I only have one copy of convert and that it's in my path.
 
 I looked at LyX - Preferences - File Handling - Converters - EPS - PNG
 
 This shows 'convert $$i $$o', which I believe is correct.
 
 I show only two PDF converters, PDF(ps2pdf) to EPS and to Postscript. Should 
 there be more?
 
 
 -- Rich
 
 
 
 On Sun, Feb 5, 2012 at 7:40 PM, Jens Nöckel noec...@uoregon.edu wrote:
 Assuming convert is really the problem, perhaps you can try a different 
 imagemagick installation. 
 
 Two options would be Macports,
 http://www.macports.org/install.php
 or Fink, 
 http://www.finkproject.org/download/index.php?phpLang=en
 
 You only need one of these. Most people seem to choose Macports nowadays, but 
 it really doesn't matter for your purposes. 
 After following the installation instructions for one of these package 
 managers, you can then install imagemagick by typing either 
 sudo port install imagemagick
 (for Macports)
 or
 fink install imagemagick
 (for Fink).
 
 This won't interfere with the MacTeX installation, so it can't hurt to try. I 
 have used both methods and found convert to work fine.
 
 Jens
 
 On Feb 5, 2012, at 5:41 PM, Richard Talley wrote:
 
 So I found a problem with the 'convert' utility (part of ImageMagick 6.6.9) 
 that MacTex 2011 installs. The installation fails to install the necessary 
 xml files that 'convert' needs to function correctly at the command line.
 
 Over at the macosx-tex mailing list, Dick Koch provided a link to the 
 necessary xml files with this comment:
 
 We supply convert mainly for tex4html, thinking that users familiar with 
 the Unix version 
 will want to install the full ImageMagick. So the conversion you are using 
 was never tested.
 
 So I got 'convert' working at the command line. Unfortunately, this turned 
 out to be a red herring. I still can't typeset LyX's user manual 
 from within LyX. Pdf and eps files (such as mobius.eps) still don't display 
 within LyX ('Error converting to loadable format') and 
 typesetting still fails.
 
 I tried exporting the LyX user manual to LaTeX(plain) and typesetting the 
 resulting TeX file in TeXShop. That actually works, 
 except cross references break ('see section ??' in the resulting pdf). But 
 the pdf and eps files that are problematic in LyX typeset 
 in TeXShop.
 
 What am I missing?
 
 -- Rich
 
 
 On Sat, Feb 4, 2012 at 2:47 PM, Richard Talley rich.tal...@gmail.com wrote:
 I had been running MacTex 2009 and Lyx 1.6.8. and using them extensively for 
 technical documentation and homework assignments.
 
 I upgraded this morning to MacTex 2011 (using the Tex Live Utility to bring 
 all the packages up to date) and Lyx 2.0.2.
 
 I tried to create a pdf of the UserGuide (located in 
 /Applications/LyX.app/Contents/Resources/doc/ - opens as read only)
 
 Four eps files are generating 'Error converting to loadable format' in the 
 LyX document. The LaTeX error dialog shows:
 
 Package pdftex.def Error: File 
 `34_Applications_LyX_app_Contents_Resources_doc_clipart_mobius.pdf}
 
 Using draft setting for this image.
 Try typing return to proceed.
 If that doesn't work, type X return to quit.
 
 
 - OR -
 
 Package pdftex.def Error: File 
 `42_Applications_LyX_app_Contents_Resources_doc_clipart_escher-lsd.pdf}}
 \hfill{}\subfloat[\label{f...
 
 
 So my system doesn't seem to be converting eps files correctly into pdfs for 
 LyX to use. Any suggestions for troubleshooting? I've saved the complete 
 LaTeX log, but it's huge and I'm not sure what's relevant.
 
 -- Rich
 MacBook Pro/OS X 10.6.8
 
 
 
 



Re: small beef with LyX on the Mac

2012-02-06 Thread Rich Talley
Good points. I'm running Snow Leopard and have been avoiding Lion. I
switched to OS X from Windows several years ago, but maybe it's time to
start looking at Linux distributions again. All good things come to an end.

At least almost all my data is in LyX format, plain text, or easily
exported formats. I've been careful about this.

-- Rich

On Mon, Feb 6, 2012 at 10:48 PM, Jens Nöckel noec...@uoregon.edu wrote:

 Unfortunately Apple have themselves broken the continuity here with Lion.
 Now when you close a native application like TeXtEdit, the old shortcuts
 for don't save no longer work (neither space bar nor Apple-D). Instead
 you have to press Apple-Delete.

 So in other words, if we assume that Lion and pre-Lion OS X are still in
 wide use, there is (sadly) no single standard Apple behavior that LyX could
 be expected to conform to.

 Jens

 On Feb 6, 2012, at 9:24 PM, Rich Talley wrote:

 This has to with muscle memory  consistency with OS X standards.

 If I close a document with unsaved changes in TextEdit or Pages, hitting
 Return saves and hitting Space discards.

 LyX is inconsistent with this expectation of Mac users. Charlie did write
 that it was a 'small beef'. ;o)

 BTW, I just discovered a fairly consistent way to crash LyX 2.02 on my Mac.

 If I bring up a new document in LyX, type a word, then close the document
 with Command-W, and finally discard the changes by choosing 'Don't Save',
 then LyX stops responding to Command-N. If I then use File - New to try to
 open a new document, LyX usually crashes. Interesting.

 LyX is still more robust than most of the multi-platform software that I
 run on my Mac. I just wish I could solve my problem with typesetting the
 User's Manual.

 -- Rich

 On Mon, Feb 6, 2012 at 10:02 PM, aries...@skymesh.com.au wrote:

 On Tue, 07 Feb 2012 06:43:34 +0200, Dr Eberhard Lisse wrote:

 I have been irritated for quite a while now by the close/save file
 dialog (Safe Discard Cancel which defaults to Save.

 What I would like to see is one like the commonly used one, defaulting
 to Save (by hitting Return) but also offering Discard (by hitting
 Space), because most of the time I do not use the mouse for this...

 el


 Hitting the cursor or tab key is to much of a problem/effort?

 Charlie






Changing the lyxlist (labeling environment) formatting

2012-02-06 Thread Jason Heeris
I am using LyX 2.0.0 under Ubuntu 11.10. I'd like to globally change the
format of the header in the labeling environments (aka. lyxlist in the
exported TeX source), bsaically bolding the text and increasing the
allocated indent.

I realise I can do this on a line-by-line basis, but this seems to defeat
the purpose of using LyX in the first place. Is there something I can put
in the preamble to make the change for the whole document?

Cheers,
Jason


Re: automatique reference of sub figure

2012-02-06 Thread Guenter Milde
On 2012-02-05, Omar Cheikhrouhou (ISET) wrote:

 I use the following preambule 

 \AtBeginDocument{\renewcommand{\ref}[1]{\mbox{\autoref{#1

 to add the word  Figure  when referencing figure.

 However, the word figure is not added when referencing sub-figure. For
 example it write 3a instead of Figure 3a.

 Please, what to add in order to get the word Figure before number of fig

I suppose you also load a package providing \autoref in the preamble.
Please look up its documentation to see whether/how it cooperates with
the subfig package.  As a fallback solution, add Figure by hand for
references to subfigures.

Günter



Re: alpha-numeric Section Numbering

2012-02-06 Thread Guenter Milde
On 2012-02-04, stefano franchi wrote:
 On Sat, Feb 4, 2012 at 4:07 AM, Boris Seincher bo...@seincher.de wrote:

 I want to use LyX wor a law paper in german. When I use Part, Chapter,
 Section and so on I get a sctructure like this:
 I., 1, 1.1 ... However I want something like this: A, I, 1, a), aa), (i),
 (ii).

 Is it somehow possible?

There are several ways to achieve this:

Maybe there is already a special LaTeX package for your document class
e.g. at CTAN.

 One way to do it is by redefining the corresponding commands:
 \thepart, \thechapter, etc. 
...
 This code may not get you all the way there, though. It only changes
 the style of the counters, not the overall styling of the sectioning
 commands. For instance, you will still get  Part A not just A.

 A better solution may be to use the titlesec package (or the memoir
 class which includes the titlesec package). Take a look at section 9.2
 of the manual (available on Ctan and probably on your own
 installation: http://www.ctan.org/tex-archive/macros/latex/contrib/titlesec/).
 Titlesec will allow you complete control over the sectioning commands

Another alternative is to use the KOMA-script classes that provide many
well documented configuration options including section heading styling.
See scrguide.pdf or the English version scrguien.pdf on CTAN or your
local installation).

 In either case, you'll get your desidered numbering scheme in the pdf
 only.  Lyx will still show you arabic figures on screen. You would
 have to write a module to fix what you see on screen as well (although
 a bug made it impossible a few versions back. Things may have
 changed).

Günter



Re: EOL characters removed when pasting a source code into a program listing section

2012-02-06 Thread Guenter Milde
On 2012-02-03, Marcin Zajączkowski wrote:

...

 I just did CTRL-V (normal Edit - Paste). When after a reply I tried
 with paste special Plain Text keeps as expected the end of line
 characters while Plain Text, Join Lines not.

 So, generally thanks for your explanation, but don't you think that for
 a Program Listening section because of its usage normal Edit - Paste
 should keep EOL characters?

This makes sense, indeed. Can you file a bug/enhancement report?

Günter



Re: automatique reference of sub figure

2012-02-06 Thread PhilipPirrip

On 02/05/2012 11:41 PM, Omar Cheikhrouhou (ISET) wrote:

Hello,

I use the following preambule

\AtBeginDocument{\renewcommand{\ref}[1]{\mbox{\autoref{#1

to add the word « Figure » when referencing figure.

However, the word figure is not added when referencing sub-figure. For
example it write 3a instead of Figure 3a.

Please, what to add in order to get the word Figure before number of fig


Try with
\providecommand{\subfigureautorefname}{\figureautorefname}

or even simpler
\providecommand{\subfigureautorefname}{Figure}



Re: errors typesetting UserGuide.lyx

2012-02-06 Thread Rich Talley
Thanks. As convert is now working, I'll put off installing software I
probably don't actually need. I am able to convert the problematic files
(such as mobius.eps) to pngs at the command line using convert manually.
The problem appears to be that my installation of LyX is not using convert.

As one of the wiki pages recommend, I ran this command:

lyx -dbg graphics

A bunch of graphic formats are listed as loadable. Pdf files are not; is
this correct?

I confirmed that I only have one copy of convert and that it's in my path.

I looked at LyX - Preferences - File Handling - Converters - EPS - PNG

This shows 'convert $$i $$o', which I believe is correct.

I show only two PDF converters, PDF(ps2pdf) to EPS and to Postscript.
Should there be more?


-- Rich



On Sun, Feb 5, 2012 at 7:40 PM, Jens Nöckel noec...@uoregon.edu wrote:

 Assuming convert is really the problem, perhaps you can try a different
 imagemagick installation.

 Two options would be Macports,
 http://www.macports.org/install.php
 or Fink,
 http://www.finkproject.org/download/index.php?phpLang=en

 You only need one of these. Most people seem to choose Macports nowadays,
 but it really doesn't matter for your purposes.
 After following the installation instructions for one of these package
 managers, you can then install imagemagick by typing either
 sudo port install imagemagick
 (for Macports)
 or
 fink install imagemagick
 (for Fink).

 This won't interfere with the MacTeX installation, so it can't hurt to
 try. I have used both methods and found convert to work fine.

 Jens

 On Feb 5, 2012, at 5:41 PM, Richard Talley wrote:

 So I found a problem with the 'convert' utility (part of ImageMagick
 6.6.9) that MacTex 2011 installs. The installation fails to install the
 necessary xml files that 'convert' needs to function correctly at the
 command line.

 Over at the macosx-tex mailing list, Dick Koch provided a link to the
 necessary xml files with this comment:

 We supply convert mainly for tex4html, thinking that users familiar with
 the Unix version
 will want to install the full ImageMagick. So the conversion you are using
 was never tested.

 So I got 'convert' working at the command line. Unfortunately, this turned
 out to be a red herring. I still can't typeset LyX's user manual
 from within LyX. Pdf and eps files (such as mobius.eps) still don't
 display within LyX ('Error converting to loadable format') and
 typesetting still fails.

 I tried exporting the LyX user manual to LaTeX(plain) and typesetting the
 resulting TeX file in TeXShop. That actually works,
 except cross references break ('see section ??' in the resulting pdf). But
 the pdf and eps files that are problematic in LyX typeset
 in TeXShop.

 What am I missing?

 -- Rich


 On Sat, Feb 4, 2012 at 2:47 PM, Richard Talley rich.tal...@gmail.comwrote:

 I had been running MacTex 2009 and Lyx 1.6.8. and using them extensively
 for technical documentation and homework assignments.

 I upgraded this morning to MacTex 2011 (using the Tex Live Utility to
 bring all the packages up to date) and Lyx 2.0.2.

 I tried to create a pdf of the UserGuide (located in
 /Applications/LyX.app/Contents/Resources/doc/ - opens as read only)

 Four eps files are generating 'Error converting to loadable format' in
 the LyX document. The LaTeX error dialog shows:

 Package pdftex.def Error: File
 `34_Applications_LyX_app_Contents_Resources_doc_clipart_mobius.pdf}

 Using draft setting for this image.
 Try typing return to proceed.
 If that doesn't work, type X return to quit.


 - OR -

 Package pdftex.def Error: File
 `42_Applications_LyX_app_Contents_Resources_doc_clipart_escher-lsd.pdf}}
 \hfill{}\subfloat[\label{f...


 So my system doesn't seem to be converting eps files correctly into pdfs
 for LyX to use. Any suggestions for troubleshooting? I've saved the
 complete LaTeX log, but it's huge and I'm not sure what's relevant.

 -- Rich
 MacBook Pro/OS X 10.6.8






small beef with LyX on the Mac

2012-02-06 Thread Dr Eberhard Lisse
I have been irritated for quite a while now by the close/save file
dialog (Safe Discard Cancel which defaults to Save.

What I would like to see is one like the commonly used one, defaulting
to Save (by hitting Return) but also offering Discard (by hitting
Space), because most of the time I do not use the mouse for this...

el



Re: small beef with LyX on the Mac

2012-02-06 Thread ariestao

On Tue, 07 Feb 2012 06:43:34 +0200, Dr Eberhard Lisse wrote:

I have been irritated for quite a while now by the close/save file
dialog (Safe Discard Cancel which defaults to Save.

What I would like to see is one like the commonly used one, 
defaulting

to Save (by hitting Return) but also offering Discard (by hitting
Space), because most of the time I do not use the mouse for this...

el


Hitting the cursor or tab key is to much of a problem/effort?

Charlie


Re: small beef with LyX on the Mac

2012-02-06 Thread Rich Talley
This has to with muscle memory  consistency with OS X standards.

If I close a document with unsaved changes in TextEdit or Pages, hitting
Return saves and hitting Space discards.

LyX is inconsistent with this expectation of Mac users. Charlie did write
that it was a 'small beef'. ;o)

BTW, I just discovered a fairly consistent way to crash LyX 2.02 on my Mac.

If I bring up a new document in LyX, type a word, then close the document
with Command-W, and finally discard the changes by choosing 'Don't Save',
then LyX stops responding to Command-N. If I then use File - New to try to
open a new document, LyX usually crashes. Interesting.

LyX is still more robust than most of the multi-platform software that I
run on my Mac. I just wish I could solve my problem with typesetting the
User's Manual.

-- Rich

On Mon, Feb 6, 2012 at 10:02 PM, aries...@skymesh.com.au wrote:

 On Tue, 07 Feb 2012 06:43:34 +0200, Dr Eberhard Lisse wrote:

 I have been irritated for quite a while now by the close/save file
 dialog (Safe Discard Cancel which defaults to Save.

 What I would like to see is one like the commonly used one, defaulting
 to Save (by hitting Return) but also offering Discard (by hitting
 Space), because most of the time I do not use the mouse for this...

 el


 Hitting the cursor or tab key is to much of a problem/effort?

 Charlie



Re: small beef with LyX on the Mac

2012-02-06 Thread Jens Nöckel
Unfortunately Apple have themselves broken the continuity here with Lion. Now 
when you close a native application like TeXtEdit, the old shortcuts for don't 
save no longer work (neither space bar nor Apple-D). Instead you have to press 
Apple-Delete. 

So in other words, if we assume that Lion and pre-Lion OS X are still in wide 
use, there is (sadly) no single standard Apple behavior that LyX could be 
expected to conform to.

Jens

On Feb 6, 2012, at 9:24 PM, Rich Talley wrote:

 This has to with muscle memory  consistency with OS X standards.
 
 If I close a document with unsaved changes in TextEdit or Pages, hitting 
 Return saves and hitting Space discards.
 
 LyX is inconsistent with this expectation of Mac users. Charlie did write 
 that it was a 'small beef'. ;o)
 
 BTW, I just discovered a fairly consistent way to crash LyX 2.02 on my Mac.
 
 If I bring up a new document in LyX, type a word, then close the document 
 with Command-W, and finally discard the changes by choosing 'Don't Save', 
 then LyX stops responding to Command-N. If I then use File - New to try to 
 open a new document, LyX usually crashes. Interesting.
 
 LyX is still more robust than most of the multi-platform software that I run 
 on my Mac. I just wish I could solve my problem with typesetting the User's 
 Manual.
 
 -- Rich
 
 On Mon, Feb 6, 2012 at 10:02 PM, aries...@skymesh.com.au wrote:
 On Tue, 07 Feb 2012 06:43:34 +0200, Dr Eberhard Lisse wrote:
 I have been irritated for quite a while now by the close/save file
 dialog (Safe Discard Cancel which defaults to Save.
 
 What I would like to see is one like the commonly used one, defaulting
 to Save (by hitting Return) but also offering Discard (by hitting
 Space), because most of the time I do not use the mouse for this...
 
 el
 
 Hitting the cursor or tab key is to much of a problem/effort?
 
 Charlie
 



Re: errors typesetting UserGuide.lyx

2012-02-06 Thread Jens Nöckel
I think this can only be solved if you save the user's guide to an external 
file, bisect that new file until you localize the error to a reasonably small 
portion of the file, and then inspect the LaTeX log.

Jens

On Feb 6, 2012, at 1:09 PM, Rich Talley wrote:

 Thanks. As convert is now working, I'll put off installing software I 
 probably don't actually need. I am able to convert the problematic files 
 (such as mobius.eps) to pngs at the command line using convert manually. The 
 problem appears to be that my installation of LyX is not using convert.
 
 As one of the wiki pages recommend, I ran this command:
 
 lyx -dbg graphics
 
 A bunch of graphic formats are listed as loadable. Pdf files are not; is this 
 correct?
 
 I confirmed that I only have one copy of convert and that it's in my path.
 
 I looked at LyX - Preferences - File Handling - Converters - EPS - PNG
 
 This shows 'convert $$i $$o', which I believe is correct.
 
 I show only two PDF converters, PDF(ps2pdf) to EPS and to Postscript. Should 
 there be more?
 
 
 -- Rich
 
 
 
 On Sun, Feb 5, 2012 at 7:40 PM, Jens Nöckel noec...@uoregon.edu wrote:
 Assuming convert is really the problem, perhaps you can try a different 
 imagemagick installation. 
 
 Two options would be Macports,
 http://www.macports.org/install.php
 or Fink, 
 http://www.finkproject.org/download/index.php?phpLang=en
 
 You only need one of these. Most people seem to choose Macports nowadays, but 
 it really doesn't matter for your purposes. 
 After following the installation instructions for one of these package 
 managers, you can then install imagemagick by typing either 
 sudo port install imagemagick
 (for Macports)
 or
 fink install imagemagick
 (for Fink).
 
 This won't interfere with the MacTeX installation, so it can't hurt to try. I 
 have used both methods and found convert to work fine.
 
 Jens
 
 On Feb 5, 2012, at 5:41 PM, Richard Talley wrote:
 
 So I found a problem with the 'convert' utility (part of ImageMagick 6.6.9) 
 that MacTex 2011 installs. The installation fails to install the necessary 
 xml files that 'convert' needs to function correctly at the command line.
 
 Over at the macosx-tex mailing list, Dick Koch provided a link to the 
 necessary xml files with this comment:
 
 We supply convert mainly for tex4html, thinking that users familiar with 
 the Unix version 
 will want to install the full ImageMagick. So the conversion you are using 
 was never tested.
 
 So I got 'convert' working at the command line. Unfortunately, this turned 
 out to be a red herring. I still can't typeset LyX's user manual 
 from within LyX. Pdf and eps files (such as mobius.eps) still don't display 
 within LyX ('Error converting to loadable format') and 
 typesetting still fails.
 
 I tried exporting the LyX user manual to LaTeX(plain) and typesetting the 
 resulting TeX file in TeXShop. That actually works, 
 except cross references break ('see section ??' in the resulting pdf). But 
 the pdf and eps files that are problematic in LyX typeset 
 in TeXShop.
 
 What am I missing?
 
 -- Rich
 
 
 On Sat, Feb 4, 2012 at 2:47 PM, Richard Talley rich.tal...@gmail.com wrote:
 I had been running MacTex 2009 and Lyx 1.6.8. and using them extensively for 
 technical documentation and homework assignments.
 
 I upgraded this morning to MacTex 2011 (using the Tex Live Utility to bring 
 all the packages up to date) and Lyx 2.0.2.
 
 I tried to create a pdf of the UserGuide (located in 
 /Applications/LyX.app/Contents/Resources/doc/ - opens as read only)
 
 Four eps files are generating 'Error converting to loadable format' in the 
 LyX document. The LaTeX error dialog shows:
 
 Package pdftex.def Error: File 
 `34_Applications_LyX_app_Contents_Resources_doc_clipart_mobius.pdf}
 
 Using draft setting for this image.
 Try typing return to proceed.
 If that doesn't work, type X return to quit.
 
 
 - OR -
 
 Package pdftex.def Error: File 
 `42_Applications_LyX_app_Contents_Resources_doc_clipart_escher-lsd.pdf}}
 \hfill{}\subfloat[\label{f...
 
 
 So my system doesn't seem to be converting eps files correctly into pdfs for 
 LyX to use. Any suggestions for troubleshooting? I've saved the complete 
 LaTeX log, but it's huge and I'm not sure what's relevant.
 
 -- Rich
 MacBook Pro/OS X 10.6.8
 
 
 
 



Re: small beef with LyX on the Mac

2012-02-06 Thread Rich Talley
Good points. I'm running Snow Leopard and have been avoiding Lion. I
switched to OS X from Windows several years ago, but maybe it's time to
start looking at Linux distributions again. All good things come to an end.

At least almost all my data is in LyX format, plain text, or easily
exported formats. I've been careful about this.

-- Rich

On Mon, Feb 6, 2012 at 10:48 PM, Jens Nöckel noec...@uoregon.edu wrote:

 Unfortunately Apple have themselves broken the continuity here with Lion.
 Now when you close a native application like TeXtEdit, the old shortcuts
 for don't save no longer work (neither space bar nor Apple-D). Instead
 you have to press Apple-Delete.

 So in other words, if we assume that Lion and pre-Lion OS X are still in
 wide use, there is (sadly) no single standard Apple behavior that LyX could
 be expected to conform to.

 Jens

 On Feb 6, 2012, at 9:24 PM, Rich Talley wrote:

 This has to with muscle memory  consistency with OS X standards.

 If I close a document with unsaved changes in TextEdit or Pages, hitting
 Return saves and hitting Space discards.

 LyX is inconsistent with this expectation of Mac users. Charlie did write
 that it was a 'small beef'. ;o)

 BTW, I just discovered a fairly consistent way to crash LyX 2.02 on my Mac.

 If I bring up a new document in LyX, type a word, then close the document
 with Command-W, and finally discard the changes by choosing 'Don't Save',
 then LyX stops responding to Command-N. If I then use File - New to try to
 open a new document, LyX usually crashes. Interesting.

 LyX is still more robust than most of the multi-platform software that I
 run on my Mac. I just wish I could solve my problem with typesetting the
 User's Manual.

 -- Rich

 On Mon, Feb 6, 2012 at 10:02 PM, aries...@skymesh.com.au wrote:

 On Tue, 07 Feb 2012 06:43:34 +0200, Dr Eberhard Lisse wrote:

 I have been irritated for quite a while now by the close/save file
 dialog (Safe Discard Cancel which defaults to Save.

 What I would like to see is one like the commonly used one, defaulting
 to Save (by hitting Return) but also offering Discard (by hitting
 Space), because most of the time I do not use the mouse for this...

 el


 Hitting the cursor or tab key is to much of a problem/effort?

 Charlie






Changing the lyxlist (labeling environment) formatting

2012-02-06 Thread Jason Heeris
I am using LyX 2.0.0 under Ubuntu 11.10. I'd like to globally change the
format of the header in the labeling environments (aka. lyxlist in the
exported TeX source), bsaically bolding the text and increasing the
allocated indent.

I realise I can do this on a line-by-line basis, but this seems to defeat
the purpose of using LyX in the first place. Is there something I can put
in the preamble to make the change for the whole document?

Cheers,
Jason


Re: automatique reference of sub figure

2012-02-06 Thread Guenter Milde
On 2012-02-05, Omar Cheikhrouhou (ISET) wrote:

> I use the following preambule 

> \AtBeginDocument{\renewcommand{\ref}[1]{\mbox{\autoref{#1

> to add the word < Figure > when referencing figure.

> However, the word figure is not added when referencing sub-figure. For
> example it write 3a instead of Figure 3a.

> Please, what to add in order to get the word Figure before number of fig

I suppose you also load a package providing \autoref in the preamble.
Please look up its documentation to see whether/how it cooperates with
the "subfig" package.  As a fallback solution, add "Figure" by hand for
references to subfigures.

Günter



Re: alpha-numeric Section Numbering

2012-02-06 Thread Guenter Milde
On 2012-02-04, stefano franchi wrote:
> On Sat, Feb 4, 2012 at 4:07 AM, Boris Seincher  wrote:

>> I want to use LyX wor a law paper in german. When I use Part, Chapter,
>> Section and so on I get a sctructure like this:
>> I., 1, 1.1 ... However I want something like this: A, I, 1, a), aa), (i),
>> (ii).

>> Is it somehow possible?

There are several ways to achieve this:

Maybe there is already a special LaTeX package for your document class
e.g. at CTAN.

> One way to do it is by redefining the corresponding commands:
> \thepart, \thechapter, etc. 
...
> This code may not get you all the way there, though. It only changes
> the style of the counters, not the overall styling of the sectioning
> commands. For instance, you will still get  "Part A" not just "A".

> A better solution may be to use the titlesec package (or the memoir
> class which includes the titlesec package). Take a look at section 9.2
> of the manual (available on Ctan and probably on your own
> installation: http://www.ctan.org/tex-archive/macros/latex/contrib/titlesec/).
> Titlesec will allow you complete control over the sectioning commands

Another alternative is to use the KOMA-script classes that provide many
well documented configuration options including section heading styling.
See scrguide.pdf or the English version scrguien.pdf on CTAN or your
local installation).

> In either case, you'll get your desidered numbering scheme in the pdf
> only.  Lyx will still show you arabic figures on screen. You would
> have to write a module to fix what you see on screen as well (although
> a bug made it impossible a few versions back. Things may have
> changed).

Günter



Re: EOL characters removed when pasting a source code into a program listing section

2012-02-06 Thread Guenter Milde
On 2012-02-03, Marcin Zajączkowski wrote:

...

> I just did CTRL-V (normal Edit -> Paste). When after a reply I tried
> with paste special "Plain Text" keeps as expected the end of line
> characters while "Plain Text, Join Lines" not.

> So, generally thanks for your explanation, but don't you think that for
> a "Program Listening" section because of its usage normal Edit -> Paste
> should keep EOL characters?

This makes sense, indeed. Can you file a bug/enhancement report?

Günter



Re: automatique reference of sub figure

2012-02-06 Thread PhilipPirrip

On 02/05/2012 11:41 PM, Omar Cheikhrouhou (ISET) wrote:

Hello,

I use the following preambule

\AtBeginDocument{\renewcommand{\ref}[1]{\mbox{\autoref{#1

to add the word « Figure » when referencing figure.

However, the word figure is not added when referencing sub-figure. For
example it write 3a instead of Figure 3a.

Please, what to add in order to get the word Figure before number of fig


Try with
\providecommand{\subfigureautorefname}{\figureautorefname}

or even simpler
\providecommand{\subfigureautorefname}{Figure}



Re: errors typesetting UserGuide.lyx

2012-02-06 Thread Rich Talley
Thanks. As convert is now working, I'll put off installing software I
probably don't actually need. I am able to convert the problematic files
(such as mobius.eps) to pngs at the command line using convert manually.
The problem appears to be that my installation of LyX is not using convert.

As one of the wiki pages recommend, I ran this command:

lyx -dbg graphics

A bunch of graphic formats are listed as loadable. Pdf files are not; is
this correct?

I confirmed that I only have one copy of convert and that it's in my path.

I looked at LyX -> Preferences -> File Handling -> Converters -> EPS -> PNG

This shows 'convert $$i $$o', which I believe is correct.

I show only two PDF converters, PDF(ps2pdf) to EPS and to Postscript.
Should there be more?


-- Rich



On Sun, Feb 5, 2012 at 7:40 PM, Jens Nöckel  wrote:

> Assuming convert is really the problem, perhaps you can try a different
> imagemagick installation.
>
> Two options would be Macports,
> http://www.macports.org/install.php
> or Fink,
> http://www.finkproject.org/download/index.php?phpLang=en
>
> You only need one of these. Most people seem to choose Macports nowadays,
> but it really doesn't matter for your purposes.
> After following the installation instructions for one of these package
> managers, you can then install imagemagick by typing either
> sudo port install imagemagick
> (for Macports)
> or
> fink install imagemagick
> (for Fink).
>
> This won't interfere with the MacTeX installation, so it can't hurt to
> try. I have used both methods and found convert to work fine.
>
> Jens
>
> On Feb 5, 2012, at 5:41 PM, Richard Talley wrote:
>
> So I found a problem with the 'convert' utility (part of ImageMagick
> 6.6.9) that MacTex 2011 installs. The installation fails to install the
> necessary xml files that 'convert' needs to function correctly at the
> command line.
>
> Over at the macosx-tex mailing list, Dick Koch provided a link to the
> necessary xml files with this comment:
>
> "We supply convert mainly for tex4html, thinking that users familiar with
> the Unix version
> will want to install the full ImageMagick. So the conversion you are using
> was never tested."
>
> So I got 'convert' working at the command line. Unfortunately, this turned
> out to be a red herring. I still can't typeset LyX's user manual
> from within LyX. Pdf and eps files (such as mobius.eps) still don't
> display within LyX ('Error converting to loadable format') and
> typesetting still fails.
>
> I tried exporting the LyX user manual to LaTeX(plain) and typesetting the
> resulting TeX file in TeXShop. That actually works,
> except cross references break ('see section ??' in the resulting pdf). But
> the pdf and eps files that are problematic in LyX typeset
> in TeXShop.
>
> What am I missing?
>
> -- Rich
>
>
> On Sat, Feb 4, 2012 at 2:47 PM, Richard Talley wrote:
>
>> I had been running MacTex 2009 and Lyx 1.6.8. and using them extensively
>> for technical documentation and homework assignments.
>>
>> I upgraded this morning to MacTex 2011 (using the Tex Live Utility to
>> bring all the packages up to date) and Lyx 2.0.2.
>>
>> I tried to create a pdf of the UserGuide (located in
>> /Applications/LyX.app/Contents/Resources/doc/ - opens as read only)
>>
>> Four eps files are generating 'Error converting to loadable format' in
>> the LyX document. The LaTeX error dialog shows:
>>
>> Package pdftex.def Error: File
>> `34_Applications_LyX_app_Contents_Resources_doc_clipart_mobius.pdf}
>>
>> Using draft setting for this image.
>> Try typing  to proceed.
>> If that doesn't work, type X  to quit.
>>
>>
>> - OR -
>>
>> Package pdftex.def Error: File
>> `42_Applications_LyX_app_Contents_Resources_doc_clipart_escher-lsd.pdf}}
>> \hfill{}\subfloat[\label{f...
>>
>>
>> So my system doesn't seem to be converting eps files correctly into pdfs
>> for LyX to use. Any suggestions for troubleshooting? I've saved the
>> complete LaTeX log, but it's huge and I'm not sure what's relevant.
>>
>> -- Rich
>> MacBook Pro/OS X 10.6.8
>>
>>
>
>


small beef with LyX on the Mac

2012-02-06 Thread Dr Eberhard Lisse
I have been irritated for quite a while now by the close/save file
dialog (Safe Discard Cancel which defaults to Save.

What I would like to see is one like the commonly used one, defaulting
to Save (by hitting Return) but also offering Discard (by hitting
Space), because most of the time I do not use the mouse for this...

el



Re: small beef with LyX on the Mac

2012-02-06 Thread ariestao

On Tue, 07 Feb 2012 06:43:34 +0200, Dr Eberhard Lisse wrote:

I have been irritated for quite a while now by the close/save file
dialog (Safe Discard Cancel which defaults to Save.

What I would like to see is one like the commonly used one, 
defaulting

to Save (by hitting Return) but also offering Discard (by hitting
Space), because most of the time I do not use the mouse for this...

el


Hitting the cursor or tab key is to much of a problem/effort?

Charlie


Re: small beef with LyX on the Mac

2012-02-06 Thread Rich Talley
This has to with muscle memory & consistency with OS X standards.

If I close a document with unsaved changes in TextEdit or Pages, hitting
Return saves and hitting Space discards.

LyX is inconsistent with this expectation of Mac users. Charlie did write
that it was a 'small beef'. ;o)

BTW, I just discovered a fairly consistent way to crash LyX 2.02 on my Mac.

If I bring up a new document in LyX, type a word, then close the document
with Command-W, and finally discard the changes by choosing 'Don't Save',
then LyX stops responding to Command-N. If I then use File -> New to try to
open a new document, LyX usually crashes. Interesting.

LyX is still more robust than most of the multi-platform software that I
run on my Mac. I just wish I could solve my problem with typesetting the
User's Manual.

-- Rich

On Mon, Feb 6, 2012 at 10:02 PM,  wrote:

> On Tue, 07 Feb 2012 06:43:34 +0200, Dr Eberhard Lisse wrote:
>
>> I have been irritated for quite a while now by the close/save file
>> dialog (Safe Discard Cancel which defaults to Save.
>>
>> What I would like to see is one like the commonly used one, defaulting
>> to Save (by hitting Return) but also offering Discard (by hitting
>> Space), because most of the time I do not use the mouse for this...
>>
>> el
>>
>
> Hitting the cursor or tab key is to much of a problem/effort?
>
> Charlie
>


Re: small beef with LyX on the Mac

2012-02-06 Thread Jens Nöckel
Unfortunately Apple have themselves broken the continuity here with Lion. Now 
when you close a native application like TeXtEdit, the old shortcuts for "don't 
save" no longer work (neither space bar nor Apple-D). Instead you have to press 
Apple-Delete. 

So in other words, if we assume that Lion and pre-Lion OS X are still in wide 
use, there is (sadly) no single standard Apple behavior that LyX could be 
expected to conform to.

Jens

On Feb 6, 2012, at 9:24 PM, Rich Talley wrote:

> This has to with muscle memory & consistency with OS X standards.
> 
> If I close a document with unsaved changes in TextEdit or Pages, hitting 
> Return saves and hitting Space discards.
> 
> LyX is inconsistent with this expectation of Mac users. Charlie did write 
> that it was a 'small beef'. ;o)
> 
> BTW, I just discovered a fairly consistent way to crash LyX 2.02 on my Mac.
> 
> If I bring up a new document in LyX, type a word, then close the document 
> with Command-W, and finally discard the changes by choosing 'Don't Save', 
> then LyX stops responding to Command-N. If I then use File -> New to try to 
> open a new document, LyX usually crashes. Interesting.
> 
> LyX is still more robust than most of the multi-platform software that I run 
> on my Mac. I just wish I could solve my problem with typesetting the User's 
> Manual.
> 
> -- Rich
> 
> On Mon, Feb 6, 2012 at 10:02 PM,  wrote:
> On Tue, 07 Feb 2012 06:43:34 +0200, Dr Eberhard Lisse wrote:
> I have been irritated for quite a while now by the close/save file
> dialog (Safe Discard Cancel which defaults to Save.
> 
> What I would like to see is one like the commonly used one, defaulting
> to Save (by hitting Return) but also offering Discard (by hitting
> Space), because most of the time I do not use the mouse for this...
> 
> el
> 
> Hitting the cursor or tab key is to much of a problem/effort?
> 
> Charlie
> 



Re: errors typesetting UserGuide.lyx

2012-02-06 Thread Jens Nöckel
I think this can only be solved if you save the user's guide to an external 
file, bisect that new file until you localize the error to a reasonably small 
portion of the file, and then inspect the LaTeX log.

Jens

On Feb 6, 2012, at 1:09 PM, Rich Talley wrote:

> Thanks. As convert is now working, I'll put off installing software I 
> probably don't actually need. I am able to convert the problematic files 
> (such as mobius.eps) to pngs at the command line using convert manually. The 
> problem appears to be that my installation of LyX is not using convert.
> 
> As one of the wiki pages recommend, I ran this command:
> 
> lyx -dbg graphics
> 
> A bunch of graphic formats are listed as loadable. Pdf files are not; is this 
> correct?
> 
> I confirmed that I only have one copy of convert and that it's in my path.
> 
> I looked at LyX -> Preferences -> File Handling -> Converters -> EPS -> PNG
> 
> This shows 'convert $$i $$o', which I believe is correct.
> 
> I show only two PDF converters, PDF(ps2pdf) to EPS and to Postscript. Should 
> there be more?
> 
> 
> -- Rich
> 
> 
> 
> On Sun, Feb 5, 2012 at 7:40 PM, Jens Nöckel  wrote:
> Assuming convert is really the problem, perhaps you can try a different 
> imagemagick installation. 
> 
> Two options would be Macports,
> http://www.macports.org/install.php
> or Fink, 
> http://www.finkproject.org/download/index.php?phpLang=en
> 
> You only need one of these. Most people seem to choose Macports nowadays, but 
> it really doesn't matter for your purposes. 
> After following the installation instructions for one of these package 
> managers, you can then install imagemagick by typing either 
> sudo port install imagemagick
> (for Macports)
> or
> fink install imagemagick
> (for Fink).
> 
> This won't interfere with the MacTeX installation, so it can't hurt to try. I 
> have used both methods and found convert to work fine.
> 
> Jens
> 
> On Feb 5, 2012, at 5:41 PM, Richard Talley wrote:
> 
>> So I found a problem with the 'convert' utility (part of ImageMagick 6.6.9) 
>> that MacTex 2011 installs. The installation fails to install the necessary 
>> xml files that 'convert' needs to function correctly at the command line.
>> 
>> Over at the macosx-tex mailing list, Dick Koch provided a link to the 
>> necessary xml files with this comment:
>> 
>> "We supply convert mainly for tex4html, thinking that users familiar with 
>> the Unix version 
>> will want to install the full ImageMagick. So the conversion you are using 
>> was never tested."
>> 
>> So I got 'convert' working at the command line. Unfortunately, this turned 
>> out to be a red herring. I still can't typeset LyX's user manual 
>> from within LyX. Pdf and eps files (such as mobius.eps) still don't display 
>> within LyX ('Error converting to loadable format') and 
>> typesetting still fails.
>> 
>> I tried exporting the LyX user manual to LaTeX(plain) and typesetting the 
>> resulting TeX file in TeXShop. That actually works, 
>> except cross references break ('see section ??' in the resulting pdf). But 
>> the pdf and eps files that are problematic in LyX typeset 
>> in TeXShop.
>> 
>> What am I missing?
>> 
>> -- Rich
>> 
>> 
>> On Sat, Feb 4, 2012 at 2:47 PM, Richard Talley  wrote:
>> I had been running MacTex 2009 and Lyx 1.6.8. and using them extensively for 
>> technical documentation and homework assignments.
>> 
>> I upgraded this morning to MacTex 2011 (using the Tex Live Utility to bring 
>> all the packages up to date) and Lyx 2.0.2.
>> 
>> I tried to create a pdf of the UserGuide (located in 
>> /Applications/LyX.app/Contents/Resources/doc/ - opens as read only)
>> 
>> Four eps files are generating 'Error converting to loadable format' in the 
>> LyX document. The LaTeX error dialog shows:
>> 
>> Package pdftex.def Error: File 
>> `34_Applications_LyX_app_Contents_Resources_doc_clipart_mobius.pdf}
>> 
>> Using draft setting for this image.
>> Try typing  to proceed.
>> If that doesn't work, type X  to quit.
>> 
>> 
>> - OR -
>> 
>> Package pdftex.def Error: File 
>> `42_Applications_LyX_app_Contents_Resources_doc_clipart_escher-lsd.pdf}}
>> \hfill{}\subfloat[\label{f...
>> 
>> 
>> So my system doesn't seem to be converting eps files correctly into pdfs for 
>> LyX to use. Any suggestions for troubleshooting? I've saved the complete 
>> LaTeX log, but it's huge and I'm not sure what's relevant.
>> 
>> -- Rich
>> MacBook Pro/OS X 10.6.8
>> 
>> 
> 
> 



Re: small beef with LyX on the Mac

2012-02-06 Thread Rich Talley
Good points. I'm running Snow Leopard and have been avoiding Lion. I
switched to OS X from Windows several years ago, but maybe it's time to
start looking at Linux distributions again. All good things come to an end.

At least almost all my data is in LyX format, plain text, or easily
exported formats. I've been careful about this.

-- Rich

On Mon, Feb 6, 2012 at 10:48 PM, Jens Nöckel  wrote:

> Unfortunately Apple have themselves broken the continuity here with Lion.
> Now when you close a native application like TeXtEdit, the old shortcuts
> for "don't save" no longer work (neither space bar nor Apple-D). Instead
> you have to press Apple-Delete.
>
> So in other words, if we assume that Lion and pre-Lion OS X are still in
> wide use, there is (sadly) no single standard Apple behavior that LyX could
> be expected to conform to.
>
> Jens
>
> On Feb 6, 2012, at 9:24 PM, Rich Talley wrote:
>
> This has to with muscle memory & consistency with OS X standards.
>
> If I close a document with unsaved changes in TextEdit or Pages, hitting
> Return saves and hitting Space discards.
>
> LyX is inconsistent with this expectation of Mac users. Charlie did write
> that it was a 'small beef'. ;o)
>
> BTW, I just discovered a fairly consistent way to crash LyX 2.02 on my Mac.
>
> If I bring up a new document in LyX, type a word, then close the document
> with Command-W, and finally discard the changes by choosing 'Don't Save',
> then LyX stops responding to Command-N. If I then use File -> New to try to
> open a new document, LyX usually crashes. Interesting.
>
> LyX is still more robust than most of the multi-platform software that I
> run on my Mac. I just wish I could solve my problem with typesetting the
> User's Manual.
>
> -- Rich
>
> On Mon, Feb 6, 2012 at 10:02 PM,  wrote:
>
>> On Tue, 07 Feb 2012 06:43:34 +0200, Dr Eberhard Lisse wrote:
>>
>>> I have been irritated for quite a while now by the close/save file
>>> dialog (Safe Discard Cancel which defaults to Save.
>>>
>>> What I would like to see is one like the commonly used one, defaulting
>>> to Save (by hitting Return) but also offering Discard (by hitting
>>> Space), because most of the time I do not use the mouse for this...
>>>
>>> el
>>>
>>
>> Hitting the cursor or tab key is to much of a problem/effort?
>>
>> Charlie
>>
>
>
>


Changing the lyxlist (labeling environment) formatting

2012-02-06 Thread Jason Heeris
I am using LyX 2.0.0 under Ubuntu 11.10. I'd like to globally change the
format of the header in the labeling environments (aka. lyxlist in the
exported TeX source), bsaically bolding the text and increasing the
allocated indent.

I realise I can do this on a line-by-line basis, but this seems to defeat
the purpose of using LyX in the first place. Is there something I can put
in the preamble to make the change for the whole document?

Cheers,
Jason