GithubHelp home page GithubHelp logo

latex-incubator's Introduction

latex-incubator's People

Contributors

joel-coffman avatar

Watchers

James Cloos avatar  avatar

latex-incubator's Issues

make: Additional LaTeX runs necessary when using standalone

Content may be omitted when using the standalone package with the sort option:

Package standalone Warning: Sub-preamble of file '<path>' has changed.
Content will be ignored. Please rerun LaTeX!

This case is not handled by the default Makefile, which is why the content is missing. This issue was masked prior to #47, which tried to limit unnecessary LaTeX runs.

Allow answer to fill remaining space on page

In some cases (e.g., essays), it is appropriate for an answer block to include all the remaining space on a page. Unfortunately, it isn't possible to simply use \vfill or its variants as the argument to height key of the answer environment.

The following expression does the trick: \dimexpr\pagegoal-\pagetotal-\baselineskip. It would be ideal to handle this case specifically, perhaps by supporting fill as the value of the height (or width) keys of the answer environment.

Relevant Stack Exchange question and answer: How to obtain the space left to bottom of page

Section titles aren't centered properly in resume

The section title is shifted slightly right of center as shown by the following minimal working example:

\documentclass[12pt]{article}

\usepackage{resume}


\begin{document}

\section{XXX}
\begin{center}
  yyy
\end{center}

\end{document}

minimal working example

Support key-value options for question environment

The exam package should support key-value options for the question environment for extensibility. For example, a label could be specified similar to how Beamer allows setting the label for a frame.

For backward compatibility, points can still be assigned using pgfkeys's .unknown key handler.

Use standard list environment for publications

Rather than defining a custom list environment (which matches a traditional bibliography), the resume package could simply use enumerate in conjunction with the enumitem package to format labels. Such an implementation would be much clearer and easier to maintain.

Overachieving Makefile

Makefile.tex runs pdflatex numerous times for a single make. Is there a way to have a "quick and dirty" make rule that only runs once, thus eliminating the longer, and often unnecessary, wait?

Publications define labels multiple times in resume

The \publication macro in the resume package causes the bibliography labels to be multiply defined. For example,

LaTeX Warning: Label `coffman2019diversity' multiply defined.
LaTeX Warning: Label `coffman2014empirical' multiply defined.
LaTeX Warning: Label `cocoros2020evaluating' multiply defined.
...
LaTeX Warning: There were multiply-defined labels.

Although the resume package works correctly (e.g., the redefinition of the label is in the bibliography, which isn't included), there's no reason that such warnings should appear when using the package.

Use frame number in glossary entries for presentations

By default, the glossaries package uses the page number to index glossary entries. For (Beamer) presentations, the page number differs from the frame number when overlays are used, creating a discrepancy between the "page" and "frame" on which the entry appears.

Specify TeX configuration in texmf.cnf

To simplify the Makefile for LaTeX documents, LaTeX configuration can be put in a separate file. Doing so has the advantage of 1) making it easier to find configuration information and 2) providing greater consistency when make isn't used (for some reason).

Stack Exchange: texlive: Personal "texmf.cnf"

Infer files to clean based on .gitignore patterns

Makefile.tex lists a variety of files that should be removed when executing make clean (or make mostlyclean) using the derivatives variable. Many, or possibly all, of these files are also explicitly excluded from version control by .gitignore patterns. Rather than repeating them, it might be advantageous to infer which files to remove based on the files ignored by Git.

Create package to facilitate reproducible builds

Compiling documents with pdflatex is not reproducible -- i.e., compiling twice does not result in identical PDFs. Unfortunately, differing files make backups, etc. more difficult because a hash of the file isn't sufficient to determine if the content has changed.

Fortunately, pdfTeX versions since 1.40.17 (2016) have the ability to suppress the metadata that changes between different runs:

\pdfinfoomitdate=1  % omit the /CreationDate and /ModDate
\pdfsuppressptexinfo=1  % omit version info about pdfTeX
\pdftrailerid{}  % omit the trailer ID

See the pdfTeX user manual for more details.

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.