{import} is about the use of the import package or using the \input, \import, or \include commands for including text and code from other files.

learn more… | top users | synonyms

1
vote
1answer
947 views

pdf_tex files and \import: PDF file not found

I am currently working on my PhD thesis, and I am having trouble including a pdf_tex and pdf file created using Inkscape. I am using TeXStudio and PDFLaTeX. The relevant files are: phd_thesis_all/...
0
votes
1answer
142 views

No image in PDF using PDF_Tex

I am using .pdf_tex from InkScape to create figures in my LaTeX file, but when I compile the caption appears with no image above it. Any ideas why? \documentclass{article} \usepackage{geometry} \...
7
votes
0answers
61 views

\importonly for only processing a single import?

I am composing a large document, and instead of using include/input, I use the \subimport* command from the import package. This allows me to take care of relatives paths very easily. However, the ...
4
votes
0answers
466 views

subimport issues: tikz/addplot

I am using subimport to include .tex chunks from different folders. Everything except my tikz figures seems to work fine. Here is a minimum working example: organization: main.tex > Folder1 >...
4
votes
0answers
146 views

Citations when importing a .tex file into Lyx

I relatively new to LaTeX and Lyx. I am using the Scrivener -> MMD -> LaTeX workflow. For citations, I used Papers2, as it allows me to insert MMD-style citations into Scrivener. When compiling, the ...
3
votes
0answers
214 views

import a long tab delimited data file with first row as the header

Here's a very simple task that I don't seem to be able to get the format right. In short, I am trying to import and format a long tab-delimited txt file, with the first row as the header. I tried the ...
3
votes
0answers
47 views

The packages imports and probsoln seem to be incompatible

I want to establish lists of exam questions using probsoln. To keep things neatly arranged I want to keep the lists separated from the exams as I use a dedicated folder for each term and for each ...
2
votes
0answers
44 views

superscripts and footnotemarks break in nested \import with realscripts

I managed to produce strange interference between nested \import and superscripts, made accessible for LuaTeX by realscripts.sty. My document organisation depends on the comfortable, path-agnostic ...
2
votes
0answers
106 views

How to use import package to keep relative path references in subfiles and at the same time use svg?

I have the following directory structure: main.tex chapter/ chapter1.tex img/ image.svg This is the content of main.tex: \documentclass{report} \usepackage{svg} \begin{document} \...
2
votes
0answers
141 views

Importing data from a Latex table cell into a calendar

Ok, I'm very close to what I want but I need the help of the collective... How can I tweak the termcal so that it matches the lesson number to the lecture counter and prints the lesson name in a ...
2
votes
0answers
153 views

Insert pgf with referenced png file from a different folder

I'm trying to insert a pgf file that I made with matplotlib. This file references to a png file (since I inserted a png figure in the plot). When I put the png in the same folder than my tex file, ...
2
votes
0answers
179 views

import package does not work with 'latex' but works with 'pdflatex' command, any solution?

I am using the add-on import package of Donald Arseneau to typeset my thesis while allowing each thesis chapter files to be placed in a subfolder. Using this package lets me do it when I typeset my ...
1
vote
0answers
20 views

Error when importing plain Latex file in LyX

I have been using Lyx for two to three years and never encountered this problem: a. saved file edited with LyX as plain Latex; b. try to import it with Lyx as plain Latex c. get following message: "an ...
1
vote
0answers
35 views

import cvs file with special characters as table in latex

I am trying to import a cvs file with special characters to my latex file using scvsimple however, I am getting some errors. I tried many suggestions from the forum and net but non worked for me. ...
1
vote
0answers
11 views

Current file relative paths and pgfplotstableread

For my latex documents I employ a structure like this: pictures doc1 doc2 ... To allow quick editing my picture folder contains a testfile. While I successfully use the import package to allow my ...
1
vote
0answers
39 views

Creating datasheets with values imported from an excel-file

I need some help with getting values out of excel using perl. I found on this forum some information about it, but it is not working: \documentclass{book} \usepackage{perltex} \perlnewcommand{\...
1
vote
0answers
63 views

How do I import/link values from, e.g. MATLAB or a simple txt-file?

I'm writing a rather long report where I'm discussing results from a numerical calculation done via MATLAB. I would like to import the results into a tabular environment. The results are them selves ...
1
vote
0answers
164 views

Insert bibtex file B in bibtex file A

Scenario: I manage citations with JabRef (inside Docear which sadly currently does not support the import of .bib files) and want to easily import citations from Zotero into the Jabref library. I'm ...
1
vote
0answers
136 views

\import and \includegraphics with macros: Preserving local path at macro definition time

I have been banging my head on this problem for a few days, trying many combinations of \def, \edef, \noexpand, \expandafter, etc. Say I have a module at /tmp/module/ which contains module.tex and ...
1
vote
0answers
94 views

AUCTeX/RefTeX, the `import` package and cross reference

Today I switched to the import package with the hope that it will simplify the management of the files of my text. It surely did that, but.... It broke RefTex in emacs. Now, I cannot lookup my labels ...
0
votes
0answers
13 views

Multiple chapters in knitr

I'm using knitr and RStudio and I can't seem to combine multiple chapters into a single file. The code below works great, but it only includes the first .rnw-document. What's the syntax for a vector ...
0
votes
0answers
22 views

Combining package standalone with chapterfolder or import

I've been trying to use standalone to compile tikz figures for my thesis. At the same time, I've been using chapterfolder to neatly organize my files into various folders. However, I cannot get \...
0
votes
0answers
25 views

Pythontex environment from .py file

I was going to ask a question regarding importing the python native code that goes inside a pythontex environment. I wanted to do something like this (which does not work): \begin{pythontexcustomcode}...
0
votes
0answers
28 views

\subimport and \includegraphics compatibility issue

I am trying to \subimport a content.tex document into a larger thesis.tex document. All works well with importing text and tikz files, but I am getting the following error when trying to import \...
0
votes
0answers
42 views

Input/import trouble

I've been trying to import tex-tables produced by Stata into a new document, but I keep getting an error that the imported file can't be found, even when I copy/paste the file path directly. My code ...
0
votes
0answers
244 views

manage chapters from separate files

This question is for writing a book/thesis, where chapters are saved in different .tex files. Currently, I use packages standalone and import. In the main TeX file, I use \import to fetch the ...
0
votes
0answers
183 views

Minitoc and import: how to specify location of mtc file?

In the project im working in, the structure is as follows . ├── a │   └── main.tex ├── b │ └── main.tex ├── main.tex The root main file is \documentclass{book} \usepackage[utf8]{inputenc} \...
0
votes
0answers
148 views

How to use shell environment variable with import/include/input?

I would like to create a folder in my home directory to store a few files in it that should serve as templates e.g. handout.tex. I begin to write my specific file somewhere in my filesystem. Now I ...