You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you so much for developing and maintaining the rticles package.
I cannot create a new rmarkdown document using the arxiv template, as I get the following error:
! pdfTeX error (font expansion): auto expansion is only possible with scalable fonts.
<argument> ...shipout:D \box_use:N \l_shipout_box
\__shipout_drop_firstpage_...
l.192 \end{center}
This was working with no issues some hours ago, and all of a sudden I am seeing the above-described error. I know that a similar issue was posted in 2020 (#343).
I am using R-4.3.1, Rstudio version 2023.06.1 and github version of rticles.
To reproduce: create a new rmarkdown document using arxiv template and try knitting it.
[x ] I have provided the necessary information about my issue.
If I'm asking a question, I have already asked it on Stack Overflow or RStudio Community, waited for at least 24 hours, and included a link to my question there.
If I'm filing a bug report, I have included a minimal, self-contained, and reproducible example, and have also included xfun::session_info('rticles'). I have upgraded all my packages to their latest versions (e.g., R, RStudio, and R packages), and also tried the development version: remotes::install_github('rstudio/rticles').
If I have posted the same issue elsewhere, I have also mentioned it in this issue.
I have learned the Github Markdown syntax, and formatted my issue correctly.
I understand that my issue may be closed if I don't fulfill my promises.
The text was updated successfully, but these errors were encountered:
To try reproduce I created a new document using arXiv preprint template
Content
---title: A template for the *arxiv* styleauthors:
- name: David S. Hippocampusthanks: Use footnote for providing further information about author (webpage, alternative address)---*not* for acknowledging funding agencies. Optional.department: Department of Computer Scienceaffiliation: Cranberry-Lemon Universitylocation: Pittsburgh, PA 15213email: [email protected]
- name: Elias D. Striatumdepartment: Department of Electrical Engineeringaffiliation: Mount-Sheikh Universitylocation: Santa Narimana, Levandemail: [email protected]abstract: | Enter the text of your abstract here.keywords:
- blah
- blee
- bloo
- these are optional and can be removedbibliography: references.bibbiblio-style: unsrtoutput: rticles::arxiv_article---# Introduction
Here goes an introduction text
# Headings: first level
\label{sec:headings}
You can use directly LaTeX command or Markdown text.
LaTeX command can be used to reference other section. See Section \ref{sec:headings}.
However, you can also use **bookdown** extensions mechanism for this.
## Headings: second level
You can use equation in blocks
$$\xi _{ij}(t)=P(x_{t}=i,x_{t+1}=j|y,v,w;\theta)= {\frac {\alpha _{i}(t)a^{w_t}_{ij}\beta _{j}(t+1)b^{v_{t+1}}_{j}(y_{t+1})}{\sum _{i=1}^{N} \sum _{j=1}^{N} \alpha _{i}(t)a^{w_t}_{ij}\beta _{j}(t+1)b^{v_{t+1}}_{j}(y_{t+1})}}$$
But also inline i.e $z=x+y$
### Headings: third level
Another paragraph.
# Examples of citations, figures, tables, references
\label{sec:others}
You can insert references. Here is some text [@kour2014real; @kour2014fast] and see @hadash2018estimate.
The documentation for \verb+natbib+ may be found at
You can use custom blocks with LaTeX support from **rmarkdown** to create environment.
::: {.center latex=true}
<http://mirrors.ctan.org/macros/latex/contrib/natbib/natnotes.pdf}>
:::
Of note is the command \verb+\citet+, which produces citations
appropriate for use in inline text.
You can insert LaTeX environment directly too.
\begin{verbatim}
\citet{hasselmo} investigated\dots
\end{verbatim}
produces
\begin{quote}
Hasselmo, et al.\ (1995) investigated\dots
\end{quote}
\begin{center}
\url{https://www.ctan.org/pkg/booktabs}
\end{center}
## Figures
You can insert figure using LaTeX directly.
See Figure \ref{fig:fig1}. Here is how you add footnotes. [^Sample of the first footnote.]
\begin{figure}
\centering
\fbox{\rule[-.5cm]{4cm}{4cm} \rule[-.5cm]{4cm}{0cm}}
\caption{Sample figure caption.}
\label{fig:fig1}
\end{figure}
But you can also do that using R.
```{r fig2, fig.cap = "Another sample figure"}
plot(mtcars$mpg)```
You can use **bookdown** to allow references for Tables and Figures.
## Tables
Below we can see how to use tables.
See awesome Table~\ref{tab:table} which is written directly in LaTeX in source Rmd file.
\begin{table}
\caption{Sample table title}
\centering
\begin{tabular}{lll}
\toprule
\multicolumn{2}{c}{Part} \\
\cmidrule(r){1-2}
Name & Description & Size ($\mu$m) \\
\midrule
Dendrite & Input terminal & $\sim$100 \\
Axon & Output terminal & $\sim$10 \\
Soma & Cell body & up to $10^6$ \\
\bottomrule
\end{tabular}
\label{tab:table}
\end{table}
You can also use R code for that.
```{r}knitr::kable(head(mtcars), caption = "Head of mtcars table")```## Lists- Item 1
- Item 2
- Item 3
Hi Christophe,
Thank you so much for developing and maintaining the rticles package.
I cannot create a new rmarkdown document using the arxiv template, as I get the following error:
This was working with no issues some hours ago, and all of a sudden I am seeing the above-described error. I know that a similar issue was posted in 2020 (#343).
I am using R-4.3.1, Rstudio version 2023.06.1 and github version of rticles.
To reproduce: create a new rmarkdown document using arxiv template and try knitting it.
xfun::session_info('rticles')
By filing an issue to this repo, I promise that
xfun::session_info('rticles')
. I have upgraded all my packages to their latest versions (e.g., R, RStudio, and R packages), and also tried the development version:remotes::install_github('rstudio/rticles')
.I understand that my issue may be closed if I don't fulfill my promises.
The text was updated successfully, but these errors were encountered: