Subject: Re: [jats-list] Computer algorithms From: "dal dalapeyre@xxxxxxxxxxxxxxxx" <jats-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: Tue, 13 Mar 2018 16:03:36 -0000 |
> On Mar 13, 2018, at 11:48 AM, Mirko Janc mjanc@xxxxxxxxxxxxx <jats-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote: > > Formatting of algorithms, especially of pseudo-code, is not properly addressed in JATS. In several of our 16 journals at INFORMS (Institute for Operations Research and the Management Sciences), we have many algorithms. Many of therm are not pure code, so monospaced font is not an option. Authors use bold for reserved words, and very often have quite heavy math expressions in some of the lines. In addition, many require numbers in front of the "code" lines, use vertical "sidebars" to group subroutines, and flush right fragments as comments. We are getting around only by creating them as images from what was typeset. JATS <code> can handle the face markup, inline-graphics, etc., enough for syntax coloring (some folks are doing that). Flush right material might be <styled-content>, and vertical lines might be achieved with milestones, but these seem like a real stretch. Vertical sidebars and cute multi-spanning curly braces are not just not JATS, they are difficult in XML at all. (reference MathML). I fear that these features take your algorithms into the realm of "art" (images), as a flowchart would be, for example. XML is about structured markup, and works best in trees. It is designed to separate format from content. There are many times (tables, curly spanning braces) where format and content are NOT separable. sigh bDebbie ================================================================ Deborah A Lapeyre mailto:dalapeyre@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Phone: 301-315-9631 (USA) Suite 207 Fax: 301-315-8385 Rockville, MD 20850 ---------------------------------------------------------------- Mulberry Technologies: Consultancy for XML, XSLT, and Schematron ================================================================
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [jats-list] Computer algorithms, Mirko Janc mjanc@xxx | Thread | Re: [jats-list] Computer algorithms, Alexander Schwarzman |
Re: [jats-list] Computer algorithms, Mirko Janc mjanc@xxx | Date | Re: [jats-list] Computer algorithms, Alexander Schwarzman |
Month |