Re: REVTeX 4.1 layout: alpha

2010-03-04 Thread Manoj Rajagopalan

Hi Manolo,

  Thanks! I will attach the AIP sample (aipsamp.tex) that came with RevTeX 
4.1, and my LyX port of that file (aipsamp-lyx.lyx) in a separate email to 
you (too big for this list). I'll also attach PDFs generated from aipsamp.tex 
and from aipsamp-lyx.lyx.

   It would help if you could port the APS sample that comes with revtex to 
lyx and compare the PDFs or DVIs generated from those. The easy part is in 
applying the layout. The time-consuming part is in copy-pasting the latex 
source and converting the tex markup into lyx equivalent. To speed this up 
see the last appendix that I created in aipsamp-lyx.lyx (how to use lyx with 
revtex).

   Latest RevTeX 4.1 can be downloaded from http://authors.aps.org/revtex4/ - 
they have already fixed a few bugs

At present, I am experiencing trouble with the \listofvideos command. LyX 
properly inserts this command where I want it but my latex doesn't compile 
and therefore my DVI and PDF are not being generated. Let me know if you 
happen to see the same. If there is a bug we could file a report. The video 
environment is a new feature that they have just begun to support.

   If you have suggestions for improvement those would be welcome.

Thanks once again!
Manoj


On Thursday 04 March 2010 12:09:19 pm Manolo Martínez wrote:
 Hi, Manoj.

 I'll be happy to help you troubleshoot the layout. If you have LyX files
 that you want me to compile, or anything, let me know.

 Cheers,
 Manolo

 On Wed, 3 Mar 2010 21:28:03 -0500

 Manoj Rajagopalan rma...@umich.edu wrote:
  Hi lyx-users,
 
     REVTeX 4.1 was recently released and all APS and AIP journals require
  this format which may be backwards-incompatible with v4.0. I've the
  extended revtex4.layout that accompanies LyX to revtex4-1.layout and am
  attaching it. I request help with testing the layout.
 
 I have ported the sample document aipsamp.tex that comes with the
  REVTeX 4.1 distribution to a lyx file and the PDFs generated from both
  sources are almost identical so I believe I have addressed most of the
  issues.
 
 This list doesn't accept emails over 60kB so I am able to attach only
  the layout. Should someone be interested in the other files, please
  contact me directly by email at this address.
 
 
  Thanks,
  Manoj Rajagopalan



Re: REVTeX 4.1 layout: alpha

2010-03-04 Thread Manoj Rajagopalan

Hi lyx-users,

   I have created a new wiki page for this layout:

http://wiki.lyx.org/Layouts/Revtex4-1

  Here I provide a link the layout file and list features to be tested and/or 
implemented.

Thanks,
Manoj


Re: REVTeX 4.1 layout: alpha

2010-03-04 Thread Manoj Rajagopalan

Hi Manolo,

  Thanks! I will attach the AIP sample (aipsamp.tex) that came with RevTeX 
4.1, and my LyX port of that file (aipsamp-lyx.lyx) in a separate email to 
you (too big for this list). I'll also attach PDFs generated from aipsamp.tex 
and from aipsamp-lyx.lyx.

   It would help if you could port the APS sample that comes with revtex to 
lyx and compare the PDFs or DVIs generated from those. The easy part is in 
applying the layout. The time-consuming part is in copy-pasting the latex 
source and converting the tex markup into lyx equivalent. To speed this up 
see the last appendix that I created in aipsamp-lyx.lyx (how to use lyx with 
revtex).

   Latest RevTeX 4.1 can be downloaded from http://authors.aps.org/revtex4/ - 
they have already fixed a few bugs

At present, I am experiencing trouble with the \listofvideos command. LyX 
properly inserts this command where I want it but my latex doesn't compile 
and therefore my DVI and PDF are not being generated. Let me know if you 
happen to see the same. If there is a bug we could file a report. The video 
environment is a new feature that they have just begun to support.

   If you have suggestions for improvement those would be welcome.

Thanks once again!
Manoj


On Thursday 04 March 2010 12:09:19 pm Manolo Martínez wrote:
 Hi, Manoj.

 I'll be happy to help you troubleshoot the layout. If you have LyX files
 that you want me to compile, or anything, let me know.

 Cheers,
 Manolo

 On Wed, 3 Mar 2010 21:28:03 -0500

 Manoj Rajagopalan rma...@umich.edu wrote:
  Hi lyx-users,
 
     REVTeX 4.1 was recently released and all APS and AIP journals require
  this format which may be backwards-incompatible with v4.0. I've the
  extended revtex4.layout that accompanies LyX to revtex4-1.layout and am
  attaching it. I request help with testing the layout.
 
 I have ported the sample document aipsamp.tex that comes with the
  REVTeX 4.1 distribution to a lyx file and the PDFs generated from both
  sources are almost identical so I believe I have addressed most of the
  issues.
 
 This list doesn't accept emails over 60kB so I am able to attach only
  the layout. Should someone be interested in the other files, please
  contact me directly by email at this address.
 
 
  Thanks,
  Manoj Rajagopalan



Re: REVTeX 4.1 layout: alpha

2010-03-04 Thread Manoj Rajagopalan

Hi lyx-users,

   I have created a new wiki page for this layout:

http://wiki.lyx.org/Layouts/Revtex4-1

  Here I provide a link the layout file and list features to be tested and/or 
implemented.

Thanks,
Manoj


Re: REVTeX 4.1 layout: alpha

2010-03-04 Thread Manoj Rajagopalan

Hi Manolo,

  Thanks! I will attach the AIP sample (aipsamp.tex) that came with RevTeX 
4.1, and my LyX port of that file (aipsamp-lyx.lyx) in a separate email to 
you (too big for this list). I'll also attach PDFs generated from aipsamp.tex 
and from aipsamp-lyx.lyx.

   It would help if you could port the APS sample that comes with revtex to 
lyx and compare the PDFs or DVIs generated from those. The easy part is in 
applying the layout. The time-consuming part is in copy-pasting the latex 
source and converting the tex markup into lyx equivalent. To speed this up 
see the last appendix that I created in aipsamp-lyx.lyx (how to use lyx with 
revtex).

   Latest RevTeX 4.1 can be downloaded from http://authors.aps.org/revtex4/ - 
they have already fixed a few bugs

At present, I am experiencing trouble with the \listofvideos command. LyX 
properly inserts this command where I want it but my latex doesn't compile 
and therefore my DVI and PDF are not being generated. Let me know if you 
happen to see the same. If there is a bug we could file a report. The video 
environment is a new feature that they have just begun to support.

   If you have suggestions for improvement those would be welcome.

Thanks once again!
Manoj


On Thursday 04 March 2010 12:09:19 pm Manolo Martínez wrote:
> Hi, Manoj.
>
> I'll be happy to help you troubleshoot the layout. If you have LyX files
> that you want me to compile, or anything, let me know.
>
> Cheers,
> Manolo
>
> On Wed, 3 Mar 2010 21:28:03 -0500
>
> Manoj Rajagopalan <rma...@umich.edu> wrote:
> > Hi lyx-users,
> >
> >    REVTeX 4.1 was recently released and all APS and AIP journals require
> > this format which may be backwards-incompatible with v4.0. I've the
> > extended revtex4.layout that accompanies LyX to revtex4-1.layout and am
> > attaching it. I request help with testing the layout.
> >
> >I have ported the sample document aipsamp.tex that comes with the
> > REVTeX 4.1 distribution to a lyx file and the PDFs generated from both
> > sources are almost identical so I believe I have addressed most of the
> > issues.
> >
> >This list doesn't accept emails over 60kB so I am able to attach only
> > the layout. Should someone be interested in the other files, please
> > contact me directly by email at this address.
> >
> >
> > Thanks,
> > Manoj Rajagopalan



Re: REVTeX 4.1 layout: alpha

2010-03-04 Thread Manoj Rajagopalan

Hi lyx-users,

   I have created a new wiki page for this layout:

http://wiki.lyx.org/Layouts/Revtex4-1

  Here I provide a link the layout file and list features to be tested and/or 
implemented.

Thanks,
Manoj


REVTeX 4.1 layout: alpha

2010-03-03 Thread Manoj Rajagopalan
Hi lyx-users,

   REVTeX 4.1 was recently released and all APS and AIP journals require this 
format which may be backwards-incompatible with v4.0. I've the extended 
revtex4.layout that accompanies LyX to revtex4-1.layout and am attaching it. I 
request help with testing the layout.

   I have ported the sample document aipsamp.tex that comes with the REVTeX 
4.1 distribution to a lyx file and the PDFs generated from both sources are 
almost identical so I believe I have addressed most of the issues.

   This list doesn't accept emails over 60kB so I am able to attach only the 
layout. Should someone be interested in the other files, please contact me 
directly by email at this address.


Thanks,
Manoj Rajagopalan
#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass{article (REVTeX 4.1)}
# RevTeX 4.1 textclass definition file. Based on:
# AMS-Article textclass definition file. Taken from initial LyX source code
# and from the Article textclass definition file, following the AMS sample
# paper testmath.tex of January, 1995
# Author : David L. Johnson d...@lehigh.edu (AMS)
#  Marc Mengel (RevTeX)
#  Amir Karger (LyX v11.34 style modifications)
#  Amir Karger (RevTeX 4 beta) 9/1999, 7/2000
#  Manoj Rajagopalan (RevTeX 4.1) 1/2010


Format 19
Columns 1
Sides   1
PageStyle   Headers
Provides natbib-internal1
Provides url1

# Default textclass options. The user may need to modify this.
ClassOptions
Other manuscript
End

Preamble
\...@ifundefined{textcolor}{}
{%
 \definecolor{BLACK}{gray}{0}
 \definecolor{WHITE}{gray}{1}
 \definecolor{RED}{rgb}{1,0,0}
 \definecolor{GREEN}{rgb}{0,1,0}
 \definecolor{BLUE}{rgb}{0,0,1}
 \definecolor{CYAN}{cmyk}{1,0,0,0}
 \definecolor{MAGENTA}{cmyk}{0,1,0,0}
 \definecolor{YELLOW}{cmyk}{0,0,1,0}
 }
EndPreamble


Style Standard
MarginStatic
LatexType Paragraph
LatexName dummy
ParIndent MM
ParSkip   0.4
Align Block
AlignPossible Block, Left, Right, Center
LabelType No_Label
End


# Idea from aapaper: declare all layouts here (Style Foo\nEnd\n)
# so that they appear in a specific order in the layout dropdown menu.

Input stdinsets.inc
Input stdsections.inc
Input numrevtex.inc

Style Section
Align Center
AlignPossible Block, Center, Left
Font
  Series  Medium
  Shape   Smallcaps
  SizeLarge
EndFont
TocLevel 1
End


Style Subsection
Font
  Series  Bold
  SizeNormal
EndFont
TocLevel 2
End


Style Subsubsection
Font
# Shape   Italic
  SizeNormal
EndFont
TocLevel 3
End


Style Paragraph
TopSep0.7
ParSep0.4
Font
  Shape   Italic
  SizeNormal
EndFont
TocLevel 4
End

# then define the unumbered sections, based on the numbered ones.
Input stdstarsections.inc

NoStyle Chapter
NoStyle Chapter*
NoStyle Subparagraph
NoStyle Subparagraph*

Input stdlayouts.inc
Input stdlists.inc
Input stdtitle.inc
Input stdstruct.inc


Style Preprint
MarginRight_Address_Box
LatexType Command
InTitle   1
LatexName preprint
ParSkip   0.4
BottomSep 1.5
ParSep1.5
Align Left
End


Style Title
Font
  Series  Bold
  SizeLarge
EndFont
OptionalArgs  1
End


Style Author
Font
  SizeLarge
# Shape   Smallcaps
EndFont
End


Style Date
LabelType Static
LabelString   Date:
LabelFont
  Shape   Italic
  SizeLarge
EndFont
End


