The tag has no wiki summary.

learn more… | top users | synonyms

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
3answers
252 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 ...
3
votes
2answers
306 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 ...
1
vote
0answers
239 views

Relative paths in a subimport-ed file, when using pdfpages [closed]

Short version: a subimport-ed file has correct relative path when using \includegraphics, but incorrect relative path when using \includepdf. Long version: File a.tex is located in my main a ...
9
votes
1answer
691 views

Usage of \include, \input and \import commands

Hans-Peter E. Kristians answer from Using \import correctly There are three ways to put subfile.tex file into main.tex: \include{⟨filename⟩} \input{⟨filename⟩} \import{⟨path⟩}{⟨filename⟩} It is ...
2
votes
1answer
270 views

Jabref — entries imported from jstor still marked as incomplete

When I import references from either the jstor website or through jabref front end, they all show up as red (i.e. incomplete). Specifically, "Journal title" is not present in the required field. The ...
2
votes
1answer
845 views

How do I import a text file into Lyx keeping its formatting?

I apologize in advance if this question has been asked before. I am trying to import a text file, that contains my MySQL output, into the LyX document I'm working on. The text file contains tables ...
6
votes
2answers
334 views

build dynamic documents from a Textdatabase

I need a dynamic solution to produce questionnaires from a database of questions which gets updated from time to time. I thought of LaTeX for set out the layout but the question is whether LaTeX can ...
4
votes
3answers
375 views

Can i automatically load chapters and sections based on the filesystem?

I was interested in knowing if i can load chapters and sections of my book based on the filesystem. For example: Chapter 1/ Section 1.tex Section 2.tex Section 3.tex Chapter 2/ Section 1.tex ...
3
votes
1answer
2k views

Lyx: can't import LaTex file

I'm trying to import this latex document into Lyx (version 2.0.2 on Ubuntu 12.04), but it fails and won't give any explanation about the error: Lyx: cannot convert file An error occurred while ...
3
votes
0answers
83 views

subimport and verbatim packages [closed]

The subimport in the import package does not seem to work with the importing commands in the verbatim package such as VerbatimInput. Is there a workaround or another package that works better? -js
0
votes
0answers
897 views

Clean import of LaTeX into LyX: environment instead of ERT [closed]

I am importing a LaTeX code into LyX. This code has multiple uses of amsmath environments (lemma, theorem etc.). After importing, all theese environments turn into ERT boxes in LyX. I was wondering if ...
0
votes
2answers
832 views

relative paths don't work without absolute path

I'm trying to automate pdftex to generate docs. I'm in some kind of hell where TeX assumes people want to use absolute paths or the working directory. I have the file main.tex. It imports several ...
6
votes
2answers
2k views

How to import a text file (with accent, special chars)

I got some text file (logs) that I want to import I saw this post: How do I import a text file so that it becomes the body text of my LaTeX document? which work, but all the special chars (UTF-8) are ...
1
vote
0answers
492 views

Migrating Indesign [closed]

I've been producing a technical book in Lyx. I've decided that for this work, I'ld be better off using Adobe Indesign. it need allot of complex layout/graphical stuff. Like timelines, sidebars, ...
11
votes
2answers
5k views

How to use the import package?

I've read about the import package and am now trying to use it in my document, but I only run into errors. I have a main file named /ProjectPath/header.tex which loads all packages, etc. ...
3
votes
2answers
1k views

Combining Independent Latex Files

I have loads of latex files in a directory, each having (basically the same) preamble. That is, they use the same packages, the same documentclass, and they each define the same newcommands; there ...
6
votes
2answers
218 views

Import source code from URL

I have code snippets on my github account and I'd like to import the code from them directly into my LaTeX document via something like: \importtext{https://gist.github.com/xxxx} Is this possible? ...
3
votes
1answer
221 views

Insert TeX code from another Beamer presentation (which uses PGF) into Lyx while composing new Beamer presentation

I'm struggling to insert the TeX code for an older Beamer presentation into one that I'm currently putting together using Lyx. The problem seems to be that Lyx doesn't recognize the package import: ...
6
votes
2answers
677 views

How to import ASCII coordinates to TikZ

I have a long file of Brazil coordinates like: (-3.43,-0.56) -- (-3.44,-0.56) -- (-3.44,-0.55) -- (-3.50,-0.55) -- (-3.52,-0.55) ... and I want to import then into a tikzpicture environment to use ...
3
votes
1answer
1k views

I'm having trouble with \includegraphics I'm using MacTeX

Firstly and fore-mostly I am a complete new comer to the world of LaTeX and so please do bear with me. I will try to be as accurate as I can but if you need any more info please let me know. All I ...
1
vote
0answers
136 views

Run a library from a folder? [closed]

I'm struggling to get Tikz to run on my University terminal, for some as of yet unknown reason, and I don't have the permissions to install Tikz. I've emailed the 'computer help people' asking them to ...
1
vote
1answer
209 views

Getting \includeonly functionality with import package

I had problems compiling with the \includeonly \include system since I had images in the document form different subdirectories. For example the main file would be at /Main/MainFile.tex and the ...
3
votes
1answer
5k views

Problem importing .tex file into LyX — ampersands displaying in IEEEeqnarray

I received a .tex file from a user and tried to open this up in Lyx 2.0.2 on Win. After importing it into LyX, the document has ampersand characters everywhere in the equations as though LyX didn't ...
1
vote
2answers
156 views

Efficient Manner of Importing Graphics

What is the quickest way of importing graphics you need into your tex file. Say if you need to put figure's, charts, or plots from a textbook into your document. What's the fastest (but still get ...
7
votes
1answer
2k views

How can I get the actual relative path using \import and \subimport?

I have structured my PDFLaTeX document in folders. Inside them there are .tex files, .PDF figure files. And all works using \import and \subimport commands from the Import package: Main/ |-- ...
2
votes
1answer
334 views

Include source text from URI (e.g., Wikipedia)

Background Wikipedia content is reasonably current and free to use. Consider the tabular content at: http://en.wikipedia.org/wiki/Comparison_of_web_application_frameworks#Java Problem Copying ...
5
votes
1answer
574 views

Replace spaces/tabs in an imported .txt file upon import?

I read the answers to this question: Import a text file into LaTeX document, and am now wondering if it's possible to let TeX replace tabs or spaces in that text-file with & for example if you ...
14
votes
1answer
10k views

How do I import a text file so that it becomes the body text of my LaTeX document?

I want to completely separate formatting and content creation. The articles I will write are all plain prose that requires minimum or zero LaTeX formatting. Also, the text file doesn't have the ...