# SOME DESCRIPTIVE TITLE. # Copyright (C) Kovid Goyal # This file is distributed under the same license as the calibre package. # # Translators: # efef6ec5b435a041fce803c7f8af77d2_2341d43, 2017,2020 # efef6ec5b435a041fce803c7f8af77d2_2341d43, 2020 # Jonatan Nyberg, 2026 # Jonatan Nyberg, 2016-2017,2021-2024,2026 # Jonatan Nyberg, 2018-2021 # efef6ec5b435a041fce803c7f8af77d2_2341d43, 2017-2018 # efef6ec5b435a041fce803c7f8af77d2_2341d43, 2017 # Karl Jonatan Nyberg, 2026 # Jonatan Nyberg, 2026 # Merarom , 2014-2016 # Sebastian Rasmussen , 2018 msgid "" msgstr "" "Project-Id-Version: calibre\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2026-09-16 15:05+0000\n" "PO-Revision-Date: 2014-06-17 08:34+0000\n" "Last-Translator: Sebastian Rasmussen , 2018\n" "Language-Team: Swedish (http://app.transifex.com/calibre/calibre/language/sv/)\n" "Language: sv\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: ../../../__w/calibre/calibre/manual/conversion.rst:4 msgid "E-book conversion" msgstr "Konvertering av e-böcker" #: ../../../__w/calibre/calibre/manual/conversion.rst:6 msgid "" "calibre has a conversion system that is designed to be very easy to use. " "Normally, you just add a book to calibre, click convert and calibre will try" " hard to generate output that is as close as possible to the input. However," " calibre accepts a very large number of input formats, not all of which are " "as suitable as others for conversion to e-books. In the case of such input " "formats, or if you just want greater control over the conversion system, " "calibre has a lot of options to fine tune the conversion process. Note " "however that calibre's conversion system is not a substitute for a full " "blown e-book editor. To edit e-books, I recommend first converting them to " "EPUB or AZW3 using calibre and then using the :guilabel:`Edit book` feature " "to get them into perfect shape. You can then use the edited e-book as input " "for conversion into other formats in calibre." msgstr "" "calibres konverteringssystem är utformat för att vara lätt att använda. " "Vanligtvis lägger du bara till en bok i calibre och klickar på konvertera. " "calibre försöker då skapa ett resultat som ligger så nära originalet som " "möjligt. calibre stöder dock många inmatningsformat, och alla lämpar sig " "inte lika bra för konvertering till e-böcker. För sådana format, eller när " "du vill ha större kontroll, finns många alternativ för att finjustera " "konverteringen. Konverteringssystemet ersätter däremot inte en fullständig " "e-boksredigerare. För att redigera e-böcker rekommenderar jag att du först " "konverterar dem till EPUB eller AZW3 med calibre och sedan använder " ":guilabel:`Redigera bok` för att finjustera resultatet. Därefter kan du " "använda den redigerade e-boken som indata vid konvertering till andra format" " i calibre." #: ../../../__w/calibre/calibre/manual/conversion.rst:18 msgid "" "This document will refer mainly to the conversion settings as found in the " "conversion dialog, pictured below. All these settings are also available via" " command line interface to conversion, documented at " ":doc:`generated/en/ebook-convert`. In calibre, you can obtain help on any " "individual setting by holding your mouse over it, a tooltip will appear " "describing the setting." msgstr "" "Det här dokumentet beskriver främst inställningarna i " "konverteringsdialogrutan som visas nedan. Alla inställningar finns även i " "kommandoradsgränssnittet för konvertering, som beskrivs i " ":doc:`generated/sv/ebook-convert`. Du får hjälp med en inställning i calibre" " genom att hålla muspekaren över den. Då visas ett verktygstips som " "beskriver inställningen." #: ../../../__w/calibre/calibre/manual/conversion.rst:24 msgid "E-book conversion dialog" msgstr "Dialogruta för konvertering av e-bok" #: ../../../__w/calibre/calibre/manual/conversion.rst:31 #: ../../../__w/calibre/calibre/manual/conversion.rst:95 msgid "Contents" msgstr "Innehåll" #: ../../../__w/calibre/calibre/manual/conversion.rst:36 msgid "Introduction" msgstr "Introduktion" #: ../../../__w/calibre/calibre/manual/conversion.rst:42 msgid "" "The first thing to understand about the conversion system is that it is " "designed as a pipeline. Schematically, it looks like this:" msgstr "" "Konverteringssystemet är uppbyggt som en kedja av bearbetningssteg. " "Schematiskt ser det ut så här:" #: ../../../__w/calibre/calibre/manual/conversion.rst:45 msgid "The conversion pipeline" msgstr "Konverteringsprocessen" #: ../../../__w/calibre/calibre/manual/conversion.rst:49 msgid "" "The input format is first converted to XHTML by the appropriate *Input " "plugin*. This HTML is then *transformed*. In the last step, the processed " "XHTML is converted to the specified output format by the appropriate *Output" " plugin*. The results of the conversion can vary greatly, based on the input" " format. Some formats convert much better than others. A list of the best " "source formats for conversion is available :ref:`here `." msgstr "" "Inmatningsformatet konverteras först till XHTML av en lämplig " "*inmatningsinsticksmodul*. Därefter *omvandlas* denna HTML. I det sista " "steget konverteras den bearbetade XHTML-koden till det angivna " "utmatningsformatet av en lämplig *utmatningsinsticksmodul*. Resultatet kan " "variera kraftigt beroende på inmatningsformatet. Vissa format konverteras " "mycket bättre än andra. En lista över de bästa källformaten för konvertering" " finns :ref:`här `." #: ../../../__w/calibre/calibre/manual/conversion.rst:56 msgid "" "The transforms that act on the XHTML output are where all the work happens. " "There are various transforms, for example, to insert book metadata as a page" " at the start of the book, to detect chapter headings and automatically " "create a Table of Contents, to proportionally adjust font sizes, et cetera. " "It is important to remember that all the transforms act on the XHTML output " "by the *Input plugin*, not on the input file itself. So, for example, if you" " ask calibre to convert an RTF file to EPUB, it will first be converted to " "XHTML internally, the various transforms will be applied to the XHTML and " "then the *Output plugin* will create the EPUB file, automatically generating" " all metadata, Table of Contents, et cetera." msgstr "" "Omvandlingarna som verkar på XHTML-utmatningen är där allt arbete sker. Det " "finns olika omvandlingar, till exempel för att infoga bokens metadata som en" " sida i början av boken, för att upptäcka kapitelrubriker och automatiskt " "skapa en innehållsförteckning, för att proportionellt justera " "teckensnittsstorlekar, och så vidare. Det är viktigt att minnas att alla " "omvandlingar verkar på XHTML-utmatning av *inmatningsinsticksmodulen*, inte " "på själva inmatningsfilen. Så, till exempel, om du ber calibre att " "konvertera en RTF-fil till EPUB, kommer den först att konverteras till XHTML" " internt, de olika omvandlingarna kommer att tillämpas på XHTML och sedan " "kommer *utmatningsinsticksmodulen* att skapa EPUB-filen, vilket automatiskt " "skapar alla metadata, innehållsförteckning, och så vidare." #: ../../../__w/calibre/calibre/manual/conversion.rst:65 msgid "" "You can see this process in action by using the debug option |dbgi|. Just " "specify the path to a folder for the debug output. During conversion, " "calibre will place the XHTML generated by the various stages of the " "conversion pipeline in different sub-folders. The four sub-folders are:" msgstr "" "Du kan se den här processen i aktion genom att använda " "felsökningsalternativet |dbgi|. Ange bara sökvägen till en mapp för " "felsökningsutmatning. Under konverteringen kommer calibre att placera XHTML " "som genereras av de olika stegen i konverteringsprocessen i olika " "undermappar. De fyra undermapparna är:" #: ../../../__w/calibre/calibre/manual/conversion.rst:38 msgid "Debug icon" msgstr "Felsökningsikon" #: ../../../__w/calibre/calibre/manual/conversion.rst:70 msgid "Stages of the conversion pipeline" msgstr "Stadier av konverteringsprocessen" #: ../../../__w/calibre/calibre/manual/conversion.rst:73 msgid "Folder" msgstr "Mapp" #: ../../../__w/calibre/calibre/manual/conversion.rst:73 msgid "Description" msgstr "Beskrivning" #: ../../../__w/calibre/calibre/manual/conversion.rst:75 msgid "input" msgstr "input" #: ../../../__w/calibre/calibre/manual/conversion.rst:75 msgid "" "This contains the HTML output by the Input plugin. Use this to debug the " "Input plugin." msgstr "" "Den innehåller HTML-utmatning från inmatningsinsticksmodulen. Använd detta " "för att felsöka inmatningsinsticksmodulen." #: ../../../__w/calibre/calibre/manual/conversion.rst:76 msgid "parsed" msgstr "parsed" #: ../../../__w/calibre/calibre/manual/conversion.rst:76 msgid "" "The result of pre-processing and converting to XHTML the output from the " "Input plugin. Use to debug structure detection." msgstr "" "Resultatet efter att utmatningen från inmatningsinsticksmodulen har " "förbehandlats och konverterats till XHTML. Används för att felsöka " "strukturdetektering." #: ../../../__w/calibre/calibre/manual/conversion.rst:77 msgid "structure" msgstr "structure" #: ../../../__w/calibre/calibre/manual/conversion.rst:77 msgid "" "Post structure detection, but before CSS flattening and font size " "conversion. Use to debug font size conversion and CSS transforms." msgstr "" "Efter strukturdetektering, men före utplattning av CSS och konvertering av " "teckenstorlekar. Används för att felsöka konvertering av teckenstorlekar och" " CSS-omvandlingar." #: ../../../__w/calibre/calibre/manual/conversion.rst:78 msgid "processed" msgstr "processed" #: ../../../__w/calibre/calibre/manual/conversion.rst:78 msgid "" "Just before the e-book is passed to the Output plugin. Use to debug the " "Output plugin." msgstr "" "Precis innan e-boken skickas till utmatningsinsticksmodulen. Används för att" " felsöka utmatningsinsticksmodulen." #: ../../../__w/calibre/calibre/manual/conversion.rst:81 msgid "" "If you want to edit the input document a little before having calibre " "convert it, the best thing to do is edit the files in the :file:`input` sub-" "folder, then zip it up, and use the ZIP file as the input format for " "subsequent conversions. To do this use the :guilabel:`Edit meta information`" " dialog to add the ZIP file as a format for the book and then, in the top " "left corner of the conversion dialog, select ZIP as the input format." msgstr "" "Om du vill redigera inmatningsdokumentet lite innan calibre konverterar det " "är det bäst att redigera filerna i undermappen :file:`input` och sedan packa" " dem i en ZIP-fil. Använd ZIP-filen som inmatningsformat vid efterföljande " "konverteringar. Lägg till ZIP-filen som ett format för boken via dialogrutan" " :guilabel:`Redigera metainformation` och välj sedan ZIP som " "inmatningsformat längst upp till vänster i konverteringsdialogrutan." #: ../../../__w/calibre/calibre/manual/conversion.rst:87 msgid "" "This document will deal mainly with the various transforms that operate on " "the intermediate XHTML and how to control them. At the end are some tips " "specific to each input/output format." msgstr "" "Det här dokumentet kommer huvudsakligen att behandla de olika omvandlingarna" " som fungerar på mellanliggande XHTML och hur man anpassar dem. I slutet " "finns några tips som är specifika för varje in-/utmatningsformat." #: ../../../__w/calibre/calibre/manual/conversion.rst:91 msgid "Look & feel" msgstr "Utseende & känsla" #: ../../../__w/calibre/calibre/manual/conversion.rst:97 msgid "" "This group of options controls various aspects of the look and feel of the " "converted e-book." msgstr "" "Denna grupp av alternativ anpassar olika aspekter av utseendet och känslan " "av den konverterade e-boken." #: ../../../__w/calibre/calibre/manual/conversion.rst:102 msgid "Fonts" msgstr "Teckensnitt" #: ../../../__w/calibre/calibre/manual/conversion.rst:104 msgid "" "One of the nicest features of the e-reading experience is the ability to " "easily adjust font sizes to suit individual needs and lighting conditions. " "calibre has sophisticated algorithms to ensure that all the books it outputs" " have consistent font sizes, no matter what font sizes are specified in the " "input document." msgstr "" "En av de trevligaste funktionerna med e-läsningsupplevelsen är möjligheten " "att enkelt justera teckenstorlekar för att passa individuella behov och " "ljusförhållanden. calibre har sofistikerade algoritmer för att säkerställa " "att alla böcker som matas ut har konsekventa teckenstorlekar, oavsett vilka " "teckenstorlekar som anges i inmatningsdokumentet." #: ../../../__w/calibre/calibre/manual/conversion.rst:109 msgid "" "The base font size of a document is the most common font size in that " "document, i.e., the size of the bulk of text in that document. When you " "specify a :guilabel:`Base font size`, calibre automatically rescales all " "font sizes in the document proportionately, so that the most common font " "size becomes the specified base font size and other font sizes are rescaled " "appropriately. By choosing a larger base font size, you can make the fonts " "in the document larger and vice versa. When you set the base font size, for " "best results, you should also set the font size key." msgstr "" "Grundteckensnittsstorleken för ett dokument är den vanligaste " "teckensnittsstorleken i det dokumentet, dvs. storleken på den största delen " "av texten i dokumentet. När du anger en :guilabel:`Grundteckenstorlek`, " "skalar calibre automatiskt om alla teckensnittsstorlekar i dokumentet " "proportionellt, så att den vanligaste teckensnittsstorleken blir den angivna" " grundteckensnittsstorleken och andra teckensnittsstorlekar skalas på " "lämpligt sätt. Genom att välja en större grundteckensnittsstorlek kan du " "göra teckensnitten i dokumentet större och vice versa. När du ställer in " "grundteckensnittsstorleken, för bästa resultat, bör du också ställa in " "teckensnittsstorleksnyckeln." #: ../../../__w/calibre/calibre/manual/conversion.rst:117 msgid "" "Normally, calibre will automatically choose a base font size appropriate to " "the output profile you have chosen (see :ref:`page-setup`). However, you can" " override this here in case the default is not suitable for you." msgstr "" "Normalt väljer calibre automatiskt en grundteckensnittsstorlek som är " "lämplig för utmatningsprofilen du har valt (se :ref:`page-setup`). Du kan " "dock åsidosätta detta här om standardvärdet inte är lämpligt för dig." #: ../../../__w/calibre/calibre/manual/conversion.rst:121 msgid "" "The :guilabel:`Font size key` option lets you control how non-base font " "sizes are rescaled. The font rescaling algorithm works using a font size " "key, which is simply a comma-separated list of font sizes. The font size key" " tells calibre how many \"steps\" bigger or smaller a given font size should" " be compared to the base font size. The idea is that there should be a " "limited number of font sizes in a document. For example, one size for the " "body text, a couple of sizes for different levels of headings and a couple " "of sizes for super/sub scripts and footnotes. The font size key allows " "calibre to compartmentalize the font sizes in the input documents into " "separate \"bins\" corresponding to the different logical font sizes." msgstr "" "Alternativet :guilabel:`Teckenstorleksnyckel` styr hur andra teckenstorlekar" " än grundstorleken skalas om. Omskalningsalgoritmen använder en " "teckenstorleksnyckel, alltså en kommaseparerad lista med teckenstorlekar. " "Nyckeln anger hur många ”steg” större eller mindre en viss storlek ska vara " "jämfört med grundstorleken. Tanken är att ett dokument ska ha ett begränsat " "antal teckenstorlekar: en för brödtext, några för olika rubriknivåer och " "några för upphöjda eller nedsänkta tecken och fotnoter. Nyckeln låter " "calibre dela in inmatningsdokumentets teckenstorlekar i separata grupper som" " motsvarar de olika logiska storlekarna." #: ../../../__w/calibre/calibre/manual/conversion.rst:130 msgid "" "Let's illustrate with an example. Suppose the source document we are " "converting was produced by someone with excellent eyesight and has a base " "font size of 8pt. That means the bulk of the text in the document is sized " "at 8pts, while headings are somewhat larger (say 10 and 12pt) and footnotes " "somewhat smaller at 6pt. Now if we use the following settings::" msgstr "" "Låt oss illustrera med ett exempel. Antag att källdokumentet vi konverterar " "producerades av någon med utmärkt syn och har en grundteckensnittsstorlek på" " 8 punkter. Det innebär att huvuddelen av texten i dokumentet är " "dimensionerad för 8 punkter medan rubriker är något större (säg 10 och 12 " "punkter) och fotnoter något mindre på 6 punkter. Nu om vi använder följande " "inställningar::" #: ../../../__w/calibre/calibre/manual/conversion.rst:139 msgid "" "The output document will have a base font size of 12pt, headings of 14 and " "16pt and footnotes of 8pt. Now suppose we want to make the largest heading " "size stand out more and make the footnotes a little larger as well. To " "achieve this, the font key should be changed to::" msgstr "" "Utmatningsdokumentet kommer att ha en grundteckensnittsstorlek på 12 " "punkter, rubrikerna 14 och 16 punkter och fotnoter 8 punkter. Anta nu att vi" " vill göra att den största rubrikstorleken sticker ut mer och göra fotnoter " "lite större också. För att uppnå detta bör teckensnittsnyckeln ändras till::" #: ../../../__w/calibre/calibre/manual/conversion.rst:145 msgid "" "The largest headings will now become 18pt, while the footnotes will become " "9pt. You can play with these settings to try and figure out what would be " "optimum for you by using the font rescaling wizard, which can be accessed by" " clicking the little button next to the :guilabel:`Font size key` setting." msgstr "" "De största rubrikerna blir nu 18 punkter och fotnoterna 9 punkter. Prova " "olika inställningar för att hitta det som passar dig bäst. Guiden för " "omskalning av teckenstorlekar öppnas med den lilla knappen bredvid " ":guilabel:`Teckenstorleksnyckel`." #: ../../../__w/calibre/calibre/manual/conversion.rst:150 msgid "" "All the font size rescaling in the conversion can also be disabled here, if " "you would like to preserve the font sizes in the input document." msgstr "" "Alla omskalningar av teckensnittsstorleken i konverteringen kan även stängas" " av här, om du vill bevara teckensnittsstorlekar i inmatningsdokumentet." #: ../../../__w/calibre/calibre/manual/conversion.rst:153 msgid "" "A related setting is :guilabel:`Line height`. Line height controls the " "vertical height of lines. By default, (a line height of 0), no manipulation " "of line heights is performed. If you specify a non-default value, line " "heights will be set in all locations that don't specify their own line " "heights. However, this is something of a blunt weapon and should be used " "sparingly. If you want to adjust the line heights for some section of the " "input, it's better to use the :ref:`Extra CSS `." msgstr "" "En relaterad inställning är :guilabel:`Radhöjd`, som styr radernas vertikala" " höjd. Med standardvärdet 0 ändras inte radhöjderna. Om du anger ett annat " "värde används det på alla ställen där ingen egen radhöjd har angetts. " "Inställningen är dock ett trubbigt verktyg och bör användas sparsamt. Om du " "vill ändra radhöjden i vissa avsnitt är det bättre att använda :ref:`Extra " "CSS `." #: ../../../__w/calibre/calibre/manual/conversion.rst:160 msgid "" "In this section you can also tell calibre to embed any referenced fonts into" " the book. This will allow the fonts to work on reader devices even if they " "are not available on the device." msgstr "" "Här kan du också låta calibre bädda in alla teckensnitt som boken hänvisar " "till. Då fungerar teckensnitten på läsenheter även om de inte är " "installerade där." #: ../../../__w/calibre/calibre/manual/conversion.rst:165 msgid "Text" msgstr "Text" #: ../../../__w/calibre/calibre/manual/conversion.rst:167 msgid "" "Text can be either justified or not. Justified text has extra spaces between" " words to give a smooth right margin. Some people prefer justified text, " "others do not. Normally, calibre will preserve the justification in the " "original document. If you want to override it you can use the " ":guilabel:`Text justification` option in this section." msgstr "" "Text kan vara marginaljusterad eller inte. Marginaljusterad text har extra " "mellanrum mellan orden för att skapa en jämn högermarginal. Vissa föredrar " "marginaljusterad text, medan andra inte gör det. Normalt bevarar calibre " "marginaljusteringen i originaldokumentet. Om du vill åsidosätta den kan du " "använda alternativet :guilabel:`Textjustering` i det här avsnittet." #: ../../../__w/calibre/calibre/manual/conversion.rst:173 msgid "" "You can also tell calibre to :guilabel:`Smarten punctuation` which will " "replace plain quotes, dashes and ellipses with their typographically correct" " alternatives. Note that this algorithm is not perfect so it is worth " "reviewing the results. The reverse, namely, :guilabel:`Unsmarted " "punctuation` is also available." msgstr "" "Med :guilabel:`Förbättra skiljeteckenhantering` kan calibre ersätta raka " "citattecken, streck och tre punkter med typografiskt korrekta " "motsvarigheter. Algoritmen är inte perfekt, så granska resultatet. Den " "omvända funktionen, :guilabel:`Återställ enkla skiljetecken`, finns också." #: ../../../__w/calibre/calibre/manual/conversion.rst:178 msgid "" "Finally, there is :guilabel:`Input character encoding`. Older documents " "sometimes don't specify their character encoding. When converted, this can " "result in non-English characters or special characters like smart quotes " "being corrupted. calibre tries to auto-detect the character encoding of the" " source document, but it does not always succeed. You can force it to assume" " a particular character encoding by using this setting. `cp1252` is a " "common encoding for documents produced using Windows software. You should " "also read :ref:`char-encoding-faq` for more on encoding issues." msgstr "" "Slutligen finns det :guilabel:`Inmatningsteckenkodning`. Äldre dokument " "anger ibland inte deras teckenkodning. Vid konvertering kan detta leda till " "att icke-engelska tecken eller specialtecken som typografiska citattecken " "skadas. calibre försöker att automatiskt upptäcka källdokumentets " "teckenkodning, men det lyckas inte alltid. Du kan tvinga den att anta en " "viss teckenkodning med den här inställningen. `cp1252` är en vanlig kodning " "för dokument som produceras med Windows-programvara. Du bör också läsa " ":ref:`char-encoding-faq` för mer om kodningsfrågor." #: ../../../__w/calibre/calibre/manual/conversion.rst:188 msgid "Layout" msgstr "Layout" #: ../../../__w/calibre/calibre/manual/conversion.rst:190 msgid "" "Normally, paragraphs in XHTML are rendered with a blank line between them " "and no leading text indent. calibre has a couple of options to control this." " :guilabel:`Remove spacing between paragraphs` forcefully ensure that all " "paragraphs have no inter paragraph spacing. It also sets the text indent to " "1.5em (can be changed) to mark the start of every paragraph. " ":guilabel:`Insert blank line` does the opposite, guaranteeing that there is " "exactly one blank line between each pair of paragraphs. Both these options " "are very comprehensive, removing spacing, or inserting it for *all* " "paragraphs (technically

and

tags). This is so that you can just " "set the option and be sure that it performs as advertised, irrespective of " "how messy the input file is. The one exception is when the input file uses " "hard line breaks to implement inter-paragraph spacing." msgstr "" "Normalt återges stycken i XHTML med en tom rad mellan sig och utan inledande" " textindrag. calibre har ett par alternativ för att styra detta. " ":guilabel:`Ta bort avstånd mellan stycken` tar bort allt avstånd mellan " "styckena. Alternativet ställer också in textindraget på 1.5em, vilket kan " "ändras, för att markera början på varje stycke. :guilabel:`Infoga tom rad " "mellan stycken` gör motsatsen och ser till att det finns exakt en tom rad " "mellan varje par av stycken. Båda alternativen gäller för *alla* stycken, " "tekniskt sett

- och

-taggar. På så sätt fungerar alternativet som " "utlovat oavsett hur rörig inmatningsfilen är. Undantaget är när " "inmatningsfilen använder hårda radbrytningar för att skapa avstånd mellan " "stycken." #: ../../../__w/calibre/calibre/manual/conversion.rst:201 msgid "" "If you want to remove the spacing between all paragraphs, except a select " "few, don't use these options. Instead add the following CSS code to " ":ref:`Extra CSS `::" msgstr "" "Om du vill ta bort avstånd mellan alla stycken, förutom några få utvalda, " "använd inte dessa alternativ. Lägg i stället till följande CSS-kod i " ":ref:`Extra CSS `::" #: ../../../__w/calibre/calibre/manual/conversion.rst:207 msgid "" "Then, in your source document, mark the paragraphs that need spacing with " "`class=\"spacious\"`. If your input document is not in HTML, use the Debug " "option, described in the Introduction to get HTML (use the :file:`input` " "sub-folder)." msgstr "" "Markera sedan styckena i ditt källdokument som behöver avstånd med " "`class=\"spacious\"`. Om ditt inmatningsdokument inte är i HTML, använd " "alternativet Felsökning, som beskrivs i inledningen för att hämta HTML " "(använd undermappen :file:`input`)." #: ../../../__w/calibre/calibre/manual/conversion.rst:211 msgid "" "Another useful option is :guilabel:`Linearize tables`. Some badly designed " "documents use tables to control the layout of text on the page. When " "converted these documents often have text that runs off the page and other " "artifacts. This option will extract the content from the tables and present " "it in a linear fashion. Note that this option linearizes *all* tables, so " "only use it if you are sure the input document does not use tables for " "legitimate purposes, like presenting tabular information." msgstr "" "Ett annat användbart alternativ är :guilabel:`Konvertera data i tabeller " "till linjära data`. Vissa dåligt utformade dokument använder tabeller för " "att styra textens placering på sidan. Vid konvertering kan texten då hamna " "utanför sidan och andra visningsfel uppstå. Alternativet plockar ut " "innehållet ur tabellerna och visar det i följd. Det påverkar *alla* " "tabeller, så använd det bara om du är säker på att dokumentet inte använder " "tabeller till exempel för att presentera tabellinformation." #: ../../../__w/calibre/calibre/manual/conversion.rst:220 msgid "Styling" msgstr "Formgivning" #: ../../../__w/calibre/calibre/manual/conversion.rst:224 msgid "" "The :guilabel:`Extra CSS` option allows you to specify arbitrary CSS that " "will be applied to all HTML files in the input. This CSS is applied with " "very high priority and so should override most CSS present in the **input " "document** itself. You can use this setting to fine tune the " "presentation/layout of your document. For example, if you want all " "paragraphs of class `endnote` to be right aligned, just add::" msgstr "" "Med :guilabel:`Extra CSS` kan du ange valfri CSS som tillämpas på alla HTML-" "filer i inmatningen. Den tillämpas med mycket hög prioritet och bör därför " "åsidosätta det mesta av den CSS som finns i själva **inmatningsdokumentet**." " Inställningen kan finjustera dokumentets utseende och layout. Om du till " "exempel vill högerjustera alla stycken med klassen `endnote` lägger du " "till::" #: ../../../__w/calibre/calibre/manual/conversion.rst:233 msgid "or if you want to change the indentation of all paragraphs::" msgstr "eller om du vill ändra indraget för alla stycken::" #: ../../../__w/calibre/calibre/manual/conversion.rst:237 msgid "" ":guilabel:`Extra CSS` is a very powerful option, but you do need an " "understanding of how CSS works to use it to its full potential. You can use " "the debug pipeline option described above to see what CSS is present in your" " input document." msgstr "" ":guilabel:`Extra CSS` är ett kraftfullt alternativ, men du behöver förstå " "hur CSS fungerar för att utnyttja det fullt ut. Med felsökningsalternativet " "för konverteringsprocessen som beskrivs ovan kan du se vilken CSS som finns " "i inmatningsdokumentet." #: ../../../__w/calibre/calibre/manual/conversion.rst:241 msgid "" "A simpler option is to use :guilabel:`Filter style information`. This allows" " you to remove all CSS properties of the specified types from the document. " "For example, you can use it to remove all colors or fonts." msgstr "" "Ett enklare alternativ är att använda :guilabel:`Filtrera " "formatinformation`. Det här låter dig ta bort alla CSS-egenskaper för de " "angivna typerna från dokumentet. Du kan till exempel använda den för att ta " "bort alla färger eller teckensnitt." #: ../../../__w/calibre/calibre/manual/conversion.rst:246 msgid "Transform styles" msgstr "Omvandla stilar" #: ../../../__w/calibre/calibre/manual/conversion.rst:248 msgid "" "This is the most powerful styling related facility. You can use it to define" " rules that change styles based on various conditions. For example you can " "use it to change all green colors to blue, or remove all bold styling from " "the text or color all headings a certain color, etc." msgstr "" "Det här är den mest kraftfulla funktionen för att ändra stilar. Du kan " "definiera regler som ändrar dem utifrån olika villkor, till exempel ändra " "alla gröna färger till blå, ta bort all fetstil eller ge alla rubriker en " "viss färg." #: ../../../__w/calibre/calibre/manual/conversion.rst:254 msgid "Transform HTML" msgstr "Omvandla HTML" #: ../../../__w/calibre/calibre/manual/conversion.rst:256 msgid "" "Similar to transform styles, but allows you to make changes to the HTML " "content of the book. You can replace one tag with another, add classes or " "other attributes to tags based on their content, etc." msgstr "" "Funktionen liknar omvandling av stilar men ändrar i stället bokens HTML-" "innehåll. Du kan ersätta en tagg med en annan, lägga till klasser eller " "andra attribut i taggar beroende på deras innehåll och så vidare." #: ../../../__w/calibre/calibre/manual/conversion.rst:265 msgid "Page setup" msgstr "Sidinställning" #: ../../../__w/calibre/calibre/manual/conversion.rst:267 msgid "" "The :guilabel:`Page setup` options are for controlling screen layout, like " "margins and screen sizes. There are options to setup page margins, which " "will be used by the output plugin, if the selected output format supports " "page margins. In addition, you should choose an Input profile and an output " "profile. Both sets of profiles basically deal with how to interpret " "measurements in the input/output documents, screen sizes and default font " "rescaling keys." msgstr "" "Alternativen under :guilabel:`Sidinställning` styr sidans layout, till " "exempel marginaler och skärmstorlek. Sidmarginalerna används av " "utmatningsinsticksmodulen om utmatningsformatet stöder dem. Du bör också " "välja en inmatningsprofil och en utmatningsprofil. Profilerna styr främst " "hur mått i in- och utmatningsdokumenten ska tolkas, skärmstorlekar och " "standardnycklar för omskalning av teckenstorlekar." #: ../../../__w/calibre/calibre/manual/conversion.rst:274 msgid "" "If you know that the file you are converting was intended to be used on a " "particular device/software platform, choose the corresponding input profile," " otherwise just choose the default input profile. If you know the files you " "are producing are meant for a particular device type, choose the " "corresponding output profile. Otherwise, choose one of the Generic output " "profiles. If you are converting to MOBI or AZW3 then you will almost always " "want to choose one of the Kindle output profiles. Otherwise, your best bet " "for modern E-book reading devices is to choose the :guilabel:`Generic e-ink " "HD` output profile." msgstr "" "Om du vet att filen du konverterar var avsedd att användas på en viss " "enhet/mjukvaruplattform väljer du motsvarande inmatningsprofil, annars " "väljer du bara standardinmatningsprofilen. Om du vet att filerna du " "producerar är avsedda för en viss enhetstyp väljer du motsvarande " "utmatningsprofil. Annars väljer du en av de generiska utmatningsprofilerna. " "Om du konverterar till MOBI eller AZW3 vill du nästan alltid välja en av " "Kindle-utmatningsprofilerna. Annars är det bästa alternativet för moderna " "e-bokläsenheterna att välja utmatningsprofilen :guilabel:`Generisk e-bläck " "HD`." #: ../../../__w/calibre/calibre/manual/conversion.rst:283 msgid "" "The output profile also controls the screen size. This will cause, for " "example, images to be auto-resized to be fit to the screen in some output " "formats. So choose a profile of a device that has a screen size similar to " "your device." msgstr "" "Utmatningsprofilen styr också skärmstorleken. I vissa utmatningsformat " "anpassas till exempel bilder automatiskt till skärmen. Välj därför en profil" " för en enhet med ungefär samma skärmstorlek som din egen." #: ../../../__w/calibre/calibre/manual/conversion.rst:291 msgid "Heuristic processing" msgstr "Heuristisk bearbetning" #: ../../../__w/calibre/calibre/manual/conversion.rst:293 msgid "" "Heuristic processing provides a variety of functions which can be used to " "try and detect and correct common problems in poorly formatted input " "documents. Use these functions if your input document suffers from poor " "formatting. Because these functions rely on common patterns, be aware that " "in some cases an option may lead to worse results, so use with care. As an " "example, several of these options will remove all non-breaking-space " "entities, or may include false positive matches relating to the function." msgstr "" "Heuristisk bearbetning innehåller funktioner som försöker identifiera och " "rätta vanliga problem i dåligt formaterade inmatningsdokument. Använd dem om" " dokumentet har sådana problem. Funktionerna bygger på vanliga mönster och " "kan ibland försämra resultatet, så använd dem med försiktighet. Flera " "alternativ kan till exempel ta bort alla entiteter för hårda blanksteg eller" " felaktigt identifiera text som ska bearbetas." #: ../../../__w/calibre/calibre/manual/conversion.rst:299 msgid ":guilabel:`Enable heuristic processing`" msgstr ":guilabel:`Aktivera heuristisk bearbetning`" #: ../../../__w/calibre/calibre/manual/conversion.rst:300 msgid "" "This option activates calibre's :guilabel:`Heuristic processing` stage of " "the conversion pipeline. This must be enabled in order for various sub-" "functions to be applied" msgstr "" "Det här alternativet aktiverar steget :guilabel:`Heuristisk bearbetning` i " "calibres konverteringsprocess. Det måste vara aktiverat för att " "underfunktionerna ska kunna tillämpas." #: ../../../__w/calibre/calibre/manual/conversion.rst:303 msgid ":guilabel:`Unwrap lines`" msgstr ":guilabel:`Ta bort radbrytningar`" #: ../../../__w/calibre/calibre/manual/conversion.rst:304 msgid "" "Enabling this option will cause calibre to attempt to detect and correct " "hard line breaks that exist within a document using punctuation clues and " "line length. calibre will first attempt to detect whether hard line breaks " "exist, if they do not appear to exist calibre will not attempt to unwrap " "lines. The line-unwrap factor can be reduced if you want to 'force' calibre " "to unwrap lines." msgstr "" "När alternativet är aktiverat försöker calibre identifiera och rätta hårda " "radbrytningar utifrån skiljetecken och radlängd. Först undersöks om hårda " "radbrytningar verkar finnas. Om inte försöker calibre inte ta bort några. Du" " kan minska faktorn för borttagning av radbrytningar för att ”tvinga” " "calibre att ta bort dem." #: ../../../__w/calibre/calibre/manual/conversion.rst:309 msgid ":guilabel:`Line-unwrap factor`" msgstr ":guilabel:`Faktor för borttagning av radbrytningar`" #: ../../../__w/calibre/calibre/manual/conversion.rst:310 msgid "" "This option controls the algorithm calibre uses to remove hard line breaks. " "For example, if the value of this option is 0.4, that means calibre will " "remove hard line breaks from the end of lines whose lengths are less than " "the length of 40% of all lines in the document. If your document only has a " "few line breaks which need correction, then this value should be reduced to " "somewhere between 0.1 and 0.2." msgstr "" "Det här alternativet styr algoritmen calibre använder för att ta bort hårda " "radbrytningar. Till exempel, om värdet av det här alternativet är 0,4, " "innebär det att calibre tar bort hårda radbrytningar från slutet av rader " "vars längd är mindre än längden på 40% av alla rader i dokumentet. Om ditt " "dokument bara har några radbrytningar som behöver korrigering, bör detta " "värde minskas till någonstans mellan 0,1 och 0,2." #: ../../../__w/calibre/calibre/manual/conversion.rst:315 msgid "" ":guilabel:`Detect and markup unformatted chapter headings and sub headings`" msgstr "" ":guilabel:`Identifiera och märk upp oformaterade kapitelrubriker och " "underrubriker`" #: ../../../__w/calibre/calibre/manual/conversion.rst:316 msgid "" "If your document does not have chapter headings and titles formatted " "differently from the rest of the text, calibre can use this option to " "attempt to detect them and surround them with heading tags.

tags are " "used for chapter headings;

tags are used for any titles that are " "detected." msgstr "" "Om kapitelrubriker och titlar inte är formaterade annorlunda än resten av " "texten försöker calibre identifiera dem och omsluta dem med rubriktaggar. " "

-taggar används för kapitelrubriker och

-taggar för andra titlar som" " identifieras." #: ../../../__w/calibre/calibre/manual/conversion.rst:320 msgid "" "This function will not create a TOC, but in many cases it will cause " "calibre's default chapter detection settings to correctly detect chapters " "and build a TOC. Adjust the XPath under Structure detection if a TOC is not" " automatically created. If there are no other headings used in the document" " then setting \"//h:h2\" under Structure detection would be the easiest way " "to create a TOC for the document." msgstr "" "Den här funktionen skapar inte en innehållsförteckning, men i många fall " "kommer den att orsaka calibres standardinställningar för kapiteldetektering " "att korrekt detektera kapitel och bygga en innehållsförteckning. Justera " "XPath under Strukturdetektering om en innehållsförteckning inte skapas " "automatiskt. Om det inte finns några andra rubriker i dokumentet skulle det " "vara det enklaste sättet att skapa en innehållsförteckning för dokumentet " "att ställa in \"//h:h2\" under strukturdetektering." #: ../../../__w/calibre/calibre/manual/conversion.rst:325 msgid "" "The inserted headings are not formatted, to apply formatting use the " ":guilabel:`Extra CSS` option under the Look and Feel conversion settings. " "For example, to center heading tags, use the following::" msgstr "" "De infogade rubrikerna är inte formaterade. Använd :guilabel:`Extra CSS` " "under konverteringsinställningarna för Utseende och känsla för att formatera" " dem. Om du till exempel vill centrera rubrikerna använder du följande::" #: ../../../__w/calibre/calibre/manual/conversion.rst:330 msgid ":guilabel:`Renumber sequences of

or

tags`" msgstr "" ":guilabel:`Numrera om sekvenser av

- eller

