Page MenuHomePhabricator

Recognise and Transcode TEX markup files to PDF on Commons.
Open, LowestPublicFeature

Description

What is the feature you are requesting or wanting:

The ability to view documents based on TeX markup on Commons and other projects.

Why?:

Tex documents (via various distributions) see moderate uses in academic publishing and technical manuals for free software.
Whilst these can be uploaded as an intermediate formats like PDF. Having the original TeX source alongside the PDF is sometimes desirable, such as for e-book generation inclusion.

Mediawiki already has some limited TeX rendering capability in respect of the Math tag, How complex would adding a full blown TeX viewer be?

What is being requested:
*Recognition of appropriate TeX filetype or magic on Commons, distinct from other formats.
Transcoding of TeX documents to an appropriate format such as PDF.

Task can be considered complete when?:

A TeX document (using standard libraries) can be upload to commons and displayed/rendered in equivalent manner to DJVU or PDF documents by transcoding it to PDF.

Related Objects

Event Timeline

Hi @ShakespeareFan00. Can you please associate at least one active project with this task (via the Add Action...Change Project Tags dropdown)? Thanks.

@ShakespeareFan00: Please specify what "wider support" means *exactly* so this ticket has criteria which allow to define when this ticket is resolved.
Reading the task description I don't understand why there is the word "wider", and if support means de-facto "upload". Please see and follow https://www.mediawiki.org/wiki/How_to_report_a_bug when creating tasks. Thanks

ShakespeareFan00 renamed this task from Provide wider support for TeX style documents.. to Allow upload of TeX documents on Commons..May 15 2020, 2:42 PM
ShakespeareFan00 updated the task description. (Show Details)
ShakespeareFan00 renamed this task from Allow upload of TeX documents on Commons. to Allow direct upload of TeX documents on Commons..May 15 2020, 2:46 PM
ShakespeareFan00 updated the task description. (Show Details)
ShakespeareFan00 updated the task description. (Show Details)
AntiCompositeNumber lowered the priority of this task from Low to Lowest.Jun 11 2020, 11:07 PM

We don't support TeX for the same base reason that we don't support uploading HTML, markdown, or reStructured Text files: They are all text markup formats, not media formats.

To start with, TeX files would likely be excluded from Commons by COM:SCOPE's prohibition on text formats. TeX files are also not paginated, so random access of a page would be difficult unless the file was converted to PDF first. I also don't know of any TeX processor that outputs images, so TeX files would probably have to be first rendered into a PDF and then thumbnailed. We would also have to decide what TeX distribution, packages, and extensions to support, which would limit our ability to process arbitrary TeX files.

I don't really see a use case corresponding to the required technical effort. The advantage of TeX files over PDFs would be that they're more easily editable. However, all or almost all TeX files would be works published elsewhere, and there are very few instances where those would need to be edited.

ShakespeareFan00 renamed this task from Allow direct upload of TeX documents on Commons. to Recognise and Transcode TEX markup files to PDF..EditedJun 12 2020, 6:58 AM
ShakespeareFan00 updated the task description. (Show Details)

Rendering or transcoding an uploaded TEX file (or markup) to PDF (on the server side) would also be an acceptable compromise, and I have amended the task description accordingly.

ShakespeareFan00 renamed this task from Recognise and Transcode TEX markup files to PDF. to Recognise and Transcode TEX markup files to PDF on Commons..Jun 12 2020, 6:59 AM