rdmorganiser / rdmorganiser/rdmo

LaTeX export as standalone document

Open
#529 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

type:feature-request
Dominant language
Python
Stars
133
Forks
60
Avg merge
3d 14h
Merged PRs (30d)
21

Description

Description / Beschreibung

When exporting either a view or the answers list in LaTeX format, the generated document is not stand-alone and cannot be compiled.

It seems to lack the preamble:

\documentclass[a4paper,11pt]{report}
\begin{document}
\definecommand{hypertarget}{...}

Metadata are also not exported.

Expected behaviour / Erwartetes Verhalten

A clear and concise description of what you expected to happen.

Steps to reproduce / Schritte zum Reproduzieren
  1. Go to https://rdmocat.aip.de/projects/13/answers/ or https://rdmocat.aip.de/projects/13/views/3/
  2. Click on Export --> LaTeX and save the downloaded file
  3. Open the exported file
  4. See error

image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the export paths reached from the project answers and views pages, then inspect how LaTeX output is assembled. Reproduce the export and check the generated file against the missing preamble and metadata described in the issue; done means both export types produce compilable standalone documents with metadata included.

Written by the indexing model from the issue text.

Assessment

Tech stack
latex, python
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.