Re: module for footnotes as both footnotes and endnotes

2016-06-18 Thread Richard Heck
On 06/17/2016 05:09 AM, Lucas wrote:
> Thanks, again, Richard,
>
> Although your suggestions didn't exactly work, they lead me to a
> slightly burdensome approach that did work.  First, the Foot to End
> module does exactly as the \let\footnote=\endnote line I had used in
> the preamble.  It doesn't leave the footnotes' descriptions on each
> page but moves them to the end.  (I'm trying to get them placed in
> both locations.)  Insert> Custom Insets>Endnote does almost work when
> listing the footnote's contents inside it and still inside a normal
> footnote, but then the superscript for the footnote and for the
> endnote each are listed in the main text next to eachother.
>
> My ultimate solution was to manually create endnotes (beside each
> footnote), with this ERT recipe:
> \stepcounter{endnote}\endnotetext{Text of each endnote (same content
> as each footnote)}
>
> It removes the secondary endnote numbering from the main text body,
> while still creating an endnote as Insert>Custom Insets>Endnote would
> have.

Something like this in the preamble might work:

\usepackage{endnotes}
\let\oldfoot=\footnote
\renewcommand\footnote[1]{\oldfoot{#1}\stepcounter{endnote}\endnotetext{#1}}

Then you don't have to do anything manually in the text.

Richard



Re: module for footnotes as both footnotes and endnotes

2016-06-18 Thread Lucas
Everyone can disregard my off-topic question, as I've now worked around it
(however imperfectly) by labeling the entries of interest and using
references to the pages of the labels in a manually-structured
(non-)index.  I decided to take that route in the end because the person
I'm helping format this for, independently, manually, created an index
format that's grouped by subject so that alphabetically indexing wouldn't
have worked anyway.


Thanks for your immediate, experienced, & helpful support Richard,

  Luke


On Fri, Jun 17, 2016 at 4:09 AM, Lucas  wrote:

> Thanks, again, Richard,
>
> Although your suggestions didn't exactly work, they lead me to a slightly
> burdensome approach that did work.  First, the Foot to End module does
> exactly as the \let\footnote=\endnote line I had used in the preamble.  It
> doesn't leave the footnotes' descriptions on each page but moves them to
> the end.  (I'm trying to get them placed in both locations.)  Insert>
> Custom Insets>Endnote does almost work when listing the footnote's contents
> inside it and still inside a normal footnote, but then the superscript for
> the footnote and for the endnote each are listed in the main text next to
> eachother.
>
> My ultimate solution was to manually create endnotes (beside each
> footnote), with this ERT recipe:
> \stepcounter{endnote}\endnotetext{Text of each endnote (same content as
> each footnote)}
>
> It removes the secondary endnote numbering from the main text body, while
> still creating an endnote as Insert>Custom Insets>Endnote would have.
>
> This is off-topic from the previous question, but I'm also hoping someone
> can tell me how to set an index to display one column in the memoir class,
> so that each entry spans completely within the the page's margins.  It
> seems to be set to two by default.
>
>
> Thanks,
>
>   Lucas
>
>
> On Thu, Jun 16, 2016 at 4:48 PM, Richard Heck  wrote:
>
>> On 06/16/2016 10:03 AM, Lucas wrote:
>>
>> Okay, thanks Richard,
>>
>> The Endnote module is there, but if I add it after commenting out my
>> previously manually added preamble lines:
>>
>> \usepackage{endnotes}
>>
>> \let\footnote=\endnote
>>
>> I get an error about "Undefined control sequence" because of some TeX
>> containing "\theendnotes"  which I had used to place them.  Without that, I
>> don't see them as endnotes, but just footnotes.  Is there another,
>> expected, way to insert the endnote placeholder when using the Endnote
>> module?
>>
>>
>> It seems like you should be using the Foot to End module. The endnotes
>> module adds a special endnote inset, which can be used in addition to
>> footnotes. (It can be found under Insert> Custom Insets.) The Foot to End
>> module basically just adds the two commands you mentioned.
>>
>> Richard
>>
>>
>>
>> Thanks,
>>
>>
>>   Luke
>>
>> On Thu, Jun 16, 2016 at 3:38 AM, Richard Heck  wrote:
>>
>>> On 06/16/2016 08:33 AM, Lucas wrote:
>>>
>>> This wiki page suggests there will be ("As of LyX 1.6") a module that
>>> would enable both footnotes as endnotes and displayed as usual footnotes,
>>> but I can't seem to find it:  
>>> https://wiki.lyx.org/Tips/EndNotes :
>>> "In the 1.6 series, endnotes will be supported by two sorts of layout
>>> modules . One of them, *foottoend*,
>>> just implements this trick. Another provides direct support for endnotes,
>>> in addition to footnotes."
>>>
>>>
>>> It should be listed under Document> Settings> Modules, as Endnote. If
>>> it's not there, what modules do you see listed?
>>>
>>> Richard
>>>
>>>
>>
>>
>> --
>> Protect your digital freedom and privacy, eliminate DRM, learn more at
>> http://www.defectivebydesign.org/what_is_drm
>> On a related note, also see https://www.fsf.org/campaigns/surveillance
>>
>>
>>
>
>
> --
> Protect your digital freedom and privacy, eliminate DRM, learn more at
> http://www.defectivebydesign.org/what_is_drm
> On a related note, also see https://www.fsf.org/campaigns/surveillance
>



-- 
Protect your digital freedom and privacy, eliminate DRM, learn more at
http://www.defectivebydesign.org/what_is_drm
On a related note, also see https://www.fsf.org/campaigns/surveillance


Re: module for footnotes as both footnotes and endnotes

2016-06-17 Thread Lucas
Thanks, again, Richard,

Although your suggestions didn't exactly work, they lead me to a slightly
burdensome approach that did work.  First, the Foot to End module does
exactly as the \let\footnote=\endnote line I had used in the preamble.  It
doesn't leave the footnotes' descriptions on each page but moves them to
the end.  (I'm trying to get them placed in both locations.)  Insert>
Custom Insets>Endnote does almost work when listing the footnote's contents
inside it and still inside a normal footnote, but then the superscript for
the footnote and for the endnote each are listed in the main text next to
eachother.

My ultimate solution was to manually create endnotes (beside each
footnote), with this ERT recipe:
\stepcounter{endnote}\endnotetext{Text of each endnote (same content as
each footnote)}

It removes the secondary endnote numbering from the main text body, while
still creating an endnote as Insert>Custom Insets>Endnote would have.

This is off-topic from the previous question, but I'm also hoping someone
can tell me how to set an index to display one column in the memoir class,
so that each entry spans completely within the the page's margins.  It
seems to be set to two by default.


Thanks,

  Lucas


On Thu, Jun 16, 2016 at 4:48 PM, Richard Heck  wrote:

> On 06/16/2016 10:03 AM, Lucas wrote:
>
> Okay, thanks Richard,
>
> The Endnote module is there, but if I add it after commenting out my
> previously manually added preamble lines:
>
> \usepackage{endnotes}
>
> \let\footnote=\endnote
>
> I get an error about "Undefined control sequence" because of some TeX
> containing "\theendnotes"  which I had used to place them.  Without that, I
> don't see them as endnotes, but just footnotes.  Is there another,
> expected, way to insert the endnote placeholder when using the Endnote
> module?
>
>
> It seems like you should be using the Foot to End module. The endnotes
> module adds a special endnote inset, which can be used in addition to
> footnotes. (It can be found under Insert> Custom Insets.) The Foot to End
> module basically just adds the two commands you mentioned.
>
> Richard
>
>
>
> Thanks,
>
>
>   Luke
>
> On Thu, Jun 16, 2016 at 3:38 AM, Richard Heck  wrote:
>
>> On 06/16/2016 08:33 AM, Lucas wrote:
>>
>> This wiki page suggests there will be ("As of LyX 1.6") a module that
>> would enable both footnotes as endnotes and displayed as usual footnotes,
>> but I can't seem to find it:  
>> https://wiki.lyx.org/Tips/EndNotes :
>> "In the 1.6 series, endnotes will be supported by two sorts of layout
>> modules . One of them, *foottoend*,
>> just implements this trick. Another provides direct support for endnotes,
>> in addition to footnotes."
>>
>>
>> It should be listed under Document> Settings> Modules, as Endnote. If
>> it's not there, what modules do you see listed?
>>
>> Richard
>>
>>
>
>
> --
> Protect your digital freedom and privacy, eliminate DRM, learn more at
> http://www.defectivebydesign.org/what_is_drm
> On a related note, also see https://www.fsf.org/campaigns/surveillance
>
>
>


-- 
Protect your digital freedom and privacy, eliminate DRM, learn more at
http://www.defectivebydesign.org/what_is_drm
On a related note, also see https://www.fsf.org/campaigns/surveillance


Re: module for footnotes as both footnotes and endnotes

2016-06-16 Thread Richard Heck

On 06/16/2016 10:03 AM, Lucas wrote:

Okay, thanks Richard,

The Endnote module is there, but if I add it after commenting out my 
previously manually added preamble lines:


\usepackage{endnotes}

\let\footnote=\endnote

I get an error about "Undefined control sequence" because of some TeX 
containing "\theendnotes"  which I had used to place them.  Without 
that, I don't see them as endnotes, but just footnotes.  Is there 
another, expected, way to insert the endnote placeholder when using 
the Endnote module?




It seems like you should be using the Foot to End module. The endnotes 
module adds a special endnote inset, which can be used in addition to 
footnotes. (It can be found under Insert> Custom Insets.) The Foot to 
End module basically just adds the two commands you mentioned.


Richard




Thanks,


  Luke


On Thu, Jun 16, 2016 at 3:38 AM, Richard Heck > wrote:


On 06/16/2016 08:33 AM, Lucas wrote:

This wiki page suggests there will be ("As of LyX 1.6") a module
that would enable both footnotes as endnotes and displayed as
usual footnotes, but I can't seem to find it:
https://wiki.lyx.org/Tips/EndNotes :
"In the 1.6 series, endnotes will be supported by two sorts of
layout modules . One of them,
/foottoend/, just implements this trick. Another provides direct
support for endnotes, in addition to footnotes."


It should be listed under Document> Settings> Modules, as Endnote.
If it's not there, what modules do you see listed?

Richard




--
Protect your digital freedom and privacy, eliminate DRM, learn more at 
http://www.defectivebydesign.org/what_is_drm

On a related note, also see https://www.fsf.org/campaigns/surveillance




Re: module for footnotes as both footnotes and endnotes

2016-06-16 Thread Lucas
Okay, thanks Richard,

The Endnote module is there, but if I add it after commenting out my
previously manually added preamble lines:

\usepackage{endnotes}

\let\footnote=\endnote

I get an error about "Undefined control sequence" because of some TeX
containing "\theendnotes"  which I had used to place them.  Without that, I
don't see them as endnotes, but just footnotes.  Is there another,
expected, way to insert the endnote placeholder when using the Endnote
module?


Thanks,


  Luke

On Thu, Jun 16, 2016 at 3:38 AM, Richard Heck  wrote:

> On 06/16/2016 08:33 AM, Lucas wrote:
>
> This wiki page suggests there will be ("As of LyX 1.6") a module that
> would enable both footnotes as endnotes and displayed as usual footnotes,
> but I can't seem to find it:  https://wiki.lyx.org/Tips/EndNotes :
> "In the 1.6 series, endnotes will be supported by two sorts of layout
> modules . One of them, *foottoend*,
> just implements this trick. Another provides direct support for endnotes,
> in addition to footnotes."
>
>
> It should be listed under Document> Settings> Modules, as Endnote. If it's
> not there, what modules do you see listed?
>
> Richard
>
>


-- 
Protect your digital freedom and privacy, eliminate DRM, learn more at
http://www.defectivebydesign.org/what_is_drm
On a related note, also see https://www.fsf.org/campaigns/surveillance


Re: module for footnotes as both footnotes and endnotes

2016-06-16 Thread Richard Heck

On 06/16/2016 08:33 AM, Lucas wrote:
This wiki page suggests there will be ("As of LyX 1.6") a module that 
would enable both footnotes as endnotes and displayed as usual 
footnotes, but I can't seem to find it: 
https://wiki.lyx.org/Tips/EndNotes :
"In the 1.6 series, endnotes will be supported by two sorts of layout 
modules . One of them, /foottoend/, 
just implements this trick. Another provides direct support for 
endnotes, in addition to footnotes."


It should be listed under Document> Settings> Modules, as Endnote. If 
it's not there, what modules do you see listed?


Richard



module for footnotes as both footnotes and endnotes

2016-06-16 Thread Lucas
This wiki page suggests there will be ("As of LyX 1.6") a module that would
enable both footnotes as endnotes and displayed as usual footnotes, but I
can't seem to find it:  https://wiki.lyx.org/Tips/EndNotes :
"In the 1.6 series, endnotes will be supported by two sorts of layout
modules . One of them, *foottoend*, just
implements this trick. Another provides direct support for endnotes, in
addition to footnotes."

I'm using LyX 2.1.2 on Debian GNU/Linux.

There is a workaround that keeps me changing the preamble:  I get an error
upon opening a document and trying to generate a PDF: "LaTeX Error: File
'file.ent' not found."  Then If I uncomment a line in the preamble saying,
"\let\footnote=\endnote", and regenerate the PDF, it compiles and displays
(but the footnotes only exist as endnotes).  Then, if I re-comment out that
preamble line, and regenerate the PDF, the footnotes are in both places
without error.  And it continues to work until I close and reopen the
document (when presumably file.ent is removed).

Is there a module that I'm just not seeing, or another simple solution?


Thanks,

  Luke