From Wikisource
Jump to: navigation, search
Scriptorium Scriptorium (Help) Archives, Last archive
The Scriptorium is Wikisource's community discussion page. This subpage is especially designated for requests for help from more experienced Wikisourcers. Feel free to ask questions or leave comments. You may join any current discussion or a new one. Project members can often be found in the #wikisource IRC channel webclient.

This page is automatically archived by Wikisource-bot

Have you seen our help pages and FAQs?

Pages missing in djvu, how to insert?[edit]

I know this has been asked in the past, but the responses I found are of the "there, I did it for you" variety, and I want to learn how to fix this problem in the future. I am working on Index:Memoirs_of_a_Trait_in_the_Character_of_George_III.djvu and discovered that two pages are missing from the scan, specifically work pages 229 and 230, which should be in the index between 286 and 287. I have found another scan which includes those pages here.

I don't even know what tools to use. How does one:

  1. Extract two pages from a PDF file
  2. Insert those pages in a djvu file
  3. Correct the WS index after updating the file at commons?

(And feel free to point me at the documentation, which must exist somewhere around here.) Thanks in advance. -Xpctr8 (talk) 13:56, 29 June 2015 (UTC)

PDF pages can be extracted as images using the PDF24 Creator application. There are many such ways. After extraction of the pages as images, assemble them in a separate folder. Convert that folder to djvu using Djvu Toy or such other application. Then open the original djvu file using the edit option of Djvu Toy. Insert the new djvu file at appropriate location. Hope this helps. But mind, in the cyber world, there are many roads going to the same destination. This is just one of the roads. Hrishikes (talk) 14:35, 29 June 2015 (UTC)

A question about CSS classes[edit]

Do we have a single file for CSS "classes," if not, where are the CSS class declarations like "fsInherit"? — Ineuw talk 18:09, 29 June 2015 (UTC)

Technically we never had a "single file" for .css classes but to answer your question, the two main site specific .css files most likely for revisions, etc. are:
I can list the rest if one of those doesn't hold what you're looking for. -- George Orwell III (talk) 22:01, 29 June 2015 (UTC)
Thanks GO3, found it in MediaWiki:Gadget-enws-tweaks.css. — Ineuw talk 23:01, 29 June 2015 (UTC)

Language help[edit]

From time to time, I do the proofreading of Index:A History of Hindu Chemistry Vol 1.djvu. This work frequently has quotations and footnotes in Sanskrit, Greek, Latin, French and German. I have done the proofreading as best I could, but would appreciate if someone knowledgeable in languages could do some checking. Hrishikes (talk) 11:14, 1 July 2015 (UTC)

Hi Hrishikes, if you add the template {{greek missing}} to any Greek text you may find I'll add it for you. I can't help with the other languages though. Jpez (talk) 16:26, 1 July 2015 (UTC)
@Jpez: I had just gone ahead and put the text there, so right now I can't remember where the Greek words are; however, in another of my projects, you can help with the footnotes on this and this page and other pages. Thanks in advance. Hrishikes (talk) 16:45, 1 July 2015 (UTC)
I also keep an eye on Category:Pages with missing Greek characters, so anything tagged with {{greek missing}} will be gotten to eventually. I can help with Latin and French too if/whenever there is a list of problematic passages. —Beleg Tâl (talk) 16:57, 1 July 2015 (UTC)
So that explains why when I make my weekly visit to this category it's empty these days. Thanks for doing this. Beeswaxcandle (talk) 06:07, 2 July 2015 (UTC)
Speaking of which, would it not be prudent to make Category:Problematic language templates for common Latin-alphabet languages, for precisely this reason? —Beleg Tâl (talk) 16:59, 1 July 2015 (UTC)
We've avoided doing this, because it's assumed that the diacritics of the European languages that use the Latin alphabet are easily accessed through the Latin option on drop down menu on the CharInsert bar. But if it's felt to be something that would be useful, then {{diacritics missing}} could be created. I'm suggesting just one template, rather than proliferating for all the Latin and Germanic languages. Alternatively, could just use the existing {{symbol missing}}. Beeswaxcandle (talk) 06:07, 2 July 2015 (UTC)
For starters:

With thanks, Hrishikes (talk) 17:13, 1 July 2015 (UTC)

I've gone through most of them. They are all fine (better than some English-language proofreading I've seen) so there is no need for anything beyond the regular validation process. —Beleg Tâl (talk) 21:11, 2 July 2015 (UTC)
@Beleg Tâl: Many thanks. I was not really confident that they were OK. Though I try to be meticulous. Hrishikes (talk) 01:26, 3 July 2015 (UTC)

Reworking material from elsewhere[edit]

I teach history at the university level, and want to ensure that I am giving students texts that are accurate, cited properly, and legal. The Internet Sourcebook is a nightmare in these respects, and cannot be corrected since it is no longer maintained. Wikisource strikes me as one of the best available solutions for fixing this situation due to its ability to provide a clear and verifiable relationship to an original document, and to break things down into appropriate sections rather than giving students a link to one massive file representing the entire book. But the process for importing material from elsewhere is unclear to me. I've posted a few books on Project Gutenberg, creating files in their PG RST format, which can be easily converted into MediaWiki markup using Pandoc. It would be ideal if you had software that could take such a file and automatically break it up to match a set of imported photos, using the in-text page numbers.

I would also appreciate the ability to show in the text where I have corrected the original, and on looking through the archives I see many other limitations, such as the lack of a standard way to insert sidenotes: these are much easier to encode in TEI, and it seems that there has been some discussion of using it, but I cannot find anything more recent than 2013. It would be brilliant if you would consider supporting something like TEI Simple, since this would allow all sorts of accurate materials from elsewhere to be added and corrected, such as from the Text Creation Partnership.AndrewNJ (talk) 21:26, 4 July 2015 (UTC)

Delete pages from djvu[edit]

Hello, can someone please help me get rid of the two pages marked problematic (duplicate) here in this index before I star proofreading. Index:A Compendium of the Chief Doctrines of the True Christian Religion.djvu. Thanks in advance for any help. Jpez (talk) 08:46, 19 July 2015 (UTC)

Yes check.svg DoneBeleg Tâl (talk) 15:07, 21 July 2015 (UTC)
Thanks! Jpez (talk) 15:45, 21 July 2015 (UTC)

1911 Encyclopædia Britannica[edit]

I've been finding all sorts of newly appearing errors in parts of the 1911 EB that previously included no errors. There may have been a template change or a software bug; I do not know.

Two affected pages are:


Oddly, the volume 26 is not behaving like a DjVu file when I visit it on Commons, and this may have something to do with the problem. However, I can see no edits in the edit histories there (or here) that would suggest anything. --EncycloPetey (talk) 16:52, 20 July 2015 (UTC)

@EncycloPetey: This is an ongoing issue. Perhaps Wikisource:Scriptorium/Help/Archives/2015#Error:_Numeric_value_expected ought to be dragged back out of the archives and somehow "pinned" here until the underlying problem is resolved? AuFCL (talk) 21:20, 20 July 2015 (UTC)
Sounds like a good idea, provided you know how to pin the item here so that it is not bot-archived. --EncycloPetey (talk) 05:06, 21 July 2015 (UTC)
You've got me right there. I was hoping somebody else knew how to do that! AuFCL (talk) 06:29, 21 July 2015 (UTC)
Per User:Wikisource-bot#Delaying_or_preventing_archiving_of_particular_threads inserting, e.g. {{DNAU|120}} ought to pin this thread for 120 days. Worth doing? AuFCL (talk) 06:50, 21 July 2015 (UTC)

Iran nuclear deal[edit]

I can't figure out what is the license of the Joint Comprehensive Plan of Action: (links at the bottom)
Is it possible to put it on Wikisource? --Triggerhippie4 (talk) 18:38, 20 July 2015 (UTC)

@Triggerhippie4: Yes, you can put it onto Wikisource. Hard to tell immediately which licence the European Commission is releasing their documentation as it is vague here and aspirational here. I would say {{PD-EdictGov}} and have a poke at help:Copyright tags. If you have a source file (pdf or djvu), load it here, and we can look at it again, after some more opinions, then work out whether we copy to Commons. — billinghurst sDrewth 13:37, 21 July 2015 (UTC)

Alternative text of speech by King Edward VIII of UK in 1936: ok or not?[edit]

King Edward during his abdication crisis submitted his proposed text to the government. Is the text of that speech suitable for inclusion in Wikisource? Darmokand (talk) 09:34, 24 July 2015 (UTC)

Help is needed for a mysterious hanging indent problem[edit]

Can someone please look at this mystery? About halfway down the page there is a problem with the hanging indent of this index entry and can't figure why. All other entries with identical hanging indent, {{ts|padding-left:12.8em;text-indent:-10.2em;}}, line up perfectly. Cornell University. First Annual Report of the Agricultural Experiment Station, 1888 etc.Ineuw talk 06:13, 26 July 2015 (UTC)

They all lined perfectly because none of the initial strings were long enough to need wrapping; only the subsequent 2nd or 3rd entries needed it (plus were "padded" with template:gap). The difference between padding and indent should have followed the premise set by the rest of the "normal" entries (padding-left:4em; text-indent:-2em has a diff of 2.0em while padding-left:12.8em & text-indent:-10.2em is a diff of 2.6em) when it came to those exceptional lines (padding-left:12em; text-indent:-10em is still a diff of only 2.0em in other words). -- George Orwell III (talk) 08:48, 26 July 2015 (UTC)
and fyi... view that page again and tick your browser's select all option to "highlight" everything; note the normally "invisible" yet still clickable "hash" marks in the right margin. -- George Orwell III (talk) 08:55, 26 July 2015 (UTC)
Yes! Everything makes sense and thanks a lot. I suspected the wrap and noticed the clickable hash marks but didn't know what to make of it. As for the padding/indent differences, I tried to line up the text as in the original, but will settle for close. — Ineuw talk 16:18, 26 July 2015 (UTC)
n.b.:Instead of using two {{gap}} templates, you could use a single {{ditto}} template, and everything would align precisely. --EncycloPetey (talk) 20:01, 26 July 2015 (UTC)