Skip to content

Undefined control sequence with tinytex #34

Open
@wjones127

Description

@wjones127

If I try to render the template locally on a Mac with:

quarto use template quarto-journals/acm
cd article
quarto install tinytex
quarto render article.qmd --to acm-pdf

I get:

compilation failed- error
Undefined control sequence.
l.182 \acmPrice
               {15.00}

Even though it appears tinytex is installing the acmart package:

updating existing packages
finding package for acmart.cls
> 1 package to install
> installing acmart (1 of 1)
  This is XeTeX, Version 3.141592653-2.6-0.999995 (TeX Live 2023) (preloaded format=xelatex)
   restricted \write18 enabled.
  entering extended mode

It does work if I instead install a full MacTex installation, which is what I'm doing for now.

Full logs

❯ quarto render article.qmd --to acm-pdf
pandoc
  to: latex
  output-file: article.tex
  template: _extensions/quarto-journals/acm/acmarttemplate.tex
  standalone: true
  pdf-engine: xelatex
  variables:
    graphics: true
    tables: true
  default-image-extension: pdf
  cite-method: natbib

metadata
  block-headings: true
  knitr:
    opts_chunk:
      echo: false
  colorlinks: true
  urlcolor: red
  biblio-style: te.bst
  documentclass: acmart
  header-includes:
    - |
      \definecolor{mypink}{RGB}{219, 48, 122}
  bibliography:
    - bibliography.bib
  title: The Name of the Title Is Hope
  short-title: Hope
  author:
    - name: Ben Trovato
      email: trovato@corporation.com
      orcid: 1234-5678-9012
    - name: G.K.M. Tobin
      email: webmaster@marysville-ohio.com
      affiliation:
        name: Institute for Clarity in Documentation
        address: P.O. Box 1212
        city: Dublin
        state: Ohio
        country: USA
        postal-code: 43017-6221
    - name: Lars Thørväld
      email: larst@affiliation.org
      affiliation:
        name: The Thørväld Group
        address: 1 Thørväld Circle
        city: Hekla
        country: Iceland
    - name: Valerie Béranger
      affiliation:
        name: Inria Paris-Rocquencourt
        city: Rocquencourt
        country: France
    - name: Aparna Patel
      affiliation:
        name: Rajiv Gandhi University
        address: Rono-Hills
        city: Doimukh
        state: Arunachal Pradesh
        country: India
    - name: Huifen Chan
      affiliation:
        name: Tsinghua University
        address: 30 Shuangqing Rd
        city: Haidian Qu
        state: Beijing Shi
        country: China
    - name: Charles Palmer
      affiliation:
        name: Palmer Research Laboratories
        address: 8600 Datapoint Drive
        city: San Antonio
        state: Texas
        country: USA
        postal-code: 78829
      email: cpalmer@prl.com
    - name: John Smith
      affiliation:
        name: The Thørväld Group
        address: 1 Thørväld Circle
        city: Hekla
        country: Iceland
      email: jsmith@affiliation.org
    - name: Julius P. Kumquat
      affiliation:
        name: The Kumquat Consortium
        city: New York
        country: USA
      email: jpkumquat@consortium.net
  acm-metadata:
    final: true
    copyright-year: 2018
    acm-year: 2018
    copyright: acmcopyright
    doi: XXXXXXX.XXXXXXX
    conference-acronym: Conference acronym 'XX
    conference-name: |
      Make sure to enter the correct
      conference title from your rights confirmation emai
    conference-date: 'June 03--05, 2018'
    conference-location: 'Woodstock, NY'
    price: '15.00'
    isbn: 978-1-4503-XXXX-X/18/06
    shortauthors: Trovato et al.
    ccs: |
      \begin{CCSXML}
      <ccs2012>
       <concept>
        <concept_id>10010520.10010553.10010562</concept_id>
        <concept_desc>Computer systems organization~Embedded systems</concept_desc>
        <concept_significance>500</concept_significance>
       </concept>
       <concept>
        <concept_id>10010520.10010575.10010755</concept_id>
        <concept_desc>Computer systems organization~Redundancy</concept_desc>
        <concept_significance>300</concept_significance>
       </concept>
       <concept>
        <concept_id>10010520.10010553.10010554</concept_id>
        <concept_desc>Computer systems organization~Robotics</concept_desc>
        <concept_significance>100</concept_significance>
       </concept>
       <concept>
        <concept_id>10003033.10003083.10003095</concept_id>
        <concept_desc>Networks~Network reliability</concept_desc>
        <concept_significance>100</concept_significance>
       </concept>
      </ccs2012>
      \end{CCSXML}

      \ccsdesc[500]{Computer systems organization~Embedded systems}
      \ccsdesc[300]{Computer systems organization~Redundancy}
      \ccsdesc{Computer systems organization~Robotics}
      \ccsdesc[100]{Networks~Network reliability}
    keywords:
      - datasets
      - neural networks
      - gaze detection
      - text tagging
  abstract: |
    A clear and well-documented \LaTeX\ document is presented as an
    article formatted for publication by ACM in a conference proceedings
    or journal publication. Based on the "acmart" document class, this
    article presents and explains many of the common variations, as well
    as many of the formatting elements an author may use in the
    preparation of the documentation of their work.

running xelatex - 1
  This is XeTeX, Version 3.141592653-2.6-0.999995 (TeX Live 2023) (preloaded format=xelatex)
   restricted \write18 enabled.
  entering extended mode

updating tlmgr

updating existing packages
finding package for acmart.cls
> 1 package to install
> installing acmart (1 of 1)
  This is XeTeX, Version 3.141592653-2.6-0.999995 (TeX Live 2023) (preloaded format=xelatex)
   restricted \write18 enabled.
  entering extended mode

finding package for manyfoot.sty
> 1 package to install
> installing ncctools (1 of 1)
  This is XeTeX, Version 3.141592653-2.6-0.999995 (TeX Live 2023) (preloaded format=xelatex)
   restricted \write18 enabled.
  entering extended mode


compilation failed- error
Undefined control sequence.
l.182 \acmPrice
               {15.00}

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions