Author's text and editor's footnotes, kept apart
See how Maktabah keeps the author's text apart from the editor's footnotes in the reader, in search results and in the Quran Gallery MCP.
On this page
Maktabah keeps a page’s main text, which is the author’s, apart from the editor’s footnotes, and it says which layer a search matched.
In the reader
- Read the main text as the author’s words.
- Look below it for Editor’s footnotes. The line above them reads: “Footnotes are the editor’s words, not the author’s.”
- Choose a reference in the main text, such as (1). The editor’s note opens beside the page.
- Use Back to the text in the note to return to the reference.
A page that has footnotes shows them under that heading. The notes can quote another scholar, and the quotation is still the editor’s, not the author’s.
In search results
- By default, search looks at the main text. Tick Also search the footnotes to include the editor’s notes.
- Exact spelling always checks both the main text and the footnotes, so the box is hidden in that mode.
- When the matched words come from a note, the result labels them In the footnotes and shows the note apart from the main text snippet.
In the Quran Gallery MCP
For developers, every passage from shamela_search_library carries a matchedIn field: body for the author’s text, footnote for the editor’s note, both when the words occur in each, and unknown when the layer cannot be told. The raw shamela_search tool also accepts search_in with body or foot.
Read Separate the author’s text from the editor’s footnotes for the field list and live examples.
Next steps
Questions
How do I know if a sentence is the author's or the editor's?
In the reader the main text is the author's. The notes under Editor's footnotes are the editor's words.
Does search look in the footnotes?
Not by default. Tick Also search the footnotes. Exact spelling always checks the main text and the footnotes.
What does In the footnotes mean in a result?
The matched words appear in the editor's note, not in the author's text.
How do I read a footnote from the page?
Choose its reference in the text, for example (1). The editor's note opens beside the page.
How does a developer see which layer matched?
Each MCP passage has a matchedIn field: body, footnote, both or unknown. The raw search tools also accept search_in with body or foot.