Hey list, I have an important document online that I would prefer to keep as a PDF and not in another format. Unfortunately bots frequently try to provide those looking for it with a text version they try to extract (beyond my control). The extraction looks just absolutely awful and has been a major pain in leaving readers with a really bad understanding of the contents of the document. I was thinking that there must be some way of tricking these bots, depending on how they are implemented, and let's assume they will always find the PDF, to get them to extract only a small invisible layer that just contains some hidden text directing a user to the location to download the original high quality ConTeXt PDF. Any suggestions? -- Kip Warner -- Senior Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com
On Wed, Aug 19 2015, Kip Warner wrote:
I was thinking that there must be some way of tricking these bots, depending on how they are implemented, and let's assume they will always find the PDF, to get them to extract only a small invisible layer that just contains some hidden text directing a user to the location to download the original high quality ConTeXt PDF.
Even if you would find a way today, tomorrow there would be other bots, that see the same text, as the humans.
Any suggestions?
Get the value of HTTP_USER_AGENT and send the replacement text, if the agent is a bot. Or use robots.txt. -- Peter
On Wed, 2015-08-19 at 23:35 +0200, Peter Münster wrote:
Even if you would find a way today, tomorrow there would be other bots, that see the same text, as the humans.
Yes, probably.
Get the value of HTTP_USER_AGENT and send the replacement text, if the agent is a bot. Or use robots.txt.
I'll give that some thought. Thank you. -- Kip Warner -- Senior Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com
List: I'm trying to create a table with this effect: Parcel |Area ⎧ | 1 acre trees parcel 1 ⎨ | 2 acre vines ⎩ | 3 acre open ⎧ | 5 acre trees parcel 2 ⎨ | 6 acre vines ⎩ | 4 acre open In other words, I would like a big curly bracket with leftwards point spanning three table rows to tell the reader that the leftmost column's entries apply to a three-row span in the next column (a style often seen in tables in older books). I've tried, probably naively, the following approach, using the unicode symbols for the bracket pieces and alternatively using math-mode symbols found in http://meeting.contextgarden.net/2011/talks/day3_05_ulrik_opentype/Samples/u... "Every symbol defined by unicode-math". The symbols are recognized in neither form, unfortunately. Any suggestions on how I can either make these symbols render, or a different approach to achieve my goal? Complete test document: \enableregime[utf]\setuppapersize[letter][letter] \usetypescript[serif,sans,mono][hanging][normal] \setupalign[hanging] \usetypescript[modern-base][texnansi] \setupbodyfont[reset] \setupbodyfont[modern] \definetypeface[boldmath][mm][boldmath][modern][default] \usemodule[cmscbf] \usemodule[unicode-math] \setupbodyfont[11pt] \starttext \bTABLE \bTR{}\bTD{}Parcel \eTD\bTD{} \eTD\bTD Area \eTD\eTR% \bTR{}\bTD{} \eTD\bTD{}\mathematics{\lbraceuend} \eTD\bTD 1 \eTD\eTR% \bTR{}\bTD{}parcel 2 \eTD\bTD{}\mathematics{\lbracemid} \eTD\bTD 2 \eTD\eTR% \bTR{}\bTD{} \eTD\bTD{}\mathematics{\lbracelend} \eTD\bTD 3 \eTD\eTR% \eTABLE \bTABLE \bTR{}\bTD{} \eTD\bTD{}⎧ \eTD\bTD 1 \eTD\eTR% \bTR{}\bTD{}parcel 4 \eTD\bTD{}⎨ \eTD\bTD 2 \eTD\eTR% \bTR{}\bTD{} \eTD\bTD{}⎩ \eTD\bTD 3 \eTD\eTR% \eTABLE \stoptext -- Henry House
On Thu, 20 Aug 2015, Henry House wrote:
List:
I'm trying to create a table with this effect:
Parcel |Area ⎧ | 1 acre trees parcel 1 ⎨ | 2 acre vines ⎩ | 3 acre open ⎧ | 5 acre trees parcel 2 ⎨ | 6 acre vines ⎩ | 4 acre open
In other words, I would like a big curly bracket with leftwards point spanning three table rows to tell the reader that the leftmost column's entries apply to a three-row span in the next column (a style often seen in tables in older books).
Any suggestions on how I can either make these symbols render, or a different approach to achieve my goal?
As an alternative, have you considered separating the groups by white space. For example: \starttext \bTABLE[frame=off, loffset=0.5em] \bTH \bTD Parcel \eTD \bTD Area \eTD \eTH \bTR \bTD[nr=3, align={lohi}] Parcel 1 \eTD \bTD 1 acre trees \eTD \eTR \bTR \bTD 2 acre vines \eTD \eTR \bTR \bTD 3 acre open \eTD \eTR \bTR[topdistance=\lineheight] \bTR \bTD[nr=3, align={lohi}] Parcel 2 \eTD \bTD 5 acre trees \eTD \eTR \bTR \bTD 6 acre vines \eTD \eTR \bTR \bTD 4 acre open \eTD \eTR \eTABLE \stoptext Aditya
participants (4)
-
Aditya Mahajan
-
Henry House
-
Kip Warner
-
Peter Münster