Style Affiliation
MarginDynamic
LatexType Command
InTitle   1
LatexName affiliation
ParSkip   0.4
#  BottomSep1.5
#  ParSep   1.5
Align Center
AlignPossible Block, Left, Right, Center
LabelType Static
LabelSep  M
LabelString   Affiliation:

LabelFont
  Shape   Italic
EndFont
End


Style AltAffiliation
CopyStyle Affiliation
PassThru

REVTeX 4.1 layout: alpha

2010-03-03 Thread Manoj Rajagopalan
Hi lyx-users,

   REVTeX 4.1 was recently released and all APS and AIP journals require this 
format which may be backwards-incompatible with v4.0. I've the extended 
revtex4.layout that accompanies LyX to revtex4-1.layout and am attaching it. I 
request help with testing the layout.

   I have ported the sample document aipsamp.tex that comes with the REVTeX 
4.1 distribution to a lyx file and the PDFs generated from both sources are 
almost identical so I believe I have addressed most of the issues.

   This list doesn't accept emails over 60kB so I am able to attach only the 
layout. Should someone be interested in the other files, please contact me 
directly by email at this address.


Thanks,
Manoj Rajagopalan
#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass{article (REVTeX 4.1)}
# RevTeX 4.1 textclass definition file. Based on:
# AMS-Article textclass definition file. Taken from initial LyX source code
# and from the Article textclass definition file, following the AMS sample
# paper testmath.tex of January, 1995
# Author : David L. Johnson d...@lehigh.edu (AMS)
#  Marc Mengel (RevTeX)
#  Amir Karger (LyX v11.34 style modifications)
#  Amir Karger (RevTeX 4 beta) 9/1999, 7/2000
#  Manoj Rajagopalan (RevTeX 4.1) 1/2010


Format 19
Columns 1
Sides   1
PageStyle   Headers
Provides natbib-internal1
Provides url1

# Default textclass options. The user may need to modify this.
ClassOptions
Other manuscript
End

Preamble
\...@ifundefined{textcolor}{}
{%
 \definecolor{BLACK}{gray}{0}
 \definecolor{WHITE}{gray}{1}
 \definecolor{RED}{rgb}{1,0,0}
 \definecolor{GREEN}{rgb}{0,1,0}
 \definecolor{BLUE}{rgb}{0,0,1}
 \definecolor{CYAN}{cmyk}{1,0,0,0}
 \definecolor{MAGENTA}{cmyk}{0,1,0,0}
 \definecolor{YELLOW}{cmyk}{0,0,1,0}
 }
EndPreamble


Style Standard
MarginStatic
LatexType Paragraph
LatexName dummy
ParIndent MM
ParSkip   0.4
Align Block
AlignPossible Block, Left, Right, Center
LabelType No_Label
End


# Idea from aapaper: declare all layouts here (Style Foo\nEnd\n)
# so that they appear in a specific order in the layout dropdown menu.

Input stdinsets.inc
Input stdsections.inc
Input numrevtex.inc

Style Section
Align Center
AlignPossible Block, Center, Left
Font
  Series  Medium
  Shape   Smallcaps
  SizeLarge
EndFont
TocLevel 1
End


Style Subsection
Font
  Series  Bold
  SizeNormal
EndFont
TocLevel 2
End


Style Subsubsection
Font
# Shape   Italic
  SizeNormal
EndFont
TocLevel 3
End


Style Paragraph
TopSep0.7
ParSep0.4
Font
  Shape   Italic
  SizeNormal
EndFont
TocLevel 4
End

# then define the unumbered sections, based on the numbered ones.
Input stdstarsections.inc

NoStyle Chapter
NoStyle Chapter*
NoStyle Subparagraph
NoStyle Subparagraph*

Input stdlayouts.inc
Input stdlists.inc
Input stdtitle.inc
Input stdstruct.inc


Style Preprint
MarginRight_Address_Box
LatexType Command
InTitle   1
LatexName preprint
ParSkip   0.4
BottomSep 1.5
ParSep1.5
Align Left
End


Style Title
Font
  Series  Bold
  SizeLarge
EndFont
OptionalArgs  1
End


Style Author
Font
  SizeLarge
# Shape   Smallcaps
EndFont
End


Style Date
LabelType Static
LabelString   Date:
LabelFont
  Shape   Italic
  SizeLarge
EndFont
End


Style Affiliation
MarginDynamic
LatexType Command
InTitle   1
LatexName affiliation
ParSkip   0.4
#  BottomSep1.5
#  ParSep   1.5
Align Center
AlignPossible Block, Left, Right, Center
LabelType Static
LabelSep  M
LabelString   Affiliation:

LabelFont
  Shape   Italic
EndFont
End


Style AltAffiliation
CopyStyle Affiliation
PassThru

REVTeX 4.1 layout: alpha

2010-03-03 Thread Manoj Rajagopalan
Hi lyx-users,

   REVTeX 4.1 was recently released and all APS and AIP journals require this 
format which may be backwards-incompatible with v4.0. I've the extended 
revtex4.layout that accompanies LyX to revtex4-1.layout and am attaching it. I 
request help with testing the layout.

   I have ported the sample document aipsamp.tex that comes with the REVTeX 
4.1 distribution to a lyx file and the PDFs generated from both sources are 
almost identical so I believe I have addressed most of the issues.

   This list doesn't accept emails over 60kB so I am able to attach only the 
layout. Should someone be interested in the other files, please contact me 
directly by email at this address.


Thanks,
Manoj Rajagopalan
#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass{article (REVTeX 4.1)}
# RevTeX 4.1 textclass definition file. Based on:
# AMS-Article textclass definition file. Taken from initial LyX source code
# and from the Article textclass definition file, following the AMS sample
# paper "testmath.tex" of January, 1995
# Author : David L. Johnson <d...@lehigh.edu> (AMS)
#  Marc Mengel (RevTeX)
#  Amir Karger (LyX v11.34 style modifications)
#  Amir Karger (RevTeX 4 beta) 9/1999, 7/2000
#  Manoj Rajagopalan (RevTeX 4.1) 1/2010


Format 19
Columns 1
Sides   1
PageStyle   Headers
Provides natbib-internal1
Provides url1

# Default textclass options. The user may need to modify this.
ClassOptions
Other "manuscript"
End

Preamble
\...@ifundefined{textcolor}{}
{%
 \definecolor{BLACK}{gray}{0}
 \definecolor{WHITE}{gray}{1}
 \definecolor{RED}{rgb}{1,0,0}
 \definecolor{GREEN}{rgb}{0,1,0}
 \definecolor{BLUE}{rgb}{0,0,1}
 \definecolor{CYAN}{cmyk}{1,0,0,0}
 \definecolor{MAGENTA}{cmyk}{0,1,0,0}
 \definecolor{YELLOW}{cmyk}{0,0,1,0}
 }
EndPreamble


Style Standard
MarginStatic
LatexType Paragraph
LatexName dummy
ParIndent MM
ParSkip   0.4
Align Block
AlignPossible Block, Left, Right, Center
LabelType No_Label
End


# Idea from aapaper: declare all layouts here ("Style Foo\nEnd\n")
# so that they appear in a specific order in the layout dropdown menu.

Input stdinsets.inc
Input stdsections.inc
Input numrevtex.inc

Style Section
Align Center
AlignPossible Block, Center, Left
Font
  Series  Medium
  Shape   Smallcaps
  SizeLarge
EndFont
TocLevel 1
End


Style Subsection
Font
  Series  Bold
  SizeNormal
EndFont
TocLevel 2
End


Style Subsubsection
Font
# Shape   Italic
  SizeNormal
EndFont
TocLevel 3
End


Style Paragraph
TopSep0.7
ParSep0.4
Font
  Shape   Italic
  SizeNormal
EndFont
TocLevel 4
End

# then define the unumbered sections, based on the numbered ones.
Input stdstarsections.inc

NoStyle Chapter
NoStyle Chapter*
NoStyle Subparagraph
NoStyle Subparagraph*

Input stdlayouts.inc
Input stdlists.inc
Input stdtitle.inc
Input stdstruct.inc


Style Preprint
MarginRight_Address_Box
LatexType Command
InTitle   1
LatexName preprint
ParSkip   0.4
BottomSep 1.5
ParSep1.5
Align Left
End


Style Title
Font
  Series  Bold
  SizeLarge
EndFont
OptionalArgs  1
End


Style Author
Font
  SizeLarge
# Shape   Smallcaps
EndFont
End


Style Date
LabelType Static
LabelString   "Date:"
LabelFont
  Shape   Italic
  SizeLarge
EndFont
End


Style Affiliation
MarginDynamic
LatexType Command
InTitle   1
LatexName affiliation
ParSkip   0.4
#  BottomSep1.5
#  ParSep   1.5
Align Center
AlignPossible Block, Left, Right, Center
LabelType Static
LabelSep  M
LabelString   "Affiliation:"

LabelFont
  Shape   Italic
EndFont
End


Style 

Re: correct way to troubleshot .cls/layout problems?

2010-02-26 Thread Manoj Rajagopalan

Did you run the texhash command (no args) from the command line after you 
placed the .cls file in the texlive dir? You might have to run that as root.

-- Manoj


On Friday 26 February 2010 03:41:36 pm Jose Quesada wrote:
 A question for the rest of the list too, and linux heads...

 I got LyX to see the larkc.cls on win but it doesn't work on ubuntu.

 I placed the .cls and figures here
 /usr/share/texmf-texlive/tex/latex

 LyX sees the layout just fine, but renders it like 'book'.
 this is the layout:
 ---
 #% Do not delete the line below; configure depends on this
 #  \DeclareLaTeXClass[larkc, book]{larkc}
 Format 11
 Input book.layout
 ---
 What is the correct way to troubleshot this? Are there any logs? Since it
 renders, but not what I want, it's hard to see what goes on.
 LyX 1.6.4, on karmic. Exact same files, LyX 1.6.5 on mikTeX on win works.
 Thanks,
 -Jose



Re: correct way to troubleshot .cls/layout problems?

2010-02-26 Thread Manoj Rajagopalan

Did you run the texhash command (no args) from the command line after you 
placed the .cls file in the texlive dir? You might have to run that as root.

-- Manoj


On Friday 26 February 2010 03:41:36 pm Jose Quesada wrote:
 A question for the rest of the list too, and linux heads...

 I got LyX to see the larkc.cls on win but it doesn't work on ubuntu.

 I placed the .cls and figures here
 /usr/share/texmf-texlive/tex/latex

 LyX sees the layout just fine, but renders it like 'book'.
 this is the layout:
 ---
 #% Do not delete the line below; configure depends on this
 #  \DeclareLaTeXClass[larkc, book]{larkc}
 Format 11
 Input book.layout
 ---
 What is the correct way to troubleshot this? Are there any logs? Since it
 renders, but not what I want, it's hard to see what goes on.
 LyX 1.6.4, on karmic. Exact same files, LyX 1.6.5 on mikTeX on win works.
 Thanks,
 -Jose



Re: correct way to troubleshot .cls/layout problems?

2010-02-26 Thread Manoj Rajagopalan

Did you run the texhash command (no args) from the command line after you 
placed the .cls file in the texlive dir? You might have to run that as root.

-- Manoj


On Friday 26 February 2010 03:41:36 pm Jose Quesada wrote:
> A question for the rest of the list too, and linux heads...
>
> I got LyX to see the larkc.cls on win but it doesn't work on ubuntu.
>
> I placed the .cls and figures here
> /usr/share/texmf-texlive/tex/latex
>
> LyX sees the layout just fine, but renders it like 'book'.
> this is the layout:
> ---
> #% Do not delete the line below; configure depends on this
> #  \DeclareLaTeXClass[larkc, book]{larkc}
> Format 11
> Input book.layout
> ---
> What is the correct way to troubleshot this? Are there any logs? Since it
> renders, but not what I want, it's hard to see what goes on.
> LyX 1.6.4, on karmic. Exact same files, LyX 1.6.5 on mikTeX on win works.
> Thanks,
> -Jose



text-mode macros?

2010-02-25 Thread Manoj Rajagopalan
Hi users,

I use math-macros in lyx but I was wondering if there is any way to 
achieve macros in text-mode. A use-case that I frequently encounter is to use 
either Eqn. or equation in front of equation-reference numbers when 
cross-referencing depending on which journal I am submitting my paper to. 
Right now, I am achieving this with branches for each journal that modify ERT 
definitions of a new latex command (eg. \newcommand{\eq}{Eqn.})

   Is there a text-mode macro feature in LyX, or is there a hack to achieve 
the same effect?

  The above use-case can be achieved through the hyperref package but that, at 
many times, opens another can of worms (spurious errors about extra '}', 
improper DVI generation etc.)

thanks,
Manoj


What are custom insets?

2010-02-25 Thread Manoj Rajagopalan
Hi users,

   I see the Insert-Custom insets in LyX but the submenu is always empty? 
Why is this so? What are custom insets and how are they meant to be used (if 
they can be created)?

thanks,
Manoj


Mystified by \selectlanguage

2010-02-25 Thread Manoj Rajagopalan
Hi users,

   I find \selectlanguage{british} and \selectlanguage{english} automatically 
springing up in my exported latex code (I am not able to generate DVI from 
within lyx for this reason).

   My document is a simple one with article document class. The only module 
I am using is TODO notes (and that is where the \selectlanguage causes 
problems - it begins to show up within the text for the todo-note).

   I haven't messed with any other document setting.

   Does anyone know how and why this command shows up at all?

thanks,
Manoj


Re: What are custom insets?

2010-02-25 Thread Manoj Rajagopalan

Thanks, Vincent. I understand better now. I was trying to use the Todo-notes 
module but no custom TODO inset was showing up in the menu. Hence the (more 
general) question.

It turned out that the todonotes.module file was not available in my 
distribution (2.0.0svn) though it was a listed module so I had to download 
this file from the LyX wiki.

-- Manoj


On Thursday 25 February 2010 10:25:33 am Vincent van Ravesteijn - TNW wrote:
  I see the Insert-Custom insets in LyX but the submenu is always

 empty?

  Why is this so? What are custom insets and how are they meant to be

 used

 (if they can be created)?
 
 From the User Guide sec. A.4.8: Custom Insets: The section Flex insets

 and InsetLayout of the Customization manual explains how custom insets
 are defined.

 Vincent



Re: Mystified by \selectlanguage [modified]

2010-02-25 Thread Manoj Rajagopalan

Hi users,

   I've traced this to the use of the babel package - it seems to be 
automatically set for use in Tools-Preferences...-Language 
settings-Language dialog.

   What I find strange is that LyX seems to be introducing the \selectlanguage 
and \foreignlanguage commands in what appears to be a random fashion. When I 
create a new equation-reference, I get something like:

  \eqref{\selectlanguage{british}eq:myequation\selectlanguage{english}}

Does anyone know why these show up? In the language settings dialog I see 
options for Auto begin and Auto end which are checked in my case. Also, in 
the Command start: line-edit, I see \selectlanguage{$$language}. I am 
guessing it it these settings that are responsible for the spurious language 
switchings inside my \eqref. But if these are defaults for new documents, is 
there a reason why I may not have seen this before? How does the british 
language enter my document - the default is probably just English on my 
system. Even my \documentclass command (on latex export) shows the british 
option!

Thanks,
Manoj


On Thursday 25 February 2010 10:46:20 am Manoj Rajagopalan wrote:
 Hi users,

I find \selectlanguage{british} and \selectlanguage{english}
 automatically springing up in my exported latex code (I am not able to
 generate DVI from within lyx for this reason).

My document is a simple one with article document class. The only
 module I am using is TODO notes (and that is where the \selectlanguage
 causes problems - it begins to show up within the text for the todo-note).

I haven't messed with any other document setting.

Does anyone know how and why this command shows up at all?

 thanks,
 Manoj



Split table?

2010-02-25 Thread Manoj Rajagopalan
Hi lyx users,

   Is it possible to split a table and/or equation array from above or below 
the current cell?

thanks,
Manoj


text-mode macros?

2010-02-25 Thread Manoj Rajagopalan
Hi users,

I use math-macros in lyx but I was wondering if there is any way to 
achieve macros in text-mode. A use-case that I frequently encounter is to use 
either Eqn. or equation in front of equation-reference numbers when 
cross-referencing depending on which journal I am submitting my paper to. 
Right now, I am achieving this with branches for each journal that modify ERT 
definitions of a new latex command (eg. \newcommand{\eq}{Eqn.})

   Is there a text-mode macro feature in LyX, or is there a hack to achieve 
the same effect?

  The above use-case can be achieved through the hyperref package but that, at 
many times, opens another can of worms (spurious errors about extra '}', 
improper DVI generation etc.)

thanks,
Manoj


What are custom insets?

2010-02-25 Thread Manoj Rajagopalan
Hi users,

   I see the Insert-Custom insets in LyX but the submenu is always empty? 
Why is this so? What are custom insets and how are they meant to be used (if 
they can be created)?

thanks,
Manoj


Mystified by \selectlanguage

2010-02-25 Thread Manoj Rajagopalan
Hi users,

   I find \selectlanguage{british} and \selectlanguage{english} automatically 
springing up in my exported latex code (I am not able to generate DVI from 
within lyx for this reason).

   My document is a simple one with article document class. The only module 
I am using is TODO notes (and that is where the \selectlanguage causes 
problems - it begins to show up within the text for the todo-note).

   I haven't messed with any other document setting.

   Does anyone know how and why this command shows up at all?

thanks,
Manoj


Re: What are custom insets?

2010-02-25 Thread Manoj Rajagopalan

Thanks, Vincent. I understand better now. I was trying to use the Todo-notes 
module but no custom TODO inset was showing up in the menu. Hence the (more 
general) question.

It turned out that the todonotes.module file was not available in my 
distribution (2.0.0svn) though it was a listed module so I had to download 
this file from the LyX wiki.

-- Manoj


On Thursday 25 February 2010 10:25:33 am Vincent van Ravesteijn - TNW wrote:
  I see the Insert-Custom insets in LyX but the submenu is always

 empty?

  Why is this so? What are custom insets and how are they meant to be

 used

 (if they can be created)?
 
 From the User Guide sec. A.4.8: Custom Insets: The section Flex insets

 and InsetLayout of the Customization manual explains how custom insets
 are defined.

 Vincent



Re: Mystified by \selectlanguage [modified]

2010-02-25 Thread Manoj Rajagopalan

Hi users,

   I've traced this to the use of the babel package - it seems to be 
automatically set for use in Tools-Preferences...-Language 
settings-Language dialog.

   What I find strange is that LyX seems to be introducing the \selectlanguage 
and \foreignlanguage commands in what appears to be a random fashion. When I 
create a new equation-reference, I get something like:

  \eqref{\selectlanguage{british}eq:myequation\selectlanguage{english}}

Does anyone know why these show up? In the language settings dialog I see 
options for Auto begin and Auto end which are checked in my case. Also, in 
the Command start: line-edit, I see \selectlanguage{$$language}. I am 
guessing it it these settings that are responsible for the spurious language 
switchings inside my \eqref. But if these are defaults for new documents, is 
there a reason why I may not have seen this before? How does the british 
language enter my document - the default is probably just English on my 
system. Even my \documentclass command (on latex export) shows the british 
option!

Thanks,
Manoj


On Thursday 25 February 2010 10:46:20 am Manoj Rajagopalan wrote:
 Hi users,

I find \selectlanguage{british} and \selectlanguage{english}
 automatically springing up in my exported latex code (I am not able to
 generate DVI from within lyx for this reason).

My document is a simple one with article document class. The only
 module I am using is TODO notes (and that is where the \selectlanguage
 causes problems - it begins to show up within the text for the todo-note).

I haven't messed with any other document setting.

Does anyone know how and why this command shows up at all?

 thanks,
 Manoj



Split table?

2010-02-25 Thread Manoj Rajagopalan
Hi lyx users,

   Is it possible to split a table and/or equation array from above or below 
the current cell?

thanks,
Manoj


text-mode macros?

2010-02-25 Thread Manoj Rajagopalan
Hi users,

I use math-macros in lyx but I was wondering if there is any way to 
achieve macros in text-mode. A use-case that I frequently encounter is to use 
either "Eqn." or "equation" in front of equation-reference numbers when 
cross-referencing depending on which journal I am submitting my paper to. 
Right now, I am achieving this with branches for each journal that modify ERT 
definitions of a new latex command (eg. \newcommand{\eq}{Eqn.})

   Is there a text-mode macro feature in LyX, or is there a hack to achieve 
the same effect?

  The above use-case can be achieved through the hyperref package but that, at 
many times, opens another can of worms (spurious errors about extra '}', 
improper DVI generation etc.)

thanks,
Manoj


What are custom insets?

2010-02-25 Thread Manoj Rajagopalan
Hi users,

   I see the Insert->Custom insets> in LyX but the submenu is always empty? 
Why is this so? What are custom insets and how are they meant to be used (if 
they can be created)?

thanks,
Manoj


Mystified by \selectlanguage

2010-02-25 Thread Manoj Rajagopalan
Hi users,

   I find \selectlanguage{british} and \selectlanguage{english} automatically 
springing up in my exported latex code (I am not able to generate DVI from 
within lyx for this reason).

   My document is a simple one with "article" document class. The only module 
I am using is TODO notes (and that is where the \selectlanguage causes 
problems - it begins to show up within the text for the todo-note).

   I haven't messed with any other document setting.

   Does anyone know how and why this command shows up at all?

thanks,
Manoj


Re: What are custom insets?

2010-02-25 Thread Manoj Rajagopalan

Thanks, Vincent. I understand better now. I was trying to use the Todo-notes 
module but no custom TODO inset was showing up in the menu. Hence the (more 
general) question.

It turned out that the todonotes.module file was not available in my 
distribution (2.0.0svn) though it was a listed module so I had to download 
this file from the LyX wiki.

-- Manoj


On Thursday 25 February 2010 10:25:33 am Vincent van Ravesteijn - TNW wrote:
> > I see the Insert->Custom insets> in LyX but the submenu is always
>
> empty?
>
> > Why is this so? What are custom insets and how are they meant to be
>
> used
>
> >(if they can be created)?
> >
> >From the User Guide sec. A.4.8: "Custom Insets: The section Flex insets
>
> and InsetLayout of the Customization manual explains how custom insets
> are defined."
>
> Vincent



Re: Mystified by \selectlanguage [modified]

2010-02-25 Thread Manoj Rajagopalan

Hi users,

   I've traced this to the use of the babel package - it seems to be 
automatically set for use in Tools->Preferences...->Language 
settings->Language dialog.

   What I find strange is that LyX seems to be introducing the \selectlanguage 
and \foreignlanguage commands in what appears to be a random fashion. When I 
create a new equation-reference, I get something like:

  \eqref{\selectlanguage{british}eq:myequation\selectlanguage{english}}

Does anyone know why these show up? In the language settings dialog I see 
options for Auto begin and Auto end which are checked in my case. Also, in 
the "Command start:" line-edit, I see "\selectlanguage{$$language}". I am 
guessing it it these settings that are responsible for the spurious language 
switchings inside my \eqref. But if these are defaults for new documents, is 
there a reason why I may not have seen this before? How does the "british" 
language enter my document - the default is probably just "English" on my 
system. Even my \documentclass command (on latex export) shows the british 
option!

Thanks,
Manoj


On Thursday 25 February 2010 10:46:20 am Manoj Rajagopalan wrote:
> Hi users,
>
>I find \selectlanguage{british} and \selectlanguage{english}
> automatically springing up in my exported latex code (I am not able to
> generate DVI from within lyx for this reason).
>
>My document is a simple one with "article" document class. The only
> module I am using is TODO notes (and that is where the \selectlanguage
> causes problems - it begins to show up within the text for the todo-note).
>
>I haven't messed with any other document setting.
>
>Does anyone know how and why this command shows up at all?
>
> thanks,
> Manoj



Split table?

2010-02-25 Thread Manoj Rajagopalan
Hi lyx users,

   Is it possible to split a table and/or equation array from above or below 
the current cell?

thanks,
Manoj


Re: Export latex - any way to inline bibtex formatted refs? [YES!]

2010-02-24 Thread Manoj Rajagopalan

Hi Richard, Ehud (and other lyx users),

   Based on Richard's suggestions below, I have worked out a way to inline the 
refs.

  2. How and when is a copier invoked? For exporting latex with inline
  bibliography, I will need to:
  (1) generate the latex file from lyx,
  (2) run latex on this file to generate the .aux file,
  (3) run bibtex on the .aux file,
  (4) replace the bibtex bibliography command with the .bbl file text as
  you mentioned.

 The first two are easy. We define a new format, say ltx2, and define a
 LyX--ltx2 converter, with the needaux extra flag set. (See
 Customization, section 3.3.) The last is of course what your python
 script will do. The third will probably also have to be done from your
 python script, though this shouldn't be very difficult. You might also
 want to suggest a new flag, bibtex, that would cause LyX to run bibtex
 as well as latex. This would be useful in other situations, I am sure.


   I created a new output format like you mentioned in 
Tools-Preferences-File handling-File formats and then created a new 
converter definition in Tools-Preferences-File handling-Converters 
providing the command:

python path/IncludeBib.py $$i $$o

  I got the file IncludeBib.py from the log for issue #4624 in trac: 

http://www.lyx.org/trac/ticket/4624

I can now choose File-Export-ltx2 and I get my .tex file with references 
inlined. Since the IncludeBib.py takes care of running latex to get the .aux 
I didn't need the needaux flag. I get a status-bar message saying 
conversion failed but the .tex is created just fine so this issue can be 
lived with.

I'm in the process of creating a FAQ item that I intend to post on the wiki, 
with screenshots.

Thanks,
Manoj


Re: Export latex - any way to inline bibtex formatted refs? [YES!]

2010-02-24 Thread Manoj Rajagopalan

Hi Richard, Ehud (and other lyx users),

   Based on Richard's suggestions below, I have worked out a way to inline the 
refs.

  2. How and when is a copier invoked? For exporting latex with inline
  bibliography, I will need to:
  (1) generate the latex file from lyx,
  (2) run latex on this file to generate the .aux file,
  (3) run bibtex on the .aux file,
  (4) replace the bibtex bibliography command with the .bbl file text as
  you mentioned.

 The first two are easy. We define a new format, say ltx2, and define a
 LyX--ltx2 converter, with the needaux extra flag set. (See
 Customization, section 3.3.) The last is of course what your python
 script will do. The third will probably also have to be done from your
 python script, though this shouldn't be very difficult. You might also
 want to suggest a new flag, bibtex, that would cause LyX to run bibtex
 as well as latex. This would be useful in other situations, I am sure.


   I created a new output format like you mentioned in 
Tools-Preferences-File handling-File formats and then created a new 
converter definition in Tools-Preferences-File handling-Converters 
providing the command:

python path/IncludeBib.py $$i $$o

  I got the file IncludeBib.py from the log for issue #4624 in trac: 

http://www.lyx.org/trac/ticket/4624

I can now choose File-Export-ltx2 and I get my .tex file with references 
inlined. Since the IncludeBib.py takes care of running latex to get the .aux 
I didn't need the needaux flag. I get a status-bar message saying 
conversion failed but the .tex is created just fine so this issue can be 
lived with.

I'm in the process of creating a FAQ item that I intend to post on the wiki, 
with screenshots.

Thanks,
Manoj


Re: Export latex - any way to inline bibtex formatted refs? [YES!]

2010-02-24 Thread Manoj Rajagopalan

Hi Richard, Ehud (and other lyx users),

   Based on Richard's suggestions below, I have worked out a way to inline the 
refs.

> > 2. How and when is a copier invoked? For exporting latex with inline
> > bibliography, I will need to:
> > (1) generate the latex file from lyx,
> > (2) run latex on this file to generate the .aux file,
> > (3) run bibtex on the .aux file,
> > (4) replace the bibtex bibliography command with the .bbl file text as
> > you mentioned.
>
> The first two are easy. We define a new format, say ltx2, and define a
> LyX-->ltx2 converter, with the "needaux" extra flag set. (See
> Customization, section 3.3.) The last is of course what your python
> script will do. The third will probably also have to be done from your
> python script, though this shouldn't be very difficult. You might also
> want to suggest a new flag, bibtex, that would cause LyX to run bibtex
> as well as latex. This would be useful in other situations, I am sure.
>

   I created a new output format like you mentioned in 
Tools->Preferences->File handling->File formats and then created a new 
converter definition in Tools->Preferences->File handling->Converters 
providing the command:

python /IncludeBib.py $$i $$o

  I got the file IncludeBib.py from the log for issue #4624 in trac: 

http://www.lyx.org/trac/ticket/4624

I can now choose File->Export->ltx2 and I get my .tex file with references 
inlined. Since the IncludeBib.py takes care of running latex to get the .aux 
I didn't need the "needaux" flag. I get a status-bar message saying 
conversion failed but the .tex is created just fine so this issue can be 
lived with.

I'm in the process of creating a FAQ item that I intend to post on the wiki, 
with screenshots.

Thanks,
Manoj


Re: acknowledgement

2010-02-22 Thread Manoj Rajagopalan

Most document classes have a layout file by the same name. There is a 
report.layout in the libs/ subdir of your lyx installation. On Linux, this 
would be, for example, /usr/share/lyx/libs/report.layout - I don't know where 
this resides on windows (try a find for this file name).

You can copy this layout to a local directory and modify it and then supply 
this from Document-Settings...-Document class-Local layout ...

The Customization manual can be invoked from the LyX Help menu.

cheers!
Manoj



On Monday 22 February 2010 12:31:20 pm Sajjad wrote:
 On Sun, Feb 21, 2010 at 9:18 PM, Manoj Rajagopalan rma...@umich.edu wrote:
  You could copy the layout file corresponding to your documentclass,
  modify that changing youxr fontsize etc., possibly introduce a new section
  and map it
  to the appropriate latexname, and use that as your layout. This is quite
  simple and the learning curve should take you a couple of days at most.

 Could you please expalin which layout do i have to copy and where to?

  Before you do this, check to see if your document class provides support
  for
  acknowledgements, directly or indirectly. With the layout file approach
  you might be able to create an Acknowledgements section which is a
  combination of
  a section with custom formatting info (like heading level, style,  etc.)
  which.

 I am using the report document class to write my thesis.

  One of the lyx help manuals (Customization?) documents this procedure
  very well.

 Link to  that manual will be very helpful, since there are many version of
 manuals

  -- Manoj

 Regards
 Sajjad

   On Sunday 21 February 2010 12:09:14 pm Sajjad wrote:
   Hello forum,
  
   I am about to finish my thesis work and i am stuck with some issues in
 
  LyX.
 
   One of them is writing Acknowledgement section.
  
   I see that there is no separate environment for this.
  
  
   I would like to have Acknowledgement right after Abstract and like to
 
  have
 
   the same font size as Abstract heading and centralized.
  
  
   Any hint?
  
  
   Regards
   Sajjad



Re: acknowledgement

2010-02-22 Thread Manoj Rajagopalan

Most document classes have a layout file by the same name. There is a 
report.layout in the libs/ subdir of your lyx installation. On Linux, this 
would be, for example, /usr/share/lyx/libs/report.layout - I don't know where 
this resides on windows (try a find for this file name).

You can copy this layout to a local directory and modify it and then supply 
this from Document-Settings...-Document class-Local layout ...

The Customization manual can be invoked from the LyX Help menu.

cheers!
Manoj



On Monday 22 February 2010 12:31:20 pm Sajjad wrote:
 On Sun, Feb 21, 2010 at 9:18 PM, Manoj Rajagopalan rma...@umich.edu wrote:
  You could copy the layout file corresponding to your documentclass,
  modify that changing youxr fontsize etc., possibly introduce a new section
  and map it
  to the appropriate latexname, and use that as your layout. This is quite
  simple and the learning curve should take you a couple of days at most.

 Could you please expalin which layout do i have to copy and where to?

  Before you do this, check to see if your document class provides support
  for
  acknowledgements, directly or indirectly. With the layout file approach
  you might be able to create an Acknowledgements section which is a
  combination of
  a section with custom formatting info (like heading level, style,  etc.)
  which.

 I am using the report document class to write my thesis.

  One of the lyx help manuals (Customization?) documents this procedure
  very well.

 Link to  that manual will be very helpful, since there are many version of
 manuals

  -- Manoj

 Regards
 Sajjad

   On Sunday 21 February 2010 12:09:14 pm Sajjad wrote:
   Hello forum,
  
   I am about to finish my thesis work and i am stuck with some issues in
 
  LyX.
 
   One of them is writing Acknowledgement section.
  
   I see that there is no separate environment for this.
  
  
   I would like to have Acknowledgement right after Abstract and like to
 
  have
 
   the same font size as Abstract heading and centralized.
  
  
   Any hint?
  
  
   Regards
   Sajjad



Re: acknowledgement

2010-02-22 Thread Manoj Rajagopalan

Most document classes have a layout file by the same name. There is a 
report.layout in the libs/ subdir of your lyx installation. On Linux, this 
would be, for example, /usr/share/lyx/libs/report.layout - I don't know where 
this resides on windows (try a find for this file name).

You can copy this layout to a local directory and modify it and then supply 
this from Document->Settings...->Document class->Local layout ...

The Customization manual can be invoked from the LyX Help menu.

cheers!
Manoj



On Monday 22 February 2010 12:31:20 pm Sajjad wrote:
> On Sun, Feb 21, 2010 at 9:18 PM, Manoj Rajagopalan <rma...@umich.edu> wrote:
> > You could copy the layout file corresponding to your documentclass,
> > modify that changing youxr fontsize etc., possibly introduce a new section
> > and map it
> > to the appropriate latexname, and use that as your layout. This is quite
> > simple and the learning curve should take you a couple of days at most.
>
> Could you please expalin which layout do i have to copy and where to?
>
> > Before you do this, check to see if your document class provides support
> > for
> > acknowledgements, directly or indirectly. With the layout file approach
> > you might be able to create an Acknowledgements section which is a
> > combination of
> > a section with custom formatting info (like heading level, style,  etc.)
> > which.
>
> I am using the report document class to write my thesis.
>
> > One of the lyx help manuals (Customization?) documents this procedure
> > very well.
>
> Link to  that manual will be very helpful, since there are many version of
> manuals
>
> > -- Manoj
>
> Regards
> Sajjad
>
> >  On Sunday 21 February 2010 12:09:14 pm Sajjad wrote:
> > > Hello forum,
> > >
> > > I am about to finish my thesis work and i am stuck with some issues in
> >
> > LyX.
> >
> > > One of them is writing Acknowledgement section.
> > >
> > > I see that there is no separate environment for this.
> > >
> > >
> > > I would like to have Acknowledgement right after Abstract and like to
> >
> > have
> >
> > > the same font size as "Abstract" heading and centralized.
> > >
> > >
> > > Any hint?
> > >
> > >
> > > Regards
> > > Sajjad



Quick qn: modifying layout file

2010-02-21 Thread Manoj Rajagopalan
Hi all,
 
I have created a layout file for the journal Proc. Roy. Soc. A. When I 
click start appendix here within lyx, the latex source shows \appendix but 
I need \appendix{}. So far I am managing with ERT but it seems possible to be 
able to modify the layout file to to emit the trailing {}. How can this be 
achieved?

   The layout files accompanying lyx seem to have an include hierarchy and 
while I dig through it, a tip would sure help! :-)

Thanks,
Manoj


Tabular environments: swap adjacent rows/columns possible?

2010-02-21 Thread Manoj Rajagopalan
Hi all,

   On occasion, I find myself wishing to reorder rows and/or columns in my lyx 
document. Is this possible either through some menu or some lyx function?

thanks,
Manoj


Re: acknowledgement

