2026-07-18 18:48:23 +02:00
|
|
|
|
#[
|
|
|
|
|
|
The targets in the SKS use the LaTeX convention for converting ASCII
|
|
|
|
|
|
characters into standard typographical characters. This is done
|
|
|
|
|
|
by LaTeX by default; other targets must use the transforms parameter
|
|
|
|
|
|
of Parameter_set, as defined for the m_parameters variable of the
|
|
|
|
|
|
Target_set class. (See file target_set.cpp.)
|
|
|
|
|
|
|
|
|
|
|
|
The LaTeX transformations supported by the SKS are:
|
|
|
|
|
|
|
|
|
|
|
|
-- -> en-dash
|
|
|
|
|
|
--- -> em-dash
|
|
|
|
|
|
` -> open single quote
|
|
|
|
|
|
' -> close single quote
|
|
|
|
|
|
`` -> open double quote
|
|
|
|
|
|
'' -> close double quote
|
|
|
|
|
|
~ -> non-breaking space
|
|
|
|
|
|
|
|
|
|
|
|
]#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@@@target txt | Plain text with formatting | # This txt target is not full implemented in the SKS yet.
|
|
|
|
|
|
-- - |
|
|
|
|
|
|
--- -- |
|
|
|
|
|
|
`` " |
|
|
|
|
|
|
'' " |
|
|
|
|
|
|
` ` |
|
|
|
|
|
|
' ' |
|
|
|
|
|
|
~ ^0020^
|
|
|
|
|
|
:after_apply
|
|
|
|
|
|
phases.justify_blocks
|
|
|
|
|
|
@@@
|
|
|
|
|
|
|
|
|
|
|
|
@@@target html | HTML page
|
|
|
|
|
|
# :escape < < & & |
|
|
|
|
|
|
|
|
|
|
|
|
|
--- — |
|
|
|
|
|
|
-- – |
|
|
|
|
|
|
`` “ |
|
|
|
|
|
|
'' ” |
|
|
|
|
|
|
` ‘ |
|
|
|
|
|
|
' ’ |
|
|
|
|
|
|
^^~ ˜ |
|
|
|
|
|
|
~
|
|
|
|
|
|
@@@
|
|
|
|
|
|
|
|
|
|
|
|
@@@target tex | LaTeX
|
2026-07-25 21:16:21 +02:00
|
|
|
|
:escape \ \textbackslash{} & \& { \{ } \} $ \$ % \% _ \_ ^# \^# ^^ \textasciicircum{}
|
2026-07-18 18:48:23 +02:00
|
|
|
|
@@@
|
|
|
|
|
|
|
|
|
|
|
|
@@@target pdf | PDF from LaTeX
|
|
|
|
|
|
:includes tex
|
|
|
|
|
|
:after_apply
|
|
|
|
|
|
^:cpp *KLAMMERTEXT_HOME*/sks/document/document tex_to_pdf
|
|
|
|
|
|
@@@
|
|
|
|
|
|
|