Directory macros/latex/contrib/import
README
import.sty Version 6.2 01-Apr-2020 Donald Arseneau (asnd@triumf.ca) Vancouver, Canada. This software is in the public domain; free of any restrictions. All right are waived. No obligations are acknowleged. Two new LaTeX commands, "\import {<full-path>} {<file>}" and "\subimport {<path-extension>} {<file>}" are defined to input a file from another directory, allowing that file to find its own inputs (using \input, \includegraphics etc.) in that directory. Alias command names are "\inputfrom" and "\subinputfrom". Also provided are \includefrom and \subincludefrom, which are based on the \include command, rather than \input.
Download the contents of this package in one zip archive (241.6k).
import – Establish input relative to a directory
The commands \import{full_path}{file} and \subimport{path_extension}{file} set up input through standard LaTeX mechanisms (\input, \include and \includegraphics) to load files relative to the \import-ed directory.
There are also \includefrom, \subincludefrom, and * variants of the commands.
Package | import |
Version | 6.2 2020-04-01 |
Licenses | Public Domain Software |
Maintainer | Donald Arseneau |
Contained in | TeX Live as import MiKTeX as import |
Topics | File control |