Search and replace within figure settings?

2012-11-14 Thread Rich Shepard
Is it possible to automate changes in figure settings and cross-references? For example, changing the width of all figures from 80% of text width to 60% of text width or changing all cross-references from number + page to only number? I've a couple of documents with many figures and tables

Re: Search and replace within figure settings?

2012-11-14 Thread Richard Heck
On 11/14/2012 09:10 AM, Rich Shepard wrote: Is it possible to automate changes in figure settings and cross-references? For example, changing the width of all figures from 80% of text width to 60% of text width or changing all cross-references from number + page to only number? The only way

Re: Search and replace within figure settings?

2012-11-14 Thread Rich Shepard
On Wed, 14 Nov 2012, Richard Heck wrote: The only way to do this is to load the LyX file into a text editor and use search and replace there. Or you can do it with a perl or python script, etc. Richard, That's what I thought, but I wanted to learn if I missed something within the LyX

Re: Search and replace within figure settings?

2012-11-14 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 14/11/12 15:39, Richard Heck wrote: On 11/14/2012 09:10 AM, Rich Shepard wrote: Is it possible to automate changes in figure settings and cross-references? For example, changing the width of all figures from 80% of text width to 60% of text

Re: Search and replace within figure settings?

2012-11-14 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 14/11/12 15:39, Richard Heck wrote: No idea if you can use this in your case, but here it is: You could also redefine your includegraphics. I did something similar, to have all graphics in a shadowbox. I included in the preamble: %

Re: Search and replace within figure settings?

2012-11-14 Thread Jean-Marc Lasgouttes
Le 14/11/2012 15:39, Richard Heck a écrit : On 11/14/2012 09:10 AM, Rich Shepard wrote: Is it possible to automate changes in figure settings and cross-references? For example, changing the width of all figures from 80% of text width to 60% of text width or changing all cross-references from

Re: Search and replace within figure settings?

2012-11-14 Thread Jean-Marc Lasgouttes
Le 14/11/2012 15:39, Richard Heck a écrit : On 11/14/2012 09:10 AM, Rich Shepard wrote: Is it possible to automate changes in figure settings and cross-references? For example, changing the width of all figures from 80% of text width to 60% of text width or changing all cross-references from

Re: Search and replace within figure settings?

2012-11-14 Thread Rich Shepard
On Wed, 14 Nov 2012, Rainer M Krug wrote: You could also redefine your includegraphics. I did something similar, to have all graphics in a shadowbox. I included in the preamble: % from http://tex.stackexchange.com/questions/70547/how-can-i-renew-includegraphics-to-always-use-shadowbox

Re: Search and replace within figure settings?

2012-11-14 Thread Rich Shepard
On Wed, 14 Nov 2012, Jean-Marc Lasgouttes wrote: For figures, a nice feature to use is 'figure group'. Give a name to a group and all graphics in the same group share the same parameters. JMarc, Another useful approach. Thanks for the insight! Rich

Search and replace within figure settings?

2012-11-14 Thread Rich Shepard
Is it possible to automate changes in figure settings and cross-references? For example, changing the width of all figures from 80% of text width to 60% of text width or changing all cross-references from number + page to only number? I've a couple of documents with many figures and tables

Re: Search and replace within figure settings?

2012-11-14 Thread Richard Heck
On 11/14/2012 09:10 AM, Rich Shepard wrote: Is it possible to automate changes in figure settings and cross-references? For example, changing the width of all figures from 80% of text width to 60% of text width or changing all cross-references from number + page to only number? The only way

Re: Search and replace within figure settings?

2012-11-14 Thread Rich Shepard
On Wed, 14 Nov 2012, Richard Heck wrote: The only way to do this is to load the LyX file into a text editor and use search and replace there. Or you can do it with a perl or python script, etc. Richard, That's what I thought, but I wanted to learn if I missed something within the LyX

Re: Search and replace within figure settings?

2012-11-14 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 14/11/12 15:39, Richard Heck wrote: On 11/14/2012 09:10 AM, Rich Shepard wrote: Is it possible to automate changes in figure settings and cross-references? For example, changing the width of all figures from 80% of text width to 60% of text

Re: Search and replace within figure settings?

2012-11-14 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 14/11/12 15:39, Richard Heck wrote: No idea if you can use this in your case, but here it is: You could also redefine your includegraphics. I did something similar, to have all graphics in a shadowbox. I included in the preamble: %

