9front - general discussion about 9front
 help / color / mirror / Atom feed
* Re: [9front] Troff ms srefs, weird commata
@ 2021-02-17 17:52 sirjofri
  0 siblings, 0 replies; 5+ messages in thread
From: sirjofri @ 2021-02-17 17:52 UTC (permalink / raw)
  To: 9front

[-- Attachment #1: Type: text/plain, Size: 383 bytes --]

Sorry, I have issues with my mail setup and attachments. Here's the 
patch.

17.02.2021 18:48:32 sirjofri <sirjofri+ml-9front@sirjofri.de>:
> this patch places the commas behind the quotes around the title.
>
> Before: Author, "Title," Journal, ...
> After: Author, "Title", Journal, ...
>
> It also changes the quoting style from the old troff ``Title'' to 
> “Title”.

[-- Attachment #2: tmac.srefs.patch --]
[-- Type: text/x-diff, Size: 1343 bytes --]

/sys/lib/tmac/tmac.srefs:1,4 - tmac.srefs:1,5
  .\" REFER macros .... citations
  .de []
  .][ \\$1
  ..
/sys/lib/tmac/tmac.srefs:12,19 - tmac.srefs:13,22
  .if t .ds .] \v'.4m'\s+2\fP
  .if n .ds [o ""
  .if n .ds [c ""
- .if t .ds [o ``
- .if t .ds [c ''
+ .\"if t .ds [o ``
+ .\"if t .ds [c ''
+ .if t .ds [o “
+ .if t .ds [c ”
  .\" the next lines deal with the problem of .[1] or [1].
  .\" refer will write "linexxx\*(<.[1]\*(>.
  .\" and either "<." or ">." should produce the .;
/sys/lib/tmac/tmac.srefs:62,68 - tmac.srefs:65,71
  .if !"\\*([R"" .rm [C
  .if !"\\*([F"" .IP "\\*([F.\0"
  .if !"\\*([A"" \\*([A,
- .if !"\\*([T"" \\*([o\\*([T,\\*([c
+ .if !"\\*([T"" \\*([o\\*([T\\*([c,
  \\f2\\*([J\\f1\c
  .if !"\\*([C"" , \\*([C\c
  .if !"\\*([V"" .if n ,\& Vol.\&\c
/sys/lib/tmac/tmac.srefs:101,107 - tmac.srefs:104,110
  .FS
  .if !"\\*([F"" .IP "\\*([F.\0"
  .nr %T 1
- \\*([A, \\*([o\\*([T,\\*([c
+ \\*([A, \\*([o\\*([T\\*([c,
  \\*([R\c
  .if !"\\*([G"" \& (\\*([G)\c
  .if !"\\*([I"" ,  \\*([I\c
/sys/lib/tmac/tmac.srefs:118,124 - tmac.srefs:121,127
  .nr %T 1
  .if !"\\*([F"" .IP "\\*([F.\0"
  .if !"\\*([A"" \\*([A,
- .if !"\\*([T"" \\*([o\\*([T,\\*([c
+ .if !"\\*([T"" \\*([o\\*([T\\*([c,
  .if !"\\*([P"" pp. \\*([P
  in \\f2\\*([B\\f1\c
  .if !"\\*([E"" , ed. \\*([E\c



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [9front] Troff ms srefs, weird commata
  2021-02-17 17:15 sirjofri
  2021-02-17 17:48 ` sirjofri
  2021-02-17 17:48 ` sirjofri
@ 2021-02-17 20:24 ` Amavect
  2 siblings, 0 replies; 5+ messages in thread
From: Amavect @ 2021-02-17 20:24 UTC (permalink / raw)
  To: 9front

The three major US citation styles (MLA, APA, Chicago) use periods inside of the quotes.
IEEE style citations puts the comma on the inside.
https://ieee-dataport.org/sites/default/files/analysis/27/IEEE%20Citation%20Guidelines.pdf
None of these exactly match Plan 9 style, of course.

This has it inside, but I don't know when it was typeset.
http://a.papnet.eu/UNIX/v7/files/doc/11_refer.pdf

General US writing style is to put punctuation inside of quotes, no matter if it was part of the quote.

My personal opinion is to have the comma outside if it's not part of the title.
standards are fun :)

Thanks,
Amavect

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [9front] Troff ms srefs, weird commata
  2021-02-17 17:15 sirjofri
  2021-02-17 17:48 ` sirjofri
@ 2021-02-17 17:48 ` sirjofri
  2021-02-17 20:24 ` Amavect
  2 siblings, 0 replies; 5+ messages in thread
From: sirjofri @ 2021-02-17 17:48 UTC (permalink / raw)
  To: 9front

This is a multi-part message in MIME format.
--upas-rsralarpyqzfsbifhotfeeiqfu
Content-Disposition: inline
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 8bit

Hello,

this patch places the commas behind the quotes around the title.

Before: Author, "Title," Journal, ...
After: Author, "Title", Journal, ...

It also changes the quoting style from the old troff ``Title'' to “Title”.

sirjofri

.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [9front] Troff ms srefs, weird commata
  2021-02-17 17:15 sirjofri
@ 2021-02-17 17:48 ` sirjofri
  2021-02-17 17:48 ` sirjofri
  2021-02-17 20:24 ` Amavect
  2 siblings, 0 replies; 5+ messages in thread
From: sirjofri @ 2021-02-17 17:48 UTC (permalink / raw)
  To: 9front

This is a multi-part message in MIME format.
--upas-aocspkeitrmyvqqcehkjepjygq
Content-Disposition: inline
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 8bit

Hello,

this patch places the commas behind the quotes around the title.

Before: Author, "Title," Journal, ...
After: Author, "Title", Journal, ...

It also changes the quoting style from the old troff ``Title'' to “Title”.

sirjofri

.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [9front] Troff ms srefs, weird commata
@ 2021-02-17 17:15 sirjofri
  2021-02-17 17:48 ` sirjofri
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: sirjofri @ 2021-02-17 17:15 UTC (permalink / raw)
  To: 9front

Hello 9front devs,

I was looking at srefs style for typesetting references. I noticed some 
very weird behavior:

Reference titles (eg articles) are typeset like this: "Title," Journal 
.... The comma is _inside_ the quotes, which is very weird. I checked the 
document in /sys/doc/9.ps, where the comma is placed outside the quotes: 
"Title", Journal, which is also what I know.

Is this style just a regular style I don't know? Is a patch interesting?
It is only relevant when using refer.

sirjofri

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-02-17 20:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-17 17:52 [9front] Troff ms srefs, weird commata sirjofri
  -- strict thread matches above, loose matches on Subject: below --
2021-02-17 17:15 sirjofri
2021-02-17 17:48 ` sirjofri
2021-02-17 17:48 ` sirjofri
2021-02-17 20:24 ` Amavect

9front - general discussion about 9front

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://inbox.vuxu.org/9front

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V1 9front 9front/ http://inbox.vuxu.org/9front \
		9front@9front.org
	public-inbox-index 9front

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.vuxu.org/vuxu.archive.9front


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git