Coder Social home page Coder Social logo

sac_docs_zh's Introduction

SAC参考手册

《SAC参考手册》是介绍地震学常用软件SAC用法的中文手册。

本项目由seisman发起,手册用LaTeX写成, 源码托管在github上,最终生成的PDF 在SeisMan博客发布。

文档结构

文档源码的目录结构如下:

.
|-- README.md           # 本文档
|-- ChangeLog.md        # 记录修订历史
|
|-- Makefile            # make构建文件
|
|-- SAC_Docs.tex        # 主文档
|-- SAC_macros.tex      # LaTeX导言区
|-- cover.tex           # 封面页
|-- frontmatterIII.tex  # 废话页
|-- version.tex         # 版本说明
|-- contributor.tex     # 维护者列表
|
|-- figures             # 文档内的插图
|-- scripts             # 用于绘制插图的脚本与数据
|
|-- introduction        # 简介
|-- basic               # SAC基础
|-- fileformat          # 文件格式
|-- data-process        # 数据处理
|-- graphics            # 绘图
|-- macros              # 编程
|-- call-in-script      # 脚本中调用
|-- sac-libs            # 函数库
|-- sacio               # I/O
|-- sac-tools           # 相关工具
|-- tricks-and-traps    # 技巧与陷阱
|-- appendix            # 附录
|
|-- commands            # 基础命令
|-- sss                 # SSS子程序
`-- spe                 # SPE子程序

依赖

如何编译

本源码仅在Linux下测试通过,Windows及Mac OS X下未测试。

安装依赖

必须的依赖如下:

yum install python-pygments make

若需要重新生成文档中所使用的图片,则需要安装SAC、GMT4。

TeXLive

安装TeXLive 2014,并将TeX包更新至最新版本,参考此文

中文字体

使用开源中文字体Fandol,该字体随TeX一起发布,因而只需要直接在~/.fonts目录下做一个软链接即可:

ln -s /opt/texlive/2014/texmf-dist/fonts/opentype/public/fandol ~/.fonts/

编译项目

  1. 获取源码

    git clone https://github.com/seisman/SAC_Docs_zh.git
    
  2. 重新生成图片(选做)

    cd scripts
    make
    
  3. 编译文档

    make
    

参与维护

你可以参与到本项目的维护:

  • 帮忙校对,挑错别字、病句等等
  • 提出修改建议
  • 提出术语翻译建议
  • 文档布局调整
  • LaTeX源码优化

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.