Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Knit, PDF, Mac; failed... #925

Closed
harryprince opened this issue Dec 31, 2014 · 8 comments
Closed

Knit, PDF, Mac; failed... #925

harryprince opened this issue Dec 31, 2014 · 8 comments
Milestone

Comments

@harryprince
Copy link

I failed to find the answer for mac around Stackoverflow or Github,
only to have the same solution for Linux....So I need your help.

! LaTeX Error: File `framed.sty' not found.

Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: sty)

Enter file name: 
! Emergency stop.
<read *> 

l.31 \definecolor

pandoc: Error producing PDF from TeX source
Error: pandoc document conversion failed with error 43
Execution halted
 sessionInfo()
R version 3.1.2 (2014-10-31)
Platform: x86_64-apple-darwin13.4.0 (64-bit)

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

loaded via a namespace (and not attached):
 [1] colorspace_1.2-4 digest_0.6.4     ggplot2_1.0.0    grid_3.1.2       gtable_0.1.2    
 [6] htmltools_0.2.6  MASS_7.3-35      munsell_0.4.2    plyr_1.8.1       proto_0.3-10    
[11] queueing_0.2.3   Rcpp_0.11.2      reshape2_1.4     rmarkdown_0.2.68 scales_0.2.4    
[16] stringr_0.6.2    tools_3.1.2      yaml_2.1.13 
@yihui
Copy link
Owner

yihui commented Dec 31, 2014

Open a terminal, and install the framed package:

sudo tlmgr install framed

@yihui yihui closed this as completed Dec 31, 2014
@yihui yihui added this to the v1.9 milestone Dec 31, 2014
@yihui
Copy link
Owner

yihui commented Dec 31, 2014

BTW, you need to update your R packages as well (although it is irrelevant to this issue), and I recommend you to do it once in a while.

@harryprince
Copy link
Author

processing file: C++指针调用.Rmd
output file: C++指针调用.knit.md

! LaTeX Error: File `titling.sty' not found.

Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: sty)

Enter file name: 
! Emergency stop.
<read *> 

l.55 \setlength

pandoc: Error producing PDF from TeX source
Error: pandoc document conversion failed with error 43
Execution halted

@harryprince
Copy link
Author

Here is a new problem,and I don't know what is thetitling.sty...By the way,the only one template that you supplied could work on mac currently,Journal of Statistical Software,however,others doesn't work,and I don't know how to run under the Chinese characteristics. 如何支持中文啊?

@Ewen2015
Copy link

Try sudo tlmgr install titling

@erichulburd
Copy link

$ sudo tlmgr install tilting
Password:
Sorry, try again.
Password:
tlmgr: package repository http://mirror.utexas.edu/ctan/systems/texlive/tlnet (verified)
tlmgr install: package tilting not present in repository.
tlmgr: action install returned an error; continuing.
tlmgr: An error has occurred. See above messages. Exiting.

@yihui
Copy link
Owner

yihui commented Jan 30, 2018

To all: you can remove your existing LaTeX installation and use TinyTeX now -- https://yihui.name/tinytex/ There will no more more pain with LaTeX packages, and it does not require sudo.

@github-actions
Copy link

This old thread has been automatically locked. If you think you have found something related to this, please open a new issue by following the issue guide (https://yihui.org/issue/), and link to this old issue if necessary.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 10, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants