[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lyx-users
Subject:    Re: Managing acknowledgements and disclosures?
From:       Richard Heck <rgheck () comcast ! net>
Date:       2012-05-29 14:31:49
Message-ID: 4FC4DDD5.7070809 () comcast ! net
[Download RAW message or body]

On 05/21/2012 10:31 PM, Chris Hennick wrote:
> Tonight I decided that when I was citing books or reprints that had 
> been given to me, I should probably add an acknowledgement, like so:
>
>     The authors wish to thank donors for the following reference
>     materials: [#] from Jane Doe, [#] from John Doe, and [#, #] from
>     anonymous sources.
>
>
> However, I'll have to manually edit this acknowledgement if I drop one 
> of those sources, or if I receive and cite another reprint. It also 
> occurs to me that I'd have the same issue if I were buying source 
> materials with grant money, since then the citations would determine 
> which grant numbers went on which papers. (At least, that's how I 
> understand funding disclosure, although as a grad student I'm new to 
> the subject.)
>
> Is it possible in LyX to automatically manage acknowledgements and 
> grant disclosures, when some of them are tied to particular citations?
>
The answer is that it should be possible to do this in LaTeX---you can 
do anything in LaTeX---but it is not trivial.

Most bibliographical citations print a "note" field. One could put into 
the note field a LaTeX command that would add an acknowledgement to some 
existing list of acknowledgements. So you'd have something like:
     \def\addtoacks#1{
         \@ifundefined\myacks
             {\def\myacks{#1}}
             {\def\myacks{\myacks; #1}}}
to set it up, and then in each thing you want to acknowledge, in the 
BibTeX note field:
     \addtoacks{\cite{mykey}, from Jane Doe}
or whatever. The nice thing about this is that the acknowledgements will 
appear in order, though you won't get the collapse [#, #]. The bad thing 
is that this version won't work unless the acknowledgement is printed 
after the bibliography, which may not be what you want. In that case, 
you could try printing the acknoweldgement to a file and then loading 
that file on a later run of LaTeX, but that gets more complicated.

Richard


[Attachment #3 (text/html)]

<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    On 05/21/2012 10:31 PM, Chris Hennick wrote:
    <blockquote
cite="mid:CAPvCkbiky3xM4g9ssoL3MTC7=La3HOtmgO_SJ+9sBu5Jc6+vPQ@mail.gmail.com"
      type="cite">
      <div>Tonight I decided that when I was citing books or reprints
        that had been given to me, I should probably add an
        acknowledgement, like so:</div>
      <div><br>
      </div>
      <blockquote style="margin:0 0 0 40px;border:none;padding:0px">
        <div>The authors wish to thank donors for the following
          reference materials: [#] from Jane Doe, [#] from John Doe, and
          [#, #] from anonymous sources.</div>
      </blockquote>
      <div><br>
      </div>
      However, I'll have to manually edit this acknowledgement if I drop
      one of those sources, or if I receive and cite another reprint.
      It also occurs to me that I'd have the same issue if I were buying
      source materials with grant money, since then the citations would
      determine which grant numbers went on which papers. (At least,
      that's how I understand funding disclosure, although as a grad
      student I'm new to the subject.)
      <div>
        <br>
      </div>
      <div>Is it possible in LyX to automatically manage
        acknowledgements and grant disclosures, when some of them are
        tied to particular citations?<br>
        <div>
          <div><br clear="all">
          </div>
        </div>
      </div>
    </blockquote>
    The answer is that it should be possible to do this in LaTeX---you
    can do anything in LaTeX---but it is not trivial.<br>
    <br>
    Most bibliographical citations print a "note" field. One could put
    into the note field a LaTeX command that would add an
    acknowledgement to some existing list of acknowledgements. So you'd
    have something like:<br>
        \def\addtoacks#1{<br>
            \@ifundefined\myacks<br>
                {\def\myacks{#1}}<br>
                {\def\myacks{\myacks; #1}}}<br>
    to set it up, and then in each thing you want to acknowledge, in the
    BibTeX note field:<br>
        \addtoacks{\cite{mykey}, from Jane Doe}<br>
    or whatever. The nice thing about this is that the acknowledgements
    will appear in order, though you won't get the collapse [#, #]. The
    bad thing is that this version won't work unless the acknowledgement
    is printed after the bibliography, which may not be what you want.
    In that case, you could try printing the acknoweldgement to a file
    and then loading that file on a later run of LaTeX, but that gets
    more complicated.<br>
    <br>
    Richard<br>
    <br>
  </body>
</html>


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic