Conversion to journal style

Aperta
#2,722 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
30/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
latex

Direzione di ricerca

The payload names no source files, so begin by finding where the LaTeX \title[...] short title is generated from the document's title element in the PreTeXt-to-LaTeX conversion. The short-title bug is that a manual line break (\\) in the full title is copied into the bracketed short title; the fix should keep that break out of the short title. Done means a two-line title with a subtitle produces a short title without \\ and the LaTeX still compiles. The second problem, the PDF build failing to fetch bull-l.cls, is a separate issue and should be handled on its own.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

latex research paper

I encountered 2 problems when converting to "bull-amer-math-soc" .
I don't think these are specific to that style.

  1. If I try to build the PDF, the automatic fetching of bull-l.cls fails.
    Work around: build the latex and then compile by hand.

Building the latex does not try to fetch the style file, but maybe it should?

Note: wget fails to fetch that file, even though it exists. If I go to the URL
in a browser, I see the file. Then I can save it. Apparently the website is
checking the user agent. The file:
https://www.ams.org/arc/journals/packages/bull/bull_amslatex/bull-l.cls

  1. Many styles allow a short title. If you do not indicate one in your source,
    PTX uses the full title. What went wrong for me is that I had a 2-line title,
    which gets line break in the LaTeX source. The problem was that it also
    gave a line break in the short title. This is what I got (note that I also had
    a subtitle, which looked okay to me):
\title[Currently there are no reasons to doubt\\
the Riemann Hypothesis]{Currently there are no reasons to doubt\\
the Riemann Hypothesis\\
{\small The zeta function beyond the realm of computation}}

The double backslash in the short title [in the square brackets] should not be there.

A possible solution is to not put a short title when the author does not specify one.

My source is in a private repository, but I can give access if that helps.

Lingua principale
XSLT
Stelle
466
Fork
251
Merge medio
4m
PR unite (30g)
13

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di PreTeXtBook/pretext

Tutte le issue di PreTeXtBook/pretext

Issue simili

Altre issue su Build System

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.