summaryrefslogtreecommitdiffstats
path: root/scribus/doc/en/collect4output.html
blob: f10ca6c4d66bb403617c7fd5a3b7a006c6ca0887 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
	<title>Collect for Output</title>
</head>
<body>
<h2>Collect for Output</h2>
<p><i>Collect for Output</i> is a specialized way of saving a Scribus document.</p>
<p>If you work with Scribus on a single computer in a noncollaborative way, you won't necessarily ever have a need for <i>Collect for Output</i>. If you work on more than one, and especially if they might have different operating systems, such as one with Linux and one with Windows, you may find this function useful. If you work collaboratively on a Scribus document, then this will be nearly essential, or at least very useful to know about.</p>
<p>If you are highly organized, you probably have a workflow in which you work with a Scribus project in its own directory, with all the images and other content in that directory. Even so, allowing someone else to work on the document may not be as simple as sending the project directory, when you find after the fact that some images were not there or that your collaborator doesn't have one of the fonts used in the document.</p>
<p><i>Collect for Output</i> could simply be useful for your own needs, to bring all the elements of a document together in one directory as a convenience.</p>
<h3>The Process</h3>
<p>In summary, what Collect for Output entails is creating a directory for your project, selecting that directory, then Scribus takes it from there, saving the document inside, along with its images, and if you wish, font files and color profiles. Technically, you do not need to create a new directory or choose an empty one, but for many uses, having only the files for the particular project in that directory would make the most sense.</p>
<p>When the document is saved all of the links for the images are changed for the document copy in this new directory. Let's show an example.</p>
<p>&nbsp;</p>
<table cellpadding="3" width="90%">
<tr><td><img src="images/collect_out1.png"></td>
<td><p>Here I am about to collect a project consisting of a presentation document. After selecting <i>File > Collect for Output</i>, I am presented with this dialog, which you can see is strictly for working with directories. At this point I have created a new directory named &ldquo;conference&rdquo;. This is KDE on Linux, so your dialog may differ, but should still have the same functionality.</p>
<p>The next step is to select the <i>conference</i> directory by clicking on it. Don't click <i>OK</i> yet.</p></td></tr>
<tr><td><img src="images/collect_out2.png"></td>
<td><p>So now our directory is selected, there is nothing inside (this dialog would only show directories). At the bottom I have checked <i>Include Fonts</i> and <i>Include Color Profiles</i>. If I also selected <i>Compress File</i>, this would &ldquo;gzip&rdquo; the file, perhaps useful for a very large Scribus document, but not needed here. Compressed files will end in <code>.sla.gz</code>.</p>
<p>Now it's time to click <i>OK</i>.</p></td></tr>
</table>
<h3>The Result</h3>

<table cellpadding="3" width="80%">
<tr><td><img src="images/collect_out3.png"></td>
<td><p>This is a listing of what Scribus has put inside this directory. We see various images, our font files ending in <code>.ttf</code>, and the ICC profiles ending in <code>.icm</code>, in addition to the document <code>conference_present.sla</code>.</p>
<p>What has happened in Scribus is that you are now working with this new copy of the document, with its content here, instead of the original file and its content, however scattered it might have been. Open this file as you would any other document, by going to its directory and selecting the file.</p>
<p>Conceptually you can see how this makes passing this back and forth between collaborators much more efficient. Also consider that you might choose to use Collect for Output to create several versions, with variations on the images for example, by repeating the Collect for Output procedure to some other directory.</p></td></tr>
</table>
<h3>Avoiding Trouble</h3>
<table cellpadding="3" width="80%">
<tr><td><p>Something you need to be careful about is moving or deleting any of these files outside of Scribus. To understand why this is, look at what happens.</p>
<p>On the right is a depiction of our original situation, before running <i>Collect for Output</i>, where we have the Scribus document saved in one directory, and then perhaps images scattered around in others. When we run <i>Collect for Output</i>, all of these files are still in these locations.</p>
<p>For each image, Scribus only has a relative path listed when you save the document &ndash; relative to where the <code>.sla</code> is saved.</p>
<td><img src="images/collect_out5.png"></td></tr>
<tr><td>&nbsp;</td></tr>
<tr><td><p>Now that you have run <i>Collect for Output</i>, the document file is in your new directory, but so are copies of all the images, and all the relative links point to this new location. If you delete or move an image from the directory, the reference in the document is unchanged, so you have a missing image.</p>
<p>One solution might be to go back to your original document and rerun <i>Collect for Output</i>, but this will lose any edits you have made in the file. Plan B in this situation might be to rename your collected file, go back to the original, Collect again, then revert the renamed file</p>
<p>Otherwise, you face manually going through the original file to find the missing image, or some even more complicated scheme. Thus the warnings about moving/deleting files outside of Scribus.</p>
<td><img src="images/collect_out6.png"></td></tr>

</table>
</body>
</html>