[PATCH] "Here Applies" module

madmurphy madmurphy333 at gmail.com
Tue Aug 30 14:55:46 UTC 2022


Hi guys,

Thank you for giving a look at the module. I can try to give a more
concrete example by copying and pasting into a document random passages
from Wikipedia (from the pages Infinitive
<https://en.wikipedia.org/wiki/Infinitive>, Realis mood
<https://en.wikipedia.org/wiki/Realis_mood> and Gerund
<https://en.wikipedia.org/wiki/Gerund>).

The LyX document attached will produce (more or less) the following LaTeX
code,

\documentclass{article}

\usepackage{hereapplies}

\begin{document}

\title{Some title}

\author{Some author}

\maketitle

\paragraph{The infinitive}

The \textsc{infinitive} is the basic dictionary form of a verb when
used non-finitely, with or without the particle to. For some examples
of infinitive, please see \whereapplies{infinitive}.

\paragraph{The indicative mood}

The \textsc{indicative mood} is used principally to indicate that something
is a statement of fact. For some examples of sentences with indicative
mood, please see \whereapplies{indicative}.

\paragraph{The gerund}

In traditional grammars of English, the term \textsc{gerund} labels
an important use of the form of the verb ending in \textit{-ing} (for
details of its formation and spelling, see \textbf{English verbs}).
Other important uses are termed participle (used adjectivally or adverbially),
and as a pure verbal noun. See, for instance, \whereapplies{gerund}.\newpage

\hereapplies{infinitive} ``To be, or not to be\dots ''.\newpage

\hereapplies{indicative} ``\dots that is the question.''\newpage

\hereapplies[shakespeare-hamlet]{infinitive, indicative} ``To be,
or not to be, that is the question.''\newpage

\hereapplies{gerund} ``Eating this cake is easy''.

\end{document}

and exactly the PDF file attached.

I am actually using this LaTeX package (plus the LyX module) for a document
I am currently working on, in which I define some concepts in the first
chapter, and afterwards I apply these concepts for analysing things
sparsely. The package is very useful for retrieving all these sparse
occurrences of the concepts presented in the first chapter.

As a more general description, the package allows to create informal
glossaries, or simply makes it possible to cross-reference altogether
groups of pages that share something in common.

P.S. By the way, I have just added the “Label and References” category to
the module (which is the category <https://www.ctan.org/topic/label-ref>
that has been given to the LaTeX package on CTAN) – please find attacched
the updated version (module only).

--madmurphy

On Tue, Aug 30, 2022 at 12:07 PM Pavel Sanda <sanda at lyx.org> wrote:

> On Tue, Aug 30, 2022 at 09:30:44AM +0200, Jürgen Spitzmüller wrote:
> > Am Freitag, dem 26.08.2022 um 01:05 +0100 schrieb madmurphy:
> > > Any updates on this? In the meanwhile I have update the module.
> > > Please find the updated version of the patch attached.
> >
> > Sorry for keeping you waiting. Most people are currently on holidays or
> > otherwise busy.
> >
> > I don't know how many people find your package useful, but generally,
> > the module looks good. But let's wait what others have to say.
>
> I actually looked at the package some time ago, but from the minimalist
> example it was not obvious to me what is the whole thing good for.
> Maybe some real use case would help.
>
> Pavel
> --
> lyx-devel mailing list
> lyx-devel at lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20220830/164954d0/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hereapplies.module.zip
Type: application/zip
Size: 850 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20220830/164954d0/attachment-0001.zip>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: random-wikipedia-quotations.lyx
Type: application/x-lyx
Size: 4810 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20220830/164954d0/attachment-0001.lyx>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: random-wikipedia-quotations.pdf
Type: application/pdf
Size: 76209 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20220830/164954d0/attachment-0001.pdf>


More information about the lyx-devel mailing list