2010-02-21 Thread Manoj Rajagopalan

You could copy the layout file corresponding to your documentclass, modify 
that changing your fontsize etc., possibly introduce a new section and map it 
to the appropriate latexname, and use that as your layout. This is quite 
simple and the learning curve should take you a couple of days at most.

Before you do this, check to see if your document class provides support for 
acknowledgements, directly or indirectly. With the layout file approach you 
might be able to create an Acknowledgements section which is a combination of 
a section with custom formatting info (like heading level, style,  etc.) 
which.

One of the lyx help manuals (Customization?) documents this procedure very 
well.

-- Manoj


On Sunday 21 February 2010 12:09:14 pm Sajjad wrote:
 Hello forum,

 I am about to finish my thesis work and i am stuck with some issues in LyX.

 One of them is writing Acknowledgement section.

 I see that there is no separate environment for this.


 I would like to have Acknowledgement right after Abstract and like to have
 the same font size as Abstract heading and centralized.


 Any hint?


 Regards
 Sajjad



Re: nesting section

2010-02-21 Thread Manoj Rajagopalan

Use the Paragraph and Subparagraph environments. You can control their 
numbering levels from the Document-Settings... dialog.

I am not sure if latex allows deeper nesting and for that reason, if lyx does.

-- Manoj


On Sunday 21 February 2010 04:43:19 pm Sajjad wrote:
 Hello forum,

 In  the lyx environment we have section, subsection, subsubsection. If i
 want to go more into the hierarchy how is it possible in LyX?


 Regards
 Sajjad



Re: image after the title page

2010-02-21 Thread Manoj Rajagopalan

You could create a single-cell table and then perform Insert-Graphics... The 
table should anchor your image. Or you could create an figure float and in 
the float settings (right-click on the float label for popup menu), request 
that the figure is placed at that point.

This is how you could do it for any page. Not sure if the title page is any 
different. Try this anyway.

-- Manoj


On Sunday 21 February 2010 12:56:56 pm Sajjad wrote:
 Hello forum,

 I want to add an image somewhere in the front page (title page).


 Is that possible in the LyX?


 Regards
 Sajjad



Quick qn: modifying layout file

2010-02-21 Thread Manoj Rajagopalan
Hi all,
 
I have created a layout file for the journal Proc. Roy. Soc. A. When I 
click start appendix here within lyx, the latex source shows \appendix but 
I need \appendix{}. So far I am managing with ERT but it seems possible to be 
able to modify the layout file to to emit the trailing {}. How can this be 
achieved?

   The layout files accompanying lyx seem to have an include hierarchy and 
while I dig through it, a tip would sure help! :-)

Thanks,
Manoj


Tabular environments: swap adjacent rows/columns possible?

2010-02-21 Thread Manoj Rajagopalan
Hi all,

   On occasion, I find myself wishing to reorder rows and/or columns in my lyx 
document. Is this possible either through some menu or some lyx function?

thanks,
Manoj


Re: acknowledgement

2010-02-21 Thread Manoj Rajagopalan

You could copy the layout file corresponding to your documentclass, modify 
that changing your fontsize etc., possibly introduce a new section and map it 
to the appropriate latexname, and use that as your layout. This is quite 
simple and the learning curve should take you a couple of days at most.

Before you do this, check to see if your document class provides support for 
acknowledgements, directly or indirectly. With the layout file approach you 
might be able to create an Acknowledgements section which is a combination of 
a section with custom formatting info (like heading level, style,  etc.) 
which.

One of the lyx help manuals (Customization?) documents this procedure very 
well.

-- Manoj


On Sunday 21 February 2010 12:09:14 pm Sajjad wrote:
 Hello forum,

 I am about to finish my thesis work and i am stuck with some issues in LyX.

 One of them is writing Acknowledgement section.

 I see that there is no separate environment for this.


 I would like to have Acknowledgement right after Abstract and like to have
 the same font size as Abstract heading and centralized.


 Any hint?


 Regards
 Sajjad



Re: nesting section

2010-02-21 Thread Manoj Rajagopalan

Use the Paragraph and Subparagraph environments. You can control their 
numbering levels from the Document-Settings... dialog.

I am not sure if latex allows deeper nesting and for that reason, if lyx does.

-- Manoj


On Sunday 21 February 2010 04:43:19 pm Sajjad wrote:
 Hello forum,

 In  the lyx environment we have section, subsection, subsubsection. If i
 want to go more into the hierarchy how is it possible in LyX?


 Regards
 Sajjad



Re: image after the title page

2010-02-21 Thread Manoj Rajagopalan

You could create a single-cell table and then perform Insert-Graphics... The 
table should anchor your image. Or you could create an figure float and in 
the float settings (right-click on the float label for popup menu), request 
that the figure is placed at that point.

This is how you could do it for any page. Not sure if the title page is any 
different. Try this anyway.

-- Manoj


On Sunday 21 February 2010 12:56:56 pm Sajjad wrote:
 Hello forum,

 I want to add an image somewhere in the front page (title page).


 Is that possible in the LyX?


 Regards
 Sajjad



Quick qn: modifying layout file

2010-02-21 Thread Manoj Rajagopalan
Hi all,
 
I have created a layout file for the journal Proc. Roy. Soc. A. When I 
click "start appendix here" within lyx, the latex source shows \appendix but 
I need \appendix{}. So far I am managing with ERT but it seems possible to be 
able to modify the layout file to to emit the trailing {}. How can this be 
achieved?

   The layout files accompanying lyx seem to have an include hierarchy and 
while I dig through it, a tip would sure help! :-)

Thanks,
Manoj


Tabular environments: swap adjacent rows/columns possible?

2010-02-21 Thread Manoj Rajagopalan
Hi all,

   On occasion, I find myself wishing to reorder rows and/or columns in my lyx 
document. Is this possible either through some menu or some lyx function?

thanks,
Manoj


Re: acknowledgement

2010-02-21 Thread Manoj Rajagopalan

You could copy the layout file corresponding to your documentclass, modify 
that changing your fontsize etc., possibly introduce a new section and map it 
to the appropriate latexname, and use that as your layout. This is quite 
simple and the learning curve should take you a couple of days at most.

Before you do this, check to see if your document class provides support for 
acknowledgements, directly or indirectly. With the layout file approach you 
might be able to create an Acknowledgements section which is a combination of 
a section with custom formatting info (like heading level, style,  etc.) 
which.

One of the lyx help manuals (Customization?) documents this procedure very 
well.

-- Manoj


On Sunday 21 February 2010 12:09:14 pm Sajjad wrote:
> Hello forum,
>
> I am about to finish my thesis work and i am stuck with some issues in LyX.
>
> One of them is writing Acknowledgement section.
>
> I see that there is no separate environment for this.
>
>
> I would like to have Acknowledgement right after Abstract and like to have
> the same font size as "Abstract" heading and centralized.
>
>
> Any hint?
>
>
> Regards
> Sajjad



Re: nesting section

2010-02-21 Thread Manoj Rajagopalan

Use the Paragraph and Subparagraph environments. You can control their 
numbering levels from the Document->Settings... dialog.

I am not sure if latex allows deeper nesting and for that reason, if lyx does.

-- Manoj


On Sunday 21 February 2010 04:43:19 pm Sajjad wrote:
> Hello forum,
>
> In  the lyx environment we have section, subsection, subsubsection. If i
> want to go more into the hierarchy how is it possible in LyX?
>
>
> Regards
> Sajjad



Re: image after the title page

2010-02-21 Thread Manoj Rajagopalan

You could create a single-cell table and then perform Insert->Graphics... The 
table should anchor your image. Or you could create an figure float and in 
the float settings (right-click on the float label for popup menu), request 
that the figure is placed at that point.

This is how you could do it for any page. Not sure if the title page is any 
different. Try this anyway.

-- Manoj


On Sunday 21 February 2010 12:56:56 pm Sajjad wrote:
> Hello forum,
>
> I want to add an image somewhere in the front page (title page).
>
>
> Is that possible in the LyX?
>
>
> Regards
> Sajjad



Export latex - any way to inline bibtex formatted refs?

2010-02-20 Thread Manoj Rajagopalan
Hi all,

   A journal I am planning to submit a paper to wants all references to be 
inlined into the main .tex file - they don't accept separate bibtex files 
or .bbl files. Is there any way to achieve this with LyX when I export to 
latex? If not with lyx only, is there any other way to achieve the same 
effect using a combination of lyx and shell scripts? My platform is KUbuntu 
8.04 / i686

Thanks,
Manoj


Export latex - any way to inline bibtex formatted refs?

2010-02-20 Thread Manoj Rajagopalan
Hi all,

   A journal I am planning to submit a paper to wants all references to be 
inlined into the main .tex file - they don't accept separate bibtex files 
or .bbl files. Is there any way to achieve this with LyX when I export to 
latex? If not with lyx only, is there any other way to achieve the same 
effect using a combination of lyx and shell scripts? My platform is KUbuntu 
8.04 / i686

Thanks,
Manoj


Export latex - any way to inline bibtex formatted refs?

2010-02-20 Thread Manoj Rajagopalan
Hi all,

   A journal I am planning to submit a paper to wants all references to be 
inlined into the main .tex file - they don't accept separate bibtex files 
or .bbl files. Is there any way to achieve this with LyX when I export to 
latex? If not with lyx only, is there any other way to achieve the same 
effect using a combination of lyx and shell scripts? My platform is KUbuntu 
8.04 / i686

Thanks,
Manoj


How to avoid 3-column eqnarray formatting

2010-01-09 Thread Manoj Rajagopalan
Hi all,

  When I begin a numbered-formula or a displayed formula, whenever my equation 
includes at least one operator, pressing Ctrl-Enter creates a new row with 3 
columns. The operator splits the 'tokens' forming the equation into 3 columns 
so that operators in various rows are neatly aligned vertically.

   How does one turn this behavior off? The above feature is useful only if 
all equations in one array are 'balanced' with all LHS being roughly the same 
size and I don't find this to be the common case for my work :-(

thanks,
Manoj


How to avoid 3-column eqnarray formatting

2010-01-09 Thread Manoj Rajagopalan
Hi all,

  When I begin a numbered-formula or a displayed formula, whenever my equation 
includes at least one operator, pressing Ctrl-Enter creates a new row with 3 
columns. The operator splits the 'tokens' forming the equation into 3 columns 
so that operators in various rows are neatly aligned vertically.

   How does one turn this behavior off? The above feature is useful only if 
all equations in one array are 'balanced' with all LHS being roughly the same 
size and I don't find this to be the common case for my work :-(

thanks,
Manoj


How to avoid 3-column eqnarray formatting

2010-01-09 Thread Manoj Rajagopalan
Hi all,

  When I begin a numbered-formula or a displayed formula, whenever my equation 
includes at least one operator, pressing Ctrl-Enter creates a new row with 3 
columns. The operator splits the 'tokens' forming the equation into 3 columns 
so that operators in various rows are neatly aligned vertically.

   How does one turn this behavior off? The above feature is useful only if 
all equations in one array are 'balanced' with all LHS being roughly the same 
size and I don't find this to be the common case for my work :-(

thanks,
Manoj


Re: Lyx in Fedora 12

2010-01-06 Thread Manoj Rajagopalan

This is probably a packaging error on Fedora 12. Have you tried to discover 
and contact the maintainer for this package?

-- Manoj


On Wednesday 06 January 2010 08:05:39 am Dr. Gyorgy Pota wrote:
 Dear Users,

 Lyx did not show any eps figures in a freshly installed Fedora 12
 system. Running Lyx in a terminal revealed that convert was
 unsuccesful. Finally it turned out that ImageMagick was not installed
 for  Lyx although I installed Lyx via yum, which, in principle, installs
 everything necessary. I was so angry, I almost went back to a well-known
 non-free op. system and to its famous word processor. :-)

 I hope this helps some of you.

 Gyorgy Pota



Re: Lyx in Fedora 12

2010-01-06 Thread Manoj Rajagopalan

This is probably a packaging error on Fedora 12. Have you tried to discover 
and contact the maintainer for this package?

