A Design Using a Shell Script to Automatic Processing of the LATEX Document

碩士 === 朝陽科技大學 === 資訊工程系碩士班 === 100 === LATEX typesetting system is stable, and can be edited out of a very beautiful mathematical symbols and equations. LATEX unlike general WYSIWYG typesetting system, but a highend typesetting language. LATEX manuscript form for the ASCII character code can be chan...

Full description

Bibliographic Details
Main Authors: I-Jing Chen, 陳奕靜
Other Authors: De-Yu Wang
Format: Others
Language:zh-TW
Published: 2012
Online Access:http://ndltd.ncl.edu.tw/handle/90868209609630134494
Description
Summary:碩士 === 朝陽科技大學 === 資訊工程系碩士班 === 100 === LATEX typesetting system is stable, and can be edited out of a very beautiful mathematical symbols and equations. LATEX unlike general WYSIWYG typesetting system, but a highend typesetting language. LATEX manuscript form for the ASCII character code can be changed by the syntax and content of the manuscript to change the output layout. Shell is a very powerful Linux command line environment, coupled with the judgment and process control, shell scripts can be like any other programming language to complete the large and complex work. Therefor, this paper proposes the idea of using shell scripts to automatically deal with LATEX document. The first plans for the LATEX layout, through the processing of the script, a large number of the layout unity and beautiful file. In order to confirm the idea is feasible, this paper designs two quiz system to verify. Calculus quiz system must use the LATEX syntax to create a question bank containing chapters, types and difficulty tags. Then edit the class parameter file contains a question the range and difficulty parameters. Finally, write a shell script to randomly selected from the questions in the exam according to these parameters, and automatically generate the examination papers. The notes exam synchronization system is a no independent question bank automatically system. As long as notes written in LATEX syntax to join the exercisexs in the sections, the script automatically interpret the notes section taken in accordance with the exam range, not only do not need to create the question bank, and also allow exam synchronized with the notes. Notes exercises is the question bank, the question bank always aynchronized with the notes, notes even chapters to change, do not worry about the exam disorder, can save a lot of correction time. The actual design of the two quiz xystems, setting out the basic parameters of the question, can a script command to complete whole semester all the papers out of the question. The current systems have actually been used in teaching, but also proven to greatly reduce the manual work. The design of the script with the linux system crontab routine work setting, a week after the exam, and automatically upload the answer to the teaching platform to provide students with inquiries, to achieve the purpose of fully automated.