Documentation for %l

This commit is contained in:
Jean-Francois Dockes 2022-01-07 11:52:06 +01:00
parent 7b42907441
commit f8e556fcee
2 changed files with 44 additions and 24 deletions

View File

@ -10758,17 +10758,28 @@ other = rclcat:other
<li class="listitem"> <li class="listitem">
<p><b>%p.&nbsp;</b>Page index. Only significant for <p><b>%p.&nbsp;</b>Page index. Only significant for
a subset of document types, currently only PDF, a subset of document types, currently only PDF,
Postscript and DVI files. Can be used to start the Postscript and DVI files. If it is set, a
editor at the right page for a match or significant term will be chosen in the query, and
snippet.</p> %p will be substituted with the first page where
the term appears. Can be used to start the editor
at the right page for a match or snippet.</p>
</li>
<li class="listitem">
<p><b>%l.&nbsp;</b>Line number. Only significant
for document types with relevant line breaks,
mostly text/plain and analogs. If it is set, a
significant term will be chosen in the query, and
%p will be substituted with the first line where
the term appears.</p>
</li> </li>
<li class="listitem"> <li class="listitem">
<p><b>%s.&nbsp;</b>Search term. The value will only <p><b>%s.&nbsp;</b>Search term. The value will only
be set for documents with indexed page numbers (ie: be set for documents with indexed page or line
PDF). The value will be one of the matched search numbers and if %p or %l is also used. The value
terms. It would allow pre-setting the value in the will be one of the matched search terms. It would
"Find" entry inside Evince for example, for easy allow pre-setting the value in the "Find" entry
highlighting of the term.</p> inside Evince for example, for easy highlighting of
the term.</p>
</li> </li>
<li class="listitem"> <li class="listitem">
<p><b>%u.&nbsp;</b>Url.</p> <p><b>%u.&nbsp;</b>Url.</p>

View File

@ -5,7 +5,7 @@
<!ENTITY RCL "<application>Recoll</application>"> <!ENTITY RCL "<application>Recoll</application>">
<!ENTITY RCLAPPS "<ulink url='http://www.recoll.org/pages/features.html#doctypes'>http://www.recoll.org/pages/features.html</ulink>"> <!ENTITY RCLAPPS "<ulink url='http://www.recoll.org/pages/features.html#doctypes'>http://www.recoll.org/pages/features.html</ulink>">
<!ENTITY RCLVERSION "1.31"> <!ENTITY RCLVERSION "1.32">
<!ENTITY XAP "<application>Xapian</application>"> <!ENTITY XAP "<application>Xapian</application>">
<!ENTITY WIN "<application>Windows</application>"> <!ENTITY WIN "<application>Windows</application>">
<!ENTITY LIN "<application>Unix</application>-like systems"> <!ENTITY LIN "<application>Unix</application>-like systems">
@ -7114,28 +7114,37 @@ other = rclcat:other
(possibly a script) to be able to handle it.</para></formalpara> (possibly a script) to be able to handle it.</para></formalpara>
</listitem> </listitem>
<listitem><formalpara><title>%M</title> <listitem>
<para>MIME type</para></formalpara> <formalpara><title>%M</title><para>MIME type</para></formalpara>
</listitem> </listitem>
<listitem><formalpara><title>%p</title> <listitem>
<para>Page index. Only significant for a subset of document <formalpara><title>%p</title><para>Page index. Only significant for a subset of
types, currently only PDF, Postscript and DVI files. Can be document types, currently only PDF, Postscript and DVI files. If it is set, a
used to start the editor at the right page for a match or significant term will be chosen in the query, and %p will be substituted with the
snippet.</para></formalpara> first page where the term appears. Can be used to start the editor at the right page
for a match or snippet.</para></formalpara>
</listitem> </listitem>
<listitem><formalpara><title>%s</title> <listitem>
<para>Search term. The value will only be set for documents <formalpara><title>%l</title><para>Line number. Only significant for document
with indexed page numbers (ie: PDF). The value will be one of types with relevant line breaks, mostly text/plain and analogs. If it is set, a
the matched search terms. It would allow pre-setting the significant term will be chosen in the query, and %p will be substituted with the
value in the "Find" entry inside Evince for example, for easy first line where the term appears.</para></formalpara>
highlighting of the term.</para></formalpara>
</listitem> </listitem>
<listitem><formalpara><title>%u</title> <listitem>
<para>Url.</para></formalpara> <formalpara><title>%s</title><para>Search term. The value will only be set for
documents with indexed page or line numbers and if %p or %l is also used. The value
will be one of the matched search terms. It would allow pre-setting the value in the
"Find" entry inside Evince for example, for easy highlighting of the
term.</para></formalpara>
</listitem> </listitem>
<listitem>
<formalpara><title>%u</title><para>Url.</para></formalpara>
</listitem>
</itemizedlist> </itemizedlist>
<para>In addition to the predefined values above, all strings like <para>In addition to the predefined values above, all strings like