Giter Club home page Giter Club logo

latex-pkgloader's People

Contributors

bonderado avatar jnyrup avatar koppor avatar liblit avatar mhelvens avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

latex-pkgloader's Issues

l3prop error

When trying to run pkgloader, I get the error message, "File 'l3prop.sty' not found. \RequirePackage"

The *.sty file indeed is not on my hard drive, only the *.dtx file.

Note that I'm using TexLive 2014 pre-release.

Does not work with LuaTeX

I am using TL2018 with the latest LuaTeX. I am getting lots of errors

(Package l3regex) This package is obsolete --- use 'expl3' instead
Undefined control sequence setmainfont

etc. Is there a way to fix these?

Output loading order

It would be nice to be able to output the loading order of packages to the document or an external file. This way one could avoid to so sort the packages on each run.

Cannot load pkgloader

Trying to typeset the following throws multiple errors.

\RequirePackage{pkgloader}
\documentclass{article}
\usepackage{algorithm}
\usepackage{hyperref}
\usepackage{float}
\LoadPackagesNow
\begin{document}
\end{document}

Here is the log.

Add option to not change loading order but only warn if (user) load order conflicts with the rules

Hi,
even though I find the idea of this project intriguing, I do not want to trust the automatic loading order. What I would like to have is a warning like:

Package Order Warning: hyperref should be loaded BEFORE amsrefs

Since you are already maintaining a (structured) list of dependencies it should be fairly easy to do this? I would be happy to help even though I currently have not a lot of time.

Add `ExecuteAfterPackageLoaded` environment.

In our computer science template, we not only load packages, but also configure them after loading.

Example:

%for theorems, replacement for amsthm
\usepackage[amsmath,hyperref]{ntheorem}
\theorempreskipamount 2ex plus1ex minus0.5ex
\theorempostskipamount 2ex plus1ex minus0.5ex
\theoremstyle{break}
\newtheorem{definition}{Definition}[section]

When directly using \RequirePackage{pkgloader}, these commands fail as the package does not get loaded immediatly.

One possiblity is to use \LoadPackagesNow and issue all configurations afterwards. The drawback is that the usepackage commands and the configurations are then split away. My goal is to keep them together.

Therefore, I'd like to have a \ExecuteAfterPackageLoaded environment, which executes the nested commands directly after the given package is loaded.

Example:

\begin{ExecuteAfterPackageLoaded}[ntheroem]
\theorempreskipamount 2ex plus1ex minus0.5ex
\theorempostskipamount 2ex plus1ex minus0.5ex
\theoremstyle{break}
\newtheorem{definition}{Definition}[section]
\end{ExecuteAfterPackageLoaded}

Recent troubles: expl3, fixltx2e, etc.

The following MCE:

\RequirePackage{pkgloader}
\documentclass{article}
\usepackage{cleveref}
\usepackage{hyperref}
\LoadPackagesNow
\begin{document}
Foo.
\end{document}

points out some (recent, I guess) troubles:

  • Package l3regex is obsolete and has been removed!
  • LaTeX warning: "kernel/invalid-variant"
    • Variant form nncn invalid for base form \int_step_inline:nnnn.
    • Variant form cn invalid for base form \withargs:nnn.
    • Variant form cn invalid for base form \withargs:nnnn.
  • Package fixltx2e is not required with releases after 2015.
  • LaTeX Warnings:
    • You have requested document class article, but the document class provides
      article.
    • You have requested package hyperref, but the package provides hyperref.
    • You have requested package cleveref, but the package provides cleveref.

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.