-taggar för att förhindra" " uppdelning`" #: ../../../__w/calibre/calibre/manual/conversion.rst:331 msgid "" "Some publishers format chapter headings using multiple

or

tags " "sequentially. calibre's default conversion settings will cause such titles " "to be split into two pieces. This option will re-number the heading tags to" " prevent splitting." msgstr "" "Vissa utgivare formaterar kapitelrubriker med flera

- eller

-taggar " "i följd. calibres standardinställningar för konvertering kan då dela upp " "rubriken i två delar. Det här alternativet numrerar om rubriktaggarna för " "att förhindra uppdelningen." #: ../../../__w/calibre/calibre/manual/conversion.rst:335 msgid ":guilabel:`Delete blank lines between paragraphs`" msgstr ":guilabel:`Ta bort tomma rader mellan stycken`" #: ../../../__w/calibre/calibre/manual/conversion.rst:336 msgid "" "This option will cause calibre to analyze blank lines included within the " "document. If every paragraph is interleaved with a blank line, then calibre" " will remove all those blank paragraphs. Sequences of multiple blank lines " "will be considered scene breaks and retained as a single paragraph. This " "option differs from the :guilabel:`Remove paragraph spacing` option under " ":guilabel:`Look and Feel` in that it actually modifies the HTML content, " "while the other option modifies the document styles. This option can also " "remove paragraphs which were inserted using calibre's :guilabel:`Insert " "blank line` option." msgstr "" "Med det här alternativet analyserar calibre dokumentets tomma rader. Om " "varje stycke följs av en tom rad tas dessa tomma stycken bort. Flera tomma " "rader i följd tolkas som en scenbrytning och bevaras som ett enda stycke. " "Till skillnad från :guilabel:`Ta bort avstånd mellan stycken` under " ":guilabel:`Utseende & känsla` ändrar alternativet själva HTML-innehållet, " "medan det andra ändrar dokumentets stilar. Det kan även ta bort stycken som " "infogats med calibres alternativ :guilabel:`Infoga tom rad mellan stycken`." #: ../../../__w/calibre/calibre/manual/conversion.rst:346 msgid ":guilabel:`Ensure scene breaks are consistently formatted`" msgstr ":guilabel:`Se till att scenbrytningar är konsekvent formaterade`" #: ../../../__w/calibre/calibre/manual/conversion.rst:347 msgid "" "With this option calibre will attempt to detect common scene-break markers " "and ensure that they are center aligned. 'Soft' scene break markers, i.e. " "scene breaks only defined by extra white space, are styled to ensure that " "they will not be displayed in conjunction with page breaks." msgstr "" "Med det här alternativet försöker calibre identifiera vanliga markörer för " "scenbrytningar och centrera dem. ”Mjuka” scenbrytningar, som enbart markeras" " med extra tomrum, formateras så att de inte visas i samband med " "sidbrytningar." #: ../../../__w/calibre/calibre/manual/conversion.rst:351 msgid ":guilabel:`Replace scene breaks`" msgstr ":guilabel:`Ersätt mjuka scenbrytningar`" #: ../../../__w/calibre/calibre/manual/conversion.rst:352 msgid "" "If this option is configured then calibre will replace scene break markers " "it finds with the replacement text specified by the user. Please note that " "some ornamental characters may not be supported across all reading devices." msgstr "" "Om det här alternativet är anpassat kommer calibre att ersätta " "scenbrytningsmarkörer som den hittar med den ersättningstext som användaren " "angett. Observera att vissa prydnadstecken kanske inte stöds på alla " "läsenheter." #: ../../../__w/calibre/calibre/manual/conversion.rst:355 msgid "" "In general you should avoid using HTML tags, calibre will discard any tags " "and use pre-defined markup.
tags, i.e. horizontal rules, and " "tags are exceptions. Horizontal rules can optionally be specified with " "styles, if you choose to add your own style be sure to include the 'width' " "setting, otherwise the style information will be discarded. Image tags can " "used, but calibre does not provide the ability to add the image during " "conversion, this must be done after the fact using the 'Edit book' feature." msgstr "" "Undvik i allmänhet HTML-taggar, eftersom calibre tar bort dem och använder " "fördefinierad uppmärkning. Undantagen är
-taggar för vågräta linjer " "och -taggar. Vågräta linjer kan förses med stilar. Om du anger en egen " "stil måste den innehålla egenskapen ”width”, annars tas stilinformationen " "bort. Bildtaggar kan också användas, men calibre kan inte lägga till själva " "bilden under konverteringen. Det måste göras i efterhand med funktionen " "”Redigera bok”." #: ../../../__w/calibre/calibre/manual/conversion.rst:361 msgid "" "Example image tag (place the image within an 'Images' folder inside the EPUB" " after conversion):" msgstr "" "Exempel på en bildtagg (lägg bilden i en mapp med namnet ”Images” inuti " "EPUB-filen efter konverteringen):" #: ../../../__w/calibre/calibre/manual/conversion.rst:362 msgid "" msgstr "" #: ../../../__w/calibre/calibre/manual/conversion.rst:364 msgid "Example horizontal rule with styles:" msgstr "Exempel på en vågrät linje med stilar:" #: ../../../__w/calibre/calibre/manual/conversion.rst:365 msgid "" "
" msgstr "" "
" #: ../../../__w/calibre/calibre/manual/conversion.rst:367 msgid ":guilabel:`Remove unnecessary hyphens`" msgstr ":guilabel:`Ta bort onödiga bindestreck`" #: ../../../__w/calibre/calibre/manual/conversion.rst:368 msgid "" "calibre will analyze all hyphenated content in the document when this option" " is enabled. The document itself is used as a dictionary for analysis. " "This allows calibre to accurately remove hyphens for any words in the " "document in any language, along with made-up and obscure scientific words. " "The primary drawback is words appearing only a single time in the document " "will not be changed. Analysis happens in two passes, the first pass " "analyzes line endings. Lines are only unwrapped if the word exists with or " "without a hyphen in the document. The second pass analyzes all hyphenated " "words throughout the document, hyphens are removed if the word exists " "elsewhere in the document without a match." msgstr "" "När alternativet är aktiverat analyserar calibre alla ord med bindestreck i " "dokumentet. Dokumentet självt används som ordbok för analysen. Därmed kan " "calibre ta bort bindestreck korrekt i ord på valfritt språk, även påhittade " "ord och ovanliga vetenskapliga termer. Nackdelen är att ord som bara " "förekommer en gång inte ändras. Analysen görs i två steg. Först analyseras " "radsluten. Radbrytningar tas endast bort om ordet finns med eller utan " "bindestreck i dokumentet. Därefter analyseras alla ord med bindestreck i " "hela dokumentet. Bindestrecken tas bort om ordet förekommer någon annanstans" " i dokumentet utan matchning." #: ../../../__w/calibre/calibre/manual/conversion.rst:375 msgid ":guilabel:`Italicize common words and patterns`" msgstr ":guilabel:`Kursivera vanliga ord och mönster`" #: ../../../__w/calibre/calibre/manual/conversion.rst:376 msgid "" "When enabled, calibre will look for common words and patterns that denote " "italics and italicize them. Examples are common text conventions such as " "~word~ or phrases that should generally be italicized, e.g. latin phrases " "like 'etc.' or 'et cetera'." msgstr "" "När det är aktiverat kommer calibre att leta efter vanliga ord och mönster " "som betecknar kursiv stil och kursiverar dem. Exempel är vanliga " "textkonventioner som ~word~ eller fraser som generellt bör kursiveras, t.ex." " latinska fraser som 'etc.' eller 'et cetera'." #: ../../../__w/calibre/calibre/manual/conversion.rst:379 msgid ":guilabel:`Replace entity indents with CSS indents`" msgstr ":guilabel:`Ersätt entitetsindrag med CSS-indrag`" #: ../../../__w/calibre/calibre/manual/conversion.rst:380 msgid "" "Some documents use a convention of defining text indents using non-breaking " "space entities. When this option is enabled calibre will attempt to detect " "this sort of formatting and convert them to a 3% text indent using CSS." msgstr "" "Vissa dokument skapar textindrag med entiteter för hårda blanksteg. När " "alternativet är aktiverat försöker calibre identifiera sådan formatering och" " ersätta den med ett textindrag på 3 % i CSS." #: ../../../__w/calibre/calibre/manual/conversion.rst:386 msgid "Search & replace" msgstr "Sök och ersätt" #: ../../../__w/calibre/calibre/manual/conversion.rst:388 msgid "" "These options are useful primarily for conversion of PDF documents or OCR " "conversions, though they can also be used to fix many document specific " "problems. As an example, some conversions can leave behind page headers and " "footers in the text. These options use regular expressions to try and detect" " headers, footers, or other arbitrary text and remove or replace them. " "Remember that they operate on the intermediate XHTML produced by the " "conversion pipeline. There is a wizard to help you customize the regular " "expressions for your document. Click the magic wand beside the expression " "box, and click the 'Test' button after composing your search expression. " "Successful matches will be highlighted in Yellow." msgstr "" "Dessa alternativ är främst användbara för konvertering av PDF-dokument eller" " OCR-konverteringar, men de kan också användas för att åtgärda många " "dokumentspecifika problem. Som ett exempel kan vissa konverteringar lämna " "kvar sidhuvuden och sidfötter i texten. Dessa alternativ använder reguljära " "uttryck för att försöka upptäcka sidhuvuden, sidfötter eller annan " "godtycklig text och ta bort eller ersätta dem. Kom ihåg att de fungerar på " "den mellanliggande XHTML som produceras av konverteringsprocessen. Det finns" " en guide som hjälper dig att anpassa de reguljära uttrycken för ditt " "dokument. Klicka på trollstaven bredvid uttrycksrutan och klicka på knappen " "\"Testa\" efter att du har skrivit ditt sökuttryck. Framgångsrika träffar " "markeras med gult." #: ../../../__w/calibre/calibre/manual/conversion.rst:396 msgid "" "The search works by using a Python regular expression. All matched text is " "simply removed from the document or replaced using the replacement pattern. " "The replacement pattern is optional, if left blank then text matching the " "search pattern will be deleted from the document. You can learn more about " "regular expressions and their syntax at :ref:`regexptutorial`." msgstr "" "Sökningen använder ett reguljärt Python-uttryck. All matchad text tas bort " "från dokumentet eller ersätts med ersättningsmönstret. Ersättningsmönstret " "är valfritt. Om det lämnas tomt tas text som matchar sökmönstret bort från " "dokumentet. Du kan läsa mer om reguljära uttryck och deras syntax i " ":ref:`regexptutorial`." #: ../../../__w/calibre/calibre/manual/conversion.rst:404 msgid "Structure detection" msgstr "Strukturdetektering" #: ../../../__w/calibre/calibre/manual/conversion.rst:406 msgid "" "Structure detection involves calibre trying its best to detect structural " "elements in the input document, when they are not properly specified. For " "example, chapters, page breaks, headers, footers, etc. As you can imagine, " "this process varies widely from book to book. Fortunately, calibre has very " "powerful options to control this. With power comes complexity, but if once " "you take the time to learn the complexity, you will find it well worth the " "effort." msgstr "" "Strukturdetektering innebär att calibre försöker identifiera strukturella " "element i inmatningsdokumentet som inte har angetts korrekt, till exempel " "kapitel, sidbrytningar, sidhuvuden och sidfötter. Processen varierar mycket " "mellan olika böcker. calibre har kraftfulla alternativ för att styra den. " "Alternativen kan vara komplicerade, men det lönar sig att lära sig hur de " "fungerar." #: ../../../__w/calibre/calibre/manual/conversion.rst:412 msgid "Chapters and page breaks" msgstr "Kapitel och sidbrytningar" #: ../../../__w/calibre/calibre/manual/conversion.rst:414 msgid "" "calibre has two sets of options for :guilabel:`chapter detection` and " ":guilabel:`inserting page breaks`. This can sometimes be slightly confusing," " as by default, calibre will insert page breaks before detected chapters as " "well as the locations detected by the page breaks option. The reason for " "this is that there are often locations where page breaks should be inserted " "that are not chapter boundaries. Also, detected chapters can be optionally " "inserted into the auto generated Table of Contents." msgstr "" "calibre har två uppsättningar alternativ för :guilabel:`kapiteldetektering` " "och :guilabel:`infogning av sidbrytningar`. Detta kan ibland vara lite " "förvirrande, eftersom calibre som standard infogar sidbrytningar före " "upptäckta kapitel såväl som de platser som upptäcks av alternativet för " "sidbrytningar. Anledningen till detta är att det ofta finns platser där " "sidbrytningar ska infogas som inte är kapitelgränser. Dessutom kan upptäckta" " kapitel valfritt infogas i den automatiskt genererade " "innehållsförteckningen." #: ../../../__w/calibre/calibre/manual/conversion.rst:419 msgid "" "calibre uses *XPath*, a powerful language to allow the user to specify " "chapter boundaries/page breaks. XPath can seem a little daunting to use at " "first, fortunately, there is a :ref:`XPath tutorial ` in the" " User Manual. Remember that Structure detection operates on the intermediate" " XHTML produced by the conversion pipeline. Use the debug option described " "in the :ref:`conversion-introduction` to figure out the appropriate settings" " for your book. There is also a button for a XPath wizard to help with the " "generation of simple XPath expressions." msgstr "" "calibre använder *XPath*, ett kraftfullt språk för att göra det möjligt för " "användaren att specificera kapitelgränser/sidbrytningar. XPath kan verka " "lite skrämmande att använda till en början, lyckligtvis finns det en " ":ref:`XPath-handledning ` i användarmanualen. Kom ihåg att " "strukturdetektering fungerar på den mellanliggande XHTML som produceras av " "konverteringsprocessen. Använd felsökningsalternativet som beskrivs i " ":ref:`conversion-introduction` för att ta reda på lämpliga inställningar för" " din bok. Det finns också en knapp för en XPath-guide som hjälper till med " "skapande av enkla XPath-uttryck." #: ../../../__w/calibre/calibre/manual/conversion.rst:425 msgid "" "By default, calibre uses the following expression for detecting chapters::" msgstr "" "Som standard använder calibre följande uttryck för att identifiera kapitel::" #: ../../../__w/calibre/calibre/manual/conversion.rst:429 msgid "" "This expression is rather complex, because it tries to handle a number of " "common cases simultaneously. What it means is that calibre will assume " "chapters start at either `

` or `

` tags that have any of the words " "`(chapter, book, section or part)` in them or that have the " "`class=\"chapter\"` attribute." msgstr "" "Uttrycket är ganska komplicerat eftersom det hanterar flera vanliga fall " "samtidigt. Det innebär att calibre antar att kapitel börjar vid `

`- " "eller `

`-taggar som innehåller något av orden `(chapter, book, section " "or part)` eller har attributet `class=\"chapter\"`." #: ../../../__w/calibre/calibre/manual/conversion.rst:433 msgid "" "A related option is :guilabel:`Chapter mark`, which allows you to control " "what calibre does when it detects a chapter. By default, it will insert a " "page break before the chapter. You can have it insert a ruled line instead " "of, or in addition to the page break. You can also have it do nothing." msgstr "" "Med det relaterade alternativet :guilabel:`Kapitelmarkering` styr du vad " "calibre gör när ett kapitel identifieras. Som standard infogas en " "sidbrytning före kapitlet. Du kan i stället infoga en linje, eller både en " "linje och en sidbrytning. Du kan också välja att inte göra någonting." #: ../../../__w/calibre/calibre/manual/conversion.rst:437 msgid "The default setting for detecting page breaks is::" msgstr "Standardinställningen för att upptäcka sidbrytningar är::" #: ../../../__w/calibre/calibre/manual/conversion.rst:441 msgid "" "which means that calibre will insert page breaks before every `

` and " "`

` tag by default." msgstr "" "vilket innebär att calibre som standard infogar sidbrytningar före varje " "`

`- och `

`-tagg." #: ../../../__w/calibre/calibre/manual/conversion.rst:445 msgid "" "The default expressions may change depending on the input format you are " "converting." msgstr "" "Standarduttryck kan ändras beroende på inmatningsformat du konverterar." #: ../../../__w/calibre/calibre/manual/conversion.rst:448 msgid "Miscellaneous" msgstr "Diverse" #: ../../../__w/calibre/calibre/manual/conversion.rst:450 msgid "There are a few more options in this section." msgstr "Det finns några fler alternativ i det här avsnittet." #: ../../../__w/calibre/calibre/manual/conversion.rst:452 msgid ":guilabel:`Insert metadata as page at start of book`" msgstr ":guilabel:`Infoga metadata som en sida i början av boken`" #: ../../../__w/calibre/calibre/manual/conversion.rst:453 msgid "" "One of the great things about calibre is that it allows you to maintain very" " complete metadata about all of your books, for example, a rating, tags, " "comments, etc. This option will create a single page with all this metadata " "and insert it into the converted e-book, typically just after the cover. " "Think of it as a way to create your own customised book jacket." msgstr "" "calibre låter dig hålla utförliga metadata om alla dina böcker, till exempel" " betyg, taggar och kommentarer. Det här alternativet samlar dessa metadata " "på en sida och infogar den i den konverterade e-boken, vanligtvis direkt " "efter omslaget. På så sätt skapar du en egen anpassad metadatasida." #: ../../../__w/calibre/calibre/manual/conversion.rst:458 msgid ":guilabel:`Remove first image`" msgstr ":guilabel:`Ta bort första bilden`" #: ../../../__w/calibre/calibre/manual/conversion.rst:459 msgid "" "Sometimes, the source document you are converting includes the cover as part" " of the book, instead of as a separate cover. If you also specify a cover in" " calibre, then the converted book will have two covers. This option will " "simply remove the first image from the source document, thereby ensuring " "that the converted book has only one cover, the one specified in calibre." msgstr "" "Ibland ingår omslaget i källdokumentets innehåll i stället för att vara ett " "separat omslag. Om du även anger ett omslag i calibre får den konverterade " "boken två omslag. Det här alternativet tar bort den första bilden ur " "källdokumentet så att den konverterade boken endast har omslaget som angetts" " i calibre." #: ../../../__w/calibre/calibre/manual/conversion.rst:466 msgid "Table of Contents" msgstr "Innehållsförteckning" #: ../../../__w/calibre/calibre/manual/conversion.rst:468 msgid "" "When the input document has a Table of Contents in its metadata, calibre " "will just use that. However, a number of older formats either do not support" " a metadata based Table of Contents, or individual documents do not have " "one. In these cases, the options in this section can help you automatically " "generate a Table of Contents in the converted e-book, based on the actual " "content in the input document." msgstr "" "Om inmatningsdokumentet har en innehållsförteckning i sina metadata använder" " calibre den. En del äldre format saknar dock stöd för detta, och även i " "format som stöder det kan innehållsförteckningen saknas. Då kan alternativen" " här automatiskt skapa en innehållsförteckning i den konverterade e-boken " "utifrån inmatningsdokumentets faktiska innehåll." #: ../../../__w/calibre/calibre/manual/conversion.rst:473 msgid "" "Using these options can be a little challenging to get exactly right. If you" " prefer creating/editing the Table of Contents by hand, convert to the EPUB " "or AZW3 formats and select the checkbox at the bottom of the Table of " "Contents section of the conversion dialog that says :guilabel:`Manually " "fine-tune the Table of Contents after conversion`. This will launch the ToC " "Editor tool after the conversion. It allows you to create entries in the " "Table of Contents by simply clicking the place in the book where you want " "the entry to point. You can also use the ToC Editor by itself, without doing" " a conversion. Go to :guilabel:`Preferences->Interface->Toolbars` and add " "the :guilabel:`ToC Editor` to the main toolbar. Then just select the book " "you want to edit and click the :guilabel:`ToC Editor` button." msgstr "" "Det kan vara svårt att få exakt rätt resultat med de här alternativen. Om du" " hellre skapar eller redigerar innehållsförteckningen manuellt kan du " "konvertera till EPUB eller AZW3 och markera :guilabel:`Finjustera " "innehållsförteckningen manuellt efter att konverteringen är klar` längst ner" " under Innehållsförteckning i konverteringsdialogrutan. Då öppnas " "innehållsförteckningsredigeraren efter konverteringen. Där kan du skapa " "poster genom att klicka på den plats i boken som de ska hänvisa till. " "Redigeraren kan också användas separat. Gå till " ":guilabel:`Inställningar->Gränssnitt->Verktygsfält` och lägg till " ":guilabel:`Redigera innehållsförteckning` i huvudverktygsfältet. Markera " "sedan boken och klicka på :guilabel:`Redigera innehållsförteckning`." #: ../../../__w/calibre/calibre/manual/conversion.rst:485 msgid "" "The first option is :guilabel:`Force use of auto-generated Table of " "Contents`. By checking this option you can have calibre override any Table " "of Contents found in the metadata of the input document with the auto " "generated one." msgstr "" "Det första alternativet är :guilabel:`Tvinga användning av automatiskt " "genererad innehållsförteckning`. Genom att markera det här alternativet kan " "du få calibre att åsidosätta innehållsförteckningar som finns i metadata för" " inmatningsdokumentet med den automatiskt genererade." #: ../../../__w/calibre/calibre/manual/conversion.rst:489 msgid "" "The default way that the creation of the auto generated Table of Contents " "works is that, calibre will first try to add any detected chapters to the " "generated table of contents. You can learn how to customize the detection of" " chapters in the :ref:`structure-detection` section above. If you do not " "want to include detected chapters in the generated table of contents, check " "the :guilabel:`Do not add detected chapters` option." msgstr "" "Som standard försöker calibre först lägga till de identifierade kapitlen i " "den automatiskt genererade innehållsförteckningen. Hur du anpassar " "kapitelidentifieringen beskrivs i :ref:`structure-detection` ovan. Markera " ":guilabel:`Lägg inte till upptäckta kapitel i innehållsförteckningen` om de " "identifierade kapitlen inte ska tas med." #: ../../../__w/calibre/calibre/manual/conversion.rst:494 msgid "" "If less than the :guilabel:`Chapter threshold` number of chapters were " "detected, calibre will then add any hyperlinks it finds in the input " "document to the Table of Contents. This often works well: many input " "documents include a hyperlinked Table of Contents right at the start. The " ":guilabel:`Number of links` option can be used to control this behavior. If " "set to zero, no links are added. If set to a number greater than zero, at " "most that number of links is added." msgstr "" "Om färre kapitel än värdet i :guilabel:`Kapiteltröskel` identifieras lägger " "calibre till hyperlänkar från inmatningsdokumentet i innehållsförteckningen." " Det fungerar ofta bra eftersom många dokument börjar med en länkad " "innehållsförteckning. Med :guilabel:`Antal länkar att lägga till i " "innehållsförteckningen` styr du hur många länkar som får läggas till. Värdet" " noll innebär inga länkar. Ett positivt tal anger det högsta antalet." #: ../../../__w/calibre/calibre/manual/conversion.rst:500 msgid "" "calibre will automatically filter duplicates from the generated Table of " "Contents. However, if there are some additional undesirable entries, you can" " filter them using the :guilabel:`TOC Filter` option. This is a regular " "expression that will match the title of entries in the generated table of " "contents. Whenever a match is found, it will be removed. For example, to " "remove all entries titles \"Next\" or \"Previous\" use::" msgstr "" "calibre filtrerar automatiskt bort dubbletter från den genererade " "innehållsförteckningen. Andra oönskade poster kan filtreras med " ":guilabel:`Innehållsförteckningsfilter`. Det är ett reguljärt uttryck som " "matchas mot posternas titlar. Poster vars titel matchar tas bort. För att " "till exempel ta bort alla poster med titeln ”Next” eller ”Previous” använder" " du::" #: ../../../__w/calibre/calibre/manual/conversion.rst:507 msgid "" "The :guilabel:`Level 1,2,3 TOC` options allow you to create a sophisticated " "multi-level Table of Contents. They are XPath expressions that match tags in" " the intermediate XHTML produced by the conversion pipeline. See the " ":ref:`conversion-introduction` for how to get access to this XHTML. Also " "read the :ref:`xpath-tutorial`, to learn how to construct XPath expressions." " Next to each option is a button that launches a wizard to help with the " "creation of basic XPath expressions. The following simple example " "illustrates how to use these options." msgstr "" "Alternativen :guilabel:`Nivå 1,2,3 innehållsförteckning` låter dig skapa en " "sofistikerad innehållsförteckning på flera nivåer. De är XPath-uttryck som " "matchar taggar i den mellanliggande XHTML som produceras av " "konverteringsprocessen. Se :ref:`conversion-introduction` för hur du får " "tillgång till denna XHTML. Läs också :ref:`xpath-tutorial`, för att lära dig" " hur man konstruerar XPath-uttryck. Bredvid varje alternativ finns en knapp " "som startar en guide som hjälper dig att skapa grundläggande XPath-uttryck. " "Följande enkla exempel illustrerar hur du använder de här alternativen." #: ../../../__w/calibre/calibre/manual/conversion.rst:513 msgid "" "Suppose you have an input document that results in XHTML that looks like " "this:" msgstr "" "Anta att du har ett inmatningsdokument som resulterar i XHTML och ser ut så " "här:" #: ../../../__w/calibre/calibre/manual/conversion.rst:535 msgid "Then, we set the options as::" msgstr "Sedan anger vi alternativ som::" #: ../../../__w/calibre/calibre/manual/conversion.rst:540 msgid "" "This will result in an automatically generated two level Table of Contents " "that looks like::" msgstr "" "Detta kommer att resultera i en automatiskt genererad innehållsförteckning " "på två nivåer som ser ut som::" #: ../../../__w/calibre/calibre/manual/conversion.rst:551 msgid "" "Not all output formats support a multi level Table of Contents. You should " "first try with EPUB output. If that works, then try your format of choice." msgstr "" "Inte alla utmatningsformat stöder en innehållsförteckning med flera nivåer. " "Du bör först försöka med EPUB-utmatning. Om det fungerar, testa sedan ditt " "val av format." #: ../../../__w/calibre/calibre/manual/conversion.rst:555 msgid "Using images as chapter titles when converting HTML input documents" msgstr "" "Använda bilder som kapitelrubriker vid konvertering av HTML-" "inmatningsdokument" #: ../../../__w/calibre/calibre/manual/conversion.rst:557 msgid "" "Suppose you want to use an image as your chapter title, but still want " "calibre to be able to automatically generate a Table of Contents for you " "from the chapter titles. Use the following HTML markup to achieve this:" msgstr "" "Anta att du vill använda en bild som din kapitelrubrik, men ändå vill att " "calibre automatiskt ska kunna skapa en innehållsförteckning åt dig från " "kapitelrubrikerna. Använd följande HTML-markering för att uppnå detta:" #: ../../../__w/calibre/calibre/manual/conversion.rst:571 msgid "" "Set the :guilabel:`Level 1 TOC` setting to ``//h:h2``. Then, for chapter " "two, calibre will take the title from the value of the ``title`` attribute " "on the ``

`` tag, since the tag has no text." msgstr "" "Ställ in inställningen :guilabel:`Nivå 1 innehållsförteckning (XPath-" "uttryck)` till ``//h:h2``. Då, i kapitel två, tar calibre titeln från värdet" " av attributet ``title`` på ``

``-taggen, eftersom taggen inte har någon " "text." #: ../../../__w/calibre/calibre/manual/conversion.rst:574 msgid "" "Using tag attributes to supply the text for entries in the Table of Contents" msgstr "" "Använda taggattribut för att leverera texten för posterna i " "innehållsförteckningen" #: ../../../__w/calibre/calibre/manual/conversion.rst:576 msgid "" "If you have particularly long chapter titles and want shortened versions in " "the Table of Contents, you can use the title attribute to achieve this, for " "example:" msgstr "" "Om du har särskilt långa kapiteltitlar och vill ha förkortade versioner i " "innehållsförteckningen kan du använda attributet title för att uppnå detta, " "till exempel:" #: ../../../__w/calibre/calibre/manual/conversion.rst:591 msgid "" "Set the :guilabel:`Level 1 TOC` setting to ``//h:h2/@title``. Then calibre " "will take the title from the value of the ``title`` attribute on the " "``

`` tags, instead of using the text inside the tag. Note the trailing " "``/@title`` on the XPath expression, you can use this form to tell calibre " "to get the text from any attribute you like." msgstr "" "Ange ``//h:h2/@title`` för inställningen :guilabel:`Nivå 1 " "innehållsförteckning (XPath-uttryck)`. calibre hämtar då titeln från värdet " "i attributet ``title`` på ``

``-taggarna i stället för från texten inuti " "taggen. Observera det avslutande ``/@title`` i XPath-uttrycket. Den här " "formen kan användas för att hämta text från valfritt attribut." #: ../../../__w/calibre/calibre/manual/conversion.rst:598 msgid "How options are set/saved for conversion" msgstr "Hur alternativ ställs in/sparas för konvertering" #: ../../../__w/calibre/calibre/manual/conversion.rst:600 msgid "" "There are two places where conversion options can be set in calibre. The " "first is in Preferences->Conversion. These settings are the defaults for the" " conversion options. Whenever you try to convert a new book, the settings " "set here will be used by default." msgstr "" "Det finns två ställen där konverteringsalternativ kan ställas in i calibre. " "Den första är i Inställningar->Konvertering. Dessa inställningar är " "standardinställningarna för konverteringsalternativen. Varje gång du " "försöker konvertera en ny bok kommer inställningarna här att användas som " "standard." #: ../../../__w/calibre/calibre/manual/conversion.rst:605 msgid "" "You can also change settings in the conversion dialog for each book " "conversion. When you convert a book, calibre remembers the settings you used" " for that book, so that if you convert it again, the saved settings for the " "individual book will take precedence over the defaults set in " ":guilabel:`Preferences`. You can restore the individual settings to defaults" " by using the :guilabel:`Restore defaults` button in the individual book " "conversion dialog. You can remove the saved settings for a group of books by" " selecting all the books and then clicking the :guilabel:`Edit metadata` " "button to bring up the bulk metadata edit dialog, near the bottom of the " "dialog is an option to remove stored conversion settings." msgstr "" "Du kan även ändra inställningarna i dialogrutan för varje enskild " "konvertering. calibre kommer ihåg vilka inställningar som användes för " "boken. Vid nästa konvertering har de sparade inställningarna företräde " "framför standardvärdena i :guilabel:`Inställningar`. Återställ dem med " "knappen :guilabel:`Återställ standardvärden` i bokens " "konverteringsdialogruta. Om du vill ta bort sparade inställningar för flera " "böcker markerar du böckerna och klickar på :guilabel:`Redigera metadata`. I " "dialogrutan för massredigering av metadata finns ett alternativ nära botten " "som tar bort lagrade konverteringsinställningar." #: ../../../__w/calibre/calibre/manual/conversion.rst:616 msgid "" "When you bulk convert a set of books, settings are taken in the following " "order (last one wins):" msgstr "" "När du masskonverterar en uppsättning böcker, tas inställningarna i följande" " ordning (sista vinner):" #: ../../../__w/calibre/calibre/manual/conversion.rst:618 msgid "From the defaults set in Preferences->Conversion" msgstr "Från standardinställningarna i Inställningar->Konvertering" #: ../../../__w/calibre/calibre/manual/conversion.rst:620 msgid "" "From the saved conversion settings for each book being converted (if any). " "This can be turned off by the option in the top left corner of the Bulk " "conversion dialog." msgstr "" "Från eventuella sparade konverteringsinställningar för varje bok. Detta kan " "stängas av med alternativet längst upp till vänster i dialogrutan för " "masskonvertering." #: ../../../__w/calibre/calibre/manual/conversion.rst:624 msgid "From the settings set in the Bulk conversion dialog" msgstr "Från inställningarna i masskonverteringsdialogrutan" #: ../../../__w/calibre/calibre/manual/conversion.rst:626 msgid "" "Note that the final settings for each book in a Bulk conversion will be " "saved and re-used if the book is converted again. Since the highest priority" " in Bulk Conversion is given to the settings in the Bulk conversion dialog, " "these will override any book specific settings. So you should only bulk " "convert books together that need similar settings. The exceptions are " "metadata and input format specific settings. Since the Bulk conversion " "dialog does not have settings for these two categories, they will be taken " "from book specific settings (if any) or the defaults." msgstr "" "De slutliga inställningarna för varje bok i en masskonvertering sparas och " "återanvänds om boken konverteras igen. Inställningarna i " "masskonverteringsdialogrutan har högst prioritet och åsidosätter därför " "bokens egna inställningar. Masskonvertera bara böcker som behöver liknande " "inställningar tillsammans. Undantagen är metadata och inställningar för " "specifika inmatningsformat. Eftersom dessa inte finns i " "masskonverteringsdialogrutan hämtas de från bokens sparade inställningar, om" " sådana finns, eller från standardvärdena." #: ../../../__w/calibre/calibre/manual/conversion.rst:637 msgid "" "You can see the actual settings used during any conversion by clicking the " "rotating icon in the lower right corner and then double clicking the " "individual conversion job. This will bring up a conversion log that will " "contain the actual settings used, near the top." msgstr "" "Du kan se de faktiska inställningarna som används under en konvertering " "genom att klicka på den roterande ikonen i det nedre högra hörnet och sedan " "dubbelklicka på det enskilda konverteringsjobbet. Detta kommer att ta upp en" " konverteringslogg som innehåller de faktiska inställningarna som används, " "nära toppen." #: ../../../__w/calibre/calibre/manual/conversion.rst:642 msgid "Format specific tips" msgstr "Formatspecifika tips" #: ../../../__w/calibre/calibre/manual/conversion.rst:644 msgid "" "Here you will find tips specific to the conversion of particular formats. " "Options specific to particular format, whether input or output are available" " in the conversion dialog under their own section, for example `TXT input` " "or `EPUB output`." msgstr "" "Här hittar du tips som är specifika för konvertering av vissa format. " "Alternativ specifika för visst format, oavsett inmatning eller utmatning " "finns i dialogrutan konvertering under eget avsnitt, till exempel `TXT-" "inmatning` eller `EPUB-utmatning`." #: ../../../__w/calibre/calibre/manual/conversion.rst:649 msgid "Convert Microsoft Word documents" msgstr "Konvertera Microsoft Word-dokument" #: ../../../__w/calibre/calibre/manual/conversion.rst:651 msgid "" "calibre can automatically convert ``.docx`` files created by Microsoft Word " "2007 and newer. Just add the file to calibre and click convert." msgstr "" "calibre kan automatiskt konvertera ``.docx``-filer som skapats av Microsoft " "Word 2007 och nyare. Lägg bara till filen i calibre och klicka på " "konvertera." #: ../../../__w/calibre/calibre/manual/conversion.rst:655 msgid "" "There is a :download_file:`demo .docx file ` that " "demonstrates the capabilities of the calibre conversion engine. Just " "download it and convert it to EPUB or AZW3 to see what calibre can do." msgstr "" "Det finns en :download_file:`demo .docx-fil ` som " "demonstrerar förmågorna hos calibres konverteringsmotor. Bara hämta den och " "konvertera den till EPUB eller AZW3 för att se vad calibre kan göra." #: ../../../__w/calibre/calibre/manual/conversion.rst:659 msgid "" "calibre will automatically generate a Table of Contents based on headings if" " you mark your headings with the ``Heading 1``, ``Heading 2``, etc. styles " "in Microsoft Word. Open the output e-book in the calibre E-book viewer and " "click the :guilabel:`Table of Contents` button to view the generated Table " "of Contents." msgstr "" "calibre skapar automatiskt en innehållsförteckning utifrån rubrikerna om du " "formaterar dina rubriker med formatmallarna ``Rubrik 1``, ``Rubrik 2`` osv. " "i Microsoft Word. Öppna den skapade e-boken i calibres e-bokvisare och " "klicka på knappen :guilabel:`Innehållsförteckning` för att visa " "innehållsförteckningen." #: ../../../__w/calibre/calibre/manual/conversion.rst:665 msgid "Older .doc files" msgstr "Äldre .doc-filer" #: ../../../__w/calibre/calibre/manual/conversion.rst:667 msgid "" "For older .doc files, you can save the document as HTML with Microsoft Word " "and then convert the resulting HTML file with calibre. When saving as HTML, " "be sure to use the \"Save as Web Page, Filtered\" option as this will " "produce clean HTML that will convert well. Note that Word produces really " "messy HTML, converting it can take a long time, so be patient. If you have a" " newer version of Word available, you can directly save it as .docx as well." msgstr "" "För äldre .doc-filer kan du spara dokumentet som HTML med Microsoft Word och" " sedan konvertera den resulterande HTML-filen med calibre. När du sparar som" " HTML, se till att använda alternativet \"Spara som webbsida, filtrerad\" " "eftersom detta kommer att producera ren HTML som kommer att konverteras bra." " Observera att Word producerar en riktigt rörig HTML, att konvertera den kan" " ta lång tid, så ha tålamod. Om du har en nyare version av Word tillgänglig " "kan du också spara den direkt som .docx." #: ../../../__w/calibre/calibre/manual/conversion.rst:674 msgid "" "Another alternative is to use the free LibreOffice. Open your .doc file in " "LibreOffice and save it as .docx, which can be directly converted in " "calibre." msgstr "" "Ett annat alternativ är att använda gratis LibreOffice. Öppna din .doc-fil i" " LibreOffice och spara den som .docx, som direkt kan konverteras i calibre." #: ../../../__w/calibre/calibre/manual/conversion.rst:678 msgid "Convert TXT documents" msgstr "Konvertera TXT-dokument" #: ../../../__w/calibre/calibre/manual/conversion.rst:680 msgid "" "TXT documents have no well defined way to specify formatting like bold, " "italics, etc, or document structure like paragraphs, headings, sections and " "so on, but there are a variety of conventions commonly used. By default " "calibre attempts automatic detection of the correct formatting and markup " "based on those conventions." msgstr "" "TXT-dokument har inget väl definierat sätt att specificera formatering som " "fetstil, kursiv, etc., eller dokumentstruktur som stycken, rubriker, avsnitt" " och så vidare, men det finns en mängd konventioner som vanligtvis används. " "Som standard försöker calibre automatisk upptäcka korrekt formatering och " "markering baserat på dessa konventioner." #: ../../../__w/calibre/calibre/manual/conversion.rst:685 msgid "" "TXT input supports a number of options to differentiate how paragraphs are " "detected." msgstr "" "TXT-inmatning stöder ett antal alternativ för att differentiera hur stycken " "upptäcks." #: ../../../__w/calibre/calibre/manual/conversion.rst:687 msgid ":guilabel:`Paragraph style: Auto`" msgstr ":guilabel:`Styckeformat: Auto`" #: ../../../__w/calibre/calibre/manual/conversion.rst:688 msgid "" "Analyzes the text file and attempts to automatically determine how " "paragraphs are defined. This option will generally work fine, if you " "achieve undesirable results try one of the manual options." msgstr "" "Analyserar textfilen och försöker automatiskt avgöra hur styckena avgränsas." " Detta fungerar vanligtvis bra. Om resultatet inte blir som du vill kan du " "prova ett manuellt alternativ." #: ../../../__w/calibre/calibre/manual/conversion.rst:691 msgid ":guilabel:`Paragraph style: Block`" msgstr ":guilabel:`Styckeformat: Block`" #: ../../../__w/calibre/calibre/manual/conversion.rst:692 msgid "Assumes one or more blank lines are a paragraph boundary::" msgstr "Förutsätter att en eller flera tomma rader utgör en styckesgräns::" #: ../../../__w/calibre/calibre/manual/conversion.rst:699 msgid ":guilabel:`Paragraph style: Single`" msgstr ":guilabel:`Styckeformat: Single`" #: ../../../__w/calibre/calibre/manual/conversion.rst:700 msgid "Assumes that every line is a paragraph::" msgstr "Förutsätter att varje rad är ett stycke::" #: ../../../__w/calibre/calibre/manual/conversion.rst:706 msgid ":guilabel:`Paragraph style: Print`" msgstr ":guilabel:`Styckeformat: Print`" #: ../../../__w/calibre/calibre/manual/conversion.rst:707 msgid "" "Assumes that every paragraph starts with an indent (either a tab or 2+ " "spaces). Paragraphs end when the next line that starts with an indent is " "reached::" msgstr "" "Förutsätter att varje stycke börjar med ett indrag, antingen en tabulator " "eller minst två blanksteg. Stycket slutar vid nästa rad som börjar med ett " "indrag::" #: ../../../__w/calibre/calibre/manual/conversion.rst:717 msgid ":guilabel:`Paragraph style: Unformatted`" msgstr ":guilabel:`Styckeformat: Unformatted`" #: ../../../__w/calibre/calibre/manual/conversion.rst:718 msgid "" "Assumes that the document has no formatting, but does use hard line breaks." " Punctuation and median line length are used to attempt to re-create " "paragraphs." msgstr "" "Förutsätter att dokumentet inte har någon formatering, men använder hårda " "radbrytningar. Skiljetecken och medianradslängd används för att försöka " "återskapa stycken." #: ../../../__w/calibre/calibre/manual/conversion.rst:721 msgid ":guilabel:`Formatting style: Auto`" msgstr ":guilabel:`Formateringsformat: Auto`" #: ../../../__w/calibre/calibre/manual/conversion.rst:722 msgid "" "Attempts to detect the type of formatting markup being used. If no markup " "is used then heuristic formatting will be applied." msgstr "" "Försöker identifiera vilken typ av uppmärkning för formatering som används. " "Om ingen uppmärkning finns används heuristisk formatering." #: ../../../__w/calibre/calibre/manual/conversion.rst:725 msgid ":guilabel:`Formatting style: Heuristic`" msgstr ":guilabel:`Formateringsformat: Heuristic`" #: ../../../__w/calibre/calibre/manual/conversion.rst:726 msgid "" "Analyzes the document for common chapter headings, scene breaks, and " "italicized words and applies the appropriate HTML markup during conversion." msgstr "" "Analyserar dokumentet för vanliga kapitelrubriker, scenbrytningar och " "kursiverade ord och tillämpar lämplig HTML-markering under konvertering." #: ../../../__w/calibre/calibre/manual/conversion.rst:729 msgid ":guilabel:`Formatting style: Markdown`" msgstr ":guilabel:`Formateringsformat: Markdown`" #: ../../../__w/calibre/calibre/manual/conversion.rst:730 msgid "" "calibre also supports running TXT input though a transformation preprocessor" " known as Markdown. Markdown allows for basic formatting to be added to TXT " "documents, such as bold, italics, section headings, tables, lists, a Table " "of Contents, etc. Marking chapter headings with a leading # and setting the " "chapter XPath detection expression to \"//h:h1\" is the easiest way to have " "a proper table of contents generated from a TXT document. You can learn more" " about the Markdown syntax at `daringfireball " "`_." msgstr "" "calibre kan också förbehandla TXT-inmatning med Markdown. Det gör det " "möjligt att lägga till grundläggande formatering i TXT-dokument, till " "exempel fetstil, kursiv stil, avsnittsrubriker, tabeller, listor och en " "innehållsförteckning. Det enklaste sättet att skapa en korrekt " "innehållsförteckning från ett TXT-dokument är att inleda kapitelrubrikerna " "med # och ange ”//h:h1” som XPath-uttryck för kapitelidentifiering. Läs mer " "om Markdown-syntaxen på `daringfireball " "`_." #: ../../../__w/calibre/calibre/manual/conversion.rst:736 msgid ":guilabel:`Formatting style: None`" msgstr ":guilabel:`Formateringsformat: None`" #: ../../../__w/calibre/calibre/manual/conversion.rst:737 msgid "" "Applies no special formatting to the text, the document is converted to HTML" " with no other changes." msgstr "" "Ingen särskild formatering tillämpas. Dokumentet konverteras till HTML utan " "andra ändringar." #: ../../../__w/calibre/calibre/manual/conversion.rst:742 msgid "Convert PDF documents" msgstr "Konvertera PDF-dokument" #: ../../../__w/calibre/calibre/manual/conversion.rst:744 msgid "" "PDF documents are one of the worst formats to convert from. They are a fixed" " page size and text placement format. Meaning, it is very difficult to " "determine where one paragraph ends and another begins. calibre will try to " "unwrap paragraphs using a configurable, :guilabel:`Line un-wrapping factor`." " This is a scale used to determine the length at which a line should be " "unwrapped. Valid values are a decimal between 0 and 1. The default is 0.45, " "just under the median line length. Lower this value to include more text in " "the unwrapping. Increase to include less. You can adjust this value in the " "conversion settings under :guilabel:`PDF Input`." msgstr "" "PDF är ett av de svåraste formaten att konvertera från. Sidstorlek och " "textplacering är fasta, vilket gör det svårt att avgöra var ett stycke " "slutar och nästa börjar. calibre försöker ta bort radbrytningarna i styckena" " med hjälp av inställningen :guilabel:`Faktor för borttagning av " "radbrytningar`. Den anger en gräns för vilka radlängder som ska behandlas. " "Giltiga värden är decimaltal mellan 0 och 1. Standardvärdet är 0,45, strax " "under medianradlängden. Sänk värdet för att bearbeta mer text och höj det " "för att bearbeta mindre. Inställningen finns under :guilabel:`PDF-inmatning`" " i konverteringsdialogrutan." #: ../../../__w/calibre/calibre/manual/conversion.rst:751 msgid "" "Also, they often have headers and footers as part of the document that will " "become included with the text. Use the :guilabel:`Search and replace` panel " "to remove headers and footers to mitigate this issue. If the headers and " "footers are not removed from the text it can throw off the paragraph " "unwrapping. To learn how to use the header and footer removal options, read " ":ref:`regexptutorial`." msgstr "" "PDF-dokument innehåller ofta sidhuvuden och sidfötter som följer med in i " "texten vid konvertering. Använd panelen :guilabel:`Sök och ersätt` för att " "ta bort dem. Om de lämnas kvar kan de störa borttagningen av radbrytningar " "inom stycken. Läs :ref:`regexptutorial` för att lära dig använda " "alternativen för att ta bort sidhuvuden och sidfötter." #: ../../../__w/calibre/calibre/manual/conversion.rst:756 msgid "Some limitations of PDF input are:" msgstr "Vissa begränsningar på PDF-inmatning är:" #: ../../../__w/calibre/calibre/manual/conversion.rst:758 msgid "Complex, multi-column, and image based documents are not supported." msgstr "Komplexa, flerkolumn- och bildbaserade dokument stöds inte." #: ../../../__w/calibre/calibre/manual/conversion.rst:759 msgid "" "Extraction of vector images and tables from within the document is also not " "supported." msgstr "" "Det finns inte heller stöd för att extrahera vektorbilder och tabeller ur " "dokumentet." #: ../../../__w/calibre/calibre/manual/conversion.rst:760 msgid "" "Some PDFs use special glyphs to represent ll or ff or fi, etc. Conversion of" " these may or may not work depending on just how they are represented " "internally in the PDF." msgstr "" "Vissa PDF-filer använder speciella glyfer för att representera ll eller ff " "eller fi etc. Konvertering av dessa kanske eller kanske inte fungerar " "beroende på hur de representeras internt i PDF:en." #: ../../../__w/calibre/calibre/manual/conversion.rst:761 msgid "Links and Tables of Contents are not supported" msgstr "Länkar och innehållsförteckning stöds inte" #: ../../../__w/calibre/calibre/manual/conversion.rst:762 msgid "" "PDFs that use embedded non-Unicode fonts to represent non-English characters" " will result in garbled output for those characters" msgstr "" "PDF-filer som använder inbäddade teckensnitt utan Unicode för att återge " "icke-engelska tecken ger felaktiga tecken i utmatningen" #: ../../../__w/calibre/calibre/manual/conversion.rst:763 msgid "" "Some PDFs are made up of photographs of the page with OCRed text behind " "them. In such cases calibre uses the OCRed text, which can be very different" " from what you see when you view the PDF file" msgstr "" "Vissa PDF-filer är uppbyggda av fotografier av sidan med OCR-text bakom dem." " I sådana fall använder calibre OCR-texten, vilket kan vara mycket " "annorlunda från vad du ser när du visar PDF-filen" #: ../../../__w/calibre/calibre/manual/conversion.rst:764 msgid "" "PDFs that are used to display complex text, like right to left languages and" " math typesetting will not convert correctly" msgstr "" "PDF-filer med komplex text, till exempel språk som skrivs från höger till " "vänster eller matematisk sättning, konverteras inte korrekt" #: ../../../__w/calibre/calibre/manual/conversion.rst:766 msgid "" "To re-iterate **PDF is a really, really bad** format to use as input. If you" " absolutely must use PDF, then be prepared for an output ranging anywhere " "from decent to unusable, depending on the input PDF." msgstr "" "För att upprepa: **PDF är ett riktigt, riktigt dåligt** inmatningsformat. Om" " du måste använda PDF behöver du vara beredd på allt från ett acceptabelt " "till ett oanvändbart resultat, beroende på källfilen." #: ../../../__w/calibre/calibre/manual/conversion.rst:770 msgid "Comic book collections" msgstr "Serietidningssamlingar" #: ../../../__w/calibre/calibre/manual/conversion.rst:772 msgid "" "A comic book collection is a .cbc file. A .cbc file is a ZIP file that " "contains other CBZ/CBR files. In addition the .cbc file must contain a " "simple text file called comics.txt, encoded in UTF-8. The comics.txt file " "must contain a list of the comics files inside the .cbc file, in the form " "filename:title, as shown below::" msgstr "" "En serietidningssamling är en .cbc-fil: en ZIP-fil som innehåller CBZ- eller" " CBR-filer. Den måste också innehålla en vanlig textfil med namnet " "comics.txt, kodad i UTF-8. Där ska filerna i samlingen räknas upp i formen " "filename:title, enligt nedan::" #: ../../../__w/calibre/calibre/manual/conversion.rst:780 msgid "The .cbc file will then contain::" msgstr ".cbc-filen kommer då innehålla::" #: ../../../__w/calibre/calibre/manual/conversion.rst:787 msgid "" "calibre will automatically convert this .cbc file into an e-book with a " "Table of Contents pointing to each entry in comics.txt." msgstr "" "calibre kommer automatiskt att konvertera denna .cbc-fil till en e-bok med " "en innehållsförteckning som pekar på varje post i comics.txt." #: ../../../__w/calibre/calibre/manual/conversion.rst:791 msgid "EPUB advanced formatting demo" msgstr "Demonstration av avancerad EPUB-formatering" #: ../../../__w/calibre/calibre/manual/conversion.rst:793 msgid "" "Various advanced formatting for EPUB files is demonstrated in this " ":download_file:`demo file `. The file was created from hand" " coded HTML using calibre and is meant to be used as a template for your own" " EPUB creation efforts." msgstr "" "Den här :download_file:`demofilen ` visar olika former av " "avancerad EPUB-formatering. Den skapades från handskriven HTML med calibre " "och är tänkt som mall för när du skapar egna EPUB-filer." #: ../../../__w/calibre/calibre/manual/conversion.rst:796 msgid "" "The source HTML it was created from is available :download_file:`demo.zip " "`. The settings used to create the EPUB from the ZIP file " "are::" msgstr "" "HTML-källan som den skapades från är tillgänglig :download_file:`demo.zip " "`. Inställningarna som används för att skapa EPUB:en från " "ZIP-filen är::" #: ../../../__w/calibre/calibre/manual/conversion.rst:801 msgid "" "Note that because this file explores the potential of EPUB, most of the " "advanced formatting is not going to work on readers less capable than " "calibre's built-in EPUB viewer." msgstr "" "Filen demonstrerar EPUB-formatets möjligheter. Det mesta av den avancerade " "formateringen fungerar därför inte på läsare som har mer begränsat stöd än " "calibres inbyggda EPUB-visare." #: ../../../__w/calibre/calibre/manual/conversion.rst:805 msgid "Convert ODT documents" msgstr "Konvertera ODT-dokument" #: ../../../__w/calibre/calibre/manual/conversion.rst:807 msgid "" "calibre can directly convert ODT (OpenDocument Text) files. You should use " "styles to format your document and minimize the use of direct formatting. " "When inserting images into your document you need to anchor them to the " "paragraph, images anchored to a page will all end up in the front of the " "conversion." msgstr "" "calibre kan konvertera ODT-filer (OpenDocument Text) direkt. Använd " "formatmallar för att formatera dokumentet och undvik direktformatering så " "långt som möjligt. När du infogar bilder behöver du förankra dem i stycket. " "Bilder som förankras i en sida hamnar annars alla i början av den " "konverterade boken." #: ../../../__w/calibre/calibre/manual/conversion.rst:810 msgid "" "To enable automatic detection of chapters, you need to mark them with the " "built-in styles called :guilabel:`Heading 1`, :guilabel:`Heading 2`, ..., " ":guilabel:`Heading 6` (:guilabel:`Heading 1` equates to the HTML tag " "``

``, :guilabel:`Heading 2` to ``

``, etc). When you convert in " "calibre you can enter which style you used into the :guilabel:`Detect " "chapters at` box. Example:" msgstr "" "För att kapitel ska identifieras automatiskt måste du använda de inbyggda " "formatmallarna :guilabel:`Rubrik 1`, :guilabel:`Rubrik 2`, ..., " ":guilabel:`Rubrik 6`. :guilabel:`Rubrik 1` motsvarar HTML-taggen ``

``, " ":guilabel:`Rubrik 2` motsvarar ``

`` och så vidare. När du konverterar i " "calibre anger du vilken formatmall du använde i rutan :guilabel:`Identifiera" " kapitel med (XPath-uttryck)`. Exempel:" #: ../../../__w/calibre/calibre/manual/conversion.rst:816 msgid "" "If you mark Chapters with style :guilabel:`Heading 2`, you have to set the " "'Detect chapters at' box to ``//h:h2``" msgstr "" "Om du använder formatmallen :guilabel:`Rubrik 2` för kapitelrubrikerna ska " "du ange ``//h:h2`` i rutan ”Identifiera kapitel med (XPath-uttryck)”" #: ../../../__w/calibre/calibre/manual/conversion.rst:817 msgid "" "For a nested TOC with Sections marked with :guilabel:`Heading 2` and the " "Chapters marked with :guilabel:`Heading 3` you need to enter " "``//h:h2|//h:h3``. On the Convert - TOC page set the :guilabel:`Level 1 TOC`" " box to ``//h:h2`` and the :guilabel:`Level 2 TOC` box to ``//h:h3``." msgstr "" "För en innehållsförteckning med flera nivåer där avsnitten använder " ":guilabel:`Rubrik 2` och kapitlen :guilabel:`Rubrik 3` anger du " "``//h:h2|//h:h3``. På sidan Innehållsförteckning i konverteringsdialogrutan " "anger du ``//h:h2`` i :guilabel:`Nivå 1 innehållsförteckning (XPath-" "uttryck)` och ``//h:h3`` i :guilabel:`Nivå 2 innehållsförteckning (XPath-" "uttryck)`." #: ../../../__w/calibre/calibre/manual/conversion.rst:819 msgid "" "Well-known document properties (Title, Keywords, Description, Creator) are " "recognized and calibre will use the first image (not too small, and with " "good aspect-ratio) as the cover image." msgstr "" "Välkända dokumentegenskaper (titel, nyckelord, beskrivning, skapare) känns " "igen och calibre kommer att använda den första bilden (inte för liten och " "med bra bildförhållande) som omslagsbild." #: ../../../__w/calibre/calibre/manual/conversion.rst:821 msgid "" "There is also an advanced property conversion mode, which is activated by " "setting the custom property ``opf.metadata`` ('Yes or No' type) to Yes in " "your ODT document (File->Properties->Custom Properties). If this property is" " detected by calibre, the following custom properties are recognized " "(``opf.authors`` overrides document creator)::" msgstr "" "Det finns också ett avancerat egenskapskonverteringsläge, som aktiveras " "genom att ställa in den anpassade egenskapen ``opf.metadata`` (av \"Ja eller" " Nej\" typ) till Ja i ditt ODT-dokument (Arkiv->Egenskaper->Anpassa " "egenskaper). Om den här egenskapen upptäcks av calibre känns följande " "anpassade egenskaper igen (``opf.authors`` åsidosätter dokumentets " "skapare)::" #: ../../../__w/calibre/calibre/manual/conversion.rst:834 msgid "" "In addition to this, you can specify the picture to use as the cover by " "naming it ``opf.cover`` (right click, Picture->Options->Name) in the ODT. If" " no picture with this name is found, the 'smart' method is used. As the " "cover detection might result in double covers in certain output formats, the" " process will remove the paragraph (only if the only content is the cover!) " "from the document. But this works only with the named picture!" msgstr "" "Du kan också ange omslagsbilden genom att ge den namnet ``opf.cover`` i ODT-" "dokumentet (högerklicka och välj Bild->Alternativ->Namn). Om ingen bild med " "det namnet hittas används den ”smarta” metoden. Eftersom " "omslagsidentifieringen kan ge dubbla omslag i vissa utmatningsformat tas " "stycket bort ur dokumentet, men endast om omslaget är dess enda innehåll. " "Detta fungerar bara med den namngivna bilden!" #: ../../../__w/calibre/calibre/manual/conversion.rst:841 msgid "" "To disable cover detection you can set the custom property ``opf.nocover`` " "('Yes or No' type) to Yes in advanced mode." msgstr "" "För att inaktivera omslagsupptäckt kan du ställa in den anpassade egenskapen" " ``opf.nocover`` ('Ja eller Nej'-typ) till Ja i avancerat läge." #: ../../../__w/calibre/calibre/manual/conversion.rst:844 msgid "Converting to PDF" msgstr "Konvertera till PDF" #: ../../../__w/calibre/calibre/manual/conversion.rst:846 msgid "" "The first, most important, setting to decide on when converting to PDF is " "the page size. By default, calibre uses a page size of \"U.S. Letter\". You " "can change this to another standard page size or a completely custom size in" " the :guilabel:`PDF Output` section of the conversion dialog. If you are " "generating a PDF to be used on a specific device, you can turn on the option" " to use the page size from the :guilabel:`output profile` instead. So if " "your output profile is set to Kindle, calibre will create a PDF with page " "size suitable for viewing on the small Kindle screen." msgstr "" "Den första och viktigaste inställningen vid konvertering till PDF är " "sidstorleken. Standardvärdet i calibre är ”U.S. Letter”. Under " ":guilabel:`PDF-utmatning` i konverteringsdialogrutan kan du välja en annan " "standardstorlek eller ange en egen. Om PDF-filen är avsedd för en viss enhet" " kan du i stället aktivera alternativet som använder sidstorleken från " ":guilabel:`Utmatningsprofil`. Med Kindle som utmatningsprofil skapar calibre" " då en PDF med en sidstorlek som passar den lilla Kindle-skärmen." #: ../../../__w/calibre/calibre/manual/conversion.rst:856 msgid "Headers and Footers" msgstr "Sidhuvuden och sidfötter" #: ../../../__w/calibre/calibre/manual/conversion.rst:857 msgid "" "You can insert arbitrary headers and footers on each page of the PDF by " "specifying header and footer templates. Templates are just snippets of HTML " "code that get rendered in the header and footer locations. For example, to " "display page numbers centered at the bottom of every page, in green, use the" " following footer template::" msgstr "" "Du kan ange valfria sidhuvuden och sidfötter på varje PDF-sida med hjälp av " "mallar. Mallarna är HTML-kod som återges i områdena för sidhuvud och sidfot." " Använd till exempel följande sidfotsmall för att centrera gröna sidnummer " "längst ner på varje sida::" #: ../../../__w/calibre/calibre/manual/conversion.rst:865 msgid "" "calibre will automatically replace :code:`_PAGENUM_` with the current page " "number. You can even put different content on even and odd pages, for " "example the following header template will show the title on odd pages and " "the author on even pages::" msgstr "" "calibre ersätter automatiskt :code:`_PAGENUM_` med det aktuella sidnumret. " "Du kan också visa olika innehåll på jämna och udda sidor. Följande " "sidhuvudsmall visar till exempel titeln på udda sidor och författaren på " "jämna sidor::" #: ../../../__w/calibre/calibre/manual/conversion.rst:874 msgid "" "calibre will automatically replace :code:`_TITLE_` and :code:`_AUTHOR_` with" " the title and author of the document being converted. Setting " ":code:`justify-content` to :code:`flex-end` will cause the text to be right " "aligned." msgstr "" "calibre ersätter automatiskt :code:`_TITLE_` och :code:`_AUTHOR_` med " "dokumentets titel och författare. Om :code:`justify-content` sätts till " ":code:`flex-end` högerjusteras texten." #: ../../../__w/calibre/calibre/manual/conversion.rst:879 msgid "" "You can also display text at the left and right edges and change the font " "size, as demonstrated with this header template::" msgstr "" "Du kan också visa text på vänster- och högerkant och ändra " "teckensnittsstorleken, vilket framgår av den här sidhuvudmallen::" #: ../../../__w/calibre/calibre/manual/conversion.rst:887 msgid "" "This will display the title at the left and the author at the right, in a " "font size smaller than the main text." msgstr "" "Detta kommer att visa titeln till vänster och författare till höger, i en " "teckensnittsstorlek som är mindre än huvudtexten." #: ../../../__w/calibre/calibre/manual/conversion.rst:890 msgid "You can also use the current section in templates, as shown below::" msgstr "Du kan också använda det aktuella avsnittet i mallar, enligt nedan::" #: ../../../__w/calibre/calibre/manual/conversion.rst:894 msgid "" ":code:`_SECTION_` is replaced by whatever the name of the current section " "is. These names are taken from the metadata Table of Contents in the " "document (the PDF Outline). If the document has no table of contents then it" " will be replaced by empty text. If a single PDF page has multiple sections," " the first section on the page will be used. Similarly, there is a variable " "named :code:`_TOP_LEVEL_SECTION_` that can be used to get the name of the " "current top-level section." msgstr "" ":code:`_SECTION_` ersätts med namnet på det aktuella avsnittet. Namnen " "hämtas från innehållsförteckningen i dokumentets metadata (PDF-" "dispositionen). Om dokumentet saknar innehållsförteckning används tom text. " "Om en PDF-sida innehåller flera avsnitt används det första avsnittet på " "sidan. Variabeln :code:`_TOP_LEVEL_SECTION_` ger på motsvarande sätt namnet " "på det aktuella avsnittet på översta nivån." #: ../../../__w/calibre/calibre/manual/conversion.rst:901 msgid "" "You can even use JavaScript inside the header and footer templates, for " "example, the following template will cause page numbers to start at 4 " "instead of 1::" msgstr "" "Du kan till och med använda JavaScript i sidhuvud- och sidfotsmallarna, till" " exempel kommer följande mall att leda till att sidnummer börjar vid 4 i " "stället för 1::" #: ../../../__w/calibre/calibre/manual/conversion.rst:911 msgid "" "In addition there are some more variables you can use in the headers and " "footers, documented below:" msgstr "" "Dessutom finns det några fler variabler du kan använda i sidhuvud och " "sidfot, dokumenterade nedan:" #: ../../../__w/calibre/calibre/manual/conversion.rst:914 msgid "" "``_TOTAL_PAGES_`` - total number of pages in the PDF file, useful for " "implementing a progress counter, for example." msgstr "" "``_TOTAL_PAGES_`` - totalt antal sidor i PDF-filen, till exempel användbar " "för att implementera en framstegsräknare." #: ../../../__w/calibre/calibre/manual/conversion.rst:916 msgid "" "``_TOP_LEVEL_SECTION_PAGES_`` - total number of pages in the current top " "level section" msgstr "" "``_TOP_LEVEL_SECTION_PAGES_`` - totalt antal sidor i det aktuella " "toppnivåavsnittet" #: ../../../__w/calibre/calibre/manual/conversion.rst:918 msgid "" "``_TOP_LEVEL_SECTION_PAGENUM_`` - the page number of the current page within" " the current top level section" msgstr "" "``_TOP_LEVEL_SECTION_PAGENUM_`` - sidnumret för den aktuella sidan inom det " "aktuella toppnivåavsnittet" #: ../../../__w/calibre/calibre/manual/conversion.rst:920 msgid "``_WIDTH_PIXELS_`` - the width of the header/footer area in pixels" msgstr "``_WIDTH_PIXELS_`` - bredden på sidhuvuds-/sidfotsområdet i pixlar" #: ../../../__w/calibre/calibre/manual/conversion.rst:921 msgid "``_HEIGHT_PIXELS_`` - the height of the header/footer area in pixels" msgstr "``_HEIGHT_PIXELS_`` - höjden på sidhuvuds-/sidfotsområdet i pixlar" #: ../../../__w/calibre/calibre/manual/conversion.rst:923 msgid "" "When adding headers and footers make sure you set the page top and bottom " "margins to large enough values, under the :guilabel:`PDF Output` section of " "the conversion dialog." msgstr "" "När du lägger till sidhuvuden och sidfötter behöver du ange tillräckligt " "stora övre och nedre sidmarginaler under :guilabel:`PDF-utmatning` i " "konverteringsdialogrutan." #: ../../../__w/calibre/calibre/manual/conversion.rst:928 msgid "Printable Table of Contents" msgstr "Utskrivbar innehållsförteckning" #: ../../../__w/calibre/calibre/manual/conversion.rst:930 msgid "" "You can also insert a printable Table of Contents at the end of the PDF that" " lists the page numbers for every section. This is very useful if you intend" " to print out the PDF to paper. If you wish to use the PDF on an electronic " "device, then the PDF Outline provides this functionality and is generated by" " default." msgstr "" "Du kan också infoga en utskrivbar innehållsförteckning i slutet av PDF-filen" " med sidnummer för varje avsnitt. Det är användbart om du vill skriva ut " "filen på papper. Vid läsning på en elektronisk enhet fyller PDF-" "dispositionen samma funktion och skapas som standard." #: ../../../__w/calibre/calibre/manual/conversion.rst:935 msgid "" "You can customize the look of the generated Table of contents by using the " "Extra CSS conversion setting under the Look & feel part of the conversion " "dialog. The default CSS used is listed below, simply copy it and make " "whatever changes you like." msgstr "" "Du kan anpassa den genererade innehållsförteckningens utseende med " "inställningen Extra CSS under Utseende och känsla i " "konverteringsdialogrutan. Standardkoden för CSS visas nedan. Kopiera den och" " gör de ändringar du vill." #: ../../../__w/calibre/calibre/manual/conversion.rst:955 msgid "Custom page margins for individual HTML files" msgstr "Anpassade sidmarginaler för enskilda HTML-filer" #: ../../../__w/calibre/calibre/manual/conversion.rst:957 msgid "" "If you are converting an EPUB or AZW3 file with multiple individual HTML " "files inside it and you want to change the page margins for a particular " "HTML file you can add the following style block to the HTML file using the " "calibre E-book editor:" msgstr "" "Om du konverterar en EPUB- eller AZW3-fil som innehåller flera HTML-filer " "kan du ändra sidmarginalerna för en viss fil genom att lägga till följande " "stilblock med calibres e-boksredigerare:" #: ../../../__w/calibre/calibre/manual/conversion.rst:974 msgid "" "Then, in the PDF output section of the conversion dialog, turn on the option" " to :guilabel:`Use page margins from the document being converted`. Now all " "pages generated from this HTML file will have ``10pt`` margins." msgstr "" "Aktivera sedan alternativet :guilabel:`Använd sidmarginaler från dokumentet " "som konverteras` i PDF-utmatningsavsnittet av konverteringsdialogrutan. Nu " "kommer alla sidor som genereras från denna HTML-fil att ha ``10pt`` " "marginaler."