Re: Search and replace within figure settings?

2012-11-14 Thread Jean-Marc Lasgouttes
Le 14/11/2012 15:39, Richard Heck a écrit : On 11/14/2012 09:10 AM, Rich Shepard wrote: Is it possible to automate changes in figure settings and cross-references? For example, changing the width of all figures from 80% of text width to 60% of text width or changing all cross-references from

Re: Search and replace within figure settings?

2012-11-14 Thread Jean-Marc Lasgouttes
Le 14/11/2012 15:39, Richard Heck a écrit : On 11/14/2012 09:10 AM, Rich Shepard wrote: Is it possible to automate changes in figure settings and cross-references? For example, changing the width of all figures from 80% of text width to 60% of text width or changing all cross-references from

Re: Search and replace within figure settings?

2012-11-14 Thread Rich Shepard
On Wed, 14 Nov 2012, Rainer M Krug wrote: You could also redefine your includegraphics. I did something similar, to have all graphics in a shadowbox. I included in the preamble: % from http://tex.stackexchange.com/questions/70547/how-can-i-renew-includegraphics-to-always-use-shadowbox

Re: Search and replace within figure settings?

2012-11-14 Thread Rich Shepard
On Wed, 14 Nov 2012, Jean-Marc Lasgouttes wrote: For figures, a nice feature to use is 'figure group'. Give a name to a group and all graphics in the same group share the same parameters. JMarc, Another useful approach. Thanks for the insight! Rich

Search and replace within figure settings?

2012-11-14 Thread Rich Shepard
Is it possible to automate changes in figure settings and cross-references? For example, changing the width of all figures from 80% of text width to 60% of text width or changing all cross-references from number + page to only number? I've a couple of documents with many figures and tables

Re: Search and replace within figure settings?

2012-11-14 Thread Richard Heck
On 11/14/2012 09:10 AM, Rich Shepard wrote: Is it possible to automate changes in figure settings and cross-references? For example, changing the width of all figures from 80% of text width to 60% of text width or changing all cross-references from number + page to only number? The only way

Re: Search and replace within figure settings?

2012-11-14 Thread Rich Shepard
On Wed, 14 Nov 2012, Richard Heck wrote: The only way to do this is to load the LyX file into a text editor and use search and replace there. Or you can do it with a perl or python script, etc. Richard, That's what I thought, but I wanted to learn if I missed something within the LyX

Re: Search and replace within figure settings?

2012-11-14 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 14/11/12 15:39, Richard Heck wrote: > On 11/14/2012 09:10 AM, Rich Shepard wrote: >> Is it possible to automate changes in figure settings and cross-references? >> For example, >> changing the width of all figures from 80% of text width to 60% of

Re: Search and replace within figure settings?

2012-11-14 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 14/11/12 15:39, Richard Heck wrote: No idea if you can use this in your case, but here it is: You could also redefine your includegraphics. I did something similar, to have all graphics in a shadowbox. I included in the preamble: %

Re: Search and replace within figure settings?

2012-11-14 Thread Jean-Marc Lasgouttes
Le 14/11/2012 15:39, Richard Heck a écrit : On 11/14/2012 09:10 AM, Rich Shepard wrote: Is it possible to automate changes in figure settings and cross-references? For example, changing the width of all figures from 80% of text width to 60% of text width or changing all cross-references from

Re: Search and replace within figure settings?

2012-11-14 Thread Jean-Marc Lasgouttes
Le 14/11/2012 15:39, Richard Heck a écrit : On 11/14/2012 09:10 AM, Rich Shepard wrote: Is it possible to automate changes in figure settings and cross-references? For example, changing the width of all figures from 80% of text width to 60% of text width or changing all cross-references from

Re: Search and replace within figure settings?

2012-11-14 Thread Rich Shepard
On Wed, 14 Nov 2012, Rainer M Krug wrote: You could also redefine your includegraphics. I did something similar, to have all graphics in a shadowbox. I included in the preamble: % from http://tex.stackexchange.com/questions/70547/how-can-i-renew-includegraphics-to-always-use-shadowbox

Re: Search and replace within figure settings?

2012-11-14 Thread Rich Shepard
On Wed, 14 Nov 2012, Jean-Marc Lasgouttes wrote: For figures, a nice feature to use is 'figure group'. Give a name to a group and all graphics in the same group share the same parameters. JMarc, Another useful approach. Thanks for the insight! Rich