BH | 1 Sep 2010 01:07
Picon

Re: Can't sync LyX with Skim

On Tue, Aug 31, 2010 at 5:28 PM, Pavel Sanda <sanda <at> lyx.org> wrote:
> Nat Jacobs wrote:
>> Thanks for the help, but I'm not quite sure how to even check that. Do I
>> have to run lyx -dbg in the terminal?
>
> run "lyx -dbg action" in terminal, lyx window will be launched and on that
> terminal you will see the debug messages.

More specifically (on Mac), open Terminal.app (in
/Applications/Utilities/), and type:

/Applications/LyX.app/Contents/MacOS/lyx -dbg action

(assuming you have LyX.app in your /Applications directory, which it
should be for Skim to work). A new instance of LyX will open, so make
sure you've quit LyX before doing this.

BH

Uwe Stöhr | 1 Sep 2010 01:47
Picon

Re: LaTeX -> LyX and \newcommand

Am 31.08.2010 20:35, schrieb Torquil Macdonald Sørensen:

> Let me try to explain better what I meant. I don't want those grey boxes of tex code for each
> instance where a user-defined command is executed in the latex document. I want my LyX file to look
> as if I had written everything in LyX without use of any \newcommand.
> The following LaTeX file captures the essence of the file I just had the misfortune to work with:
>
> \newcommand{\bea}{\begin{equation}}
> \newcommand{\eea}{\end{equation}}
> \begin{document}
> \bea
> \int f(x) dx = 0
> \eea

Thanks, now I understand what you meant.

Such a feature is indeed very useful when collaborating with plain TeX users. I propose to create a 
new Wiki page describing your method and attaching there your python script.
Create a new Wiki page in this Wiki space:
http://wiki.lyx.org/LaTeX/LaTeX
(To upload files, like your script you need a password. if you need this, mail me and I'll send it 
to you privately.)

thanks in advance and best regards
Uwe

Uwe Stöhr | 1 Sep 2010 03:56
Picon

Re: agutex layout?

Am 31.08.2010 17:33, schrieb Evan Mason:

>> It does replace the older ones in that it seems to be the only one they are
>> offering now.  It's supposed to work for all the different AGU journals.
>> http://www.agu.org/pubs/helpdesk/
>
> Hi, did a new layout file eventually get written for agutex?

I wrote a layout file for agutex. It requires that you have the AguTeX files:
ftp://ftp.agu.org/journals/latex/journals/Manuscript-Preparation/
installed to your LaTeX system.

The layout file is attached together with a LyX example file. Please test it our and report back. If 
it works for you, we can provide it together with the next LyX version.

regards Uwe
Attachment (agutex.lyx): application/lyx, 11 KiB
#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass[agutex]{article (AGU)}
# elsarticle textclass definition file.
# Author: Uwe Stöhr (uwestoehr <at> web.de)

Format 11

Columns			1
Sides			1
SecNumDepth		3
TocDepth		3
(Continue reading)

Picon

Re: LaTeX -> LyX and \newcommand

On 01/09/10 01:47, Uwe Stöhr wrote:
> Am 31.08.2010 20:35, schrieb Torquil Macdonald Sørensen:
>
>> Let me try to explain better what I meant. I don't want those grey
>> boxes of tex code for each
>> instance where a user-defined command is executed in the latex
>> document. I want my LyX file to look
>> as if I had written everything in LyX without use of any \newcommand.
>> The following LaTeX file captures the essence of the file I just had
>> the misfortune to work with:
>>
>> \newcommand{\bea}{\begin{equation}}
>> \newcommand{\eea}{\end{equation}}
>> \begin{document}
>> \bea
>> \int f(x) dx = 0
>> \eea
>
> Thanks, now I understand what you meant.
>
> Such a feature is indeed very useful when collaborating with plain TeX
> users. I propose to create a new Wiki page describing your method and
> attaching there your python script.
> Create a new Wiki page in this Wiki space:
> http://wiki.lyx.org/LaTeX/LaTeX
> (To upload files, like your script you need a password. if you need
> this, mail me and I'll send it to you privately.)
>
> thanks in advance and best regards
> Uwe
(Continue reading)

Uwe Stöhr | 1 Sep 2010 16:36
Picon

Re: Lyxcode too deeply nested

Am 26.08.2010 15:25, schrieb chrima.hercou:

> Thank you for this great software.
> I'm in trouble when I try to produce a code with the lyxcode style. I use 7 levels of indentation and I got this
when I try to produce a pdf :

This is a LaTeX limitation. The maximal nesting level is limited to 6 
(general) or 4 (of same type), see:
http://www.tex.ac.uk/cgi-bin/texfaq2html?label=toodeep

regards Uwe

Graham Smith | 1 Sep 2010 19:22
Picon

Figure x: defaults set up

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

Etienne Snyman | 1 Sep 2010 19:51
Picon

Re: LyX and Lilypond

Dear friendly LyX-users...

 <at> Julien:
On Tue, 2010-08-31 at 16:11 -0400, Julien Rioux wrote: 
> These are default (I checked for LyX 1.6.5 specifically), but you do 
> need a recent version of lilypond installed, as mentioned by the 
> previous useful message. Once installed, select Tools > Reconfigure from 
> LyX's menus, and the lilypond converter should get configured 
> automatically. Do restart LyX after reconfiguration.

Thanks, Julien! You seem to be the general LyX expert for me! That
worked perfectly, although the output is less than desired. At the
moment, it inserts another page with only the single bar of Lilypond
notation on it. Perhaps it would be better if a .png would be inserted,
rather like the OpenOffice.org Lilypond plugin, which compiles the
Lilypond code into a small image which is inserted into the document, or
at least it did last time I used it about a year ago.

Perhaps something like this is possible, but I don't know about it?

 <at> Torquil:
On Tue, 2010-08-31 at 20:50 +0200, Torquil Macdonald Sørensen wrote:
> On 31/08/10 20:03, Etienne Snyman wrote:
> > On Tue, 2010-08-31 at 19:08 +0200, Torquil Macdonald Sørensen wrote:
> >> Do you want to write Lilypond code directly in LyX, and have LyX automatically
> >> run the necessary 'lilypond-book' script in order to generate LaTeX code that
> >> can be compiled to PDF?
> >
> > That would actually be a great addition. How complicated do you think
> > that would be?
(Continue reading)

Nat Jacobs | 1 Sep 2010 20:25
Favicon
Gravatar

Re: Can't sync LyX with Skim

Thanks for the great instructions.
 I put LyX in my TeX folder, but I customized the path in Skim
preferences, so that's probably not the problem. (Just in case, I tried
putting LyX back into /Applications, but that didn't seem to do anything.

Okay, I ran the debugging program, and when I hit the key combo in Skim,
nothing registers. There's no message at all.

(I'm not using xdvi. It's not available for Mac. There's a Mac version,
but it costs money to register it, and I've already got Skim, and blah
blah blah.
I have looked at the manuals, but to no avail.)
-N

Paul Rubin | 1 Sep 2010 20:29
Picon
Favicon
Gravatar

Re: Figure x: defaults set up

Graham Smith <graham.smith <at> myotis.co.uk> writes:

> 
> 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.
> 
In the preamble:

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

/Paul

Graham Smith | 1 Sep 2010 20:40
Picon

Re: Figure x: defaults set up

Paul,

> In the preamble:
>
> \usepackage{caption}
> \captionsetup[figure]{labelsep=period}

Many thanks, exactly what I needed.

Graham


Gmane