Skip to content

Commit

Permalink
add context in local disk
Browse files Browse the repository at this point in the history
  • Loading branch information
larrycai committed Jan 23, 2012
1 parent 4c4b5a0 commit 53393df
Show file tree
Hide file tree
Showing 10 changed files with 444 additions and 162 deletions.
6 changes: 3 additions & 3 deletions latex/config.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
default:
title: Softwate Development Boot Camp
title: Learn writing opensource book
font: Liberation Serif
bold: "{* Bold}"
mono: Liberation Mono
Expand All @@ -13,9 +13,9 @@ default:
fig: "Figure "
tab: "Table "
indent: "\\qquad"
thanks: "This is the PDF file for the Software Development book contents. It is licensed under the Creative Commons Attribution-Non Commercial-Share Alike 3.0 license. I hope you enjoy it, I hope it helps you learn the software development, and I hope you'll continuously watch this : \\url{http://github.com/larrycai/sdcamp}, will be happy if you follow my weibo \\url{http://weibo.com/larrycaiyu}, and if you want to donate, please visit: \\url{https://me.alipay.com/larrycai}"
thanks: "This is the PDF file for the how to write opensource book contents. It is licensed under the Creative Commons Attribution-Non Commercial-Share Alike 3.0 license. I hope you enjoy it, I hope it helps you learn the software development, and I hope you'll continuously watch this : \\url{http://github.com/larrycai/kaiyuanbook}, will be happy if you follow my weibo \\url{http://weibo.com/larrycaiyu}, and if you want to donate, please visit: \\url{https://me.alipay.com/larrycai}"
zh:
title: 跟我学企业敏捷开发
title: 跟我学开源技术书
langrule: "\\XeTeXlinebreakskip=0em plus 0.1em minus 0.01em\n\\XeTeXlinebreakpenalty=0"
font: AR PL SungtiL GB
bold: WenQuanYi Micro Hei
Expand Down
4 changes: 2 additions & 2 deletions latex/makepdf
Original file line number Diff line number Diff line change
Expand Up @@ -184,8 +184,8 @@ figures do
end

unless abort
print "\tMoving output to sdcamp.#{lang}.pdf... "
mv("#{dir}/main.pdf", "#$root/sdcamp.#{lang}.pdf")
print "\tMoving output to kaiyuanbook.#{lang}.pdf... "
mv("#{dir}/main.pdf", "#$root/kaiyuanbook.#{lang}.pdf")
puts "done"
else
print "\tConvent error, exit !"
Expand Down
2 changes: 1 addition & 1 deletion makepdfs
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@ echo
echo "The generation process will start now."
${baseDir}/latex/makepdf $argString

# pdftk A=ebooks/cover.pdf B=sdcamp.zh.pdf cat A1 B2-end output sdcamp.zh.book.pdf
# pdftk A=ebooks/cover.pdf B=kaiyuanbook.zh.pdf cat A1 B2-end output kaiyuanbook.zh.book.pdf
64 changes: 0 additions & 64 deletions zh/01-introduction/01-chapter1.markdown

This file was deleted.

36 changes: 36 additions & 0 deletions zh/01-preface/01-chapter1.markdown
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# 前言 #

互联网是自由、开放、分享、平等的世界。开源软件已经深入人心,并也形成了极好的商业模式。

我们为什么不能把开源技术书做成像开源软件一样呢?

这本小册子就用60页左右的内容把开源技术书的几个方面介绍一下,使得你也能写出你的开源技术书。

### 背景 ###
值得码字处。

### 适合的对象 ###
主要针对爱分享的技术爱好者,也适合编辑老师们了解Geek是怎么玩书的。

## 本书结构 ##

* 第一章:前言
* 第二章:基础知识和10分钟写出第一本开源书
* 第三章:Markdown格式
* 第四章:Latex简介
* 第五章:其他。。

### 封面 ###
因为自己爱好设计排版,就自己DIY了一下,封面是随手找到的矢量卡通图,并用Windows PowerPoint制作完成。

## 如何写作本书的 ##
本书也是用敏捷的方式来写作的,我在Windows(希望早日能用MBA)用Notepad++编辑器用Markdown的文本文件写内容,然后在共享目录的虚拟机中,一个命令生成所有的其他格式(如PDF、mobi、epub);Git是我使用的版本控制系统。

本地测试通过后,我会提交到github中去,同时架设了持续集成服务器,会对我最新内容再次检测,自动产生电子书。

这些你都可以在后面学到,啰嗦了。

## 致谢 ##
特别感谢...。

感谢..对本书做了早期的审阅。
92 changes: 0 additions & 92 deletions zh/02-agile/01-chapter2.markdown

This file was deleted.

Loading

1 comment on commit 53393df

@larrycai
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

谢谢,改了。这一章还很乱,没整理呢。

Please sign in to comment.