This question already has an answer here:

I have a PSTricks picture shown here, where I have tried to move a part of it into a different ´TeX´-file for clarity (not, this is not a MWE)

\documentclass[pstricks,border=12pt]{standalone}% set border=0pt at the final stage
    unit=2cm,% set it to 100cm if you want 1 scale = 100cm = 1m

\begin{pspicture}[showgrid=false](5,1.25)% set showgrid=false at the final stage


with ext.tex


Why am I not allowed to do this?

marked as duplicate by Marco Daniel, Mensch, Guido, Benedikt Bauer, barbara beeton Oct 8 '13 at 18:04

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 1
    Use input see: When should I use \input vs. \include? – Marco Daniel Oct 8 '13 at 16:35
  • @MarcoDaniel Will you post it as an answer? Then I can mark the question solved – BillyJean Oct 8 '13 at 16:40
  • Why do you need to split it? Probably I can give your an advice. :-) – kiss my armpit Oct 8 '13 at 17:06
  • @PGFTricks No other reason than to tidy up my files/directory – BillyJean Oct 8 '13 at 18:22
  • Create a package to contain common code that you will reuse in multiple diagrams. – kiss my armpit Oct 8 '13 at 18:50

Browse other questions tagged or ask your own question.