-- Manoj


On Wednesday 06 January 2010 08:05:39 am Dr. Gyorgy Pota wrote:
 Dear Users,

 Lyx did not show any eps figures in a freshly installed Fedora 12
 system. Running Lyx in a terminal revealed that convert was
 unsuccesful. Finally it turned out that ImageMagick was not installed
 for  Lyx although I installed Lyx via yum, which, in principle, installs
 everything necessary. I was so angry, I almost went back to a well-known
 non-free op. system and to its famous word processor. :-)

 I hope this helps some of you.

 Gyorgy Pota



Re: Lyx in Fedora 12

2010-01-06 Thread Manoj Rajagopalan

This is probably a packaging error on Fedora 12. Have you tried to discover 
and contact the maintainer for this package?

-- Manoj


On Wednesday 06 January 2010 08:05:39 am Dr. Gyorgy Pota wrote:
> Dear Users,
>
> Lyx did not show any eps figures in a freshly installed Fedora 12
> system. Running Lyx in a terminal revealed that "convert" was
> unsuccesful. Finally it turned out that ImageMagick was not installed
> for  Lyx although I installed Lyx via yum, which, in principle, installs
> everything necessary. I was so angry, I almost went back to a well-known
> non-free op. system and to its famous word processor. :-)
>
> I hope this helps some of you.
>
> Gyorgy Pota



Re: OT: copy a modern greek-encoded text

2009-12-28 Thread Manoj Rajagopalan

Maybe Adobe performs some kind of OCR when you select a piece of text from a 
PDF document and tries to copy what it can infer onto the clipboard. In that 
case it might just not be as good with Greek as it is with English. When i 
tried to select a line, the selection highlight background spilled over to 
neighbouring lines so acrobat reader wasn't very good with identifying line 
boundaries to start with. I am using Acrobat 9.0 on KUbuntu 8.04.

Have you tried googling for phrases like acrobat copy 
greek/international ...

cheers!
Manoj


