Giter Site home page Giter Site logo

Comments (10)

mytbk avatar mytbk commented on July 29, 2024 1

我先把这个修改合进master并发个release,看一下是什么效果,其他的问题以后再修复。

from fsfs-zh.

mytbk avatar mytbk commented on July 29, 2024

还真的是这样。
当初加\newpage是为了LaTeX生成的时候在某些地方开新页,但是我一直觉得这不是一个好的做法。

from fsfs-zh.

mytbk avatar mytbk commented on July 29, 2024

我用Arch的pandoc,发现\newpage被翻译成了\textbackslash{}newpage

from fsfs-zh.

tonghuix avatar tonghuix commented on July 29, 2024

确实,新版本的 pandoc 并没有很好的解释 \newpage 标签。

我们需要找一个新的办法替代这种硬编码的换页方式。

from fsfs-zh.

mytbk avatar mytbk commented on July 29, 2024

刚刚推了个新的pdf模板:
https://github.com/beijinglug/fsfs-zh/tree/kill-newpage

from fsfs-zh.

mytbk avatar mytbk commented on July 29, 2024

在一个Ubuntu 16.04的机器上生成了一份pdf,感觉还行:
https://wehack.space/vimacs/fsfs-zh.pdf

from fsfs-zh.

mytbk avatar mytbk commented on July 29, 2024

在仔细对比了一下,发现这么改了之后,每一节的编号没了。

from fsfs-zh.

tonghuix avatar tonghuix commented on July 29, 2024

我觉得编号没有是件好事!!因为原书也没有!

from fsfs-zh.

mytbk avatar mytbk commented on July 29, 2024

原书是有的。
原书和现在发布的最新版在章节编号上也是不一样的,原书是分为几个part,文章按顺序编号。

from fsfs-zh.

tonghuix avatar tonghuix commented on July 29, 2024

@mytbk 我在 Debian Buster 下面生成的新 PDF 已经传到 release 里面了。目前编号也出现了。

关于如何生成原书的编号,咱们可能还需要再研究一下。

from fsfs-zh.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.