Hyper-literate programming is to literate programming exactly what hypertext documents are to regular books and texts.
Go to file
Ben Greenman f069b975fb acmart: simplify @title implementation
Change LaTeX implementation of `@title` to just use `\title` --- don't try to extract a subtitle.

- - -

This fixes a bug, where the `Title` meta-data in the PDF for a document titled
 "Foo" was "oo" (same title with first letter missing). So, e.g., Google chrome
 would show "oo" as the tab title for the document.

- - -

Why not try to fix subtitle extraction?
  1. I don't think we need it in `scribble/acmart`, because there's a separate `@subtitle` command
  2. Not sure how to extract a subtitle without using `\let` inside `\title`, but doing so generates 2 LaTeX warnings:

     ```
       Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding):
       (hyperref)                removing `\<let>-command' on input line 674.

       Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding):
       (hyperref)                removing `\SSubtitle' on input line 674.
     ```

The "visual" bug was probably due to this warning; after removing the `\let`
 and `\SSubtitle` then only `\SubtitleDrop` and the actual title are left.
I guess `\SSubtitleDrop` removed the first character of the title.
(Why only the first character? I don't know.)

The LaTeX warning from `hyperref` is probably because acmart expects the
 argument to `\title` to be a raw string. Though, the docs don't explicitly
 say this. They only say "It is expected that this command [`\title`] is inserted
 by the author of the manuscript."
2017-05-31 13:52:01 -04:00
scribble Remove extra directories. 2014-12-02 00:54:52 -05:00
scribble-doc autobib: add contracts to *-location functions 2017-05-23 23:34:02 -04:00
scribble-html-lib move scribble/html tests to scribble-test collection 2016-11-07 17:49:07 -05:00
scribble-lib acmart: simplify @title implementation 2017-05-31 13:52:01 -04:00
scribble-test autobib: add contracts to *-location functions 2017-05-23 23:34:02 -04:00
scribble-text-lib fix scribble/text with syntax-local-identifier-as-binding 2015-07-16 08:40:04 -06:00
.gitignore Add standard .gitignore file. 2014-12-06 17:46:27 -05:00