% -*- mode: tex -*-
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%                                STANDARD                                      %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\enabletrackers[fonts.missing]
\definefontfeature[default][default]
                  [protrusion=quality,
                    expansion=quality,
                    script=latn]
\setupalign[hz,hanging]
\setuptolerance[tolerant]
\setbreakpoints[compound]
\setupindenting[yes,1em]
\setupfootnotes[way=bychapter,align={hz,hanging}]
\setupbodyfont[modern] % this is a stinky workaround to load lmodern
\setupbodyfont[libertine,11pt]

\setuppagenumbering[alternative=singlesided,location={footer,middle}]
\setupcaptions[width=fit,align={hz,hanging},number=no]

\startmode[a4imposed,a4imposedbc,letterimposed,letterimposedbc,a5imposed,%
  a5imposedbc,halfletterimposed,halfletterimposedbc]
  \setuppagenumbering[alternative=doublesided]
\stopmode

\setupbodyfontenvironment[default][em=italic]


\setupheads[%
  sectionnumber=no,number=no,
  align=flushleft,
  align={flushleft,nothyphenated,verytolerant,stretch},
  indentnext=yes,
  tolerance=verytolerant]

\definehead[awikipart][chapter]

\setuphead[awikipart]
          [%
            number=no,
            footer=empty,
            style=\bfd,
            before={\blank[force,2*big]},
            align={middle,nothyphenated,verytolerant,stretch},
            after={\page[yes]}
          ]

% h3
\setuphead[chapter]
          [style=\bfc]

\setuphead[title]
          [style=\bfc]


% h4
\setuphead[section]
          [style=\bfb]

% h5
\setuphead[subsection]
          [style=\bfa]

% h6
\setuphead[subsubsection]
          [style=bold]


\setuplist[awikipart]
          [alternative=b,
            interaction=all,
            width=0mm,
            distance=0mm,
            before={\blank[medium]},
            after={\blank[small]},
            style=\bfa,
            criterium=all]
\setuplist[chapter]
          [alternative=c,
            interaction=all,
            width=1mm,
            before={\blank[small]},
            style=bold,
            criterium=all]
\setuplist[section]
          [alternative=c,
            interaction=all,
            width=1mm,
            style=\tf,
            criterium=all]
\setuplist[subsection]
          [alternative=c,
            interaction=all,
            width=8mm,
            distance=0mm,
            style=\tf,
            criterium=all]
\setuplist[subsubsection]
          [alternative=c,
            interaction=all,
            width=15mm,
            style=\tf,
            criterium=all]


% center

\definestartstop
  [awikicenter]
  [before={\blank[line]\startalignment[middle]},
   after={\stopalignment\blank[line]}]

% right

\definestartstop
  [awikiright]
  [before={\blank[line]\startalignment[flushright]},
   after={\stopalignment\blank[line]}]


% blockquote

\definestartstop
  [blockquote]
  [before={\blank[big]
    \setupnarrower[middle=1em]
    \startnarrower
    \setupindenting[no]
    \setupwhitespace[medium]},
  after={\stopnarrower
    \blank[big]}]

% verse

\definestartstop
  [awikiverse]
  [before={\blank[big]
      \setupnarrower[middle=2em]
      \startnarrower
      \startlines},
    after={\stoplines
      \stopnarrower
      \blank[big]}]

\definestartstop
  [awikibiblio]
  [before={%
      \blank[big]
      \setupnarrower[left=1em]
      \startnarrower[left]
        \setupindenting[yes,-1em,first]},
    after={\stopnarrower
      \blank[big]}]
                
% same as above, but with no spacing around
\definestartstop
  [awikiplay]
  [before={%
      \setupnarrower[left=1em]
      \startnarrower[left]
        \setupindenting[yes,-1em,first]},
    after={\stopnarrower}]



% interaction
% we start the interaction only if it's not an imposed format.
\startnotmode[a4imposed,a4imposedbc,letterimposed,letterimposedbc,a5imposed,%
  a5imposedbc,halfletterimposed,halfletterimposedbc]
  \setupinteraction[state=start,color=black,contrastcolor=black,style=bold]
  \placebookmarks[awikipart,chapter,section,subsection,subsubsection][force=yes]
  \setupinteractionscreen[option=bookmark]
\stopnotmode



\setupexternalfigures[%
  maxwidth=\textwidth,
  maxheight=\textheight,
  factor=fit]

\setupitemgroup[itemize][each][packed][indenting=no]

\definemakeup[titlepage][pagestate=start,doublesided=no]

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%                                IMPOSER                                       %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\startusercode

function optimize_signature(pages,min,max)
   local minsignature = min or 40
   local maxsignature = max or 80
   local originalpages = pages

   -- here we want to be sure that the max and min are actual *4
   if (minsignature%4) ~= 0 then
      global.texio.write_nl('term and log', "The minsig you provided is not a multiple of 4, rounding up")
      minsignature = minsignature + (4 - (minsignature % 4))
   end
   if (maxsignature%4) ~= 0 then
      global.texio.write_nl('term and log', "The maxsig you provided is not a multiple of 4, rounding up")
      maxsignature = maxsignature + (4 - (maxsignature % 4))
   end
   global.assert((minsignature % 4) == 0, "I suppose something is wrong, not a n*4")
   global.assert((maxsignature % 4) == 0, "I suppose something is wrong, not a n*4")

   --set needed pages to and and signature to 0
   local neededpages, signature = 0,0

   -- this means that we have to work with n*4, if not, add them to
   -- needed pages 
   local modulo = pages % 4
   if modulo==0 then
      signature=pages
   else
      neededpages = 4 - modulo
   end

   -- add the needed pages to pages
   pages = pages + neededpages
   
   if ((minsignature == 0) or (maxsignature == 0)) then 
      signature = pages -- the whole text
   else
      -- give a try with the signature
      signature = find_signature(pages, maxsignature)
      
      -- if the pages, are more than the max signature, find the right one
      if pages>maxsignature then
	 while signature<minsignature do
	    pages = pages + 4
	    neededpages = 4 + neededpages
	    signature = find_signature(pages, maxsignature)
	    --         global.texio.write_nl('term and log', "Trying signature of " .. signature)
	 end
      end
      global.texio.write_nl('term and log', "Parameters:: maxsignature=" .. maxsignature ..
		   " minsignature=" .. minsignature)

   end
   global.texio.write_nl('term and log', "ImposerMessage:: Original pages: " .. originalpages .. "; " .. 
	 "Signature is " .. signature .. ", " ..
	 neededpages .. " pages are needed, " .. 
	 pages ..  " of output")
   -- let's do it
   tex.print("\\dorecurse{" .. neededpages .. "}{\\page[empty]}")

end

function find_signature(number, maxsignature)
   global.assert(number>3, "I can't find the signature for" .. number .. "pages")
   global.assert((number % 4) == 0, "I suppose something is wrong, not a n*4")
   local i = maxsignature
   while i>0 do
      -- global.texio.write_nl('term and log', "Trying " .. i  .. "for max of " .. maxsignature)
      if (number % i) == 0 then
	 return i
      end
      i = i - 4
   end
end

\stopusercode

\define[1]\fillthesignature{
  \usercode{optimize_signature(#1, 40, 80)}}


\define\alibraryflushpages{
  \page[yes] % reset the page
  \fillthesignature{\the\realpageno}
}


% various papers 
\definepapersize[halfletter][width=5.5in,height=8.5in]
\definepapersize[halfafour][width=148.5mm,height=210mm]
\definepapersize[quarterletter][width=4.25in,height=5.5in]
\definepapersize[halfafive][width=105mm,height=148mm]
\definepapersize[generic][width=210mm,height=279.4mm]

%% this is the default ``paper'' which should work with both letter and a4

\setuppapersize[generic][generic]
\setuplayout[%
  backspace=42mm,
  topspace=31mm,% 176 / 15
  height=195mm,%130mm,
  footer=9mm, %
  header=0pt, % no header
  width=126mm] % 10.5 x 11

\startmode[libertine]
  \usetypescript[libertine]
  \setupbodyfont[libertine,11pt]
\stopmode

\startmode[pagella]
  \setupbodyfont[pagella,11pt]
\stopmode

\startmode[antykwa]
  \setupbodyfont[antykwa-poltawskiego,11pt]
\stopmode

\startmode[iwona]
  \setupbodyfont[iwona-medium,11pt]
\stopmode

\startmode[helvetica]
  \setupbodyfont[heros,11pt]
\stopmode

\startmode[century]
  \setupbodyfont[schola,11pt]
\stopmode

\startmode[modern]
  \setupbodyfont[modern,11pt]
\stopmode

\startmode[charis]
  \setupbodyfont[charis,11pt]
\stopmode        

\startmode[mini]
  \setuppapersize[S33][S33] % 176 × 176 mm
  \setuplayout[%
    backspace=20pt,
    topspace=15pt,% 176 / 15
    height=280pt,%130mm,
    footer=20pt, %
    header=0pt, % no header
    width=260pt] % 10.5 x 11
\stopmode

% for the plain A4 and letter, we use the classic LaTeX dimensions
% from the article class
\startmode[a4]
  \setuppapersize[A4][A4]
  \setuplayout[%
    backspace=42mm,
    topspace=45mm,
    height=218mm,
    footer=10mm,
    header=0pt, % no header
    width=126mm]
\stopmode

\startmode[letter]
  \setuppapersize[letter][letter]
  \setuplayout[%
    backspace=44mm,
    topspace=46mm,
    height=199mm,
    footer=10mm,
    header=0pt, % no header
    width=126mm]
\stopmode


% A4 imposed (A5), with no bc

\startmode[a4imposed]
% DIV=15 148 × 210: these are meant not to have binding correction,
  % but just to play safe, let's say 1mm => 147x210
  \setuppapersize[halfafour][halfafour]
  \setuplayout[%
    backspace=10.8mm, % 146/15 = 9.8 + 1
    topspace=14mm, % 210/15 =  14
    height=182mm, % 14 x 12 + 14 of the footer
    footer=14mm, %
    header=0pt, % no header
    width=117.6mm] % 9.8 x 12
\stopmode

% A4 imposed (A5), with bc
\startmode[a4imposedbc]
  \setuppapersize[halfafour][halfafour]
  \setuplayout[% 14 mm was a bit too near to the spine, using the glue binding
    backspace=17.3mm,  % 140/15 + 8 =
    topspace=14mm, % 210/15 =  14
    height=182mm, % 14 x 12 + 14 of the footer
    footer=14mm, %
    header=0pt, % no header
    width=112mm] % 9.333 x 12
\stopmode


\startmode[letterimposedbc] % 139.7mm x 215.9 mm
  \setuppapersize[halfletter][halfletter]
  % DIV=15 8mm binding corr, => 132 x 216
  \setuplayout[%
    backspace=16.8mm, % 8.8 + 8
    topspace=14.4mm, % 216/15 =  14.4
    height=187.2mm, % 15.4 x 11 + 15 of the footer
    footer=14.4mm, %
    header=0pt, % no header
    width=105.6mm] % 8.8 x 12
\stopmode

\startmode[letterimposed] % 139.7mm x 215.9 mm
  \setuppapersize[halfletter][halfletter]
  % DIV=15, 1mm binding correction. => 138.7x215.9
  \setuplayout[%
    backspace=10.3mm, % 9.24 + 1
    topspace=14.4mm, % 216/15 =  14.4
    height=187.2mm, % 15.4 x 11 + 15 of the footer
    footer=14.4mm, %
    header=0pt, % no header
    width=111mm] % 9.24 x 12
\stopmode

%%% new formats for mini books
%%% \definepapersize[halfafive][width=105mm,height=148mm]

\startmode[a5imposed]
% DIV=12 105x148 : these are meant not to have binding correction,
  % but just to play safe, let's say 1mm => 104x148
  \setuppapersize[halfafive][halfafive]
  \setuplayout[%
    backspace=9.6mm,
    topspace=12.3mm,
    height=123.5mm, % 14 x 12 + 14 of the footer
    footer=12.3mm, %
    header=0pt, % no header
    width=78.8mm] % 9.8 x 12
\stopmode

% A5 imposed (A6), with bc
\startmode[a5imposedbc]
% DIV=12 105x148 : with binding correction,
  % let's say 8mm => 96x148
  \setuppapersize[halfafive][halfafive]
  \setuplayout[%
    backspace=16mm,
    topspace=12.3mm,
    height=123.5mm, % 14 x 12 + 14 of the footer
    footer=12.3mm, %
    header=0pt, % no header
    width=72mm] % 9.8 x 12
\stopmode

%%% \definepapersize[quarterletter][width=4.25in,height=5.5in]

% DIV=12 width=4.25in (108mm),height=5.5in (140mm) 
\startmode[halfletterimposed] % 107x140
  \setuppapersize[quarterletter][quarterletter]
  \setuplayout[%
    backspace=10mm,
    topspace=11.6mm,
    height=116mm,
    footer=11.6mm,
    header=0pt, % no header
    width=80mm] % 9.24 x 12
\stopmode

\startmode[halfletterimposedbc]
  \setuppapersize[quarterletter][quarterletter]
  \setuplayout[%
    backspace=15.4mm,
    topspace=11.6mm,
    height=116mm,
    footer=11.6mm,
    header=0pt, % no header
    width=76mm] % 9.24 x 12
\stopmode

\startmode[quickimpose]
  \setuppapersize[A5][A4,landscape]
  \setuparranging[2UP]
  \setuppagenumbering[alternative=doublesided]
  \setuplayout[% 14 mm was a bit too near to the spine, using the glue binding
    backspace=17.3mm,  % 140/15 + 8 =
    topspace=14mm, % 210/15 =  14
    height=182mm, % 14 x 12 + 14 of the footer
    footer=14mm, %
    header=0pt, % no header
    width=112mm] % 9.333 x 12
\stopmode

\startmode[tenpt]
  \setupbodyfont[10pt]
\stopmode

\startmode[twelvept]
  \setupbodyfont[12pt]
\stopmode

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%                            DOCUMENT BEGINS                                   %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


\mainlanguage[en]


\starttext

\starttitlepagemakeup
  \startalignment[middle,nothanging,nothyphenated,stretch]


  \switchtobodyfont[18pt] % author
  {\bf \em

Joseph Déjacque  \par}
  \blank[2*big]
  \switchtobodyfont[24pt] % title
  {\bf

Scandal

\par}
  \blank[big]
  \switchtobodyfont[20pt] % subtitle
  {\bf 

\par}
  \vfill
  \stopalignment
  \startalignment[middle,bottom,nothyphenated,stretch,nothanging]
  \switchtobodyfont[global]

Friday, December 21, 2012

  \stopalignment
\stoptitlepagemakeup



\page[yes,right]

We live in an era of decadence. The world is peopled only with walking corpses. Everything that moves, moves slowly. A sovereign indolence weighs on nations and individuals alike. However, looking deeply into this human charnel house, we glimpse the subterranean life that stirs, swarms and sometimes ventures to the surface. Our century is a century of transition; under its visible inertia an immense transformation is taking place. This is not yet the complete death of the old social order, but it is already the beginning of the new. The operation, although it is latent, is nonetheless real. Government, property, family, religion, everything that makes up the organism of the civilized societies breaks down and begins to rot. There are no more morals; the morals of the past no longer have any sap; those of the future are still only a sprout. What is good for the one, is evil for the other. Justice has no criterion other than force; success legitimates all crimes. Mind and body are prostituted in the commerce of mercantile interests. Pleasures are no longer possible, if they are not the pleasures of the brute. Dignity, friendship, and love are banished from our mores, lie separated from one another, or perish, strangled, as soon as they want to dawn across this officially bourgeois society. There is no more grace or beauty in this world, no naïve smile or delicate kiss. The feeling for art is replaced by the taste for the disgusting and grotesque. Society, in its decrepitude,  resorts to bloody flagellations to over-stimulate its old carcass and sometimes still give itself some dreadful semblance of virility. Atony and gangrene have blunted all its capacities for labor, as well as for pleasure. It can no longer enjoy anything. For it, work is a punishment and pleasure a labor. It does not know what it wants or what it does not want. Everything weighs on it; it stumbles and sinks in all sorts of depravity and cowardice. It wants to escape from that horrible nightmare, to shake off the burden of degradation that suffocates it; it looks forward to waking up; it knows that it only has to stand up on its feet to destroy that oppression, and it is so drained that it does not have the strength to rise, or the courage to conquer its numbness. And yet the idea ferments in it, and enlightens it internally in its sleep, until it is powerful enough to make it open its eyes and shine from its pupils. One side of its life, its robe of flesh, is left in the sepulcher of the past; the other side, its mind or spirit, floats on the winds of the future.


It is up to us, revolutionaries, tatters of humanity whom the breath of progress lifts, social rags that the light of understanding colors with its purple fires, and that it displays above the Civilized like a scarecrow or a flag,—a scarecrow for those who want to remain stationary, and a flag for those who want to press forward,–it is up to us to stimulate the work of decomposition, up to us to try to indicate the stone that holds Humanity in immobility, up to us to open the paths of universal regeneration.


Two manners of acting present themselves to those who want to become propagators of new ideas. One is calm, scientific discussion, without renouncing anything of principles, to report them, and comment on them with a fine courtesy and firm restraint. This process consists of injecting truth drop by drop into minds that are already prepared, elite intelligences, still beset by error, but animated by good will. Missionaries of Liberty, preachers with smiling faces and caressing voices, (but not hypocrites,) with the honey of their words they pour conviction into the hearts of those who listen to them; they initiate into the knowledge of truth those who have a feeling for it. The other is bitter argument, although scientific as well, but which, standing firm in the principles as in a coat of mail, arms itself with Scandal as with an axe, to strike redoubled blows on the skulls of the prejudiced, and force them to move under their thick covering. For those, there are no words blistering enough, no expressions cutting enough to shatter all these ignorances of hardened steel, that that dark and weighty armor that blinds and deafens the dull masses of the people. All is good to them–the sharp sting and the boiling oil—in order to make these apathetic minds tremble to their heart of hearts, under their tortoise shells, and to make resonate, by tearing at them, these fibers which do not ring out. Aggressive circulators, wandering damned and damnators, they march, bloodthirsty and bleeding, sarcasm on the lips, the idea before them, torch in the hand, across hatreds and hisses, to the accomplishment of their fateful task; they convert as the spirit of hell converts: by bite and fire.


The two approaches are good and useful, depending on the sorts of listeners we encounter along our way. Some require one, and some require the other. For both, it is a matter of temperament, a question of their condition in the current society. They can even be alternately applied, according to the disposition of the mind or the environment in which we find ourselves. Both, if they do not back down from the principles, if they cling firmly to liberty, are {\em agents provocateurs} [in the sense of {\em inciting agents}] of the Revolution. However, in our civilized societies, it is the smallest number who are disposed to listen. The greatest number turn a deaf ear, and it is by Scandal that one pierces the eardrum.


How, anyway, not to employ words forged with the tongue of scorn to penetrate into this manure of the world where strut, like some like some poisonous mushrooms, the round, flat faces of the ignominious bourgeoisie. Can one employ anything but the teeth of a pitchfork to speak to these vegetations of legal matters? Does all of that feel? Does all of that think? Can a man with a heart live in such a society? Is he called to live only to drag along his days among that filthy rabble? Is it my fault, it is our fault, who have in our heart the poetry of the future, if nature has given us some disposition to love, an intelligence of the good, enthusiasm for the beautiful, and if we encounter at every step only intellectual and moral deformities? Is it our fault if in such a society we only find hate to dispense, if there we can only revel in disgust?


O Scandal! Vengeful fury, be my companion as long as the world remains the old world, as long as bourgeois obesity and obscenity ripen on the velour of exploitation, as long as servility and idiocy of the workers will grovel in the rut and under the halter of capital!


Yes, there must be some like me, like us–the cursed, the rebels–to march unbending–in the direction of progress, to move the inert blocks, to face the avalanches of stones and smooth the way for those who have the same goal, but who make the propaganda in less irritating forms, who engage in polemics with more peaceful epithets.


Scandal, avenging fury, to you my pen and my lips!


It is through you that shame enters the hearts of men. It is through you that their minds awaken to enlightenment. It is through you that the wicked tremble, and through you that the good hope.


If there is still, or rather if there is already some modesty in the world, Scandal, avenging fury, great redresser of morals, it is to you that it is owed.


It is you that forces enemies of the new idea to serve this idea by criticizing it. All who speak of socialism, for good or evil, spread socialism by spreading its name. Sooner or later truth emerges from untruth, it gets the better of its detractors in the long run. Only silence is harmful, and it is you, Scandal, who imposes speech on the mute and, whether they like it or not, forces them to make themselves heralds of that which they persecute.


Scandal, anarchic authority, you are more powerful than all the authorities of the official world. The kings and the bourgeois, the emperors and their subjects can only put the gag of death on the mouths of men; you, voice strident, fiber electric, you make even the stones speak!


O Scandal! Great educator of the deaf and mute, revolutionary breath, satanic deity, spread your wings and vibrate over the world; bring forth the idea from all these skulls of granite, like the sibylline sounds from the depths of the grottos.


Scandal, you are the organ that makes the Civilized bow down their heads in their shame, and that their thought raises up the spheres of future harmony.


Bellow and rumble still, provocative storm. Your thunder-bursts are a salutary anthem.


My pen and my lips are yours, Scandal!









\page[yes]

%%%% backcover

\startmode[a4imposed,a4imposedbc,letterimposed,letterimposedbc,a5imposed,%
  a5imposedbc,halfletterimposed,halfletterimposedbc,quickimpose]
\alibraryflushpages
\stopmode

\page[blank]

\startalignment[middle]
{\tfa The Anarchist Library
\blank[small]
Anti-Copyright}
\blank[small]
\currentdate
\stopalignment

\blank[big]
\framed[frame=off,location=middle,width=\textwidth]
       {\externalfigure[logo][width=0.25\textwidth]}



\vfill
\setupindenting[no]
\setsmallbodyfont

\startalignment[middle,nothyphenated,nothanging,stretch]

\blank[line]
% \framed[frame=off,location=middle,width=\textwidth]
%       {\externalfigure[logo][width=0.25\textwidth]}


Joseph Déjacque



Scandal






Friday, December 21, 2012


\stopalignment
\blank[line]

\startalignment[hyphenated,middle]


Essay from Le Libertaire No. 4 (August 2, 1858)



Retrieved on May 11\high{th}, 2014 from http://libertarian-labyrinth.blogspot.co.at/2012/12/the-scandalous-joseph-dejacque.html


\stopalignment

\stoptext


