Quote:
Originally Posted by hug
Congratulations for a nice job! 
I read a lot of scientific articles on real paper mostly because multi-column pdfs with tables and pictures tend to go horribly wrong with ADE. I might convert them from pdf to DjVu and read them using your DjVu viewer. My first impressions are positive, but setting the right amount of horizontal step to match the two columns (sometimes not half-half) is time-consuming. I don't understand how the "Toggle multicolumn mode", works or when it is on or off. Could you please give some hints?
Thanks in advance!!!
|
Thank you. Multicolumn mode works like this --- pressing Next page (i.e. '0' in portrait or '9' in landscape mode) checks if the current window position is "at the bottom of the page BUT there is some space on the right to move the window to" and if it is true then it shifts the window to the right AND all the way up to the top of the page. This has the effect of "switching to the next column". The number of columns could be more than 2. For example some chess books and ancient Bible editions have 3 columns and you can simply zoom in appropriately to see just the column you desire. Then just pressing "next/previous page" buttons will slide your window along the current column and switch to the next one when you hit the bottom of the page and only when there is no more space on the right the page will be turned and window positioned at the upper leftmost position on it.
Note that there is a tiny "bug" or assumption here. Namely, it all works fine on European i.e. left-to-right books. But if you read a multicolumn book in Hebrew or Arabic or Syriac or other such language that uses "right to left" direction then the above algorithm will move your window in the wrong (ie left-to-right) way...