Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

pdf document on finance created using groff

NotificationsYou must be signed in to change notification settings

gmonteith/farm-finance

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LinkedInGitHub commit activityGitHub last commit

Description:

This is aDRAFT of a pdf called farm-finance.pdf

The document is still very much a draft but it is regularly worked on. Thedocument covers the basic mathematics of finance and how to use thisinformation to make better capital allocation decisions.

The document has been written using the groff document formatting system withthe ms macro package and the preprocessors eqn, tbl, pic and grap.

If you wish to view the pdf derived from the groff files please click thislink


Files:

The document has evolved to follow the layout of a book and the file structurereflect this:

File nameDescription
data/0000.msNo Longer Required
data/000.msPreface
data/00.msIntroduction
data/01.msChapter 01, Time Value of Money
data/02.msChapter 02, Equivalence
data/03.msChapter 03, Ordinary Annuities
data/04.msChapter 04, Annuities Due
data/05.msChapter 05, Growing Ordinary Annuities
data/06.msChapter 06, Growing Annuities Due
data/07.msChapter 07, Declining Annuities
data/08.msChapter 08, Perpetuities
data/09.msChapter 09, Growing Perpetuities
data/10.msChapter 10, Engineering Economics
data/11.msChapter 11, Nominal & Effective Rates
data/12.msChapter 12, Costing Your Capital
data/13.msChapter 13, Investment Analysis
data/14.msChapter 14, Structure of UK Tax
data/15.msChapter 15, Understanding the Impact of Tax
data/16.msChapter 16, Investment Cost Equations
data/17.msChapter 17, Using the Investment Cost Equations
data/18.msChapter 18, Equivalent Annual Cost
data/19.msChapter 19, Mutually Exclusive Projects
data/20.msChapter 20, Replacement Analysis
data/21.msChapter 21, Revenue Cost & Profit
data/22.msChapter 22, Economic Value and the Measurement of Financial Performance
data/23.msChapter 23, Return on Equity
data/A1.msAppendix A, Impact of Writing Down Allowance (WDA) on Capital Costs
data/B0.msAppendix B, Introduction
data/B1.msAppendix B, Writing Down Allowance, Time Period 1
data/B2.msAppendix B, Annual Investment Allowance, Time Period 1
data/B3.msAppendix B, Single Asset Pool, Time Period 1
data/B4.msAppendix B, Investment Cost Equations, Time Period 1
data/B6.msAppendix B, Writing Down Allowance, Time Period 2
data/B7.msAppendix B, Annual Investment Allowance, Time Period 2
data/B8.msAppendix B, Single Asset Pool, Time Period 2
data/C1.msAppendix C, Engineering Economics Equations
data/D1.msAppendix D, Self Assessment Tax in Two Payments
data/E1.msAppendix E, Shareholder Value Added (SVA)
data/F1.msAppendix F, Workings Hitch
data/G1.msAppendix G, Loans
data/H1.msAppendix G, Inflation
data/I1.msAppendix I, Cumulative Dry Matter
data/J1.msAppendix J, Repair & Maintenance
data/R1.msAppendix R, References
refer/main.refBibliography, Document References
refer/maths.refBibliography, Math References
refer/typesetting.refBibliography, Typesetting References
macro/format.tmacMacros Used in Creating the Document Layout
macro/equation.tmacEquation Definitions
macro/equation.tmacPic Definitions
macro/cover.tmacMacro to Create the Title Page
master.msFile to Produce Complete pdf Document
master-wip.msFile That Can be Edited to Output Specific Chapters/Files
'create-pdf`File That Can Be Run to Create the pdf
log.txtRecovered Log File From the Corrupted Repository
README.mdThis file

Installation:

I use a Debian system so I will presume that if your system is different youcan follow along from the Debian instructions.

You will require groff and grap:

sudo apt-getinstall groff grap


Optional Packages:

You will also require a pdf viewer, I use both evince and zathura:

sudo apt-get install evince zathura


Usage

To view the entire document, from inside the directory where you havedownloaded the repo, you can simply type:

. create-pdf; evince farm-finance-draft.pdf


Workflow When Editing:

Themaster-wip.ms file exists because the entire document is rather large,cumbersome and slow to produce for editing individual files.

Vim is my preferred text editor and I typically have a vertically split windowwith the chapter/appendix/file I am working on in one window and themaster-wip.ms file open in the other. Themaster-wip.ms file is uncommentedto print the file I am editing, and any other files I maybe interested in.

I run the command below inside vim to create a pdf file calledworktest.pdfin thetmp directory in my home folder. If you do not have this directory youcan either create it or edit thecreate-wip-pdf file to direct the output toa different location.

!. create-wip-pdf

Each time a change is made to the chapter/appendix/file it is saved and thenthe command above is rerun.

The reason themaster-wip.ms file is required is that the macro files,macro/format.tmac,macro/equation.tmac andmacro/pic.tmac are onlysourced in the master files and not in the individual chapters/appendicesfiles.

You could of course source these files in each individual chapter or data filebut that would require more maintenance.

A separate window can be used to open the pdf which will automatically refreshon each update to the underlying pdf document:

zathura --fork ~/tmp/worktest.pdf; exit


Bugs:

There are some blank pages between the cover sheet and the table of contents.This is obviously an unwanted feature, however, I am not sure exactly what iscausing it. I think it may be the interaction between the BT, PT and TC macroswithin the ms macro package. I have not had time to give it the considerationit deserves at this time. Sorry

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp