CTAN Comprehensive TeX Archive Network

Directory macros/latex/contrib/import

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 mechanisms (\input, \include and \includegraphics) to load files relative to the \import-ed directory.

There are also \includefrom, \subincludefrom, and * variants of the commands.

Version6.2 2020-04-01
LicensesPublic Domain Software
MaintainerDonald Arseneau
Contained inTeX Live as import
MiKTeX as import
TopicsFile control
Guest Book Sitemap Contact Contact Author