Re: math macros via LaTex preamble

2012-07-21 Thread Allen Barker
On 07/20/2012 03:40 AM, Guenter Milde wrote: Also, math-macros are document specific - defining a math-macro in one document does not make it available in other ones. This is why my documents include a file of commonly used math macros -- just like I \input a file with commonly used preamble defi

Re: Help with command sequence

2012-06-22 Thread Allen Barker
On 06/22/2012 04:09 PM, Allen Barker wrote: On 06/21/2012 03:46 PM, Fabio Sobral wrote: Hello, I want to create a shortcut for a minipage with a drop shadw box and line width. After reading the page about command sequences on the wiki (http://wiki.lyx.org/Tips/CommandSequences) I down to this

Re: Help with command sequence

2012-06-22 Thread Allen Barker
On 06/21/2012 03:46 PM, Fabio Sobral wrote: Hello, I want to create a shortcut for a minipage with a drop shadw box and line width. After reading the page about command sequences on the wiki (http://wiki.lyx.org/Tips/CommandSequences) I down to this: "command-sequence box-insert Shadowbox" I ju

Re: How to get rid of excessive vertical whitespace

2012-06-16 Thread Allen Barker
On 06/16/2012 03:53 PM, Roger House wrote: I'm using Lyx for the first time and find it, by and large, quite nice. However, I've run into a situation where Lyx's automatic vertical layout is creating ugly output. Example: input text small figure caption text large fi

Re: I'm certain it has been discussed here previously..............

2012-06-04 Thread Allen Barker
On 06/03/2012 05:38 AM, Charlie wrote: I'm certain it's been discussed here before, but I can't find a reference to it. The way to stop a URL as an "insert URL" from running out over the margins into infinity. This happens in various document classes. The first line of the Insert URL has the r

Re: program to use Lyx as a code-evaluating notebook

2012-05-30 Thread Allen Barker
On 05/30/2012 05:32 PM, Nico Williams wrote: On Wed, May 30, 2012 at 11:24 AM, Allen Barker wrote: I've set up a repo on github for the program. The code: https://github.com/abarker/lyxNotebook For a quick overview, see the first section of the documentation: https://github.com/ab

Re: program to use Lyx as a code-evaluating notebook

2012-05-30 Thread Allen Barker
On 05/30/2012 04:06 PM, Pavel Sanda wrote: Allen Barker wrote: I've set up a repo on github for the program. It maight be goo to add note to http://wiki.lyx.org/Tools/Tools P Thanks, I've added a note to that list.

Re: program to use Lyx as a code-evaluating notebook

2012-05-30 Thread Allen Barker
I've set up a repo on github for the program. The code: https://github.com/abarker/lyxNotebook For a quick overview, see the first section of the documentation: https://github.com/abarker/lyxNotebook/blob/master/lyxNotebookDocs.pdf

Re: program to use Lyx as a code-evaluating notebook

2012-05-29 Thread Allen Barker
On 05/29/2012 03:29 AM, Guenter Milde wrote: On 2012-05-28, Allen Barker wrote: I've written a Python program which I'm calling Lyx Notebook. It interacts with Lyx (via the Lyx server) to allow it to be used as a code-evaluating notebook (similar to Mathematica notebooks or the Sag

Re: program to use Lyx as a code-evaluating notebook

2012-05-28 Thread Allen Barker
On 05/28/2012 09:34 AM, Richard Heck wrote: On 05/27/2012 09:56 PM, Allen Barker wrote: The program is currently ~800K tarred and zipped, including documentation. If anyone here is interested in trying it out I can send copies out by email (unless someone suggests a better way to distribute

program to use Lyx as a code-evaluating notebook

2012-05-27 Thread Allen Barker
I've written a Python program which I'm calling Lyx Notebook. It interacts with Lyx (via the Lyx server) to allow it to be used as a code-evaluating notebook (similar to Mathematica notebooks or the Sage notebook). It's still at an early stage, but I already find it useful. It only works with

Re: aspect ratio in figures

2012-05-10 Thread Allen Barker
On 05/10/2012 11:00 AM, Paul A. Rubin wrote: Well, that took a bit of sorting. Turns out it has nothing to do with either LyX or LaTeX; it's something sneaky in your image. Your screenshot is 296x296 pixels, which sounds (and looks on the desktop, or in an image viewer, or in the LyX GUI) squar

Re: aspect ratio in figures

2012-05-08 Thread Allen Barker
On 05/08/2012 06:09 PM, Paul A. Rubin wrote: Allen Barker gmail.com> writes: On 05/03/2012 05:44 PM, Paul A. Rubin wrote: Is your version of ImageMagick current? It is Version: ImageMagick 6.6.5-10 2011-11-03 Q16 Perhaps you should post a minimal example (short LyX document p

Re: Coloring

2012-05-08 Thread Allen Barker
iate it. On Tue 08 May 2012 07:51:14 AM EEST, Scott Kostyshak wrote: Allen Barker [allen.l.bar...@gmail.com] Sent: Tuesday, May 08, 2012 12:30 AM On Mon 07 May 2012 01:40:09 PM EEST, Merhebi, Bob wrote: Hello, I was wondering whether I could use coloring in equations? For example, when using M

Re: Coloring

2012-05-07 Thread Allen Barker
On 05/07/2012 01:23 PM, Merhebi, Bob wrote: Just to clear it out; I meant "highlighting" by coloring& "IDLE" by IDE. Thanks On Mon 07 May 2012 01:40:09 PM EEST, Merhebi, Bob wrote: Hello, I was wondering whether I could use coloring in equations? For example, when using Mathematica or python

Re: aspect ratio in figures

2012-05-07 Thread Allen Barker
On 05/03/2012 05:44 PM, Paul A. Rubin wrote: Sounds like something funny going on with ImageMagick, but it's hard to say. Is your version of ImageMagick current? It is Version: ImageMagick 6.6.5-10 2011-11-03 Q16

Re: parameters of listings insets

2012-05-01 Thread Allen Barker
On 04/30/2012 09:18 PM, Richard Heck wrote: On 04/30/2012 07:41 PM, Allen Barker wrote: On 04/30/2012 07:20 PM, Allen Barker wrote: The listings insets (at least in 2.0.3) always seem to alphabetize their list of "More Parameters." Is there a way to avoid that? The Latex li

Re: parameters of listings insets

2012-04-30 Thread Allen Barker
On 04/30/2012 07:20 PM, Allen Barker wrote: The listings insets (at least in 2.0.3) always seem to alphabetize their list of "More Parameters." Is there a way to avoid that? The Latex listings are sensitive to the position of their parameters, so you can define, say, a new language (f

parameters of listings insets

2012-04-30 Thread Allen Barker
The listings insets (at least in 2.0.3) always seem to alphabetize their list of "More Parameters." Is there a way to avoid that? The Latex listings are sensitive to the position of their parameters, so you can define, say, a new language (from a base language) and then selectively override cer

Re: aspect ratio in figures

2012-04-25 Thread Allen Barker
On 04/23/2012 08:27 AM, Allen Barker wrote: I'm having some problems with the aspect ratio of figures which are inserted into Lyx. This is with version 2.0.3 on a Fedora 15 system. I insert a .png screenshot with insert->graphics and set the width to some value (with the maintain aspe

aspect ratio in figures

2012-04-23 Thread Allen Barker
I'm having some problems with the aspect ratio of figures which are inserted into Lyx. This is with version 2.0.3 on a Fedora 15 system. I insert a .png screenshot with insert->graphics and set the width to some value (with the maintain aspect ratio box checked). The preview looks fine. But,

char-right via LyX server and math insets

2012-04-09 Thread Allen Barker
This occurs on a Fedora 15 system with LyX 2.0.3. Create a new file with some random text and a math inset with some random math in it. Position the cursor somewhere before the math inset. Using the right-arrow key the cursor can be moved into and then past the math inset. Using char-right re