Incorrect User guide documentation for passing options to nomencl package

Diab Jerius dj at avoiding.work
Mon Jan 11 16:58:23 UTC 2021


On 1/8/21 1:30 AM, Richard Kimberly Heck wrote:
> On 1/5/21 5:30 PM, Diab Jerius wrote:
>>
>> Howdy!
>>
>> In the English version of the User's Guide which ships with LyX 
>> 2.3.2, the instructions for passing options to the nomencl package 
>> are incorrect.
>>
>> The instructions (§6.7.3) state
>>
>>     To use one or more of the options, add them to the
>>     comma-separated document class options list in the
>>     Document->Settings dialog. 
>>
>> However, This doesn't work. Instead one needs to add them to 
>> Document->Local Layout,
>>
>>     PackageOptions nomencl "refpage,intoc"
>>
> I wonder why this doesn't work. Class options are passed to 
> downsrtream packages unless they are used by the class file. What 
> class file are you using here?
>
It's something I've written myself. I've attached the layout file.

>> (BTW, The downloadable manuals from 
>> https://wiki.lyx.org/LyX/Manuals#UserGuide are out of date.  Is there 
>> a better place to get the latest ones?)
>
> I'm not sure what the status of these is. Of course you can compile 
> themselves from the Help menu.
>
To be clearer, I was looking for the repository for the manuals so that 
I could see if there were changes from the ones in the release.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-docs/attachments/20210111/0d851d7f/attachment.html>
-------------- next part --------------
#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass[article,memox.sty]{(article)memox}
# based on article.layout
# Author : Diab Jerius

# Input general definitions
Input stdclass.inc

# There are no chapters in an article.
NoStyle Chapter
NoStyle Chapter*
NoStyle Title
NoStyle Author
NoStyle Date

MaxCounter		Counter_Section
SecNumDepth		3
TocDepth		3
Sides			2
PageStyle		fancy

DefaultStyle		Standard

Preamble
 \usepackage{memox}
EndPreamble

ClassOptions
  Other	"NofM,prerule,fancy,rcs"
End

Style Date
  Margin		Static
  LatexType		Command
  LatexName		Date
  LeftMargin            ShortSubj::xx
  LabelType		Static
  LabelString		"Date: "

  # label font definition
  LabelFont 
    Series              Bold
    Shape               Italic
    Color		Red
  EndFont
End

Style From
  LatexType		Command
  LatexName		From
  LeftMargin            ShortSubj::xx
  LabelType		Static
  LabelString		"From: "

  # label font definition
  LabelFont 
    Series              Bold
    Shape               Italic
    Color		Red
  EndFont
End

Style To
  LatexType		Command
  LatexName		To
  LeftMargin            ShortSubj::xx
  LabelType		Static
  LabelString		"To: "

  # label font definition
  LabelFont 
    Series              Bold
    Shape               Italic
    Color		Red
  EndFont
End

Style Subject
  LatexType		Command
  LatexName		Subject
  LeftMargin            ShortSubj::xx
  LabelType		Static
  LabelString		"Subject: "

  # label font definition
  LabelFont 
    Series              Bold
    Shape               Italic
    Color		Red
  EndFont
End

Style RE
  LatexType		Command
  LatexName		RE
  LeftMargin            ShortSubj::xx
  LabelType		Static
  LabelString		"RE: "

  # label font definition
  LabelFont 
    Series              Bold
    Shape               Italic
    Color		Red
  EndFont
End

Style ShortSubj
  LatexType		Command
  LatexName		ShortSubj
  LeftMargin            ShortSubj::xx
  LabelType		Static
  LabelString		"ShortSubj: "

  # label font definition
  LabelFont 
    Series              Bold
    Shape               Italic
    Color		Red
  EndFont
End

Style Cc
  LatexType		Command
  LatexName		Cc
  LeftMargin            ShortSubj::xx
  LabelType		Static
  LabelString		"Cc: "

  # label font definition
  LabelFont 
    Series              Bold
    Shape               Italic
    Color		Red
  EndFont
End

Style File
  LatexType		Command
  LatexName		File
  LeftMargin            ShortSubj::xx
  LabelType		Static
  LabelString		"File: "

  # label font definition
  LabelFont 
    Series              Bold
    Shape               Italic
    Color		Red
  EndFont
End

Style Version
  LatexType		Command
  LatexName		Version
  LeftMargin            ShortSubj::xx
  LabelType		Static
  LabelString		"Version: "

  # label font definition
  LabelFont 
    Series              Bold
    Shape               Italic
    Color		Red
  EndFont
End

Style MemoBody
  LatexType		Command
  LatexName		memo
  KeepEmpty		1

  EndLabelType		Static
  EndLabelString	MemoBody

  # label font definition
  LabelFont 
    Series              Bold
    Color		Red
  EndFont
End

# Change a bit Part and Part*
Style Part
  Align			Left
  AlignPossible		Left
  TopSep                2
  BottomSep             1.5

  Font
    Size		Larger
  EndFont
End

Style Part*
  Align			Left
  AlignPossible		Left
  TopSep                2
  BottomSep             1.5

  Font
    Size		Larger
  EndFont
End


More information about the lyx-docs mailing list