Comments (7)
修改 \Anaconda3\Lib\site-packages\nbconvert\templates\latex\article.tplx 文件
把 \documentclass[11pt]{article}
替换为
\documentclass{article}
\usepackage{ctex}
ctex为中文编译包
from tensorflow-101.
It seems that others also stuck in this issue, and I find some information that might be helpful.
issue: jupyter/notebook#2848
solution posted on the issue: http://www.cnblogs.com/xuanyuyt/p/7471316.html
from tensorflow-101.
@xaiomoqing 你好,我通过同样的方法修改过模板后,可以解决文档中的中文。但是标题中含有的中文字符在导出TeX文件时,显示为\title{??}
。当然编译出的pdf,标题也是???
from tensorflow-101.
标题的中文显示问题我也没有解决
from tensorflow-101.
@xaiomoqing 我认为是nbconvert的问题,导致导出时标题中文无法显示
from tensorflow-101.
solution posted on the issue:
jupyter notebook导出包含中文的PDF并正常显示pandas表格
it works on MacOS
from tensorflow-101.
solution posted on the issue:
jupyter notebook导出包含中文的PDF并正常显示pandas表格it works on MacOS
谢谢你的方法。这里还有一种解决方法 https://www.jianshu.com/p/49a0c9f74d59 亲测可用的
问题的根源在于nbconvert不支持也没有对 CJK 支持的计划。
from tensorflow-101.
Related Issues (5)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tensorflow-101.