Working with latex frames
Jump to navigation
Jump to search
Installation • Usage • PDF issues • Imposition • Other |
This article is intended to be a compilation of operations pertaining to LaTeX frames.
All Working with pages:
Working with text frames |
Configuration
First you have to configure the path to your latex executable. Go to File -> Preferences -> External Tools and set the pathes for the latex executable and your editor. The easiest way to do this is to click on "Rescan" and all required values are filled in automatically.
Manual configuration
If you want to manually configure an other LaTeX executable type in the path, but make sure that the following requirements are met:
- The output must be in a format that scribus can display in an image frame. (for example PNG, JPEG, PostScript, PDF) This means that you can't use plain LaTeX, because it produces DVI output.
- The output must be placed in the same directory as the input. The program is passed a path link /some_temporary_directory/scribus_files_XXXXX and the output file must be /some_temporary_directory/scribus_files_XXXXX.xyz however latex produces output in the current working directory (that is where your .sla file is placed). So you must pass the parameter --output-dir=%dir to latex. %dir is a placeholder for the temporary directory that is replaced by scribus.
There are the following placeholders:
- %dir Temporary directory
- %dpi Current dpi setting
- %file The input file (if this placeholder is not used the last parameter will automatically be the filename)