about the use of the [tag:import] package or using the \input or \import commands for including text and code from other files.

learn more… | top users | synonyms

1
vote
1answer
69 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: ...
0
votes
1answer
106 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} ...
6
votes
0answers
43 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
132 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
343 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 ...
3
votes
0answers
38 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
30 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 ...
2
votes
0answers
55 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
112 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
117 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
129 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
116 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
95 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
80 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
23 views

How to replace a string in a table that is imported

I'm using Stata to generate tables in Latex, which I then import by using import: \import{/Users/me/path/to/}{table1} \import{/Users/me/path/to/}{table2} However, when I do this, I end up with some ...
0
votes
0answers
36 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
107 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
100 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
113 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 ...