Create a configured LaTeX manuscript folder with scikit-package

Overview

This is a tutorial for using scikit-package to create a configured manuscript folder by running the command

package create manuscript

We strongly recommend that you read through (Recommended) Customize the your LaTeX repositories to unleash the full potential of creating a manuscript folder with scikit-package.

Prerequisites

To proceed with the following steps, we assume that you

  1. know how to use conda to create an environment and install scikit-package in the environment. Please see (Required) Use conda environment to install packages and run Python code for more information.

  2. (Optional) know how to manage repositories on GitHub. Please see the GitHub tutorial GitHub Hello World for more information.

Create a manuscript folder with minimum setup.

  1. Create a conda environment with scikit-package installed and activate the environment. Please see (Required) Use conda environment to install packages and run Python code for more information.

    conda create -n <project-name>-env scikit-package
    conda activate <project-name>-env
    
  2. Go to the path where the manuscript folder will be created.

    cd <manuscript-folder-parent-folder>
    
  3. Run the command.

    package create manuscript
    
  1. Answer the following questions:

    Prompt

    Description and example

    project_name

    The name displayed in the README.rst. Use name-with-hyphens e.g., my-manuscript.

    journal_template

    Specifies which journal template to use to create the manuscript. The default value is [1], which corresponds to the article template.

    user_latex_repo_url

    The URL to the GitHub repository where the LaTeX files are located. Files with the specified names will be parsed, and the other files will be copied directly into the manuscript folder. e.g., https://github.com/scikit-package/default-latex-headers.git

    Note

    You may press the “Enter” key to accept the default values for the questions.

  2. Done! A manuscript folder named <project_name> is created inside <manuscript-folder-parent-folder>.

Want a new manuscript template?

Feel free to contribute it! You are welcome to create issues and PRs in scikit-package-manuscript.