📄 manual.html
字号:
drawing and erasing always takes place on the topmost visible overlay.<br />Layers are a convenient mechanism to add temporary annotations on top of ajournal page: because of the logical separation between layers, erasingin the top layer will not affect the contents of the other layers, andthe top layer can be easily discarded.</p><h3 class="subsub">Navigating the journal</h3><p>The user interface either displays all pages in the journal below each other("continuous mode") or a single page ("one-page mode"). You can switchbetween the two modes by using the "Continuous" and "One page" entries inthe View menu. The default is thecontinuous mode, best adapted to note-taking on multiple pages. The one-pagemode is more appropriate if your journal is a scrapbook in which the pageshave different characteristics (in particular, if you are annotating aseries of pictures of different sizes).</p><p>You can navigate the journal pages in several different ways:<ul> <li> using the navigation toolbar buttons (or the corresponding entries in the View menu) to go back or forward one page, or to jump to the first or last page of the journal; </li> <li> in continuous mode, scrolling down to the desired page; </li> <li> entering a value or using the +/- buttons in the page selection box at the lower-left corner of the Xournal window. </li></ul>As a convenient shortcut, going forward one page (or pressing the + buttonin the selection box) when already at the end of the journal creates a newpage at the end of the journal.</p><p>Note: jumping to a page automatically selects the top-most layer inthat page.</p><p>To navigate the layers of a page, either use the layer selection box atthe bottom of the Xournal window, or use the "Show Layer" and "Hide Layer"entries in the View menu. The basic rule to remember is that the displayshows all the layers underneath the currently select one, and while thoseabove it are hidden.</p><p>Note: the background layer cannot be drawn on; any attempt to draw on thebackground will generate an error message and switch back to the firstlayer.</p><h3 class="subsub">Managing pages and layers</h3><p>Pages can be added to the journal by using the "New Page ..." entries inthe Journal menu. The newly created page has the same format and background as thecurrent page (for the "New Page Before" and "New Page After" commands), oras the last page of the journal (for "New Page At End"). Additionally,jumping to the next page when already on the last page creates a new pageat the end of the journal.</p><p>The "Delete Page" entry in the Journal menu removes the current page fromthe journal. (Remember that you can always undo this operation if youdeleted a page by accident).</p><p>The "New Layer" entry in the Journal menu creates a new layer immediatelyabove the current one, while "Delete Layer" removes the current layer andits contents (if you attempt to delete the only layer of a page, a newempty layer will be automatically created).</p><h3 class="subsub">Paper formats and backgrounds</h3><p>The size of the current page can be modified using the "Paper Size" entryin the Journal menu. Standard and custom sizes are available.</p><p>The background is either one of several kinds of standard paper types, or abitmap image, or a page of a PDF file.</p><p>To select a <b>standard paper type</b> as background for the current page, usethe "Paper Style" submenu of the Journal menu. The paper color can alsobe changed using the "Paper Color" submenu of the Journal menu.</p><p>To use a <b>PDF file</b> as the background for a journal, see the paragraphon <a href="manual.html#pdfannotate">PDF annotation</a> below.</p><p>To load a <b>bitmap image file</b> for use as background for the current page, usethe "Load Background" entry of the Journal menu. This automaticallyresizes the current page according to the size of the bitmap image, andresets the zoom level to 100%. If <i>ghostscript</i> is installed on yoursystem, you can also use this method to import a fixed-resolution bitmapversion of a Postscript or PDF file; in that case, all pages will beimported sequentially as backgrounds into consecutive pages (this is not therecommended method; PDF annotation is better in many respects).</p><p>To capture a <b>screenshot</b> of a window or the entire screen and make itthe background of the current page, use the "Background Screenshot" entry ofthe Journal menu. This will iconify the Xournal window; click in any window(after ensuring it is fully visible) to capture its contents, or click onthe desktop (or screen background) to capture the entire screen.</p><p><b>Important note:</b> by default, bitmap images loaded using the "LoadBackground" command will not be saved with the journal; instead, the journalfile will contain a reference to the absolute location of the image file.This means that the background will become unavailable if the image fileis moved or deleted. To avoid this, check the option "Attach file to thejournal" at the bottom of the file selection dialog box.<br />This option only applies to bitmap image files loaded from disk;screenshot backgrounds (and bitmaps converted from PS/PDF files usingghostscript) are automatically "attached" to the journal file: when thejournal is saved, they will be saved (in PNG format) along with it(using file names of the form *.xoj.bg_*.png).</p><p><b>Rescaling and anti-aliasing:</b> by default,bitmap backgrounds are rescaled and anti-aliased as needed when the zoomlevel is changed, to ensure their appearance always remains acceptable.Because this consumes a lot of memory and CPU resources, by default thisrescaling is performed on-demand as each page becomes visible. This meansthat you will occasionally notice bitmap backgrounds being smoothed whileyou are scrolling inside the document (at large zoom levels, this can slowdown the screen refresh rate noticeably). If you'd prefer all backgrounds tobe rescaled immediately upon changing the zoom level (slower but maybe moreintuitive), disable the "Progressive Backgrounds" option in the Optionsmenu.<br />If you are handling large bitmaps, you can save memory and CPU resources (at theexpense of quality) by disabling the "Antialiased Bitmaps" option in the Options menu.</p><a name="pdfannotate"></a><h3 class="subsub">PDF annotation</h3><p>Xournal can be used to annotate PDF files, by loading the pages of a PDFfile as backgrounds for a journal. This feature requires the<i>pdftoppm</i> converter to be installed (this is part of the <i>xpdf</i> PDF file viewer).</p><p>The "Annotate PDF" command in the File menu can be used to load a PDF fileinto a new (empty) journal. The page backgrounds and page sizes correspondto the contents of the PDF file. (Most unencrypted PDF files should besupported).</p><p>By default, the PDF file used to generate the backgroundswill not be saved with the journal; instead, the journalfile will contain a reference to the absolute location of this file.This means that all backgrounds will become unavailable if the PDF fileis moved or deleted (although Xournal will let you specifythe updated location of the PDF file when opening the journalfile). To avoid this, check the option "Attach file to the journal"at the bottom of the dialog box when opening the PDF file. The PDF file willthen be saved along with the journal (using a file name of the form*.xoj.bg.pdf).<p>Upon zooming, the page backgrounds are asynchronously updatedto fit the current display resolution. Since this process is quite slow andmemory-intensive, the pages are normally updated only as needed, when theybecome visible on the screen (unless you disable the "ProgressiveBackgrounds" option in the Options menu). This means that you willoccasionally notice the page backgrounds being updated while you arescrolling inside the document (at large zoom levels, it can take a whilefor the updated background to appear). However, since the backgrounds aregenerated asynchronously by a separate Unix process, you can keep drawing in the journalwhile the update process is still in progress.</p><p>It is strongly recommended that you do not resize PDF pages (using the"Paper Size" command). This will result in extremely ugly rendering, asthe PDF converter is unable to render bitmaps withnon-standard aspect ratios.</p><p>While you can perform all sorts of page operations on a journal filethat was created from a PDF file (such as duplicating or deleting pages,inserting pages with blank or bitmapped backgrounds, ...), it is notpossible to include pages from more than one PDF file into a single journaldocument. If you need to annotate two or more PDF files inside a samejournal document, please consider using an external utility for mergingPDF files (for example <i>pdfmerge</i>).<hr /><a name="printing"></a><h2 class="subtitle">Printing</h2><p>Xournal uses the gnome-print architecture for printing. While it is verypowerful, some aspects of the API leave to be desired. As of version 0.3,Xournal also includes a native PDF printing feature.</p><h3 class="subsub">Printing via gnome-print</h3><p>The "Printer" tab of the print dialog box lets you select a printer(either one of the printers installed on your system, or the genericPostscript printer, or the PDF virtual printer). The "Job" tab lets youselect a range of pages to print (the default is to print the entirejournal). The "Paper" tab lets you select the paper size. Each pageof the journal is automatically rescaled so as to fit the paper size.(minus a 5% margin all around).</p><p>The settings are currently not saved properly from one print job tothe next, so make sure to select the appropriate printer and verifythe paper size. When printing to a file (Postscript or PDF), Xournalattempts to pre-fill the output file name (for the Postscript driverthis often fails due to gnome-print API issues).</p><p>Note that the PDF virtual printer produces files that are very largeand far from optimal, so its use is not recommended.The gnome-print architecture also forces page backgrounds (bitmapsand PDF) to be generated as uncompressed bitmaps, which leads to giganticprint job files. A better alternative is to export a PDF file, andprint the PDF file.</p><h3 class="subsub">Exporting to PDF</h3><p>Starting with version 0.3, Xournal provides its own PDF renderingengine. The "Export to PDF" command (in the File menu) produces aPDF-1.4 file from the currently loaded document. The resulting PDFfile is much more compact than those produced via gnome-print, andits pages have the same size as in Xournal. Highlighter strokesare rendered in a partially transparent manner (note however thatapplications such as xpdf and ghostview do not always handlePDF transparency properly). Text items are rendered by embeddingTrueType subsets or Type 1 fonts into the PDF document as appropriate.</p><p>Xournal also includes a PDF file parser compatible with PDF formatversion 1.4; the compression features of PDF 1.5 (Acrobat 6) arenot supported. When exporting a document that uses PDFbackgrounds, Xournal attempts to preserve most of the structure ofthe original PDF file (however, auxiliary data such as thumbnails, hyperlinks,and annotations are lost). If Xournal is unable to parse the PDFfile, the backgrounds are converted to (compressed) bitmaps and a newPDF file is generated from scratch.</p><hr /><a name="configuration"></a><h2 class="subtitle">Configuration</h2><p>Starting with version 0.3.2, Xournal's configuration settings can besaved to a file (<tt>~user/.xournal/config</tt>) by using the "SavePreferences" command in the Options menu. The settings saved in theconfiguration file include in particular:<ul><li>general display preferences: zoom level, window size, ...</li><li>default paper settings (as set by the "Set As Default" command inthe Journal menu)</li><li>default settings for the pen, eraser, highlighter, and text tools(as set by the "Set As Default" command in the Tools menu)</li><li>mappings for buttons 2 and 3</li><li>the various preferences set in the Options menu</li></ul>The configuration file also gives access to additional customizationoptions which cannot be set from the user interface, such as: thedisplay resolution in pixels per inch, the step increment in zoom factors,the tool selected at startup, the thickness of the various drawing tools,the default directory for opening and saving files, the visibility andposition of the menu and toolbars, ...</p><hr /><a name="author"></a><h2 class="subtitle">Author information, license, bug-reports</h2><p>Xournal is written by Denis Auroux(aur<!--despam-->oux<span>@</span><span>math</span>.<span>mit.edu).
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -