Debian Codegraph @

man-pages/da/man1/calibre-debug.1

raw
1 .\" Man page generated from reStructuredText
2 .\" by the Docutils 0.22.4 manpage writer.
3 .
4 .
5 .nr rst2man-indent-level 0
6 .
7 .de1 rstReportMargin
8 \\$1 \\n[an-margin]
9 level \\n[rst2man-indent-level]
10 level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
11 -
12 \\n[rst2man-indent0]
13 \\n[rst2man-indent1]
14 \\n[rst2man-indent2]
15 ..
16 .de1 INDENT
17 .\" .rstReportMargin pre:
18 . RS \\$1
19 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
20 . nr rst2man-indent-level +1
21 .\" .rstReportMargin post:
22 ..
23 .de UNINDENT
24 . RE
25 .\" indent \\n[an-margin]
26 .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
27 .nr rst2man-indent-level -1
28 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
29 .in \\n[rst2man-indent\\n[rst2man-indent-level]]u
30 ..
31 .TH "CALIBRE-DEBUG" "1" "september 18, 2026" "9.15.0" "calibre"
32 .SH NAME
33 calibre-debug \- calibre-debug
34 .INDENT 0.0
35 .INDENT 3.5
36 .sp
37 .EX
38 calibre\-debug [indstillinger]
39 .EE
40 .UNINDENT
41 .UNINDENT
42 .sp
43 Various command line interfaces useful for debugging calibre. With no options,
44 this command starts an embedded Python interpreter. You can also run the main
45 calibre GUI, the calibre E\-book viewer and the calibre editor in debug mode.
46 .sp
47 It also contains interfaces to various bits of calibre that do not have
48 dedicated command line tools, such as font subsetting, the E\-book diff tool and so
49 on.
50 .sp
51 You can also use \fBcalibre\-debug\fP to run standalone scripts. To do that use it like this:
52 .INDENT 0.0
53 .INDENT 3.5
54 \fBcalibre\-debug\fP \-e myscript.py \fB\-\-\fP \fB\-\-option1\fP \fB\-\-option2\fP file1 file2 ...
55 .UNINDENT
56 .UNINDENT
57 .sp
58 Everything after the \fB\-\-\fP is passed to the script. You can also use \fBcalibre\-debug\fP
59 as a shebang in scripts, like this:
60 .INDENT 0.0
61 .INDENT 3.5
62 #!/usr/bin/env \-S \fBcalibre\-debug\fP \-e \fB\-\-\fP \-\-
63 .UNINDENT
64 .UNINDENT
65 .sp
66 Whenever you pass arguments to \fBcalibre\-debug\fP that have spaces in them, enclose the arguments in quotation marks. For example: \(dq/some path/with spaces\(dq
67 .SH [INDSTILLINGER]
68 .INDENT 0.0
69 .TP
70 .B \-\-add\-simple\-plugin
71 Tilføj et simpelt udvidelsesmodul (dvs. et udvidelsesmodul som kun består af en .py\-fil), ved at specificere stien til py\-filen, der indeholder koden for udvidelsesmodulet.
72 .UNINDENT
73 .INDENT 0.0
74 .TP
75 .B \-\-command, \-c
76 Afvikl Pythonkode.
77 .UNINDENT
78 .INDENT 0.0
79 .TP
80 .B \-\-debug\-device\-driver, \-d
81 Fejlfind enhedsdetektion
82 .UNINDENT
83 .INDENT 0.0
84 .TP
85 .B \-\-default\-programs
86 (Af)registrer Calibre fra Windows\fB\(aq\fP standardprogrammer. \fB\-\-default\-programs\fP = \fB(register|unregister)\fP
87 .UNINDENT
88 .INDENT 0.0
89 .TP
90 .B \-\-diff
91 Kør Calibres forskelsværktøj. For eksempel: calibre\-debug \fB\-\-diff\fP fil1 fil2
92 .UNINDENT
93 .INDENT 0.0
94 .TP
95 .B \-\-edit\-book
96 Launch the calibre \fB\(dq\fPEdit book\fB\(dq\fP tool in debug mode. As with \-g use \fB\-\-\fP to pass command line arguments.
97 .UNINDENT
98 .INDENT 0.0
99 .TP
100 .B \-\-exec\-file, \-e
101 Afvikl Pythonkoden i fil.
102 .UNINDENT
103 .INDENT 0.0
104 .TP
105 .B \-\-explode\-book, \-x
106 Explode the book into the specified folder. Usage: \-x file.epub output_dir Exports the book as a collection of HTML files and metadata, which you can edit using standard HTML editing tools. Works with EPUB, AZW3, HTMLZ and DOCX files.
107 .UNINDENT
108 .INDENT 0.0
109 .TP
110 .B \-\-export\-all\-calibre\-data
111 Export all calibre data (books/settings/plugins). Normally, you will be asked for the export folder and the libraries to export. You can also specify them as command line arguments to skip the questions. Use absolute paths for the export folder and libraries. The special keyword \fB\(dq\fPall\fB\(dq\fP can be used to export all libraries. Examples: calibre\-debug \fB\-\-export\-all\-calibre\-data\fP # for interactive use calibre\-debug \fB\-\-export\-all\-calibre\-data\fP /path/to/empty/export/folder /path/to/library/folder1 /path/to/library2 calibre\-debug \fB\-\-export\-all\-calibre\-data\fP /export/folder all # export all known libraries
112 .UNINDENT
113 .INDENT 0.0
114 .TP
115 .B \-\-gui, \-g
116 Run the GUI with debugging enabled. Debug output is printed to stdout and stderr. To pass command line arguments use \fB\-\-\fP followed by the arguments, for example: calibre\-debug \-g \fB\-\-\fP /path/to/ebook
117 .UNINDENT
118 .INDENT 0.0
119 .TP
120 .B \-\-gui\-debug
121 Kør den grafiske brugerflade med en fejlsøgningskonsol, log til den angivne sti. Kun for intern brug, brug tilvalget \-g for at køre den grafiske brugerflade i fejlsøgningstilstand
122 .UNINDENT
123 .INDENT 0.0
124 .TP
125 .B \-\-help, \-h
126 Vis denne hjælpetekst og afslut
127 .UNINDENT
128 .INDENT 0.0
129 .TP
130 .B \-\-implode\-book, \-i
131 Implode a previously exploded book. Usage: \-i output_dir file.epub Imports the book from the files in output_dir which must have been created by a previous call to \fB\-\-explode\-book\fP\&. Be sure to specify the same file type as was used when exploding.
132 .UNINDENT
133 .INDENT 0.0
134 .TP
135 .B \-\-import\-calibre\-data
136 Importer tidligere eksporterede Calibre\-data
137 .UNINDENT
138 .INDENT 0.0
139 .TP
140 .B \-\-inspect\-mobi, \-m
141 Inspicer MOBI\-filerne på de angivne stier
142 .UNINDENT
143 .INDENT 0.0
144 .TP
145 .B \-\-kepubify
146 Convert the specified EPUB file to KEPUB without doing a full conversion. This is what the Kobo driver does when sending files to the device.
147 .UNINDENT
148 .INDENT 0.0
149 .TP
150 .B \-\-paths
151 Vis stierne nødvendige for at opsætte Calibremiljøet
152 .UNINDENT
153 .INDENT 0.0
154 .TP
155 .B \-\-run\-plugin, \-r
156 Run a plugin that provides a command line interface. For example: calibre\-debug \-r \fB\(dq\fPPlugin name\fB\(dq\fP \fB\-\-\fP file1 \fB\-\-option1\fP Everything after the \fB\-\-\fP will be passed to the plugin as arguments.
157 .UNINDENT
158 .INDENT 0.0
159 .TP
160 .B \-\-run\-test, \-t
161 Run the named test(s). Use the special value \fB\(dq\fPall\fB\(dq\fP to run all tests. If the test name starts with a period it is assumed to be a module name. If the test name starts with @ it is assumed to be a category name.
162 .UNINDENT
163 .INDENT 0.0
164 .TP
165 .B \-\-run\-without\-debug
166 Don\fB\(aq\fPt run with the DEBUG flag set
167 .UNINDENT
168 .INDENT 0.0
169 .TP
170 .B \-\-shutdown\-running\-calibre, \-s
171 Får en, hvis nogen, kørende instans af Calibra til at stoppe. Bemærk at hvis der er igangværende opgaver, så vil de blive afsluttet i stilhed, så brug med forsigtighed
172 .UNINDENT
173 .INDENT 0.0
174 .TP
175 .B \-\-subset\-font, \-f
176 Subset the specified font. Use \fB\-\-\fP after this option to pass option to the font subsetting program.
177 .UNINDENT
178 .INDENT 0.0
179 .TP
180 .B \-\-test\-build
181 Test binære moduler i bygning
182 .UNINDENT
183 .INDENT 0.0
184 .TP
185 .B \-\-un\-kepubify
186 Convert the specified KEPUB file to EPUB without doing a full conversion. This is what the Kobo driver does when importing files from the device.
187 .UNINDENT
188 .INDENT 0.0
189 .TP
190 .B \-\-version
191 vis programmets version og afslut
192 .UNINDENT
193 .INDENT 0.0
194 .TP
195 .B \-\-viewer, \-w
196 Run the E\-book viewer in debug mode. As with \-g use \fB\-\-\fP to pass command line arguments.
197 .UNINDENT
198 .SH Author
199 Kovid Goyal
200 .SH Copyright
201 Kovid Goyal
202 .\" End of generated man page.