newline discrepancy between HTML and hardcopy
I maintainer di solito rispondono entro 4 giorni
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 25/100
Direzione di ricerca
The payload names the BEGIN_TEXT/END_TEXT block and the $PAR macro as the source of the blank-line handling, and compares the HTML output (a div) with the TeX hardcopy output. Start by reproducing the example in both output modes to confirm the difference. Done needs a maintainer decision on whether blank lines should be normalized before $PAR is interpolated, since the thread leaves that open.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
If you have like:
BEGIN_TEXT
Hello world
Hello world
Hello world
END_TEXT
Then the HTML output has a div whose source preserves all the whitespace, but a reader doesn't see that whitespace. The reader just sees
Hello world Hello world Hello world
Meanwhile in hardcopy output, again the white space is preserved in the tex, but that double line break makes an impact and the reader sees:
Hello world Hello world
Hello world
Of course it's been this way forever. I wondered if it's worth making the behavior be consistent. I think it would be "easy" to just remove blank lines from input before things like $PAR are interpolated, so that the hardcopy behavior would move to be like the HTML behavior. Of course, there is no discrepancy when using PGML, so maybe this is just a quirk of some old way of doing things that should not be used anymore.
I happened to notice this discrepancy while investigating a PreTeXt output issue that I won't get into here, but I am working on separately.
- Lingua principale
- Perl
- Stelle
- 48
- Fork
- 78
- Merge medio
- 5g 13h
- PR unite (30g)
- 9
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
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di openwebwork/pg
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 48/100
openwebwork/pg#1566 · 5 commenti ·
I maintainer di solito rispondono entro 4 giorni
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 38/100
openwebwork/pg#1563 · 8 commenti ·
I maintainer di solito rispondono entro 4 giorni
-
Difficoltà 4/5 1-2 giorni Idoneità per principianti 50/100
openwebwork/pg#1560 · 10 commenti ·
I maintainer di solito rispondono entro 4 giorni
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 12/100
openwebwork/pg#1542 · 1 commento ·
I maintainer di solito rispondono entro 4 giorni
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 50/100
openwebwork/pg#1483 · 8 commenti ·
I maintainer di solito rispondono entro 4 giorni
Tutte le issue di openwebwork/pg
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
openwebwork/webwork2#3295 ·
I maintainer di solito rispondono entro 4 giorni
-
nftables: "Display comment in rules list?" option has no effect, comments not shown in rules listAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
Type: Bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
inverse-inc/packetfence#9707 ·
I maintainer di solito rispondono entro 1 giorno
-
Mailaddress phrase quotingAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
RotherOSS/otobo#6457 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
The reply-to for the pro user signup emails should be the email of the user instrad of the contact@ emailForse già presa @sisodiaumang l’ha presa oggi. Aperta🏭 producer platform - spam
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
openfoodfacts/openfoodfacts-server#15447 ·
I maintainer di solito rispondono entro 1 giorno