• R/O
  • SSH

wp2latex: Commit

WP2LaTeX sources.


Commit MetaInfo

Revision49b6e98eb6d1cb0baff777e19c001d369cbffe6d (tree)
Zeit2021-09-19 08:14:26
AutorFojtik
CommiterFojtik

Log Message

Read correctly JPG embedded inside EMF.

Ändern Zusammenfassung

Diff

diff -r 98e9c130f1b0 -r 49b6e98eb6d1 trunk/doc/cs.po
--- a/trunk/doc/cs.po Sat Sep 18 10:03:12 2021 +0200
+++ b/trunk/doc/cs.po Sun Sep 19 01:14:26 2021 +0200
@@ -5,7 +5,7 @@
55 msgstr ""
66 "Project-Id-Version: WP2LaTeX-3.87\n"
77 "Report-Msgid-Bugs-To: \n"
8-"POT-Creation-Date: 2021-06-15 11:23+0200\n"
8+"POT-Creation-Date: 2021-09-18 15:36+0200\n"
99 "PO-Revision-Date:\n"
1010 "Last-Translator: Jaroslav Fojtik\n"
1111 "Language-Team: Czech <cs@li.org>\n"
@@ -13,7 +13,15 @@
1313 "Content-Type: text/plain; charset=1250\n"
1414 "Content-Transfer-Encoding: 8-bit\n"
1515 "Language: cs\n"
16-"Language: cs\n"
16+
17+#: ../sources.cc/charactr.cc:62
18+#, c-format
19+msgid ""
20+"\n"
21+"Warning: Please define /CurrentFontSet for user symbol %u!"
22+msgstr ""
23+"\n"
24+"Varování: Prosím nastavte /CurrentFontSet pro uživatelský symbol %u!"
1725
1826 #: ../sources.cc/formulas.cc:403
1927 #, c-format
@@ -48,19 +56,10 @@
4856 msgid "% Formula error fixed by WP2LaTeX!\n"
4957 msgstr "% Chyba v rovnici opravena programem WP2LaTeX!\n"
5058
51-#: ../sources.cc/charactr.cc:62
52-#, c-format
53-msgid ""
54-"\n"
55-"Warning: Please define /CurrentFontSet for user symbol %u!"
56-msgstr ""
57-"\n"
58-"Varování: Prosím nastavte /CurrentFontSet pro uživatelský symbol %u!"
59-
6059 # c-format
6160 #: ../sources.cc/images.cc:58 ../sources.cc/images.cc:80
62-#: ../sources.cc/pass1abi.cc:409 ../sources.cc/pass1wmf.cc:1570
63-#: ../sources.cc/pass1wmf.cc:2191
61+#: ../sources.cc/pass1abi.cc:408 ../sources.cc/pass1wmf.cc:1687
62+#: ../sources.cc/pass1wmf.cc:3352
6463 #, c-format
6564 msgid ""
6665 "\n"
@@ -69,7 +68,7 @@
6968 "\n"
7069 "Chyba: Nelze uložit soubor: \"%s\"!"
7170
72-#: ../sources.cc/images.cc:314
71+#: ../sources.cc/images.cc:308
7372 #, c-format
7473 msgid ""
7574 "\n"
@@ -78,7 +77,7 @@
7877 "\n"
7978 "Varování: Rastr s nulovou velikostí (%dx%d)?"
8079
81-#: ../sources.cc/images.cc:316
80+#: ../sources.cc/images.cc:310
8281 #, c-format
8382 msgid ""
8483 "\n"
@@ -87,7 +86,7 @@
8786 "\n"
8887 "Chyba: Nedostatek pamìti pro uložení rastru obrázku (%dx%d)!"
8988
90-#: ../sources.cc/images.cc:428
89+#: ../sources.cc/images.cc:423
9190 #, c-format
9291 msgid ""
9392 "\n"
@@ -96,7 +95,7 @@
9695 "\n"
9796 "Chyba: Konverzní modul WP5.x není dostupný v tomto sestavení!"
9897
99-#: ../sources.cc/images.cc:746
98+#: ../sources.cc/images.cc:741
10099 #, c-format
101100 msgid ""
102101 "\n"
@@ -105,7 +104,7 @@
105104 "\n"
106105 "Chyba: velikost polygonu %ld nestaèí pro %d prvkù!"
107106
108-#: ../sources.cc/images.cc:903
107+#: ../sources.cc/images.cc:898
109108 #, c-format
110109 msgid ""
111110 "\n"
@@ -114,12 +113,12 @@
114113 "\n"
115114 "Chyba: Nepodporovaná pøesnost %d, prosím pošlete mi obrázek pro analýzu."
116115
117-#: ../sources.cc/images.cc:1006
116+#: ../sources.cc/images.cc:1001
118117 #, c-format
119118 msgid "Error: Unsupported WPG2 compression %d, please report."
120119 msgstr "Chyba: Nepodporovaná komprese %d uvnitø WPG2, prosím o nahlášení."
121120
122-#: ../sources.cc/images.cc:1030
121+#: ../sources.cc/images.cc:1025
123122 #, c-format
124123 msgid ""
125124 "\n"
@@ -128,12 +127,14 @@
128127 "\n"
129128 "Chyba: nemohu dekomprimovat aktuální WPG rastr, pøeskakuji!"
130129
131-#: ../sources.cc/images.cc:1521
130+#: ../sources.cc/images.cc:1516
132131 #, c-format
133-msgid "Warning: Unexpected hatch pattern %d."
134-msgstr "Varování: Neoèekávaný typ šrafování %d."
132+msgid ""
133+"\n"
134+"Warning: Unexpected hatch pattern %d."
135+msgstr "\nVarování: Neoèekávaný typ šrafování %d."
135136
136-#: ../sources.cc/images.cc:1998
137+#: ../sources.cc/images.cc:1993
137138 #, c-format
138139 msgid ""
139140 "\n"
@@ -142,7 +143,7 @@
142143 "\n"
143144 "Chyba: Nelze zapisovat do souboru %s !"
144145
145-#: ../sources.cc/images.cc:2058
146+#: ../sources.cc/images.cc:2053
146147 #, c-format
147148 msgid ""
148149 "\n"
@@ -151,7 +152,7 @@
151152 "\n"
152153 "Chyba: Nelze vyjmout obrázek a uložit do souboru '%s'!"
153154
154-#: ../sources.cc/images.cc:2082
155+#: ../sources.cc/images.cc:2077
155156 #, c-format
156157 msgid ""
157158 "\n"
@@ -160,7 +161,7 @@
160161 "\n"
161162 "Chyba: Soubor '%s' má špatnou koncovku, mìla by být '%s'!"
162163
163-#: ../sources.cc/images.cc:2168
164+#: ../sources.cc/images.cc:2163
164165 #, c-format
165166 msgid ""
166167 "\n"
@@ -169,7 +170,7 @@
169170 "\n"
170171 "Otevírá externí obrázek %s "
171172
172-#: ../sources.cc/images.cc:2193
173+#: ../sources.cc/images.cc:2188
173174 #, c-format
174175 msgid ""
175176 "\n"
@@ -178,7 +179,7 @@
178179 "\n"
179180 "Chyba: Vnoøený obrázek na pozici %Xh s délkou %u vyøazen!"
180181
181-#: ../sources.cc/images.cc:2215 ../sources.cc/images.cc:2447
182+#: ../sources.cc/images.cc:2210 ../sources.cc/images.cc:2442
182183 #, c-format
183184 msgid ""
184185 "\n"
@@ -187,7 +188,7 @@
187188 "\n"
188189 "Varování: Nemohu otevøít soubor %s pro ètení!"
189190
190-#: ../sources.cc/images.cc:2271 ../sources.cc/images.cc:2501
191+#: ../sources.cc/images.cc:2266 ../sources.cc/images.cc:2496
191192 #, c-format
192193 msgid ""
193194 "\n"
@@ -196,7 +197,7 @@
196197 "\n"
197198 "Chyba: Konverzní modul \"%s\" není dostupný k souboru %s!"
198199
199-#: ../sources.cc/images.cc:2286 ../sources.cc/images.cc:2513
200+#: ../sources.cc/images.cc:2281 ../sources.cc/images.cc:2508
200201 #, c-format
201202 msgid ""
202203 "\n"
@@ -205,7 +206,7 @@
205206 "\n"
206207 "Chyba: Nelze rozpoznat typ souboru %s!"
207208
208-#: ../sources.cc/images.cc:2390
209+#: ../sources.cc/images.cc:2385
209210 #, c-format
210211 msgid ""
211212 "\n"
@@ -214,13 +215,13 @@
214215 "\n"
215216 "Varování: LaTeX nemùže manipulovat se soubory, které obsahují '%c'-> opraveno na '_'!"
216217
217-#: ../sources.cc/images.cc:2472 ../sources.cc/pass1_6.cc:942
218+#: ../sources.cc/images.cc:2467 ../sources.cc/pass1_6.cc:941
218219 #: ../sources.cc/pass1ole.cc:95
219220 #, c-format
220221 msgid "[nested \"%s\" %s] "
221222 msgstr "[vnoøeno \"%s\" %s] "
222223
223-#: ../sources.cc/images.cc:2478 ../sources.cc/pass1_6.cc:945
224+#: ../sources.cc/images.cc:2473 ../sources.cc/pass1_6.cc:944
224225 #: ../sources.cc/pass1ole.cc:99
225226 #, c-format
226227 msgid ""
@@ -230,7 +231,7 @@
230231 "\n"
231232 "[pokraèování] "
232233
233-#: ../sources.cc/images.cc:2479 ../sources.cc/pass1_6.cc:946
234+#: ../sources.cc/images.cc:2474 ../sources.cc/pass1_6.cc:945
234235 #: ../sources.cc/pass1ole.cc:100
235236 msgid ""
236237 "\n"
@@ -239,7 +240,7 @@
239240 "\n"
240241 "--Konec vnoøeného souboru.--\n"
241242
242-#: ../sources.cc/images.cc:2554
243+#: ../sources.cc/images.cc:2549
243244 #, c-format
244245 msgid ""
245246 "\n"
@@ -248,7 +249,7 @@
248249 "\n"
249250 "Zdroj 'vnoøený obrázek' je ztracen, vícenásobné scény nejsou podporovány, prosím o opravu."
250251
251-#: ../sources.cc/images.cc:2602
252+#: ../sources.cc/images.cc:2597
252253 #, c-format
253254 msgid ""
254255 "\n"
@@ -257,7 +258,7 @@
257258 "\n"
258259 "Chyba: Existující návìští nelze vložit vzhledem k sekvenci objektù."
259260
260-#: ../sources.cc/images.cc:2702
261+#: ../sources.cc/images.cc:2697
261262 #, c-format
262263 msgid ""
263264 "\n"
@@ -267,7 +268,7 @@
267268 "\n"
268269 "Chyba: InputPS.sty nepodporuje rotaci boxù. Použijte namísto toho graphics.sty, graphicx.sty nebo epsfig.sty."
269270
270-#: ../sources.cc/images.cc:2771
271+#: ../sources.cc/images.cc:2766
271272 msgid "First pass WPG:"
272273 msgstr "První prùchod WPG:"
273274
@@ -316,7 +317,7 @@
316317 "\n"
317318 "Varování: Záporná tabelaèní odrážka, opraveno!"
318319
319-#: ../sources.cc/pass1.cc:2307 ../sources.cc/pass1_5.cc:1355
320+#: ../sources.cc/pass1.cc:2307 ../sources.cc/pass1_5.cc:1349
320321 msgid "List "
321322 msgstr "Seznam "
322323
@@ -330,305 +331,6 @@
330331 "\n"
331332 "Chyba: Nedostatek pamìti."
332333
333-#: ../sources.cc/pass1_1.cc:155 ../sources.cc/pass1_3.cc:1254
334-#: ../sources.cc/pass1_4.cc:731 ../sources.cc/pass1_5.cc:1727
335-#: ../sources.cc/pass1_6.cc:2758
336-#, c-format
337-msgid ""
338-"\n"
339-"Error: Object %lX:%X consistency check failed. Trying to ignore."
340-msgstr ""
341-"\n"
342-"Chyba: Test konzistence objektu %lX:%X selhal. Zkouším jej ignorovat."
343-
344-#: ../sources.cc/pass1_1.cc:349 ../sources.cc/pass1_4.cc:965
345-#, c-format
346-msgid ""
347-"\n"
348-"%*sObject type:%3Xh subtype:%3d length:%4u"
349-msgstr ""
350-"\n"
351-"%*sTyp objektu:%3Xh podtyp:%3d délka:%4u"
352-
353-#: ../sources.cc/pass1_1.cc:407
354-msgid "First pass WP 1.x:"
355-msgstr "První prùchod WP 1.x:"
356-
357-#: ../sources.cc/pass1_3.cc:170
358-#, c-format
359-msgid ""
360-"\n"
361-"Error: Resource #%d cannot be read!"
362-msgstr ""
363-"\n"
364-"Chyba: Nelze èíst paket #%d !"
365-
366-#: ../sources.cc/pass1_3.cc:204
367-#, c-format
368-msgid ""
369-"\n"
370-"Wrong resource start offset %lu >= document start %lu."
371-msgstr ""
372-"\n"
373-"Špatná pozice poèátku 'zdrojového bloku' %lu >= poèátek dokumentu %lu."
374-
375-#: ../sources.cc/pass1_3.cc:212
376-#, c-format
377-msgid ""
378-"\n"
379-"Wrong resource data size %u."
380-msgstr ""
381-"\n"
382-"Cybná délka 'zdrojového bloku' %u."
383-
384-#: ../sources.cc/pass1_3.cc:236
385-#, c-format
386-msgid ""
387-"\n"
388-"Wrong resource map start offset %u >= document start %u."
389-msgstr ""
390-"\n"
391-"Chybný poèáteèní offset mapy zdrojových blokù %u >= poèátek dokumentu %u."
392-
393-#: ../sources.cc/pass1_3.cc:243
394-#, c-format
395-msgid ""
396-"\n"
397-"Wrong resource map data size %u."
398-msgstr ""
399-"\n"
400-"Chybná délka mapy zdrojových blokù %u."
401-
402-#: ../sources.cc/pass1_3.cc:482
403-#, c-format
404-msgid ""
405-"\n"
406-"Error: 0xC0 is not closed by its counterpart! File position=0x%X"
407-msgstr ""
408-"\n"
409-"Chyba: 0xC0 není ukonèeno párovým znakem! Pozice v souboru=0x%X"
410-
411-#: ../sources.cc/pass1_3.cc:989 ../sources.cc/pass1_5.cc:1500
412-#, c-format
413-msgid ""
414-"\n"
415-"%*sStart Table"
416-msgstr ""
417-"\n"
418-"%*sZaèátek tabulky"
419-
420-#: ../sources.cc/pass1_3.cc:1151 ../sources.cc/pass1_6.cc:2661
421-#, c-format
422-msgid ""
423-"\n"
424-"%*sIgnored from undo %d:"
425-msgstr ""
426-"\n"
427-"%*sIgnorováno od undo %d:"
428-
429-#: ../sources.cc/pass1_3.cc:1185 ../sources.cc/pass1_6.cc:2695
430-#, c-format
431-msgid ""
432-"\n"
433-"Error: Undo/Redo stack is corrupted, Type=%d!"
434-msgstr ""
435-"\n"
436-"Chyba: Zásobník Undo/Redo je poškozen, Typ=%d!"
437-
438-#: ../sources.cc/pass1_3.cc:1215 ../sources.cc/pass1_6.cc:2725
439-#, c-format
440-msgid ""
441-"\n"
442-"Warning: Strange Undo type:%d!"
443-msgstr ""
444-"\n"
445-"Varování: Podivný typ Undo: %d!"
446-
447-#: ../sources.cc/pass1_3.cc:1593 ../sources.cc/pass1_5.cc:2041
448-#, c-format
449-msgid ""
450-"\n"
451-"%*sObject type:%3Xh subtype:%3X length:%4u %c"
452-msgstr ""
453-"\n"
454-"%*sTyp objektu:%3Xh podtyp:%3X délka:%4u %c"
455-
456-#: ../sources.cc/pass1_3.cc:1668
457-msgid "First pass WP MAC 3.x:"
458-msgstr "První prùchod WP MAC 3.x:"
459-
460-#: ../sources.cc/pass1_4.cc:1025
461-msgid "First pass WP 4.x:"
462-msgstr "První prùchod WP 4.x:"
463-
464-#: ../sources.cc/pass1_5.cc:295
465-#, c-format
466-msgid ""
467-"\n"
468-"Error: WP prefix area is corrupted (block #%d), attempting to ignore!"
469-msgstr ""
470-"\n"
471-"Chyba: Oblast prefixù WP je poškozena (blok #%d), zkouším ji ignorovat!"
472-
473-#: ../sources.cc/pass1_5.cc:302
474-#, c-format
475-msgid ""
476-"\n"
477-"Warning: Suspicious size of packet descriptors, skipping packet block %d!"
478-msgstr ""
479-"\n"
480-"Varování: Podezøelá délka popisovaèù paketu, pøeskakuji blok paketù %d!"
481-
482-#: ../sources.cc/pass1_5.cc:320
483-#, c-format
484-msgid ""
485-"\n"
486-"Warning: Packet #%d inside block #%d has an invalid data pointer!"
487-msgstr ""
488-"\n"
489-"Varování: Paket #%d uvnitø bloku #%d má neplatný ukazatel na data!"
490-
491-#: ../sources.cc/pass1_5.cc:385
492-#, c-format
493-msgid ""
494-"\n"
495-"Error: Graphics object #%d cannot be read!"
496-msgstr ""
497-"\n"
498-"Chyba: Grafický objekt #%d nelze naèíst!"
499-
500-#: ../sources.cc/pass1_5.cc:697
501-#, c-format
502-msgid ""
503-"\n"
504-"Warning: The width of the Box is %f, are you sure?"
505-msgstr ""
506-"\n"
507-"Varování: Šíøka Boxu je %f, myslíte to vážnì?"
508-
509-#: ../sources.cc/pass1_5.cc:2122
510-msgid "First pass WP 5.x:"
511-msgstr "První prùchod WP 5.x:"
512-
513-#: ../sources.cc/pass1_6.cc:145
514-#, c-format
515-msgid ""
516-"\n"
517-"Warning: Resource #%d seems to be corrupted, its contents will be ignored!"
518-msgstr ""
519-"\n"
520-"Varování: Paket #%d vypadá poškozenì, jeho obsah bude ignorován!"
521-
522-#: ../sources.cc/pass1_6.cc:169
523-#, c-format
524-msgid ""
525-"\n"
526-"Resource array, # of resources:%u\n"
527-msgstr ""
528-"\n"
529-"Pole paketù, poèet paketù:%u\n"
530-
531-#: ../sources.cc/pass1_6.cc:176
532-#, c-format
533-msgid "%2d: Start:%4lx, Len:%4lx, Type:%d, Flags:%d, Use:%d, Hidden:%d\n"
534-msgstr "%2d: Zaèátek:%4lx, Délka:%4lx, Typ:%d, Vlajky:%d, Užití:%d, Skryto:%d\n"
535-
536-#: ../sources.cc/pass1_6.cc:241
537-#, c-format
538-msgid ""
539-"\n"
540-"Warning: Strange content of the resource #%d, it will be ignored!"
541-msgstr ""
542-"\n"
543-"Varování: Pochybný obsah paketu #%d, paket bude ignorován!"
544-
545-#: ../sources.cc/pass1_6.cc:477
546-#, c-format
547-msgid ""
548-"\n"
549-"Warning: Box contains unexpected amount of resources %d!"
550-msgstr ""
551-"\n"
552-"Varování: Box obsahuje neoèekávaný poèet paketù %d!"
553-
554-#: ../sources.cc/pass1_6.cc:505
555-#, c-format
556-msgid ""
557-"\n"
558-"Warning: Resource #0 should not be referred from data!"
559-msgstr ""
560-"\n"
561-"Varování: Paket #0 by nemìl být odkazován z dat!"
562-
563-#: ../sources.cc/pass1_6.cc:925
564-#, c-format
565-msgid ""
566-"\n"
567-"Warning: Incorrect guess of OLE offset. Please send me this file for "
568-"analysis."
569-msgstr ""
570-"\n"
571-"Varování: Chyba v odhadu OLE offsetu. Prosím o zaslání tohoto souboru pro analýzu."
572-
573-#: ../sources.cc/pass1_6.cc:1407 ../sources.cc/pass1_6.cc:1589
574-#, c-format
575-msgid ""
576-"\n"
577-"Warning: Cannot remove strange Endnote index!"
578-msgstr ""
579-"\n"
580-"Varování: Nelze vyøadit podivný index poznámky na konci!"
581-
582-#: ../sources.cc/pass1_6.cc:2208
583-#, c-format
584-msgid ""
585-"\n"
586-"Warning: Label contains unexpected amount of resources %d!"
587-msgstr ""
588-"\n"
589-"Varování: Návìští obsahuje neoèekávaný poèet paketù %d!"
590-
591-#: ../sources.cc/pass1_6.cc:2787
592-#, c-format
593-msgid ""
594-"\n"
595-"Internal Error: Position skew was detected at 0x%X != 0x%X!"
596-msgstr ""
597-"\n"
598-"Interní chyba: Odchylka pøi urèování pozice v souboru rozdíl 0x%X != 0x%X!"
599-
600-#: ../sources.cc/pass1_6.cc:3195
601-#, c-format
602-msgid ""
603-"\n"
604-"%*sObject type:%3Xh length:%4u"
605-msgstr ""
606-"\n"
607-"%*styp objektu:%3Xh délka:%4u"
608-
609-#: ../sources.cc/pass1_6.cc:3198
610-#, c-format
611-msgid ""
612-"\n"
613-"%*sObject type:%3Xh subtype:%3Xh length:%4u"
614-msgstr ""
615-"\n"
616-"%*sTyp objektu:%3Xh podtyp:%3Xh délka:%4u"
617-
618-#: ../sources.cc/pass1_6.cc:3263
619-#, c-format
620-msgid ""
621-"\n"
622-"Internal Error: Unknown dispatch %d."
623-msgstr ""
624-"\n"
625-"Interní chyba: Neznámý pøíkaz dispatch %d."
626-
627-#
628-#: ../sources.cc/pass1_6.cc:3295
629-msgid "First pass WP 6.x:"
630-msgstr "První prùchod WP 6.x:"
631-
632334 #: ../sources.cc/pass1602.cc:356
633335 #, c-format
634336 msgid ""
@@ -646,7 +348,306 @@
646348 msgid "First pass T602:"
647349 msgstr "První prùchod T602:"
648350
649-#: ../sources.cc/pass1abi.cc:359
351+#: ../sources.cc/pass1_1.cc:151 ../sources.cc/pass1_3.cc:1249
352+#: ../sources.cc/pass1_4.cc:727 ../sources.cc/pass1_5.cc:1721
353+#: ../sources.cc/pass1_6.cc:2757
354+#, c-format
355+msgid ""
356+"\n"
357+"Error: Object %lX:%X consistency check failed. Trying to ignore."
358+msgstr ""
359+"\n"
360+"Chyba: Test konzistence objektu %lX:%X selhal. Zkouším jej ignorovat."
361+
362+#: ../sources.cc/pass1_1.cc:345 ../sources.cc/pass1_4.cc:961
363+#, c-format
364+msgid ""
365+"\n"
366+"%*sObject type:%3Xh subtype:%3d length:%4u"
367+msgstr ""
368+"\n"
369+"%*sTyp objektu:%3Xh podtyp:%3d délka:%4u"
370+
371+#: ../sources.cc/pass1_1.cc:403
372+msgid "First pass WP 1.x:"
373+msgstr "První prùchod WP 1.x:"
374+
375+#: ../sources.cc/pass1_3.cc:165
376+#, c-format
377+msgid ""
378+"\n"
379+"Error: Resource #%d cannot be read!"
380+msgstr ""
381+"\n"
382+"Chyba: Nelze èíst paket #%d !"
383+
384+#: ../sources.cc/pass1_3.cc:199
385+#, c-format
386+msgid ""
387+"\n"
388+"Wrong resource start offset %lu >= document start %lu."
389+msgstr ""
390+"\n"
391+"Špatná pozice poèátku 'zdrojového bloku' %lu >= poèátek dokumentu %lu."
392+
393+#: ../sources.cc/pass1_3.cc:207
394+#, c-format
395+msgid ""
396+"\n"
397+"Wrong resource data size %u."
398+msgstr ""
399+"\n"
400+"Cybná délka 'zdrojového bloku' %u."
401+
402+#: ../sources.cc/pass1_3.cc:231
403+#, c-format
404+msgid ""
405+"\n"
406+"Wrong resource map start offset %u >= document start %u."
407+msgstr ""
408+"\n"
409+"Chybný poèáteèní offset mapy zdrojových blokù %u >= poèátek dokumentu %u."
410+
411+#: ../sources.cc/pass1_3.cc:238
412+#, c-format
413+msgid ""
414+"\n"
415+"Wrong resource map data size %u."
416+msgstr ""
417+"\n"
418+"Chybná délka mapy zdrojových blokù %u."
419+
420+#: ../sources.cc/pass1_3.cc:477
421+#, c-format
422+msgid ""
423+"\n"
424+"Error: 0xC0 is not closed by its counterpart! File position=0x%X"
425+msgstr ""
426+"\n"
427+"Chyba: 0xC0 není ukonèeno párovým znakem! Pozice v souboru=0x%X"
428+
429+#: ../sources.cc/pass1_3.cc:984 ../sources.cc/pass1_5.cc:1494
430+#, c-format
431+msgid ""
432+"\n"
433+"%*sStart Table"
434+msgstr ""
435+"\n"
436+"%*sZaèátek tabulky"
437+
438+#: ../sources.cc/pass1_3.cc:1146 ../sources.cc/pass1_6.cc:2660
439+#, c-format
440+msgid ""
441+"\n"
442+"%*sIgnored from undo %d:"
443+msgstr ""
444+"\n"
445+"%*sIgnorováno od undo %d:"
446+
447+#: ../sources.cc/pass1_3.cc:1180 ../sources.cc/pass1_6.cc:2694
448+#, c-format
449+msgid ""
450+"\n"
451+"Error: Undo/Redo stack is corrupted, Type=%d!"
452+msgstr ""
453+"\n"
454+"Chyba: Zásobník Undo/Redo je poškozen, Typ=%d!"
455+
456+#: ../sources.cc/pass1_3.cc:1210 ../sources.cc/pass1_6.cc:2724
457+#, c-format
458+msgid ""
459+"\n"
460+"Warning: Strange Undo type:%d!"
461+msgstr ""
462+"\n"
463+"Varování: Podivný typ Undo: %d!"
464+
465+#: ../sources.cc/pass1_3.cc:1588 ../sources.cc/pass1_5.cc:2035
466+#, c-format
467+msgid ""
468+"\n"
469+"%*sObject type:%3Xh subtype:%3X length:%4u %c"
470+msgstr ""
471+"\n"
472+"%*sTyp objektu:%3Xh podtyp:%3X délka:%4u %c"
473+
474+#: ../sources.cc/pass1_3.cc:1663
475+msgid "First pass WP MAC 3.x:"
476+msgstr "První prùchod WP MAC 3.x:"
477+
478+#: ../sources.cc/pass1_4.cc:1021
479+msgid "First pass WP 4.x:"
480+msgstr "První prùchod WP 4.x:"
481+
482+#: ../sources.cc/pass1_5.cc:289
483+#, c-format
484+msgid ""
485+"\n"
486+"Error: WP prefix area is corrupted (block #%d), attempting to ignore!"
487+msgstr ""
488+"\n"
489+"Chyba: Oblast prefixù WP je poškozena (blok #%d), zkouším ji ignorovat!"
490+
491+#: ../sources.cc/pass1_5.cc:296
492+#, c-format
493+msgid ""
494+"\n"
495+"Warning: Suspicious size of packet descriptors, skipping packet block %d!"
496+msgstr ""
497+"\n"
498+"Varování: Podezøelá délka popisovaèù paketu, pøeskakuji blok paketù %d!"
499+
500+#: ../sources.cc/pass1_5.cc:314
501+#, c-format
502+msgid ""
503+"\n"
504+"Warning: Packet #%d inside block #%d has an invalid data pointer!"
505+msgstr ""
506+"\n"
507+"Varování: Paket #%d uvnitø bloku #%d má neplatný ukazatel na data!"
508+
509+#: ../sources.cc/pass1_5.cc:379
510+#, c-format
511+msgid ""
512+"\n"
513+"Error: Graphics object #%d cannot be read!"
514+msgstr ""
515+"\n"
516+"Chyba: Grafický objekt #%d nelze naèíst!"
517+
518+#: ../sources.cc/pass1_5.cc:691
519+#, c-format
520+msgid ""
521+"\n"
522+"Warning: The width of the Box is %f, are you sure?"
523+msgstr ""
524+"\n"
525+"Varování: Šíøka Boxu je %f, myslíte to vážnì?"
526+
527+#: ../sources.cc/pass1_5.cc:2116
528+msgid "First pass WP 5.x:"
529+msgstr "První prùchod WP 5.x:"
530+
531+#: ../sources.cc/pass1_6.cc:145
532+#, c-format
533+msgid ""
534+"\n"
535+"Warning: Resource #%d seems to be corrupted, its contents will be ignored!"
536+msgstr ""
537+"\n"
538+"Varování: Paket #%d vypadá poškozenì, jeho obsah bude ignorován!"
539+
540+#: ../sources.cc/pass1_6.cc:168
541+#, c-format
542+msgid ""
543+"\n"
544+"Resource array, # of resources:%u\n"
545+msgstr ""
546+"\n"
547+"Pole paketù, poèet paketù:%u\n"
548+
549+#: ../sources.cc/pass1_6.cc:175
550+#, c-format
551+msgid "%2d: Start:%4lx, Len:%4lx, Type:%d, Flags:%d, Use:%d, Hidden:%d\n"
552+msgstr "%2d: Zaèátek:%4lx, Délka:%4lx, Typ:%d, Vlajky:%d, Užití:%d, Skryto:%d\n"
553+
554+#: ../sources.cc/pass1_6.cc:240
555+#, c-format
556+msgid ""
557+"\n"
558+"Warning: Strange content of the resource #%d, it will be ignored!"
559+msgstr ""
560+"\n"
561+"Varování: Pochybný obsah paketu #%d, paket bude ignorován!"
562+
563+#: ../sources.cc/pass1_6.cc:476
564+#, c-format
565+msgid ""
566+"\n"
567+"Warning: Box contains unexpected amount of resources %d!"
568+msgstr ""
569+"\n"
570+"Varování: Box obsahuje neoèekávaný poèet paketù %d!"
571+
572+#: ../sources.cc/pass1_6.cc:504
573+#, c-format
574+msgid ""
575+"\n"
576+"Warning: Resource #0 should not be referred from data!"
577+msgstr ""
578+"\n"
579+"Varování: Paket #0 by nemìl být odkazován z dat!"
580+
581+#: ../sources.cc/pass1_6.cc:924
582+#, c-format
583+msgid ""
584+"\n"
585+"Warning: Incorrect guess of OLE offset. Please send me this file for "
586+"analysis."
587+msgstr ""
588+"\n"
589+"Varování: Chyba v odhadu OLE offsetu. Prosím o zaslání tohoto souboru pro analýzu."
590+
591+#: ../sources.cc/pass1_6.cc:1406 ../sources.cc/pass1_6.cc:1588
592+#, c-format
593+msgid ""
594+"\n"
595+"Warning: Cannot remove strange Endnote index!"
596+msgstr ""
597+"\n"
598+"Varování: Nelze vyøadit podivný index poznámky na konci!"
599+
600+#: ../sources.cc/pass1_6.cc:2207
601+#, c-format
602+msgid ""
603+"\n"
604+"Warning: Label contains unexpected amount of resources %d!"
605+msgstr ""
606+"\n"
607+"Varování: Návìští obsahuje neoèekávaný poèet paketù %d!"
608+
609+#: ../sources.cc/pass1_6.cc:2786
610+#, c-format
611+msgid ""
612+"\n"
613+"Internal Error: Position skew was detected at 0x%X != 0x%X!"
614+msgstr ""
615+"\n"
616+"Interní chyba: Odchylka pøi urèování pozice v souboru rozdíl 0x%X != 0x%X!"
617+
618+#: ../sources.cc/pass1_6.cc:3194
619+#, c-format
620+msgid ""
621+"\n"
622+"%*sObject type:%3Xh length:%4u"
623+msgstr ""
624+"\n"
625+"%*styp objektu:%3Xh délka:%4u"
626+
627+#: ../sources.cc/pass1_6.cc:3197
628+#, c-format
629+msgid ""
630+"\n"
631+"%*sObject type:%3Xh subtype:%3Xh length:%4u"
632+msgstr ""
633+"\n"
634+"%*sTyp objektu:%3Xh podtyp:%3Xh délka:%4u"
635+
636+#: ../sources.cc/pass1_6.cc:3262
637+#, c-format
638+msgid ""
639+"\n"
640+"Internal Error: Unknown dispatch %d."
641+msgstr ""
642+"\n"
643+"Interní chyba: Neznámý pøíkaz dispatch %d."
644+
645+#
646+#: ../sources.cc/pass1_6.cc:3294
647+msgid "First pass WP 6.x:"
648+msgstr "První prùchod WP 6.x:"
649+
650+#: ../sources.cc/pass1abi.cc:358
650651 #, c-format
651652 msgid ""
652653 "\n"
@@ -655,7 +656,7 @@
655656 "\n"
656657 "Varování: Neplatný znak '%c' (%d) uvnitø dat kódovaných v base64 bude ignorován!"
657658
658-#: ../sources.cc/pass1abi.cc:723 ../sources.cc/pass1acc.cc:282
659+#: ../sources.cc/pass1abi.cc:722 ../sources.cc/pass1acc.cc:282
659660 #: ../sources.cc/pass1dcb.cc:315 ../sources.cc/pass1htm.cc:880
660661 #, c-format
661662 msgid ""
@@ -663,7 +664,7 @@
663664 "%*s [%s %s] "
664665 msgstr ""
665666
666-#: ../sources.cc/pass1abi.cc:741
667+#: ../sources.cc/pass1abi.cc:740
667668 #, c-format
668669 msgid ""
669670 "\n"
@@ -676,7 +677,7 @@
676677 " Napsal J.Fojtík (Hostuje ve WP2LaTeXu :))))\n"
677678 "\n"
678679
679-#: ../sources.cc/pass1abi.cc:752
680+#: ../sources.cc/pass1abi.cc:751
680681 msgid "First pass Abiword:"
681682 msgstr "První prùchod Abiword:"
682683
@@ -924,7 +925,7 @@
924925 msgid "First pass UTF-8:"
925926 msgstr "První prùchod UTF-8:"
926927
927-#: ../sources.cc/pass1wmf.cc:358
928+#: ../sources.cc/pass1wmf.cc:418
928929 #, c-format
929930 msgid ""
930931 "\n"
@@ -934,7 +935,7 @@
934935 "Chyba: poškozený WMF objekt: \"%s\"."
935936
936937 #
937-#: ../sources.cc/pass1wmf.cc:384
938+#: ../sources.cc/pass1wmf.cc:444
938939 #, c-format
939940 msgid ""
940941 "\n"
@@ -943,7 +944,7 @@
943944 "\n"
944945 "Pozn: MTEF formule uvnitø WMF dosud nebyly konvertovány."
945946
946-#: ../sources.cc/pass1wmf.cc:434
947+#: ../sources.cc/pass1wmf.cc:494
947948 #, c-format
948949 msgid ""
949950 "\n"
@@ -952,7 +953,7 @@
952953 "\n"
953954 "Chyba: blok WMF %X o délce %d je pøíliš malý, oèekáváno %u!"
954955
955-#: ../sources.cc/pass1wmf.cc:566
956+#: ../sources.cc/pass1wmf.cc:627 ../sources.cc/pass1wmf.cc:2107
956957 #, c-format
957958 msgid ""
958959 "\n"
@@ -961,7 +962,7 @@
961962 "\n"
962963 "Chyba: Nepodporovaná znaková sada: %X."
963964
964-#: ../sources.cc/pass1wmf.cc:1160
965+#: ../sources.cc/pass1wmf.cc:1269
965966 #, c-format
966967 msgid ""
967968 "\n"
@@ -970,12 +971,12 @@
970971 "\n"
971972 "Chyba: text s velikostí %d se nemùže vejít do objektu, zkráceno na %u."
972973
973-#: ../sources.cc/pass1wmf.cc:1292
974+#: ../sources.cc/pass1wmf.cc:1403
974975 #, c-format
975976 msgid "Opening Windows MetaFile:"
976977 msgstr "Otevírá Windows Metafile:"
977978
978-#: ../sources.cc/pass1wmf.cc:1299
979+#: ../sources.cc/pass1wmf.cc:1410
979980 #, c-format
980981 msgid ""
981982 "\n"
@@ -984,7 +985,7 @@
984985 "\n"
985986 "Chyba: Neplatná hlavièka WMF s velikostí %u, oèekávaná velikost=9!"
986987
987-#: ../sources.cc/pass1wmf.cc:1451
988+#: ../sources.cc/pass1wmf.cc:1562
988989 #, c-format
989990 msgid ""
990991 "\n"
@@ -993,7 +994,7 @@
993994 "\n"
994995 "%*s{WMF funkce:%3Xh; délka:%4lu; pos:%lXh}"
995996
996-#: ../sources.cc/pass1wmf.cc:1686
997+#: ../sources.cc/pass1wmf.cc:1767
997998 #, c-format
998999 msgid ""
9991000 "\n"
@@ -1003,12 +1004,19 @@
10031004 "Varování: Neplatné CRC %X uvnitø WMF, oèekáváno %X."
10041005
10051006 #
1006-#: ../sources.cc/pass1wmf.cc:1966
1007+#: ../sources.cc/pass1wmf.cc:3112
10071008 #, c-format
10081009 msgid "Opening Windows Enhanced MetaFile:"
10091010 msgstr "Otevírá 'Vylepšený' Windows Metafile:"
10101011
1011-#: ../sources.cc/pass1wmf.cc:2107
1012+#: ../sources.cc/pass1wmf.cc:3122
1013+#, c-format
1014+msgid ""
1015+"\n"
1016+"Warning: EMF parser is still experimental."
1017+msgstr ""
1018+
1019+#: ../sources.cc/pass1wmf.cc:3257
10121020 #, c-format
10131021 msgid ""
10141022 "\n"
@@ -1712,7 +1720,15 @@
17121720 "\n"
17131721 "Kritická chyba: Tisk do øetìzcù nefunguje, získáno '%s' oèekáváno '%s'!"
17141722
1715-#: ../sources.cc/wp2latex.cc:693
1723+#: ../sources.cc/wp2latex.cc:629
1724+#, c-format
1725+msgid ""
1726+"\n"
1727+"Fatal: Compillation has been optimised for pointer size 32bits, pointer size "
1728+"is %ubits!"
1729+msgstr ""
1730+
1731+#: ../sources.cc/wp2latex.cc:701
17161732 #, c-format
17171733 msgid ""
17181734 "\n"
@@ -1721,7 +1737,7 @@
17211737 "\n"
17221738 "Chyba: VYNUCENÝ konverzní modul \"%s\" nebyl nalezen!"
17231739
1724-#: ../sources.cc/wp2latex.cc:696
1740+#: ../sources.cc/wp2latex.cc:704
17251741 #, c-format
17261742 msgid ""
17271743 "\n"
@@ -1731,7 +1747,7 @@
17311747 "\n"
17321748 "Varování: Konverzní modul %s je VYNUCEN. Autodetekce není možná. Mohou nastat CHYBY!!!"
17331749
1734-#: ../sources.cc/wp2latex.cc:707
1750+#: ../sources.cc/wp2latex.cc:715
17351751 #, c-format
17361752 msgid ""
17371753 "\n"
@@ -1740,7 +1756,7 @@
17401756 "\n"
17411757 "Chyba: vynucený konverzní modul \"%s\" nebyl nalezen!"
17421758
1743-#: ../sources.cc/wp2latex.cc:708
1759+#: ../sources.cc/wp2latex.cc:716
17441760 #, c-format
17451761 msgid ""
17461762 "\n"
@@ -1749,7 +1765,7 @@
17491765 "\n"
17501766 "Zadejte \"wp2latex -v\" pro výpis seznamu dostupných modulù."
17511767
1752-#: ../sources.cc/wp2latex.cc:713
1768+#: ../sources.cc/wp2latex.cc:721
17531769 #, c-format
17541770 msgid ""
17551771 "\n"
@@ -1759,7 +1775,7 @@
17591775 "\n"
17601776 "Varování: Konverzní modul %s je vynucen. Autodetekce není možná. Mohou nastat CHYBY!!!"
17611777
1762-#: ../sources.cc/wp2latex.cc:743
1778+#: ../sources.cc/wp2latex.cc:751
17631779 #, c-format
17641780 msgid ""
17651781 "\n"
@@ -1769,7 +1785,7 @@
17691785 "\n"
17701786 "Chyba: Logovací soubor má shodné jméno jako soubor dokumentu. To by zpùsobilo smazání pùvodního dokumentu!"
17711787
1772-#: ../sources.cc/wp2latex.cc:751
1788+#: ../sources.cc/wp2latex.cc:759
17731789 #, c-format
17741790 msgid ""
17751791 "\n"
@@ -1779,7 +1795,7 @@
17791795 "Varování: Nemohu otevøít logovací soubor %s ..."
17801796
17811797 #
1782-#: ../sources.cc/wp2latex.cc:753
1798+#: ../sources.cc/wp2latex.cc:761
17831799 #, c-format
17841800 msgid ""
17851801 "%% log file for converted file %s, %s ver %u.%u\n"
@@ -1788,7 +1804,7 @@
17881804 "%% logovací soubor pro konvertovaný soubor %s, %s verze %u.%u\n"
17891805 "%% konverzní program WP2LaTex v. %s z %s.\n"
17901806
1791-#: ../sources.cc/wp2latex.cc:762
1807+#: ../sources.cc/wp2latex.cc:770
17921808 #, c-format
17931809 msgid ""
17941810 "\n"
@@ -1797,7 +1813,7 @@
17971813 "\n"
17981814 "Konvertuji ...\n"
17991815
1800-#: ../sources.cc/wp2latex.cc:766
1816+#: ../sources.cc/wp2latex.cc:774
18011817 #, c-format
18021818 msgid ""
18031819 "\n"
@@ -1806,7 +1822,7 @@
18061822 "\n"
18071823 "Vstupní soubor je prázdný\n"
18081824
1809-#: ../sources.cc/wp2latex.cc:794
1825+#: ../sources.cc/wp2latex.cc:802
18101826 #, c-format
18111827 msgid ""
18121828 "\n"
@@ -1817,7 +1833,7 @@
18171833 "%% první prùchod ukonèen, pokraèuji druhým prùchodem\n"
18181834 "\n"
18191835
1820-#: ../sources.cc/wp2latex.cc:834
1836+#: ../sources.cc/wp2latex.cc:842
18211837 #, c-format
18221838 msgid ""
18231839 "\n"
@@ -1830,12 +1846,12 @@
18301846 "%% Bylo nalezeno %ld nezkonvertovaných znakù.\n"
18311847 "%% Bylo nalezeno %ld nerozpoznaných/ignorovaných objektù.\n"
18321848
1833-#: ../sources.cc/wp2latex.cc:838
1849+#: ../sources.cc/wp2latex.cc:846
18341850 #, c-format
18351851 msgid "%% There were %ld corrupted objects.\n"
18361852 msgstr "%% Vyskytlo se %ld poškozených objektù.\n"
18371853
1838-#: ../sources.cc/wp2latex.cc:840
1854+#: ../sources.cc/wp2latex.cc:848
18391855 #, c-format
18401856 msgid ""
18411857 "\n"
@@ -1844,12 +1860,12 @@
18441860 "\n"
18451861 "Chyba: Logovací soubor nebyl zapsán úplnì."
18461862
1847-#: ../sources.cc/wp2latex.cc:861
1863+#: ../sources.cc/wp2latex.cc:869
18481864 #, c-format
18491865 msgid "Note: There are some asynchronous jobs that are still running."
18501866 msgstr "Upozornìní: Stále bìží nìjaké asynchronní procesy."
18511867
1852-#: ../sources.cc/wp2latex.cc:869
1868+#: ../sources.cc/wp2latex.cc:877
18531869 #, c-format
18541870 msgid ""
18551871 "\n"
diff -r 98e9c130f1b0 -r 49b6e98eb6d1 trunk/doc/wp2latex.man
--- a/trunk/doc/wp2latex.man Sat Sep 18 10:03:12 2021 +0200
+++ b/trunk/doc/wp2latex.man Sun Sep 19 01:14:26 2021 +0200
@@ -249,7 +249,7 @@
249249 Dirk Lellinger wrote formulas parser, but I had to rewrite it srom scratch.
250250 Now it works much more better.
251251 This Program was rewritten by last author Jaroslav Fojtik, Email
252-(try one of these): fojtik@penguin.cz, JaFojtik@seznam.cz.
252+(try one of these): fojtik@penguin.cz, JaFojtik@yandex.com.
253253
254254 There are some other ports of this code. But now I hope, that
255255 this release is best one.
diff -r 98e9c130f1b0 -r 49b6e98eb6d1 trunk/sources.cc/atoms/lists.cc
--- a/trunk/sources.cc/atoms/lists.cc Sat Sep 18 10:03:12 2021 +0200
+++ b/trunk/sources.cc/atoms/lists.cc Sun Sep 19 01:14:26 2021 +0200
@@ -250,7 +250,7 @@
250250 if(tmp_list.pstr==NULL) return tmp_list;
251251 for(i=0;i<l1.number;i++)
252252 tmp_list.pstr[i]=StrDup(l1.pstr[i]);
253- tmp_list.pstr[l1.number]=StrDup(str);;
253+ tmp_list.pstr[l1.number]=StrDup(str);
254254 tmp_list.number=l1.number+1;
255255 #else
256256 temp_list tmp_list(l1);
diff -r 98e9c130f1b0 -r 49b6e98eb6d1 trunk/sources.cc/cp_lib/chars.c_
--- a/trunk/sources.cc/cp_lib/chars.c_ Sat Sep 18 10:03:12 2021 +0200
+++ b/trunk/sources.cc/cp_lib/chars.c_ Sun Sep 19 01:14:26 2021 +0200
@@ -1738,10 +1738,10 @@
17381738 [Feminine Spanish Ordinal]
17391739 UseStyle(textcomp, "\\textordfeminine{}")
17401740 WP2LaTeXsty+=sty_astrike;
1741- return "\\alifted ";
1741+ return "\\astrike ";
17421742 [Masculine Spanish Ordinal]
17431743 UseStyle(textcomp, "\\textordmasculine{}")
1744- return "\\olifted ";
1744+ return "\\ostrike ";
17451745 [1/2]
17461746 if(OutCodePage == ISO8859_1) return "½";
17471747 UseStyle(textcomp, "\\textonehalf ")
diff -r 98e9c130f1b0 -r 49b6e98eb6d1 trunk/sources.cc/images/ras_img.cc
--- a/trunk/sources.cc/images/ras_img.cc Sat Sep 18 10:03:12 2021 +0200
+++ b/trunk/sources.cc/images/ras_img.cc Sun Sep 19 01:14:26 2021 +0200
@@ -35,6 +35,10 @@
3535 #include "matrix.h"
3636 #include "imgsupp.h"
3737
38+#if SupportJPG>=4 || SupportJPG==2
39+Raster2DAbstract *LoadFragmentJPG(FILE *F);
40+#endif
41+
3842
3943 #define Rd_word(f,w) RdWORD_LoEnd(w,f);
4044 #define Rd_dword(f,d) RdDWORD_LoEnd(d,f);
@@ -388,7 +392,10 @@
388392 BI_RLE4, //An RLE format for bitmaps with 4 bpp. The compression format is a 2-byte format consisting of a count byte followed by two word-length color indexes.
389393 BI_BITFIELDS, //Specifies that the bitmap is not compressed. The members bV4RedMask, bV4GreenMask, and bV4BlueMask specify the red, green, and blue components for each pixel. This is valid when used with 16- and 32-bpp bitmaps.
390394 BI_JPEG, //Specifies that the image is compressed using the JPEG file interchange format. JPEG compression trades off compression against loss.
391- BI_PNG //Specifies that the image is compressed using the PNG file interchange format.
395+ BI_PNG, //Specifies that the image is compressed using the PNG file interchange format.
396+ BI_CMYK = 0x0B, //The image is an uncompressed CMYK format.
397+ BI_CMYKRLE8 = 0x0C, //A CMYK format that uses RLE compression for bitmaps with 8 bits per pixel. The compression uses a 2-byte format consisting of a count byte followed by a byte containing a color index.
398+ BI_CMYKRLE4 = 0x0D //A CMYK format that uses RLE compression for bitmaps with 4 bits per pixel. The compression uses a 2-byte format consisting of a count byte followed by two word-length color indexes.
392399 } BmpCompression;
393400
394401 typedef SDWORD FXPT2DOT30;
@@ -596,16 +603,22 @@
596603 Try40: if(LoadPartBmpInfHdr(f,Info.BIH) != (40-4)) goto ENDPROC;
597604 if(Info.BIH.biPlanes!=1) return;
598605 Compression = Info.BIH.biCompression;
599- if(Info.BIH.biCompression>BI_BITFIELDS)
600- goto ENDPROC;; //unsupported compression mode
606+#if SupportJPG>=4 || SupportJPG==2
607+ if(Info.BIH.biCompression == BI_JPEG)
608+ {
609+ Raster = LoadFragmentJPG(f);
610+ }
611+#endif
612+ if(Info.BIH.biCompression > BI_BITFIELDS)
613+ goto ENDPROC; //unsupported compression mode
601614
602615 k = Info.BIH.biPlanes*Info.BIH.biBitCount;
603616 if(k==32)
604617 {
605618 Compression = -1; //!!!
606- k=24;
619+ k = 24;
607620 }
608- Raster=CreateRaster2D(Info.BIH.biWidth,Info.BIH.biHeight,k);
621+ Raster = CreateRaster2D(Info.BIH.biWidth,Info.BIH.biHeight,k);
609622 k = 4; //RGB Quad
610623 ldblk = Info.BIH.biClrUsed;
611624 break;
@@ -1377,7 +1390,7 @@
13771390 if(c>='A')
13781391 B = (c- 'A' + 10) << 4;
13791392 else
1380- B = (c-'0') << 4;;
1393+ B = (c-'0') << 4;
13811394
13821395 c=toupper(fgetc(F));
13831396 c-='0';
@@ -3827,7 +3840,7 @@
38273840 }
38283841
38293842 FINISH:
3830- if(RBit8.Data1D) RBit8.Erase();;
3843+ if(RBit8.Data1D) RBit8.Erase();
38313844
38323845 fclose(f);
38333846 Img.AttachRaster(Raster);
diff -r 98e9c130f1b0 -r 49b6e98eb6d1 trunk/sources.cc/images/ras_jpg.cc
--- a/trunk/sources.cc/images/ras_jpg.cc Sat Sep 18 10:03:12 2021 +0200
+++ b/trunk/sources.cc/images/ras_jpg.cc Sun Sep 19 01:14:26 2021 +0200
@@ -51,22 +51,104 @@
5151
5252
5353 #if SupportJPG>=4 || SupportJPG==2
54+
55+Raster2DAbstract *LoadFragmentJPG(FILE *F)
56+{
57+struct jpeg_decompress_struct cinfo;
58+struct my_error_mgr jerr;
59+int row_stride; /* physical row width in output buffer */
60+JSAMPARRAY buffer; /* Output row buffer */
61+unsigned current_line = 0;
62+
63+ if(F==NULL) return NULL;
64+
65+ /* Step 1: allocate and initialize JPEG decompression object */
66+
67+ cinfo.err = jpeg_std_error(&jerr.pub);
68+ jerr.pub.error_exit = my_error_exit;
69+ /* Establish the setjmp return context for my_error_exit to use. */
70+ if(setjmp(jerr.setjmp_buffer))
71+ { /* If we get here, the JPEG code has signaled an error. We need to clean up the JPEG object, close the input file, and return. */
72+ jpeg_destroy_decompress(&cinfo);
73+ return NULL;
74+ }
75+
76+ jpeg_create_decompress(&cinfo); /* Now we can initialize the JPEG decompression object. */
77+
78+ /* Step 2: specify data source (eg, a file) */
79+ jpeg_stdio_src(&cinfo, F);
80+
81+ /* Step 3: read file parameters with jpeg_read_header() */
82+
83+ (void) jpeg_read_header(&cinfo, TRUE);
84+ /* We can ignore the return value from jpeg_read_header since
85+ * (a) suspension is not possible with the stdio data source, and
86+ * (b) we passed TRUE to reject a tables-only JPEG file as an error.
87+ * See libjpeg.doc for more info. */
88+
89+ Raster2DAbstract *Raster = CreateRaster2D(cinfo.image_width,cinfo.image_height,24);
90+ if(Raster==NULL) return NULL;
91+
92+ /* Step 5: Start decompressor */
93+ (void)jpeg_start_decompress(&cinfo);
94+
95+ row_stride = cinfo.output_width * cinfo.output_components;
96+ /* Make a one-row-high sample array that will go away when done with image */
97+ buffer = (*cinfo.mem->alloc_sarray)((j_common_ptr) &cinfo, JPOOL_IMAGE, row_stride, 1);
98+
99+ /* Step 6: while (scan lines remain to be read) */
100+ /* jpeg_read_scanlines(...); */
101+
102+ /* Here we use the library's state variable cinfo.output_scanline as the
103+ * loop counter, so that we don't have to keep track ourselves. */
104+ while(cinfo.output_scanline < cinfo.output_height)
105+ { /* jpeg_read_scanlines expects an array of pointers to scanlines.
106+ * Here the array is only one element long, but you could ask for
107+ * more than one scanline at a time if that's more convenient. */
108+ (void)jpeg_read_scanlines(&cinfo, buffer, 1);
109+
110+ int line_size = 3 * cinfo.output_width; /* Assume put_scanline_someplace wants a pointer and sample count. */
111+
112+ //{ BlockWrite(outfile, buffer^, row_stride);}
113+
114+ if(line_size > row_stride) line_size = row_stride;
115+
116+ if(current_line < Raster->Size2D)
117+ memcpy(Raster->GetRow(current_line), buffer[0], line_size);
118+ current_line++;
119+
120+ //if AlineProc<>nil then AlineProc^.NextLine;
121+
122+ //put_scanline_someplace(buffer[0], row_stride);
123+ }
124+
125+ /* Step 7: Finish decompression */
126+
127+ (void)jpeg_finish_decompress(&cinfo);
128+ /* We can ignore the return value since suspension is not possible with the stdio data source. */
129+
130+ /* Step 8: Release JPEG decompression object */
131+ /* This is an important step since it will release a good deal of memory. */
132+ jpeg_destroy_decompress(&cinfo);
133+
134+return Raster;
135+}
136+
137+
54138 Image LoadPictureJPG(const char *Name)
55139 {
56140 Image Img;
57-int line_size;
58141 unsigned current_line = 0;
59142 /* This struct contains the JPEG decompression parameters and pointers to
60143 * working space (which is allocated as needed by the JPEG library). */
61144 struct jpeg_decompress_struct cinfo;
62145 /* We use our private extension JPEG error handler.
63146 * Note that this struct must live as long as the main JPEG parameter
64- * struct, to avoid dangling-pointer problems.
65- */
147+ * struct, to avoid dangling-pointer problems. */
66148 struct my_error_mgr jerr;
67149 /* More stuff */
68150 FILE * infile; /* source file */
69-JSAMPARRAY buffer; /* Output row buffer */
151+JSAMPARRAY buffer; /* Output row buffer */
70152 int row_stride; /* physical row width in output buffer */
71153
72154 /* In this example we want to open the input file before doing anything else,
@@ -129,8 +211,7 @@
129211 /* JSAMPLEs per row in output buffer */
130212 row_stride = cinfo.output_width * cinfo.output_components;
131213 /* Make a one-row-high sample array that will go away when done with image */
132- buffer = (*cinfo.mem->alloc_sarray)
133- ((j_common_ptr) &cinfo, JPOOL_IMAGE, row_stride, 1);
214+ buffer = (*cinfo.mem->alloc_sarray)((j_common_ptr) &cinfo, JPOOL_IMAGE, row_stride, 1);
134215
135216 /* Step 6: while (scan lines remain to be read) */
136217 /* jpeg_read_scanlines(...); */
@@ -144,7 +225,7 @@
144225 (void) jpeg_read_scanlines(&cinfo, buffer, 1);
145226
146227 /* Assume put_scanline_someplace wants a pointer and sample count. */
147- line_size = 3 * cinfo.output_width;
228+ int line_size = 3 * cinfo.output_width;
148229
149230 //{ BlockWrite(outfile, buffer^, row_stride);}
150231
diff -r 98e9c130f1b0 -r 49b6e98eb6d1 trunk/sources.cc/pass1rtf.cc
--- a/trunk/sources.cc/pass1rtf.cc Sat Sep 18 10:03:12 2021 +0200
+++ b/trunk/sources.cc/pass1rtf.cc Sun Sep 19 01:14:26 2021 +0200
@@ -913,7 +913,7 @@
913913 goto FINISH;
914914 default: goto FINISH;
915915 }
916- cq->ActualPos=ftell(cq->wpd);;
916+ cq->ActualPos=ftell(cq->wpd);
917917 }
918918 return;
919919 FINISH:
diff -r 98e9c130f1b0 -r 49b6e98eb6d1 trunk/sources.cc/pass1wmf.cc
--- a/trunk/sources.cc/pass1wmf.cc Sat Sep 18 10:03:12 2021 +0200
+++ b/trunk/sources.cc/pass1wmf.cc Sun Sep 19 01:14:26 2021 +0200
@@ -961,7 +961,7 @@
961961 pVecLine->Close = false;
962962 VectList.AddObject(pVecLine); pVecLine=NULL;
963963
964- strcpy(ObjType,ObjName+1);
964+ sprintf(ObjType,"%s(%d;%d)", ObjName+1, LineX, LineY);
965965 return;
966966 }
967967 }
@@ -3255,7 +3255,7 @@
32553255 if(log!=NULL)
32563256 { /**/
32573257 fprintf(log, _("\n%*s{EMF func:%3Xh; size:%4lu; pos:%lXh}"),
3258- recursion*2,"",EmfRec.Type, (long)2*EmfRec.Size, (long)EmfRec.ParamFilePos);
3258+ recursion*2,"",EmfRec.Type, (long)EmfRec.Size, (long)EmfRec.ParamFilePos);
32593259 if(*ObjType!=0) fprintf(log," %s",ObjType);
32603260 }
32613261
diff -r 98e9c130f1b0 -r 49b6e98eb6d1 trunk/sources.cc/word/wvparser.c
--- a/trunk/sources.cc/word/wvparser.c Sat Sep 18 10:03:12 2021 +0200
+++ b/trunk/sources.cc/word/wvparser.c Sun Sep 19 01:14:26 2021 +0200
@@ -5414,7 +5414,7 @@
54145414 void wvBuildCLXForSimple6 (CLX * clx, FIB * fib)
54155415 {
54165416 wvInitCLX (clx);
5417- clx->nopcd = 1;;
5417+ clx->nopcd = 1;
54185418
54195419 clx->pcd = (PCD *) malloc (clx->nopcd * sizeof (PCD));
54205420 clx->pos = (__u32 *) malloc ((clx->nopcd + 1) * sizeof (__u32));
diff -r 98e9c130f1b0 -r 49b6e98eb6d1 trunk/styles.tex/wp2latex.sty
--- a/trunk/styles.tex/wp2latex.sty Sat Sep 18 10:03:12 2021 +0200
+++ b/trunk/styles.tex/wp2latex.sty Sun Sep 19 01:14:26 2021 +0200
@@ -85,19 +85,19 @@
8585 $%
8686 }%
8787 }
88-\providecommand{\alifted}{\charslifted{a}}
88+\providecommand{\astrike}{\charstrike{a}}
8989 \providecommand{\between}{\mbox{(\kern0.1ex\llap{)}}}
9090 \providecommand{\bigominus} {\mbox{\LARGE $\ominus$}}
9191 \providecommand{\bigsqcap} {\mbox{\LARGE $\sqcap$}}
9292 \providecommand{\because}{\mbox{$\raisebox{0.9ex}{.}\kern-0.1ex.\kern-0.1ex\raisebox{0.9ex}{.}$}}
9393 \providecommand{\bslash}{{\tt\char'134}}
9494 \providecommand{\degrees}{{\char'027}}
95-\providecommand{\charslifted}[1]{\raisebox{0.7ex}{\the\scriptfont0{#1}}}
95+\providecommand{\charstrike}[1]{\rlap{\kern.1ex\rule[.54ex]{.7ex}{.4pt}}\raisebox{0.8ex}{\scriptsize{#1}}}
9696 \providecommand{\identical}{\mbox{$\raisebox{0ex}{..}\kern-1.55ex\raisebox{0.9ex}{..}$}}
9797 \providecommand{\image}{\mbox{\rlap{\raisebox{1.1ex}{.}}=\llap{\raisebox{-0.25ex}{.}}}}
9898 \providecommand{\rimage}{\mbox{\rlap{\raisebox{-0.25ex}{.}}=\llap{\raisebox{1.1ex}{.}}}}
9999 \providecommand{\lowerquote}{\raisebox{-1.2ex}{"}}
100-\providecommand{\olifted}{\charslifted{o}}
100+\providecommand{\ostrike}{\charstrike{o}}
101101 \providecommand{\Tau}{\mathrm{T}}
102102 \providecommand{\therefore}{\mbox{$.\kern-0.1ex\raisebox{0.9ex}{.}\kern-0.1ex.$}}
103103 \providecommand{\gtlt}{\mbox{
diff -r 98e9c130f1b0 -r 49b6e98eb6d1 trunk/test/makefile
--- a/trunk/test/makefile Sat Sep 18 10:03:12 2021 +0200
+++ b/trunk/test/makefile Sun Sep 19 01:14:26 2021 +0200
@@ -55,7 +55,7 @@
5555 $(MKDIR) $@
5656
5757
58-bigtest: $(MAKEFILE_LIST) | $(OUTDIR)/
58+bigtest: $(MAKEFILE_LIST) | $(OUTDIR)
5959 $(WP2LATEX) -S -i test5.wp -o $(OUTDIR)/test5_ALL.tex -use-all
6060 $(WP2LATEX) -S -i test5.wp -o $(OUTDIR)/test5_t.tex -tipa
6161 $(WP2LATEX) -S -i test5.wp -o $(OUTDIR)/test5__.tex -no-tipa
Show on old repository browser