search for: inputenc

Displaying 20 results from an estimated 66 matches for "inputenc".

2010 Oct 03
1
Encoding problem in Rd file
...accentuated characters. I have uploaded the file at http://filex.cirad.fr/get?k=cjW7lImMaNC6Ci2vX0H I have declared Encoding: latin1 in the package DESCRIPTION file and I have added \encoding{latin1} in the header of the Rd file. When I compile the package manual, I have LaTeX errors: ! Package inputenc Error: Unicode char \u8:?F not set up for use with LaTeX. See the inputenc package documentation for explanation. Type H <return> for immediate help. ... l.579 ...ain. Aspects m??thodologiques.} Rev. ? F aug??re, O., Dock??s, A.-C... Yo...
2012 Jul 04
1
Suggestion / patch to support more Unicode characters in R CMD Rd2pdf
Hi list, When using R CMD Rd2pdf, it is possible to set environment variable RD2PDF_INPUTENC to value "inputenx" and enjoy better support for UTF-8 characters (see ?Rd2pdf). This enables LaTeX package "inputenx" instead of "inputenc". Even better support for UTF-8 encoded characters can be had by better using the facilities provided by inputenx and making...
2009 Mar 27
1
Sweave-output causes error-message in pdflatex
...05 ?.? 0.1 ? ? 1? (actually in the editor the quotation signs are replaced by bars, but they got lost through copy & paste. I don't know if that says anything about my problem.) In the error message produced through pdflatex, the quotation signs reappear. Latex error-message: ! Package inputenc Error: Keyboard character used is undefined (inputenc) in inputencoding `Latin1'. See the inputenc package documentation for explanation. Type H <return> for immediate help. ... l.465 ...*? 0.001 ?**? 0.01 ?*? 0.05 ?.? 0.1 ? ? 1 You need to provide a definition with \DeclareInputTex...
2013 Jan 01
1
Rd problems
...ck the package as cran, I got several encoding issues. Have any one faced this problem? It points out to be a Latex problem, but my guess it is not. I'm using an updated version o Mac Tex. Thanks in advance, This typically indicates Rd problems. LaTeX errors found: 711b8b/Rd2.tex:98: Package inputenc Error: Unicode char \u8: not set up for u se with LaTeX. See the inputenc package documentation for explanation. Type H <return> for immediate help. 711b8b/Rd2.tex:157: Package inputenc Error: Unicode char \u8: not set up for use with LaTeX. Daniel [[alternative HTML ver...
2009 Sep 03
1
Sweavelistingutil: Encoding problems
...Sweavelistingutil is uses some funky character for "`" and "'" that is not recognized. Here is an example from my tex-file: ,---- | Signif. codes: 0 ?***? 0.001 ?**? 0.01 ?*? 0.05 ?.? 0.1 ? ? 1 `---- When comping this I get the following error: ,---- | ERROR: Package inputenc Error: Unicode char | \u8:\lst at FillFixed@\lst at EC not set up `---- There is /no problem/ when I the normal sweave-package. The relevant part of my preamble looks like this: ,---- | \documentclass[a4paper]{scrartcl} | \usepackage{scrpage2} | \usepackage[english,danish]{babel} | \usepackage[T...
2012 Aug 08
2
sweave problem with special danish characters
...haracters like ø, ø and å. I have upgraded R from 2.13 to 2.15 and the scripts worked fine under R 2.13. Sweave("Test.Rnw", encoding = "utf8") texi2dvi("Test.tex", pdf = TRUE) %"Test.Rnw" \documentclass{article} \usepackage [danish]{babel} \usepackage[utf8]{inputenc} \begin{document} This is a test that works \end{document} %"Test.Rnw" \documentclass{article} \usepackage [danish]{babel} \usepackage[utf8]{inputenc} \begin{document} This doesn't æ ø å and pdf document only contains NA \end{document} Any suggestions? Best wishes Jonas Hal ____...
2004 Dec 20
3
Sweave and LaTeX beamer class
Hi, has anyonne experienced problems between the LaTeX beamer class and Sweave? The following code does not work properly: ################################# \documentclass{beamer} \usepackage[latin1]{inputenc} \usepackage[T1]{fontenc} \usepackage{ngerman} \begin{document} \frame{ \frametitle{test} test <<>>= 1+1 @ } \end{document} ################################# Below is the error code: ################################# loading : Context Support Macros / PDF (2004.10.26) ) (d:\progra...
2009 Apr 16
2
there are fontencoding problem in Sweave
...e using Sweave. For cyrillic text LaTeX use T2A encoding \usepackage[T2A]{fontenc} But in Sweave.sty we find: \RequirePackage[T1]{fontenc} It is source of critical problem. For example Rnw file $ cat estimation.Rnw \documentclass[A4paper]{article} \usepackage[T2A]{fontenc} \usepackage[utf8]{inputenc} \usepackage[russian,english]{babel} \begin{document} Для начала попытаемся апроксимировать результаты нормативной зависимости. $$ \Delta T_k = 800(C_p + 0.07C_{Cu})F^{1/3} $$ \end{document} will be translate to this estimate.tex $ R CMD Sweave estimation.Rnw $ cat estimate.tex \documentclass...
2005 Oct 31
2
Sweave (R?) font encoding problems
...C;LC_IDENTIFICATION=C" R> localeToCharset() [1] "ISO8859-1" Here is a small example trying to replicate my problems: File:exp.Rnw ================================ \documentclass[10pt,twoside]{article} \usepackage[dvips]{graphicx} \usepackage[portuges]{babel} \usepackage[latin1]{inputenc} \usepackage[T1]{fontenc} \begin{document} \section{Introdu????o} Isto ?? uma experi??ncia. \begin{figure}[b] \centering <<echo=false,fig=true,width=10,height=10>>= barras(1) @ \caption{Distribui????o dos valores percentuais.} \label{fig:idade} \end{figure} \end{document} =========...
2012 Jul 24
1
Encoding errors in Rd files
...poll' 'Lac Kinogami' in object 'modpoll' * checking data for ASCII and uncompressed saves ... OK * checking examples ... OK * checking PDF version of manual ... WARNING LaTeX errors when creating PDF version. This typically indicates Rd problems. LaTeX errors found: ! Package inputenc Error: Keyboard character used is undefined (inputenc) in inputencoding `utf8'. I'll keep searching the help list archives for a clue, but If somebody could point me at educational material it's really time that I learn this aspect. I've read http://developer.r-p...
2014 Dec 09
4
UTF8 markdown vignette
...me, e.g. > 'utf8' %in% iconvlist() [1] FALSE > 'UTF-8' %in% iconvlist() [1] TRUE > 'UTF8' %in% iconvlist() [1] TRUE BTW, %\VignetteEncoding is not documented anywhere (Cc'ing Kurt), and I think it needs to be documented, since the old approach \usepackage[enc]{inputenc} was basically a hack, which looks really odd in non-LaTeX vignettes (e.g. HTML vignettes). 3. The default `encoding` argument of rmarkdown::render() is not relevant here, even if its value is native.enc. When R build a vignette, it tries to detect its encoding and pass it to the vignette engine,...
2009 Apr 16
0
there are fontencoding problem in Sweave
...fontenc} > > But in Sweave.sty we find: > > \RequirePackage[T1]{fontenc} > > It is source of critical problem. > > For example Rnw file > > $ cat estimation.Rnw > > \documentclass[A4paper]{article} > > \usepackage[T2A]{fontenc} > \usepackage[utf8]{inputenc} > \usepackage[russian,english]{babel} > > \begin{document} > > ?????? ???????????? ???????????????????? ?????????????????????????????? ???????????????????? ?????????????????????? ??????????????????????. > > $$ > \Delta T_k = 800(C_p + 0.07C_{Cu})F^{1/3} > $$ > &gt...
2012 Apr 14
1
Sweave UFT8 problem
...er R 2.14 used to render a warning when the encoding was not declared when using Sweave. With R 2.15 it seems to render an error. Sweave("sim_pi.Rnw") Error: 'sim_pi.Rnw' is not ASCII and does not declare an encoding Declaring an encoding by adding a line like \usepackage[utf8]{inputenc} in the preamble does the job. In my case though the .Rnw document does no have a preamble as it is just one chapter. All chapters are Sweaved separately (due to computation time). Hence I cannot inject the above line as LaTex will cause an error afterwards. (usepackage{} is only allowed in the pr...
2011 Nov 29
0
a couple Sweave buglets
..., v2 | |----------------------------------------------------------| | http://pngu.mgh.harvard.edu/purcell/plink/ | @----------------------------------------------------------@ ======================================== - XeTeX definitely does not like having any \usepackage[whatever]{inputenc} (it assumes inputs are always utf-8) While both of these can be worked around - using \input{} for anything Sweave might mess with, and put a % in front of \userpackage[inputenc] (Sweave seems to read LaTeX comments as real; but that's probaby a mis-feature...); SWeave probably should not st...
2014 Sep 26
2
Text file encoding
...ith iconv: iconv -f MACINTOSH -t ISO8859-15 file.bib.mac >file.bib iconv -f ISO8859-15 -t MACINTOSH file.bib >file.bib.mac But it is a little tedious to work like this... Runing pdflatex (in CentOS) on these files written on apple laptops works fine with \usepackage[applemac]{inputenc} So the main problem is an editor problem. I've tried several ones (nedit, gedit, kate, vim...) none of them seams to support this encoding. But may be it is a configuration problem ? Any idea ? Thanks Patrick
2009 Jan 28
0
Sweave problem with greek text
...Sweave in 100% English texts. I postscript the following files: * unsuccessful.sweave.Rnw * unsuccessful.sweave.tex * successful.greek.tex ######################## unsuccessful.sweave.Rnw ######################## \documentclass[a4paper,12pt]{book} \usepackage[greek]{babel} \usepackage[iso-8859-7]{inputenc} % \usepackage{kerkis} \begin{document} \section{\textlatin{Sweave}} \subsection{\textlatin{in Greek}} ???? ???, ???? ????? ????????. <<>>= data(airquality) library(ctest) kruskal.test(Ozone ~ Month, data = airquality) @ \subsection{\textlatin{in English}} \textlatin{Hello to all, now...
2009 Oct 13
2
Sweave output encoding in R-2.10.0beta on Windows (Rgui <-> Rterm)
...ill try to explain my observations as best I can. In R-2.9.2pat, when invoking R via Rgui --vanilla (output of seesionInfo() below), the output of Sweave for .rnw files containing german umlaute (latin1-encoded) is again latin1-encoded (the resulting .tex-file compiles with \usepackage[latin1]{inputenc} and \usepackage[german]{babel}). In R-2.10.0beta, however, when invoking R via Rgui --vanilla (output of seesionInfo() below), some of Sweave's output (more precisely, Soutput environments containing german umlaute, Sinput environments with german umlaute are still latin1) is utf-8 encoded...
2014 Dec 09
2
UTF8 markdown vignette
...no-resave-data > > The DESCRIPTION file has > > VignetteBuilder: knitr > Suggests: knitr > Imports: rmarkdown > > The markdown vignette YAML contains > vignette: > > %\VignetteEngine{knitr::rmarkdown} > %\VignetteIndexEntry{The title} > \usepackage[utf8]{inputenc} > > The custom output style converts the markdown to beamer with the --latex-engine = xelatex flag. > > The vignette in tar.gz passes R --vanilla CMD check --timings > --as-cran > > * checking files in 'vignettes' ... OK > * checking for unstated dependencies in vi...
2006 Feb 13
2
Sweave, mle and curve
I am trying to write a lesson on maximum likelihood with Sweave. I get a surprising result with the following code, lec4.Snw: \documentclass[a4paper,12pt]{article} \usepackage[latin1]{inputenc} \title{Maximum likelihood} \author{G伱伓ran Brostr伱伓m} \begin{document} \maketitle <<fig=TRUE>>= ## Simulate Y: n <- 25 Y <- sum(rpois(n, lambda = 1)) Y ## Define minusloglik: minusloglik <- function(theta) n * theta - Y * log(theta) curve(minusloglik, 0.2, 2, xlab = &quo...
2014 Dec 09
0
UTF8 markdown vignette
...() > [1] FALSE > > 'UTF-8' %in% iconvlist() > [1] TRUE > > 'UTF8' %in% iconvlist() > [1] TRUE > > BTW, %\VignetteEncoding is not documented anywhere (Cc'ing Kurt), and > I think it needs to be documented, since the old approach > \usepackage[enc]{inputenc} was basically a hack, which looks really > odd in non-LaTeX vignettes (e.g. HTML vignettes). Yes, "utf8" works; it will be sent to the vignette engine as "UTF-8". I was surprised about the missing docs. The documented way to do this is to use %\SweaveUTF8 but the sou...