惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

美团技术团队
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
博客园 - Franky
有赞技术团队
有赞技术团队
博客园 - 司徒正美
量子位
N
News and Events Feed by Topic
T
Threatpost
Last Week in AI
Last Week in AI
D
Darknet – Hacking Tools, Hacker News & Cyber Security
酷 壳 – CoolShell
酷 壳 – CoolShell
C
CERT Recently Published Vulnerability Notes
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
I
Intezer
人人都是产品经理
人人都是产品经理
T
Tenable Blog
IT之家
IT之家
雷峰网
雷峰网
腾讯CDC
博客园 - 聂微东
V
Visual Studio Blog
S
SegmentFault 最新的问题
Scott Helme
Scott Helme
Spread Privacy
Spread Privacy
月光博客
月光博客
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
V
V2EX
大猫的无限游戏
大猫的无限游戏
Apple Machine Learning Research
Apple Machine Learning Research
爱范儿
爱范儿
T
Tailwind CSS Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
罗磊的独立博客
N
Netflix TechBlog - Medium
J
Java Code Geeks
宝玉的分享
宝玉的分享
F
Full Disclosure
WordPress大学
WordPress大学
A
Arctic Wolf
小众软件
小众软件
AWS News Blog
AWS News Blog
Attack and Defense Labs
Attack and Defense Labs
NISL@THU
NISL@THU
AI
AI
Hugging Face - Blog
Hugging Face - Blog
F
Fortinet All Blogs
云风的 BLOG
云风的 BLOG
N
News | PayPal Newsroom
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org

Jonathan Fine

Towards 21st Century Digital Typography Lighter TeX Runs Faster Render Latex Multiple Ways A Blind Math User Story A Visually Impaired Coder's User Story Accessible and Tagged PDF User Stories and Accessibility New Online Tools for TeX Beginners Tex Hour Agenda Blind Math News Accessibility Evaluation: Open University and RNIB Accessibility Tools Latex math on social media Blind Math News Happy Birthday Don Knuth New Year's and Christmas Fun Tex Office Hours Importance of Typography UK TeX users — from here to there Calling UK LaTeX editors etc LaTeX Tutor Sub and Sup A LaTeX Typing Tutor About the LaTeX Typing Tutor London Scholarly Tech Meetup UK TeX User Group survives Jonathan Fine's statement for Chair of UK TUG Some new 2019 Q3 ac.uk LaTeX pages UK TUG — more news soon Why 2358? Why did I choose Hugo? Linear homology in a nutshell: now on arxiv Contact
Multi Author Docs
2021-01-21 · via Jonathan Fine

POSTS

Summary

We all know that TeX has large use cases, such as research math and physics. This post is about how TeX might help some small niche use cases. We study one example, and suggest how it might scale to others. The scaling depend on non-TeX software and systems, such as web frameworks, and server / cloud computing.

Introduction

We're social creatures. Mostly, we live in communities. We speak and listen. We use language. Fortunately, most of us read and write. Multiple author documents have a special place in our culture and history. For example, religion, laws and reference works. And also standards and source code for computer software.

We're also tool makers and users, with imagination. This post is about making it easier for a group to come together to produce a multiple author document. It's based on a discussion I had with Gernot Salzer at a recent TeX Office Hour, on how he and his colleagues at TU Wien produce curricula for about 100 academic programs.

If you're interested do drop in to my TeX Office Hour (every Thursday evening 6:30 to 7:30pm UK time).

The TU Wien example

TU Wien (see Links below) is one of the major universities in Austria. It's a technical university in Vienna. It has about 28,000 students and 5,000 staff, of whom 3,800 are academics. It focuses on engineering, computer science and natural sciences. Its motto Technik für Menschen (Technology for People) could also be the motto for this article.

It offers about 100 academic programs. I'll review the curriculum for one of them (see Links below). You might like to take a look at it now, or after you've read this post.

This curriculum has 91 pages. Its typography is quite simple - sections, paragraphs, lists, and a few tables. There are also some footnotes and semantic change of font. It's been typeset by LaTeX (as suggested by its fonts and layout).

TU Wien has about 100 similar documents, that are revised from time to time. It has multiple authors, stakeholders and constraints including

  • The state of Austria, via laws and legal regulations.
  • The TU Wien Senate, via rules and regulations.
  • Professors describing modules and courses.
  • Curriculum managers providing additional information.

For example, the senate must respect Austrian law, which requires curricula to use appropriate choice of words. To me it seems likely that hundreds if not thousands of the 5,000 TU Wien staff contribute fairly directly to the authoring of at least one curriculum.

Each author of a curriculum wants to be sure that the parts of the curriculum they're responsible for are accurate, and haven't been changed during the editorial and production process.

The prospective student reading the curriculum has a different experience. For them, the author of the document is TU Wien. Further, it's a legal document. It describes the benefits provided to the student, as a result of enrolling in the programme.

For both authors and readers, consistency is a great help.

The generic example

Based on the above, and my experience of the Django web framework, I suggest creating a framework. Here's my suggestion for the use case.

Design goal

An off-the-shelf open source software system, suitably configured, will provid a satisfactory solution. This is the guiding principle for the generic example.

Configuration might require some customisation of software components, such as:

  • Basic parameters
  • Design parameters
  • HTML templates
  • CSS style sheets
  • XSLT stylesheets
  • TeX fonts and macros

Only necessary knowledge should be required to configure and customise the system. In other words

  • The specific use case
  • The high level structure of the framework
  • Knowledge of the configuration component being changed.

In other words, no knowledge of HTML required to change the TeX macros, or vice versa.

People

The people constraint is based on the design goal just stated. In other words, large enough to require an custom solution and small enough to have a simple solution. The cost in time, effort and money should be low.

Here's my guess. Your's might be different.

  • 1 organisation
  • 50 to 1,000 authors
  • Easy to learn and use for most authors.
  • Web interface available.
  • 20 to 500 similar documents
  • Permissions governed by roles
  • 1 to 5 roles for each document
  • Skills available sufficient for required customisation.

Framework

This is a reformulation of the design goal.

  • Provides basic facilities
  • Off-the-shelf solutions for standard problems.
  • Customisation by addition of components.
  • Framework and components easy to configure.
  • Clearly stated special skills, such as LaTeX, XML, XSLT, HTML, CSS (and of course Information Architecture).
  • Separation of concerns (eg LaTeX expert doesn't need to know CSS).

Deployment

The basic idea is that deployment should be easy. And that it should rely only on widely used and understood resources.

  • Store source documents in git, locally or on the cloud.
  • Standard routes provided for cloud hosting.
  • Compatible with running on local servers.
  • Compatible with running on user PCs.
  • Compatible with serverless computing (see Links below).

Outputs

As required by the organisation. Providing additional outputs should be straightforward. The core outputs should include:

  • PDF
  • HTML
  • XML
  • JSON

Relevant prior art

The basic idea is to exploit structured content. One established example is XML publishing. See the Links below for three examples of how structured content is being converted to PDF.

In a certain sense the basis idea is to build a generic tool that makes it much easier (and cheaper) to solve niche cases. For that the web frameworks such as Django, Flask and Hugo (see Links below) provide examples worth studying.

These examples can provide inspiration, and a pattern to follow. More examples might be needed, as progress is made.

Acknowledgement

I'm most grateful to Gernot Salzer for telling me about the production of curricula at TU Wien, and being generous in his time and providing further information. Any errors in the above are mine.

TeX Office Hour

  • Interested? Do drop in to TeX Office Hour (every Thursday evening 6:30 to 7:30pm UK time).

People

TU Wien

Structured content to PDF

Wikipedia links