GithubHelp home page GithubHelp logo

lazerous_scrivener's Introduction

Scrivener Starter Repository

Scrivener is a writing application geared towards structuring and editing novel- and thesis-sized works. It is mainly used by writers and academics to organize works that would otherwise be unwieldy in a linear editor.

Usage

Scrivener projects are layed out as application bundles with the .scriv extension, and, as it turns out, are amenable to Git version control: That is to say, Scrivener stores internal textual assets as separate files in ASCII-encoded RTF format. If you would like to use Git to track Scrivener changes, you are welcome to bootstrap off of the included starter.scriv project. It has the benefit of strategically placed .gitignore files to prevent transient metadata from cluttering your git status view and being incorporated into revision history.

The following workflow will send you on your way.

  1. Rename the starter.scriv project, open with Scrivener, and save. Stage and commit the changes.

    $ # Rename the project.
    $ git mv -- starter.scriv ${project}.scriv
    $ git mv -- ${project}.scriv/starter.scrivx \
      ${project}.scriv/${project}.scrivx
    
    $ # Open with Scrivener and save.
    $ open -- ${project}.scriv
    
    $ git add -u
    $ git commit -m "Rename the project"
    
  2. Write some stuff, save, and check for untracked textual assets. Stage and commit the changes. Repeat this step as you continue to make revisions.

    $ # Open with Scrivener, write some stuff, and save.
    $ open -- ${project}.scriv
    
    $ # Check for untracked textual assets and stage them.
    $ git add -- ${project}.scriv/Files/Docs/${n}.rtf
    
    $ git add -u
    $ git commit -m "Make some changes"
    

LaTeX Build Pipeline

If you compile the document into MultiMarkdown (i.e., FileCompileCompile ForMultiMarkdown), you can make use of the included Makefile to further process the resulting MMD into PDF via pdflatex. Doing so affords greater control over styling through customization of a few locations.

  • The mmd/preamble.mmd file contains metadata for LaTeX.
  • The tex/latex directory is where LaTeX support files go (see Fletcher Penney's [peg-multimarkdown-latex-support] (https://github.com/fletcher/peg-multimarkdown-latex-support) project for a superset of what's bundled).
  • The mmd/user.mmd file, should you provide it, contains additional metadata for your purposes.

License

Copyright 2012-2014 Roy Liu

Licensed under the Apache License, Version 2.0 (the "License"); you may not
use this file except in compliance with the License. You may obtain a copy
of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
License for the specific language governing permissions and limitations
under the License.

lazerous_scrivener's People

Contributors

abuxton avatar

Watchers

James Cloos avatar  avatar  avatar

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.