-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
markup for definienda and definienses #55
Comments
BTW, i am counting 27 |
we don't have to stick religiously to docbook now but I think the docbook way to have the term definitions as in our current
or for inline definintions
and then a link to the term being although having looked up exactly what docbook suggests I am tempted do use more focussed markup as you suggest. It would however be nice to make the existing definition lists using
have anchors (either by giving them id= in the source or just implicitly taking the label as an anchor, that way you would be able to link directly to https://openmath.github.io/standard/om20-editors-draft/omstd20#CDGroup even if no reference in the doc goes straight to that item. currently the nearest you can get to is the heading for the section containing the definition list https://openmath.github.io/standard/om20-editors-draft/omstd20#sect_cdgpcdata So.... do you need "inline" definitions for the first time, or do we stick with the current definition list style? |
I went with some compromise between keeping docbook flavoured markup something understandable. Implemented the following changes
In html (not yet pdf) the term gets an id (on a new So the meaningless input
produces
|
excellent, then I will start using that systematically; I will probably make a branch and a pull request for that. But probably only after we have agreed on and merged the alpha-conversion PR #50. |
I find myself using <term id="attvar">attributed variable</term> .... <xref linkend="attvar">attributed variables</xref> works? I believe that this should be relatively simple to do right? |
Also I think we should have a class for "term with id" (which stands for a definiendum). Normally, such definienda are marked up in boldface. It would be great to have that for the OM standard as well. |
Actually, I have started a new branch |
Thanks. I am not sure how to fix the PDF, but doubtless David does.
From: Michael Kohlhase [mailto:[email protected]]
Sent: 09 December 2017 13:06
To: OpenMath/OMSTD <[email protected]>
Cc: James Davenport <[email protected]>; Mention <[email protected]>
Subject: Re: [OpenMath/OMSTD] markup for definienda and definienses (#55)
Also I think we should have a class for "term with id" (which stands for a definiendum). Normally, such definienda are marked up in boldface. It would be great to have that for the OM standard as well.
Actually, I have started a new branch definition-markup (to be committed) and there I have fixed the css in the html. But not in the PDF.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#55 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AGvamS2EOIBehc0rA6Zf_sE0ufUs0ICiks5s-oWhgaJpZM4Pulgc>.
|
I also have some views on ‘definitions’, some of which may affect the work on ‘definition-markup’. |
But maybe your new stuff is only relevant to the defining terms in the standard, rather than the ‘mathematical definitions’ in CDs. |
yes, it is only editorial work on the standard. Definitions in CDs are a different matter. |
The OM Standard defines a couple of technical terms (e.g. bound and free, that set me off). and we currently use
<quote>foo</quote>
to mark up the definienda. It would be helpful to the reader, if we would have markup and interlinking for defined terms. I.e.and then later
The idea is that
<termdef>
becomes bold in the html and PDF and carries and anchor and the<termref>
becomes a link to that "defining occurrence".That would be relatively easy to implement in the conversion and I would be willing to add the markup.
cc: @JamesHDavenport @pdfion
The text was updated successfully, but these errors were encountered: