The tag has no wiki summary.

learn more… | top users | synonyms

2
votes
1answer
34 views

How to get a file's “date modified” string when including graphics?

I am working on my thesis, and want to have the date corresponding to when each figure was generated included in it's caption. Currently I manually update the caption when I update the figure. I am ...
1
vote
0answers
17 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 ...
4
votes
0answers
23 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 ...
7
votes
3answers
283 views

dynamically imports tex files

How can I dynamically import a tex file? I essentially have hundreds of .tex files in one folder, all of these files have multiple versions. I can't move them out of this folder. Ex: ver1file1.tex ...
2
votes
1answer
25 views

Import tex graphics to my main tex document

I want to create various plots with tikz package. I don't want to have the code for the plots in my main tex document because it's pretty messy. Is there a way to keep the tex code to different ...
2
votes
0answers
38 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 ...
4
votes
1answer
60 views

How to include Big Draft text as background only for imported document part

I want to include a big "Draft" text on the background in some files imported by the import package in this way: \subimport{}{test.text} How can you include such a big "Draft" text to the ...
3
votes
1answer
39 views

Subimport star breaks listings languages

\subimport*{}{} from the package import seems to break listings languages, but only if listings with a language hasn't been used in the root document: ! Package Listings Error: Couldn't load ...
2
votes
0answers
75 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
21 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 ...
4
votes
1answer
108 views

Book Class: Instructor's Guide [closed]

I am currently an undergraduate student finishing my bachelor's in mathematics. For my Complex Analysis course, my instructor personally chose me to create an Instructor's Guide for the course. The ...
0
votes
0answers
35 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 ...
1
vote
1answer
81 views

chapterfolder or import for a thesis with figures in subdirectories

I've been poking around on here trying to work out the best way of keeping my individual chapters and their associated figures in subdirectories. After reading a few threads I've been testing out ...
0
votes
0answers
5 views

“smart” Include/Import for file in subfolder that have images in subsubfolders [duplicate]

i've to put in one file some other documents i wrote before. i've this structure mainfile.tex chapter1/chapter1.tex chapter1/intro.tex chapter1/fig/fig1.pdf chapter1/fig/fig2.pdf in chapter1.tex ...
2
votes
0answers
33 views

How can I import an excel table into latex longtable [duplicate]

I want to import some data from excel which is in table form (raw from that it not formatted) and I want to import into a longtable with the appropriate formatting (if indeed it can be done in one ...
2
votes
2answers
99 views

Importing a .png file into .tex file

I've been trying to input a graph into my .tex file, but it won't work. I've put the .png file in the same folder as the .tex file and a part of my code looks like: \documentclass[16pt, ...
0
votes
0answers
31 views

Problem importing .tex to LYX - Bibliography and citations not showing properly on PDF

I am trying to import a .tex file to LyX which uses a BibTeX database to populate my bibliography and for citations. In LyX everything appears to be working normally, double clicking on the gray box ...
1
vote
0answers
18 views

import latex longtable into lyx with format changing [closed]

I apologize if my question was asked alot previously i am generating my tables from stata into latex then i try to import those tables (longtables) inside a table float in lyx the result is a mess ...
1
vote
2answers
78 views

Importing JPG files into LaTeX [duplicate]

I would like to import JPG file into my document in LaTeX. The code below works but only for EPS files, but I need JPG. How can I fix it? \documentclass{article} \usepackage{graphicx} ...
8
votes
1answer
443 views

“Can be used only in preamble” when using the “import” package

My code, which is actually supposed to work according to import's official readme if I understand it correctly: ./main.tex: \documentclass[a4paper]{article} \usepackage{import} \begin{document} ...
3
votes
0answers
57 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 ...
0
votes
1answer
113 views

Import selected rows without header in pgfplots

Import of selected rows of a data set (without header line) The import should make use of the column numbers instead of row headers. The pgfplots' manual presents the possibility to use the command ...
1
vote
0answers
51 views

How to import a txt full of symbols into LaTeX

I have a txt file that I want to import it into LaTeX. How can I import the txt file without changing its format? In particular, the txt doc has a lot of symbols (it is the output of other programs), ...
2
votes
0answers
33 views

Importing A pdf Image [duplicate]

I have an image saved as a pdf file, and I would like to include this image in one of my latex documents. In the preamble of m document, I included \usepackage{pdfpages}; and here is the formatting I ...
1
vote
1answer
44 views

DPI for imported bitmaps

I am importing a number of .png files into my document as follows: \usepackage{wrapfig} \begin{wrapfigure}{r}{0.5\textwidth} \centering \vspace{-1.5cm} ...
4
votes
2answers
162 views

Use CSV data in table caption?

I want to use some data, imported with csvsimple, in a table caption. \begin{filecontents*}{data.csv} column1,column2,column3 name1,val1a,val1b name2,val2a,val2b \end{filecontents*} ...
3
votes
2answers
2k views

Importing csv file into latex as a table

I am using the \csvautotabular function to import data from a csv file. It has worked beautifully; however, I only want to import certain columns from the file. How can I exclude certain columns? ...
3
votes
3answers
4k views

Import pdf image into LaTeX file

I am trying to insert some ready image-pdf files to my LaTeX code but failed. My code is \documentclass[a4paper,12pt]{book} \usepackage{graphicx} ...
1
vote
0answers
61 views

Importing in Mass from LaTeX to LyX [closed]

I have tons of tables stored in LaTeX format that I would like to import into LyX. Doing this manually (through file-->import-->latex(plain) ) will take forever and a day. Using tex2latex (text2lyx -f ...
15
votes
1answer
601 views

What is the 2014 status on converting Word and MathType to LaTeX

Why have I started a new question? I have studied as many pages here as I can on answers to this question and none have really satisfactory answers. I want to start a new discussion on this problem. ...
0
votes
0answers
50 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 ...
3
votes
1answer
107 views

Runtime error while importing a poster from .tex to .lyx

I try to import a .tex file (an A0 poster created from baposter template in some older version of MikTex) to Lyx (2.0.6), but the conversion fails with Runtime error tex2lyx "poster.tex" "poster.lyx" ...
0
votes
1answer
326 views

Import code from LaTeXDraw to writeLaTeX

I am new to LaTeX. I am trying to write my master thesis using WriteLaTeX. I wanted to make some figures using LaTeXDraw. However, I want to import the code to my report and not the final picture. How ...
7
votes
1answer
275 views

PythonTeX: importing python files

I'm trying to import a personal python module using python tex, but pythontex doesn't find the module. My attempt: The LaTeX File: % !TEX TS-program = pythontex \documentclass[11pt]{article} ...
4
votes
2answers
530 views

Portable MiKTeX Packages Management

I have already installed MiKTeX 2.9 (Not a portable version) in my computer. I have already had portable MiKTeX 2.9 in my USB. I want to use my portable version. But it lack of some packages. ...
3
votes
1answer
321 views

Matplotlib PGF images in subdirectory

I have a two-dimensional image plotted by Matplotlib using the PGF backend. It is stored in the figures subdirectory (since I have a lot of images and don't want to clutter up the main folder). As an ...
1
vote
1answer
440 views

Geogebra import into latex doesn't work

I created this file : \documentclass[10pt]{article} \usepackage{pstricks-add} \pagestyle{empty} \begin{document} \newrgbcolor{zzttqq}{0.6 0.2 0} ...
2
votes
1answer
65 views

subimport including wrong file

I am trying to learn the import package but I find it extremely unreliable - perhaps I am missing something? One case study I tried is as follows: Created 3 tex files: ./main.tex ./bla.tex ...
4
votes
1answer
182 views

subimport and includeonly

Say I have a document structured as follows. main.tex + ch1 - ch.tex - s1.tex - s2.tex + ch2 - ch.tex - s1.tex - s2.tex Here, *.tex are LaTeX ...
6
votes
2answers
123 views

How to use the import package with folders containing accented (non-English) letters in their names?

To illustrate my problem, suppose that you have the master file main.tex and a chapter called chapter.tex in a subfolder called folder. Both files use UTF8 encoding. Then, the following minimal code ...
2
votes
3answers
952 views

Import Simulink figures in LaTeX

I am writing my Thesis report using LaTeX. I have to explain about a few models that I created in Simulink in my report. I do not know how to import these Simulink models into LaTeX. Can someone help ...
1
vote
1answer
218 views

Nested directories - subimport and graphicspath

I'm using the package import for chapters of a document. This makes it possible for me to use relative paths when I call \input. It also adjusts paths when I call \includegraphics. It does not, ...
4
votes
2answers
689 views

Beautifully format text of an external document

I have some formatted long text files looking like this: f=50 k_max=420 Iteration Func-count min f(x) Procedure 0 1 7.07212e-09 1 2 ...
3
votes
1answer
486 views

Importing my TeX Template fails

I am trying to get the TeX template of my university into my LyX where I have written my thesis already before trying this and I am freaking out. The full template can be retrieved from ...
4
votes
1answer
154 views

Including figures relative to the path of the current document?

I am writing a paper simultaneously with my thesis; the paper will be included verbatim in the thesis (or at least, parts of it will). I am looking for a solution that allows me to update my paper ...
1
vote
1answer
76 views

import in \newcommand in my package produces an error

I have written and installed my own package gym.sty. In that package I defined \newcommand{\loadgym}{\import{sagegym}} since I need to execute some commands after \begin{document} for the package ...
6
votes
1answer
360 views

Compile a region in auctex with import package

Consider the three following (see below) files: test.tex is in the main directory, test1.tex is in the subdirectory ./test1/ and test11.tex is in the subsubdirectory ./test1/test11/ (see the directory ...
3
votes
2answers
1k views

Importing LaTeX table code into LyX

I create tables in a spreadsheet program, convert them to LaTeX code and then use an ERT to import into my LyX document. When I paste the LaTeX code the entire thing turns out very ugly looking. The ...
3
votes
2answers
308 views

handling href when importing separate standalone latex documents and assembling them into one document

This is a follow up on the question How to import separate standalone latex documents and assemble into one document I am using the package standalone to assemble many child latex files from ...
6
votes
3answers
255 views

How to import separate standalone latex documents and assemble into one document

I am not asking about \include or \input here. I know all about these. Here is the setup. I'd like to be able to build as standalone one of my HW reports which sits in its own folder. Then I also ...