On Monday 28 December 2009 08:44:20 am Piero Faustini wrote:
 Hello,I know this is a bit off-topic (well, COMPLETELY off-topic) but I ask
 in this newsl because I know there are some guys with international
 languages coding knoledges who could at least redirect me to some other
 community for this kind of problems.I need to copy some text (ok, I confess
 I would like to use googletranslate to know what's about!) in a pdf
 document which stays at this location:
 http://www.ionio.gr/~GreekMus/articles/samaras.pdfAnyway, I tried to copy
 the text to some editor/wp but always failed and found only bad characters,
 saving only some words coded in latin alphabet.Maybe a greek user can copy
 and then repaste the text in a suitable format.Any other
 ideas/help?ThanksPiero
 _
 25 Gigabyte per le tue foto online
 http://www.windowslive.it/foto.aspx



Re: OT: copy a modern greek-encoded text

2009-12-28 Thread Manoj Rajagopalan

Maybe Adobe performs some kind of OCR when you select a piece of text from a 
PDF document and tries to copy what it can infer onto the clipboard. In that 
case it might just not be as good with Greek as it is with English. When i 
tried to select a line, the selection highlight background spilled over to 
neighbouring lines so acrobat reader wasn't very good with identifying line 
boundaries to start with. I am using Acrobat 9.0 on KUbuntu 8.04.

Have you tried googling for phrases like acrobat copy 
greek/international ...

cheers!
Manoj


On Monday 28 December 2009 08:44:20 am Piero Faustini wrote:
 Hello,I know this is a bit off-topic (well, COMPLETELY off-topic) but I ask
 in this newsl because I know there are some guys with international
 languages coding knoledges who could at least redirect me to some other
 community for this kind of problems.I need to copy some text (ok, I confess
 I would like to use googletranslate to know what's about!) in a pdf
 document which stays at this location:
 http://www.ionio.gr/~GreekMus/articles/samaras.pdfAnyway, I tried to copy
 the text to some editor/wp but always failed and found only bad characters,
 saving only some words coded in latin alphabet.Maybe a greek user can copy
 and then repaste the text in a suitable format.Any other
 ideas/help?ThanksPiero
 _
 25 Gigabyte per le tue foto online
 http://www.windowslive.it/foto.aspx



Re: OT: copy a modern greek-encoded text

2009-12-28 Thread Manoj Rajagopalan

Maybe Adobe performs some kind of OCR when you select a piece of text from a 
PDF document and tries to copy what it can infer onto the clipboard. In that 
case it might just not be as good with Greek as it is with English. When i 
tried to select a line, the selection highlight background spilled over to 
neighbouring lines so acrobat reader wasn't very good with identifying line 
boundaries to start with. I am using Acrobat 9.0 on KUbuntu 8.04.

Have you tried googling for phrases like "acrobat copy 
greek/international ..."

cheers!
Manoj


On Monday 28 December 2009 08:44:20 am Piero Faustini wrote:
> Hello,I know this is a bit off-topic (well, COMPLETELY off-topic) but I ask
> in this newsl because I know there are some guys with international
> languages coding knoledges who could at least redirect me to some other
> community for this kind of problems.I need to copy some text (ok, I confess
> I would like to use googletranslate to know what's about!) in a pdf
> document which stays at this location:
> http://www.ionio.gr/~GreekMus/articles/samaras.pdfAnyway, I tried to copy
> the text to some editor/wp but always failed and found only bad characters,
> saving only some words coded in latin alphabet.Maybe a greek user can copy
> and then repaste the text in a suitable format.Any other
> ideas/help?ThanksPiero
> _
> 25 Gigabyte per le tue foto online
> http://www.windowslive.it/foto.aspx



Pre-bug query on UNDO functionality: 2.0.0svn

2009-09-28 Thread Manoj Rajagopalan
Hi lyx-users,

   I am experiencing problems with the undo feature on the SVN trunk version 
of LyX and I'd like to know if anyone else is experiencing something similar.

   When I press Ctrl-Z, a whole bunch of changes gets undone as opposed to 
just the most recent one. Developers, it seems like there is some problem 
with the events that trigger undo-checkpointing in the code.

  I am unable to reproduce this on a small file for filing a bug-report. This 
bug surfaces only in a large LyX file that is about to become a paper I want 
to submit :-(

Thanks,
Manoj


Pre-bug query on UNDO functionality: 2.0.0svn

2009-09-28 Thread Manoj Rajagopalan
Hi lyx-users,

   I am experiencing problems with the undo feature on the SVN trunk version 
of LyX and I'd like to know if anyone else is experiencing something similar.

   When I press Ctrl-Z, a whole bunch of changes gets undone as opposed to 
just the most recent one. Developers, it seems like there is some problem 
with the events that trigger undo-checkpointing in the code.

  I am unable to reproduce this on a small file for filing a bug-report. This 
bug surfaces only in a large LyX file that is about to become a paper I want 
to submit :-(

Thanks,
Manoj


Pre-bug query on UNDO functionality: 2.0.0svn

2009-09-28 Thread Manoj Rajagopalan
Hi lyx-users,

   I am experiencing problems with the undo feature on the SVN trunk version 
of LyX and I'd like to know if anyone else is experiencing something similar.

   When I press Ctrl-Z, a whole bunch of changes gets undone as opposed to 
just the most recent one. Developers, it seems like there is some problem 
with the events that trigger undo-checkpointing in the code.

  I am unable to reproduce this on a small file for filing a bug-report. This 
bug surfaces only in a large LyX file that is about to become a paper I want 
to submit :-(

Thanks,
Manoj


\sideset command supported?

2009-09-23 Thread Manoj Rajagopalan
Hi,

  LaTeX allows the \sideset command to position superscripts and subscripts on 
the left side also. For example,

   \sideset{_a^b}{_c^d} M prints 'M' with 'a' at its lower-left, 'b' at is 
upper-left, and with 'c' and 'd' at normal subscript and superscript 
positions.

  Can this effect be invoked in LyX?

thanks,
Manoj


Re: \sideset command supported?

2009-09-23 Thread Manoj Rajagopalan

Hi Paul,

  Thanks, I understand now. Earlier, I didn't know that \sideset works only 
for mathematical operators and I used 'M' just as an example. My question was 
whether there is a LyX function that supports similar rendering and if either 
this or \sideset would show up on the DVI/PDF. You've answered the latter and 
helped me understand better.

thanks,
Manoj


On Wednesday 23 September 2009 02:17:38 pm Paul A. Rubin wrote:
 Manoj Rajagopalan wrote:
  Hi,
 
LaTeX allows the \sideset command to position superscripts and
  subscripts on the left side also. For example,
 
 \sideset{_a^b}{_c^d} M prints 'M' with 'a' at its lower-left, 'b' at
  is upper-left, and with 'c' and 'd' at normal subscript and superscript
  positions.
 
Can this effect be invoked in LyX?

 \sideset wants to be followed by an operator -- do you have a way to
 convince LaTeX 'M' is an operator?  I get an error message when I try
 the above.

 That said, \sideset{_a^b}{_c^d}\prod works in LyX -- the formula does
 not look right in the GUI (meaning that LyX will not translate \sideset
 into the appropriate visual effects) but the DVI/PDF output will be
 correct.  (If you turn on instant preview for formulas, it will show up
 in the GUI as well.)  Entering it is a bit finicky, but not too hard.
 Starting inside a math inset, the keystrokes are as follows (` indicates
 a space):

 1. \sideset`  (appears verbatim in the math inset -- should change font
 after the space is entered)
 2. \{  (creates both opening and closing braces)
 3. _a`^b`
 4. (cursor out of the braces but stay inside the inset)
 5. \{
 6. _c`^d`
 7. (cursor out of the braces but stay inside the inset)
 8. \prod`

 /Paul



\sideset command supported?

2009-09-23 Thread Manoj Rajagopalan
Hi,

  LaTeX allows the \sideset command to position superscripts and subscripts on 
the left side also. For example,

   \sideset{_a^b}{_c^d} M prints 'M' with 'a' at its lower-left, 'b' at is 
upper-left, and with 'c' and 'd' at normal subscript and superscript 
positions.

  Can this effect be invoked in LyX?

thanks,
Manoj


Re: \sideset command supported?

2009-09-23 Thread Manoj Rajagopalan

Hi Paul,

  Thanks, I understand now. Earlier, I didn't know that \sideset works only 
for mathematical operators and I used 'M' just as an example. My question was 
whether there is a LyX function that supports similar rendering and if either 
this or \sideset would show up on the DVI/PDF. You've answered the latter and 
helped me understand better.

thanks,
Manoj


On Wednesday 23 September 2009 02:17:38 pm Paul A. Rubin wrote:
 Manoj Rajagopalan wrote:
  Hi,
 
LaTeX allows the \sideset command to position superscripts and
  subscripts on the left side also. For example,
 
 \sideset{_a^b}{_c^d} M prints 'M' with 'a' at its lower-left, 'b' at
  is upper-left, and with 'c' and 'd' at normal subscript and superscript
  positions.
 
Can this effect be invoked in LyX?

 \sideset wants to be followed by an operator -- do you have a way to
 convince LaTeX 'M' is an operator?  I get an error message when I try
 the above.

 That said, \sideset{_a^b}{_c^d}\prod works in LyX -- the formula does
 not look right in the GUI (meaning that LyX will not translate \sideset
 into the appropriate visual effects) but the DVI/PDF output will be
 correct.  (If you turn on instant preview for formulas, it will show up
 in the GUI as well.)  Entering it is a bit finicky, but not too hard.
 Starting inside a math inset, the keystrokes are as follows (` indicates
 a space):

 1. \sideset`  (appears verbatim in the math inset -- should change font
 after the space is entered)
 2. \{  (creates both opening and closing braces)
 3. _a`^b`
 4. (cursor out of the braces but stay inside the inset)
 5. \{
 6. _c`^d`
 7. (cursor out of the braces but stay inside the inset)
 8. \prod`

 /Paul



\sideset command supported?

2009-09-23 Thread Manoj Rajagopalan
Hi,

  LaTeX allows the \sideset command to position superscripts and subscripts on 
the left side also. For example,

   \sideset{_a^b}{_c^d} M prints 'M' with 'a' at its lower-left, 'b' at is 
upper-left, and with 'c' and 'd' at normal subscript and superscript 
positions.

  Can this effect be invoked in LyX?

thanks,
Manoj


Re: \sideset command supported?

2009-09-23 Thread Manoj Rajagopalan

Hi Paul,

  Thanks, I understand now. Earlier, I didn't know that \sideset works only 
for mathematical operators and I used 'M' just as an example. My question was 
whether there is a LyX function that supports similar rendering and if either 
this or \sideset would show up on the DVI/PDF. You've answered the latter and 
helped me understand better.

thanks,
Manoj


On Wednesday 23 September 2009 02:17:38 pm Paul A. Rubin wrote:
> Manoj Rajagopalan wrote:
> > Hi,
> >
> >   LaTeX allows the \sideset command to position superscripts and
> > subscripts on the left side also. For example,
> >
> >\sideset{_a^b}{_c^d} M prints 'M' with 'a' at its lower-left, 'b' at
> > is upper-left, and with 'c' and 'd' at normal subscript and superscript
> > positions.
> >
> >   Can this effect be invoked in LyX?
>
> \sideset wants to be followed by an operator -- do you have a way to
> convince LaTeX 'M' is an operator?  I get an error message when I try
> the above.
>
> That said, \sideset{_a^b}{_c^d}\prod works in LyX -- the formula does
> not look right in the GUI (meaning that LyX will not translate \sideset
> into the appropriate visual effects) but the DVI/PDF output will be
> correct.  (If you turn on instant preview for formulas, it will show up
> in the GUI as well.)  Entering it is a bit finicky, but not too hard.
> Starting inside a math inset, the keystrokes are as follows (` indicates
> a space):
>
> 1. \sideset`  (appears verbatim in the math inset -- should change font
> after the space is entered)
> 2. \{  (creates both opening and closing braces)
> 3. _a`^b`
> 4. (cursor out of the braces but stay inside the inset)
> 5. \{
> 6. _c`^d`
> 7. (cursor out of the braces but stay inside the inset)
> 8. \prod`
>
> /Paul



How to enable display of all equations

2009-09-08 Thread Manoj Rajagopalan
Hi,

   I find LyX not displaying any of my numbered formulas till the cursor 
enters that region. Could someone help me figure out how to turn this display 
on? I must have made some mistake with preferences or settings.

thanks,
Manoj


Re: How to enable display of all equations

2009-09-08 Thread Manoj Rajagopalan

Doesn't work in either of the following cases:
(1) close and reload doc with LyX running
(2) quit and restart LyX and reload doc

Could it be one of the settings? Some preview? I only saw graphics preview 
under Tools-Preferences...

-- Manoj

On Tuesday 08 September 2009 12:48:37 pm Vincent van Ravesteijn - TNW wrote:
I find LyX not displaying any of my numbered
 formulas till the cursor enters that region. Could
 someone help me figure out how to turn this display
 on? I must have made some mistake with preferences
 or settings.

 Close and reload document ?

 thanks,
 Manoj

 Vincent



Re: How to enable display of all equations

2009-09-08 Thread Manoj Rajagopalan

I figured this out: I had the Tools-Preferences-Display-Instant Preview set 
to On. I must have interpreted this to mean the preview for graphics since 
it comes right after Display graphics. Now I understand this to mean 
instant preview for a more general set of LyX entities.

thanks,
Manoj


On Tuesday 08 September 2009 01:44:09 pm Manoj Rajagopalan wrote:
 Doesn't work in either of the following cases:
 (1) close and reload doc with LyX running
 (2) quit and restart LyX and reload doc

 Could it be one of the settings? Some preview? I only saw graphics preview
 under Tools-Preferences...

 -- Manoj

 On Tuesday 08 September 2009 12:48:37 pm Vincent van Ravesteijn - TNW wrote:
 I find LyX not displaying any of my numbered
  formulas till the cursor enters that region. Could
  someone help me figure out how to turn this display
  on? I must have made some mistake with preferences
  or settings.
 
  Close and reload document ?
 
  thanks,
  Manoj
 
  Vincent



How to enable display of all equations

2009-09-08 Thread Manoj Rajagopalan
Hi,

   I find LyX not displaying any of my numbered formulas till the cursor 
enters that region. Could someone help me figure out how to turn this display 
on? I must have made some mistake with preferences or settings.

thanks,
Manoj


Re: How to enable display of all equations

2009-09-08 Thread Manoj Rajagopalan

Doesn't work in either of the following cases:
(1) close and reload doc with LyX running
(2) quit and restart LyX and reload doc

Could it be one of the settings? Some preview? I only saw graphics preview 
under Tools-Preferences...

-- Manoj

On Tuesday 08 September 2009 12:48:37 pm Vincent van Ravesteijn - TNW wrote:
I find LyX not displaying any of my numbered
 formulas till the cursor enters that region. Could
 someone help me figure out how to turn this display
 on? I must have made some mistake with preferences
 or settings.

 Close and reload document ?

 thanks,
 Manoj

 Vincent



Re: How to enable display of all equations

2009-09-08 Thread Manoj Rajagopalan

I figured this out: I had the Tools-Preferences-Display-Instant Preview set 
to On. I must have interpreted this to mean the preview for graphics since 
it comes right after Display graphics. Now I understand this to mean 
instant preview for a more general set of LyX entities.

thanks,
Manoj


On Tuesday 08 September 2009 01:44:09 pm Manoj Rajagopalan wrote:
 Doesn't work in either of the following cases:
 (1) close and reload doc with LyX running
 (2) quit and restart LyX and reload doc

 Could it be one of the settings? Some preview? I only saw graphics preview
 under Tools-Preferences...

 -- Manoj

 On Tuesday 08 September 2009 12:48:37 pm Vincent van Ravesteijn - TNW wrote:
 I find LyX not displaying any of my numbered
  formulas till the cursor enters that region. Could
  someone help me figure out how to turn this display
  on? I must have made some mistake with preferences
  or settings.
 
  Close and reload document ?
 
  thanks,
  Manoj
 
  Vincent



How to enable display of all equations

2009-09-08 Thread Manoj Rajagopalan
Hi,

   I find LyX not displaying any of my numbered formulas till the cursor 
enters that region. Could someone help me figure out how to turn this display 
on? I must have made some mistake with preferences or settings.

thanks,
Manoj


Re: How to enable display of all equations

2009-09-08 Thread Manoj Rajagopalan

Doesn't work in either of the following cases:
(1) close and reload doc with LyX running
(2) quit and restart LyX and reload doc

Could it be one of the settings? Some preview? I only saw graphics preview 
under Tools->Preferences...

-- Manoj

On Tuesday 08 September 2009 12:48:37 pm Vincent van Ravesteijn - TNW wrote:
> >   I find LyX not displaying any of my numbered
> >formulas till the cursor enters that region. Could
> >someone help me figure out how to turn this display
> >on? I must have made some mistake with preferences
> >or settings.
>
> Close and reload document ?
>
> >thanks,
> >Manoj
>
> Vincent



Re: How to enable display of all equations

2009-09-08 Thread Manoj Rajagopalan

I figured this out: I had the Tools->Preferences->Display->Instant Preview set 
to "On". I must have interpreted this to mean the preview for graphics since 
it comes right after "Display graphics". Now I understand this to mean 
instant preview for a more general set of LyX entities.

thanks,
Manoj


On Tuesday 08 September 2009 01:44:09 pm Manoj Rajagopalan wrote:
> Doesn't work in either of the following cases:
> (1) close and reload doc with LyX running
> (2) quit and restart LyX and reload doc
>
> Could it be one of the settings? Some preview? I only saw graphics preview
> under Tools->Preferences...
>
> -- Manoj
>
> On Tuesday 08 September 2009 12:48:37 pm Vincent van Ravesteijn - TNW wrote:
> > >   I find LyX not displaying any of my numbered
> > >formulas till the cursor enters that region. Could
> > >someone help me figure out how to turn this display
> > >on? I must have made some mistake with preferences
> > >or settings.
> >
> > Close and reload document ?
> >
> > >thanks,
> > >Manoj
> >
> > Vincent



Re: Suggestion

2009-08-14 Thread Manoj Rajagopalan
On Friday 14 August 2009 2:07:43 am K. Elo wrote:
 Dear list members!

 I suppose most of us are members in other mailing lists, too, and thus
 receive several mails per day from these lists. Now, several lists add a
 list identifier at the beginning of the topic (e.g. [List] Title).

 What do you think, would such an identifier make sense for this list?
 The implementation must follow at the server side before a posting is
 forwarded to the list, but this should be quite easy to implement. If an
 identifier would be added, the topic of this mail would be e.g.
 [Lyx-Users] Suggestion.

 Kind regards,
 Kimmo


This is a great idea but till such time it is implemented you could try 
creating your own client-side filters. Most email clients like outlook express, 
thunderbird, kmail etc. allow you to move incoming mails into custom folders 
based on criteria like To:,Cc: fields etc.

-- Manoj



Re: Suggestion

2009-08-14 Thread Manoj Rajagopalan
On Friday 14 August 2009 2:07:43 am K. Elo wrote:
 Dear list members!

 I suppose most of us are members in other mailing lists, too, and thus
 receive several mails per day from these lists. Now, several lists add a
 list identifier at the beginning of the topic (e.g. [List] Title).

 What do you think, would such an identifier make sense for this list?
 The implementation must follow at the server side before a posting is
 forwarded to the list, but this should be quite easy to implement. If an
 identifier would be added, the topic of this mail would be e.g.
 [Lyx-Users] Suggestion.

 Kind regards,
 Kimmo


This is a great idea but till such time it is implemented you could try 
creating your own client-side filters. Most email clients like outlook express, 
thunderbird, kmail etc. allow you to move incoming mails into custom folders 
based on criteria like To:,Cc: fields etc.

-- Manoj



Re: Suggestion

2009-08-14 Thread Manoj Rajagopalan
On Friday 14 August 2009 2:07:43 am K. Elo wrote:
> Dear list members!
>
> I suppose most of us are members in other mailing lists, too, and thus
> receive several mails per day from these lists. Now, several lists add a
> list identifier at the beginning of the topic (e.g. "[List] Title").
>
> What do you think, would such an identifier make sense for this list?
> The implementation must follow at the server side before a posting is
> forwarded to the list, but this should be quite easy to implement. If an
> identifier would be added, the topic of this mail would be e.g.
> "[Lyx-Users] Suggestion".
>
> Kind regards,
> Kimmo


This is a great idea but till such time it is implemented you could try 
creating your own client-side filters. Most email clients like outlook express, 
thunderbird, kmail etc. allow you to move incoming mails into custom folders 
based on criteria like To:,Cc: fields etc.

-- Manoj



How does LyX render symbols?

2009-08-10 Thread Manoj Rajagopalan
Hi all,

   In math mode, when I select the menu item for the greek alpha character, or 
when I type \alpha within the inline equation box and then press TAB, how 
does lyx render this to the character?

   I've traced the code till LyXFunc()::dispatch() which is called on the 
lyxfunc_ member of the LyX singleton instance. The code logic seems to be 
that the dispatch() function is called on an hierarchy of various structures 
like work-area, buffer, cursor etc. and if the FuncRequest has been serviced, 
the function returns.

IIUC, GuiWorkArea::keyPressEvent is triggered each time a key is pressed 
and the LyX abstraction (server?) is informed of the specific command that 
this key-press forms depending on LyX state. To render this onto the GUI, the 
LyX abstraction must call GUI functions with some font info for rendering 
characters like greek letters, AMS symbols etc. but I keep getting lost 
before getting here. Could someone point me to the relevant code path?

Thanks,
Manoj


How does LyX render symbols?

2009-08-10 Thread Manoj Rajagopalan
Hi all,

   In math mode, when I select the menu item for the greek alpha character, or 
when I type \alpha within the inline equation box and then press TAB, how 
does lyx render this to the character?

   I've traced the code till LyXFunc()::dispatch() which is called on the 
lyxfunc_ member of the LyX singleton instance. The code logic seems to be 
that the dispatch() function is called on an hierarchy of various structures 
like work-area, buffer, cursor etc. and if the FuncRequest has been serviced, 
the function returns.

IIUC, GuiWorkArea::keyPressEvent is triggered each time a key is pressed 
and the LyX abstraction (server?) is informed of the specific command that 
this key-press forms depending on LyX state. To render this onto the GUI, the 
LyX abstraction must call GUI functions with some font info for rendering 
characters like greek letters, AMS symbols etc. but I keep getting lost 
before getting here. Could someone point me to the relevant code path?

Thanks,
Manoj


How does LyX render symbols?

2009-08-10 Thread Manoj Rajagopalan
Hi all,

   In math mode, when I select the menu item for the greek alpha character, or 
when I type \alpha within the inline equation box and then press TAB, how 
does lyx render this to the character?

   I've traced the code till LyXFunc()::dispatch() which is called on the 
lyxfunc_ member of the LyX singleton instance. The code logic seems to be 
that the dispatch() function is called on an hierarchy of various structures 
like work-area, buffer, cursor etc. and if the FuncRequest has been serviced, 
the function returns.

IIUC, GuiWorkArea::keyPressEvent is triggered each time a key is pressed 
and the LyX abstraction (server?) is informed of the specific command that 
this key-press forms depending on LyX state. To render this onto the GUI, the 
LyX abstraction must call GUI functions with some font info for rendering 
characters like greek letters, AMS symbols etc. but I keep getting lost 
before getting here. Could someone point me to the relevant code path?

Thanks,
Manoj


New feature survey: insert xrefs by right-click (context menu) on TOC items

2009-02-26 Thread Manoj Rajagopalan

Hi lyx developers,

  I present a feature idea and its extension with rapid document 
manipulation in mind.


  I was experimenting with the lyx code and I found I could get a menu 
to popup upon right-clicking on the TOC. This can be used to insert 
xrefs for existing labels at the current cursor position in the 
document. With this the user need not invoke the insert-cross-reference 
dialog and can move ahead with editing the document rapidly.


  I'd like to ask if you think this would be a nice-to-have feature.

  Extending the above idea, we might imagine LyX prompting the user for 
a label if one doesn't exist when he/she right-clicks a TOC item (eg. in 
the list of graphics TOC). LyX could then insert that label at the 
appropriate place in the document, update the TOC and insert a reference 
to it at the current cursor location. Does this seem like a nice-to-have 
feature?


thanks,
Manoj


New feature survey: insert xrefs by right-click (context menu) on TOC items

2009-02-26 Thread Manoj Rajagopalan

Hi lyx developers,

  I present a feature idea and its extension with rapid document 
manipulation in mind.


  I was experimenting with the lyx code and I found I could get a menu 
to popup upon right-clicking on the TOC. This can be used to insert 
xrefs for existing labels at the current cursor position in the 
document. With this the user need not invoke the insert-cross-reference 
dialog and can move ahead with editing the document rapidly.


  I'd like to ask if you think this would be a nice-to-have feature.

  Extending the above idea, we might imagine LyX prompting the user for 
a label if one doesn't exist when he/she right-clicks a TOC item (eg. in 
the list of graphics TOC). LyX could then insert that label at the 
appropriate place in the document, update the TOC and insert a reference 
to it at the current cursor location. Does this seem like a nice-to-have 
feature?


thanks,
Manoj


New feature survey: insert xrefs by right-click (context menu) on TOC items

2009-02-26 Thread Manoj Rajagopalan

Hi lyx developers,

  I present a feature idea and its extension with rapid document 
manipulation in mind.


  I was experimenting with the lyx code and I found I could get a menu 
to popup upon right-clicking on the TOC. This can be used to insert 
xrefs for existing labels at the current cursor position in the 
document. With this the user need not invoke the insert-cross-reference 
dialog and can move ahead with editing the document rapidly.


  I'd like to ask if you think this would be a nice-to-have feature.

  Extending the above idea, we might imagine LyX prompting the user for 
a label if one doesn't exist when he/she right-clicks a TOC item (eg. in 
the list of graphics TOC). LyX could then insert that label at the 
appropriate place in the document, update the TOC and insert a reference 
to it at the current cursor location. Does this seem like a nice-to-have 
feature?


thanks,
Manoj


sorting behavior on references

2009-02-11 Thread Manoj Rajagopalan

Hi lyx users,

  When cross-referencing I find the 'sort' feature useful but it 
currently sorts case-sensitively which places all upper case letters 
before all lower case letters. This means labels with the same letters 
that differ only in case must be looked for in two different places. I 
was wondering if a second sort option could be included that would allow 
case-insensitive sorting.


  Also, I was wondering if some support could be built in for 
category-based sorting. For example, a tab could list all eq: prefixed 
references whereas another could list all fig: prefixed references. 
These category tables could be grown incrementally each time a user 
defines a new label.


Thanks,
Manoj


Re: sorting behavior on references [feature implementation candidate]

2009-02-11 Thread Manoj Rajagopalan
I just wrote the case-insensitive sort feature and tested it against the 
latest SVN snapshot. I have included a Sort (no case) checkbox 
adjacent to the Sort checkbox in the insert-reference dialog. Also, 
my logic ensures that while both can be switched off, the on-states are 
mutually exclusive.


If LyX users/developers think this would be a convenient feature, I can 
submit a patch. In that case, could someone point me to instructions on 
how to achieve this?


Also, in src/frontends/qt4/ui/RefUi.ui, I see a Labels dropdown 
listbox but I don't see it show up while LyX is running. What is its 
purpose?


Thanks,
Manoj



Manoj Rajagopalan wrote:

Hi lyx users,

  When cross-referencing I find the 'sort' feature useful but it 
currently sorts case-sensitively which places all upper case letters 
before all lower case letters. This means labels with the same letters 
that differ only in case must be looked for in two different places. I 
was wondering if a second sort option could be included that would allow 
case-insensitive sorting.


  Also, I was wondering if some support could be built in for 
category-based sorting. For example, a tab could list all eq: prefixed 
references whereas another could list all fig: prefixed references. 
These category tables could be grown incrementally each time a user 
defines a new label.


Thanks,
Manoj




sorting behavior on references

2009-02-11 Thread Manoj Rajagopalan

Hi lyx users,

  When cross-referencing I find the 'sort' feature useful but it 
currently sorts case-sensitively which places all upper case letters 
before all lower case letters. This means labels with the same letters 
that differ only in case must be looked for in two different places. I 
was wondering if a second sort option could be included that would allow 
case-insensitive sorting.


  Also, I was wondering if some support could be built in for 
category-based sorting. For example, a tab could list all eq: prefixed 
references whereas another could list all fig: prefixed references. 
These category tables could be grown incrementally each time a user 
defines a new label.


Thanks,
Manoj


Re: sorting behavior on references [feature implementation candidate]

2009-02-11 Thread Manoj Rajagopalan
I just wrote the case-insensitive sort feature and tested it against the 
latest SVN snapshot. I have included a Sort (no case) checkbox 
adjacent to the Sort checkbox in the insert-reference dialog. Also, 
my logic ensures that while both can be switched off, the on-states are 
mutually exclusive.


If LyX users/developers think this would be a convenient feature, I can 
submit a patch. In that case, could someone point me to instructions on 
how to achieve this?


Also, in src/frontends/qt4/ui/RefUi.ui, I see a Labels dropdown 
listbox but I don't see it show up while LyX is running. What is its 
purpose?


Thanks,
Manoj



Manoj Rajagopalan wrote:

Hi lyx users,

  When cross-referencing I find the 'sort' feature useful but it 
currently sorts case-sensitively which places all upper case letters 
before all lower case letters. This means labels with the same letters 
that differ only in case must be looked for in two different places. I 
was wondering if a second sort option could be included that would allow 
case-insensitive sorting.


  Also, I was wondering if some support could be built in for 
category-based sorting. For example, a tab could list all eq: prefixed 
references whereas another could list all fig: prefixed references. 
These category tables could be grown incrementally each time a user 
defines a new label.


Thanks,
Manoj




sorting behavior on references

2009-02-11 Thread Manoj Rajagopalan

Hi lyx users,

  When cross-referencing I find the 'sort' feature useful but it 
currently sorts case-sensitively which places all upper case letters 
before all lower case letters. This means labels with the same letters 
that differ only in case must be looked for in two different places. I 
was wondering if a second sort option could be included that would allow 
case-insensitive sorting.


  Also, I was wondering if some support could be built in for 
category-based sorting. For example, a tab could list all eq: prefixed 
references whereas another could list all fig: prefixed references. 
These category tables could be grown incrementally each time a user 
defines a new label.


Thanks,
Manoj


Re: sorting behavior on references [feature implementation candidate]

2009-02-11 Thread Manoj Rajagopalan
I just wrote the case-insensitive sort feature and tested it against the 
latest SVN snapshot. I have included a "Sort ( case)" checkbox 
adjacent to the "" checkbox in the insert-reference dialog. Also, 
my logic ensures that while both can be switched off, the on-states are 
mutually exclusive.


If LyX users/developers think this would be a convenient feature, I can 
submit a patch. In that case, could someone point me to instructions on 
how to achieve this?


Also, in src/frontends/qt4/ui/RefUi.ui, I see a "Labels" dropdown 
listbox but I don't see it show up while LyX is running. What is its 
purpose?


Thanks,
Manoj



Manoj Rajagopalan wrote:

Hi lyx users,

  When cross-referencing I find the 'sort' feature useful but it 
currently sorts case-sensitively which places all upper case letters 
before all lower case letters. This means labels with the same letters 
that differ only in case must be looked for in two different places. I 
was wondering if a second sort option could be included that would allow 
case-insensitive sorting.


  Also, I was wondering if some support could be built in for 
category-based sorting. For example, a tab could list all eq: prefixed 
references whereas another could list all fig: prefixed references. 
These category tables could be grown incrementally each time a user 
defines a new label.


Thanks,
Manoj




Problems with equation numbering in appendix

2008-12-07 Thread Manoj Rajagopalan

Hi all,

  I find that in my document (with documentclass report), unless I 
disable numbering on all equations, I get the error \mathrm allowed 
only in math mode.


  Does anyone know how to fix this issue or work around it to get 
equation numbering working in the appendices?



thanks,
Manoj


Re: Problems with equation numbering in appendix

2008-12-07 Thread Manoj Rajagopalan
I should add that I can't reproduce this in a small test document. Has 
anyone experienced some change in settings or some latex code snippet 
import which has caused this?


-- Manoj


Manoj Rajagopalan wrote:

Hi all,

  I find that in my document (with documentclass report), unless I 
disable numbering on all equations, I get the error \mathrm allowed 
only in math mode.


  Does anyone know how to fix this issue or work around it to get 
equation numbering working in the appendices?



thanks,
Manoj




Re: Problems with equation numbering in appendix

2008-12-07 Thread Manoj Rajagopalan
I fixed this by using the 'appendix' package. This is a hack. I wonder 
what caused latex to break in my appendices.


-- Manoj



Manoj Rajagopalan wrote:
I should add that I can't reproduce this in a small test document. Has 
anyone experienced some change in settings or some latex code snippet 
import which has caused this?


-- Manoj


Manoj Rajagopalan wrote:

Hi all,

  I find that in my document (with documentclass report), unless I 
disable numbering on all equations, I get the error \mathrm allowed 
only in math mode.


  Does anyone know how to fix this issue or work around it to get 
equation numbering working in the appendices?



thanks,
Manoj







Problems with equation numbering in appendix

2008-12-07 Thread Manoj Rajagopalan

Hi all,

  I find that in my document (with documentclass report), unless I 
disable numbering on all equations, I get the error \mathrm allowed 
only in math mode.


  Does anyone know how to fix this issue or work around it to get 
equation numbering working in the appendices?



thanks,
Manoj


  1   2   >