用遗传算法求复杂函数的极值点
三角形,圆内等概率随机生成一个点

markdown 和pandoc

xhSong posted @ 2013年8月21日 17:46 in 折腾 with tags latex markdown pandoc , 5311 阅读

今天接触到两个很好用的东西,一个是markdown,一个是pandoc。在此mark下。

markdown

markdown是一种非常简介的文本标记语言,网上也有很多教程,这里就不多说了。尝尝鲜,篇博文就是用markdown写的。

pandoc

什么是pandoc呢?官网上是这么是的“如果你要把文件从一种文本标记语言转到另一种文本标记语言,pandoc就是你的瑞士'军刀'”

下面是张来自于官网的一张关于pandoc转换能力的图片,果断亮瞎双眼

pandoc能转换的格式

转换

从md文件转化成latex文件格式执行如下代码 pandoc file.md -o file.tex

从md文件直接转化成pdf文件格式执行如下代码 pandoc file.md -o file.pdf

pandoc对中文支持不是很好,md转化成tex没有问题,转化成pdf中文出不来。这个有待进一步折腾折折腾

干什么用

  • 我准备用markdown来写日常的一些小文档,可以html格式发布。如果能解决pdf中文问题,也可以直接转成pdf;如果不行,那就先转成latex然后在转pdf。

  • 由于markdown较tex简洁很多,可以先用markdown搭框架,然后转tex再添细节。虽然这有点多此一举,tex的标签确实复杂了点

  • 之前用latex排的东西可以直接转成html格式发布

Avatar_small
依云 说:
2013年8月21日 18:05

我这里还有个输出 bbcode 的脚本: https://bbs.archlinuxcn.org/viewtopic.php?pid=13662#p13662

Avatar_small
hustsxh 说:
2013年8月21日 18:46

@依云: 哇!你是何方神圣呀,怎么什么都有研究

Avatar_small
Quick Pay KSEB 说:
2022年8月07日 17:14

Kerala State Electricity Board formed by Kerala State Government under the Electricity act 1948. KSEB determined to generate, transmit and distribute the electricity in the regions of Kerala State. As a customer, you can use the KSEB online payment of the electricity department to update your pending dues for the electricity used. Quick Pay KSEB The bill may generat every month based on the reading grabbed from the electric meter fixed in your place that can be commercial or domestic. It is to remember that the price tag for the commercial and domestic is different even if the units shown are similar. As well, the payment to Kerala State Electricity board needs to pay on time to have a smooth service.

Avatar_small
celeb networth post 说:
2023年4月13日 17:26

All the basic information about every celebrity is available now on the largest database of celeb networth where you can find all the information and net worth of a singer, actor, businessman...

Avatar_small
model-paper.com 说:
2023年4月24日 15:10

In certain cases your mail may be exposed to public that Modelpapers works on giving out better service in different forms and we do not sell or giveaway your personal information other than public info giving out by you. We are very conscious about mail spam model-paper.com and we try to protect every email as much as possible.

Avatar_small
seo service london 说:
2024年2月21日 22:32

Nice to be visiting your blog again, it has been months for me. Well this article that i've been waited for so long. I need this article to complete my assignment in the college, and it has same topic with your article. Thanks, grea


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter