Debian Codegraph @

man-pages/ca/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" "de setembre 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 [opcions]
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 Sempre que passeu arguments a \fBcalibre\-debug\fP i aquests tinguin espais en blanc, delimiteu els arguments amb cometes. Per exemple: \(dq/some path/with spaces\(dq
67 .SH [OPCIONS]
68 .INDENT 0.0
69 .TP
70 .B \-\-add\-simple\-plugin
71 Afegiu un connector simple (per exemple, un connector que consisteixi de només un fitxer .py) quan especifiqueu el camí al fitxer py que conté el codi del connector.
72 .UNINDENT
73 .INDENT 0.0
74 .TP
75 .B \-\-command, \-c
76 Executa el codi Python.
77 .UNINDENT
78 .INDENT 0.0
79 .TP
80 .B \-\-debug\-device\-driver, \-d
81 Depura la detecció del dispositiu
82 .UNINDENT
83 .INDENT 0.0
84 .TP
85 .B \-\-default\-programs
86 (Des)registra calibre dels programes predeterminats de Windows. \fB\-\-default\-programs\fP = \fB(register|unregister)\fP
87 .UNINDENT
88 .INDENT 0.0
89 .TP
90 .B \-\-diff
91 Executa l\fB\(aq\fPeina diff de calibre. Per exemple: calibre\-debug \fB\-\-diff\fP fitxer1 fitxer2
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 Executa el codi Python del fitxer.
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 Executa la interfície gràfica amb una consola de depuració i amb enregistrament al camí especificat. Només és per a ús intern, utilitzeu l\fB\(aq\fPopció \-g per a executar la interfície gràfica en mode de depuració
122 .UNINDENT
123 .INDENT 0.0
124 .TP
125 .B \-\-help, \-h
126 mostra aquest missatge d\fB\(aq\fPajuda i surt
127 .UNINDENT
128 .INDENT 0.0
129 .TP
130 .B \-\-implode\-book, \-i
131 Contrau un llibre expandit anteriorment. Ús: \-i dir_sortida fitxer.epub Importa el llibre a partir dels fitxers dins del dir_sortida, els quals han estat creats anteriorment amb la crida \fB\-\-explode\-book\fP\&. Assegureu\-vos d\fB\(aq\fPespecificar el mateix tipus de fitxer que es va utilitzar amb l\fB\(aq\fPexpansió.
132 .UNINDENT
133 .INDENT 0.0
134 .TP
135 .B \-\-import\-calibre\-data
136 Importa dades de calibre prèviament exportades
137 .UNINDENT
138 .INDENT 0.0
139 .TP
140 .B \-\-inspect\-mobi, \-m
141 Inspecciona els fitxers MOBI als camins especificats
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 Sortida dels camins necessaris per configurar l\fB\(aq\fPentorn de calibre
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 Fa que es tanqui qualsevol instància de calibre, si n\fB\(aq\fPhi ha alguna. Vigileu, ja que si hi ha treballs en execució, s\fB\(aq\fPavortaran sense cap confirmació.
172 .UNINDENT
173 .INDENT 0.0
174 .TP
175 .B \-\-subset\-font, \-f
176 Subconjunt de la lletra especificada. Utilitzeu \fB\-\-\fP després d\fB\(aq\fPaquesta opció per a passar l\fB\(aq\fPopció al programa de subconjunts de lletres.
177 .UNINDENT
178 .INDENT 0.0
179 .TP
180 .B \-\-test\-build
181 Prova els mòduls binaris a la construcció
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 mostra el número de versió del programa i surt
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.