{"action":"created","issue":{"url":"https://api.github.com/repos/rstudio/tufte/issues/23","repository_url":"https://api.github.com/repos/rstudio/tufte","labels_url":"https://api.github.com/repos/rstudio/tufte/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/rstudio/tufte/issues/23/comments","events_url":"https://api.github.com/repos/rstudio/tufte/issues/23/events","html_url":"https://github.com/rstudio/tufte/issues/23","id":182265944,"number":23,"title":"section_numbers ignored in handout","user":{"login":"eddelbuettel","id":673121,"avatar_url":"https://avatars.githubusercontent.com/u/673121?v=3","gravatar_id":"","url":"https://api.github.com/users/eddelbuettel","html_url":"https://github.com/eddelbuettel","followers_url":"https://api.github.com/users/eddelbuettel/followers","following_url":"https://api.github.com/users/eddelbuettel/following{/other_user}","gists_url":"https://api.github.com/users/eddelbuettel/gists{/gist_id}","starred_url":"https://api.github.com/users/eddelbuettel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eddelbuettel/subscriptions","organizations_url":"https://api.github.com/users/eddelbuettel/orgs","repos_url":"https://api.github.com/users/eddelbuettel/repos","events_url":"https://api.github.com/users/eddelbuettel/events{/privacy}","received_events_url":"https://api.github.com/users/eddelbuettel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-10-11T13:36:52Z","updated_at":"2016-10-11T21:22:47Z","closed_at":null,"body":"Adding the yaml header `number_sections` works in html mode, for pdf handout it does not work.\r\n\r\nThe numbered sections appear in the toc though (if that option is set).\r\n\r\nThe command-line call to pandoc shows it, though, so it may well be the latex class not supporting it.  In that case ... should the top-level argument be ignored / trigger a warning in `tufte_handout()` ?  The disconnect between table of contents and actual sections is a little weird."},"comment":{"url":"https://api.github.com/repos/rstudio/tufte/issues/comments/253050679","html_url":"https://github.com/rstudio/tufte/issues/23#issuecomment-253050679","issue_url":"https://api.github.com/repos/rstudio/tufte/issues/23","id":253050679,"user":{"login":"yihui","id":163582,"avatar_url":"https://avatars.githubusercontent.com/u/163582?v=3","gravatar_id":"","url":"https://api.github.com/users/yihui","html_url":"https://github.com/yihui","followers_url":"https://api.github.com/users/yihui/followers","following_url":"https://api.github.com/users/yihui/following{/other_user}","gists_url":"https://api.github.com/users/yihui/gists{/gist_id}","starred_url":"https://api.github.com/users/yihui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yihui/subscriptions","organizations_url":"https://api.github.com/users/yihui/orgs","repos_url":"https://api.github.com/users/yihui/repos","events_url":"https://api.github.com/users/yihui/events{/privacy}","received_events_url":"https://api.github.com/users/yihui/received_events","type":"User","site_admin":false},"created_at":"2016-10-11T21:22:47Z","updated_at":"2016-10-11T21:22:47Z","body":"Same versions of the tufte package and tufte-handout.cls.\r\n\r\n```\r\n> packageVersion('tufte')\r\n[1] ‘0.2’\r\n\r\n> system('head `kpsewhich tufte-handout.cls`')\r\n\\NeedsTeXFormat{LaTeX2e}[1994/06/01]\r\n\r\n\\ProvidesClass{tufte-handout}[2015/06/21 v3.5.2 Tufte-handout class]\r\n\r\n%%\r\n% Declare we're tufte-handout\r\n\\newcommand{\\@tufte@class}{article}% the base LaTeX class (defaults to the article/handout style)\r\n\\newcommand{\\@tufte@pkgname}{tufte-handout}% the name of the package (defaults to tufte-handout)\r\n```\r\n\r\nYou can add `keep_tex: yes` and examine the .tex file. It should contain this line:\r\n\r\n```latex\r\n\\setcounter{secnumdepth}{2}\r\n```"}}
{"actor":{"display_login":"yihui"}}