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

[BUG] .jnw file not rendered correctly #389

Open
likanzhan opened this issue Aug 25, 2020 · 3 comments
Open

[BUG] .jnw file not rendered correctly #389

likanzhan opened this issue Aug 25, 2020 · 3 comments
Labels

Comments

@likanzhan
Copy link

description

  1. Suppose I have I simple exp.jnw file with the following content:
\documentclass{article}

\begin{document}

Hello, World.

\end{document}
  1. When I run weave("path/to/exp.jnw", doctype="textminted"), it is supposed to return a tex file with the same content as the jnw file. Using Weave v0.10.3, however, I got the following .tex file:
\documentclass[12pt,a4paper]{article}

\usepackage[a4paper,text={16.5cm,25.2cm},centering]{geometry}
\usepackage{lmodern}
\usepackage{amssymb,amsmath}
\usepackage{bm}
\usepackage{graphicx}
\usepackage{microtype}
\usepackage{hyperref}
\usepackage{minted}
\setlength{\parindent}{0pt}
\setlength{\parskip}{1.2ex}

\hypersetup
       {   pdfauthor = {  },
           pdftitle={  },
           colorlinks=TRUE,
           linkcolor=black,
           citecolor=blue,
           urlcolor=blue
       }






\begin{document}



{\textbackslash}documentclass\{article\}

{\textbackslash}begin\{document\}

Hello, World.

{\textbackslash}end\{document\}



\end{document}

versions

using InteractiveUtils; versioninfo():

Julia Version 1.5.0
Commit 96786e22cc (2020-08-01 23:44 UTC)
Platform Info:
  OS: macOS (x86_64-apple-darwin18.7.0)
  CPU: Intel(R) Core(TM) i7-4960HQ CPU @ 2.60GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-9.0.1 (ORCJIT, haswell)
Environment:
  JULIA_NUM_THREADS = 8
  JULIA_PKG_SERVER = https://mirrors.bfsu.edu.cn/julia/static
  JULIA_EDITOR = code

using Pkg; Pkg.status():

  [1520ce14] AbstractTrees v0.3.3
  [6e4b80f9] BenchmarkTools v0.5.0
  [336ed68f] CSV v0.7.7 `https://github.com/JuliaData/CSV.jl.git#master`
  [159f3aea] Cairo v1.0.5
  [a93c6f00] DataFrames v0.21.6 `https://github.com/JuliaData/DataFrames.jl.git#master`
  [1313f7d8] DataFramesMeta v0.5.1
  [31a5f54b] Debugger v0.6.5
  [31c24e10] Distributions v0.23.9
  [e30172f5] Documenter v0.25.2
  [cd674d7a] DocumenterLaTeX v0.2.0
  [186bb1d3] Fontconfig v0.4.0
  [da1fdf0e] FreqTables v0.4.0
  [38e38edf] GLM v1.3.10 `https://github.com/JuliaStats/GLM.jl.git#master`
  [c91e804a] Gadfly v1.3.0
  [ff71e718] MixedModels v3.0.0-DEV `https://github.com/JuliaStats/MixedModels.jl.git#master`
  [8314cec4] PGFPlotsX v1.2.9
  [16eed3e5] PlotDocs v0.1.0 `https://github.com/JuliaPlots/PlotDocs.jl#master`
  [ccf2f8ad] PlotThemes v2.0.0
  [91a5bcdd] Plots v1.6.0
  [d330b81b] PyPlot v2.9.0
  [6f49c342] RCall v0.13.7
  [df47a6cb] RData v0.7.2
  [ce6b1742] RDatasets v0.6.10 `https://github.com/JuliaStats/RDatasets.jl.git#master`
  [295af30f] Revise v2.7.3
  [2913bbd2] StatsBase v0.33.0
  [3eaba693] StatsModels v0.6.12
  [fd094767] Suppressor v0.2.0
  [24249f21] SymPy v1.0.27
  [bd369af6] Tables v1.0.5
  [44d3d7a6] Weave v0.10.3
@likanzhan likanzhan added the bug label Aug 25, 2020
@likanzhan
Copy link
Author

Any update on this issue?

@aviatesk
Copy link
Member

can you try on the latest version ?

@likanzhan
Copy link
Author

@aviatesk The problem persists. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants