NCSK Papers 3.3.5
=================

No installation is required.  Double-click ncsk-papers.exe.

You can drag files onto the window, pass files on the command line, or use
Ctrl+O.  Double-clicking another file hands it to the running window and
opens it in a new tab.  Keep the whole "ncsk-papers" folder together; ncsk-papers.exe
needs the data folder beside it.

Supported images: JPG, JPEG, JPE, JFIF, GIF, JP2, J2K, JPF, JPX, PNG, WEBP, TIF, TIFF, BMP, AVIF, HEIC, HEIF
Supported documents: PDF

Multi-page TIFF files open as one continuously scrollable tab with every
page available.  Single-page images open as a fitted single image.

PDF features
------------
- Fits the whole page to the window by default, with continuous scrolling.
- PDFs and images render asynchronously in a background worker at exact
  device resolution with Lanczos downsampling, crisp edge restoration, and
  pixel-aligned 1:1 blitting.
- High-zoom views (up to 2400%) render the visible viewport region at full
  device sharpness without exhausting memory.
- Page number entry (Ctrl+G), previous/next page buttons and page thumbnails.
- Continuous single-page view or two-page spread view.
- Text search, zoom and rotation.
- Accent-insensitive search: typing "elore" also finds előre, elôre, elöre, and
  the same folding works for French and other Latin accents.
- Drag with the left mouse button to select text; Ctrl+C copies it.
- Smart line unwrap: copied paragraphs automatically stitch broken lines and
  soft hyphens together, preserving bullet lists and real blank lines.
- Copy repair: overlapping layout spaces are removed, typographic ligatures are
  expanded, and legacy Hungarian ô/û glyphs are restored to ő/ű when the
  document is Hungarian.
- Floating Magnifier Loupe: hold Z anywhere on a document or image to display a
  circular 2.5×–6.0× magnifier following your cursor; turn the mouse wheel while
  holding Z to adjust loupe magnification.
- OCR Area Snip: click [T] Select text (or press T / Ctrl+Shift+T) on any image
  or scanned PDF to drag a box and copy recognized text directly to the clipboard
  using bundled offline Tesseract OCR.
- Built-in Calculator: click the calculator icon at the top right (or press
  Ctrl+Alt+C / F2) to open a docked right-side desk calculator that never covers
  the document. Supports expressions, percentage, keyboard/numpad input,
  calculation history tape, and 1-click clipboard copy.
- Middle-drag to pan. Right-click for quick actions. Ctrl+wheel zooms at the pointer.
- Fit page or fit width from the zoom menu.
- Save selected pages directly from the PDF toolbar, with a live page-range
  preview that leaves the document scrollable while open.
- Build PDF stays open while you switch tabs or scroll the documents behind it.
- Drag PDFs or images directly onto the Build PDF window.
- Drag sources in the Build PDF list to reorder them.
- Right-click anywhere in a document for rotate, save, create, search,
  page-jump, sidebar and file-location actions.
- Recent files are available from File > Recent files; the last export
  folder is remembered automatically.
- Build a new PDF from selected pages, combine multiple PDFs, add JPG/PNG/
  HEIC/AVIF/TIFF images as A4 pages, and reorder sources via
  File > Build PDF (Ctrl+Shift+B).

Settings
--------
On a fresh launch the viewer starts in Hungarian with the Graphite theme and
shows a short quick guide.  Press F1 to reopen the guide.

Settings are stored in viewer-settings.json beside the executable when that
folder is writable.  Language (English/Magyar), ten fixed color themes
(Graphite, Studio, Alfa, Sage, Sand, Slate, Midnight, NCSK,
NCSK Grey, NCSK Light), default PDF fit and view,
page thumbnails, automatic last-folder memory, and per-user Windows file associations
are available from File > Settings.  Themes apply immediately.

Use Settings > Set as default to register Portable Viewer and open its
Windows Default Apps page.  Windows still requires a final confirmation
there; no application can silently replace existing defaults.  Alternatively,
right-click a file > Open with > Choose another app > Portable Viewer > Always.

Tabs and categories
-------------------
- The tab-list button at the top right lists every open document.
- Shift+drag one tab onto another to create a named category.
- Right-click a tab to rename or remove its category, or close it.
- Categories are remembered by file path.

Shortcuts
---------
Ctrl+O                 Open files
Ctrl+W                 Close current tab
Ctrl+,                 Settings
Ctrl++ / Ctrl+-        Zoom in / out
Ctrl+Mouse wheel       Zoom around the pointer
Ctrl+0                 Fit page
Ctrl+Shift+0           Fit width
Shift+Alt+Left/Right   Rotate the document
Ctrl+F                 Search PDF text
Ctrl+C                 Copy selected PDF text
Hold Z (+ Scroll)      Magnifier loupe (inspect fine print)
T / Ctrl+Shift+T       Select & copy text from image (OCR)
Ctrl+Alt+C / F2        Toggle built-in calculator
Ctrl+G                 Go to page
Ctrl+Shift+S           Save selected pages from the current PDF
Ctrl+Shift+B           Build PDF from pages / merge PDFs / add images
Enter / Shift+Enter    Next / previous search match
Esc                    Close search / leave full screen
F11                    Full screen
Ctrl+Tab               Next tab
Ctrl+1–9               Switch directly to tab 1–9
F1                     Quick guide
PageUp / PageDown      Scroll by a screen
Home / End             Start / end of document

Examples
--------
The examples folder contains one test file for every supported extension.
Use them to test the viewer and to set Windows Open with associations:
right-click a file > Open with > Choose another app > Portable Viewer > Always.

Source files are never modified. Rotation and zoom are view-only; saving
pages and building PDFs create new files.
