1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321263222632326324263252632626327263282632926330263312633226333263342633526336263372633826339263402634126342263432634426345263462634726348263492635026351263522635326354263552635626357263582635926360263612636226363263642636526366263672636826369263702637126372263732637426375263762637726378263792638026381263822638326384263852638626387263882638926390263912639226393263942639526396263972639826399264002640126402264032640426405264062640726408264092641026411264122641326414264152641626417264182641926420264212642226423264242642526426264272642826429264302643126432264332643426435264362643726438264392644026441264422644326444264452644626447264482644926450264512645226453264542645526456264572645826459264602646126462264632646426465264662646726468264692647026471264722647326474264752647626477264782647926480264812648226483264842648526486264872648826489264902649126492264932649426495264962649726498264992650026501265022650326504265052650626507265082650926510265112651226513265142651526516265172651826519265202652126522265232652426525265262652726528265292653026531265322653326534265352653626537265382653926540265412654226543265442654526546265472654826549265502655126552265532655426555265562655726558265592656026561265622656326564265652656626567265682656926570265712657226573265742657526576265772657826579265802658126582265832658426585265862658726588265892659026591265922659326594265952659626597265982659926600266012660226603266042660526606266072660826609266102661126612266132661426615266162661726618266192662026621266222662326624266252662626627266282662926630266312663226633266342663526636266372663826639266402664126642266432664426645266462664726648266492665026651266522665326654266552665626657266582665926660266612666226663266642666526666266672666826669266702667126672266732667426675266762667726678266792668026681266822668326684266852668626687266882668926690266912669226693266942669526696266972669826699267002670126702267032670426705267062670726708267092671026711267122671326714267152671626717267182671926720267212672226723267242672526726267272672826729267302673126732267332673426735267362673726738267392674026741267422674326744267452674626747267482674926750267512675226753267542675526756267572675826759267602676126762267632676426765267662676726768267692677026771267722677326774267752677626777267782677926780267812678226783267842678526786267872678826789267902679126792267932679426795267962679726798267992680026801268022680326804268052680626807268082680926810268112681226813268142681526816268172681826819268202682126822268232682426825268262682726828268292683026831268322683326834268352683626837268382683926840268412684226843268442684526846268472684826849268502685126852268532685426855268562685726858268592686026861268622686326864268652686626867268682686926870268712687226873268742687526876268772687826879268802688126882268832688426885268862688726888268892689026891268922689326894268952689626897268982689926900269012690226903269042690526906269072690826909269102691126912269132691426915269162691726918269192692026921269222692326924269252692626927269282692926930269312693226933269342693526936269372693826939269402694126942269432694426945269462694726948269492695026951269522695326954269552695626957269582695926960269612696226963269642696526966269672696826969269702697126972269732697426975269762697726978269792698026981269822698326984269852698626987269882698926990269912699226993269942699526996269972699826999270002700127002270032700427005270062700727008270092701027011270122701327014270152701627017270182701927020270212702227023270242702527026270272702827029270302703127032270332703427035270362703727038270392704027041270422704327044270452704627047270482704927050270512705227053270542705527056270572705827059270602706127062270632706427065270662706727068270692707027071270722707327074270752707627077270782707927080270812708227083270842708527086270872708827089270902709127092270932709427095270962709727098270992710027101271022710327104271052710627107271082710927110271112711227113271142711527116271172711827119271202712127122271232712427125271262712727128271292713027131271322713327134271352713627137271382713927140271412714227143271442714527146271472714827149271502715127152271532715427155271562715727158271592716027161271622716327164271652716627167271682716927170271712717227173271742717527176271772717827179271802718127182271832718427185271862718727188271892719027191271922719327194271952719627197271982719927200272012720227203272042720527206272072720827209272102721127212272132721427215272162721727218272192722027221272222722327224272252722627227272282722927230272312723227233272342723527236272372723827239272402724127242272432724427245272462724727248272492725027251272522725327254272552725627257272582725927260272612726227263272642726527266272672726827269272702727127272272732727427275272762727727278272792728027281272822728327284272852728627287272882728927290272912729227293272942729527296272972729827299273002730127302273032730427305273062730727308273092731027311273122731327314273152731627317273182731927320273212732227323273242732527326273272732827329273302733127332273332733427335273362733727338273392734027341273422734327344273452734627347273482734927350273512735227353273542735527356273572735827359273602736127362273632736427365273662736727368273692737027371273722737327374273752737627377273782737927380273812738227383273842738527386273872738827389273902739127392273932739427395273962739727398273992740027401274022740327404274052740627407274082740927410274112741227413274142741527416274172741827419274202742127422274232742427425274262742727428274292743027431274322743327434274352743627437274382743927440274412744227443274442744527446274472744827449274502745127452274532745427455274562745727458274592746027461274622746327464274652746627467274682746927470274712747227473274742747527476274772747827479274802748127482274832748427485274862748727488274892749027491274922749327494274952749627497274982749927500275012750227503275042750527506275072750827509275102751127512275132751427515275162751727518275192752027521275222752327524275252752627527275282752927530275312753227533275342753527536275372753827539275402754127542275432754427545275462754727548275492755027551275522755327554275552755627557275582755927560275612756227563275642756527566275672756827569275702757127572275732757427575275762757727578275792758027581275822758327584275852758627587275882758927590275912759227593275942759527596275972759827599276002760127602276032760427605276062760727608276092761027611276122761327614276152761627617276182761927620276212762227623276242762527626276272762827629276302763127632276332763427635276362763727638276392764027641276422764327644276452764627647276482764927650276512765227653276542765527656276572765827659276602766127662276632766427665276662766727668276692767027671276722767327674276752767627677276782767927680276812768227683276842768527686276872768827689276902769127692276932769427695276962769727698276992770027701277022770327704277052770627707277082770927710277112771227713277142771527716277172771827719277202772127722277232772427725277262772727728277292773027731277322773327734277352773627737277382773927740277412774227743277442774527746277472774827749277502775127752277532775427755277562775727758277592776027761277622776327764277652776627767277682776927770277712777227773277742777527776277772777827779277802778127782277832778427785277862778727788277892779027791277922779327794277952779627797277982779927800278012780227803278042780527806278072780827809278102781127812278132781427815278162781727818278192782027821278222782327824278252782627827278282782927830278312783227833278342783527836278372783827839278402784127842278432784427845278462784727848278492785027851278522785327854278552785627857278582785927860278612786227863278642786527866278672786827869278702787127872278732787427875278762787727878278792788027881278822788327884278852788627887278882788927890278912789227893278942789527896278972789827899279002790127902279032790427905279062790727908279092791027911279122791327914279152791627917279182791927920279212792227923279242792527926279272792827929279302793127932279332793427935279362793727938279392794027941279422794327944279452794627947279482794927950279512795227953279542795527956279572795827959279602796127962279632796427965279662796727968279692797027971279722797327974279752797627977279782797927980279812798227983279842798527986279872798827989279902799127992279932799427995279962799727998279992800028001280022800328004280052800628007280082800928010280112801228013280142801528016280172801828019280202802128022280232802428025280262802728028280292803028031280322803328034280352803628037280382803928040280412804228043280442804528046280472804828049280502805128052280532805428055280562805728058280592806028061280622806328064280652806628067280682806928070280712807228073280742807528076280772807828079280802808128082280832808428085280862808728088280892809028091280922809328094280952809628097280982809928100281012810228103281042810528106281072810828109281102811128112281132811428115281162811728118281192812028121281222812328124281252812628127281282812928130281312813228133281342813528136281372813828139281402814128142281432814428145281462814728148281492815028151281522815328154281552815628157281582815928160281612816228163281642816528166281672816828169281702817128172281732817428175281762817728178281792818028181281822818328184281852818628187281882818928190281912819228193281942819528196281972819828199282002820128202282032820428205282062820728208282092821028211282122821328214282152821628217282182821928220282212822228223282242822528226282272822828229282302823128232282332823428235282362823728238282392824028241282422824328244282452824628247282482824928250282512825228253282542825528256282572825828259282602826128262282632826428265282662826728268282692827028271282722827328274282752827628277282782827928280282812828228283282842828528286282872828828289282902829128292282932829428295282962829728298282992830028301283022830328304283052830628307283082830928310283112831228313283142831528316283172831828319283202832128322283232832428325283262832728328283292833028331283322833328334283352833628337283382833928340283412834228343283442834528346283472834828349283502835128352283532835428355283562835728358283592836028361283622836328364283652836628367283682836928370283712837228373283742837528376283772837828379283802838128382283832838428385283862838728388283892839028391283922839328394283952839628397283982839928400284012840228403284042840528406284072840828409284102841128412284132841428415284162841728418284192842028421284222842328424284252842628427284282842928430284312843228433284342843528436284372843828439284402844128442284432844428445284462844728448284492845028451284522845328454284552845628457284582845928460284612846228463284642846528466284672846828469284702847128472284732847428475284762847728478284792848028481284822848328484284852848628487284882848928490284912849228493284942849528496284972849828499285002850128502285032850428505285062850728508285092851028511285122851328514285152851628517285182851928520285212852228523285242852528526285272852828529285302853128532285332853428535285362853728538285392854028541285422854328544285452854628547285482854928550285512855228553285542855528556285572855828559285602856128562285632856428565285662856728568285692857028571285722857328574285752857628577285782857928580285812858228583285842858528586285872858828589285902859128592285932859428595285962859728598285992860028601286022860328604286052860628607286082860928610286112861228613286142861528616286172861828619286202862128622286232862428625286262862728628286292863028631286322863328634286352863628637286382863928640286412864228643286442864528646286472864828649286502865128652286532865428655286562865728658286592866028661286622866328664286652866628667286682866928670286712867228673286742867528676286772867828679286802868128682286832868428685286862868728688286892869028691286922869328694286952869628697286982869928700287012870228703287042870528706287072870828709287102871128712287132871428715287162871728718287192872028721287222872328724287252872628727287282872928730287312873228733287342873528736287372873828739287402874128742287432874428745287462874728748287492875028751287522875328754287552875628757287582875928760287612876228763287642876528766287672876828769287702877128772287732877428775287762877728778287792878028781287822878328784287852878628787287882878928790287912879228793287942879528796287972879828799288002880128802288032880428805288062880728808288092881028811288122881328814288152881628817288182881928820288212882228823288242882528826288272882828829288302883128832288332883428835288362883728838288392884028841288422884328844288452884628847288482884928850288512885228853288542885528856288572885828859288602886128862288632886428865288662886728868288692887028871288722887328874288752887628877288782887928880288812888228883288842888528886288872888828889288902889128892288932889428895288962889728898288992890028901289022890328904289052890628907289082890928910289112891228913289142891528916289172891828919289202892128922289232892428925289262892728928289292893028931289322893328934289352893628937289382893928940289412894228943289442894528946289472894828949289502895128952289532895428955289562895728958289592896028961289622896328964289652896628967289682896928970289712897228973289742897528976289772897828979289802898128982289832898428985289862898728988289892899028991289922899328994289952899628997289982899929000290012900229003290042900529006290072900829009290102901129012290132901429015290162901729018290192902029021290222902329024290252902629027290282902929030290312903229033290342903529036290372903829039290402904129042290432904429045290462904729048290492905029051290522905329054290552905629057290582905929060290612906229063290642906529066290672906829069290702907129072290732907429075290762907729078290792908029081290822908329084290852908629087290882908929090290912909229093290942909529096290972909829099291002910129102291032910429105291062910729108291092911029111291122911329114291152911629117291182911929120291212912229123291242912529126291272912829129291302913129132291332913429135291362913729138291392914029141291422914329144291452914629147291482914929150291512915229153291542915529156291572915829159291602916129162291632916429165291662916729168291692917029171291722917329174291752917629177291782917929180291812918229183291842918529186291872918829189291902919129192291932919429195291962919729198291992920029201292022920329204292052920629207292082920929210292112921229213292142921529216292172921829219292202922129222292232922429225292262922729228292292923029231292322923329234292352923629237292382923929240292412924229243292442924529246292472924829249292502925129252292532925429255292562925729258292592926029261292622926329264292652926629267292682926929270292712927229273292742927529276292772927829279292802928129282292832928429285292862928729288292892929029291292922929329294292952929629297292982929929300293012930229303293042930529306293072930829309293102931129312293132931429315293162931729318293192932029321293222932329324293252932629327293282932929330293312933229333293342933529336293372933829339293402934129342293432934429345293462934729348293492935029351293522935329354293552935629357293582935929360293612936229363293642936529366293672936829369293702937129372293732937429375293762937729378293792938029381293822938329384293852938629387293882938929390293912939229393293942939529396293972939829399294002940129402294032940429405294062940729408294092941029411294122941329414294152941629417294182941929420294212942229423294242942529426294272942829429294302943129432294332943429435294362943729438294392944029441294422944329444294452944629447294482944929450294512945229453294542945529456294572945829459294602946129462294632946429465294662946729468294692947029471294722947329474294752947629477294782947929480294812948229483294842948529486294872948829489294902949129492294932949429495294962949729498294992950029501295022950329504295052950629507295082950929510295112951229513295142951529516295172951829519295202952129522295232952429525295262952729528295292953029531295322953329534295352953629537295382953929540295412954229543295442954529546295472954829549295502955129552295532955429555295562955729558295592956029561295622956329564295652956629567295682956929570295712957229573295742957529576295772957829579295802958129582295832958429585295862958729588295892959029591295922959329594295952959629597295982959929600296012960229603296042960529606296072960829609296102961129612296132961429615296162961729618296192962029621296222962329624296252962629627296282962929630296312963229633296342963529636296372963829639296402964129642296432964429645296462964729648296492965029651296522965329654296552965629657296582965929660296612966229663296642966529666296672966829669296702967129672296732967429675296762967729678296792968029681296822968329684296852968629687296882968929690296912969229693296942969529696296972969829699297002970129702297032970429705297062970729708297092971029711297122971329714297152971629717297182971929720297212972229723297242972529726297272972829729297302973129732297332973429735297362973729738297392974029741297422974329744297452974629747297482974929750297512975229753297542975529756297572975829759297602976129762297632976429765297662976729768297692977029771297722977329774297752977629777297782977929780297812978229783297842978529786297872978829789297902979129792297932979429795297962979729798297992980029801298022980329804298052980629807298082980929810298112981229813298142981529816298172981829819298202982129822298232982429825298262982729828298292983029831298322983329834298352983629837298382983929840298412984229843298442984529846298472984829849298502985129852298532985429855298562985729858298592986029861298622986329864298652986629867298682986929870298712987229873298742987529876298772987829879298802988129882298832988429885298862988729888298892989029891298922989329894298952989629897298982989929900299012990229903299042990529906299072990829909299102991129912299132991429915299162991729918299192992029921299222992329924299252992629927299282992929930299312993229933299342993529936299372993829939299402994129942299432994429945299462994729948299492995029951299522995329954299552995629957299582995929960299612996229963299642996529966299672996829969299702997129972299732997429975299762997729978299792998029981299822998329984299852998629987299882998929990299912999229993299942999529996299972999829999300003000130002300033000430005300063000730008300093001030011300123001330014300153001630017300183001930020300213002230023300243002530026300273002830029300303003130032300333003430035300363003730038300393004030041300423004330044300453004630047300483004930050300513005230053300543005530056300573005830059300603006130062300633006430065300663006730068300693007030071300723007330074300753007630077300783007930080300813008230083300843008530086300873008830089300903009130092300933009430095300963009730098300993010030101301023010330104301053010630107301083010930110301113011230113301143011530116301173011830119301203012130122301233012430125301263012730128301293013030131301323013330134301353013630137301383013930140301413014230143301443014530146301473014830149301503015130152301533015430155301563015730158301593016030161301623016330164301653016630167301683016930170301713017230173301743017530176301773017830179301803018130182301833018430185301863018730188301893019030191301923019330194301953019630197301983019930200302013020230203302043020530206302073020830209302103021130212302133021430215302163021730218302193022030221302223022330224302253022630227302283022930230302313023230233302343023530236302373023830239302403024130242302433024430245302463024730248302493025030251302523025330254302553025630257302583025930260302613026230263302643026530266302673026830269302703027130272302733027430275302763027730278302793028030281302823028330284302853028630287302883028930290302913029230293302943029530296302973029830299303003030130302303033030430305303063030730308303093031030311303123031330314303153031630317303183031930320303213032230323303243032530326303273032830329303303033130332303333033430335303363033730338303393034030341303423034330344303453034630347303483034930350303513035230353303543035530356303573035830359303603036130362303633036430365303663036730368303693037030371303723037330374303753037630377303783037930380303813038230383303843038530386303873038830389303903039130392303933039430395303963039730398303993040030401304023040330404304053040630407304083040930410304113041230413304143041530416304173041830419304203042130422304233042430425304263042730428304293043030431304323043330434304353043630437304383043930440304413044230443304443044530446304473044830449304503045130452304533045430455304563045730458304593046030461304623046330464304653046630467304683046930470304713047230473304743047530476304773047830479304803048130482304833048430485304863048730488304893049030491304923049330494304953049630497304983049930500305013050230503305043050530506305073050830509305103051130512305133051430515305163051730518305193052030521305223052330524305253052630527305283052930530305313053230533305343053530536305373053830539305403054130542305433054430545305463054730548305493055030551305523055330554305553055630557305583055930560305613056230563305643056530566305673056830569305703057130572305733057430575305763057730578305793058030581305823058330584305853058630587305883058930590305913059230593305943059530596305973059830599306003060130602306033060430605306063060730608306093061030611306123061330614306153061630617306183061930620306213062230623306243062530626306273062830629306303063130632306333063430635306363063730638306393064030641306423064330644306453064630647306483064930650306513065230653306543065530656306573065830659306603066130662306633066430665306663066730668306693067030671306723067330674306753067630677306783067930680306813068230683306843068530686306873068830689306903069130692306933069430695306963069730698306993070030701307023070330704307053070630707307083070930710307113071230713307143071530716307173071830719307203072130722307233072430725307263072730728307293073030731307323073330734307353073630737307383073930740307413074230743307443074530746307473074830749307503075130752307533075430755307563075730758307593076030761307623076330764307653076630767307683076930770307713077230773307743077530776307773077830779307803078130782307833078430785307863078730788307893079030791307923079330794307953079630797307983079930800308013080230803308043080530806308073080830809308103081130812308133081430815308163081730818308193082030821308223082330824308253082630827308283082930830308313083230833308343083530836308373083830839308403084130842308433084430845308463084730848308493085030851308523085330854308553085630857308583085930860308613086230863308643086530866308673086830869308703087130872308733087430875308763087730878308793088030881308823088330884308853088630887308883088930890308913089230893308943089530896308973089830899309003090130902309033090430905309063090730908309093091030911309123091330914309153091630917309183091930920309213092230923309243092530926309273092830929309303093130932309333093430935309363093730938309393094030941309423094330944309453094630947309483094930950309513095230953309543095530956309573095830959309603096130962309633096430965309663096730968309693097030971309723097330974309753097630977309783097930980309813098230983309843098530986309873098830989309903099130992309933099430995309963099730998309993100031001310023100331004310053100631007310083100931010310113101231013310143101531016310173101831019310203102131022310233102431025310263102731028310293103031031310323103331034310353103631037310383103931040310413104231043310443104531046310473104831049310503105131052310533105431055310563105731058310593106031061310623106331064310653106631067310683106931070310713107231073310743107531076310773107831079310803108131082310833108431085310863108731088310893109031091310923109331094310953109631097310983109931100311013110231103311043110531106311073110831109311103111131112311133111431115311163111731118311193112031121311223112331124311253112631127311283112931130311313113231133311343113531136311373113831139311403114131142311433114431145311463114731148311493115031151311523115331154311553115631157311583115931160311613116231163311643116531166311673116831169311703117131172311733117431175311763117731178311793118031181311823118331184311853118631187311883118931190311913119231193311943119531196311973119831199312003120131202312033120431205312063120731208312093121031211312123121331214312153121631217312183121931220312213122231223312243122531226312273122831229312303123131232312333123431235312363123731238312393124031241312423124331244312453124631247312483124931250312513125231253312543125531256312573125831259312603126131262312633126431265312663126731268312693127031271312723127331274312753127631277312783127931280312813128231283312843128531286312873128831289312903129131292312933129431295312963129731298312993130031301313023130331304313053130631307313083130931310313113131231313313143131531316313173131831319313203132131322313233132431325313263132731328313293133031331313323133331334313353133631337313383133931340313413134231343313443134531346313473134831349313503135131352313533135431355313563135731358313593136031361313623136331364313653136631367313683136931370313713137231373313743137531376313773137831379313803138131382313833138431385313863138731388313893139031391313923139331394313953139631397313983139931400314013140231403314043140531406314073140831409314103141131412314133141431415314163141731418314193142031421314223142331424314253142631427314283142931430314313143231433314343143531436314373143831439314403144131442314433144431445314463144731448314493145031451314523145331454314553145631457314583145931460314613146231463314643146531466314673146831469314703147131472314733147431475314763147731478314793148031481314823148331484314853148631487314883148931490314913149231493314943149531496314973149831499315003150131502315033150431505315063150731508315093151031511315123151331514315153151631517315183151931520315213152231523315243152531526315273152831529315303153131532315333153431535315363153731538315393154031541315423154331544315453154631547315483154931550315513155231553315543155531556315573155831559315603156131562315633156431565315663156731568315693157031571315723157331574315753157631577315783157931580315813158231583315843158531586315873158831589315903159131592315933159431595315963159731598315993160031601316023160331604316053160631607316083160931610316113161231613316143161531616316173161831619316203162131622316233162431625316263162731628316293163031631316323163331634316353163631637316383163931640316413164231643316443164531646316473164831649316503165131652316533165431655316563165731658316593166031661316623166331664316653166631667316683166931670316713167231673316743167531676316773167831679316803168131682316833168431685316863168731688316893169031691316923169331694316953169631697316983169931700317013170231703317043170531706317073170831709317103171131712317133171431715317163171731718317193172031721317223172331724317253172631727317283172931730317313173231733317343173531736317373173831739317403174131742317433174431745317463174731748317493175031751317523175331754317553175631757317583175931760317613176231763317643176531766317673176831769317703177131772317733177431775317763177731778317793178031781317823178331784317853178631787317883178931790317913179231793317943179531796317973179831799318003180131802318033180431805318063180731808318093181031811318123181331814318153181631817318183181931820318213182231823318243182531826318273182831829318303183131832318333183431835318363183731838318393184031841318423184331844318453184631847318483184931850318513185231853318543185531856318573185831859318603186131862318633186431865318663186731868318693187031871318723187331874318753187631877318783187931880318813188231883318843188531886318873188831889318903189131892318933189431895318963189731898318993190031901319023190331904319053190631907319083190931910319113191231913319143191531916319173191831919319203192131922319233192431925319263192731928319293193031931319323193331934319353193631937319383193931940319413194231943319443194531946319473194831949319503195131952319533195431955319563195731958319593196031961319623196331964319653196631967319683196931970319713197231973319743197531976319773197831979319803198131982319833198431985319863198731988319893199031991319923199331994319953199631997319983199932000320013200232003320043200532006320073200832009320103201132012320133201432015320163201732018320193202032021320223202332024320253202632027320283202932030320313203232033320343203532036320373203832039320403204132042320433204432045320463204732048320493205032051320523205332054320553205632057320583205932060320613206232063320643206532066320673206832069320703207132072320733207432075320763207732078320793208032081320823208332084320853208632087320883208932090320913209232093320943209532096320973209832099321003210132102321033210432105321063210732108321093211032111321123211332114321153211632117321183211932120321213212232123321243212532126321273212832129321303213132132321333213432135321363213732138321393214032141321423214332144321453214632147321483214932150321513215232153321543215532156321573215832159321603216132162321633216432165321663216732168321693217032171321723217332174321753217632177321783217932180321813218232183321843218532186321873218832189321903219132192321933219432195321963219732198321993220032201322023220332204322053220632207322083220932210322113221232213322143221532216322173221832219322203222132222322233222432225322263222732228322293223032231322323223332234322353223632237322383223932240322413224232243322443224532246322473224832249322503225132252322533225432255322563225732258322593226032261322623226332264322653226632267322683226932270322713227232273322743227532276322773227832279322803228132282322833228432285322863228732288322893229032291322923229332294322953229632297322983229932300323013230232303323043230532306323073230832309323103231132312323133231432315323163231732318323193232032321323223232332324323253232632327323283232932330323313233232333323343233532336323373233832339323403234132342323433234432345323463234732348323493235032351323523235332354323553235632357323583235932360323613236232363323643236532366323673236832369323703237132372323733237432375323763237732378323793238032381323823238332384323853238632387323883238932390323913239232393323943239532396323973239832399324003240132402324033240432405324063240732408324093241032411324123241332414324153241632417324183241932420324213242232423324243242532426324273242832429324303243132432324333243432435324363243732438324393244032441324423244332444324453244632447324483244932450324513245232453324543245532456324573245832459324603246132462324633246432465324663246732468324693247032471324723247332474324753247632477324783247932480324813248232483324843248532486324873248832489324903249132492324933249432495324963249732498324993250032501325023250332504325053250632507325083250932510325113251232513325143251532516325173251832519325203252132522325233252432525325263252732528325293253032531325323253332534325353253632537325383253932540325413254232543325443254532546325473254832549325503255132552325533255432555325563255732558325593256032561325623256332564325653256632567325683256932570325713257232573325743257532576325773257832579325803258132582325833258432585325863258732588325893259032591325923259332594325953259632597325983259932600326013260232603326043260532606326073260832609326103261132612326133261432615326163261732618326193262032621326223262332624326253262632627326283262932630326313263232633326343263532636326373263832639326403264132642326433264432645326463264732648326493265032651326523265332654326553265632657326583265932660326613266232663326643266532666326673266832669326703267132672326733267432675326763267732678326793268032681326823268332684326853268632687326883268932690326913269232693326943269532696326973269832699327003270132702327033270432705327063270732708327093271032711327123271332714327153271632717327183271932720327213272232723327243272532726327273272832729327303273132732327333273432735327363273732738327393274032741327423274332744327453274632747327483274932750327513275232753327543275532756327573275832759327603276132762327633276432765327663276732768327693277032771327723277332774327753277632777327783277932780327813278232783327843278532786327873278832789327903279132792327933279432795327963279732798327993280032801328023280332804328053280632807328083280932810328113281232813328143281532816328173281832819328203282132822328233282432825328263282732828328293283032831328323283332834328353283632837328383283932840328413284232843328443284532846328473284832849328503285132852328533285432855328563285732858328593286032861328623286332864328653286632867328683286932870328713287232873328743287532876328773287832879328803288132882328833288432885328863288732888328893289032891328923289332894328953289632897328983289932900329013290232903329043290532906329073290832909329103291132912329133291432915329163291732918329193292032921329223292332924329253292632927329283292932930329313293232933329343293532936329373293832939329403294132942329433294432945329463294732948329493295032951329523295332954329553295632957329583295932960329613296232963329643296532966329673296832969329703297132972329733297432975329763297732978329793298032981329823298332984329853298632987329883298932990329913299232993329943299532996329973299832999330003300133002330033300433005330063300733008330093301033011330123301333014330153301633017330183301933020330213302233023330243302533026330273302833029330303303133032330333303433035330363303733038330393304033041330423304333044330453304633047330483304933050330513305233053330543305533056330573305833059330603306133062330633306433065330663306733068330693307033071330723307333074330753307633077330783307933080330813308233083330843308533086330873308833089330903309133092330933309433095330963309733098330993310033101331023310333104331053310633107331083310933110331113311233113331143311533116331173311833119331203312133122331233312433125331263312733128331293313033131331323313333134331353313633137331383313933140331413314233143331443314533146331473314833149331503315133152331533315433155331563315733158331593316033161331623316333164331653316633167331683316933170331713317233173331743317533176331773317833179331803318133182331833318433185331863318733188331893319033191331923319333194331953319633197331983319933200332013320233203332043320533206332073320833209332103321133212332133321433215332163321733218332193322033221332223322333224332253322633227332283322933230332313323233233332343323533236332373323833239332403324133242332433324433245332463324733248332493325033251332523325333254332553325633257332583325933260332613326233263332643326533266332673326833269332703327133272332733327433275332763327733278332793328033281332823328333284332853328633287332883328933290332913329233293332943329533296332973329833299333003330133302333033330433305333063330733308333093331033311333123331333314333153331633317333183331933320333213332233323333243332533326333273332833329333303333133332333333333433335333363333733338333393334033341333423334333344333453334633347333483334933350333513335233353333543335533356333573335833359333603336133362333633336433365333663336733368333693337033371333723337333374333753337633377333783337933380333813338233383333843338533386333873338833389333903339133392333933339433395333963339733398333993340033401334023340333404334053340633407334083340933410334113341233413334143341533416334173341833419334203342133422334233342433425334263342733428334293343033431334323343333434334353343633437334383343933440334413344233443334443344533446334473344833449334503345133452334533345433455334563345733458334593346033461334623346333464334653346633467334683346933470334713347233473334743347533476334773347833479334803348133482334833348433485334863348733488334893349033491334923349333494334953349633497334983349933500335013350233503335043350533506335073350833509335103351133512335133351433515335163351733518335193352033521335223352333524335253352633527335283352933530335313353233533335343353533536335373353833539335403354133542335433354433545335463354733548335493355033551335523355333554335553355633557335583355933560335613356233563335643356533566335673356833569335703357133572335733357433575335763357733578335793358033581335823358333584335853358633587335883358933590335913359233593335943359533596335973359833599336003360133602336033360433605336063360733608336093361033611336123361333614336153361633617336183361933620336213362233623336243362533626336273362833629336303363133632336333363433635336363363733638336393364033641336423364333644336453364633647336483364933650336513365233653336543365533656336573365833659336603366133662336633366433665336663366733668336693367033671336723367333674336753367633677336783367933680336813368233683336843368533686336873368833689336903369133692336933369433695336963369733698336993370033701337023370333704337053370633707337083370933710337113371233713337143371533716337173371833719337203372133722337233372433725337263372733728337293373033731337323373333734337353373633737337383373933740337413374233743337443374533746337473374833749337503375133752337533375433755337563375733758337593376033761337623376333764337653376633767337683376933770337713377233773337743377533776337773377833779337803378133782337833378433785337863378733788337893379033791337923379333794337953379633797337983379933800338013380233803338043380533806338073380833809338103381133812338133381433815338163381733818338193382033821338223382333824338253382633827338283382933830338313383233833338343383533836338373383833839338403384133842338433384433845338463384733848338493385033851338523385333854338553385633857338583385933860338613386233863338643386533866338673386833869338703387133872338733387433875338763387733878338793388033881338823388333884338853388633887338883388933890338913389233893338943389533896338973389833899339003390133902339033390433905339063390733908339093391033911339123391333914339153391633917339183391933920339213392233923339243392533926339273392833929339303393133932339333393433935339363393733938339393394033941339423394333944339453394633947339483394933950339513395233953339543395533956339573395833959339603396133962339633396433965339663396733968339693397033971339723397333974339753397633977339783397933980339813398233983339843398533986339873398833989339903399133992339933399433995339963399733998339993400034001340023400334004340053400634007340083400934010340113401234013340143401534016340173401834019340203402134022340233402434025340263402734028340293403034031340323403334034340353403634037340383403934040340413404234043340443404534046340473404834049340503405134052340533405434055340563405734058340593406034061340623406334064340653406634067340683406934070340713407234073340743407534076340773407834079340803408134082340833408434085340863408734088340893409034091340923409334094340953409634097340983409934100341013410234103341043410534106341073410834109341103411134112341133411434115341163411734118341193412034121341223412334124341253412634127341283412934130341313413234133341343413534136341373413834139341403414134142341433414434145341463414734148341493415034151341523415334154341553415634157341583415934160341613416234163341643416534166341673416834169341703417134172341733417434175341763417734178341793418034181341823418334184341853418634187341883418934190341913419234193341943419534196341973419834199342003420134202342033420434205342063420734208342093421034211342123421334214342153421634217342183421934220342213422234223342243422534226342273422834229342303423134232342333423434235342363423734238342393424034241342423424334244342453424634247342483424934250342513425234253342543425534256342573425834259342603426134262342633426434265342663426734268342693427034271342723427334274342753427634277342783427934280342813428234283342843428534286342873428834289342903429134292342933429434295342963429734298342993430034301343023430334304343053430634307343083430934310343113431234313343143431534316343173431834319343203432134322343233432434325343263432734328343293433034331343323433334334343353433634337343383433934340343413434234343343443434534346343473434834349343503435134352343533435434355343563435734358343593436034361343623436334364343653436634367343683436934370343713437234373343743437534376343773437834379343803438134382343833438434385343863438734388343893439034391343923439334394343953439634397343983439934400344013440234403344043440534406344073440834409344103441134412344133441434415344163441734418344193442034421344223442334424344253442634427344283442934430344313443234433344343443534436344373443834439344403444134442344433444434445344463444734448344493445034451344523445334454344553445634457344583445934460344613446234463344643446534466344673446834469344703447134472344733447434475344763447734478344793448034481344823448334484344853448634487344883448934490344913449234493344943449534496344973449834499345003450134502345033450434505345063450734508345093451034511345123451334514345153451634517345183451934520345213452234523345243452534526345273452834529345303453134532345333453434535345363453734538345393454034541345423454334544345453454634547345483454934550345513455234553345543455534556345573455834559345603456134562345633456434565345663456734568345693457034571345723457334574345753457634577345783457934580345813458234583345843458534586345873458834589345903459134592345933459434595345963459734598345993460034601346023460334604346053460634607346083460934610346113461234613346143461534616346173461834619346203462134622346233462434625346263462734628346293463034631346323463334634346353463634637346383463934640346413464234643346443464534646346473464834649346503465134652346533465434655346563465734658346593466034661346623466334664346653466634667346683466934670346713467234673346743467534676346773467834679346803468134682346833468434685346863468734688346893469034691346923469334694346953469634697346983469934700347013470234703347043470534706347073470834709347103471134712347133471434715347163471734718347193472034721347223472334724347253472634727347283472934730347313473234733347343473534736347373473834739347403474134742347433474434745347463474734748347493475034751347523475334754347553475634757347583475934760347613476234763347643476534766347673476834769347703477134772347733477434775347763477734778347793478034781347823478334784347853478634787347883478934790347913479234793347943479534796347973479834799348003480134802348033480434805348063480734808348093481034811348123481334814348153481634817348183481934820348213482234823348243482534826348273482834829348303483134832348333483434835348363483734838348393484034841348423484334844348453484634847348483484934850348513485234853348543485534856348573485834859348603486134862348633486434865348663486734868348693487034871348723487334874348753487634877348783487934880348813488234883348843488534886348873488834889348903489134892348933489434895348963489734898348993490034901349023490334904349053490634907349083490934910349113491234913349143491534916349173491834919349203492134922349233492434925349263492734928349293493034931349323493334934349353493634937349383493934940349413494234943349443494534946349473494834949349503495134952349533495434955349563495734958349593496034961349623496334964349653496634967349683496934970349713497234973349743497534976349773497834979349803498134982349833498434985349863498734988349893499034991349923499334994349953499634997349983499935000350013500235003350043500535006350073500835009350103501135012350133501435015350163501735018350193502035021350223502335024350253502635027350283502935030350313503235033350343503535036350373503835039350403504135042350433504435045350463504735048350493505035051350523505335054350553505635057350583505935060350613506235063350643506535066350673506835069350703507135072350733507435075350763507735078350793508035081350823508335084350853508635087350883508935090350913509235093350943509535096350973509835099351003510135102351033510435105351063510735108351093511035111351123511335114351153511635117351183511935120351213512235123351243512535126351273512835129351303513135132351333513435135351363513735138351393514035141351423514335144351453514635147351483514935150351513515235153351543515535156351573515835159351603516135162351633516435165351663516735168351693517035171351723517335174351753517635177351783517935180351813518235183351843518535186351873518835189351903519135192351933519435195351963519735198351993520035201352023520335204352053520635207352083520935210352113521235213352143521535216352173521835219352203522135222352233522435225352263522735228352293523035231352323523335234352353523635237352383523935240352413524235243352443524535246352473524835249352503525135252352533525435255352563525735258352593526035261352623526335264352653526635267352683526935270352713527235273352743527535276352773527835279352803528135282352833528435285352863528735288352893529035291352923529335294352953529635297352983529935300353013530235303353043530535306353073530835309353103531135312353133531435315353163531735318353193532035321353223532335324353253532635327353283532935330353313533235333353343533535336353373533835339353403534135342353433534435345353463534735348353493535035351353523535335354353553535635357353583535935360353613536235363353643536535366353673536835369353703537135372353733537435375353763537735378353793538035381353823538335384353853538635387353883538935390353913539235393353943539535396353973539835399354003540135402354033540435405354063540735408354093541035411354123541335414354153541635417354183541935420354213542235423354243542535426354273542835429354303543135432354333543435435354363543735438354393544035441354423544335444354453544635447354483544935450354513545235453354543545535456354573545835459354603546135462354633546435465354663546735468354693547035471354723547335474354753547635477354783547935480354813548235483354843548535486354873548835489354903549135492354933549435495354963549735498354993550035501355023550335504355053550635507355083550935510355113551235513355143551535516355173551835519355203552135522355233552435525355263552735528355293553035531355323553335534355353553635537355383553935540355413554235543355443554535546355473554835549355503555135552355533555435555355563555735558355593556035561355623556335564355653556635567355683556935570355713557235573355743557535576355773557835579355803558135582355833558435585355863558735588355893559035591355923559335594355953559635597 |
- <?xml version="1.0" encoding="ASCII"?><set xmlns="http://docbook.org/ns/docbook" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:src="http://nwalsh.com/xmlns/litprog/fragment" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0" xml:base="../docsrc/">
- <!-- * WARNING WARNING WARNING -->
- <!-- * WARNING WARNING WARNING -->
- <!-- * -->
- <!-- * This document has duplicate IDs in it and is intended for -->
- <!-- * processing using the chunk.xsl stylesheet to generate chunked -->
- <!-- * output from it (not for generating a single HTML output file) -->
- <!-- * -->
- <!-- * WARNING WARNING WARNING -->
- <!-- * WARNING WARNING WARNING -->
- <title>DocBook XSL Stylesheets: Reference Documentation</title>
- <info><releaseinfo role="meta">$Id: reference.xml 9625 2012-10-20 23:12:33Z dcramer $ </releaseinfo>
- <authorgroup version="5.0">
- <author>
- <personname>
- <surname>Walsh</surname><firstname>Norman</firstname>
- </personname>
- </author>
- <author>
- <orgname>The DocBook Project</orgname>
- </author>
- </authorgroup>
- <copyright>
- <year>1999-2007</year>
- <holder>Norman Walsh</holder>
- </copyright><copyright>
- <year>2003</year>
- <holder>Jiří Kosek</holder>
- </copyright><copyright>
- <year>2004-2007</year>
- <holder>Steve Ball</holder>
- </copyright><copyright>
- <year>2001-2007</year>
- <holder>The DocBook Project</holder>
- </copyright>
- <legalnotice version="5.0" id="copyright"><title>License</title>
- <para>Permission is hereby granted, free of charge, to any person
- obtaining a copy of this software and associated documentation files
- (the <quote>Software</quote>), to deal in the Software without
- restriction, including without limitation the rights to use, copy,
- modify, merge, publish, distribute, sublicense, and/or sell copies of
- the Software, and to permit persons to whom the Software is furnished
- to do so, subject to the following conditions:
- </para>
- <para>The above copyright notice and this permission notice shall be
- included in all copies or substantial portions of the Software.</para>
- <para>Except as contained in this notice, the names of individuals
- credited with contribution to this software shall not be used in
- advertising or otherwise to promote the sale, use or other dealings in
- this Software without prior written authorization from the individuals
- in question.</para>
- <para>Any stylesheet derived from this Software that is publically
- distributed will be identified with a different name and the version
- strings in any derived Software will be changed so that no possibility
- of confusion between the derived package and this Software will
- exist.</para>
- </legalnotice>
- <legalnotice version="5.0" id="warranty"><title>Warranty</title>
- <para>THE SOFTWARE IS PROVIDED <quote>AS IS</quote>,
- WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
- LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
- PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL NORMAN WALSH OR ANY
- OTHER CONTRIBUTOR BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
- WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT
- OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- THE SOFTWARE.</para>
- </legalnotice>
- <abstract id="about">
- <title>About this document</title>
- <para>This is generated reference documentation for the DocBook
- XSL stylesheets. It is available in the following formats:
- <itemizedlist>
- <listitem>
- <para><link xlink:href="http://docbook.sourceforge.net/release/xsl/current/doc/reference.html">HTML</link>,
- <link xlink:href="http://docbook.sourceforge.net/release/xsl/current/doc/reference.pdf">PDF</link>,
- <link xlink:href="http://docbook.sourceforge.net/release/xsl/current/doc/reference.txt">plain text</link></para>
- </listitem>
- </itemizedlist>
- This is primarily documentation on the parameters and processing instructions you can use
- to control the behavior of the stylesheets.
- <note>
- <para>This is purely reference documentation – not how-to
- documentation. For a thorough step-by-step how-to guide to
- publishing content using the DocBook XSL stylesheets, see
- Bob Stayton’s <link xlink:href="http://www.sagehill.net/book-description.html">DocBook XSL: The Complete Guide</link>, available online
- at <link xlink:href="http://www.sagehill.net/docbookxsl/index.html">http://www.sagehill.net/docbookxsl/index.html</link>
- </para>
- </note>
- This document is divided into three sets of references:
- the first two sets provides user documentation; the third,
- developer documentation.</para>
- </abstract>
- </info>
- <book id="param"><title>DocBook XSL Stylesheets User Reference: Parameters</title>
- <info>
- <abstract>
- <para>This is generated reference documentation for all
- user-configurable parameters in the DocBook XSL
- stylesheets.
- <note>
- <para>This is purely reference documentation – not how-to
- documentation. For a thorough step-by-step how-to guide to
- publishing content using the DocBook XSL stylesheets, see
- Bob Stayton’s <link xlink:href="http://www.sagehill.net/book-description.html">DocBook XSL: The Complete Guide</link>, available online
- at <link xlink:href="http://www.sagehill.net/docbookxsl/index.html">http://www.sagehill.net/docbookxsl/index.html</link>
- </para>
- </note>
- </para>
- </abstract>
- </info>
- <part id="html">
- <?dbhtml dir="html"?>
- <?dbhtml filename="index.html"?>
- <title xml:base="../html/param.xml">HTML Parameter Reference</title>
- <partintro id="htmlintro">
-
- <para xml:base="../html/param.xml">This is reference documentation for all user-configurable
- parameters in the DocBook XSL HTML stylesheets (for generating
- HTML output).</para>
- </partintro>
- <reference id="admons" xml:base="../html/param.xml"><title>Admonitions</title>
- <refentry version="5.0" id="admon.graphics.extension">
- <refmeta>
- <refentrytitle>admon.graphics.extension</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>admon.graphics.extension</refname>
- <refpurpose>Filename extension for admonition graphics</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="admon.graphics.extension.frag">
- <xsl:param name="admon.graphics.extension">.png</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Sets the filename extension to use on admonition graphics.</para>
- <itemizedlist>
- <para>The DocBook XSL distribution provides admonition graphics in the following formats:</para>
- <listitem><para>GIF (extension: <filename class="extension">.gif</filename>)</para></listitem>
- <listitem><para>PNG (extension: <filename class="extension">.png</filename>)</para></listitem>
- <listitem><para>SVG (extension: <filename class="extension">.svg</filename>)</para></listitem>
- <listitem><para>TIFF (extension: <filename class="extension">.tif</filename>)</para></listitem>
- </itemizedlist>
- </refsection>
- </refentry>
- <refentry version="5.0" id="admon.graphics.path">
- <refmeta>
- <refentrytitle>admon.graphics.path</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>admon.graphics.path</refname>
- <refpurpose>Path to admonition graphics</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="admon.graphics.path.frag"><xsl:param name="admon.graphics.path">images/</xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Sets the path to the directory containing the admonition graphics
- (caution.png, important.png etc). This location is normally relative
- to the output html directory. See <parameter>base.dir</parameter></para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="admon.graphics">
- <refmeta>
- <refentrytitle>admon.graphics</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>admon.graphics</refname>
- <refpurpose>Use graphics in admonitions?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="admon.graphics.frag">
- <xsl:param name="admon.graphics" select="0"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If true (non-zero), admonitions are presented in an alternate style that uses
- a graphic. Default graphics are provided in the distribution.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="admon.textlabel">
- <refmeta>
- <refentrytitle>admon.textlabel</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>admon.textlabel</refname>
- <refpurpose>Use text label in admonitions?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="admon.textlabel.frag">
- <xsl:param name="admon.textlabel" select="1"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If true (non-zero), admonitions are presented with a generated
- text label such as Note or Warning in the appropriate language.
- If zero, such labels are turned off, but any title child
- of the admonition element are still output.
- The default value is 1.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="admon.style">
- <refmeta>
- <refentrytitle>admon.style</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>admon.style</refname>
- <refpurpose>Specifies the CSS style attribute that should be added to
- admonitions.</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="admon.style.frag"><xsl:param name="admon.style">
- <xsl:value-of select="concat('margin-', $direction.align.start, ': 0.5in; margin-', $direction.align.end, ': 0.5in;')"></xsl:value-of>
- </xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Specifies the value of the CSS <tag class="attribute">style</tag>
- attribute that should be added to admonitions.
- </para>
- </refsection>
- </refentry>
- </reference><reference id="callouts" xml:base="../html/param.xml"><title>Callouts</title>
- <refentry version="5.0" id="callout.defaultcolumn">
- <refmeta>
- <refentrytitle>callout.defaultcolumn</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">integer</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>callout.defaultcolumn</refname>
- <refpurpose>Indicates what column callouts appear in by default</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="callout.defaultcolumn.frag">
- <xsl:param name="callout.defaultcolumn">60</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If a callout does not identify a column (for example, if it uses
- the <literal>linerange</literal> <tag class="attribute">unit</tag>),
- it will appear in the default column.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="callout.graphics.extension">
- <refmeta>
- <refentrytitle>callout.graphics.extension</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>callout.graphics.extension</refname>
- <refpurpose>Filename extension for callout graphics</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="callout.graphics.extension.frag">
- <xsl:param name="callout.graphics.extension">.png</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Sets the filename extension to use on callout graphics. </para>
- <itemizedlist>
- <para>The Docbook XSL distribution provides callout graphics in the following formats:</para>
- <listitem><para>SVG (extension: <filename class="extension">.svg</filename>)</para></listitem>
- <listitem><para>PNG (extension: <filename class="extension">.png</filename>)</para></listitem>
- <listitem><para>GIF (extension: <filename class="extension">.gif</filename>)</para></listitem>
- </itemizedlist>
- </refsection>
- </refentry>
- <refentry version="5.0" id="callout.graphics.number.limit">
- <refmeta>
- <refentrytitle>callout.graphics.number.limit</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">integer</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>callout.graphics.number.limit</refname>
- <refpurpose>Number of the largest callout graphic</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="callout.graphics.number.limit.frag">
- <xsl:param name="callout.graphics.number.limit">15</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If <parameter>callout.graphics</parameter> is non-zero, graphics
- are used to represent callout numbers instead of plain text. The value
- of <parameter>callout.graphics.number.limit</parameter> is the largest
- number for which a graphic exists. If the callout number exceeds this
- limit, the default presentation "(plain text instead of a graphic)"
- will be used.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="callout.graphics.path">
- <refmeta>
- <refentrytitle>callout.graphics.path</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>callout.graphics.path</refname>
- <refpurpose>Path to callout graphics</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="callout.graphics.path.frag">
- <xsl:param name="callout.graphics.path">images/callouts/</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Sets the path to the directory holding the callout graphics. his
- location is normally relative to the output html directory. see
- base.dir. Always terminate the directory with / since the graphic file
- is appended to this string, hence needs the separator.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="callout.graphics">
- <refmeta>
- <refentrytitle>callout.graphics</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>callout.graphics</refname>
- <refpurpose>Use graphics for callouts?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="callout.graphics.frag">
- <xsl:param name="callout.graphics" select="1"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, callouts are presented with graphics (e.g., reverse-video
- circled numbers instead of "(1)", "(2)", etc.).
- Default graphics are provided in the distribution.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="callout.list.table">
- <refmeta>
- <refentrytitle>callout.list.table</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>callout.list.table</refname>
- <refpurpose>Present callout lists using a table?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="callout.list.table.frag">
- <xsl:param name="callout.list.table" select="1"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The default presentation of <tag>calloutlist</tag>s uses
- an HTML <tag>DL</tag> element. Some browsers don't align DLs very well
- if <parameter>callout.graphics</parameter> is used. With this option
- turned on, <tag>calloutlist</tag>s are presented in an HTML
- <tag>TABLE</tag>, which usually results in better alignment
- of the callout number with the callout description.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="callout.unicode.number.limit">
- <refmeta>
- <refentrytitle>callout.unicode.number.limit</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">integer</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>callout.unicode.number.limit</refname>
- <refpurpose>Number of the largest unicode callout character</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="callout.unicode.number.limit.frag">
- <xsl:param name="callout.unicode.number.limit">10</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If <parameter>callout.unicode</parameter>
- is non-zero, unicode characters are used to represent
- callout numbers. The value of
- <parameter>callout.unicode.number.limit</parameter>
- is
- the largest number for which a unicode character exists. If the callout number
- exceeds this limit, the default presentation "(nnn)" will always
- be used.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="callout.unicode.start.character">
- <refmeta>
- <refentrytitle>callout.unicode.start.character</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">integer</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>callout.unicode.start.character</refname>
- <refpurpose>First Unicode character to use, decimal value.</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="callout.unicode.start.character.frag">
- <xsl:param name="callout.unicode.start.character">10102</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If <parameter>callout.graphics</parameter> is zero and <parameter>callout.unicode</parameter>
- is non-zero, unicode characters are used to represent
- callout numbers. The value of
- <parameter>callout.unicode.start.character</parameter>
- is the decimal unicode value used for callout number one. Currently,
- only values 9312 and 10102 are supported in the stylesheets for this parameter.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="callout.unicode">
- <refmeta>
- <refentrytitle>callout.unicode</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>callout.unicode</refname>
- <refpurpose>Use Unicode characters rather than images for callouts.</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="callout.unicode.frag"><xsl:param name="callout.unicode" select="0"></xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The stylesheets can use either an image of the numbers one to ten, or the single Unicode character which represents the numeral, in white on a black background. Use this to select the Unicode character option.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="callouts.extension">
- <refmeta>
- <refentrytitle>callouts.extension</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>callouts.extension</refname>
- <refpurpose>Enable the callout extension</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="callouts.extension.frag">
- <xsl:param name="callouts.extension" select="1"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The callouts extension processes <tag>areaset</tag>
- elements in <tag>programlistingco</tag> and other text-based
- callout elements.
- </para>
- </refsection>
- </refentry>
- </reference><reference id="ebnf" xml:base="../html/param.xml"><title>EBNF</title>
- <refentry version="5.0" id="ebnf.table.bgcolor">
- <refmeta>
- <refentrytitle>ebnf.table.bgcolor</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">color</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>ebnf.table.bgcolor</refname>
- <refpurpose>Background color for EBNF tables</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="ebnf.table.bgcolor.frag">
- <xsl:param name="ebnf.table.bgcolor">#F5DCB3</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Sets the background color for EBNF tables (a pale brown). No
- <tag>bgcolor</tag> attribute is output if
- <parameter>ebnf.table.bgcolor</parameter> is set to the null string. </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="ebnf.table.border">
- <refmeta>
- <refentrytitle>ebnf.table.border</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>ebnf.table.border</refname>
- <refpurpose>Selects border on EBNF tables</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="ebnf.table.border.frag"><xsl:param name="ebnf.table.border" select="1"></xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Selects the border on EBNF tables. If non-zero, the tables have
- borders, otherwise they don't.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="ebnf.assignment">
- <refmeta>
- <refentrytitle>ebnf.assignment</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">rtf</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>ebnf.assignment</refname>
- <refpurpose>The EBNF production assignment operator</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="ebnf.assignment.frag">
- <xsl:param name="ebnf.assignment">
- <code>::=</code>
- </xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The <parameter>ebnf.assignment</parameter> parameter determines what
- text is used to show <quote>assignment</quote> in <tag>production</tag>s
- in <tag>productionset</tag>s.</para>
- <para>While <quote><literal>::=</literal></quote> is common, so are several
- other operators.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="ebnf.statement.terminator">
- <refmeta>
- <refentrytitle>ebnf.statement.terminator</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">rtf</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>ebnf.statement.terminator</refname>
- <refpurpose>Punctuation that ends an EBNF statement.</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="ebnf.statement.terminator.frag">
- <xsl:param name="ebnf.statement.terminator"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The <parameter>ebnf.statement.terminator</parameter> parameter determines what
- text is used to terminate each <tag>production</tag>
- in <tag>productionset</tag>.</para>
- <para>Some notations end each statement with a period.</para>
- </refsection>
- </refentry>
- </reference><reference id="toc_index" xml:base="../html/param.xml"><title>ToC/LoT/Index Generation</title>
- <refentry version="5.0" id="annotate.toc">
- <refmeta>
- <refentrytitle>annotate.toc</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>annotate.toc</refname>
- <refpurpose>Annotate the Table of Contents?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="annotate.toc.frag"><xsl:param name="annotate.toc" select="1"></xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If true, TOCs will be annotated. At present, this just means
- that the <tag>refpurpose</tag> of <tag>refentry</tag>
- TOC entries will be displayed.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="autotoc.label.separator">
- <refmeta>
- <refentrytitle>autotoc.label.separator</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>autotoc.label.separator</refname>
- <refpurpose>Separator between labels and titles in the ToC</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="autotoc.label.separator.frag">
- <xsl:param name="autotoc.label.separator">. </xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>String used to separate labels and titles in a table of contents.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="autotoc.label.in.hyperlink">
- <refmeta>
- <refentrytitle>autotoc.label.in.hyperlink</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>autotoc.label.in.hyperlink</refname>
- <refpurpose>Include label in hyperlinked titles in TOC?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="autotoc.label.in.hyperlink.frag"><xsl:param name="autotoc.label.in.hyperlink" select="1"></xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If the value of
- <parameter>autotoc.label.in.hyperlink</parameter> is non-zero, labels
- are included in hyperlinked titles in the TOC. If it is instead zero,
- labels are still displayed prior to the hyperlinked titles, but
- are not hyperlinked along with the titles.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="process.source.toc">
- <refmeta>
- <refentrytitle>process.source.toc</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>process.source.toc</refname>
- <refpurpose>Process a non-empty <tag>toc</tag> element if it occurs in a source document?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="process.source.toc.frag"><xsl:param name="process.source.toc" select="0"></xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Specifies that the contents of a non-empty "hard-coded"
- <tag>toc</tag> element in a source document are processed to
- generate a TOC in output.
- <note>
- <para>This parameter has no effect on automated generation of
- TOCs. An automated TOC may still be generated along with the
- "hard-coded" TOC. To suppress automated TOC generation, adjust the
- value of the <parameter>generate.toc</parameter> paramameter.</para>
- <para>The <tag>process.source.toc</tag> parameter also has
- no effect if the <tag>toc</tag> element is empty; handling
- for empty <tag>toc</tag> is controlled by the
- <parameter>process.empty.source.toc</parameter> parameter.</para>
- </note>
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="process.empty.source.toc">
- <refmeta>
- <refentrytitle>process.empty.source.toc</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>process.empty.source.toc</refname>
- <refpurpose>Generate automated TOC if <tag>toc</tag> element occurs in a source document?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="process.empty.source.toc.frag"><xsl:param name="process.empty.source.toc" select="0"></xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Specifies that if an empty <tag>toc</tag> element is found in a
- source document, an automated TOC is generated at this point in the
- document.
- <note>
- <para>Depending on what the value of the
- <parameter>generate.toc</parameter> parameter is, setting this
- parameter to <literal>1</literal> could result in generation of
- duplicate automated TOCs. So the
- <parameter>process.empty.source.toc</parameter> is primarily useful
- as an "override": by placing an empty <tag>toc</tag> in your
- document and setting this parameter to <literal>1</literal>, you can
- force a TOC to be generated even if <tag>generate.toc</tag>
- says not to.</para>
- </note>
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="bridgehead.in.toc">
- <refmeta>
- <refentrytitle>bridgehead.in.toc</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>bridgehead.in.toc</refname>
- <refpurpose>Should bridgehead elements appear in the TOC?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="bridgehead.in.toc.frag"><xsl:param name="bridgehead.in.toc" select="0"></xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, <tag>bridgehead</tag>s appear in the TOC. Note that
- this option is not fully supported and may be removed in a future
- version of the stylesheets.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="simplesect.in.toc">
- <refmeta>
- <refentrytitle>simplesect.in.toc</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>simplesect.in.toc</refname>
- <refpurpose>Should <tag>simplesect</tag> elements appear in the TOC?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="simplesect.in.toc.frag"><xsl:param name="simplesect.in.toc" select="0"></xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, <tag>simplesect</tag>s will be included in the TOC.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="manual.toc">
- <refmeta>
- <refentrytitle>manual.toc</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>manual.toc</refname>
- <refpurpose>An explicit TOC to be used for the TOC</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="manual.toc.frag">
- <xsl:param name="manual.toc"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The <parameter>manual.toc</parameter> identifies an explicit TOC that
- will be used for building the printed TOC.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="toc.list.type">
- <refmeta>
- <refentrytitle>toc.list.type</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">list</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">dl</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">ul</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">ol</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>toc.list.type</refname>
- <refpurpose>Type of HTML list element to use for Tables of Contents</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="toc.list.type.frag"><xsl:param name="toc.list.type">dl</xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>When an automatically generated Table of Contents (or List of Titles)
- is produced, this HTML element will be used to make the list.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="toc.section.depth">
- <refmeta>
- <refentrytitle>toc.section.depth</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">integer</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>toc.section.depth</refname>
- <refpurpose>How deep should recursive <tag>section</tag>s appear
- in the TOC?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="toc.section.depth.frag"><xsl:param name="toc.section.depth">2</xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Specifies the depth to which recursive sections should appear in the
- TOC.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="toc.max.depth">
- <refmeta>
- <refentrytitle>toc.max.depth</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">integer</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>toc.max.depth</refname>
- <refpurpose>How many levels should be created for each TOC?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="toc.max.depth.frag"><xsl:param name="toc.max.depth">8</xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Specifies the maximal depth of TOC on all levels.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="generate.toc">
- <refmeta>
- <refentrytitle>generate.toc</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">table</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>generate.toc</refname>
- <refpurpose>Control generation of ToCs and LoTs</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="generate.toc.frag">
- <xsl:param name="generate.toc">
- appendix toc,title
- article/appendix nop
- article toc,title
- book toc,title,figure,table,example,equation
- chapter toc,title
- part toc,title
- preface toc,title
- qandadiv toc
- qandaset toc
- reference toc,title
- sect1 toc
- sect2 toc
- sect3 toc
- sect4 toc
- sect5 toc
- section toc
- set toc,title
- </xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>This parameter has a structured value. It is a table of space-delimited
- path/value pairs. Each path identifies some element in the source document
- using a restricted subset of XPath (only the implicit child axis, no wildcards,
- no predicates). Paths can be either relative or absolute.</para>
- <para>When processing a particular element, the stylesheets consult this table to
- determine if a ToC (or LoT(s)) should be generated.</para>
- <para>For example, consider the entry:</para>
- <screen>book toc,figure</screen>
- <para>This indicates that whenever a <tag>book</tag> is formatted, a
- Table Of Contents and a List of Figures should be generated. Similarly,</para>
- <screen>/chapter toc</screen>
- <para>indicates that whenever a document <emphasis>that has a root
- of</emphasis> <tag>chapter</tag> is formatted, a Table of
- Contents should be generated. The entry <literal>chapter</literal> would match
- all chapters, but <literal>/chapter</literal> matches only <tag>chapter</tag>
- document elements.</para>
- <para>Generally, the longest match wins. So, for example, if you want to distinguish
- articles in books from articles in parts, you could use these two entries:</para>
- <screen>book/article toc,figure
- part/article toc</screen>
- <para>Note that an article in a part can never match a <literal>book/article</literal>,
- so if you want nothing to be generated for articles in parts, you can simply leave
- that rule out.</para>
- <para>If you want to leave the rule in, to make it explicit that you're turning
- something off, use the value <quote>nop</quote>. For example, the following
- entry disables ToCs and LoTs for articles:</para>
- <screen>article nop</screen>
- <para>Do not simply leave the word <quote>article</quote> in the file
- without a matching value. That'd be just begging the silly little
- path/value parser to get confused.</para>
- <para>Section ToCs are further controlled by the
- <parameter>generate.section.toc.level</parameter> parameter.
- For a given section level to have a ToC, it must have both an entry in
- <parameter>generate.toc</parameter> and be within the range enabled by
- <parameter>generate.section.toc.level</parameter>.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="generate.section.toc.level">
- <refmeta>
- <refentrytitle>generate.section.toc.level</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">integer</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>generate.section.toc.level</refname>
- <refpurpose>Control depth of TOC generation in sections</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="generate.section.toc.level.frag">
- <xsl:param name="generate.section.toc.level" select="0"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The <parameter>generate.section.toc.level</parameter> parameter
- controls the depth of <tag>section</tag> in which TOCs will be generated. Note
- that this is related to, but not the same as
- <parameter>toc.section.depth</parameter>, which controls the depth to
- which TOC entries will be generated in a given TOC.</para>
- <para>If, for example, <parameter>generate.section.toc.level</parameter>
- is <literal>3</literal>, TOCs will be generated in first, second, and third
- level sections, but not in fourth level sections.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="generate.index">
- <refmeta>
- <refentrytitle>generate.index</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>generate.index</refname>
- <refpurpose>Do you want an index?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="generate.index.frag"><xsl:param name="generate.index" select="1"></xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Specify if an index should be generated. </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="index.method">
- <refmeta>
- <refentrytitle>index.method</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">list</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">basic</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">kosek</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">kimber</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>index.method</refname>
- <refpurpose>Select method used to group index entries in an index</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="index.method.frag">
- <xsl:param name="index.method">basic</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>This parameter lets you select which method to use for sorting and grouping
- index entries in an index.
- Indexes in Latin-based languages that have accented characters typically
- sort together accented words and unaccented words.
- Thus <quote>Á</quote> (U+00C1 LATIN CAPITAL LETTER A WITH ACUTE) would sort together
- with <quote>A</quote> (U+0041 LATIN CAPITAL LETTER A), so both would appear in the <quote>A</quote>
- section of the index.
- Languages using other alphabets (such as Russian, which is written in the Cyrillic alphabet)
- and languages using ideographic chararacters (such as Japanese)
- require grouping specific to the languages and alphabets.
- </para>
- <para>The default indexing method is limited.
- It can group accented characters in Latin-based languages only.
- It cannot handle non-Latin alphabets or ideographic languages.
- The other indexing methods require extensions of one type or
- another, and do not work with
- all XSLT processors, which is why they are not used by default.</para>
- <para>The three choices for indexing method are:</para>
- <variablelist>
- <varlistentry>
- <term><literal>basic</literal></term>
- <listitem>
- <para>
- (default) Sort and groups words based only on the Latin alphabet.
- Words with accented Latin letters will group and sort with
- their respective primary letter, but
- words in non-Latin alphabets will be
- put in the <quote>Symbols</quote> section of the index.
- </para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term><literal>kosek</literal></term>
- <listitem>
- <para>
- This method sorts and groups words based on letter groups configured in
- the DocBook locale file for the given language.
- See, for example, the French locale file <filename>common/fr.xml</filename>.
- This method requires that the XSLT processor
- supports the EXSLT extensions (most do).
- It also requires support for using
- user-defined functions in xsl:key (xsltproc does not).
- </para>
- <para>This method is suitable for any language for which you can
- list all the individual characters that should appear
- in each letter group in an index.
- It is probably not practical to use it for ideographic languages
- such as Chinese that have hundreds or thousands of characters.
- </para>
- <para>To use the kosek method, you must:</para>
- <orderedlist>
- <listitem>
- <para>Use a processor that supports its extensions, such as
- Saxon 6 or Xalan (xsltproc and Saxon 8 do not).
- </para>
- </listitem>
- <listitem>
- <para>Set the index.method parameter's value to <quote>kosek</quote>.
- </para>
- </listitem>
- <listitem>
- <para>Import the appropriate index extensions stylesheet module
- <filename>fo/autoidx-kosek.xsl</filename> or
- <filename>html/autoidx-kosek.xsl</filename> into your
- customization.
- </para>
- </listitem>
- </orderedlist>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term><literal>kimber</literal></term>
- <listitem>
- <para>
- This method uses extensions to the Saxon processor to implement
- sophisticated indexing processes. It uses its own
- configuration file, which can include information for any number of
- languages. Each language's configuration can group
- words using one of two processes. In the
- enumerated process similar to that used in the kosek method,
- you indicate the groupings character-by-character.
- In the between-key process, you specify the
- break-points in the sort order that should start a new group.
- The latter configuration is useful for ideographic languages
- such as Chinese, Japanese, and Korean.
- You can also define your own collation algorithms and how you
- want mixed Latin-alphabet words sorted.</para>
- <itemizedlist>
- <listitem>
- <para>For a whitepaper describing the extensions, see:
- <link xlink:href="http://www.innodata-isogen.com/knowledge_center/white_papers/back_of_book_for_xsl_fo.pdf">http://www.innodata-isogen.com/knowledge_center/white_papers/back_of_book_for_xsl_fo.pdf</link>.
- </para>
- </listitem>
- <listitem>
- <para>To download the extension library, see
- <link xlink:href="http://www.innodata-isogen.com/knowledge_center/tools_downloads/i18nsupport">http://www.innodata-isogen.com/knowledge_center/tools_downloads/i18nsupport</link>.
- </para>
- </listitem>
- </itemizedlist>
- <para>To use the kimber method, you must:</para>
- <orderedlist>
- <listitem>
- <para>Use Saxon (version 6 or 8) as your XSLT processor.
- </para>
- </listitem>
- <listitem>
- <para>Install and configure the Innodata Isogen library, using
- the documentation that comes with it.
- </para>
- </listitem>
- <listitem>
- <para>Set the index.method parameter's value to <quote>kimber</quote>.
- </para>
- </listitem>
- <listitem>
- <para>Import the appropriate index extensions stylesheet module
- <filename>fo/autoidx-kimber.xsl</filename> or
- <filename>html/autoidx-kimber.xsl</filename> into your
- customization.
- </para>
- </listitem>
- </orderedlist>
- </listitem>
- </varlistentry>
- </variablelist>
- </refsection>
- </refentry>
- <refentry version="5.0" id="index.on.type">
- <refmeta>
- <refentrytitle>index.on.type</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>index.on.type</refname>
- <refpurpose>Select indexterms based on <tag class="attribute">type</tag>
- attribute value</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="index.on.type.frag">
- <xsl:param name="index.on.type" select="0"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>
- If non-zero,
- then an <tag>index</tag> element that has a
- <tag class="attribute">type</tag> attribute
- value will contain only those <tag>indexterm</tag>
- elements with a matching <tag class="attribute">type</tag> attribute value.
- If an <tag>index</tag> has no <tag class="attribute">type</tag>
- attribute or it is blank, then the index will contain
- all <tag>indexterm</tag>s in the current scope.
- </para>
- <para>
- If <literal>index.on.type</literal> is zero, then the
- <tag class="attribute">type</tag> attribute has no effect
- on selecting indexterms for an index.
- </para>
- <para>For those using DocBook version 4.2 or earlier,
- the <tag class="attribute">type</tag> attribute is not available
- for index terms. However, you can achieve the same
- effect by using the <tag class="attribute">role</tag> attribute
- in the same manner on <tag>indexterm</tag>
- and <tag>index</tag>, and setting the stylesheet parameter
- <parameter>index.on.role</parameter> to a nonzero value.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="index.on.role">
- <refmeta>
- <refentrytitle>index.on.role</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>index.on.role</refname>
- <refpurpose>Select indexterms based on <tag class="attribute">role</tag> value</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="index.on.role.frag">
- <xsl:param name="index.on.role" select="0"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>
- If non-zero,
- then an <tag>index</tag> element that has a
- <tag class="attribute">role</tag> attribute
- value will contain only those <tag>indexterm</tag>
- elements with a matching role value.
- If an <tag>index</tag> has no <tag class="attribute">role</tag>
- attribute or it is blank, then the index will contain
- all <tag>indexterm</tag>s in the current scope.
- </para>
- <para>
- If <literal>index.on.role</literal> is zero, then the
- <tag class="attribute">role</tag> attribute has no effect
- on selecting indexterms for an index.
- </para>
- <para>If you are using DocBook version 4.3 or later, you should
- use the <tag class="attribute">type</tag> attribute instead of <tag class="attribute">role</tag>
- on <tag>indexterm</tag> and <tag>index</tag>,
- and set the <parameter>index.on.type</parameter> to a nonzero
- value.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="index.links.to.section">
- <refmeta>
- <refentrytitle>index.links.to.section</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>index.links.to.section</refname>
- <refpurpose>HTML index entries link to container section title</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="index.links.to.section.frag">
- <xsl:param name="index.links.to.section" select="1"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If zero, then an index entry in an index links
- directly to the location of the
- generated <tag>anchor</tag> that is output
- for the indexterm. If two identical indexterm elements
- exist in the same section, then both entries appear
- in the index with the same title but link to different
- locations.</para>
- <para>If non-zero, then an index entry in an index links to the
- section title containing the <tag>indexterm</tag>, rather than
- directly to the <tag>anchor</tag> output for the indexterm.
- Duplicate indexterm entries in the same section are dropped.
- </para>
- <para>The default value is 1, so index entries link to
- section titles by default.</para>
- <para>In both cases, the link text in an index entry is the
- title of the section containing the indexterm.
- That is because HTML does not have numbered pages.
- It also provides the reader with context information
- for each link.</para>
- <para>This parameter lets you choose which style of
- index linking you want. </para>
- <itemizedlist>
- <listitem>
- <para>When set to 0, an index entry takes you
- to the precise location of its corresponding indexterm.
- However, if you have a lot of duplicate
- entries in sections, then you have a lot of duplicate
- titles in the index, which makes it more cluttered.
- The reader may not recognize why duplicate titles
- appear until they follow the links. Also, the links
- may land the reader in the middle of a section where the
- section title is not visible, which may also be
- confusing to the reader.</para>
- </listitem>
- <listitem>
- <para>When set to 1, an index entry link is
- less precise, but duplicate titles in the
- index entries are eliminated.
- Landing on the section title location may confirm the reader's
- expectation that a link that
- shows a section title will take them to that section title,
- not a location within the section.
- </para>
- </listitem>
- </itemizedlist>
- </refsection>
- </refentry>
- <refentry version="5.0" id="index.prefer.titleabbrev">
- <refmeta>
- <refentrytitle>index.prefer.titleabbrev</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>index.prefer.titleabbrev</refname>
- <refpurpose>Should abbreviated titles be used as back references?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="index.prefer.titleabbrev.frag">
- <xsl:param name="index.prefer.titleabbrev" select="0"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, and if a <tag>titleabbrev</tag> is defined, the abbreviated title
- is used as the link text of a back reference in the index.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="index.term.separator">
- <refmeta>
- <refentrytitle>index.term.separator</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>index.term.separator</refname>
- <refpurpose>Override for punctuation separating an index term
- from its list of page references in an index</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="index.term.separator.frag">
- <xsl:param name="index.term.separator"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>This parameter permits you to override
- the text to insert between
- the end of an index term and its list of page references.
- Typically that might be a comma and a space.
- </para>
- <para>Because this text may be locale dependent,
- this parameter's value is normally taken from a gentext
- template named 'term-separator' in the
- context 'index' in the stylesheet
- locale file for the language
- of the current document.
- This parameter can be used to override the gentext string,
- and would typically be used on the command line.
- This parameter would apply to all languages.
- </para>
- <para>So this text string can be customized in two ways.
- You can reset the default gentext string using
- the <parameter>local.l10n.xml</parameter> parameter, or you can
- fill in the content for this normally empty
- override parameter.
- The content can be a simple string, or it can be
- something more complex such as a call-template.
- For fo output, it could be an <tag>fo:leader</tag>
- element to provide space of a specific length, or a dot leader.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="index.number.separator">
- <refmeta>
- <refentrytitle>index.number.separator</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>index.number.separator</refname>
- <refpurpose>Override for punctuation separating page numbers in index</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="index.number.separator.frag">
- <xsl:param name="index.number.separator"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>This parameter permits you to override the text to insert between
- page references in a formatted index entry. Typically
- that would be a comma and a space.
- </para>
- <para>Because this text may be locale dependent,
- this parameter's value is normally taken from a gentext
- template named 'number-separator' in the
- context 'index' in the stylesheet
- locale file for the language
- of the current document.
- This parameter can be used to override the gentext string,
- and would typically be used on the command line.
- This parameter would apply to all languages.
- </para>
- <para>So this text string can be customized in two ways.
- You can reset the default gentext string using
- the <parameter>local.l10n.xml</parameter> parameter, or you can
- override the gentext with the content of this parameter.
- The content can be a simple string, or it can be
- something more complex such as a call-template.
- </para>
- <para>In HTML index output, section title references are used instead of
- page number references. This punctuation appears between
- such section titles in an HTML index.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="index.range.separator">
- <refmeta>
- <refentrytitle>index.range.separator</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>index.range.separator</refname>
- <refpurpose>Override for punctuation separating the two numbers
- in a page range in index</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="index.range.separator.frag">
- <xsl:param name="index.range.separator"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>This parameter permits you
- to override the text to insert between
- the two numbers of a page range in an index.
- This parameter is only used by those XSL-FO processors
- that support an extension for generating such page ranges
- (such as XEP).</para>
- <para>Because this text may be locale dependent,
- this parameter's value is normally taken from a gentext
- template named 'range-separator' in the
- context 'index' in the stylesheet
- locale file for the language
- of the current document.
- This parameter can be used to override the gentext string,
- and would typically be used on the command line.
- This parameter would apply to all languages.
- </para>
- <para>So this text string can be customized in two ways.
- You can reset the default gentext string using
- the <parameter>local.l10n.xml</parameter> parameter, or you can
- override the gentext with the content of this parameter.
- The content can be a simple string, or it can be
- something more complex such as a call-template.
- </para>
- <para>In HTML index output, section title references are used instead of
- page number references. So there are no page ranges
- and this parameter has no effect.
- </para>
- </refsection>
- </refentry>
- </reference><reference id="dbk_ext" xml:base="../html/param.xml"><title>Stylesheet Extensions</title>
- <refentry version="5.0" id="linenumbering.everyNth">
- <refmeta>
- <refentrytitle>linenumbering.everyNth</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">integer</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>linenumbering.everyNth</refname>
- <refpurpose>Indicate which lines should be numbered</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="linenumbering.everyNth.frag">
- <xsl:param name="linenumbering.everyNth">5</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If line numbering is enabled, everyNth line will be
- numbered. Note that numbering is one based, not zero based.
- </para>
- <para>See also <parameter>linenumbering.extension</parameter>,
- <parameter>linenumbering.separator</parameter>,
- <parameter>linenumbering.width</parameter> and
- <parameter>use.extensions</parameter></para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="linenumbering.extension">
- <refmeta>
- <refentrytitle>linenumbering.extension</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>linenumbering.extension</refname>
- <refpurpose>Enable the line numbering extension</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="linenumbering.extension.frag">
- <xsl:param name="linenumbering.extension" select="1"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, verbatim environments (<tag>address</tag>, <tag>literallayout</tag>,
- <tag>programlisting</tag>, <tag>screen</tag>, <tag>synopsis</tag>) that specify line numbering will
- have line numbers.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="linenumbering.separator">
- <refmeta>
- <refentrytitle>linenumbering.separator</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>linenumbering.separator</refname>
- <refpurpose>Specify a separator between line numbers and lines</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="linenumbering.separator.frag">
- <xsl:param name="linenumbering.separator"><xsl:text> </xsl:text></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The separator is inserted between line numbers and lines in the
- verbatim environment. The default value is a single white space.
- Note the interaction with <parameter>linenumbering.width</parameter>
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="linenumbering.width">
- <refmeta>
- <refentrytitle>linenumbering.width</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">integer</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>linenumbering.width</refname>
- <refpurpose>Indicates the width of line numbers</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="linenumbering.width.frag">
- <xsl:param name="linenumbering.width">3</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If line numbering is enabled, line numbers will appear right
- justified in a field "width" characters wide.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="tablecolumns.extension">
- <refmeta>
- <refentrytitle>tablecolumns.extension</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>tablecolumns.extension</refname>
- <refpurpose>Enable the table columns extension function</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="tablecolumns.extension.frag">
- <xsl:param name="tablecolumns.extension" select="1"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The table columns extension function adjusts the widths of table
- columns in the HTML result to more accurately reflect the specifications
- in the CALS table.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="textinsert.extension">
- <refmeta>
- <refentrytitle>textinsert.extension</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>textinsert.extension</refname>
- <refpurpose>Enables the textinsert extension element</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="textinsert.extension.frag">
- <xsl:param name="textinsert.extension" select="1"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The textinsert extension element inserts the contents of
- a file into the result tree (as text).</para>
- <note>
- <para>To use the textinsert extension element, you must use
- either Saxon or Xalan as your XSLT processor (it doesn’t
- work with xsltproc), along with either the DocBook Saxon
- extensions or DocBook Xalan extensions (for more
- information about those extensions, see <link role="tcg" xlink:href="InstallingAProcessor.html#SaxonExtensions">DocBook Saxon Extensions</link> and <link role="tcg" xlink:href="InstallingAProcessor.html#XalanExtensions">DocBook Xalan Extensions</link>), and you must set both
- the <parameter>use.extensions</parameter> and
- <parameter>textinsert.extension</parameter> parameters to
- <literal>1</literal>.</para>
- <para>As an alternative to using the textinsert element,
- consider using an Xinclude element with the
- <literal>parse="text"</literal> attribute and value
- specified, as detailed in <link role="tcg" xlink:href="ExternalCode.html#XIncludeCode">Using XInclude for text inclusions</link>.</para>
- </note>
- </refsection>
- <refsection><info><title>See Also</title></info>
- <para>You can also use the <tag class="xmlpi">dbhtml-include href</tag> processing
- instruction to insert external files — both files containing
- plain text and files with markup content (including HTML
- content).</para>
- </refsection>
- <refsection><info><title>More information</title></info>
- <para>For how-to documentation on inserting contents of
- external code files and other text files into output, see
- <link role="tcg" xlink:href="ExternalCode.html">External code files</link>.</para>
- <para>For guidelines on inserting contents of
- HTML files into output, see <link role="tcg" xlink:href="InsertExtHtml.html">Inserting external HTML code</link>.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="textdata.default.encoding">
- <refmeta>
- <refentrytitle>textdata.default.encoding</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>textdata.default.encoding</refname>
- <refpurpose>Default encoding of external text files which are included
- using textdata element</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="textdata.default.encoding.frag">
- <xsl:param name="textdata.default.encoding"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Specifies the encoding of any external text files included using
- <tag>textdata</tag> element. This value is used only when you do
- not specify encoding by the appropriate attribute
- directly on textdata. An empty string is interpreted as the system
- default encoding.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="graphicsize.extension">
- <refmeta>
- <refentrytitle>graphicsize.extension</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>graphicsize.extension</refname>
- <refpurpose>Enable the getWidth()/getDepth() extension functions</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="graphicsize.extension.frag">
- <xsl:param name="graphicsize.extension" select="1"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero (and if <parameter>use.extensions</parameter> is non-zero
- and if you're using a processor that supports extension functions), the
- <function>getWidth</function> and <function>getDepth</function> functions
- will be used to extract image sizes from graphics.</para>
- <para>The main supported image formats are GIF, JPEG, and PNG. Somewhat cruder
- support for EPS and PDF images is also available.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="graphicsize.use.img.src.path">
- <refmeta>
- <refentrytitle>graphicsize.use.img.src.path</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>graphicsize.use.img.src.path</refname>
- <refpurpose>Prepend <parameter>img.src.path</parameter> before
- filenames passed to extension functions</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="graphicsize.use.img.src.path.frag">
- <xsl:param name="graphicsize.use.img.src.path" select="0"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero <parameter>img.src.path</parameter> parameter will
- be appended before filenames passed to extension functions for
- measuring image dimensions.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="use.extensions">
- <refmeta>
- <refentrytitle>use.extensions</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>use.extensions</refname>
- <refpurpose>Enable extensions</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="use.extensions.frag">
- <xsl:param name="use.extensions" select="0"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, extensions may be used. Each extension is
- further controlled by its own parameter. But if
- <parameter>use.extensions</parameter> is zero, no extensions will
- be used.
- </para>
- </refsection>
- </refentry>
- </reference><reference id="labels" xml:base="../html/param.xml"><title>Automatic labelling</title>
- <refentry version="5.0" id="chapter.autolabel">
- <refmeta>
- <refentrytitle>chapter.autolabel</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">list</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">0<alt>none</alt></refmiscinfo>
- <refmiscinfo class="other" otherclass="value">1<alt>1,2,3...</alt></refmiscinfo>
- <refmiscinfo class="other" otherclass="value">A<alt>A,B,C...</alt></refmiscinfo>
- <refmiscinfo class="other" otherclass="value">a<alt>a,b,c...</alt></refmiscinfo>
- <refmiscinfo class="other" otherclass="value">i<alt>i,ii,iii...</alt></refmiscinfo>
- <refmiscinfo class="other" otherclass="value">I<alt>I,II,III...</alt></refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>chapter.autolabel</refname>
- <refpurpose>Specifies the labeling format for Chapter titles</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="chapter.autolabel.frag">
- <xsl:param name="chapter.autolabel" select="1"></xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, then chapters will be numbered using the parameter
- value as the number format if the value matches one of the following:
- </para>
- <variablelist>
- <varlistentry>
- <term>1 or arabic</term>
- <listitem>
- <para>Arabic numeration (1, 2, 3 ...).</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>A or upperalpha</term>
- <listitem>
- <para>Uppercase letter numeration (A, B, C ...).</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>a or loweralpha</term>
- <listitem>
- <para>Lowercase letter numeration (a, b, c ...).</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>I or upperroman</term>
- <listitem>
- <para>Uppercase roman numeration (I, II, III ...).</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>i or lowerroman</term>
- <listitem>
- <para>Lowercase roman letter numeration (i, ii, iii ...).</para>
- </listitem>
- </varlistentry>
- </variablelist>
- <para>Any nonzero value other than the above will generate
- the default number format (arabic).
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="appendix.autolabel">
- <refmeta>
- <refentrytitle>appendix.autolabel</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">list</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">0<alt>none</alt></refmiscinfo>
- <refmiscinfo class="other" otherclass="value">1<alt>1,2,3...</alt></refmiscinfo>
- <refmiscinfo class="other" otherclass="value">A<alt>A,B,C...</alt></refmiscinfo>
- <refmiscinfo class="other" otherclass="value">a<alt>a,b,c...</alt></refmiscinfo>
- <refmiscinfo class="other" otherclass="value">i<alt>i,ii,iii...</alt></refmiscinfo>
- <refmiscinfo class="other" otherclass="value">I<alt>I,II,III...</alt></refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>appendix.autolabel</refname>
- <refpurpose>Specifies the labeling format for Appendix titles</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="appendix.autolabel.frag">
- <xsl:param name="appendix.autolabel">A</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, then appendices will be numbered using the
- parameter value as the number format if the value matches one of the
- following:
- </para>
- <variablelist>
- <varlistentry>
- <term>1 or arabic</term>
- <listitem>
- <para>Arabic numeration (1, 2, 3 ...).</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>A or upperalpha</term>
- <listitem>
- <para>Uppercase letter numeration (A, B, C ...).</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>a or loweralpha</term>
- <listitem>
- <para>Lowercase letter numeration (a, b, c ...).</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>I or upperroman</term>
- <listitem>
- <para>Uppercase roman numeration (I, II, III ...).</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>i or lowerroman</term>
- <listitem>
- <para>Lowercase roman letter numeration (i, ii, iii ...).</para>
- </listitem>
- </varlistentry>
- </variablelist>
- <para>Any nonzero value other than the above will generate
- the default number format (upperalpha).
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="part.autolabel">
- <refmeta>
- <refentrytitle>part.autolabel</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">list</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">0<alt>none</alt></refmiscinfo>
- <refmiscinfo class="other" otherclass="value">1<alt>1,2,3...</alt></refmiscinfo>
- <refmiscinfo class="other" otherclass="value">A<alt>A,B,C...</alt></refmiscinfo>
- <refmiscinfo class="other" otherclass="value">a<alt>a,b,c...</alt></refmiscinfo>
- <refmiscinfo class="other" otherclass="value">i<alt>i,ii,iii...</alt></refmiscinfo>
- <refmiscinfo class="other" otherclass="value">I<alt>I,II,III...</alt></refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>part.autolabel</refname>
- <refpurpose>Specifies the labeling format for Part titles</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="part.autolabel.frag">
- <xsl:param name="part.autolabel">I</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, then parts will be numbered using the parameter
- value as the number format if the value matches one of the following:
- </para>
- <variablelist>
- <varlistentry>
- <term>1 or arabic</term>
- <listitem>
- <para>Arabic numeration (1, 2, 3 ...).</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>A or upperalpha</term>
- <listitem>
- <para>Uppercase letter numeration (A, B, C ...).</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>a or loweralpha</term>
- <listitem>
- <para>Lowercase letter numeration (a, b, c ...).</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>I or upperroman</term>
- <listitem>
- <para>Uppercase roman numeration (I, II, III ...).</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>i or lowerroman</term>
- <listitem>
- <para>Lowercase roman letter numeration (i, ii, iii ...).</para>
- </listitem>
- </varlistentry>
- </variablelist>
- <para>Any nonzero value other than the above will generate
- the default number format (upperroman).
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="reference.autolabel">
- <refmeta>
- <refentrytitle>reference.autolabel</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">list</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">0<alt>none</alt></refmiscinfo>
- <refmiscinfo class="other" otherclass="value">1<alt>1,2,3...</alt></refmiscinfo>
- <refmiscinfo class="other" otherclass="value">A<alt>A,B,C...</alt></refmiscinfo>
- <refmiscinfo class="other" otherclass="value">a<alt>a,b,c...</alt></refmiscinfo>
- <refmiscinfo class="other" otherclass="value">i<alt>i,ii,iii...</alt></refmiscinfo>
- <refmiscinfo class="other" otherclass="value">I<alt>I,II,III...</alt></refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>reference.autolabel</refname>
- <refpurpose>Specifies the labeling format for Reference titles</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="reference.autolabel.frag">
- <xsl:param name="reference.autolabel">I</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, references will be numbered using the parameter
- value as the number format if the value matches one of the
- following:
- </para>
- <variablelist>
- <varlistentry>
- <term>1 or arabic</term>
- <listitem>
- <para>Arabic numeration (1, 2, 3 ...).</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>A or upperalpha</term>
- <listitem>
- <para>Uppercase letter numeration (A, B, C ...).</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>a or loweralpha</term>
- <listitem>
- <para>Lowercase letter numeration (a, b, c ...).</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>I or upperroman</term>
- <listitem>
- <para>Uppercase roman numeration (I, II, III ...).</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>i or lowerroman</term>
- <listitem>
- <para>Lowercase roman letter numeration (i, ii, iii ...).</para>
- </listitem>
- </varlistentry>
- </variablelist>
- <para>Any non-zero value other than the above will generate
- the default number format (upperroman).
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="preface.autolabel">
- <refmeta>
- <refentrytitle>preface.autolabel</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">list</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">0<alt>none</alt></refmiscinfo>
- <refmiscinfo class="other" otherclass="value">1<alt>1,2,3...</alt></refmiscinfo>
- <refmiscinfo class="other" otherclass="value">A<alt>A,B,C...</alt></refmiscinfo>
- <refmiscinfo class="other" otherclass="value">a<alt>a,b,c...</alt></refmiscinfo>
- <refmiscinfo class="other" otherclass="value">i<alt>i,ii,iii...</alt></refmiscinfo>
- <refmiscinfo class="other" otherclass="value">I<alt>I,II,III...</alt></refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>preface.autolabel</refname>
- <refpurpose>Specifices the labeling format for Preface titles</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="preface.autolabel.frag"><xsl:param name="preface.autolabel" select="0"></xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero then prefaces will be numbered using the parameter
- value as the number format if the value matches one of the following:
- </para>
- <variablelist>
- <varlistentry>
- <term>1 or arabic</term>
- <listitem>
- <para>Arabic numeration (1, 2, 3 ...).</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>A or upperalpha</term>
- <listitem>
- <para>Uppercase letter numeration (A, B, C ...).</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>a or loweralpha</term>
- <listitem>
- <para>Lowercase letter numeration (a, b, c ...).</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>I or upperroman</term>
- <listitem>
- <para>Uppercase roman numeration (I, II, III ...).</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>i or lowerroman</term>
- <listitem>
- <para>Lowercase roman letter numeration (i, ii, iii ...).</para>
- </listitem>
- </varlistentry>
- </variablelist>
- <para>Any nonzero value other than the above will generate
- the default number format (arabic).
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="qandadiv.autolabel">
- <refmeta>
- <refentrytitle>qandadiv.autolabel</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>qandadiv.autolabel</refname>
- <refpurpose>Are divisions in QAndASets enumerated?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="qandadiv.autolabel.frag"><xsl:param name="qandadiv.autolabel" select="1"></xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, unlabeled qandadivs will be enumerated.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="section.autolabel">
- <refmeta>
- <refentrytitle>section.autolabel</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>section.autolabel</refname>
- <refpurpose>Are sections enumerated?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="section.autolabel.frag"><xsl:param name="section.autolabel" select="0"></xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If true (non-zero), unlabeled sections will be enumerated.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="section.autolabel.max.depth">
- <refmeta>
- <refentrytitle>section.autolabel.max.depth</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">integer</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>section.autolabel.max.depth</refname>
- <refpurpose>The deepest level of sections that are numbered.</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="section.autolabel.max.depth.frag">
- <xsl:param name="section.autolabel.max.depth">8</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>When section numbering is turned on by the
- <parameter>section.autolabel</parameter> parameter, then this
- parameter controls the depth of <tag>section</tag> nesting that is
- numbered. Sections nested to a level deeper than this value will not
- be numbered.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="section.label.includes.component.label">
- <refmeta>
- <refentrytitle>section.label.includes.component.label</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>section.label.includes.component.label</refname>
- <refpurpose>Do section labels include the component label?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="section.label.includes.component.label.frag"><xsl:param name="section.label.includes.component.label" select="0"></xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, section labels are prefixed with the label of the
- component that contains them.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="label.from.part">
- <refmeta>
- <refentrytitle>label.from.part</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>label.from.part</refname>
- <refpurpose>Renumber components in each part?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="label.from.part.frag">
- <xsl:param name="label.from.part" select="0"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If <parameter>label.from.part</parameter> is non-zero, then
- numbering of components — <tag>preface</tag>,
- <tag>chapter</tag>, <tag>appendix</tag>, and
- <tag>reference</tag> (when <tag>reference</tag> occurs at the
- component level) — is re-started within each
- <tag>part</tag>.</para>
- <para>If <parameter>label.from.part</parameter> is zero (the
- default), numbering of components is <emphasis>not</emphasis>
- re-started within each <tag>part</tag>; instead, components are
- numbered sequentially throughout each <tag>book</tag>,
- regardless of whether or not they occur within <tag>part</tag>
- instances.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="component.label.includes.part.label">
- <refmeta>
- <refentrytitle>component.label.includes.part.label</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>component.label.includes.part.label</refname>
- <refpurpose>Do component labels include the part label?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="component.label.includes.part.label.frag"><xsl:param name="component.label.includes.part.label" select="0"></xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, number labels for <tag>chapter</tag>,
- <tag>appendix</tag>, and other component elements are prefixed with
- the label of the part element that contains them. So you might see
- Chapter II.3 instead of Chapter 3. Also, the labels for formal
- elements such as <tag>table</tag> and <tag>figure</tag> will include
- the part label. If there is no part element container, then no prefix
- is generated.
- </para>
- <para>
- This feature is most useful when the
- <parameter>label.from.part</parameter> parameter is turned on.
- In that case, there would be more than one <tag>chapter</tag>
- <quote>1</quote>, and the extra part label prefix will identify
- each chapter unambiguously.
- </para>
- </refsection>
- </refentry>
- </reference><reference id="html" xml:base="../html/param.xml"><title>HTML</title>
- <refentry version="5.0" id="html.base">
- <refmeta>
- <refentrytitle>html.base</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">uri</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>html.base</refname>
- <refpurpose>An HTML base URI</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="html.base.frag">
- <xsl:param name="html.base"></xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If html.base is set, it is used for the <tag>base</tag> element
- in the <tag>head</tag> of the html documents. The parameter specifies
- the base URL for all relative URLs in the document. This is useful
- for dynamically served html where the base URI needs to be
- shifted.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="html.stylesheet">
- <refmeta>
- <refentrytitle>html.stylesheet</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>html.stylesheet</refname>
- <refpurpose>Name of the stylesheet(s) to use in the generated HTML</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="html.stylesheet.frag">
- <xsl:param name="html.stylesheet"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The <parameter>html.stylesheet</parameter> parameter is either
- empty, indicating that no stylesheet <tag>link</tag> tag should be
- generated in the html output, or it is a list of one or more
- stylesheet files.</para>
- <para>Multiple stylesheets are space-delimited. If you need to
- reference a stylesheet URI that includes a space, encode it with
- <literal>%20</literal>. A separate html <literal>link</literal> element will
- be generated for each stylesheet in the order they are listed in the
- parameter.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="html.stylesheet.type">
- <refmeta>
- <refentrytitle>html.stylesheet.type</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>html.stylesheet.type</refname>
- <refpurpose>The type of the stylesheet used in the generated HTML</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="html.stylesheet.type.frag"><xsl:param name="html.stylesheet.type">text/css</xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The type of the stylesheet to place in the HTML <tag>link</tag> tag.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="css.decoration">
- <refmeta>
- <refentrytitle>css.decoration</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>css.decoration</refname>
- <refpurpose>Enable CSS decoration of elements</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="css.decoration.frag">
- <xsl:param name="css.decoration" select="1"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>
- If non-zero, then html elements produced by the stylesheet may be
- decorated with <literal>style</literal> attributes. For example, the
- <literal>li</literal> tags produced for list items may include a
- fragment of CSS in the <literal>style</literal> attribute which sets
- the CSS property "list-style-type".
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="html.script">
- <refmeta>
- <refentrytitle>html.script</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>html.script</refname>
- <refpurpose>Name of the script(s) to use in the generated HTML</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="html.script.frag">
- <xsl:param name="html.script"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The <parameter>html.script</parameter> parameter is either
- empty (default), indicating that no <tag>script</tag> element should be
- generated in the html output, or it is a list of one or more
- script locations.</para>
- <para>Multiple script locations are space-delimited. If you need to
- reference a script URI that includes a space, encode it with
- <literal>%20</literal>. A separate html <literal>script</literal> element will
- be generated for each script in the order they are listed in the
- parameter.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="html.script.type">
- <refmeta>
- <refentrytitle>html.script.type</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>html.script.type</refname>
- <refpurpose>The type of script used in the generated HTML</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="html.script.type.frag"><xsl:param name="html.script.type">text/javascript</xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The type of script to place in the HTML <tag>script</tag> element.
- Specifically, the value of the <tag>script</tag> element's <tag>type</tag>
- attribute.
- The default value is <literal>text/javascript</literal>.
- This param is used only when the stylesheet parameter
- <tag>html.script</tag> is non-blank and specifies the location of a script.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="spacing.paras">
- <refmeta>
- <refentrytitle>spacing.paras</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>spacing.paras</refname>
- <refpurpose>Insert additional <p> elements for spacing?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="spacing.paras.frag">
- <xsl:param name="spacing.paras" select="0"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>When non-zero, additional, empty paragraphs are inserted in
- several contexts (for example, around informal figures), to create a
- more pleasing visual appearance in many browsers.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="emphasis.propagates.style">
- <refmeta>
- <refentrytitle>emphasis.propagates.style</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>emphasis.propagates.style</refname>
- <refpurpose>Pass emphasis role attribute through to HTML?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="emphasis.propagates.style.frag">
- <xsl:param name="emphasis.propagates.style" select="1"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, the <literal>role</literal> attribute of
- <tag>emphasis</tag> elements will be passed through to the HTML as a
- class attribute on a <literal>span</literal> that surrounds the
- emphasis.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="para.propagates.style">
- <refmeta>
- <refentrytitle>para.propagates.style</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>para.propagates.style</refname>
- <refpurpose>Pass para role attribute through to HTML?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="para.propagates.style.frag">
- <xsl:param name="para.propagates.style" select="1"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If true, the role attribute of <tag>para</tag> elements
- will be passed through to the HTML as a class attribute on the
- <tag>p</tag> generated for the paragraph.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="phrase.propagates.style">
- <refmeta>
- <refentrytitle>phrase.propagates.style</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>phrase.propagates.style</refname>
- <refpurpose>Pass phrase role attribute through to HTML?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="phrase.propagates.style.frag">
- <xsl:param name="phrase.propagates.style" select="1"></xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, the role attribute of <tag>phrase</tag> elements
- will be passed through to the HTML as a <literal>class</literal>
- attribute on a <literal>span</literal> that surrounds the
- phrase.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="entry.propagates.style">
- <refmeta>
- <refentrytitle>entry.propagates.style</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>entry.propagates.style</refname>
- <refpurpose>Pass entry role attribute through to HTML?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="entry.propagates.style.frag">
- <xsl:param name="entry.propagates.style" select="1"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If true, the role attribute of <tag>entry</tag> elements
- will be passed through to the HTML as a class attribute on the
- <tag>td</tag> or <tag>th</tag> generated for the table
- cell.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="html.longdesc">
- <refmeta>
- <refentrytitle>html.longdesc</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>html.longdesc</refname>
- <refpurpose>Should longdesc URIs be created?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="html.longdesc.frag">
- <xsl:param name="html.longdesc" select="1"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, HTML files will be created for the
- <literal>longdesc</literal> attribute. These files
- are created from the <tag>textobject</tag>s in
- <tag>mediaobject</tag>s and
- <tag>inlinemediaobject</tag>.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="html.longdesc.link">
- <refmeta>
- <refentrytitle>html.longdesc.link</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>html.longdesc.link</refname>
- <refpurpose>Should a link to the longdesc be included in the HTML?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="html.longdesc.link.frag">
- <xsl:param name="html.longdesc.link" select="$html.longdesc"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, links will be created to the
- HTML files created for the
- <literal>longdesc</literal> attribute. It makes no
- sense to enable this option without also enabling the
- <parameter>html.longdesc</parameter> parameter.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="make.valid.html">
- <refmeta>
- <refentrytitle>make.valid.html</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>make.valid.html</refname>
- <refpurpose>Attempt to make sure the HTML output is valid HTML</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="make.valid.html.frag">
- <xsl:param name="make.valid.html" select="0"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If <parameter>make.valid.html</parameter> is true, the stylesheets take
- extra effort to ensure that the resulting HTML is valid. This may mean that some
- <tag>para</tag> tags are translated into HTML <tag>div</tag>s or
- that other substitutions occur.</para>
- <para>This parameter is different from <parameter>html.cleanup</parameter>
- because it changes the resulting markup; it does not use extension functions
- to manipulate result-tree-fragments and is therefore applicable to any
- XSLT processor.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="html.cleanup">
- <refmeta>
- <refentrytitle>html.cleanup</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>html.cleanup</refname>
- <refpurpose>Attempt to clean up the resulting HTML?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="html.cleanup.frag">
- <xsl:param name="html.cleanup" select="1"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, and if the <link xlink:href="http://www.exslt.org/">EXSLT</link>
- extensions are supported by your processor, the resulting HTML will be
- <quote>cleaned up</quote>. This improves the chances that the
- resulting HTML will be valid. It may also improve the formatting of
- some elements.</para>
- <para>This parameter is different from <parameter>make.valid.html</parameter>
- because it uses extension functions to manipulate result-tree-fragments.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="html.append">
- <refmeta>
- <refentrytitle>html.append</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>html.append</refname>
- <refpurpose>Specifies content to append to HTML output</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="html.append.frag"><xsl:param name="html.append"></xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Specifies content to append to the end of HTML files output by
- the <filename>html/docbook.xsl</filename> stylesheet, after the
- closing <code><html></code> tag. You probably don’t want to set any
- value for this parameter; but if you do, the only value it should ever
- be set to is a newline character: <code>&#x0a;</code> or
- <code>&#10;</code></para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="draft.mode">
- <refmeta>
- <refentrytitle>draft.mode</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">list</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">no</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">yes</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">maybe</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>draft.mode</refname>
- <refpurpose>Select draft mode</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="draft.mode.frag">
- <xsl:param name="draft.mode">no</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Selects draft mode. If <parameter>draft.mode</parameter> is
- <quote><literal>yes</literal></quote>, the entire document will be treated
- as a draft. If it is <quote><literal>no</literal></quote>, the entire document
- will be treated as a final copy. If it is <quote><literal>maybe</literal></quote>,
- individual sections will be treated as draft or final independently, depending
- on how their <literal>status</literal> attribute is set.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="draft.watermark.image">
- <refmeta>
- <refentrytitle>draft.watermark.image</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">uri</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>draft.watermark.image</refname>
- <refpurpose>The URI of the image to be used for draft watermarks</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="draft.watermark.image.frag">
- <xsl:param name="draft.watermark.image">images/draft.png</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The image to be used for draft watermarks.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="generate.id.attributes">
- <refmeta>
- <refentrytitle>generate.id.attributes</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>generate.id.attributes</refname>
- <refpurpose>Generate ID attributes on container elements?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="generate.id.attributes.frag">
- <xsl:param name="generate.id.attributes" select="0"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, the HTML stylesheet will generate ID attributes on
- containers. For example, the markup:</para>
- <screen><section id="foo"><title>Some Title</title>
- <para>Some para.</para>
- </section></screen>
- <para>might produce:</para>
- <screen><div class="section" id="foo">
- <h2>Some Title</h2>
- <p>Some para.</p>
- </div></screen>
- <para>The alternative is to generate anchors:</para>
- <screen><div class="section">
- <h2><a name="foo"></a>Some Title</h2>
- <p>Some para.</p>
- </div></screen>
- <para>Because the <tag class="attribute">name</tag> attribute of
- the <tag>a</tag> element and the <tag class="attribute">id</tag>
- attribute of other tags are both of type <quote>ID</quote>, producing both
- generates invalid documents.</para>
- <para>As of version 1.50, you can use this switch to control which type of
- identifier is generated. For backwards-compatibility, generating
- <tag>a</tag> anchors is preferred.</para>
- <para>Note: at present, this switch is incompletely implemented.
- Disabling ID attributes will suppress them, but enabling ID attributes
- will not suppress the anchors.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="generate.consistent.ids">
- <refmeta>
- <refentrytitle>generate.consistent.ids</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>generate.consistent.ids</refname>
- <refpurpose>Generate consistent id values if document is unchanged</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="generate.consistent.ids.frag">
- <xsl:param name="generate.consistent.ids" select="0"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>When the stylesheet assigns an id value to an output element,
- the generate-id() function may be used. That function may not
- produce consistent values between runs. Version control
- systems may misidentify the changing id values as changes
- to the document.</para>
- <para>If you set this parameter's value to 1, then the
- template named <literal>object.id</literal> will replace
- the use of the function generate-id() with
- <literal><xsl:number level="multiple" count="*"/></literal>.
- This counts preceding elements to generate a unique number for
- the id value.</para>
- <caution>
- <para>This param does not associate permanent unique id values
- with particular elements.
- The id values are consistent only as long as the document
- structure does not change.
- If the document structure changes, then the counting
- of elements changes, and all id values after
- the first such change may be different, even when there is
- no change to the element itself or its output.
- </para>
- </caution>
- <para>The default value of this parameter is zero, so generate-id() is used
- by default.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="generate.meta.abstract">
- <refmeta>
- <refentrytitle>generate.meta.abstract</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>generate.meta.abstract</refname>
- <refpurpose>Generate HTML <tag>META</tag> element from <tag>abstract</tag>?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="generate.meta.abstract.frag">
- <xsl:param name="generate.meta.abstract" select="1"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, document abstracts will be reproduced in the HTML
- <literal>head</literal>, with <literal>>meta name="description" content="..."</literal></para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="make.clean.html">
- <refmeta>
- <refentrytitle>make.clean.html</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>make.clean.html</refname>
- <refpurpose>Make HTML conform to modern coding standards</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="make.clean.html.frag">
- <xsl:param name="make.clean.html" select="0"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If <parameter>make.clean.html</parameter> is true, the stylesheets take
- extra effort to ensure that the resulting HTML is conforms to
- modern HTML coding standards. In addition to eliminating
- excessive and noncompliant coding, it moves presentation
- HTML coding to a CSS stylesheet.</para>
- <para>The resulting HTML is dependent on
- CSS for formatting, and so the stylesheet is capable of
- generating a supporting CSS file. The <parameter>docbook.css.source</parameter>
- and <parameter>custom.css.source</parameter> parameters control
- how a CSS file is generated.</para>
- <para>If you require your CSS to reside in the HTML
- <tag>head</tag> element, then the <parameter>generate.css.header</parameter>
- can be used to do that.</para>
- <para>The <parameter>make.clean.html</parameter> parameter is
- different from <parameter>html.cleanup</parameter>
- because the former changes the resulting markup; it does not use extension functions
- like the latter to manipulate result-tree-fragments,
- and is therefore applicable to any XSLT processor.</para>
- <para>If <parameter>make.clean.html</parameter> is set to zero (the default),
- then the stylesheet retains its original
- <quote>old style</quote>
- HTML formatting features.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="docbook.css.source">
- <refmeta>
- <refentrytitle>docbook.css.source</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>docbook.css.source</refname>
- <refpurpose>Name of the default CSS input file</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="docbook.css.source.frag"><xsl:param name="docbook.css.source">docbook.css.xml</xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The <parameter>docbook.css.source</parameter> parameter
- specifies the name of the file containing the default DocBook
- CSS styles. Those styles are necessary when the
- <parameter>make.clean.html</parameter> parameter is nonzero.</para>
- <para>The file is a well-formed XML file that
- must consist of a single <tag>style</tag> root
- element that contains CSS styles as its text content.
- The default value of the parameter (and filename)
- is <literal>docbook.css.xml</literal>.
- The stylesheets ship with the default file. You can substitute
- your own and specify its path in this parameter.</para>
- <para>If <parameter>docbook.css.source</parameter> is not blank,
- and <parameter>make.clean.html</parameter> is nonzero, then
- the stylesheet takes the following actions:</para>
- <orderedlist>
- <listitem>
- <para>The stylesheet uses the XSLT <literal>document()</literal>
- function to open the file specified by the parameter and
- load it into a variable.</para>
- </listitem>
- <listitem>
- <para>The stylesheet forms an output pathname consisting of the
- value of the <parameter>base.dir</parameter> parameter (if it is set)
- and the value of <parameter>docbook.css.source</parameter>,
- with the <literal>.xml</literal> suffix stripped off.
- </para>
- </listitem>
- <listitem>
- <para>The stylesheet removes the <tag>style</tag>
- wrapper element and writes just the CSS text content to the output file.</para>
- </listitem>
- <listitem>
- <para>The stylesheet adds a <tag>link</tag> element to the
- HTML <tag>HEAD</tag> element to reference the external CSS stylesheet.
- For example:</para>
- <programlisting><link rel="stylesheet" href="docbook.css" type="text/css">
- </programlisting>
- <para>However, if the <parameter>docbook.css.link</parameter>
- parameter is set to zero, then no <tag>link</tag> is written
- for the default CSS file. That is useful if a custom
- CSS file will import the default CSS stylesheet to ensure
- proper cascading of styles.</para>
- </listitem>
- </orderedlist>
- <para>If the <parameter>docbook.css.source</parameter> parameter
- is changed from its default <literal>docbook.css.xml</literal> to blank,
- then no default CSS is generated. Likewise if the
- <parameter>make.clean.html</parameter> parameter is set to zero,
- then no default CSS is generated. The
- <parameter>custom.css.source</parameter> parameter can be used
- instead to generate a complete custom CSS file.</para>
- <para>You can use the <parameter>generate.css.header</parameter>
- parameter to instead write the CSS to each HTML <tag>HEAD</tag>
- element in a <tag>style</tag> tag instead of an external CSS file.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="docbook.css.link">
- <refmeta>
- <refentrytitle>docbook.css.link</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>docbook.css.link</refname>
- <refpurpose>Insert a link referencing the default CSS stylesheet</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="docbook.css.link.frag">
- <xsl:param name="docbook.css.link" select="1"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The stylesheets are capable of generating a default
- CSS stylesheet file. The parameters
- <parameter>make.clean.html</parameter> and
- <parameter>docbook.css.source</parameter> control that feature.</para>
- <para>Normally if a default CSS file is generated, then
- the stylesheet inserts a <tag>link</tag> tag in the HTML
- <tag>HEAD</tag> element to reference it.
- However, you can omit that <tag>link</tag> reference if
- you set the <parameter>docbook.css.link</parameter> to zero
- (1 is the default).</para>
- <para>This parameter is useful when you want to import the
- default CSS into a custom CSS file generated using the
- <parameter>custom.css.source</parameter> parameter.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="custom.css.source">
- <refmeta>
- <refentrytitle>custom.css.source</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>custom.css.source</refname>
- <refpurpose>Name of a custom CSS input file</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="custom.css.source.frag"><xsl:param name="custom.css.source"></xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The <parameter>custom.css.source</parameter>
- parameter enables you to add CSS styles to DocBook's
- HTML output.</para>
- <para>The parameter
- specifies the name of a file containing custom
- CSS styles. The file must be a well-formed XML file that
- consists of a single <tag>style</tag> root
- element that contains CSS styles as its text content.
- For example:</para>
- <programlisting><?xml version="1.0"?>
- <style>
- h2 {
- font-weight: bold;
- color: blue;
- }
- ...
- </style>
- </programlisting>
- <para>The filename specified by the parameter
- should have a <literal>.xml</literal>
- filename suffix, although that is not required.
- The default value of this parameter is blank.</para>
- <para>If <parameter>custom.css.source</parameter> is not blank, then
- the stylesheet takes the following actions.
- These actions take place regardless of the value of
- the <parameter>make.clean.html</parameter> parameter.</para>
- <orderedlist>
- <listitem>
- <para>The stylesheet uses the XSLT <literal>document()</literal>
- function to open the file specified by the parameter and
- load it into a variable.</para>
- </listitem>
- <listitem>
- <para>The stylesheet forms an output pathname consisting of the
- value of the <parameter>base.dir</parameter> parameter (if it is set)
- and the value of <parameter>custom.css.source</parameter>,
- with the <literal>.xml</literal> suffix stripped off.
- </para>
- </listitem>
- <listitem>
- <para>The stylesheet removes the <tag>style</tag>
- wrapper element and writes just the CSS text content to the output file.</para>
- </listitem>
- <listitem>
- <para>The stylesheet adds a <tag>link</tag> element to the
- HTML <tag>HEAD</tag> element to reference this external CSS stylesheet.
- For example:
- <programlisting><link rel="stylesheet" href="custom.css" type="text/css">
- </programlisting>
- </para>
- </listitem>
- </orderedlist>
- <para>If the <parameter>make.clean.html</parameter> parameter is nonzero
- (the default is zero),
- and if the <parameter>docbook.css.source</parameter> parameter
- is not blank (the default is not blank),
- then the stylesheet will also generate a default CSS file
- and add a <tag>link</tag> tag to reference it.
- The <tag>link</tag> to the custom CSS comes after the
- <tag>link</tag> to the default, so it should cascade properly
- in most browsers.
- If you do not want two <tag>link</tag> tags, and
- instead want your custom CSS to import the default generated
- CSS file, then do the following:
- </para>
- <orderedlist>
- <listitem>
- <para>Add a line like the following to your custom CSS source file:</para>
- <programlisting>@import url("docbook.css")
- </programlisting>
- </listitem>
- <listitem>
- <para>Set the <parameter>docbook.css.link</parameter> parameter
- to zero. This will omit the <tag>link</tag> tag
- that references the default CSS file.</para>
- </listitem>
- </orderedlist>
- <para>If you set <parameter>make.clean.html</parameter> to nonzero but
- you do not want the default CSS generated, then also set
- the <parameter>docbook.css.source</parameter> parameter to blank.
- Then no default CSS will be generated, and so
- all CSS styles must come from your custom CSS file.</para>
- <para>You can use the <parameter>generate.css.header</parameter>
- parameter to instead write the CSS to each HTML <tag>HEAD</tag>
- element in a <tag>style</tag> tag instead of an external CSS file.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="generate.css.header">
- <refmeta>
- <refentrytitle>generate.css.header</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>generate.css.header</refname>
- <refpurpose>Insert generated CSS styles in HEAD element</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="generate.css.header.frag">
- <xsl:param name="generate.css.header" select="0"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The stylesheets are capable of generating both default
- and custom CSS stylesheet files. The parameters
- <parameter>make.clean.html</parameter>,
- <parameter>docbook.css.source</parameter>, and
- <parameter>custom.css.source</parameter> control that feature.</para>
- <para>If you require that CSS styles reside in the HTML
- <tag>HEAD</tag> element instead of external CSS files,
- then set the <parameter>generate.css.header</parameter>
- parameter to nonzero (it is zero by default).
- Then instead of generating the CSS in external files,
- they are wrapped in <tag>style</tag> elements in
- the <tag>HEAD</tag> element of each HTML output file.
- </para>
- </refsection>
- </refentry>
- </reference><reference id="xslt" xml:base="../html/param.xml"><title>XSLT Processing</title>
- <refentry version="5.0" id="rootid">
- <refmeta>
- <refentrytitle>rootid</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>rootid</refname>
- <refpurpose>Specify the root element to format</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="rootid.frag">
- <xsl:param name="rootid"></xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If <parameter>rootid</parameter> is not empty, it must be the
- value of an ID that occurs in the document being formatted. The entire
- document will be loaded and parsed, but formatting will begin at the
- element identified, rather than at the root. For example, this allows
- you to process only <tag>chapter</tag> 4 of a <tag>book</tag>.</para>
- <para>Because the entire document is available to the processor, automatic
- numbering, cross references, and other dependencies are correctly
- resolved.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="suppress.navigation">
- <refmeta>
- <refentrytitle>suppress.navigation</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>suppress.navigation</refname>
- <refpurpose>Disable header and footer navigation</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="suppress.navigation.frag">
- <xsl:param name="suppress.navigation" select="0"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>
- If non-zero, header and footer navigation will be suppressed.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="suppress.header.navigation">
- <refmeta>
- <refentrytitle>suppress.header.navigation</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>suppress.header.navigation</refname>
- <refpurpose>Disable header navigation</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="suppress.header.navigation.frag">
- <xsl:param name="suppress.header.navigation" select="0"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, header navigation will be suppressed.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="suppress.footer.navigation">
- <refmeta>
- <refentrytitle>suppress.footer.navigation</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>suppress.footer.navigation</refname>
- <refpurpose>Disable footer navigation</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="suppress.footer.navigation.frag"><xsl:param name="suppress.footer.navigation">0</xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>
- If non-zero, footer navigation will be suppressed.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="header.rule">
- <refmeta>
- <refentrytitle>header.rule</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>header.rule</refname>
- <refpurpose>Rule under headers?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="header.rule.frag">
- <xsl:param name="header.rule" select="1"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, a rule will be drawn below the page headers.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="footer.rule">
- <refmeta>
- <refentrytitle>footer.rule</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>footer.rule</refname>
- <refpurpose>Rule over footers?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="footer.rule.frag">
- <xsl:param name="footer.rule" select="1"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, a rule will be drawn above the page footers.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="id.warnings">
- <refmeta>
- <refentrytitle>id.warnings</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>id.warnings</refname>
- <refpurpose>Should warnings be generated for titled elements without IDs?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="id.warnings.frag">
- <xsl:param name="id.warnings" select="0"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, the stylesheet will issue a warning for any element
- (other than the root element) which has a <tag>title</tag> but does not have an
- ID.</para>
- </refsection>
- </refentry>
- </reference><reference id="meta" xml:base="../html/param.xml"><title>Meta/*Info and Titlepages</title>
- <refentry version="5.0" id="inherit.keywords">
- <refmeta>
- <refentrytitle>inherit.keywords</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>inherit.keywords</refname>
- <refpurpose>Inherit keywords from ancestor elements?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="inherit.keywords.frag">
- <xsl:param name="inherit.keywords" select="1"></xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If <parameter>inherit.keywords</parameter>
- is non-zero, the keyword <literal>meta</literal> for each HTML
- <literal>head</literal> element will include all of the keywords from
- ancestor elements. Otherwise, only the keywords from the current section
- will be used.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="make.single.year.ranges">
- <refmeta>
- <refentrytitle>make.single.year.ranges</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>make.single.year.ranges</refname>
- <refpurpose>Print single-year ranges (e.g., 1998-1999)</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="make.single.year.ranges.frag">
- <xsl:param name="make.single.year.ranges" select="0"></xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, year ranges that span a single year will be printed
- in range notation (1998-1999) instead of discrete notation
- (1998, 1999).</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="make.year.ranges">
- <refmeta>
- <refentrytitle>make.year.ranges</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>make.year.ranges</refname>
- <refpurpose>Collate copyright years into ranges?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="make.year.ranges.frag"><xsl:param name="make.year.ranges" select="0"></xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, multiple copyright <tag>year</tag> elements will be
- collated into ranges.
- This works only if each year number is put into a separate
- year element. The copyright element permits multiple
- year elements. If a year element contains a dash or
- a comma, then that year element will not be merged into
- any range.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="author.othername.in.middle">
- <refmeta>
- <refentrytitle>author.othername.in.middle</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>author.othername.in.middle</refname>
- <refpurpose>Is <tag>othername</tag> in <tag>author</tag> a
- middle name?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="author.othername.in.middle.frag">
- <xsl:param name="author.othername.in.middle" select="1"></xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, the <tag>othername</tag> of an <tag>author</tag>
- appears between the <tag>firstname</tag> and
- <tag>surname</tag>. Otherwise, <tag>othername</tag>
- is suppressed.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="blurb.on.titlepage.enabled">
- <refmeta>
- <refentrytitle>blurb.on.titlepage.enabled</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>blurb.on.titlepage.enabled</refname>
- <refpurpose>Display personblurb and authorblurb on title pages?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="blurb.on.titlepage.enabled.frag">
- <xsl:param name="blurb.on.titlepage.enabled" select="0"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, output from <tag>authorblurb</tag> and
- <tag>personblurb</tag> elements is displayed on title pages. If zero
- (the default), output from those elements is suppressed on title pages
- (unless you are using a <literal>titlepage</literal> customization
- that causes them to be included).</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="contrib.inline.enabled">
- <refmeta>
- <refentrytitle>contrib.inline.enabled</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>contrib.inline.enabled</refname>
- <refpurpose>Display contrib output inline?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="contrib.inline.enabled.frag"><xsl:param name="contrib.inline.enabled">1</xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero (the default), output of the <tag>contrib</tag> element is
- displayed as inline content rather than as block content.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="editedby.enabled">
- <refmeta>
- <refentrytitle>editedby.enabled</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>editedby.enabled</refname>
- <refpurpose>Display “Edited by” heading above editor name?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="editedby.enabled.frag"><xsl:param name="editedby.enabled">1</xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, a localized <emphasis role="bold">Edited
- by</emphasis> heading is displayed above editor names in output of the
- <tag>editor</tag> element.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="abstract.notitle.enabled">
- <refmeta>
- <refentrytitle>abstract.notitle.enabled</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>abstract.notitle.enabled</refname>
- <refpurpose>Suppress display of abstract titles?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="abstract.notitle.enabled.frag"><xsl:param name="abstract.notitle.enabled" select="0"></xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, in output of the <tag>abstract</tag> element on titlepages,
- display of the abstract title is suppressed.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="othercredit.like.author.enabled">
- <refmeta>
- <refentrytitle>othercredit.like.author.enabled</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>othercredit.like.author.enabled</refname>
- <refpurpose>Display othercredit in same style as author?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="othercredit.like.author.enabled.frag"><xsl:param name="othercredit.like.author.enabled">0</xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, output of the
- <tag>othercredit</tag> element on titlepages is displayed in
- the same style as <tag>author</tag> and
- <tag>editor</tag> output. If zero then
- <tag>othercredit</tag> output is displayed using a style
- different than that of <tag>author</tag> and
- <tag>editor</tag>.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="generate.legalnotice.link">
- <refmeta>
- <refentrytitle>generate.legalnotice.link</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>generate.legalnotice.link</refname>
- <refpurpose>Write legalnotice to separate chunk and generate link?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="generate.legalnotice.link.frag"><xsl:param name="generate.legalnotice.link" select="0"></xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If the value of <parameter>generate.legalnotice.link</parameter>
- is non-zero, the stylesheet:
- <itemizedlist>
- <listitem>
- <para>writes the contents of <tag>legalnotice</tag> to a separate
- HTML file</para>
- </listitem>
- <listitem>
- <para>inserts a hyperlink to the <tag>legalnotice</tag> file</para>
- </listitem>
- <listitem>
- <para>adds (in the HTML <literal>head</literal>) either a single
- <literal>link</literal> or element or multiple
- <literal>link</literal> elements (depending on the value of the
- <parameter>html.head.legalnotice.link.multiple</parameter>
- parameter), with the value or values derived from the
- <parameter>html.head.legalnotice.link.types</parameter>
- parameter</para>
- </listitem>
- </itemizedlist>
- Otherwise, if <parameter>generate.legalnotice.link</parameter> is
- zero, <tag>legalnotice</tag> contents are rendered on the title
- page.</para>
- <para>The name of the separate HTML file is computed as follows:
- <orderedlist>
- <listitem>
- <para>If a filename is given by the <tag class="xmlpi">dbhtml filename</tag>
- processing instruction, that filename is used.</para>
- </listitem>
- <listitem>
- <para>If the legalnotice has an <tag class="attribute">id</tag>/<tag class="attribute">xml:id</tag>
- attribute, and if <parameter>use.id.as.filename</parameter> != 0, the filename
- is the concatenation of the id value and the value of the <parameter>html.ext</parameter>
- parameter.</para>
- </listitem>
- <listitem>
- <para>If the legalnotice does not have an <tag class="attribute">id</tag>/<tag class="attribute">xml:id</tag>
- attribute, or if <parameter>use.id.as.filename</parameter> = 0, the filename is the concatenation of "ln-",
- auto-generated id value, and <parameter>html.ext</parameter> value.
- </para>
- </listitem>
- </orderedlist>
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="generate.revhistory.link">
- <refmeta>
- <refentrytitle>generate.revhistory.link</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>generate.revhistory.link</refname>
- <refpurpose>Write revhistory to separate chunk and generate link?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="generate.revhistory.link.frag"><xsl:param name="generate.revhistory.link" select="0"></xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, the contents of <tag>revhistory</tag> are written
- to a separate HTML file and a link to the file is
- generated. Otherwise, <tag>revhistory</tag> contents are rendered on
- the title page.</para>
- <para>The name of the separate HTML file is computed as follows:
- <orderedlist>
- <listitem>
- <para>If a filename is given by the <tag class="xmlpi">dbhtml filename</tag> processing instruction,
- that filename is used.</para>
- </listitem>
- <listitem>
- <para>If the revhistory has an <tag class="attribute">id</tag>/<tag class="attribute">xml:id</tag>
- attribute, and if <parameter>use.id.as.filename</parameter> != 0, the filename is the concatenation of
- the id value and the value of the <parameter>html.ext</parameter> parameter.</para>
- </listitem>
- <listitem>
- <para>If the revhistory does not have an <tag class="attribute">id</tag>/<tag class="attribute">xml:id</tag>
- attribute, or if <parameter>use.id.as.filename</parameter> = 0, the filename is the concatenation of "rh-",
- auto-generated id value, and <parameter>html.ext</parameter> value.
- </para>
- </listitem>
- </orderedlist>
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="html.head.legalnotice.link.types">
- <refmeta>
- <refentrytitle>html.head.legalnotice.link.types</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>html.head.legalnotice.link.types</refname>
- <refpurpose>Specifies link types for legalnotice link in html head</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="html.head.legalnotice.link.types.frag">
- <xsl:param name="html.head.legalnotice.link.types">copyright</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The value of
- <parameter>html.head.legalnotice.link.types</parameter> is a
- space-separated list of link types, as described in <link xlink:href="http://www.w3.org/TR/html401/types.html#type-links">Section 6.12
- of the HTML 4.01 specification</link>. If the value of the
- <parameter>generate.legalnotice.link</parameter> parameter is
- non-zero, then the stylesheet generates (in the
- <literal>head</literal> section of the HTML source) either a single
- HTML <literal>link</literal> element or, if the value of the
- <parameter>html.head.legalnotice.link.multiple</parameter> is
- non-zero, one <literal>link</literal> element for each link type
- specified. Each <literal>link</literal> has the following attributes:
- <itemizedlist>
- <listitem>
- <para>a <tag class="attribute">rel</tag> attribute whose
- value is derived from the value of
- <parameter>html.head.legalnotice.link.types</parameter></para>
- </listitem>
- <listitem>
- <para>an <tag class="attribute">href</tag> attribute whose
- value is set to the URL of the file containing the
- <tag>legalnotice</tag></para>
- </listitem>
- <listitem>
- <para>a <tag class="attribute">title</tag> attribute whose
- value is set to the title of the corresponding
- <tag>legalnotice</tag> (or a title programatically
- determined by the stylesheet)</para>
- </listitem>
- </itemizedlist>
- For example:
- <screen> <link rel="license" href="ln-id2524073.html" title="Legal Notice"></screen>
- </para>
- <refsection><info><title>About the default value</title></info>
-
- <para>In an ideal world, the default value of
- <parameter>html.head.legalnotice.link.types</parameter> would
- probably be “<literal>license</literal>”, since the content of the
- DocBook <tag>legalnotice</tag> is typically license
- information, not copyright information. However, the default value
- is “<literal>copyright</literal>” for pragmatic reasons: because
- that’s among the set of “recognized link types” listed in <link xlink:href="http://www.w3.org/TR/html401/types.html#type-links">Section
- 6.12 of the HTML 4.01 specification</link>, and because certain
- browsers and browser extensions are preconfigured to recognize that
- value.</para>
- </refsection>
- </refsection>
- </refentry>
- <refentry version="5.0" id="html.head.legalnotice.link.multiple">
- <refmeta>
- <refentrytitle>html.head.legalnotice.link.multiple</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>html.head.legalnotice.link.multiple</refname>
- <refpurpose>Generate multiple link instances in html head for legalnotice?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="html.head.legalnotice.link.multiple.frag">
- <xsl:param name="html.head.legalnotice.link.multiple" select="1"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If <parameter>html.head.legalnotice.link.multiple</parameter> is
- non-zero and the value of
- <parameter>html.head.legalnotice.link.types</parameter> contains
- multiple link types, then the stylesheet generates (in the
- <literal>head</literal> section of the HTML source) one
- <literal>link</literal> element for each link type specified. For
- example, if the value of
- <parameter>html.head.legalnotice.link.types</parameter> is
- “<literal>copyright license</literal>”:
- <screen> <link rel="copyright" href="ln-id2524073.html" title="Legal Notice">
- <link rel="license" href="ln-id2524073.html" title="Legal Notice"></screen>
- Otherwise, the stylesheet generates generates a single
- <literal>link</literal> instance; for example:
- <screen> <link rel="copyright license" href="ln-id2524073.html" title="Legal Notice"></screen>
-
- </para>
- </refsection>
- </refentry>
- </reference><reference id="refentry" xml:base="../html/param.xml"><title>Reference Pages</title>
- <refentry version="5.0" id="funcsynopsis.decoration">
- <refmeta>
- <refentrytitle>funcsynopsis.decoration</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>funcsynopsis.decoration</refname>
- <refpurpose>Decorate elements of a <tag>funcsynopsis</tag>?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="funcsynopsis.decoration.frag">
- <xsl:param name="funcsynopsis.decoration" select="1"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, elements of the <tag>funcsynopsis</tag> will be
- decorated (e.g. rendered as bold or italic text). The decoration is controlled by
- templates that can be redefined in a customization layer.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="funcsynopsis.style">
- <refmeta>
- <refentrytitle>funcsynopsis.style</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">list</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">ansi</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">kr</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>funcsynopsis.style</refname>
- <refpurpose>What style of <tag>funcsynopsis</tag> should be generated?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="funcsynopsis.style.frag"><xsl:param name="funcsynopsis.style">kr</xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If <parameter>funcsynopsis.style</parameter> is <literal>ansi</literal>,
- ANSI-style function synopses are generated for a
- <tag>funcsynopsis</tag>, otherwise K&R-style
- function synopses are generated.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="function.parens">
- <refmeta>
- <refentrytitle>function.parens</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>function.parens</refname>
- <refpurpose>Generate parens after a function?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="function.parens.frag">
- <xsl:param name="function.parens" select="0"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, the formatting of a <tag>function</tag> element
- will include generated parentheses.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="refentry.generate.name">
- <refmeta>
- <refentrytitle>refentry.generate.name</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>refentry.generate.name</refname>
- <refpurpose>Output NAME header before <tag>refname</tag>s?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="refentry.generate.name.frag">
- <xsl:param name="refentry.generate.name" select="1"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, a "NAME" section title is output before the list
- of <tag>refname</tag>s. This parameter and
- <parameter>refentry.generate.title</parameter> are mutually
- exclusive. This means that if you change this parameter to zero, you
- should set <parameter>refentry.generate.title</parameter> to non-zero unless
- you want get quite strange output.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="refentry.generate.title">
- <refmeta>
- <refentrytitle>refentry.generate.title</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>refentry.generate.title</refname>
- <refpurpose>Output title before <tag>refname</tag>s?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="refentry.generate.title.frag">
- <xsl:param name="refentry.generate.title" select="0"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, the reference page title or first name is
- output before the list of <tag>refname</tag>s. This parameter and
- <parameter>refentry.generate.name</parameter> are mutually exclusive.
- This means that if you change this parameter to non-zero, you
- should set <parameter>refentry.generate.name</parameter> to zero unless
- you want get quite strange output.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="refentry.xref.manvolnum">
- <refmeta>
- <refentrytitle>refentry.xref.manvolnum</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>refentry.xref.manvolnum</refname>
- <refpurpose>Output <tag>manvolnum</tag> as part of
- <tag>refentry</tag> cross-reference?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="refentry.xref.manvolnum.frag">
- <xsl:param name="refentry.xref.manvolnum" select="1"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>if non-zero, the <tag>manvolnum</tag> is used when cross-referencing
- <tag>refentry</tag>s, either with <tag>xref</tag>
- or <tag>citerefentry</tag>.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="citerefentry.link">
- <refmeta>
- <refentrytitle>citerefentry.link</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>citerefentry.link</refname>
- <refpurpose>Generate URL links when cross-referencing RefEntrys?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="citerefentry.link.frag">
- <xsl:param name="citerefentry.link" select="0"></xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, a web link will be generated, presumably
- to an online man->HTML gateway. The text of the link is
- generated by the <literal>generate.citerefentry.link</literal> template.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="refentry.separator">
- <refmeta>
- <refentrytitle>refentry.separator</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>refentry.separator</refname>
- <refpurpose>Generate a separator between consecutive RefEntry elements?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="refentry.separator.frag">
- <xsl:param name="refentry.separator" select="1"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If true, a separator will be generated between consecutive
- reference pages.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="refclass.suppress">
- <refmeta>
- <refentrytitle>refclass.suppress</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>refclass.suppress</refname>
- <refpurpose>Suppress display of refclass contents?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="refclass.suppress.frag">
- <xsl:param name="refclass.suppress" select="0"></xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If the value of <parameter>refclass.suppress</parameter> is
- non-zero, then display of <tag>refclass</tag> contents is
- suppressed in output.</para>
- </refsection>
- </refentry>
- </reference><reference id="tables" xml:base="../html/param.xml"><title>Tables</title>
- <refentry version="5.0" id="default.table.width">
- <refmeta>
- <refentrytitle>default.table.width</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">length</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>default.table.width</refname>
- <refpurpose>The default width of tables</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="default.table.width.frag">
- <xsl:param name="default.table.width"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, this value will be used for the
- <literal>width</literal> attribute on <tag>table</tag>s that do not specify an
- alternate width (with the <tag class="xmlpi">dbhtml table-width</tag> or
- <tag class="xmlpi">dbfo table-width</tag> processing instruction).</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="nominal.table.width">
- <refmeta>
- <refentrytitle>nominal.table.width</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">length</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>nominal.table.width</refname>
- <refpurpose>The (absolute) nominal width of tables</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="nominal.table.width.frag">
- <xsl:param name="nominal.table.width">6in</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>In order to convert CALS column widths into HTML column widths, it
- is sometimes necessary to have an absolute table width to use for conversion
- of mixed absolute and relative widths. This value must be an absolute
- length (not a percentage).</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="table.borders.with.css">
- <refmeta>
- <refentrytitle>table.borders.with.css</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>table.borders.with.css</refname>
- <refpurpose>Use CSS to specify table, row, and cell borders?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="table.borders.with.css.frag">
- <xsl:param name="table.borders.with.css" select="0"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, CSS will be used to draw table borders.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="table.cell.border.style">
- <refmeta>
- <refentrytitle>table.cell.border.style</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">list</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">none</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">solid</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">dotted</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">dashed</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">double</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">groove</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">ridge</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">inset</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">outset</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">solid</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>table.cell.border.style</refname>
- <refpurpose>Specifies the border style of table cells</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="table.cell.border.style.frag">
- <xsl:param name="table.cell.border.style">solid</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Specifies the border style of table cells.</para>
- <note>
- <para>To control properties of cell borders in HTML output, you must also turn on the
- <parameter>table.borders.with.css</parameter> parameter.</para>
- </note>
- </refsection>
- </refentry>
- <refentry version="5.0" id="table.cell.border.thickness">
- <refmeta>
- <refentrytitle>table.cell.border.thickness</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">length</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>table.cell.border.thickness</refname>
- <refpurpose>Specifies the thickness of table cell borders</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="table.cell.border.thickness.frag">
- <xsl:param name="table.cell.border.thickness">0.5pt</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, specifies the thickness of borders on table
- cells. The units are points. See <link xlink:href="http://www.w3.org/TR/CSS21/box.html#border-width-properties">
- CSS</link></para>
- <note>
- <para>To control properties of cell borders in HTML output, you must also turn on the
- <parameter>table.borders.with.css</parameter> parameter.</para>
- </note>
- </refsection>
- </refentry>
- <refentry version="5.0" id="table.cell.border.color">
- <refmeta>
- <refentrytitle>table.cell.border.color</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">color</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>table.cell.border.color</refname>
- <refpurpose>Specifies the border color of table cells</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="table.cell.border.color.frag">
- <xsl:param name="table.cell.border.color"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Set the color of table cell borders. If non-zero, the value is used
- for the border coloration. See <link xlink:href="http://www.w3.org/TR/CSS21/syndata.html#value-def-color">CSS</link>. A
- <literal>color</literal> is either a keyword or a numerical RGB specification.
- Keywords are aqua, black, blue, fuchsia, gray, green, lime, maroon,
- navy, olive, orange, purple, red, silver, teal, white, and
- yellow.</para>
- <note>
- <para>To control properties of cell borders in HTML output, you must also turn on the
- <parameter>table.borders.with.css</parameter> parameter.</para>
- </note>
- </refsection>
- </refentry>
- <refentry version="5.0" id="table.frame.border.style">
- <refmeta>
- <refentrytitle>table.frame.border.style</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">list</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">none</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">solid</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">dotted</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">dashed</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">double</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">groove</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">ridge</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">inset</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">outset</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">solid</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>table.frame.border.style</refname>
- <refpurpose>Specifies the border style of table frames</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="table.frame.border.style.frag">
- <xsl:param name="table.frame.border.style">solid</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Specifies the border style of table frames.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="table.frame.border.thickness">
- <refmeta>
- <refentrytitle>table.frame.border.thickness</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">length</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>table.frame.border.thickness</refname>
- <refpurpose>Specifies the thickness of the frame border</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="table.frame.border.thickness.frag">
- <xsl:param name="table.frame.border.thickness">0.5pt</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Specifies the thickness of the border on the table's frame.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="table.frame.border.color">
- <refmeta>
- <refentrytitle>table.frame.border.color</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">color</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>table.frame.border.color</refname>
- <refpurpose>Specifies the border color of table frames</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="table.frame.border.color.frag">
- <xsl:param name="table.frame.border.color"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Specifies the border color of table frames.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="default.table.frame">
- <refmeta>
- <refentrytitle>default.table.frame</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>default.table.frame</refname>
- <refpurpose>The default framing of tables</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="default.table.frame.frag">
- <xsl:param name="default.table.frame">all</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>This value will be used when there is no frame attribute on the
- table. </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="html.cellspacing">
- <refmeta>
- <refentrytitle>html.cellspacing</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">integer</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>html.cellspacing</refname>
- <refpurpose>Default value for cellspacing in HTML tables</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="html.cellspacing.frag">
- <xsl:param name="html.cellspacing"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, this value will be used as the default cellspacing
- value in HTML tables. nn for pixels or nn% for percentage
- length. E.g. 5 or 5%</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="html.cellpadding">
- <refmeta>
- <refentrytitle>html.cellpadding</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">integer</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>html.cellpadding</refname>
- <refpurpose>Default value for cellpadding in HTML tables</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="html.cellpadding.frag">
- <xsl:param name="html.cellpadding"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, this value will be used as the default cellpadding value
- in HTML tables. nn for pixels or nn% for percentage length. E.g. 5 or
- 5%</para>
- </refsection>
- </refentry>
- </reference><reference id="qa" xml:base="../html/param.xml"><title>QAndASet</title>
- <refentry version="5.0" id="qanda.defaultlabel">
- <refmeta>
- <refentrytitle>qanda.defaultlabel</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">list</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">number</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">qanda</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">none</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>qanda.defaultlabel</refname>
- <refpurpose>Sets the default for defaultlabel on QandASet.</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="qanda.defaultlabel.frag">
- <xsl:param name="qanda.defaultlabel">number</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If no <literal>defaultlabel</literal> attribute is specified on
- a <tag>qandaset</tag>, this value is used. It is generally one of the legal
- values for the defaultlabel attribute (<literal>none</literal>,
- <literal>number</literal> or
- <literal>qanda</literal>), or one of the additional stylesheet-specific values
- (<literal>qnumber</literal> or <literal>qnumberanda</literal>).
- The default value is 'number'.
- </para>
- <para>The values are rendered as follows:</para>
- <variablelist>
- <varlistentry><term><literal>qanda</literal></term>
- <listitem>
- <para><tag>question</tag>s are labeled "Q:" and
- <tag>answer</tag>s are labeled "A:". </para>
- </listitem>
- </varlistentry>
- <varlistentry><term><literal>number</literal></term>
- <listitem>
- <para>The questions are enumerated and the answers
- are not labeled. </para>
- </listitem>
- </varlistentry>
- <varlistentry><term><literal>qnumber</literal></term>
- <listitem>
- <para>The questions are labeled "Q:" followed by a number, and answers are not
- labeled.
- When sections are numbered, adding a label
- to the number distinguishes the question numbers
- from the section numbers.
- This value is not allowed in the
- <tag class="attribute">defaultlabel</tag> attribute
- of a <tag>qandaset</tag> element.</para>
- </listitem>
- </varlistentry>
- <varlistentry><term><literal>qnumberanda</literal></term>
- <listitem>
- <para>The questions are labeled "Q:" followed by a number, and
- the answers are labeled "A:".
- When sections are numbered, adding a label
- to the number distinguishes the question numbers
- from the section numbers.
- This value is not allowed in the
- <tag class="attribute">defaultlabel</tag> attribute
- of a <tag>qandaset</tag> element.</para>
- </listitem>
- </varlistentry>
- <varlistentry><term><literal>none</literal></term>
- <listitem>
- <para>No distinguishing label precedes Questions or Answers.
- </para>
- </listitem>
- </varlistentry>
- </variablelist>
- </refsection>
- </refentry>
- <refentry version="5.0" id="qanda.inherit.numeration">
- <refmeta>
- <refentrytitle>qanda.inherit.numeration</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>qanda.inherit.numeration</refname>
- <refpurpose>Does enumeration of QandASet components inherit the numeration of parent elements?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="qanda.inherit.numeration.frag">
- <xsl:param name="qanda.inherit.numeration" select="1"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, numbered <tag>qandadiv</tag> elements and
- <tag>question</tag> and <tag>answer</tag> inherit the enumeration of
- the ancestors of the <tag>qandaset</tag>.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="qanda.in.toc">
- <refmeta>
- <refentrytitle>qanda.in.toc</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>qanda.in.toc</refname>
- <refpurpose>Should qandaentry questions appear in
- the document table of contents?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="qanda.in.toc.frag"><xsl:param name="qanda.in.toc" select="0"></xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If true (non-zero), then the generated table of contents
- for a document will include <tag>qandaset</tag> titles,
- <tag>qandadiv</tag> titles,
- and <tag>question</tag> elements. The default value (zero) excludes
- them from the TOC.
- </para>
- <para>This parameter does not affect any tables of contents
- that may be generated inside a qandaset or qandadiv.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="qanda.nested.in.toc">
- <refmeta>
- <refentrytitle>qanda.nested.in.toc</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>qanda.nested.in.toc</refname>
- <refpurpose>Should nested answer/qandaentry instances appear in TOC?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="qanda.nested.in.toc.frag">
- <xsl:param name="qanda.nested.in.toc" select="0"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, instances of <tag>qandaentry</tag>
- that are children of <tag>answer</tag> elements are shown in
- the TOC.</para>
- </refsection>
- </refentry>
- </reference><reference id="links" xml:base="../html/param.xml"><title>Linking</title>
- <refentry version="5.0" id="target.database.document">
- <refmeta>
- <refentrytitle>target.database.document</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">uri</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>target.database.document</refname>
- <refpurpose>Name of master database file for resolving
- olinks</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="target.database.document.frag">
- <xsl:param name="target.database.document">olinkdb.xml</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
-
- <para>
- To resolve olinks between documents, the stylesheets use a master
- database document that identifies the target datafiles for all the
- documents within the scope of the olinks. This parameter value is the
- URI of the master document to be read during processing to resolve
- olinks. The default value is <filename>olinkdb.xml</filename>.</para>
- <para>The data structure of the file is defined in the
- <filename>targetdatabase.dtd</filename> DTD. The database file
- provides the high level elements to record the identifiers, locations,
- and relationships of documents. The cross reference data for
- individual documents is generally pulled into the database using
- system entity references or XIncludes. See also
- <parameter>targets.filename</parameter>. </para> </refsection>
- </refentry>
- <refentry version="5.0" id="targets.filename">
- <refmeta>
- <refentrytitle>targets.filename</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>targets.filename</refname>
- <refpurpose>Name of cross reference targets data file</refpurpose>
- </refnamediv>
- <refsynopsisdiv> <programlisting id="targets.filename.frag">
- <xsl:param name="targets.filename">target.db</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
-
- <para>
- In order to resolve olinks efficiently, the stylesheets can
- generate an external data file containing information about
- all potential cross reference endpoints in a document.
- This parameter lets you change the name of the generated
- file from the default name <filename>target.db</filename>.
- The name must agree with that used in the target database
- used to resolve olinks during processing.
- See also <parameter>target.database.document</parameter>.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="olink.base.uri">
- <refmeta>
- <refentrytitle>olink.base.uri</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">uri</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>olink.base.uri</refname>
- <refpurpose>Base URI used in olink hrefs</refpurpose>
- </refnamediv>
- <refsynopsisdiv> <programlisting id="olink.base.uri.frag">
- <xsl:param name="olink.base.uri"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
-
- <para>When cross reference data is collected for resolving olinks, it
- may be necessary to prepend a base URI to each target's href. This
- parameter lets you set that base URI when cross reference data is
- collected. This feature is needed when you want to link to a document
- that is processed without chunking. The output filename for such a
- document is not known to the XSL stylesheet; the only target
- information consists of fragment identifiers such as
- <literal>#idref</literal>. To enable the resolution of olinks between
- documents, you should pass the name of the HTML output file as the
- value of this parameter. Then the hrefs recorded in the cross
- reference data collection look like
- <literal>outfile.html#idref</literal>, which can be reached as links
- from other documents.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="use.local.olink.style">
- <refmeta>
- <refentrytitle>use.local.olink.style</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>use.local.olink.style</refname>
- <refpurpose>Process olinks using xref style of current
- document</refpurpose>
- </refnamediv>
- <refsynopsisdiv> <programlisting id="use.local.olink.style.frag">
- <xsl:param name="use.local.olink.style" select="0"></xsl:param> </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
-
- <para>When cross reference data is collected for use by olinks, the data for each potential target includes one field containing a completely assembled cross reference string, as if it were an xref generated in that document. Other fields record the separate title, number, and element name of each target. When an olink is formed to a target from another document, the olink resolves to that preassembled string by default. If the <parameter>use.local.olink.style</parameter> parameter is set to non-zero, then instead the cross
- reference string is formed again from the target title, number, and
- element name, using the stylesheet processing the targeting document.
- Then olinks will match the xref style in the targeting document
- rather than in the target document. If both documents are processed
- with the same stylesheet, then the results will be the same.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="current.docid">
- <refmeta>
- <refentrytitle>current.docid</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>current.docid</refname>
- <refpurpose>targetdoc identifier for the document being
- processed</refpurpose>
- </refnamediv>
- <refsynopsisdiv> <programlisting id="current.docid.frag">
- <xsl:param name="current.docid"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
-
- <para>When olinks between documents are resolved for HTML output, the stylesheet can compute the relative path between the current document and the target document. The stylesheet needs to know the <literal>targetdoc</literal> identifiers for both documents, as they appear in the <parameter>target.database.document</parameter> database file. This parameter passes to the stylesheet
- the targetdoc identifier of the current document, since that
- identifier does not appear in the document itself. </para>
- <para>This parameter can also be used for print output. If an olink's <literal>targetdoc</literal> id differs from the <literal>current.docid</literal>, then the stylesheet can append the target document's title to the generated olink text. That identifies to the reader that the link is to a different document, not the current document. See also <parameter>olink.doctitle</parameter> to enable that feature.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="olink.doctitle">
- <refmeta>
- <refentrytitle>olink.doctitle</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">list</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">no</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">yes</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">maybe</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>olink.doctitle</refname>
- <refpurpose>show the document title for external olinks?</refpurpose>
- </refnamediv>
- <refsynopsisdiv> <programlisting id="olink.doctitle.frag">
- <xsl:param name="olink.doctitle">no</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
-
- <para>When olinks between documents are resolved, the generated text
- may not make it clear that the reference is to another document.
- It is possible for the stylesheets to append the other document's
- title to external olinks. For this to happen, two parameters must
- be set.</para>
- <itemizedlist>
- <listitem>
- <para>This <parameter>olink.doctitle</parameter> parameter
- should be set to either <literal>yes</literal> or <literal>maybe</literal>
- to enable this feature.
- </para>
- </listitem>
- <listitem>
- <para>And you should also set the <parameter>current.docid</parameter>
- parameter to the document id for the document currently
- being processed for output.
- </para>
- </listitem>
- </itemizedlist>
- <para>
- Then if an olink's <literal>targetdoc</literal> id differs from
- the <literal>current.docid</literal> value, the stylesheet knows
- that it is a reference to another document and can
- append the target document's
- title to the generated olink text. </para>
- <para>The text for the target document's title is copied from the
- olink database from the <tag>ttl</tag> element
- of the top-level <tag>div</tag> for that document.
- If that <tag>ttl</tag> element is missing or empty,
- no title is output.
- </para>
- <para>The supported values for <parameter>olink.doctitle</parameter> are:
- </para>
- <variablelist>
- <varlistentry>
- <term><literal>yes</literal></term>
- <listitem>
- <para>
- Always insert the title to the target document if it is not
- the current document.
- </para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term><literal>no</literal></term>
- <listitem>
- <para>
- Never insert the title to the target document, even if requested
- in an <tag class="attribute">xrefstyle</tag> attribute.
- </para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term><literal>maybe</literal></term>
- <listitem>
- <para>
- Only insert the title to the target document, if requested
- in an <tag class="attribute">xrefstyle</tag> attribute.
- </para>
- </listitem>
- </varlistentry>
- </variablelist>
- <para>An <tag class="attribute">xrefstyle</tag> attribute
- may override the global setting for individual olinks.
- The following values are supported in an
- <tag class="attribute">xrefstyle</tag>
- attribute using the <literal>select:</literal> syntax:
- </para>
- <variablelist>
- <varlistentry>
- <term><literal>docname</literal></term>
- <listitem>
- <para>
- Insert the target document name for this olink using the
- <literal>docname</literal> gentext template, but only
- if the value of <parameter>olink.doctitle</parameter>
- is not <literal>no</literal>.
- </para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term><literal>docnamelong</literal></term>
- <listitem>
- <para>
- Insert the target document name for this olink using the
- <literal>docnamelong</literal> gentext template, but only
- if the value of <parameter>olink.doctitle</parameter>
- is not <literal>no</literal>.
- </para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term><literal>nodocname</literal></term>
- <listitem>
- <para>
- Omit the target document name even if
- the value of <parameter>olink.doctitle</parameter>
- is <literal>yes</literal>.
- </para>
- </listitem>
- </varlistentry>
- </variablelist>
- <para>Another way of inserting the target document name
- for a single olink is to employ an
- <tag class="attribute">xrefstyle</tag>
- attribute using the <literal>template:</literal> syntax.
- The <literal>%o</literal> placeholder (the letter o, not zero)
- in such a template
- will be filled in with the target document's title when it is processed.
- This will occur regardless of
- the value of <parameter>olink.doctitle</parameter>.
- </para>
- <para>Note that prior to version 1.66 of the XSL stylesheets,
- the allowed values for this parameter were 0 and 1. Those
- values are still supported and mapped to 'no' and 'yes', respectively.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="activate.external.olinks">
- <refmeta>
- <refentrytitle>activate.external.olinks</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>activate.external.olinks</refname>
- <refpurpose>Make external olinks into active links</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="activate.external.olinks.frag">
- <xsl:param name="activate.external.olinks" select="1"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If <parameter>activate.external.olinks</parameter> is nonzero
- (the default), then any olinks that reference another document
- become active links that can be clicked on to follow the link.
- If the parameter is set to zero, then external olinks
- will have the appropriate link text generated, but the link is
- not made active. Olinks to destinations in
- the current document remain active.</para>
- <para>To make an external olink active for HTML
- outputs, the link text is wrapped in an <tag>a</tag>
- element with an <tag>href</tag> attribute. To
- make an external olink active for FO outputs, the link text is
- wrapped in an <tag>fo:basic-link</tag> element with an
- <tag>external-destination</tag> attribute.</para>
- <para>This parameter is useful when you need external olinks
- to resolve but not be clickable. For example, if documents
- in a collection are available independently of each other,
- then having active links between them could lead to
- unresolved links when a given target document is missing.</para>
- <para>The epub stylesheets set this parameter to zero by default
- because there is no standard linking mechanism between Epub documents.</para>
- <para>If external links are made inactive, you should
- consider setting the
- stylesheet parameter <parameter>olink.doctitle</parameter>
- to <literal>yes</literal>. That will append the external document's
- title to the link text, making it easier for the user to
- locate the other document.</para>
- <para>An olink is considered external when the
- <parameter>current.docid</parameter> stylesheet parameter
- is set to some value, and the olink's <tag>targetdoc</tag>
- attribute has a different value. If the two values
- match, then the link is considered internal. If the
- <parameter>current.docid</parameter> parameter is blank, or
- the <tag>olink</tag> element does not have a <tag>targetdoc</tag> attribute,
- then the link is considered to be internal and will become
- an active link.</para>
- <para>See also <parameter>olink.doctitle</parameter>,
- <parameter>prefer.internal.olink</parameter>.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="olink.debug">
- <refmeta>
- <refentrytitle>olink.debug</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>olink.debug</refname>
- <refpurpose>Turn on debugging messages for olinks</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="olink.debug.frag">
- <xsl:param name="olink.debug" select="0"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, then each olink will generate several
- messages about how it is being resolved during processing.
- This is useful when an olink does not resolve properly
- and the standard error messages are not sufficient to
- find the problem.
- </para>
- <para>You may need to read through the olink XSL templates
- to understand the context for some of the debug messages.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="olink.properties">
- <refmeta>
- <refentrytitle>olink.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>olink.properties</refname>
- <refpurpose>Properties associated with the cross-reference
- text of an olink.</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="olink.properties.frag">
- <xsl:attribute-set name="olink.properties">
- <xsl:attribute name="show-destination">replace</xsl:attribute>
- </xsl:attribute-set>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>This <literal>attribute set</literal> is applied to the
- <literal>fo:basic-link</literal> element of an olink. It is not applied to the
- optional page number or optional title of the external
- document.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="olink.lang.fallback.sequence">
- <refmeta>
- <refentrytitle>olink.lang.fallback.sequence</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>olink.lang.fallback.sequence</refname>
- <refpurpose>look up translated documents if olink not found?</refpurpose>
- </refnamediv>
- <refsynopsisdiv> <programlisting id="olink.lang.fallback.sequence.frag">
- <xsl:param name="olink.lang.fallback.sequence"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
-
- <para>This parameter defines a list of lang values
- to search among to resolve olinks.
- </para>
- <para>Normally an olink tries to resolve to a document in the same
- language as the olink itself. The language of an olink
- is determined by its nearest ancestor element with a
- <tag class="attribute">lang</tag> attribute, otherwise the
- value of the <parameter>l10n.gentext.default.lang</parameter>
- parameter.
- </para>
- <para>An olink database can contain target data for the same
- document in multiple languages. Each set of data has the
- same value for the <tag>targetdoc</tag> attribute in
- the <tag>document</tag> element in the database, but with a
- different <tag>lang</tag> attribute value.
- </para>
- <para>When an olink is being resolved, the target is first
- sought in the document with the same language as the olink.
- If no match is found there, then this parameter is consulted
- for additional languages to try.</para>
- <para>The <parameter>olink.lang.fallback.sequence</parameter>
- must be a whitespace separated list of lang values to
- try. The first one with a match in the olink database is used.
- The default value is empty.</para>
- <para>For example, a document might be written in German
- and contain an olink with
- <literal>targetdoc="adminguide"</literal>.
- When the document is processed, the processor
- first looks for a target dataset in the
- olink database starting with:</para>
- <literallayout><literal><document targetdoc="adminguide" lang="de"></literal>.
- </literallayout>
- <para>If there is no such element, then the
- <parameter>olink.lang.fallback.sequence</parameter>
- parameter is consulted.
- If its value is, for example, <quote>fr en</quote>, then the processor next
- looks for <literal>targetdoc="adminguide" lang="fr"</literal>, and
- then for <literal>targetdoc="adminguide" lang="en"</literal>.
- If there is still no match, it looks for
- <literal>targetdoc="adminguide"</literal> with no
- lang attribute.
- </para>
- <para>This parameter is useful when a set of documents is only
- partially translated, or is in the process of being translated.
- If a target of an olink has not yet been translated, then this
- parameter permits the processor to look for the document in
- other languages. This assumes the reader would rather have
- a link to a document in a different language than to have
- a broken link.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="insert.olink.page.number">
- <refmeta>
- <refentrytitle>insert.olink.page.number</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">list</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">no</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">yes</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">maybe</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>insert.olink.page.number</refname>
- <refpurpose>Turns page numbers in olinks on and off</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="insert.olink.page.number.frag">
- <xsl:param name="insert.olink.page.number">no</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The value of this parameter determines if
- cross references made between documents with
- <tag>olink</tag> will
- include page number citations.
- In most cases this is only applicable to references in printed output.
- </para>
- <para>The parameter has three possible values.
- </para>
- <variablelist>
- <varlistentry>
- <term>no</term>
- <listitem><para>No page number references will be generated for olinks.
- </para></listitem>
- </varlistentry>
- <varlistentry>
- <term>yes</term>
- <listitem><para>Page number references will be generated
- for all <tag>olink</tag> references.
- The style of page reference may be changed
- if an <tag class="attribute">xrefstyle</tag>
- attribute is used.
- </para></listitem>
- </varlistentry>
- <varlistentry>
- <term>maybe</term>
- <listitem><para>Page number references will not be generated
- for an <tag>olink</tag> element unless
- it has an
- <tag class="attribute">xrefstyle</tag>
- attribute whose value specifies a page reference.
- </para></listitem>
- </varlistentry>
- </variablelist>
- <para>Olinks that point to targets within the same document
- are treated as <tag>xref</tag>s, and controlled by
- the <parameter>insert.xref.page.number</parameter> parameter.
- </para>
- <para>Page number references for olinks to
- external documents can only be inserted if the
- information exists in the olink database.
- This means each olink target element
- (<tag>div</tag> or <tag>obj</tag>)
- must have a <tag class="attribute">page</tag> attribute
- whose value is its page number in the target document.
- The XSL stylesheets are not able to extract that information
- during processing because pages have not yet been created in
- XSLT transformation. Only the XSL-FO processor knows what
- page each element is placed on.
- Therefore some postprocessing must take place to populate
- page numbers in the olink database.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="insert.olink.pdf.frag">
- <refmeta>
- <refentrytitle>insert.olink.pdf.frag</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>insert.olink.pdf.frag</refname>
- <refpurpose>Add fragment identifiers for links into PDF files</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="insert.olink.pdf.frag.frag">
- <xsl:param name="insert.olink.pdf.frag" select="0"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The value of this parameter determines whether
- the cross reference URIs to PDF documents made with
- <tag>olink</tag> will
- include fragment identifiers.
- </para>
- <para>When forming a URI to link to a PDF document,
- a fragment identifier (typically a '#' followed by an
- id value) appended to the PDF filename can be used by
- the PDF viewer to open
- the PDF file to a location within the document instead of
- the first page.
- However, not all PDF files have id
- values embedded in them, and not all PDF viewers can
- handle fragment identifiers.
- </para>
- <para>If <parameter>insert.olink.pdf.frag</parameter> is set
- to a non-zero value, then any olink targeting a
- PDF file will have the fragment identifier appended to the URI.
- The URI is formed by concatenating the value of the
- <parameter>olink.base.uri</parameter> parameter, the
- value of the <tag class="attribute">baseuri</tag>
- attribute from the <tag class="element">document</tag>
- element in the olink database with the matching
- <tag class="attribute">targetdoc</tag> value,
- and the value of the <tag class="attribute">href</tag>
- attribute for the targeted element in the olink database.
- The <tag class="attribute">href</tag> attribute
- contains the fragment identifier.
- </para>
- <para>If <parameter>insert.olink.pdf.frag</parameter> is set
- to zero (the default value), then
- the <tag class="attribute">href</tag> attribute
- from the olink database
- is not appended to PDF olinks, so the fragment identifier is left off.
- A PDF olink is any olink for which the
- <tag class="attribute">baseuri</tag> attribute
- from the matching <tag class="element">document</tag>
- element in the olink database ends with '.pdf'.
- Any other olinks will still have the fragment identifier added.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="prefer.internal.olink">
- <refmeta>
- <refentrytitle>prefer.internal.olink</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>prefer.internal.olink</refname>
- <refpurpose>Prefer a local olink reference to an external reference</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="prefer.internal.olink.frag">
- <xsl:param name="prefer.internal.olink" select="0"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If you are re-using XML content modules in multiple documents,
- you may want to redirect some of your olinks. This parameter
- permits you to redirect an olink to the current document.
- </para>
- <para>For example: you are writing documentation for a product,
- which includes 3 manuals: a little installation
- booklet (booklet.xml), a user
- guide (user.xml), and a reference manual (reference.xml).
- All 3 documents begin with the same introduction section (intro.xml) that
- contains a reference to the customization section (custom.xml) which is
- included in both user.xml and reference.xml documents.
- </para>
- <para>How do you write the link to custom.xml in intro.xml
- so that it is interpreted correctly in all 3 documents?</para>
- <itemizedlist>
- <listitem><para>If you use xref, it will fail in user.xml.</para>
- </listitem>
- <listitem><para>If you use olink (pointing to reference.xml),
- the reference in user.xml
- will point to the customization section of the reference manual, while it is
- actually available in user.xml.</para>
- </listitem>
- </itemizedlist>
- <para>If you set the <parameter>prefer.internal.olink</parameter>
- parameter to a non-zero value, then the processor will
- first look in the olink database
- for the olink's <tag>targetptr</tag> attribute value
- in document matching the <parameter>current.docid</parameter>
- parameter value. If it isn't found there, then
- it tries the document in the database
- with the <tag>targetdoc</tag>
- value that matches the olink's <tag>targetdoc</tag>
- attribute.
- </para>
- <para>This feature permits an olink reference to resolve to
- the current document if there is an element
- with an id matching the olink's <tag>targetptr</tag>
- value. The current document's olink data must be
- included in the target database for this to work.</para>
- <caution>
- <para>There is a potential for incorrect links if
- the same <tag>id</tag> attribute value is used for different
- content in different documents.
- Some of your olinks may be redirected to the current document
- when they shouldn't be. It is not possible to control
- individual olink instances.</para>
- </caution>
- </refsection>
- </refentry>
- <refentry version="5.0" id="link.mailto.url">
- <refmeta>
- <refentrytitle>link.mailto.url</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>link.mailto.url</refname>
- <refpurpose>Mailto URL for the LINK REL=made HTML HEAD element</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="link.mailto.url.frag">
- <xsl:param name="link.mailto.url"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If not the empty string, this address will be used for the
- rel=made <literal>link</literal> element in the html <literal>head</literal>
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="ulink.target">
- <refmeta>
- <refentrytitle>ulink.target</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>ulink.target</refname>
- <refpurpose>The HTML anchor target for ULinks</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="ulink.target.frag">
- <xsl:param name="ulink.target">_top</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If <parameter>ulink.target</parameter> is non-zero, its value will
- be used for the <literal>target</literal> attribute
- on anchors generated for <tag>ulink</tag>s.</para>
- </refsection>
- </refentry>
- </reference><reference id="xrefs" xml:base="../html/param.xml"><title>Cross References</title>
- <refentry version="5.0" id="collect.xref.targets">
- <refmeta>
- <refentrytitle>collect.xref.targets</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">list</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">no</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">yes</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">only</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>collect.xref.targets</refname>
- <refpurpose>Controls whether cross reference data is
- collected</refpurpose>
- </refnamediv>
- <refsynopsisdiv> <programlisting id="collect.xref.targets.frag">
- <xsl:param name="collect.xref.targets">no</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
-
- <para>
- In order to resolve olinks efficiently, the stylesheets can
- generate an external data file containing information about
- all potential cross reference endpoints in a document.
- This parameter determines whether the collection process is run when the document is processed by the stylesheet. The default value is <literal>no</literal>, which means the data file is not generated during processing. The other choices are <literal>yes</literal>, which means the data file is created and the document is processed for output, and <literal>only</literal>, which means the data file is created but the document is not processed for output.
- See also <parameter>targets.filename</parameter>.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="insert.xref.page.number">
- <refmeta>
- <refentrytitle>insert.xref.page.number</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">list</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">no</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">yes</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">maybe</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>insert.xref.page.number</refname>
- <refpurpose>Turns page numbers in xrefs on and off</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="insert.xref.page.number.frag">
- <xsl:param name="insert.xref.page.number">no</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The value of this parameter determines if
- cross references (<tag>xref</tag>s) in
- printed output will
- include page number citations.
- It has three possible values.
- </para>
- <variablelist>
- <varlistentry>
- <term>no</term>
- <listitem><para>No page number references will be generated.
- </para></listitem>
- </varlistentry>
- <varlistentry>
- <term>yes</term>
- <listitem><para>Page number references will be generated
- for all <tag>xref</tag> elements.
- The style of page reference may be changed
- if an <tag class="attribute">xrefstyle</tag>
- attribute is used.
- </para></listitem>
- </varlistentry>
- <varlistentry>
- <term>maybe</term>
- <listitem><para>Page number references will not be generated
- for an <tag>xref</tag> element unless
- it has an
- <tag class="attribute">xrefstyle</tag>
- attribute whose value specifies a page reference.
- </para></listitem>
- </varlistentry>
- </variablelist>
- </refsection>
- </refentry>
- <refentry version="5.0" id="use.role.as.xrefstyle">
- <refmeta>
- <refentrytitle>use.role.as.xrefstyle</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>use.role.as.xrefstyle</refname>
- <refpurpose>Use <tag class="attribute">role</tag> attribute for
- <tag class="attribute">xrefstyle</tag> on <tag>xref</tag>?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="use.role.as.xrefstyle.frag">
- <xsl:param name="use.role.as.xrefstyle" select="1"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>In DocBook documents that conform to a schema older than V4.3, this parameter allows
- <tag class="attribute">role</tag> to serve the purpose of specifying the cross reference style.</para>
- <para>If non-zero, the <tag class="attribute">role</tag> attribute on
- <tag>xref</tag> will be used to select the cross reference style.
- In DocBook V4.3, the <tag class="attribute">xrefstyle</tag> attribute was added for this purpose.
- If the <tag class="attribute">xrefstyle</tag> attribute is present,
- <tag class="attribute">role</tag> will be ignored, regardless of the setting
- of this parameter.</para>
- </refsection>
- <refsection><info><title>Example</title></info>
- <para>The following small stylesheet shows how to configure the
- stylesheets to make use of the cross reference style:</para>
- <programlisting><?xml version="1.0"?>
- <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- version="1.0">
- <xsl:import href="../xsl/html/docbook.xsl"/>
- <xsl:output method="html"/>
- <xsl:param name="local.l10n.xml" select="document('')"/>
- <l:i18n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0">
- <l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="en">
- <l:context name="xref">
- <l:template name="chapter" style="title" text="Chapter %n, %t"/>
- <l:template name="chapter" text="Chapter %n"/>
- </l:context>
- </l:l10n>
- </l:i18n>
- </xsl:stylesheet></programlisting>
- <para>With this stylesheet, the cross references in the following document:</para>
- <programlisting><?xml version="1.0" encoding="utf-8"?>
- <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
- "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
- <book id="book"><title>Book</title>
- <preface>
- <title>Preface</title>
- <para>Normal: <xref linkend="ch1"/>.</para>
- <para>Title: <xref xrefstyle="title" linkend="ch1"/>.</para>
- </preface>
- <chapter id="ch1">
- <title>First Chapter</title>
- <para>Irrelevant.</para>
- </chapter>
- </book></programlisting>
- <para>will appear as:</para>
- <informalexample>
- <para>Normal: Chapter 1.</para>
- <para>Title: Chapter 1, <emphasis>First Chapter</emphasis>.</para>
- </informalexample>
- </refsection>
- </refentry>
- <refentry version="5.0" id="xref.with.number.and.title">
- <refmeta>
- <refentrytitle>xref.with.number.and.title</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>xref.with.number.and.title</refname>
- <refpurpose>Use number and title in cross references</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="xref.with.number.and.title.frag">
- <xsl:param name="xref.with.number.and.title" select="1"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>A cross reference may include the number (for example, the number of
- an example or figure) and the <tag>title</tag> which is a required child of some
- targets. This parameter inserts both the relevant number as well as
- the title into the link. </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="xref.label-page.separator">
- <refmeta>
- <refentrytitle>xref.label-page.separator</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>xref.label-page.separator</refname>
- <refpurpose>Punctuation or space separating label from page number in xref</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="xref.label-page.separator.frag"><xsl:param name="xref.label-page.separator"><xsl:text> </xsl:text></xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>
- This parameter allows you to control the punctuation of certain
- types of generated cross reference text.
- When cross reference text is generated for an
- <tag class="element">xref</tag> or
- <tag class="element">olink</tag> element
- using an <tag class="attribute">xrefstyle</tag> attribute
- that makes use of the <literal>select:</literal> feature,
- and the selected components include both label and page
- but no title,
- then the value of this parameter is inserted between
- label and page number in the output.
- If a title is included, then other separators are used.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="xref.label-title.separator">
- <refmeta>
- <refentrytitle>xref.label-title.separator</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>xref.label-title.separator</refname>
- <refpurpose>Punctuation or space separating label from title in xref</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="xref.label-title.separator.frag"><xsl:param name="xref.label-title.separator">: </xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>
- This parameter allows you to control the punctuation of certain
- types of generated cross reference text.
- When cross reference text is generated for an
- <tag class="element">xref</tag> or
- <tag class="element">olink</tag> element
- using an <tag class="attribute">xrefstyle</tag> attribute
- that makes use of the <literal>select:</literal> feature,
- and the selected components include both label and title,
- then the value of this parameter is inserted between
- label and title in the output.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="xref.title-page.separator">
- <refmeta>
- <refentrytitle>xref.title-page.separator</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>xref.title-page.separator</refname>
- <refpurpose>Punctuation or space separating title from page number in xref</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="xref.title-page.separator.frag"><xsl:param name="xref.title-page.separator"><xsl:text> </xsl:text></xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>
- This parameter allows you to control the punctuation of certain
- types of generated cross reference text.
- When cross reference text is generated for an
- <tag class="element">xref</tag> or
- <tag class="element">olink</tag> element
- using an <tag class="attribute">xrefstyle</tag> attribute
- that makes use of the <literal>select:</literal> feature,
- and the selected components include both title and page number,
- then the value of this parameter is inserted between
- title and page number in the output.
- </para>
- </refsection>
- </refentry>
- </reference><reference id="lists" xml:base="../html/param.xml"><title>Lists</title>
- <refentry version="5.0" id="segmentedlist.as.table">
- <refmeta>
- <refentrytitle>segmentedlist.as.table</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>segmentedlist.as.table</refname>
- <refpurpose>Format segmented lists as tables?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="segmentedlist.as.table.frag">
- <xsl:param name="segmentedlist.as.table" select="0"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, <tag>segmentedlist</tag>s will be formatted as
- tables.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="variablelist.as.table">
- <refmeta>
- <refentrytitle>variablelist.as.table</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>variablelist.as.table</refname>
- <refpurpose>Format <tag>variablelist</tag>s as tables?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="variablelist.as.table.frag">
- <xsl:param name="variablelist.as.table" select="0"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, <tag>variablelist</tag>s will be formatted as
- tables. A processing instruction exists to specify a particular width for the
- column containing the <tag>term</tag>s:
- <tag class="xmlpi">dbhtml term-width=".25in"</tag></para>
- <para>You can override this setting with a processing instruction as the
- child of <tag>variablelist</tag>: <tag class="xmlpi">dbhtml
- list-presentation="table"</tag> or <tag class="xmlpi">dbhtml
- list-presentation="list"</tag>.</para>
- <para>This parameter only applies to the HTML transformations. In the
- FO case, proper list markup is robust enough to handle the formatting.
- But see also <parameter>variablelist.as.blocks</parameter>.</para>
- <programlisting> <variablelist>
- <?dbhtml list-presentation="table"?>
- <?dbhtml term-width="1.5in"?>
- <?dbfo list-presentation="list"?>
- <?dbfo term-width="1in"?>
- <varlistentry>
- <term>list</term>
- <listitem>
- <para>
- Formatted as a table even if variablelist.as.table is set to 0.
- </para>
- </listitem>
- </varlistentry>
- </variablelist></programlisting>
- </refsection>
- </refentry>
- <refentry version="5.0" id="variablelist.term.separator">
- <refmeta>
- <refentrytitle>variablelist.term.separator</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>variablelist.term.separator</refname>
- <refpurpose>Text to separate <tag>term</tag>s within a multi-term
- <tag>varlistentry</tag></refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="variablelist.term.separator.frag">
- <xsl:param name="variablelist.term.separator">, </xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>When a <tag>varlistentry</tag> contains multiple <tag>term</tag>
- elements, the string specified in the value of the
- <parameter>variablelist.term.separator</parameter> parameter is placed
- after each <tag>term</tag> except the last.</para>
- <note>
- <para>To generate a line break between multiple <tag>term</tag>s in
- a <tag>varlistentry</tag>, set a non-zero value for the
- <parameter>variablelist.term.break.after</parameter> parameter. If
- you do so, you may also want to set the value of the
- <parameter>variablelist.term.separator</parameter> parameter to an
- empty string (to suppress rendering of the default comma and space
- after each <tag>term</tag>).</para>
- </note>
- </refsection>
- </refentry>
- <refentry version="5.0" id="variablelist.term.break.after">
- <refmeta>
- <refentrytitle>variablelist.term.break.after</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>variablelist.term.break.after</refname>
- <refpurpose>Generate line break after each <tag>term</tag> within a
- multi-term <tag>varlistentry</tag>?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="variablelist.term.break.after.frag">
- <xsl:param name="variablelist.term.break.after">0</xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Set a non-zero value for the
- <parameter>variablelist.term.break.after</parameter> parameter to
- generate a line break between <tag>term</tag>s in a
- multi-term <tag>varlistentry</tag>.</para>
- <note>
- <para>If you set a non-zero value for
- <parameter>variablelist.term.break.after</parameter>, you may also
- want to set the value of the
- <parameter>variablelist.term.separator</parameter> parameter to an
- empty string (to suppress rendering of the default comma and space
- after each <tag>term</tag>).</para>
- </note>
- </refsection>
- </refentry>
- </reference><reference id="biblio" xml:base="../html/param.xml"><title>Bibliography</title>
- <refentry version="5.0" id="bibliography.style">
- <refmeta>
- <refentrytitle>bibliography.style</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">list</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">normal</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">iso690</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>bibliography.style</refname>
- <refpurpose>Style used for formatting of biblioentries.</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="bibliography.style.frag">
- <xsl:param name="bibliography.style">normal</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Currently only <literal>normal</literal> and
- <literal>iso690</literal> styles are supported.</para>
- <para>In order to use ISO690 style to the full extent you might need
- to use additional markup described on <link xlink:href="http://wiki.docbook.org/topic/ISO690Bibliography">the
- following WiKi page</link>.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="biblioentry.item.separator">
- <refmeta>
- <refentrytitle>biblioentry.item.separator</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>biblioentry.item.separator</refname>
- <refpurpose>Text to separate bibliography entries</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="biblioentry.item.separator.frag"><xsl:param name="biblioentry.item.separator">. </xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Text to separate bibliography entries
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="bibliography.collection">
- <refmeta>
- <refentrytitle>bibliography.collection</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>bibliography.collection</refname>
- <refpurpose>Name of the bibliography collection file</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="bibliography.collection.frag">
- <xsl:param name="bibliography.collection">http://docbook.sourceforge.net/release/bibliography/bibliography.xml</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Maintaining bibliography entries across a set of documents is tedious, time
- consuming, and error prone. It makes much more sense, usually, to store all of
- the bibliography entries in a single place and simply <quote>extract</quote>
- the ones you need in each document.</para>
- <para>That's the purpose of the
- <parameter>bibliography.collection</parameter> parameter. To setup a global
- bibliography <quote>database</quote>, follow these steps:</para>
- <para>First, create a stand-alone bibliography document that contains all of
- the documents that you wish to reference. Make sure that each bibliography
- entry (whether you use <tag>biblioentry</tag> or <tag>bibliomixed</tag>)
- has an ID.</para>
- <para>My global bibliography, <filename>~/bibliography.xml</filename> begins
- like this:</para>
- <informalexample>
- <programlisting><!DOCTYPE bibliography
- PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
- "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
- <bibliography><title>References</title>
- <bibliomixed id="xml-rec"><abbrev>XML 1.0</abbrev>Tim Bray,
- Jean Paoli, C. M. Sperberg-McQueen, and Eve Maler, editors.
- <citetitle><ulink url="http://www.w3.org/TR/REC-xml">Extensible Markup
- Language (XML) 1.0 Second Edition</ulink></citetitle>.
- World Wide Web Consortium, 2000.
- </bibliomixed>
- <bibliomixed id="xml-names"><abbrev>Namespaces</abbrev>Tim Bray,
- Dave Hollander,
- and Andrew Layman, editors.
- <citetitle><ulink url="http://www.w3.org/TR/REC-xml-names/">Namespaces in
- XML</ulink></citetitle>.
- World Wide Web Consortium, 1999.
- </bibliomixed>
- <!-- ... -->
- </bibliography>
- </programlisting>
- </informalexample>
- <para>When you create a bibliography in your document, simply
- provide <emphasis>empty</emphasis> <tag>bibliomixed</tag>
- entries for each document that you wish to cite. Make sure that these
- elements have the same ID as the corresponding <quote>real</quote>
- entry in your global bibliography.</para>
- <para>For example:</para>
- <informalexample>
- <programlisting><bibliography><title>Bibliography</title>
- <bibliomixed id="xml-rec"/>
- <bibliomixed id="xml-names"/>
- <bibliomixed id="DKnuth86">Donald E. Knuth. <citetitle>Computers and
- Typesetting: Volume B, TeX: The Program</citetitle>. Addison-Wesley,
- 1986. ISBN 0-201-13437-3.
- </bibliomixed>
- <bibliomixed id="relaxng"/>
- </bibliography></programlisting>
- </informalexample>
- <para>Note that it's perfectly acceptable to mix entries from your
- global bibliography with <quote>normal</quote> entries. You can use
- <tag>xref</tag> or other elements to cross-reference your
- bibliography entries in exactly the same way you do now.</para>
- <para>Finally, when you are ready to format your document, simply set the
- <parameter>bibliography.collection</parameter> parameter (in either a
- customization layer or directly through your processor's interface) to
- point to your global bibliography.</para>
- <para>A relative path in the parameter is interpreted in one
- of two ways:</para>
- <orderedlist numeration="loweralpha">
- <listitem>
- <para>If your document contains no links to empty bibliographic elements,
- then the path is relative to the file containing
- the first <tag>bibliomixed</tag> element in the document.</para>
- </listitem>
- <listitem>
- <para>If your document does contain links to empty bibliographic elements,
- then the path is relative to the file containing
- the first such link element in the document.</para>
- </listitem>
- </orderedlist>
- <para>Once the collection file is opened by the first instance described
- above, it stays open for the current document
- and the relative path is not reinterpreted again.</para>
- <para>The stylesheets will format the bibliography in your document as if
- all of the entries referenced appeared there literally.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="bibliography.numbered">
- <refmeta>
- <refentrytitle>bibliography.numbered</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>bibliography.numbered</refname>
- <refpurpose>Should bibliography entries be numbered?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="bibliography.numbered.frag">
- <xsl:param name="bibliography.numbered" select="0"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero bibliography entries will be numbered</para>
- </refsection>
- </refentry>
- </reference><reference id="glossary" xml:base="../html/param.xml"><title>Glossary</title>
- <refentry version="5.0" id="glossterm.auto.link">
- <refmeta>
- <refentrytitle>glossterm.auto.link</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>glossterm.auto.link</refname>
- <refpurpose>Generate links from glossterm to glossentry automatically?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="glossterm.auto.link.frag">
- <xsl:param name="glossterm.auto.link" select="0"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, links from inline <tag>glossterm</tag>s to the corresponding
- <tag>glossentry</tag> elements in a <tag>glossary</tag> or <tag>glosslist</tag>
- will be automatically generated. This is useful when your glossterms are consistent
- and you don't want to add links manually.</para>
- <para>The automatic link generation feature is not used on <tag>glossterm</tag> elements
- that have a <tag class="attribute">linkend</tag> attribute.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="firstterm.only.link">
- <refmeta>
- <refentrytitle>firstterm.only.link</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>firstterm.only.link</refname>
- <refpurpose>Does automatic glossterm linking only apply to firstterms?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="firstterm.only.link.frag">
- <xsl:param name="firstterm.only.link" select="0"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, only <tag>firstterm</tag>s will be automatically linked
- to the glossary. If glossary linking is not enabled, this parameter
- has no effect.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="glossary.collection">
- <refmeta>
- <refentrytitle>glossary.collection</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>glossary.collection</refname>
- <refpurpose>Name of the glossary collection file</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="glossary.collection.frag">
- <xsl:param name="glossary.collection"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Glossaries maintained independently across a set of documents
- are likely to become inconsistent unless considerable effort is
- expended to keep them in sync. It makes much more sense, usually, to
- store all of the glossary entries in a single place and simply
- <quote>extract</quote> the ones you need in each document.</para>
- <para>That's the purpose of the
- <parameter>glossary.collection</parameter> parameter. To setup a global
- glossary <quote>database</quote>, follow these steps:</para>
- <refsection><info><title>Setting Up the Glossary Database</title></info>
- <para>First, create a stand-alone glossary document that contains all of
- the entries that you wish to reference. Make sure that each glossary
- entry has an ID.</para>
- <para>Here's an example glossary:</para>
- <informalexample>
- <programlisting>
- <?xml version="1.0" encoding="utf-8"?>
- <!DOCTYPE glossary
- PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
- "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
- <glossary>
- <glossaryinfo>
- <editor><firstname>Eric</firstname><surname>Raymond</surname></editor>
- <title>Jargon File 4.2.3 (abridged)</title>
- <releaseinfo>Just some test data</releaseinfo>
- </glossaryinfo>
- <glossdiv><title>0</title>
- <glossentry>
- <glossterm>0</glossterm>
- <glossdef>
- <para>Numeric zero, as opposed to the letter `O' (the 15th letter of
- the English alphabet). In their unmodified forms they look a lot
- alike, and various kluges invented to make them visually distinct have
- compounded the confusion. If your zero is center-dotted and letter-O
- is not, or if letter-O looks almost rectangular but zero looks more
- like an American football stood on end (or the reverse), you're
- probably looking at a modern character display (though the dotted zero
- seems to have originated as an option on IBM 3270 controllers). If
- your zero is slashed but letter-O is not, you're probably looking at
- an old-style ASCII graphic set descended from the default typewheel on
- the venerable ASR-33 Teletype (Scandinavians, for whom /O is a letter,
- curse this arrangement). (Interestingly, the slashed zero long
- predates computers; Florian Cajori's monumental "A History of
- Mathematical Notations" notes that it was used in the twelfth and
- thirteenth centuries.) If letter-O has a slash across it and the zero
- does not, your display is tuned for a very old convention used at IBM
- and a few other early mainframe makers (Scandinavians curse <emphasis>this</emphasis>
- arrangement even more, because it means two of their letters collide).
- Some Burroughs/Unisys equipment displays a zero with a <emphasis>reversed</emphasis>
- slash. Old CDC computers rendered letter O as an unbroken oval and 0
- as an oval broken at upper right and lower left. And yet another
- convention common on early line printers left zero unornamented but
- added a tail or hook to the letter-O so that it resembled an inverted
- Q or cursive capital letter-O (this was endorsed by a draft ANSI
- standard for how to draw ASCII characters, but the final standard
- changed the distinguisher to a tick-mark in the upper-left corner).
- Are we sufficiently confused yet?</para>
- </glossdef>
- </glossentry>
- <glossentry>
- <glossterm>1TBS</glossterm>
- <glossdef>
- <para role="accidence">
- <phrase role="pronounce"></phrase>
- <phrase role="partsofspeach">n</phrase>
- </para>
- <para>The "One True Brace Style"</para>
- <glossseealso>indent style</glossseealso>
- </glossdef>
- </glossentry>
- <!-- ... -->
- </glossdiv>
- <!-- ... -->
- </glossary></programlisting>
- </informalexample>
- </refsection>
- <refsection><info><title>Marking Up Glossary Terms</title></info>
- <para>That takes care of the glossary database, now you have to get the entries
- into your document. Unlike bibliography entries, which can be empty, creating
- <quote>placeholder</quote> glossary entries would be very tedious. So instead,
- support for <parameter>glossary.collection</parameter> relies on implicit linking.</para>
- <para>In your source document, simply use <tag>firstterm</tag> and
- <tag>glossterm</tag> to identify the terms you wish to have included
- in the glossary. The stylesheets assume that you will either set the
- <tag class="attribute">baseform</tag> attribute correctly, or that the
- content of the element exactly matches a term in your glossary.</para>
- <para>If you're using a <parameter>glossary.collection</parameter>, don't
- make explicit links on the terms in your document.</para>
- <para>So, in your document, you might write things like this:</para>
- <informalexample>
- <programlisting><para>This is dummy text, without any real meaning.
- The point is simply to reference glossary terms like <glossterm>0</glossterm>
- and the <firstterm baseform="1TBS">One True Brace Style (1TBS)</firstterm>.
- The <glossterm>1TBS</glossterm>, as you can probably imagine, is a nearly
- religious issue.</para></programlisting>
- </informalexample>
- <para>If you set the <parameter>firstterm.only.link</parameter> parameter,
- only the terms marked with <tag>firstterm</tag> will be links.
- Otherwise, all the terms will be linked.</para>
- </refsection>
- <refsection><info><title>Marking Up the Glossary</title></info>
- <para>The glossary itself has to be identified for the stylesheets. For lack
- of a better choice, the <tag class="attribute">role</tag> is used.
- To identify the glossary as the target for automatic processing, set
- the role to <quote><literal>auto</literal></quote>. The title of this
- glossary (and any other information from the <tag>glossaryinfo</tag>
- that's rendered by your stylesheet) will be displayed, but the entries will
- come from the database.
- </para>
- <para>Unfortunately, the glossary can't be empty, so you must put in
- at least one <tag>glossentry</tag>. The content of this entry
- is irrelevant, it will not be rendered:</para>
- <informalexample>
- <programlisting><glossary role="auto">
- <glossentry>
- <glossterm>Irrelevant</glossterm>
- <glossdef>
- <para>If you can see this, the document was processed incorrectly. Use
- the <parameter>glossary.collection</parameter> parameter.</para>
- </glossdef>
- </glossentry>
- </glossary></programlisting>
- </informalexample>
- <para>What about glossary divisions? If your glossary database has glossary
- divisions <emphasis>and</emphasis> your automatic glossary contains at least
- one <tag>glossdiv</tag>, the automic glossary will have divisions.
- If the <tag>glossdiv</tag> is missing from either location, no divisions
- will be rendered.</para>
- <para>Glossary entries (and divisions, if appropriate) in the glossary will
- occur in precisely the order they occur in your database.</para>
- </refsection>
- <refsection><info><title>Formatting the Document</title></info>
- <para>Finally, when you are ready to format your document, simply set the
- <parameter>glossary.collection</parameter> parameter (in either a
- customization layer or directly through your processor's interface) to
- point to your global glossary.</para>
- <para>A relative path in the parameter is interpreted in one
- of two ways:</para>
- <orderedlist numeration="loweralpha">
- <listitem>
- <para>If the parameter <literal>glossterm.auto.link</literal>
- is set to zero, then the path is relative to the file containing
- the empty <tag>glossary</tag> element in the document.</para>
- </listitem>
- <listitem>
- <para>If the parameter <literal>glossterm.auto.link</literal>
- is set to non-zero, then the path is relative to the file containing
- the first inline <tag>glossterm</tag> or
- <tag>firstterm</tag> in the document to be linked.</para>
- </listitem>
- </orderedlist>
- <para>Once the collection file is opened by the first instance described
- above, it stays open for the current document
- and the relative path is not reinterpreted again.</para>
- <para>The stylesheets will format the glossary in your document as if
- all of the entries implicilty referenced appeared there literally.</para>
- </refsection>
- <refsection><info><title>Limitations</title></info>
- <para>Glossary cross-references <emphasis>within the glossary</emphasis> are
- not supported. For example, this <emphasis>will not</emphasis> work:</para>
- <informalexample>
- <programlisting><glossentry>
- <glossterm>gloss-1</glossterm>
- <glossdef><para>A description that references <glossterm>gloss-2</glossterm>.</para>
- <glossseealso>gloss-2</glossseealso>
- </glossdef>
- </glossentry></programlisting>
- </informalexample>
- <para>If you put glossary cross-references in your glossary that way,
- you'll get the cryptic error: <computeroutput>Warning:
- glossary.collection specified, but there are 0 automatic
- glossaries</computeroutput>.</para>
- <para>Instead, you must do two things:</para>
- <orderedlist>
- <listitem>
- <para>Markup your glossary using <tag>glossseealso</tag>:</para>
- <informalexample>
- <programlisting><glossentry>
- <glossterm>gloss-1</glossterm>
- <glossdef><para>A description that references <glossterm>gloss-2</glossterm>.</para>
- <glossseealso>gloss-2</glossseealso>
- </glossdef>
- </glossentry></programlisting>
- </informalexample>
- </listitem>
- <listitem>
- <para>Make sure there is at least one <tag>glossterm</tag> reference to
- <glossterm>gloss-2</glossterm> <emphasis>in your document</emphasis>. The
- easiest way to do that is probably within a <tag>remark</tag> in your
- automatic glossary:</para>
- <informalexample>
- <programlisting><glossary role="auto">
- <remark>Make sure there's a reference to <glossterm>gloss-2</glossterm>.</remark>
- <glossentry>
- <glossterm>Irrelevant</glossterm>
- <glossdef>
- <para>If you can see this, the document was processed incorrectly. Use
- the <parameter>glossary.collection</parameter> parameter.</para>
- </glossdef>
- </glossentry>
- </glossary></programlisting>
- </informalexample>
- </listitem>
- </orderedlist>
- </refsection>
- </refsection>
- </refentry>
- <refentry version="5.0" id="glossary.sort">
- <refmeta>
- <refentrytitle>glossary.sort</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>glossary.sort</refname>
- <refpurpose>Sort glossentry elements?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="glossary.sort.frag">
- <xsl:param name="glossary.sort" select="0"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, then the glossentry elements within a
- glossary, glossdiv, or glosslist are sorted on the glossterm, using
- the current lang setting. If zero (the default), then
- glossentry elements are not sorted and are presented
- in document order.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="glossentry.show.acronym">
- <refmeta>
- <refentrytitle>glossentry.show.acronym</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">list</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">no</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">yes</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">primary</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>glossentry.show.acronym</refname>
- <refpurpose>Display <tag>glossentry</tag> acronyms?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="glossentry.show.acronym.frag">
- <xsl:param name="glossentry.show.acronym">no</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>A setting of <quote>yes</quote> means they should be displayed;
- <quote>no</quote> means they shouldn't. If <quote>primary</quote> is used,
- then they are shown as the primary text for the entry.</para>
- <note>
- <para>This setting controls both <tag>acronym</tag> and
- <tag>abbrev</tag> elements in the <tag>glossentry</tag>.</para>
- </note>
- </refsection>
- </refentry>
- </reference><reference id="misc" xml:base="../html/param.xml"><title>Miscellaneous</title>
- <refentry version="5.0" id="formal.procedures">
- <refmeta>
- <refentrytitle>formal.procedures</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>formal.procedures</refname>
- <refpurpose>Selects formal or informal procedures</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="formal.procedures.frag">
- <xsl:param name="formal.procedures" select="1"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Formal procedures are numbered and always have a title.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="formal.title.placement">
- <refmeta>
- <refentrytitle>formal.title.placement</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">table</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>formal.title.placement</refname>
- <refpurpose>Specifies where formal object titles should occur</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="formal.title.placement.frag">
- <xsl:param name="formal.title.placement">
- figure before
- example before
- equation before
- table before
- procedure before
- task before
- </xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Specifies where formal object titles should occur. For each formal object
- type (<tag>figure</tag>,
- <tag>example</tag>,
- <tag>equation</tag>,
- <tag>table</tag>, and <tag>procedure</tag>)
- you can specify either the keyword
- <quote><literal>before</literal></quote> or
- <quote><literal>after</literal></quote>.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="runinhead.default.title.end.punct">
- <refmeta>
- <refentrytitle>runinhead.default.title.end.punct</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>runinhead.default.title.end.punct</refname>
- <refpurpose>Default punctuation character on a run-in-head</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="runinhead.default.title.end.punct.frag"><xsl:param name="runinhead.default.title.end.punct">.</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, For a <tag>formalpara</tag>, use the specified
- string as the separator between the title and following text. The period is the default value.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="runinhead.title.end.punct">
- <refmeta>
- <refentrytitle>runinhead.title.end.punct</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>runinhead.title.end.punct</refname>
- <refpurpose>Characters that count as punctuation on a run-in-head</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="runinhead.title.end.punct.frag">
- <xsl:param name="runinhead.title.end.punct">.!?:</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Specify which characters are to be counted as punctuation. These
- characters are checked for a match with the last character of the
- title. If no match is found, the
- <parameter>runinhead.default.title.end.punct</parameter> contents are
- inserted. This is to avoid duplicated punctuation in the output.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="show.comments">
- <refmeta>
- <refentrytitle>show.comments</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>show.comments</refname>
- <refpurpose>Display <tag>remark</tag> elements?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="show.comments.frag">
- <xsl:param name="show.comments" select="1"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, comments will be displayed, otherwise they
- are suppressed. Comments here refers to the <tag>remark</tag> element
- (which was called <literal>comment</literal> prior to DocBook
- 4.0), not XML comments (<-- like this -->) which are
- unavailable.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="show.revisionflag">
- <refmeta>
- <refentrytitle>show.revisionflag</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>show.revisionflag</refname>
- <refpurpose>Enable decoration of elements that have a revisionflag</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="show.revisionflag.frag">
- <xsl:param name="show.revisionflag" select="0"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>
- If <parameter>show.revisionflag</parameter> is turned on, then the stylesheets
- may produce additional markup designed to allow a CSS stylesheet to
- highlight elements that have specific revisionflag settings.</para>
- <para>The markup inserted will be usually be either a <span> or
- <div> with an appropriate <literal>class</literal>
- attribute. (The value of the class attribute will be the same as the
- value of the revisionflag attribute). In some contexts, for example
- tables, where extra markup would be structurally illegal, the class
- attribute will be added to the appropriate container element.</para>
- <para>In general, the stylesheets only test for revisionflag in contexts
- where an importing stylesheet would have to redefine whole templates.
- Most of the revisionflag processing is expected to be done by another
- stylesheet, for example <filename>changebars.xsl</filename>.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="shade.verbatim">
- <refmeta>
- <refentrytitle>shade.verbatim</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>shade.verbatim</refname>
- <refpurpose>Should verbatim environments be shaded?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="shade.verbatim.frag"><xsl:param name="shade.verbatim" select="0"></xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>In the FO stylesheet, if this parameter is non-zero then the
- <property>shade.verbatim.style</property> properties will be applied
- to verbatim environments.</para>
- <para>In the HTML stylesheet, this parameter is now deprecated. Use
- CSS instead.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="shade.verbatim.style">
- <refmeta>
- <refentrytitle>shade.verbatim.style</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>shade.verbatim.style</refname>
- <refpurpose>Properties that specify the style of shaded verbatim listings</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="shade.verbatim.style.frag">
- <xsl:attribute-set name="shade.verbatim.style">
- <xsl:attribute name="border">0</xsl:attribute>
- <xsl:attribute name="bgcolor">#E0E0E0</xsl:attribute>
- </xsl:attribute-set>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Properties that specify the style of shaded verbatim listings. The
- parameters specified (the border and background color) are added to
- the styling of the xsl-fo output. A border might be specified as "thin
- black solid" for example. See <link xlink:href="http://www.w3.org/TR/2004/WD-xsl11-20041216/#border">xsl-fo</link></para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="punct.honorific">
- <refmeta>
- <refentrytitle>punct.honorific</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>punct.honorific</refname>
- <refpurpose>Punctuation after an honorific in a personal name.</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="punct.honorific.frag">
- <xsl:param name="punct.honorific">.</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>This parameter specifies the punctuation that should be added after an
- honorific in a personal name.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="tex.math.in.alt">
- <refmeta>
- <refentrytitle>tex.math.in.alt</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">list</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">plain</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">latex</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>tex.math.in.alt</refname>
- <refpurpose>TeX notation used for equations</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="tex.math.in.alt.frag">
- <xsl:param name="tex.math.in.alt"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If you want type math directly in TeX notation in equations,
- this parameter specifies notation used. Currently are supported two
- values -- <literal>plain</literal> and <literal>latex</literal>. Empty
- value means that you are not using TeX math at all.</para>
- <para>Preferred way for including TeX alternative of math is inside of
- <tag>textobject</tag> element. Eg.:</para>
- <programlisting><inlineequation>
- <inlinemediaobject>
- <imageobject>
- <imagedata fileref="eq1.gif"/>
- </imageobject>
- <textobject><phrase>E=mc squared</phrase></textobject>
- <textobject role="tex"><phrase>E=mc^2</phrase></textobject>
- </inlinemediaobject>
- </inlineequation></programlisting>
- <para>If you are using <tag>graphic</tag> element, you can
- store TeX inside <tag>alt</tag> element:</para>
- <programlisting><inlineequation>
- <alt role="tex">a^2+b^2=c^2</alt>
- <graphic fileref="a2b2c2.gif"/>
- </inlineequation></programlisting>
- <para>If you want use this feature, you should process your FO with
- PassiveTeX, which only supports TeX math notation. When calling
- stylsheet, don't forget to specify also
- passivetex.extensions=1.</para>
- <para>If you want equations in HTML, just process generated file
- <filename>tex-math-equations.tex</filename> by TeX or LaTeX. Then run
- dvi2bitmap program on result DVI file. You will get images for
- equations in your document.</para>
- <warning>
- <para>This feature is useful for print/PDF output only if you
- use the obsolete and now unsupported PassiveTeX XSL-FO
- engine.</para>
- </warning>
- </refsection>
- <refsection><info><title>Related Parameters</title></info>
- <para><parameter>tex.math.delims</parameter>,
- <parameter>passivetex.extensions</parameter>,
- <parameter>tex.math.file</parameter></para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="tex.math.file">
- <refmeta>
- <refentrytitle>tex.math.file</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>tex.math.file</refname>
- <refpurpose>Name of temporary file for generating images from equations</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="tex.math.file.frag">
- <xsl:param name="tex.math.file">tex-math-equations.tex</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Name of auxiliary file for TeX equations. This file can be
- processed by dvi2bitmap to get bitmap versions of equations for HTML
- output.</para>
- </refsection>
- <refsection><info><title>Related Parameters</title></info>
- <para><parameter>tex.math.in.alt</parameter>,
- <parameter>tex.math.delims</parameter>,
- </para>
- </refsection>
- <refsection><info><title>More information</title></info>
- <para>For how-to documentation on embedding TeX equations and
- generating output from them, see
- <link role="tcg" xlink:href="TexMath.html">DBTeXMath</link>.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="tex.math.delims">
- <refmeta>
- <refentrytitle>tex.math.delims</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>tex.math.delims</refname>
- <refpurpose>Should equations output for processing by TeX be
- surrounded by math mode delimiters?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="tex.math.delims.frag">
- <xsl:param name="tex.math.delims" select="1"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>For compatibility with DSSSL based DBTeXMath from Allin Cottrell
- you should set this parameter to 0.</para>
- <warning>
- <para>This feature is useful for print/PDF output only if you
- use the obsolete and now unsupported PassiveTeX XSL-FO
- engine.</para>
- </warning>
- </refsection>
- <refsection><info><title>Related Parameters</title></info>
- <para><parameter>tex.math.in.alt</parameter>,
- <parameter>passivetex.extensions</parameter></para>
- </refsection>
- <refsection><info><title>See Also</title></info>
- <para>You can also use the <tag class="xmlpi">dbtex delims</tag> processing
- instruction to control whether delimiters are output.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="pixels.per.inch">
- <refmeta>
- <refentrytitle>pixels.per.inch</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">integer</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>pixels.per.inch</refname>
- <refpurpose>How many pixels are there per inch?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="pixels.per.inch.frag">
- <xsl:param name="pixels.per.inch">90</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>When lengths are converted to pixels, this value is used to
- determine the size of a pixel. The default value is taken from the
- <link xlink:href="http://www.w3.org/TR/2004/WD-xsl11-20041216/">XSL
- Recommendation</link>.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="points.per.em">
- <refmeta>
- <refentrytitle>points.per.em</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">number</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>points.per.em</refname>
- <refpurpose>Specify the nominal size of an em-space in points</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="points.per.em.frag">
- <xsl:param name="points.per.em">10</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The fixed value used for calculations based upon the size of a
- character. The assumption made is that ten point font is in use. This
- assumption may not be valid.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="use.svg">
- <refmeta>
- <refentrytitle>use.svg</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>use.svg</refname>
- <refpurpose>Allow SVG in the result tree?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="use.svg.frag">
- <xsl:param name="use.svg" select="1"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, SVG will be considered an acceptable image format. SVG
- is passed through to the result tree, so correct rendering of the resulting
- diagram depends on the formatter (FO processor or web browser) that is used
- to process the output from the stylesheet.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="menuchoice.separator">
- <refmeta>
- <refentrytitle>menuchoice.separator</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>menuchoice.separator</refname>
- <refpurpose>Separator between items of a <tag>menuchoice</tag>
- other than <tag>guimenuitem</tag> and
- <tag>guisubmenu</tag></refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="menuchoice.separator.frag">
- <xsl:param name="menuchoice.separator">+</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Separator used to connect items of a <tag>menuchoice</tag> other
- than <tag>guimenuitem</tag> and <tag>guisubmenu</tag>. The latter
- elements are linked with <parameter>menuchoice.menu.separator</parameter>.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="menuchoice.menu.separator">
- <refmeta>
- <refentrytitle>menuchoice.menu.separator</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>menuchoice.menu.separator</refname>
- <refpurpose>Separator between items of a <tag>menuchoice</tag>
- with <tag>guimenuitem</tag> or
- <tag>guisubmenu</tag></refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="menuchoice.menu.separator.frag">
- <xsl:param name="menuchoice.menu.separator"> → </xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Separator used to connect items of a <tag>menuchoice</tag> with
- <tag>guimenuitem</tag> or <tag>guisubmenu</tag>. Other elements
- are linked with <parameter>menuchoice.separator</parameter>.
- </para>
- <para>The default value is &#x2192;, which is the
- &rarr; (right arrow) character entity.
- The current FOP (0.20.5) requires setting the font-family
- explicitly.
- </para>
- <para>The default value also includes spaces around the arrow,
- which will allow a line to break. Replace the spaces with
- &#xA0; (nonbreaking space) if you don't want those
- spaces to break.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="default.float.class">
- <refmeta>
- <refentrytitle>default.float.class</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>default.float.class</refname>
- <refpurpose>Specifies the default float class</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="default.float.class.frag">
- <xsl:param name="default.float.class">
- <xsl:choose>
- <xsl:when test="contains($stylesheet.result.type,'html')">left</xsl:when>
- <xsl:otherwise>before</xsl:otherwise>
- </xsl:choose>
- </xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Selects the direction in which a float should be placed. for
- xsl-fo this is before, for html it is left. For Western texts, the
- before direction is the top of the page.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="footnote.number.format">
- <refmeta>
- <refentrytitle>footnote.number.format</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">list</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">1<alt>1,2,3...</alt></refmiscinfo>
- <refmiscinfo class="other" otherclass="value">A<alt>A,B,C...</alt></refmiscinfo>
- <refmiscinfo class="other" otherclass="value">a<alt>a,b,c...</alt></refmiscinfo>
- <refmiscinfo class="other" otherclass="value">i<alt>i,ii,iii...</alt></refmiscinfo>
- <refmiscinfo class="other" otherclass="value">I<alt>I,II,III...</alt></refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>footnote.number.format</refname>
- <refpurpose>Identifies the format used for footnote numbers</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="footnote.number.format.frag">
- <xsl:param name="footnote.number.format">1</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The <parameter>footnote.number.format</parameter> specifies the format
- to use for footnote numeration (1, i, I, a, or A).</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="table.footnote.number.format">
- <refmeta>
- <refentrytitle>table.footnote.number.format</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">list</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">1<alt>1,2,3...</alt></refmiscinfo>
- <refmiscinfo class="other" otherclass="value">A<alt>A,B,C...</alt></refmiscinfo>
- <refmiscinfo class="other" otherclass="value">a<alt>a,b,c...</alt></refmiscinfo>
- <refmiscinfo class="other" otherclass="value">i<alt>i,ii,iii...</alt></refmiscinfo>
- <refmiscinfo class="other" otherclass="value">I<alt>I,II,III...</alt></refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>table.footnote.number.format</refname>
- <refpurpose>Identifies the format used for footnote numbers in tables</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="table.footnote.number.format.frag">
- <xsl:param name="table.footnote.number.format">a</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The <parameter>table.footnote.number.format</parameter> specifies the format
- to use for footnote numeration (1, i, I, a, or A) in tables.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="footnote.number.symbols">
- <refmeta>
- <refentrytitle>footnote.number.symbols</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype"/>
- </refmeta>
- <refnamediv>
- <refname>footnote.number.symbols</refname>
- <refpurpose>Special characters to use as footnote markers</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="footnote.number.symbols.frag">
- <xsl:param name="footnote.number.symbols"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If <parameter>footnote.number.symbols</parameter> is not the empty string,
- footnotes will use the characters it contains as footnote symbols. For example,
- <quote>*&#x2020;&#x2021;&#x25CA;&#x2720;</quote> will identify
- footnotes with <quote>*</quote>, <quote>†</quote>, <quote>‡</quote>,
- <quote>◊</quote>, and <quote>✠</quote>. If there are more footnotes
- than symbols, the stylesheets will fall back to numbered footnotes using
- <parameter>footnote.number.format</parameter>.</para>
- <para>The use of symbols for footnotes depends on the ability of your
- processor (or browser) to render the symbols you select. Not all systems are
- capable of displaying the full range of Unicode characters. If the quoted characters
- in the preceding paragraph are not displayed properly, that's a good indicator
- that you may have trouble using those symbols for footnotes.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="table.footnote.number.symbols">
- <refmeta>
- <refentrytitle>table.footnote.number.symbols</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>table.footnote.number.symbols</refname>
- <refpurpose>Special characters to use a footnote markers in tables</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="table.footnote.number.symbols.frag">
- <xsl:param name="table.footnote.number.symbols"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If <parameter>table.footnote.number.symbols</parameter> is not the empty string,
- table footnotes will use the characters it contains as footnote symbols. For example,
- <quote>*&#x2020;&#x2021;&#x25CA;&#x2720;</quote> will identify
- footnotes with <quote>*</quote>, <quote>†</quote>, <quote>‡</quote>,
- <quote>◊</quote>, and <quote>✠</quote>. If there are more footnotes
- than symbols, the stylesheets will fall back to numbered footnotes using
- <parameter>table.footnote.number.format</parameter>.</para>
- <para>The use of symbols for footnotes depends on the ability of your
- processor (or browser) to render the symbols you select. Not all systems are
- capable of displaying the full range of Unicode characters. If the quoted characters
- in the preceding paragraph are not displayed properly, that's a good indicator
- that you may have trouble using those symbols for footnotes.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="highlight.source">
- <refmeta>
- <refentrytitle>highlight.source</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>highlight.source</refname>
- <refpurpose>Should the content of <tag>programlisting</tag>
- be syntactically highlighted?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="highlight.source.frag">
- <xsl:param name="highlight.source" select="0"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>When this parameter is non-zero, the stylesheets will try to do syntax highlighting of the
- content of <tag>programlisting</tag> elements. You specify the language for each programlisting
- by using the <tag class="attribute">language</tag> attribute. The <parameter>highlight.default.language</parameter>
- parameter can be used to specify the language for programlistings without a <tag class="attribute">language</tag>
- attribute. Syntax highlighting also works for <tag>screen</tag> and <tag>synopsis</tag> elements.</para>
- <para>The actual highlighting work is done by the XSLTHL extension module. This is an external Java library that has to be
- downloaded separately (see below).</para>
- <itemizedlist>
- <para>In order to use this extension, you must</para>
- <listitem><para>add <filename>xslthl-2.x.x.jar</filename> to your Java classpath. The latest version is available
- from <link xlink:href="http://sourceforge.net/projects/xslthl">the XSLT syntax highlighting project</link>
- at SourceForge.</para>
- </listitem>
- <listitem>
- <para>use a customization layer in which you import one of the following stylesheet modules:
- <itemizedlist>
- <listitem>
- <para><filename>html/highlight.xsl</filename>
- </para>
- </listitem>
- <listitem>
- <para><filename>xhtml/highlight.xsl</filename>
- </para>
- </listitem>
- <listitem>
- <para><filename>xhtml-1_1/highlight.xsl</filename>
- </para>
- </listitem>
- <listitem>
- <para><filename>fo/highlight.xsl</filename>
- </para>
- </listitem>
- </itemizedlist>
- </para>
- </listitem>
- <listitem><para>let either the <literal>xslthl.config</literal> Java system property or the
- <parameter>highlight.xslthl.config</parameter> parameter point to the configuration file for syntax
- highlighting (using URL syntax). DocBook XSL comes with a ready-to-use configuration file,
- <filename>highlighting/xslthl-config.xml</filename>.</para>
- </listitem>
- </itemizedlist>
- <para>The extension works with Saxon 6.5.x and Xalan-J. (Saxon 8.5 or later is also supported, but since it is
- an XSLT 2.0 processor it is not guaranteed to work with DocBook XSL in all circumstances.)</para>
- <para>The following is an example of a Saxon 6 command adapted for syntax highlighting, to be used on Windows:</para>
- <informalexample>
- <para><command>java -cp c:/Java/saxon.jar;c:/Java/xslthl-2.0.1.jar
- -Dxslthl.config=file:///c:/docbook-xsl/highlighting/xslthl-config.xml com.icl.saxon.StyleSheet
- -o test.html test.xml myhtml.xsl</command></para>
- </informalexample>
- </refsection>
- </refentry>
- <refentry version="5.0" id="highlight.xslthl.config">
- <refmeta>
- <refentrytitle>highlight.xslthl.config</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">uri</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>highlight.xslthl.config</refname>
- <refpurpose>Location of XSLTHL configuration file</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="highlight.xslthl.config.frag">
- <xsl:param name="highlight.xslthl.config"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>This location has precedence over the corresponding Java property.</para>
- <para>Please note that usually you have to specify location as URL not
- just as a simple path on the local
- filesystem. E.g. <filename>file:///home/user/xslthl/my-xslthl-config.xml</filename>.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="highlight.default.language">
- <refmeta>
- <refentrytitle>highlight.default.language</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>highlight.default.language</refname>
- <refpurpose>Default language of programlisting</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="highlight.default.language.frag">
- <xsl:param name="highlight.default.language"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>This language is used when there is no language attribute on programlisting.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="email.delimiters.enabled">
- <refmeta>
- <refentrytitle>email.delimiters.enabled</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>email.delimiters.enabled</refname>
- <refpurpose>Generate delimiters around email addresses?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="email.delimiters.enabled.frag">
- <xsl:param name="email.delimiters.enabled" select="1"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, delimiters
- <footnote><para>For delimiters, the
- stylesheets are currently hard-coded to output angle
- brackets.</para></footnote>
- are generated around e-mail addresses
- (the output of the <tag>email</tag> element).</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="exsl.node.set.available">
- <refmeta>
- <refentrytitle>exsl.node.set.available</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>exsl.node.set.available</refname>
- <refpurpose>Is the test function-available('exsl:node-set') true?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="exsl.node.set.available.frag"><xsl:param name="exsl.node.set.available">
- <xsl:choose>
- <xsl:when exsl:foo="" test="function-available('exsl:node-set') or contains(system-property('xsl:vendor'), 'Apache Software Foundation')">1</xsl:when>
- <xsl:otherwise>0</xsl:otherwise>
- </xsl:choose>
- </xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero,
- then the exsl:node-set() function is available to be used in
- the stylesheet.
- If zero, then the function is not available.
- This param automatically detects the presence of
- the function and does not normally need to be set manually.</para>
- <para>This param was created to handle a long-standing
- bug in the Xalan processor that fails to detect the
- function even though it is available.</para>
- </refsection>
- </refentry>
- </reference><reference id="annos" xml:base="../html/param.xml"><title>Annotations</title>
- <refentry version="5.0" id="annotation.support">
- <refmeta>
- <refentrytitle>annotation.support</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>annotation.support</refname>
- <refpurpose>Enable annotations?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="annotation.support.frag">
- <xsl:param name="annotation.support" select="0"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, the stylesheets will attempt to support annotation
- elements in HTML by including some JavaScript (see
- <parameter>annotation.js</parameter>).</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="annotation.js">
- <refmeta>
- <refentrytitle>annotation.js</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>annotation.js</refname>
- <refpurpose>URIs identifying JavaScript files with support for annotation popups</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="annotation.js.frag">
- <xsl:param name="annotation.js">
- <xsl:text>http://docbook.sourceforge.net/release/script/AnchorPosition.js http://docbook.sourceforge.net/release/script/PopupWindow.js</xsl:text></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If <property>annotation.support</property> is enabled and the
- document contains <tag>annotation</tag>s, then the URIs listed
- in this parameter will be included. These JavaScript files are required
- for popup annotation support.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="annotation.css">
- <refmeta>
- <refentrytitle>annotation.css</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>annotation.css</refname>
- <refpurpose>CSS rules for annotations</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="annotation.css.frag">
- <xsl:param name="annotation.css">
- /* ======================================================================
- Annotations
- */
- div.annotation-list { visibility: hidden;
- }
- div.annotation-nocss { position: absolute;
- visibility: hidden;
- }
- div.annotation-popup { position: absolute;
- z-index: 4;
- visibility: hidden;
- padding: 0px;
- margin: 2px;
- border-style: solid;
- border-width: 1px;
- width: 200px;
- background-color: white;
- }
- div.annotation-title { padding: 1px;
- font-weight: bold;
- border-bottom-style: solid;
- border-bottom-width: 1px;
- color: white;
- background-color: black;
- }
- div.annotation-body { padding: 2px;
- }
- div.annotation-body p { margin-top: 0px;
- padding-top: 0px;
- }
- div.annotation-close { position: absolute;
- top: 2px;
- right: 2px;
- }
- </xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If <parameter>annotation.support</parameter> is enabled and the
- document contains <tag>annotation</tag>s, then the CSS in this
- parameter will be included in the document.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="annotation.graphic.open">
- <refmeta>
- <refentrytitle>annotation.graphic.open</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">uri</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>annotation.graphic.open</refname>
- <refpurpose>Image for identifying a link that opens an annotation popup</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="annotation.graphic.open.frag">
- <xsl:param name="annotation.graphic.open">http://docbook.sourceforge.net/release/images/annot-open.png</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>This image is used inline to identify the location of
- annotations. It may be replaced by a user provided graphic. The size should be approximately 10x10 pixels.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="annotation.graphic.close">
- <refmeta>
- <refentrytitle>annotation.graphic.close</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">uri</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>annotation.graphic.close</refname>
- <refpurpose>Image for identifying a link that closes an annotation popup</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="annotation.graphic.close.frag">
- <xsl:param name="annotation.graphic.close">
- http://docbook.sourceforge.net/release/images/annot-close.png</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>This image is used on popup annotations as the “x” that the
- user can click to dismiss the popup.</para>
- <para>This image is used on popup annotations as the “x” that the user can
- click to dismiss the popup. It may be replaced by a user provided graphic. The size should be approximately 10x10 pixels.</para>
- </refsection>
- </refentry>
- </reference><reference id="graphics" xml:base="../html/param.xml"><title>Graphics</title>
- <refentry version="5.0" id="img.src.path">
- <refmeta>
- <refentrytitle>img.src.path</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>img.src.path</refname>
- <refpurpose>Path to HTML/FO image files</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="img.src.path.frag"><xsl:param name="img.src.path"></xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Add a path prefix to the value of the <tag class="attribute">fileref</tag>
- attribute of <tag>graphic</tag>, <tag>inlinegraphic</tag>, and <tag>imagedata</tag> elements. The resulting
- compound path is used in the output as the value of the <tag class="attribute">src</tag>
- attribute of <tag class="element">img</tag> (HTML) or <tag class="element">external-graphic</tag> (FO).
- </para>
- <para>
- The path given by <literal>img.src.path</literal> could be relative to the directory where the HTML/FO
- files are created, or it could be an absolute URI.
- The default value is empty.
- Be sure to include a trailing slash if needed.
- </para>
- <para>This prefix is not applied to any filerefs that start
- with "/" or contain "//:".
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="keep.relative.image.uris">
- <refmeta>
- <refentrytitle>keep.relative.image.uris</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>keep.relative.image.uris</refname>
- <refpurpose>Should image URIs be resolved against xml:base?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="keep.relative.image.uris.frag">
- <xsl:param name="keep.relative.image.uris" select="1"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, relative URIs (in, for example
- <literal>fileref</literal> attributes) will be used in the generated
- output. Otherwise, the URIs will be made absolute with respect to the
- base URI.</para>
- <para>Note that the stylesheets calculate (and use) the absolute form
- for some purposes, this only applies to the resulting output.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="graphic.default.extension">
- <refmeta>
- <refentrytitle>graphic.default.extension</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>graphic.default.extension</refname>
- <refpurpose>Default extension for graphic filenames</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="graphic.default.extension.frag"><xsl:param name="graphic.default.extension"></xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If a <tag>graphic</tag> or <tag>mediaobject</tag>
- includes a reference to a filename that does not include an extension,
- and the <tag class="attribute">format</tag> attribute is
- <emphasis>unspecified</emphasis>, the default extension will be used.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="default.image.width">
- <refmeta>
- <refentrytitle>default.image.width</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">length</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>default.image.width</refname>
- <refpurpose>The default width of images</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="default.image.width.frag">
- <xsl:param name="default.image.width"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If specified, this value will be used for the
- <tag class="attribute">width</tag> attribute on images that do not specify any
- <emphasis xlink:title="DocBook 5: The Definitive Guide" xlink:href="http://docbook.org/tdg5/en/html/imagedata.html#viewport.area">viewport dimensions</emphasis>.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="nominal.image.width">
- <refmeta>
- <refentrytitle>nominal.image.width</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">length</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>nominal.image.width</refname>
- <refpurpose>The nominal image width</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="nominal.image.width.frag">
- <xsl:param name="nominal.image.width" select="6 * $pixels.per.inch"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Graphic widths expressed as a percentage are problematic. In the
- following discussion, we speak of width and contentwidth, but
- the same issues apply to depth and contentdepth.</para>
- <para>A width of 50% means "half of the available space for the image."
- That's fine. But note that in HTML, this is a dynamic property and
- the image size will vary if the browser window is resized.</para>
- <para>A contentwidth of 50% means "half of the actual image width".
- But what does that mean if the stylesheets cannot assess the image's
- actual size? Treating this as a width of 50% is one possibility, but
- it produces behavior (dynamic scaling) that seems entirely out of
- character with the meaning.</para>
- <para>Instead, the stylesheets define a
- <parameter>nominal.image.width</parameter> and convert percentages to
- actual values based on that nominal size.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="nominal.image.depth">
- <refmeta>
- <refentrytitle>nominal.image.depth</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">length</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>nominal.image.depth</refname>
- <refpurpose>Nominal image depth</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="nominal.image.depth.frag">
- <xsl:param name="nominal.image.depth" select="4 * $pixels.per.inch"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>See <parameter>nominal.image.width</parameter>.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="use.embed.for.svg">
- <refmeta>
- <refentrytitle>use.embed.for.svg</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>use.embed.for.svg</refname>
- <refpurpose>Use HTML <tag>embed</tag> for SVG?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="use.embed.for.svg.frag">
- <xsl:param name="use.embed.for.svg" select="0"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, an <tag>embed</tag> element will be created for
- SVG figures. An <tag>object</tag> is <emphasis>always</emphasis> created,
- this parameter merely controls whether or not an additional <tag>embed</tag>
- is generated inside the <tag>object</tag>.</para>
- <para>On the plus side, this may be more portable among browsers and plug-ins.
- On the minus side, it isn't valid HTML.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="make.graphic.viewport">
- <refmeta>
- <refentrytitle>make.graphic.viewport</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>make.graphic.viewport</refname>
- <refpurpose>Use tables in HTML to make viewports for graphics</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="make.graphic.viewport.frag">
- <xsl:param name="make.graphic.viewport" select="1"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The HTML <tag>img</tag> element only supports the notion
- of content-area scaling; it doesn't support the distinction between a
- content-area and a viewport-area, so we have to make some compromises.</para>
- <para>If <parameter>make.graphic.viewport</parameter> is non-zero, a table
- will be used to frame the image. This creates an effective viewport-area.
- </para>
- <para>Tables and alignment don't work together, so this parameter is ignored
- if alignment is specified on an image.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="preferred.mediaobject.role">
- <refmeta>
- <refentrytitle>preferred.mediaobject.role</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>preferred.mediaobject.role</refname>
- <refpurpose>Select which mediaobject to use based on
- this value of an object's <tag class="attribute">role</tag> attribute.
- </refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="preferred.mediaobject.role.frag">
- <xsl:param name="preferred.mediaobject.role"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>A mediaobject may contain several objects such as imageobjects.
- If the parameter <parameter>use.role.for.mediaobject</parameter> is
- non-zero, then the <literal>role</literal> attribute on
- <tag>imageobject</tag>s and other objects within a
- <tag>mediaobject</tag> container will be used to select which object
- will be used. If one of the objects has a role value that matches the
- <parameter>preferred.mediaobject.role</parameter> parameter, then it
- has first priority for selection. If more than one has such a role
- value, the first one is used.
- </para>
- <para>
- See the <parameter>use.role.for.mediaobject</parameter> parameter
- for the sequence of selection.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="use.role.for.mediaobject">
- <refmeta>
- <refentrytitle>use.role.for.mediaobject</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>use.role.for.mediaobject</refname>
- <refpurpose>Use <tag class="attribute">role</tag> attribute
- value for selecting which of several objects within a mediaobject to use.
- </refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="use.role.for.mediaobject.frag">
- <xsl:param name="use.role.for.mediaobject" select="1"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, the <tag class="attribute">role</tag> attribute on
- <tag>imageobject</tag>s or other objects within a <tag>mediaobject</tag> container will be used to select which object will be
- used.
- </para>
- <para>
- The order of selection when then parameter is non-zero is:
- </para>
- <orderedlist>
- <listitem>
- <para>If the stylesheet parameter <parameter>preferred.mediaobject.role</parameter> has a value, then the object whose role equals that value is selected.</para>
- </listitem>
- <listitem>
- <para>Else if an object's role attribute has a value of
- <literal>html</literal> for HTML processing or
- <literal>fo</literal> for FO output, then the first
- of such objects is selected.
- </para>
- </listitem>
- <listitem>
- <para>Else the first suitable object is selected.</para>
- </listitem>
- </orderedlist>
- <para>
- If the value of
- <parameter>use.role.for.mediaobject</parameter>
- is zero, then role attributes are not considered
- and the first suitable object
- with or without a role value is used.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="ignore.image.scaling">
- <refmeta>
- <refentrytitle>ignore.image.scaling</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>ignore.image.scaling</refname>
- <refpurpose>Tell the stylesheets to ignore the author's image scaling attributes</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="ignore.image.scaling.frag">
- <xsl:param name="ignore.image.scaling" select="0"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, the scaling attributes on graphics and media objects are
- ignored.</para>
- </refsection>
- </refentry>
- </reference><reference id="chunking" xml:base="../html/param.xml"><title>Chunking</title>
- <refentry version="5.0" id="chunker.output.cdata-section-elements">
- <refmeta>
- <refentrytitle>chunker.output.cdata-section-elements</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>chunker.output.cdata-section-elements</refname>
- <refpurpose>List of elements to escape with CDATA sections</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="chunker.output.cdata-section-elements.frag">
- <xsl:param name="chunker.output.cdata-section-elements"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>This parameter specifies the list of elements that should be escaped
- as CDATA sections by the chunking stylesheet. Not all processors support
- specification of this parameter.
- </para>
- <note>
- <para>This parameter is documented here, but the declaration is actually
- in the <filename>chunker.xsl</filename> stylesheet module.</para>
- </note>
- </refsection>
- </refentry>
- <refentry version="5.0" id="chunker.output.doctype-public">
- <refmeta>
- <refentrytitle>chunker.output.doctype-public</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>chunker.output.doctype-public</refname>
- <refpurpose>Public identifer to use in the document type of generated pages</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="chunker.output.doctype-public.frag">
- <xsl:param name="chunker.output.doctype-public"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>This parameter specifies the public identifier that should be used by
- the chunking stylesheet in the document type declaration of chunked pages.
- Not all processors support specification of
- this parameter.
- </para>
- <note>
- <para>This parameter is documented here, but the declaration is actually
- in the <filename>chunker.xsl</filename> stylesheet module.</para>
- </note>
- </refsection>
- </refentry>
- <refentry version="5.0" id="chunker.output.doctype-system">
- <refmeta>
- <refentrytitle>chunker.output.doctype-system</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">uri</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>chunker.output.doctype-system</refname>
- <refpurpose>System identifier to use for the document type in generated pages</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="chunker.output.doctype-system.frag">
- <xsl:param name="chunker.output.doctype-system"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>This parameter specifies the system identifier that should be used by
- the chunking stylesheet in the document type declaration of chunked pages.
- Not all processors support specification of
- this parameter.
- </para>
- <note>
- <para>This parameter is documented here, but the declaration is actually
- in the <filename>chunker.xsl</filename> stylesheet module.</para>
- </note>
- </refsection>
- </refentry>
- <refentry version="5.0" id="chunker.output.encoding">
- <refmeta>
- <refentrytitle>chunker.output.encoding</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>chunker.output.encoding</refname>
- <refpurpose>Encoding used in generated pages</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="chunker.output.encoding.frag">
- <xsl:param name="chunker.output.encoding">ISO-8859-1</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>This parameter specifies the encoding to be used in files
- generated by the chunking stylesheet. Not all processors support
- specification of this parameter.
- </para>
- <para>This parameter used to be named <literal>default.encoding</literal>.</para>
- <note>
- <para>This parameter is documented here, but the declaration is actually
- in the <filename>chunker.xsl</filename> stylesheet module.</para>
- </note>
- </refsection>
- </refentry>
- <refentry version="5.0" id="chunker.output.indent">
- <refmeta>
- <refentrytitle>chunker.output.indent</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>chunker.output.indent</refname>
- <refpurpose>Specification of indentation on generated pages</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="chunker.output.indent.frag">
- <xsl:param name="chunker.output.indent">no</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>This parameter specifies the value of the indent
- specification for generated pages. Not all processors support
- specification of this parameter.
- </para>
- <note>
- <para>This parameter is documented here, but the declaration is actually
- in the <filename>chunker.xsl</filename> stylesheet module.</para>
- </note>
- </refsection>
- </refentry>
- <refentry version="5.0" id="chunker.output.media-type">
- <refmeta>
- <refentrytitle>chunker.output.media-type</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>chunker.output.media-type</refname>
- <refpurpose>Media type to use in generated pages</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="chunker.output.media-type.frag">
- <xsl:param name="chunker.output.media-type"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>This parameter specifies the media type that should be used by
- the chunking stylesheet. Not all processors support specification of
- this parameter.
- </para>
- <para>This parameter specifies the media type that should be used by the
- chunking stylesheet. This should be one from those defined in
- <link xlink:href="http://www.ietf.org/rfc/rfc2045.txt">[RFC2045]</link> and
- <link xlink:href="http://www.ietf.org/rfc/rfc2046.txt">[RFC2046]</link> </para>
- <note>
- <para>This parameter is documented here, but the declaration is actually
- in the <filename>chunker.xsl</filename> stylesheet module.</para>
- <para>It must be one from html, xml or text</para>
- </note>
- </refsection>
- </refentry>
- <refentry version="5.0" id="chunker.output.method">
- <refmeta>
- <refentrytitle>chunker.output.method</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">list</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">html</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">xml</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>chunker.output.method</refname>
- <refpurpose>Method used in generated pages</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="chunker.output.method.frag">
- <xsl:param name="chunker.output.method">html</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>This parameter specifies the output method to be used in files
- generated by the chunking stylesheet.
- </para>
- <para>This parameter used to be named <literal>output.method</literal>.</para>
- <note>
- <para>This parameter is documented here, but the declaration is actually
- in the <filename>chunker.xsl</filename> stylesheet module.</para>
- </note>
- </refsection>
- </refentry>
- <refentry version="5.0" id="chunker.output.omit-xml-declaration">
- <refmeta>
- <refentrytitle>chunker.output.omit-xml-declaration</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>chunker.output.omit-xml-declaration</refname>
- <refpurpose>Omit-xml-declaration for generated pages</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="chunker.output.omit-xml-declaration.frag">
- <xsl:param name="chunker.output.omit-xml-declaration">no</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>This parameter specifies the value of the omit-xml-declaration
- specification for generated pages. Not all processors support
- specification of this parameter.
- </para>
- <note>
- <para>This parameter is documented here, but the declaration is actually
- in the <filename>chunker.xsl</filename> stylesheet module.</para>
- </note>
- </refsection>
- </refentry>
- <refentry version="5.0" id="chunker.output.standalone">
- <refmeta>
- <refentrytitle>chunker.output.standalone</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>chunker.output.standalone</refname>
- <refpurpose>Standalone declaration for generated pages</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="chunker.output.standalone.frag">
- <xsl:param name="chunker.output.standalone">no</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>This parameter specifies the value of the standalone
- specification for generated pages. It must be either
- <literal>yes</literal> or <literal>no</literal>. Not all
- processors support specification of this parameter.
- </para>
- <note>
- <para>This parameter is documented here, but the declaration is actually
- in the <filename>chunker.xsl</filename> stylesheet module.</para>
- </note>
- </refsection>
- </refentry>
- <refentry version="5.0" id="saxon.character.representation">
- <refmeta>
- <refentrytitle>saxon.character.representation</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>saxon.character.representation</refname>
- <refpurpose>Saxon character representation used in generated HTML pages</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="saxon.character.representation.frag"><xsl:param name="saxon.character.representation" select="'entity;decimal'"></xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>This parameter has effect only when Saxon 6 is used (version 6.4.2 or later).
- It sets the character representation in files generated by the chunking stylesheets.
- If you want to suppress entity references for characters with direct representations in
- <parameter>chunker.output.encoding</parameter>, set the parameter value to <literal>native</literal>.
- </para>
- <para> For more information, see <link role="tcg" xlink:href="OutputEncoding.html#SaxonCharacter">Saxon output character representation</link>.</para>
- <note>
- <para>This parameter is documented here, but the declaration is actually
- in the <filename>chunker.xsl</filename> stylesheet module.</para>
- </note>
- </refsection>
- </refentry>
- <refentry version="5.0" id="html.ext">
- <refmeta>
- <refentrytitle>html.ext</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>html.ext</refname>
- <refpurpose>Identifies the extension of generated HTML files</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="html.ext.frag">
- <xsl:param name="html.ext">.html</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The extension identified by <parameter>html.ext</parameter> will
- be used as the filename extension for chunks created by this
- stylesheet. </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="use.id.as.filename">
- <refmeta>
- <refentrytitle>use.id.as.filename</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>use.id.as.filename</refname>
- <refpurpose>Use ID value of chunk elements as the filename?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="use.id.as.filename.frag">
- <xsl:param name="use.id.as.filename" select="0"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If <parameter>use.id.as.filename</parameter>
- is non-zero, the filename of chunk elements that have IDs will be
- derived from the ID value.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="html.extra.head.links">
- <refmeta>
- <refentrytitle>html.extra.head.links</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>html.extra.head.links</refname>
- <refpurpose>Toggle extra HTML head link information</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="html.extra.head.links.frag">
- <xsl:param name="html.extra.head.links" select="0"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, extra <tag>link</tag> elements will be
- generated in the <tag>head</tag> of chunked HTML files. These
- extra links point to chapters, appendixes, sections, etc. as supported
- by the <quote>Site Navigation Bar</quote> in Mozilla 1.0 (as of CR1, at least).
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="root.filename">
- <refmeta>
- <refentrytitle>root.filename</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">uri</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>root.filename</refname>
- <refpurpose>Identifies the name of the root HTML file when chunking</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="root.filename.frag">
- <xsl:param name="root.filename">index</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The <parameter>root.filename</parameter> is the base filename for
- the chunk created for the root of each document processed.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="base.dir">
- <refmeta>
- <refentrytitle>base.dir</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">uri</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>base.dir</refname>
- <refpurpose>The base directory of chunks</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="base.dir.frag">
- <xsl:param name="base.dir"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If specified, the <parameter>base.dir</parameter> parameter identifies
- the output directory for chunks. (If not specified, the output directory
- is system dependent.)</para>
- <para>Starting with version 1.77 of the stylesheets,
- the param's value will have a trailing slash added if it does
- not already have one.</para>
- <caution><para>Do not use <parameter>base.dir</parameter>
- to add a filename prefix string to chunked files.
- Instead, use the <parameter>chunked.filename.prefix</parameter>
- parameter.</para></caution>
- </refsection>
- </refentry>
- <refentry version="5.0" id="chunked.filename.prefix">
- <refmeta>
- <refentrytitle>chunked.filename.prefix</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>chunked.filename.prefix</refname>
- <refpurpose>Filename prefix for chunked files</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="chunked.filename.prefix.frag">
- <xsl:param name="chunked.filename.prefix"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If specified, the <parameter>chunked.filename.prefix</parameter>
- parameter specifies a prefix string to add to each generated chunk filename.
- For example:</para>
- <programlisting><xsl:param name="chunked.filename.prefix">admin-<xsl:param></programlisting>
- <para>will produce chunked filenames like:</para>
- <programlisting>admin-index.html
- admin-ch01.html
- admin-ch01s01.html
- ...
- </programlisting>
- <caution><para>Trying to use the <parameter>base.dir</parameter>
- parameter to add a string prefix (by omitting the trailing slash)
- no longer works (it never worked completely anyway). That parameter
- value should contain only a directory path, and
- now gets a trailing slash appended if it was omitted from the param.</para></caution>
- </refsection>
- </refentry>
- <refentry version="5.0" id="generate.manifest">
- <refmeta>
- <refentrytitle>generate.manifest</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>generate.manifest</refname>
- <refpurpose>Generate a manifest file?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="generate.manifest.frag"><xsl:param name="generate.manifest" select="0"></xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, a list of HTML files generated by the
- stylesheet transformation is written to the file named by
- the <parameter>manifest</parameter> parameter.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="manifest">
- <refmeta>
- <refentrytitle>manifest</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>manifest</refname>
- <refpurpose>Name of manifest file</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="manifest.frag">
- <xsl:param name="manifest">HTML.manifest</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The name of the file to which a manifest is written (if the
- value of the <parameter>generate.manifest</parameter> parameter
- is non-zero).</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="manifest.in.base.dir">
- <refmeta>
- <refentrytitle>manifest.in.base.dir</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>manifest.in.base.dir</refname>
- <refpurpose>Should the manifest file be written into <parameter>base.dir</parameter>?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="manifest.in.base.dir.frag">
- <xsl:param name="manifest.in.base.dir" select="0"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, the manifest file as well as project files for HTML Help and
- Eclipse Help are written into <parameter>base.dir</parameter> instead
- of the current directory.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="chunk.toc">
- <refmeta>
- <refentrytitle>chunk.toc</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>chunk.toc</refname>
- <refpurpose>An explicit TOC to be used for chunking</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="chunk.toc.frag">
- <xsl:param name="chunk.toc"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The <parameter>chunk.toc</parameter> identifies an explicit TOC that
- will be used for chunking. This parameter is only used by the
- <filename>chunktoc.xsl</filename> stylesheet (and customization layers built
- from it).</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="chunk.tocs.and.lots">
- <refmeta>
- <refentrytitle>chunk.tocs.and.lots</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>chunk.tocs.and.lots</refname>
- <refpurpose>Should ToC and LoTs be in separate chunks?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="chunk.tocs.and.lots.frag">
- <xsl:param name="chunk.tocs.and.lots" select="0"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, ToC and LoT (List of Examples, List of Figures, etc.)
- will be put in a separate chunk. At the moment, this chunk is not in the
- normal forward/backward navigation list. Instead, a new link is added to the
- navigation footer.</para>
- <para>This feature is still somewhat experimental. Feedback welcome.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="chunk.separate.lots">
- <refmeta>
- <refentrytitle>chunk.separate.lots</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>chunk.separate.lots</refname>
- <refpurpose>Should each LoT be in its own separate chunk?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="chunk.separate.lots.frag">
- <xsl:param name="chunk.separate.lots" select="0"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, each of the ToC and LoTs
- (List of Examples, List of Figures, etc.)
- will be put in its own separate chunk.
- The title page includes generated links to each of the separate files.
- </para>
- <para>
- This feature depends on the
- <parameter>chunk.tocs.and.lots</parameter>
- parameter also being non-zero.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="chunk.tocs.and.lots.has.title">
- <refmeta>
- <refentrytitle>chunk.tocs.and.lots.has.title</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>chunk.tocs.and.lots.has.title</refname>
- <refpurpose>Should ToC and LoTs in a separate chunks have title?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="chunk.tocs.and.lots.has.title.frag">
- <xsl:param name="chunk.tocs.and.lots.has.title" select="1"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero title of document is shown before ToC/LoT in
- separate chunk.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="chunk.section.depth">
- <refmeta>
- <refentrytitle>chunk.section.depth</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">integer</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>chunk.section.depth</refname>
- <refpurpose>Depth to which sections should be chunked</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="chunk.section.depth.frag">
- <xsl:param name="chunk.section.depth" select="1"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>This parameter sets the depth of section chunking.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="chunk.first.sections">
- <refmeta>
- <refentrytitle>chunk.first.sections</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>chunk.first.sections</refname>
- <refpurpose>Chunk the first top-level section?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="chunk.first.sections.frag">
- <xsl:param name="chunk.first.sections" select="0"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, a chunk will be created for the first top-level
- <tag>sect1</tag> or <tag>section</tag> elements in
- each component. Otherwise, that section will be part of the chunk for
- its parent.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="chunk.quietly">
- <refmeta>
- <refentrytitle>chunk.quietly</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>chunk.quietly</refname>
- <refpurpose>Omit the chunked filename messages.</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="chunk.quietly.frag">
- <xsl:param name="chunk.quietly" select="0"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If zero (the default), the XSL processor emits a message naming
- each separate chunk filename as it is being output.
- If nonzero, then the messages are suppressed.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="chunk.append">
- <refmeta>
- <refentrytitle>chunk.append</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>chunk.append</refname>
- <refpurpose>Specifies content to append to chunked HTML output</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="chunk.append.frag"><xsl:param name="chunk.append"></xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Specifies content to append to the end of HTML files output by
- the <filename>html/chunk.xsl</filename> stylesheet, after the closing
- <code><html></code> tag. You probably don’t want to set any value
- for this parameter; but if you do, the only value it should ever be
- set to is a newline character: <code>&#x0a;</code> or
- <code>&#10;</code></para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="navig.graphics">
- <refmeta>
- <refentrytitle>navig.graphics</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>navig.graphics</refname>
- <refpurpose>Use graphics in navigational headers and footers?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="navig.graphics.frag">
- <xsl:param name="navig.graphics" select="0"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, the navigational headers and footers in chunked
- HTML are presented in an alternate style that uses graphical icons for
- Next, Previous, Up, and Home. Default graphics are provided in the
- distribution. If zero, text is used instead of graphics.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="navig.graphics.extension">
- <refmeta>
- <refentrytitle>navig.graphics.extension</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>navig.graphics.extension</refname>
- <refpurpose>Extension for navigational graphics</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="navig.graphics.extension.frag">
- <xsl:param name="navig.graphics.extension">.gif</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Sets the filename extension to use on navigational graphics used
- in the headers and footers of chunked HTML.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="navig.graphics.path">
- <refmeta>
- <refentrytitle>navig.graphics.path</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>navig.graphics.path</refname>
- <refpurpose>Path to navigational graphics</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="navig.graphics.path.frag">
- <xsl:param name="navig.graphics.path">images/</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Sets the path, probably relative to the directory where the HTML
- files are created, to the navigational graphics used in the
- headers and footers of chunked HTML.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="navig.showtitles">
- <refmeta>
- <refentrytitle>navig.showtitles</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>navig.showtitles</refname>
- <refpurpose>Display titles in HTML headers and footers?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="navig.showtitles.frag"><xsl:param name="navig.showtitles">1</xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero,
- the headers and footers of chunked HTML
- display the titles of the next and previous chunks,
- along with the words 'Next' and 'Previous' (or the
- equivalent graphical icons if navig.graphics is true).
- If false (zero), then only the words 'Next' and 'Previous'
- (or the icons) are displayed.
- </para>
- </refsection>
- </refentry>
- </reference><reference id="profiling" xml:base="../html/param.xml"><title>Profiling</title>
- <partintro id="partintro">
- <para>The following parameters can be used for attribute-based
- profiling of your document. For more information about profiling, see
- <link role="tcg" xlink:href="Profiling.html">Profiling (conditional text)</link>.</para>
- </partintro>
- <refentry version="5.0" id="profile.arch">
- <refmeta>
- <refentrytitle>profile.arch</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>profile.arch</refname>
- <refpurpose>Target profile for <tag class="attribute">arch</tag>
- attribute</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="profile.arch.frag">
- <xsl:param name="profile.arch"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The value of this parameter specifies profiles which should be
- included in the output. You can specify multiple profiles by
- separating them by semicolon. You can change separator character by
- <parameter>profile.separator</parameter>
- parameter.</para>
- <para>This parameter has effect only when you are using profiling
- stylesheets (<filename>profile-docbook.xsl</filename>,
- <filename>profile-chunk.xsl</filename>, …) instead of normal
- ones (<filename>docbook.xsl</filename>,
- <filename>chunk.xsl</filename>, …).</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="profile.audience">
- <refmeta>
- <refentrytitle>profile.audience</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>profile.audience</refname>
- <refpurpose>Target profile for <tag class="attribute">audience</tag>
- attribute</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="profile.audience.frag">
- <xsl:param name="profile.audience"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Value of this parameter specifies profiles which should be
- included in the output. You can specify multiple profiles by
- separating them by semicolon. You can change separator character by
- <parameter>profile.separator</parameter>
- parameter.</para>
- <para>This parameter has effect only when you are using profiling
- stylesheets (<filename>profile-docbook.xsl</filename>,
- <filename>profile-chunk.xsl</filename>, …) instead of normal
- ones (<filename>docbook.xsl</filename>,
- <filename>chunk.xsl</filename>, …).</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="profile.condition">
- <refmeta>
- <refentrytitle>profile.condition</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>profile.condition</refname>
- <refpurpose>Target profile for <tag class="attribute">condition</tag>
- attribute</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="profile.condition.frag">
- <xsl:param name="profile.condition"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The value of this parameter specifies profiles which should be
- included in the output. You can specify multiple profiles by
- separating them by semicolon. You can change separator character by
- <parameter>profile.separator</parameter>
- parameter.</para>
- <para>This parameter has effect only when you are using profiling
- stylesheets (<filename>profile-docbook.xsl</filename>,
- <filename>profile-chunk.xsl</filename>, …) instead of normal
- ones (<filename>docbook.xsl</filename>,
- <filename>chunk.xsl</filename>, …).</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="profile.conformance">
- <refmeta>
- <refentrytitle>profile.conformance</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>profile.conformance</refname>
- <refpurpose>Target profile for <tag class="attribute">conformance</tag>
- attribute</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="profile.conformance.frag">
- <xsl:param name="profile.conformance"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The value of this parameter specifies profiles which should be
- included in the output. You can specify multiple profiles by
- separating them by semicolon. You can change separator character by
- <parameter>profile.separator</parameter>
- parameter.</para>
- <para>This parameter has effect only when you are using profiling
- stylesheets (<filename>profile-docbook.xsl</filename>,
- <filename>profile-chunk.xsl</filename>, …) instead of normal
- ones (<filename>docbook.xsl</filename>,
- <filename>chunk.xsl</filename>, …).</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="profile.lang">
- <refmeta>
- <refentrytitle>profile.lang</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>profile.lang</refname>
- <refpurpose>Target profile for <tag class="attribute">lang</tag>
- attribute</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="profile.lang.frag">
- <xsl:param name="profile.lang"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The value of this parameter specifies profiles which should be
- included in the output. You can specify multiple profiles by
- separating them by semicolon. You can change separator character by
- <parameter>profile.separator</parameter>
- parameter.</para>
- <para>This parameter has effect only when you are using profiling
- stylesheets (<filename>profile-docbook.xsl</filename>,
- <filename>profile-chunk.xsl</filename>, …) instead of normal
- ones (<filename>docbook.xsl</filename>,
- <filename>chunk.xsl</filename>, …).</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="profile.os">
- <refmeta>
- <refentrytitle>profile.os</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>profile.os</refname>
- <refpurpose>Target profile for <tag class="attribute">os</tag>
- attribute</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="profile.os.frag">
- <xsl:param name="profile.os"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The value of this parameter specifies profiles which should be
- included in the output. You can specify multiple profiles by
- separating them by semicolon. You can change separator character by
- <parameter>profile.separator</parameter>
- parameter.</para>
- <para>This parameter has effect only when you are using profiling
- stylesheets (<filename>profile-docbook.xsl</filename>,
- <filename>profile-chunk.xsl</filename>, …) instead of normal
- ones (<filename>docbook.xsl</filename>,
- <filename>chunk.xsl</filename>, …).</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="profile.revision">
- <refmeta>
- <refentrytitle>profile.revision</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>profile.revision</refname>
- <refpurpose>Target profile for <tag class="attribute">revision</tag>
- attribute</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="profile.revision.frag">
- <xsl:param name="profile.revision"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The value of this parameter specifies profiles which should be
- included in the output. You can specify multiple profiles by
- separating them by semicolon. You can change separator character by
- <parameter>profile.separator</parameter>
- parameter.</para>
- <para>This parameter has effect only when you are using profiling
- stylesheets (<filename>profile-docbook.xsl</filename>,
- <filename>profile-chunk.xsl</filename>, …) instead of normal
- ones (<filename>docbook.xsl</filename>,
- <filename>chunk.xsl</filename>, …).</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="profile.revisionflag">
- <refmeta>
- <refentrytitle>profile.revisionflag</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>profile.revisionflag</refname>
- <refpurpose>Target profile for <tag class="attribute">revisionflag</tag>
- attribute</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="profile.revisionflag.frag">
- <xsl:param name="profile.revisionflag"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The value of this parameter specifies profiles which should be
- included in the output. You can specify multiple profiles by
- separating them by semicolon. You can change separator character by
- <parameter>profile.separator</parameter>
- parameter.</para>
- <para>This parameter has effect only when you are using profiling
- stylesheets (<filename>profile-docbook.xsl</filename>,
- <filename>profile-chunk.xsl</filename>, …) instead of normal
- ones (<filename>docbook.xsl</filename>,
- <filename>chunk.xsl</filename>, …).</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="profile.role">
- <refmeta>
- <refentrytitle>profile.role</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>profile.role</refname>
- <refpurpose>Target profile for <tag class="attribute">role</tag>
- attribute</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="profile.role.frag">
- <xsl:param name="profile.role"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The value of this parameter specifies profiles which should be
- included in the output. You can specify multiple profiles by
- separating them by semicolon. You can change separator character by
- <parameter>profile.separator</parameter>
- parameter.</para>
- <para>This parameter has effect only when you are using profiling
- stylesheets (<filename>profile-docbook.xsl</filename>,
- <filename>profile-chunk.xsl</filename>, …) instead of normal
- ones (<filename>docbook.xsl</filename>,
- <filename>chunk.xsl</filename>, …).</para>
- <warning>
- <para>Note that <tag class="attribute">role</tag> is often
- used for other purposes than profiling. For example it is commonly
- used to get emphasize in bold font:</para>
- <programlisting><emphasis role="bold">very important</emphasis></programlisting>
- <para>If you are using <tag class="attribute">role</tag> for
- these purposes do not forget to add values like <literal>bold</literal> to
- value of this parameter. If you forgot you will get document with
- small pieces missing which are very hard to track.</para>
- <para>For this reason it is not recommended to use <tag class="attribute">role</tag> attribute for profiling. You should
- rather use profiling specific attributes like <tag class="attribute">userlevel</tag>, <tag class="attribute">os</tag>, <tag class="attribute">arch</tag>, <tag class="attribute">condition</tag>, etc.</para>
- </warning>
- </refsection>
- </refentry>
- <refentry version="5.0" id="profile.security">
- <refmeta>
- <refentrytitle>profile.security</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>profile.security</refname>
- <refpurpose>Target profile for <tag class="attribute">security</tag>
- attribute</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="profile.security.frag">
- <xsl:param name="profile.security"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The value of this parameter specifies profiles which should be
- included in the output. You can specify multiple profiles by
- separating them by semicolon. You can change separator character by
- <parameter>profile.separator</parameter>
- parameter.</para>
- <para>This parameter has effect only when you are using profiling
- stylesheets (<filename>profile-docbook.xsl</filename>,
- <filename>profile-chunk.xsl</filename>, …) instead of normal
- ones (<filename>docbook.xsl</filename>,
- <filename>chunk.xsl</filename>, …).</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="profile.status">
- <refmeta>
- <refentrytitle>profile.status</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>profile.status</refname>
- <refpurpose>Target profile for <tag class="attribute">status</tag>
- attribute</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="profile.status.frag">
- <xsl:param name="profile.status"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The value of this parameter specifies profiles which should be
- included in the output. You can specify multiple profiles by
- separating them by semicolon. You can change separator character by
- <parameter>profile.separator</parameter>
- parameter.</para>
- <para>This parameter has effect only when you are using profiling
- stylesheets (<filename>profile-docbook.xsl</filename>,
- <filename>profile-chunk.xsl</filename>, …) instead of normal
- ones (<filename>docbook.xsl</filename>,
- <filename>chunk.xsl</filename>, …).</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="profile.userlevel">
- <refmeta>
- <refentrytitle>profile.userlevel</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>profile.userlevel</refname>
- <refpurpose>Target profile for <tag class="attribute">userlevel</tag>
- attribute</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="profile.userlevel.frag">
- <xsl:param name="profile.userlevel"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The value of this parameter specifies profiles which should be
- included in the output. You can specify multiple profiles by
- separating them by semicolon. You can change separator character by
- <parameter>profile.separator</parameter>
- parameter.</para>
- <para>This parameter has effect only when you are using profiling
- stylesheets (<filename>profile-docbook.xsl</filename>,
- <filename>profile-chunk.xsl</filename>, …) instead of normal
- ones (<filename>docbook.xsl</filename>,
- <filename>chunk.xsl</filename>, …).</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="profile.vendor">
- <refmeta>
- <refentrytitle>profile.vendor</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>profile.vendor</refname>
- <refpurpose>Target profile for <tag class="attribute">vendor</tag>
- attribute</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="profile.vendor.frag">
- <xsl:param name="profile.vendor"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The value of this parameter specifies profiles which should be
- included in the output. You can specify multiple profiles by
- separating them by semicolon. You can change separator character by
- <parameter>profile.separator</parameter>
- parameter.</para>
- <para>This parameter has effect only when you are using profiling
- stylesheets (<filename>profile-docbook.xsl</filename>,
- <filename>profile-chunk.xsl</filename>, …) instead of normal
- ones (<filename>docbook.xsl</filename>,
- <filename>chunk.xsl</filename>, …).</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="profile.wordsize">
- <refmeta>
- <refentrytitle>profile.wordsize</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>profile.wordsize</refname>
- <refpurpose>Target profile for <tag class="attribute">wordsize</tag>
- attribute</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="profile.wordsize.frag">
- <xsl:param name="profile.wordsize"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The value of this parameter specifies profiles which should be
- included in the output. You can specify multiple profiles by
- separating them by semicolon. You can change separator character by
- <parameter>profile.separator</parameter>
- parameter.</para>
- <para>This parameter has effect only when you are using profiling
- stylesheets (<filename>profile-docbook.xsl</filename>,
- <filename>profile-chunk.xsl</filename>, …) instead of normal
- ones (<filename>docbook.xsl</filename>,
- <filename>chunk.xsl</filename>, …).</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="profile.attribute">
- <refmeta>
- <refentrytitle>profile.attribute</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>profile.attribute</refname>
- <refpurpose>Name of user-specified profiling attribute</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="profile.attribute.frag">
- <xsl:param name="profile.attribute"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>This parameter is used in conjuction with
- <parameter>profile.value</parameter>.</para>
- <para>This parameter has effect only when you are using profiling
- stylesheets (<filename>profile-docbook.xsl</filename>,
- <filename>profile-chunk.xsl</filename>, …) instead of normal
- ones (<filename>docbook.xsl</filename>,
- <filename>chunk.xsl</filename>, …).</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="profile.value">
- <refmeta>
- <refentrytitle>profile.value</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>profile.value</refname>
- <refpurpose>Target profile for user-specified attribute</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="profile.value.frag">
- <xsl:param name="profile.value"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>When you are using this parameter you must also specify name of
- profiling attribute with parameter
- <parameter>profile.attribute</parameter>.</para>
- <para>The value of this parameter specifies profiles which should be
- included in the output. You can specify multiple profiles by
- separating them by semicolon. You can change separator character by
- <parameter>profile.separator</parameter>
- parameter.</para>
- <para>This parameter has effect only when you are using profiling
- stylesheets (<filename>profile-docbook.xsl</filename>,
- <filename>profile-chunk.xsl</filename>, …) instead of normal
- ones (<filename>docbook.xsl</filename>,
- <filename>chunk.xsl</filename>, …).</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="profile.separator">
- <refmeta>
- <refentrytitle>profile.separator</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>profile.separator</refname>
- <refpurpose>Separator character for compound profile values</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="profile.separator.frag">
- <xsl:param name="profile.separator">;</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Separator character used for compound profile values. See <parameter>profile.arch</parameter></para>
- </refsection>
- </refentry>
- </reference><reference id="htmlhelp" xml:base="../html/param.xml"><title>HTML Help</title>
- <refentry version="5.0" id="htmlhelp.encoding">
- <refmeta>
- <refentrytitle>htmlhelp.encoding</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>htmlhelp.encoding</refname>
- <refpurpose>Character encoding to use in files for HTML Help compiler.</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="htmlhelp.encoding.frag">
- <xsl:param name="htmlhelp.encoding">iso-8859-1</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The HTML Help Compiler is not UTF-8 aware, so you should always use an
- appropriate single-byte encoding here. See also <link xlink:href="HtmlHelp.html#HelpProcOptions" role="tcg">Processing options</link>.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="htmlhelp.autolabel">
- <refmeta>
- <refentrytitle>htmlhelp.autolabel</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>htmlhelp.autolabel</refname>
- <refpurpose>Should tree-like ToC use autonumbering feature?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="htmlhelp.autolabel.frag">
- <xsl:param name="htmlhelp.autolabel" select="0"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Set this to non-zero to include chapter and section numbers into ToC
- in the left panel.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="htmlhelp.chm">
- <refmeta>
- <refentrytitle>htmlhelp.chm</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>htmlhelp.chm</refname>
- <refpurpose>Filename of output HTML Help file.</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="htmlhelp.chm.frag">
- <xsl:param name="htmlhelp.chm">htmlhelp.chm</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Set the name of resulting CHM file</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="htmlhelp.default.topic">
- <refmeta>
- <refentrytitle>htmlhelp.default.topic</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>htmlhelp.default.topic</refname>
- <refpurpose>Name of file with default topic</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="htmlhelp.default.topic.frag">
- <xsl:param name="htmlhelp.default.topic"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Normally first chunk of document is displayed when you open HTML
- Help file. If you want to display another topic, simply set its
- filename by this parameter.</para>
- <para>This is useful especially if you don't generate ToC in front of
- your document and you also hide root element in ToC. E.g.:</para>
- <programlisting><xsl:param name="generate.book.toc" select="0"/>
- <xsl:param name="htmlhelp.hhc.show.root" select="0"/>
- <xsl:param name="htmlhelp.default.topic">pr01.html</xsl:param>
- </programlisting>
- </refsection>
- </refentry>
- <refentry version="5.0" id="htmlhelp.display.progress">
- <refmeta>
- <refentrytitle>htmlhelp.display.progress</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>htmlhelp.display.progress</refname>
- <refpurpose>Display compile progress?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="htmlhelp.display.progress.frag">
- <xsl:param name="htmlhelp.display.progress" select="1"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Set to non-zero to to display compile progress
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="htmlhelp.hhp">
- <refmeta>
- <refentrytitle>htmlhelp.hhp</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>htmlhelp.hhp</refname>
- <refpurpose>Filename of project file.</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="htmlhelp.hhp.frag">
- <xsl:param name="htmlhelp.hhp">htmlhelp.hhp</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Change this parameter if you want different name of project
- file than htmlhelp.hhp.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="htmlhelp.hhc">
- <refmeta>
- <refentrytitle>htmlhelp.hhc</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>htmlhelp.hhc</refname>
- <refpurpose>Filename of TOC file.</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="htmlhelp.hhc.frag">
- <xsl:param name="htmlhelp.hhc">toc.hhc</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Set the name of the TOC file. The default is <filename>toc.hhc</filename>.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="htmlhelp.hhk">
- <refmeta>
- <refentrytitle>htmlhelp.hhk</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>htmlhelp.hhk</refname>
- <refpurpose>Filename of index file.</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="htmlhelp.hhk.frag">
- <xsl:param name="htmlhelp.hhk">index.hhk</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>set the name of the index file. The default is <filename>index.hhk</filename>.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="htmlhelp.hhp.tail">
- <refmeta>
- <refentrytitle>htmlhelp.hhp.tail</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>htmlhelp.hhp.tail</refname>
- <refpurpose>Additional content for project file.</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="htmlhelp.hhp.tail.frag">
- <xsl:param name="htmlhelp.hhp.tail"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If you want to include some additional parameters into project file,
- store appropriate part of project file into this parameter.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="htmlhelp.hhp.window">
- <refmeta>
- <refentrytitle>htmlhelp.hhp.window</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>htmlhelp.hhp.window</refname>
- <refpurpose>Name of default window.</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="htmlhelp.hhp.window.frag">
- <xsl:param name="htmlhelp.hhp.window">Main</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Name of default window. If empty no [WINDOWS] section will be
- added to project file.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="htmlhelp.hhp.windows">
- <refmeta>
- <refentrytitle>htmlhelp.hhp.windows</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>htmlhelp.hhp.windows</refname>
- <refpurpose>Definition of additional windows</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="htmlhelp.hhp.windows.frag">
- <xsl:param name="htmlhelp.hhp.windows"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Content of this parameter is placed at the end of [WINDOWS]
- section of project file. You can use it for defining your own
- addtional windows.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="htmlhelp.enhanced.decompilation">
- <refmeta>
- <refentrytitle>htmlhelp.enhanced.decompilation</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>htmlhelp.enhanced.decompilation</refname>
- <refpurpose>Allow enhanced decompilation of CHM?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="htmlhelp.enhanced.decompilation.frag">
- <xsl:param name="htmlhelp.enhanced.decompilation" select="0"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>When non-zero this parameter enables enhanced decompilation of CHM.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="htmlhelp.enumerate.images">
- <refmeta>
- <refentrytitle>htmlhelp.enumerate.images</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>htmlhelp.enumerate.images</refname>
- <refpurpose>Should the paths to all used images be added to the project file?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="htmlhelp.enumerate.images.frag">
- <xsl:param name="htmlhelp.enumerate.images" select="0"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Set to non-zero if you insert images into your documents as
- external binary entities or if you are using absolute image paths.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="htmlhelp.force.map.and.alias">
- <refmeta>
- <refentrytitle>htmlhelp.force.map.and.alias</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>htmlhelp.force.map.and.alias</refname>
- <refpurpose>Should [MAP] and [ALIAS] sections be added to the project file unconditionally?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="htmlhelp.force.map.and.alias.frag">
- <xsl:param name="htmlhelp.force.map.and.alias" select="0"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Set to non-zero if you have your own
- <literal>alias.h</literal> and <literal>context.h</literal>
- files and you want to include references to them in the project
- file.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="htmlhelp.map.file">
- <refmeta>
- <refentrytitle>htmlhelp.map.file</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>htmlhelp.map.file</refname>
- <refpurpose>Filename of map file.</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="htmlhelp.map.file.frag">
- <xsl:param name="htmlhelp.map.file">context.h</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Set the name of map file. The default is
- <filename>context.h</filename>. (used for context-sensitive
- help).</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="htmlhelp.alias.file">
- <refmeta>
- <refentrytitle>htmlhelp.alias.file</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>htmlhelp.alias.file</refname>
- <refpurpose>Filename of alias file.</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="htmlhelp.alias.file.frag">
- <xsl:param name="htmlhelp.alias.file">alias.h</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Specifies the filename of the alias file (used for context-sensitive help).</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="htmlhelp.hhc.section.depth">
- <refmeta>
- <refentrytitle>htmlhelp.hhc.section.depth</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">integer</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>htmlhelp.hhc.section.depth</refname>
- <refpurpose>Depth of TOC for sections in a left pane.</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="htmlhelp.hhc.section.depth.frag">
- <xsl:param name="htmlhelp.hhc.section.depth">5</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Set the section depth in the left pane of HTML Help viewer. </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="htmlhelp.hhc.show.root">
- <refmeta>
- <refentrytitle>htmlhelp.hhc.show.root</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>htmlhelp.hhc.show.root</refname>
- <refpurpose>Should there be an entry for the root element in the ToC?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="htmlhelp.hhc.show.root.frag">
- <xsl:param name="htmlhelp.hhc.show.root" select="1"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If set to zero, there will be no entry for the root element in the
- ToC. This is useful when you want to provide the user with an expanded
- ToC as a default.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="htmlhelp.hhc.folders.instead.books">
- <refmeta>
- <refentrytitle>htmlhelp.hhc.folders.instead.books</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>htmlhelp.hhc.folders.instead.books</refname>
- <refpurpose>Use folder icons in ToC (instead of book icons)?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="htmlhelp.hhc.folders.instead.books.frag">
- <xsl:param name="htmlhelp.hhc.folders.instead.books" select="1"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Set to non-zero for folder-like icons or zero for book-like icons in the ToC.
- If you want to use folder-like icons, you must switch off the binary ToC using
- <parameter>htmlhelp.hhc.binary</parameter>.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="htmlhelp.hhc.binary">
- <refmeta>
- <refentrytitle>htmlhelp.hhc.binary</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>htmlhelp.hhc.binary</refname>
- <refpurpose>Generate binary ToC?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="htmlhelp.hhc.binary.frag">
- <xsl:param name="htmlhelp.hhc.binary" select="1"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Set to non-zero to generate a binary TOC. You must create a binary TOC
- if you want to add Prev/Next buttons to toolbar (which is default
- behaviour). Files with binary TOC can't be merged.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="htmlhelp.hhc.width">
- <refmeta>
- <refentrytitle>htmlhelp.hhc.width</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">integer</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>htmlhelp.hhc.width</refname>
- <refpurpose>Width of navigation pane</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="htmlhelp.hhc.width.frag">
- <xsl:param name="htmlhelp.hhc.width"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>This parameter specifies the width of the navigation pane (containing TOC and
- other navigation tabs) in pixels.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="htmlhelp.title">
- <refmeta>
- <refentrytitle>htmlhelp.title</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>htmlhelp.title</refname>
- <refpurpose>Title of HTML Help</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="htmlhelp.title.frag">
- <xsl:param name="htmlhelp.title"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Content of this parameter will be used as a title for generated
- HTML Help. If empty, title will be automatically taken from document.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="htmlhelp.show.menu">
- <refmeta>
- <refentrytitle>htmlhelp.show.menu</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>htmlhelp.show.menu</refname>
- <refpurpose>Should the menu bar be shown?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="htmlhelp.show.menu.frag">
- <xsl:param name="htmlhelp.show.menu" select="0"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Set to non-zero to have an application menu bar in your HTML Help window.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="htmlhelp.show.toolbar.text">
- <refmeta>
- <refentrytitle>htmlhelp.show.toolbar.text</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>htmlhelp.show.toolbar.text</refname>
- <refpurpose>Show text under toolbar buttons?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="htmlhelp.show.toolbar.text.frag">
- <xsl:param name="htmlhelp.show.toolbar.text" select="1"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Set to non-zero to display texts under toolbar buttons, zero to switch
- off displays.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="htmlhelp.show.advanced.search">
- <refmeta>
- <refentrytitle>htmlhelp.show.advanced.search</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>htmlhelp.show.advanced.search</refname>
- <refpurpose>Should advanced search features be available?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="htmlhelp.show.advanced.search.frag">
- <xsl:param name="htmlhelp.show.advanced.search" select="0"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If you want advanced search features in your help, turn this
- parameter to 1.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="htmlhelp.show.favorities">
- <refmeta>
- <refentrytitle>htmlhelp.show.favorities</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>htmlhelp.show.favorities</refname>
- <refpurpose>Should the Favorites tab be shown?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="htmlhelp.show.favorities.frag">
- <xsl:param name="htmlhelp.show.favorities" select="0"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Set to non-zero to include a Favorites tab in the navigation pane
- of the help window.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="htmlhelp.button.hideshow">
- <refmeta>
- <refentrytitle>htmlhelp.button.hideshow</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>htmlhelp.button.hideshow</refname>
- <refpurpose>Should the Hide/Show button be shown?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="htmlhelp.button.hideshow.frag">
- <xsl:param name="htmlhelp.button.hideshow" select="1"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Set to non-zero to include the Hide/Show button shown on toolbar</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="htmlhelp.button.back">
- <refmeta>
- <refentrytitle>htmlhelp.button.back</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>htmlhelp.button.back</refname>
- <refpurpose>Should the Back button be shown?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="htmlhelp.button.back.frag">
- <xsl:param name="htmlhelp.button.back" select="1"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Set to non-zero to include the Hide/Show button shown on toolbar</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="htmlhelp.button.forward">
- <refmeta>
- <refentrytitle>htmlhelp.button.forward</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>htmlhelp.button.forward</refname>
- <refpurpose>Should the Forward button be shown?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="htmlhelp.button.forward.frag">
- <xsl:param name="htmlhelp.button.forward" select="0"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Set to non-zero to include the Forward button on the toolbar.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="htmlhelp.button.stop">
- <refmeta>
- <refentrytitle>htmlhelp.button.stop</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>htmlhelp.button.stop</refname>
- <refpurpose>Should the Stop button be shown?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="htmlhelp.button.stop.frag">
- <xsl:param name="htmlhelp.button.stop" select="0"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If you want Stop button shown on toolbar, turn this
- parameter to 1.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="htmlhelp.button.refresh">
- <refmeta>
- <refentrytitle>htmlhelp.button.refresh</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>htmlhelp.button.refresh</refname>
- <refpurpose>Should the Refresh button be shown?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="htmlhelp.button.refresh.frag">
- <xsl:param name="htmlhelp.button.refresh" select="0"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Set to non-zero to include the Stop button on the toolbar.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="htmlhelp.button.home">
- <refmeta>
- <refentrytitle>htmlhelp.button.home</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>htmlhelp.button.home</refname>
- <refpurpose>Should the Home button be shown?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="htmlhelp.button.home.frag">
- <xsl:param name="htmlhelp.button.home" select="0"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Set to non-zero to include the Home button on the toolbar.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="htmlhelp.button.home.url">
- <refmeta>
- <refentrytitle>htmlhelp.button.home.url</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>htmlhelp.button.home.url</refname>
- <refpurpose>URL address of page accessible by Home button</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="htmlhelp.button.home.url.frag">
- <xsl:param name="htmlhelp.button.home.url"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>URL address of page accessible by Home button.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="htmlhelp.button.options">
- <refmeta>
- <refentrytitle>htmlhelp.button.options</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>htmlhelp.button.options</refname>
- <refpurpose>Should the Options button be shown?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="htmlhelp.button.options.frag">
- <xsl:param name="htmlhelp.button.options" select="1"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If you want Options button shown on toolbar, turn this
- parameter to 1.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="htmlhelp.button.print">
- <refmeta>
- <refentrytitle>htmlhelp.button.print</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>htmlhelp.button.print</refname>
- <refpurpose>Should the Print button be shown?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="htmlhelp.button.print.frag">
- <xsl:param name="htmlhelp.button.print" select="1"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Set to non-zero to include the Print button on the toolbar.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="htmlhelp.button.locate">
- <refmeta>
- <refentrytitle>htmlhelp.button.locate</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>htmlhelp.button.locate</refname>
- <refpurpose>Should the Locate button be shown?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="htmlhelp.button.locate.frag">
- <xsl:param name="htmlhelp.button.locate" select="0"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If you want Locate button shown on toolbar, turn this
- parameter to 1.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="htmlhelp.button.jump1">
- <refmeta>
- <refentrytitle>htmlhelp.button.jump1</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>htmlhelp.button.jump1</refname>
- <refpurpose>Should the Jump1 button be shown?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="htmlhelp.button.jump1.frag">
- <xsl:param name="htmlhelp.button.jump1" select="0"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Set to non-zero to include the <literal>Jump1</literal> button on the toolbar.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="htmlhelp.button.jump1.url">
- <refmeta>
- <refentrytitle>htmlhelp.button.jump1.url</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>htmlhelp.button.jump1.url</refname>
- <refpurpose>URL address of page accessible by Jump1 button</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="htmlhelp.button.jump1.url.frag">
- <xsl:param name="htmlhelp.button.jump1.url"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>URL address of page accessible by Jump1 button.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="htmlhelp.button.jump1.title">
- <refmeta>
- <refentrytitle>htmlhelp.button.jump1.title</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>htmlhelp.button.jump1.title</refname>
- <refpurpose>Title of Jump1 button</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="htmlhelp.button.jump1.title.frag">
- <xsl:param name="htmlhelp.button.jump1.title">User1</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Title of Jump1 button.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="htmlhelp.button.jump2">
- <refmeta>
- <refentrytitle>htmlhelp.button.jump2</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>htmlhelp.button.jump2</refname>
- <refpurpose>Should the Jump2 button be shown?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="htmlhelp.button.jump2.frag">
- <xsl:param name="htmlhelp.button.jump2" select="0"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Set to non-zero to include the Jump2 button on the toolbar.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="htmlhelp.button.jump2.url">
- <refmeta>
- <refentrytitle>htmlhelp.button.jump2.url</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>htmlhelp.button.jump2.url</refname>
- <refpurpose>URL address of page accessible by Jump2 button</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="htmlhelp.button.jump2.url.frag">
- <xsl:param name="htmlhelp.button.jump2.url"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>URL address of page accessible by Jump2 button.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="htmlhelp.button.jump2.title">
- <refmeta>
- <refentrytitle>htmlhelp.button.jump2.title</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>htmlhelp.button.jump2.title</refname>
- <refpurpose>Title of Jump2 button</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="htmlhelp.button.jump2.title.frag">
- <xsl:param name="htmlhelp.button.jump2.title">User2</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Title of Jump2 button.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="htmlhelp.button.next">
- <refmeta>
- <refentrytitle>htmlhelp.button.next</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>htmlhelp.button.next</refname>
- <refpurpose>Should the Next button be shown?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="htmlhelp.button.next.frag">
- <xsl:param name="htmlhelp.button.next" select="1"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Set to non-zero to include the Next button on the toolbar.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="htmlhelp.button.prev">
- <refmeta>
- <refentrytitle>htmlhelp.button.prev</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>htmlhelp.button.prev</refname>
- <refpurpose>Should the Prev button be shown?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="htmlhelp.button.prev.frag">
- <xsl:param name="htmlhelp.button.prev" select="1"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Set to non-zero to include the Prev button on the toolbar.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="htmlhelp.button.zoom">
- <refmeta>
- <refentrytitle>htmlhelp.button.zoom</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>htmlhelp.button.zoom</refname>
- <refpurpose>Should the Zoom button be shown?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="htmlhelp.button.zoom.frag">
- <xsl:param name="htmlhelp.button.zoom" select="0"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Set to non-zero to include the Zoom button on the toolbar.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="htmlhelp.remember.window.position">
- <refmeta>
- <refentrytitle>htmlhelp.remember.window.position</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>htmlhelp.remember.window.position</refname>
- <refpurpose>Remember help window position?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="htmlhelp.remember.window.position.frag">
- <xsl:param name="htmlhelp.remember.window.position" select="0"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Set to non-zero to remember help window position between starts.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="htmlhelp.window.geometry">
- <refmeta>
- <refentrytitle>htmlhelp.window.geometry</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>htmlhelp.window.geometry</refname>
- <refpurpose>Set initial geometry of help window</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="htmlhelp.window.geometry.frag">
- <xsl:param name="htmlhelp.window.geometry"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>This parameter specifies initial position of help
- window. E.g.</para>
- <programlisting><xsl:param name="htmlhelp.window.geometry">[160,64,992,704]</xsl:param></programlisting>
- </refsection>
- </refentry>
- <refentry version="5.0" id="htmlhelp.use.hhk">
- <refmeta>
- <refentrytitle>htmlhelp.use.hhk</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>htmlhelp.use.hhk</refname>
- <refpurpose>Should the index be built using the HHK file?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="htmlhelp.use.hhk.frag">
- <xsl:param name="htmlhelp.use.hhk" select="0"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, the index is created using the HHK file (instead of using <tag role="html">object</tag>
- elements in the HTML files). For more information, see <link role="tcg" xlink:href="HtmlHelp.html#HHGenIndex">Generating an index</link>.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="htmlhelp.only">
- <refmeta>
- <refentrytitle>htmlhelp.only</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>htmlhelp.only</refname>
- <refpurpose>Should only project files be generated?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="htmlhelp.only.frag">
- <xsl:param name="htmlhelp.only" select="0"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Set to non-zero if you want to play with various HTML Help parameters
- and you don't need to regenerate all HTML files. This setting will not
- process whole document, only project files (hhp, hhc, hhk,...) will be
- generated.</para>
- </refsection>
- </refentry>
- </reference><reference id="eclipse_help" xml:base="../html/param.xml"><title>Eclipse Help Platform</title>
- <refentry version="5.0" id="eclipse.autolabel">
- <refmeta>
- <refentrytitle>eclipse.autolabel</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>eclipse.autolabel</refname>
- <refpurpose>Should tree-like ToC use autonumbering feature?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="eclipse.autolabel.frag">
- <xsl:param name="eclipse.autolabel" select="0"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If you want to include chapter and section numbers into ToC in
- the left panel, set this parameter to 1.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="eclipse.plugin.name">
- <refmeta>
- <refentrytitle>eclipse.plugin.name</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>eclipse.plugin.name</refname>
- <refpurpose>Eclipse Help plugin name</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="eclipse.plugin.name.frag">
- <xsl:param name="eclipse.plugin.name">DocBook Online Help Sample</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Eclipse Help plugin name.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="eclipse.plugin.id">
- <refmeta>
- <refentrytitle>eclipse.plugin.id</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>eclipse.plugin.id</refname>
- <refpurpose>Eclipse Help plugin id</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="eclipse.plugin.id.frag">
- <xsl:param name="eclipse.plugin.id">com.example.help</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Eclipse Help plugin id. You should change this id to something
- unique for each help.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="eclipse.plugin.provider">
- <refmeta>
- <refentrytitle>eclipse.plugin.provider</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>eclipse.plugin.provider</refname>
- <refpurpose>Eclipse Help plugin provider name</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="eclipse.plugin.provider.frag">
- <xsl:param name="eclipse.plugin.provider">Example provider</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Eclipse Help plugin provider name.</para>
- </refsection>
- </refentry>
- </reference><reference id="webhelp" xml:base="../html/param.xml"><title>WebHelp</title>
- <refentry version="5.0" id="webhelp.autolabel">
- <refmeta>
- <refentrytitle>webhelp.autolabel</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>webhelp.autolabel</refname>
- <refpurpose>Should tree-like ToC use autonumbering feature?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="webhelp.autolabel.frag">
- <xsl:param name="webhelp.autolabel">0</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>To include chapter and section numbers the table of contents pane, set this parameter to 1.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="webhelp.base.dir">
- <refmeta>
- <refentrytitle>webhelp.base.dir</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>webhelp.base.dir</refname>
- <refpurpose>The base directory for webhelp output.</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="webhelp.base.dir.frag">
- <xsl:param name="webhelp.base.dir">docs</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If specified, the <parameter>webhelp.base.dir</parameter>
- parameter identifies the output directory for webhelp. (If not
- specified, the output directory is system dependent.) By default, this
- parameter is set to <filename>docs</filename>.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="webhelp.common.dir">
- <refmeta>
- <refentrytitle>webhelp.common.dir</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>webhelp.common.dir</refname>
- <refpurpose>Path to the directory for the common webhelp resources (JavaScript, css, common images, etc).</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="webhelp.common.dir.frag">
- <xsl:param name="webhelp.common.dir">../common/</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>By default, webhelp creates a common directory containing resources such as JavaScript files, css, common images, etc. In some cases you may prefer to store these files in a standard location on your site and point all webhelp documents to that location. You can use this parameter to control the urls written to these common resources. For example, you might set this parameter to <code>/common</code> and create a single common directory at the root of your web server. </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="webhelp.default.topic">
- <refmeta>
- <refentrytitle>webhelp.default.topic</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>webhelp.default.topic</refname>
- <refpurpose>The name of the file to which the start file in the webhelp base directory redirects</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="webhelp.default.topic.frag">
- <xsl:param name="webhelp.default.topic">index.html</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Currently webhelp creates a base directory and puts the output
- files in a <filename>content</filename> subdirectory. It creates a
- file in the base directory that redirects to a configured file in the
- <filename>content</filename> directory. The
- <parameter>webhelp.default.topic</parameter> parameter lets you
- configure the name of the file that is redirected to.
- <note>
- <para>This parameter will be removed from a future version of
- webhelp along with the <filename>content</filename>
- directory.</para>
- </note>
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="webhelp.include.search.tab">
- <refmeta>
- <refentrytitle>webhelp.include.search.tab</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>webhelp.include.search.tab</refname>
- <refpurpose>Should the webhelp output include a Search tab?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="webhelp.include.search.tab.frag">
- <xsl:param name="webhelp.include.search.tab">1</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Set this parameter to 0 to suppress the search tab from webhelp output.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="webhelp.indexer.language">
- <refmeta>
- <refentrytitle>webhelp.indexer.language</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype"/>
- </refmeta>
- <refnamediv>
- <refname>webhelp.indexer.language</refname>
- <refpurpose>The language to use for creating the webhelp search index.</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="webhelp.indexer.language.frag">
- <xsl:param name="webhelp.indexer.language">en</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>To support stemming in the client-side webhelp stemmer, you must provide the language code. By default, the following languages are supported:
- <itemizedlist>
- <listitem>
- <para><code>en</code>: English</para>
- </listitem>
- <listitem>
- <para><code>de</code>: German</para>
- </listitem>
- <listitem>
- <para><code>fr</code>: French</para>
- </listitem>
- <listitem>
- <para><code>zh</code>: Chinese</para>
- </listitem>
- <listitem>
- <para><code>ja</code>: Japanese</para>
- </listitem>
- <listitem>
- <para><code>ko</code>: Korean</para>
- </listitem>
- </itemizedlist>
- See the webhelp documentation for information on adding support for additional languages.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="webhelp.start.filename">
- <refmeta>
- <refentrytitle>webhelp.start.filename</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>webhelp.start.filename</refname>
- <refpurpose>The name of the start file in the webhelp base directory.</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="webhelp.start.filename.frag">
- <xsl:param name="webhelp.start.filename">index.html</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Currently webhelp creates a base directory and puts the output
- files in a <filename>content</filename> subdirectory. It creates a
- file in the base directory that redirects to a configured file in the
- <filename>content</filename> directory. The <parameter>webhelp.start.filename</parameter> parameter lets you configure the name of the redirect file.
- <note>
- <para>This parameter will be removed from a future version of
- webhelp along with the <filename>content</filename>
- directory.</para>
- </note>
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="webhelp.tree.cookie.id">
- <refmeta>
- <refentrytitle>webhelp.tree.cookie.id</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>webhelp.tree.cookie.id</refname>
- <refpurpose>Controls how the cookie that stores the webhelp toc state is named.</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="webhelp.tree.cookie.id.frag">
- <xsl:param name="webhelp.tree.cookie.id" select="concat( 'treeview-', count(//node()) )"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The webhelp output does not use a frameset. Instead, the table of contents is a div on each page. To preserve the state of the table of contents as the user navigates from page to page, webhelp stores the state in a cookie and reads that cookie when you get to the next page. If you've published several webhelp documents on the same domain, it is important that each cookie have a unique id. In lieu of calling on a GUID generator, by default this parameter is just set to the number of nodes in the document on the assumption that it is unlikely that you will have more than one document with the exact number of nodes. A more optimal solution would be for the user to pass in some unique, stable identifier from the build system to use as the webhelp cookie id. For example, if you have safeguards in place to ensure that the xml:id of the root element of each document will be unique on your site, then you could set webhelptree.cookie.id as follows:
- <programlisting>
- <xsl:param name="webhelp.tree.cookie.id">
- <xsl:choose>
- <xsl:when test="/*/@xml:id">
- <xsl:value-of select="concat('treeview-',/*/@xml:id)"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="concat( 'treeview-', count(//node()) )"/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:param>
- </programlisting>
- </para>
- </refsection>
- </refentry>
- </reference><reference id="javahelp" xml:base="../html/param.xml"><title>JavaHelp</title>
- <refentry version="5.0" id="javahelp.encoding">
- <refmeta>
- <refentrytitle>javahelp.encoding</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>javahelp.encoding</refname>
- <refpurpose>Character encoding to use in control files for JavaHelp.</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="javahelp.encoding.frag">
- <xsl:param name="javahelp.encoding">iso-8859-1</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
-
- <para>JavaHelp crashes on some characters when written as character
- references. In that case you can use this parameter to select an appropriate encoding.</para>
-
- </refsection>
- </refentry>
- </reference><reference id="l10n" xml:base="../html/param.xml"><title>Localization</title>
- <refentry version="5.0" id="l10n.gentext.language">
- <refmeta>
- <refentrytitle>l10n.gentext.language</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>l10n.gentext.language</refname>
- <refpurpose>Sets the gentext language</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="l10n.gentext.language.frag">
- <xsl:param name="l10n.gentext.language"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If this parameter is set to any value other than the empty string, its
- value will be used as the value for the language when generating text. Setting
- <parameter>l10n.gentext.language</parameter> overrides any settings within the
- document being formatted.</para>
- <para>It's much more likely that you might want to set the
- <parameter>l10n.gentext.default.language</parameter> parameter.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="l10n.gentext.default.language">
- <refmeta>
- <refentrytitle>l10n.gentext.default.language</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>l10n.gentext.default.language</refname>
- <refpurpose>Sets the default language for generated text</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="l10n.gentext.default.language.frag">
- <xsl:param name="l10n.gentext.default.language">en</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The value of the <parameter>l10n.gentext.default.language</parameter>
- parameter is used as the language for generated text if no setting is provided
- in the source document.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="l10n.gentext.use.xref.language">
- <refmeta>
- <refentrytitle>l10n.gentext.use.xref.language</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>l10n.gentext.use.xref.language</refname>
- <refpurpose>Use the language of target when generating cross-reference text?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="l10n.gentext.use.xref.language.frag">
- <xsl:param name="l10n.gentext.use.xref.language" select="0"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, the language of the target will be used when
- generating cross reference text. Usually, the <quote>current</quote>
- language is used when generating text (that is, the language of the
- element that contains the cross-reference element). But setting this parameter
- allows the language of the element <emphasis>pointed to</emphasis> to control
- the generated text.</para>
- <para>Consider the following example:</para>
- <informalexample>
- <programlisting><para lang="en">See also <xref linkend="chap3"/>.</para>
- </programlisting>
- </informalexample>
- <para>Suppose that Chapter 3 happens to be written in German.
- If <parameter>l10n.gentext.use.xref.language</parameter> is non-zero, the
- resulting text will be something like this:</para>
- <blockquote>
- <para>See also Kapital 3.</para>
- </blockquote>
- <para>Where the more traditional rendering would be:</para>
- <blockquote>
- <para>See also Chapter 3.</para>
- </blockquote>
- </refsection>
- </refentry>
- <refentry version="5.0" id="l10n.lang.value.rfc.compliant">
- <refmeta>
- <refentrytitle>l10n.lang.value.rfc.compliant</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>l10n.lang.value.rfc.compliant</refname>
- <refpurpose>Make value of lang attribute RFC compliant?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="l10n.lang.value.rfc.compliant.frag">
- <xsl:param name="l10n.lang.value.rfc.compliant" select="1"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, ensure that the values for all <tag class="attribute">lang</tag> attributes in HTML output are RFC
- compliant<footnote><para>Section 8.1.1, <link xlink:href="http://www.w3.org/TR/REC-html40/struct/dirlang.html#h-8.1.1">Language Codes</link>, in the HTML 4.0 Recommendation states that:
- <blockquote><para>[RFC1766] defines and explains the language codes
- that must be used in HTML documents.</para>
- <para>Briefly, language codes consist of a primary code and a possibly
- empty series of subcodes:
- <literallayout class="monospaced">language-code = primary-code ( "-" subcode )*</literallayout>
- </para>
- <para>And in RFC 1766, <link xlink:href="http://www.ietf.org/rfc/rfc1766.txt">Tags for the Identification
- of Languages</link>, the EBNF for "language tag" is given as:
- <literallayout class="monospaced">Language-Tag = Primary-tag *( "-" Subtag )
- Primary-tag = 1*8ALPHA
- Subtag = 1*8ALPHA</literallayout>
- </para>
- </blockquote>
- </para></footnote>.
- by taking any underscore characters in any <tag class="attribute">lang</tag> values found in source documents, and
- replacing them with hyphen characters in output HTML files. For
- example, <literal>zh_CN</literal> in a source document becomes
- <literal>zh-CN</literal> in the HTML output form that source.
- <note>
- <para>This parameter does not cause any case change in <tag class="attribute">lang</tag> values, because RFC 1766
- explicitly states that all "language tags" (as it calls them) "are
- to be treated as case insensitive".</para>
- </note>
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="writing.mode">
- <refmeta>
- <refentrytitle>writing.mode</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>writing.mode</refname>
- <refpurpose>Direction of text flow based on locale</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="writing.mode.frag">
- <xsl:param name="writing.mode">
- <xsl:call-template name="gentext">
- <xsl:with-param name="key">writing-mode</xsl:with-param>
- <xsl:with-param name="lang">
- <xsl:call-template name="l10n.language">
- <xsl:with-param name="target" select="/*[1]"></xsl:with-param>
- </xsl:call-template>
- </xsl:with-param>
- </xsl:call-template>
- </xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Sets direction of text flow and text alignment based on locale.
- The value is normally taken from the gentext file for the
- lang attribute of the document's root element, using the
- key name 'writing-mode' to look it up in the gentext file.
- But this param can also be
- set on the command line to override that gentext value.
- </para>
- <para>Accepted values are:
- <variablelist>
- <varlistentry>
- <term>lr-tb</term>
- <listitem>
- <para>Left-to-right text flow in each line, lines stack top to bottom.</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>rl-tb</term>
- <listitem>
- <para>Right-to-left text flow in each line, lines stack top to bottom.</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>tb-rl</term>
- <listitem>
- <para>Top-to-bottom text flow in each vertical line, lines stack right to left.
- Supported by only a few XSL-FO processors. Not supported in HTML output.</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>lr</term>
- <listitem>
- <para>Shorthand for lr-tb.</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>rl</term>
- <listitem>
- <para>Shorthand for rl-tb.</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>tb</term>
- <listitem>
- <para>Shorthand for tb-rl.</para>
- </listitem>
- </varlistentry>
- </variablelist>
- </para>
- </refsection>
- </refentry>
- </reference>
- </part>
- <part id="fo">
- <?dbhtml dir="fo"?>
- <?dbhtml filename="index.html"?>
- <title xml:base="../fo/param.xml">FO Parameter Reference</title>
- <partintro id="fointro">
-
- <para xml:base="../fo/param.xml">This is reference documentation for all user-configurable
- parameters in the DocBook XSL FO stylesheets (for generating
- XSL-FO output destined for final print/PDF output).</para>
- </partintro>
- <reference id="admons" xml:base="../fo/param.xml"><title>Admonitions</title>
- <refentry version="5.0" id="admon.graphics">
- <refmeta>
- <refentrytitle>admon.graphics</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>admon.graphics</refname>
- <refpurpose>Use graphics in admonitions?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="admon.graphics.frag">
- <xsl:param name="admon.graphics" select="0"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If true (non-zero), admonitions are presented in an alternate style that uses
- a graphic. Default graphics are provided in the distribution.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="admon.graphics.extension">
- <refmeta>
- <refentrytitle>admon.graphics.extension</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>admon.graphics.extension</refname>
- <refpurpose>Filename extension for admonition graphics</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="admon.graphics.extension.frag">
- <xsl:param name="admon.graphics.extension">.png</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Sets the filename extension to use on admonition graphics.</para>
- <itemizedlist>
- <para>The DocBook XSL distribution provides admonition graphics in the following formats:</para>
- <listitem><para>GIF (extension: <filename class="extension">.gif</filename>)</para></listitem>
- <listitem><para>PNG (extension: <filename class="extension">.png</filename>)</para></listitem>
- <listitem><para>SVG (extension: <filename class="extension">.svg</filename>)</para></listitem>
- <listitem><para>TIFF (extension: <filename class="extension">.tif</filename>)</para></listitem>
- </itemizedlist>
- </refsection>
- </refentry>
- <refentry version="5.0" id="admon.graphics.path">
- <refmeta>
- <refentrytitle>admon.graphics.path</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>admon.graphics.path</refname>
- <refpurpose>Path to admonition graphics</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="admon.graphics.path.frag"><xsl:param name="admon.graphics.path">images/</xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Sets the path to the directory containing the admonition graphics
- (caution.png, important.png etc). This location is normally relative
- to the output html directory. See <parameter>base.dir</parameter></para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="admon.textlabel">
- <refmeta>
- <refentrytitle>admon.textlabel</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>admon.textlabel</refname>
- <refpurpose>Use text label in admonitions?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="admon.textlabel.frag">
- <xsl:param name="admon.textlabel" select="1"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If true (non-zero), admonitions are presented with a generated
- text label such as Note or Warning in the appropriate language.
- If zero, such labels are turned off, but any title child
- of the admonition element are still output.
- The default value is 1.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="admonition.title.properties">
- <refmeta>
- <refentrytitle>admonition.title.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>admonition.title.properties</refname>
- <refpurpose>To set the style for admonitions titles.</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="admonition.title.properties.frag">
- <xsl:attribute-set name="admonition.title.properties">
- <xsl:attribute name="font-size">14pt</xsl:attribute>
- <xsl:attribute name="font-weight">bold</xsl:attribute>
- <xsl:attribute name="hyphenate">false</xsl:attribute>
- <xsl:attribute name="keep-with-next.within-column">always</xsl:attribute>
- </xsl:attribute-set>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>How do you want admonitions titles styled? </para>
- <para>Set the font-size, weight etc to the style required.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="admonition.properties">
- <refmeta>
- <refentrytitle>admonition.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>admonition.properties</refname>
- <refpurpose>To set the style for admonitions.</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="admonition.properties.frag"><xsl:attribute-set name="admonition.properties"></xsl:attribute-set>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>How do you want admonitions styled? </para>
- <para>Set the font-size, weight, etc. to the style required</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="graphical.admonition.properties">
- <refmeta>
- <refentrytitle>graphical.admonition.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>graphical.admonition.properties</refname>
- <refpurpose>To add properties to the outer block of a graphical admonition.</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="graphical.admonition.properties.frag"><xsl:attribute-set name="graphical.admonition.properties">
- <xsl:attribute name="space-before.optimum">1em</xsl:attribute>
- <xsl:attribute name="space-before.minimum">0.8em</xsl:attribute>
- <xsl:attribute name="space-before.maximum">1.2em</xsl:attribute>
- <xsl:attribute name="space-after.optimum">1em</xsl:attribute>
- <xsl:attribute name="space-after.minimum">0.8em</xsl:attribute>
- <xsl:attribute name="space-after.maximum">1.2em</xsl:attribute>
- </xsl:attribute-set>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>These properties are added to the outer block containing the
- entire graphical admonition, including its title.
- It is used when the parameter
- <parameter>admon.graphics</parameter> is set to nonzero.
- Use this attribute-set to set the space above and below,
- and any indent for the whole admonition.</para>
- <para>In addition to these properties, a graphical admonition
- also applies the <parameter>admonition.title.properties</parameter>
- attribute-set to the title, and applies the
- <parameter>admonition.properties</parameter> attribute-set
- to the rest of the content.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="nongraphical.admonition.properties">
- <refmeta>
- <refentrytitle>nongraphical.admonition.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>nongraphical.admonition.properties</refname>
- <refpurpose>To add properties to the outer block of a nongraphical admonition.</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="nongraphical.admonition.properties.frag"><xsl:attribute-set name="nongraphical.admonition.properties">
- <xsl:attribute name="space-before.minimum">0.8em</xsl:attribute>
- <xsl:attribute name="space-before.optimum">1em</xsl:attribute>
- <xsl:attribute name="space-before.maximum">1.2em</xsl:attribute>
- <xsl:attribute name="margin-{$direction.align.start}">0.25in</xsl:attribute>
- <xsl:attribute name="margin-{$direction.align.end}">0.25in</xsl:attribute>
- </xsl:attribute-set>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>These properties are added to the outer block containing the
- entire nongraphical admonition, including its title.
- It is used when the parameter
- <parameter>admon.graphics</parameter> is set to zero.
- Use this attribute-set to set the space above and below,
- and any indent for the whole admonition.</para>
- <para>In addition to these properties, a nongraphical admonition
- also applies the <parameter>admonition.title.properties</parameter>
- attribute-set to the title, and the
- <parameter>admonition.properties</parameter> attribute-set
- to the rest of the content.</para>
- </refsection>
- </refentry>
- </reference><reference id="callouts" xml:base="../fo/param.xml"><title>Callouts</title>
- <refentry version="5.0" id="calloutlist.properties">
- <refmeta>
- <refentrytitle>calloutlist.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>calloutlist.properties</refname>
- <refpurpose>Properties that apply to each list-block generated by calloutlist.</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="calloutlist.properties.frag"><xsl:attribute-set name="calloutlist.properties">
- <xsl:attribute name="space-before.optimum">1em</xsl:attribute>
- <xsl:attribute name="space-before.minimum">0.8em</xsl:attribute>
- <xsl:attribute name="space-before.maximum">1.2em</xsl:attribute>
- <xsl:attribute name="provisional-distance-between-starts">2.2em</xsl:attribute>
- <xsl:attribute name="provisional-label-separation">0.2em</xsl:attribute>
- </xsl:attribute-set></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Properties that apply to the fo:list-block generated by calloutlist.
- Typically used to adjust spacing or margins of the entire list.
- Change the <literal>provisional-distance-between-starts</literal> attribute to
- change the indent of the list paragraphs relative to the
- callout numbers.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="callout.properties">
- <refmeta>
- <refentrytitle>callout.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>callout.properties</refname>
- <refpurpose>Properties that apply to the list-item generated by each callout within a calloutlist.</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="callout.properties.frag"><xsl:attribute-set name="callout.properties">
- </xsl:attribute-set></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Properties that apply to the fo:list-item generated by each callout within a calloutlist. Typically used to add spacing properties.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="callout.defaultcolumn">
- <refmeta>
- <refentrytitle>callout.defaultcolumn</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">integer</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>callout.defaultcolumn</refname>
- <refpurpose>Indicates what column callouts appear in by default</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="callout.defaultcolumn.frag">
- <xsl:param name="callout.defaultcolumn">60</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If a callout does not identify a column (for example, if it uses
- the <literal>linerange</literal> <tag class="attribute">unit</tag>),
- it will appear in the default column.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="callout.graphics">
- <refmeta>
- <refentrytitle>callout.graphics</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>callout.graphics</refname>
- <refpurpose>Use graphics for callouts?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="callout.graphics.frag">
- <xsl:param name="callout.graphics" select="1"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, callouts are presented with graphics (e.g., reverse-video
- circled numbers instead of "(1)", "(2)", etc.).
- Default graphics are provided in the distribution.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="callout.graphics.extension">
- <refmeta>
- <refentrytitle>callout.graphics.extension</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>callout.graphics.extension</refname>
- <refpurpose>Filename extension for callout graphics</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="callout.graphics.extension.frag">
- <xsl:param name="callout.graphics.extension">.svg</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Sets the filename extension to use on callout graphics. </para>
- <itemizedlist>
- <para>The Docbook XSL distribution provides callout graphics in the following formats:</para>
- <listitem><para>SVG (extension: <filename class="extension">.svg</filename>)</para></listitem>
- <listitem><para>PNG (extension: <filename class="extension">.png</filename>)</para></listitem>
- <listitem><para>GIF (extension: <filename class="extension">.gif</filename>)</para></listitem>
- </itemizedlist>
- </refsection>
- </refentry>
- <refentry version="5.0" id="callout.graphics.number.limit">
- <refmeta>
- <refentrytitle>callout.graphics.number.limit</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">integer</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>callout.graphics.number.limit</refname>
- <refpurpose>Number of the largest callout graphic</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="callout.graphics.number.limit.frag">
- <xsl:param name="callout.graphics.number.limit">30</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If <parameter>callout.graphics</parameter> is non-zero, graphics
- are used to represent callout numbers instead of plain text. The value
- of <parameter>callout.graphics.number.limit</parameter> is the largest
- number for which a graphic exists. If the callout number exceeds this
- limit, the default presentation "(plain text instead of a graphic)"
- will be used.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="callout.graphics.path">
- <refmeta>
- <refentrytitle>callout.graphics.path</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>callout.graphics.path</refname>
- <refpurpose>Path to callout graphics</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="callout.graphics.path.frag">
- <xsl:param name="callout.graphics.path">images/callouts/</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Sets the path to the directory holding the callout graphics. his
- location is normally relative to the output html directory. see
- base.dir. Always terminate the directory with / since the graphic file
- is appended to this string, hence needs the separator.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="callout.icon.size">
- <refmeta>
- <refentrytitle>callout.icon.size</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">length</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>callout.icon.size</refname>
- <refpurpose>Specifies the size of callout marker icons</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="callout.icon.size.frag">
- <xsl:param name="callout.icon.size">7pt</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Specifies the size of the callout marker icons.
- The default size is 7 points.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="callout.unicode">
- <refmeta>
- <refentrytitle>callout.unicode</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>callout.unicode</refname>
- <refpurpose>Use Unicode characters rather than images for callouts.</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="callout.unicode.frag"><xsl:param name="callout.unicode" select="0"></xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The stylesheets can use either an image of the numbers one to ten, or the single Unicode character which represents the numeral, in white on a black background. Use this to select the Unicode character option.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="callout.unicode.font">
- <refmeta>
- <refentrytitle>callout.unicode.font</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>callout.unicode.font</refname>
- <refpurpose>Specify a font for Unicode glyphs</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="callout.unicode.font.frag">
- <xsl:param name="callout.unicode.font">ZapfDingbats</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The name of the font to specify around Unicode callout glyphs.
- If set to the empty string, no font change will occur.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="callout.unicode.number.limit">
- <refmeta>
- <refentrytitle>callout.unicode.number.limit</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">integer</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>callout.unicode.number.limit</refname>
- <refpurpose>Number of the largest unicode callout character</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="callout.unicode.number.limit.frag">
- <xsl:param name="callout.unicode.number.limit">10</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If <parameter>callout.unicode</parameter>
- is non-zero, unicode characters are used to represent
- callout numbers. The value of
- <parameter>callout.unicode.number.limit</parameter>
- is
- the largest number for which a unicode character exists. If the callout number
- exceeds this limit, the default presentation "(nnn)" will always
- be used.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="callout.unicode.start.character">
- <refmeta>
- <refentrytitle>callout.unicode.start.character</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">integer</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>callout.unicode.start.character</refname>
- <refpurpose>First Unicode character to use, decimal value.</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="callout.unicode.start.character.frag">
- <xsl:param name="callout.unicode.start.character">10102</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If <parameter>callout.graphics</parameter> is zero and <parameter>callout.unicode</parameter>
- is non-zero, unicode characters are used to represent
- callout numbers. The value of
- <parameter>callout.unicode.start.character</parameter>
- is the decimal unicode value used for callout number one. Currently,
- only values 9312 and 10102 are supported in the stylesheets for this parameter.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="callouts.extension">
- <refmeta>
- <refentrytitle>callouts.extension</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>callouts.extension</refname>
- <refpurpose>Enable the callout extension</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="callouts.extension.frag">
- <xsl:param name="callouts.extension" select="1"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The callouts extension processes <tag>areaset</tag>
- elements in <tag>programlistingco</tag> and other text-based
- callout elements.
- </para>
- </refsection>
- </refentry>
- </reference><reference id="toc_index" xml:base="../fo/param.xml"><title>ToC/LoT/Index Generation</title>
- <refentry version="5.0" id="autotoc.label.separator">
- <refmeta>
- <refentrytitle>autotoc.label.separator</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>autotoc.label.separator</refname>
- <refpurpose>Separator between labels and titles in the ToC</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="autotoc.label.separator.frag">
- <xsl:param name="autotoc.label.separator">. </xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>String used to separate labels and titles in a table of contents.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="process.empty.source.toc">
- <refmeta>
- <refentrytitle>process.empty.source.toc</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>process.empty.source.toc</refname>
- <refpurpose>Generate automated TOC if <tag>toc</tag> element occurs in a source document?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="process.empty.source.toc.frag"><xsl:param name="process.empty.source.toc" select="0"></xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Specifies that if an empty <tag>toc</tag> element is found in a
- source document, an automated TOC is generated at this point in the
- document.
- <note>
- <para>Depending on what the value of the
- <parameter>generate.toc</parameter> parameter is, setting this
- parameter to <literal>1</literal> could result in generation of
- duplicate automated TOCs. So the
- <parameter>process.empty.source.toc</parameter> is primarily useful
- as an "override": by placing an empty <tag>toc</tag> in your
- document and setting this parameter to <literal>1</literal>, you can
- force a TOC to be generated even if <tag>generate.toc</tag>
- says not to.</para>
- </note>
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="process.source.toc">
- <refmeta>
- <refentrytitle>process.source.toc</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>process.source.toc</refname>
- <refpurpose>Process a non-empty <tag>toc</tag> element if it occurs in a source document?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="process.source.toc.frag"><xsl:param name="process.source.toc" select="0"></xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Specifies that the contents of a non-empty "hard-coded"
- <tag>toc</tag> element in a source document are processed to
- generate a TOC in output.
- <note>
- <para>This parameter has no effect on automated generation of
- TOCs. An automated TOC may still be generated along with the
- "hard-coded" TOC. To suppress automated TOC generation, adjust the
- value of the <parameter>generate.toc</parameter> paramameter.</para>
- <para>The <tag>process.source.toc</tag> parameter also has
- no effect if the <tag>toc</tag> element is empty; handling
- for empty <tag>toc</tag> is controlled by the
- <parameter>process.empty.source.toc</parameter> parameter.</para>
- </note>
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="generate.toc">
- <refmeta>
- <refentrytitle>generate.toc</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">table</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>generate.toc</refname>
- <refpurpose>Control generation of ToCs and LoTs</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="generate.toc.frag">
- <xsl:param name="generate.toc">
- /appendix toc,title
- article/appendix nop
- /article toc,title
- book toc,title,figure,table,example,equation
- /chapter toc,title
- part toc,title
- /preface toc,title
- reference toc,title
- /sect1 toc
- /sect2 toc
- /sect3 toc
- /sect4 toc
- /sect5 toc
- /section toc
- set toc,title
- </xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>This parameter has a structured value. It is a table of space-delimited
- path/value pairs. Each path identifies some element in the source document
- using a restricted subset of XPath (only the implicit child axis, no wildcards,
- no predicates). Paths can be either relative or absolute.</para>
- <para>When processing a particular element, the stylesheets consult this table to
- determine if a ToC (or LoT(s)) should be generated.</para>
- <para>For example, consider the entry:</para>
- <screen>book toc,figure</screen>
- <para>This indicates that whenever a <tag>book</tag> is formatted, a
- Table Of Contents and a List of Figures should be generated. Similarly,</para>
- <screen>/chapter toc</screen>
- <para>indicates that whenever a document <emphasis>that has a root
- of</emphasis> <tag>chapter</tag> is formatted, a Table of
- Contents should be generated. The entry <literal>chapter</literal> would match
- all chapters, but <literal>/chapter</literal> matches only <tag>chapter</tag>
- document elements.</para>
- <para>Generally, the longest match wins. So, for example, if you want to distinguish
- articles in books from articles in parts, you could use these two entries:</para>
- <screen>book/article toc,figure
- part/article toc</screen>
- <para>Note that an article in a part can never match a <literal>book/article</literal>,
- so if you want nothing to be generated for articles in parts, you can simply leave
- that rule out.</para>
- <para>If you want to leave the rule in, to make it explicit that you're turning
- something off, use the value <quote>nop</quote>. For example, the following
- entry disables ToCs and LoTs for articles:</para>
- <screen>article nop</screen>
- <para>Do not simply leave the word <quote>article</quote> in the file
- without a matching value. That'd be just begging the silly little
- path/value parser to get confused.</para>
- <para>Section ToCs are further controlled by the
- <parameter>generate.section.toc.level</parameter> parameter.
- For a given section level to have a ToC, it must have both an entry in
- <parameter>generate.toc</parameter> and be within the range enabled by
- <parameter>generate.section.toc.level</parameter>.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="generate.index">
- <refmeta>
- <refentrytitle>generate.index</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>generate.index</refname>
- <refpurpose>Do you want an index?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="generate.index.frag"><xsl:param name="generate.index" select="1"></xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Specify if an index should be generated. </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="make.index.markup">
- <refmeta>
- <refentrytitle>make.index.markup</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>make.index.markup</refname>
- <refpurpose>Generate XML index markup in the index?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="make.index.markup.frag">
- <xsl:param name="make.index.markup" select="0"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>This parameter enables a very neat trick for getting properly
- merged, collated back-of-the-book indexes. G. Ken Holman suggested
- this trick at Extreme Markup Languages 2002 and I'm indebted to him
- for it.</para>
- <para>Jeni Tennison's excellent code in
- <filename>autoidx.xsl</filename> does a great job of merging and
- sorting <tag>indexterm</tag>s in the document and building a
- back-of-the-book index. However, there's one thing that it cannot
- reasonably be expected to do: merge page numbers into ranges. (I would
- not have thought that it could collate and suppress duplicate page
- numbers, but in fact it appears to manage that task somehow.)</para>
- <para>Ken's trick is to produce a document in which the index at the
- back of the book is <quote>displayed</quote> in XML. Because the index
- is generated by the FO processor, all of the page numbers have been resolved.
- It's a bit hard to explain, but what it boils down to is that instead of having
- an index at the back of the book that looks like this:</para>
- <blockquote>
- <formalpara><info><title>A</title></info>
- <para>ap1, 1, 2, 3</para>
- </formalpara>
- </blockquote>
- <para>you get one that looks like this:</para>
- <blockquote>
- <programlisting><indexdiv>A</indexdiv>
- <indexentry>
- <primaryie>ap1</primaryie>,
- <phrase role="pageno">1</phrase>,
- <phrase role="pageno">2</phrase>,
- <phrase role="pageno">3</phrase>
- </indexentry></programlisting>
- </blockquote>
- <para>After building a PDF file with this sort of odd-looking index, you can
- extract the text from the PDF file and the result is a proper index expressed in
- XML.</para>
- <para>Now you have data that's amenable to processing and a simple Perl script
- (such as <filename>fo/pdf2index</filename>) can
- merge page ranges and generate a proper index.</para>
- <para>Finally, reformat your original document using this literal index instead of
- an automatically generated one and <quote>bingo</quote>!</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="index.method">
- <refmeta>
- <refentrytitle>index.method</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">list</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">basic</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">kosek</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">kimber</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>index.method</refname>
- <refpurpose>Select method used to group index entries in an index</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="index.method.frag">
- <xsl:param name="index.method">basic</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>This parameter lets you select which method to use for sorting and grouping
- index entries in an index.
- Indexes in Latin-based languages that have accented characters typically
- sort together accented words and unaccented words.
- Thus <quote>Á</quote> (U+00C1 LATIN CAPITAL LETTER A WITH ACUTE) would sort together
- with <quote>A</quote> (U+0041 LATIN CAPITAL LETTER A), so both would appear in the <quote>A</quote>
- section of the index.
- Languages using other alphabets (such as Russian, which is written in the Cyrillic alphabet)
- and languages using ideographic chararacters (such as Japanese)
- require grouping specific to the languages and alphabets.
- </para>
- <para>The default indexing method is limited.
- It can group accented characters in Latin-based languages only.
- It cannot handle non-Latin alphabets or ideographic languages.
- The other indexing methods require extensions of one type or
- another, and do not work with
- all XSLT processors, which is why they are not used by default.</para>
- <para>The three choices for indexing method are:</para>
- <variablelist>
- <varlistentry>
- <term><literal>basic</literal></term>
- <listitem>
- <para>
- (default) Sort and groups words based only on the Latin alphabet.
- Words with accented Latin letters will group and sort with
- their respective primary letter, but
- words in non-Latin alphabets will be
- put in the <quote>Symbols</quote> section of the index.
- </para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term><literal>kosek</literal></term>
- <listitem>
- <para>
- This method sorts and groups words based on letter groups configured in
- the DocBook locale file for the given language.
- See, for example, the French locale file <filename>common/fr.xml</filename>.
- This method requires that the XSLT processor
- supports the EXSLT extensions (most do).
- It also requires support for using
- user-defined functions in xsl:key (xsltproc does not).
- </para>
- <para>This method is suitable for any language for which you can
- list all the individual characters that should appear
- in each letter group in an index.
- It is probably not practical to use it for ideographic languages
- such as Chinese that have hundreds or thousands of characters.
- </para>
- <para>To use the kosek method, you must:</para>
- <orderedlist>
- <listitem>
- <para>Use a processor that supports its extensions, such as
- Saxon 6 or Xalan (xsltproc and Saxon 8 do not).
- </para>
- </listitem>
- <listitem>
- <para>Set the index.method parameter's value to <quote>kosek</quote>.
- </para>
- </listitem>
- <listitem>
- <para>Import the appropriate index extensions stylesheet module
- <filename>fo/autoidx-kosek.xsl</filename> or
- <filename>html/autoidx-kosek.xsl</filename> into your
- customization.
- </para>
- </listitem>
- </orderedlist>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term><literal>kimber</literal></term>
- <listitem>
- <para>
- This method uses extensions to the Saxon processor to implement
- sophisticated indexing processes. It uses its own
- configuration file, which can include information for any number of
- languages. Each language's configuration can group
- words using one of two processes. In the
- enumerated process similar to that used in the kosek method,
- you indicate the groupings character-by-character.
- In the between-key process, you specify the
- break-points in the sort order that should start a new group.
- The latter configuration is useful for ideographic languages
- such as Chinese, Japanese, and Korean.
- You can also define your own collation algorithms and how you
- want mixed Latin-alphabet words sorted.</para>
- <itemizedlist>
- <listitem>
- <para>For a whitepaper describing the extensions, see:
- <link xlink:href="http://www.innodata-isogen.com/knowledge_center/white_papers/back_of_book_for_xsl_fo.pdf">http://www.innodata-isogen.com/knowledge_center/white_papers/back_of_book_for_xsl_fo.pdf</link>.
- </para>
- </listitem>
- <listitem>
- <para>To download the extension library, see
- <link xlink:href="http://www.innodata-isogen.com/knowledge_center/tools_downloads/i18nsupport">http://www.innodata-isogen.com/knowledge_center/tools_downloads/i18nsupport</link>.
- </para>
- </listitem>
- </itemizedlist>
- <para>To use the kimber method, you must:</para>
- <orderedlist>
- <listitem>
- <para>Use Saxon (version 6 or 8) as your XSLT processor.
- </para>
- </listitem>
- <listitem>
- <para>Install and configure the Innodata Isogen library, using
- the documentation that comes with it.
- </para>
- </listitem>
- <listitem>
- <para>Set the index.method parameter's value to <quote>kimber</quote>.
- </para>
- </listitem>
- <listitem>
- <para>Import the appropriate index extensions stylesheet module
- <filename>fo/autoidx-kimber.xsl</filename> or
- <filename>html/autoidx-kimber.xsl</filename> into your
- customization.
- </para>
- </listitem>
- </orderedlist>
- </listitem>
- </varlistentry>
- </variablelist>
- </refsection>
- </refentry>
- <refentry version="5.0" id="index.on.type">
- <refmeta>
- <refentrytitle>index.on.type</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>index.on.type</refname>
- <refpurpose>Select indexterms based on <tag class="attribute">type</tag>
- attribute value</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="index.on.type.frag">
- <xsl:param name="index.on.type" select="0"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>
- If non-zero,
- then an <tag>index</tag> element that has a
- <tag class="attribute">type</tag> attribute
- value will contain only those <tag>indexterm</tag>
- elements with a matching <tag class="attribute">type</tag> attribute value.
- If an <tag>index</tag> has no <tag class="attribute">type</tag>
- attribute or it is blank, then the index will contain
- all <tag>indexterm</tag>s in the current scope.
- </para>
- <para>
- If <literal>index.on.type</literal> is zero, then the
- <tag class="attribute">type</tag> attribute has no effect
- on selecting indexterms for an index.
- </para>
- <para>For those using DocBook version 4.2 or earlier,
- the <tag class="attribute">type</tag> attribute is not available
- for index terms. However, you can achieve the same
- effect by using the <tag class="attribute">role</tag> attribute
- in the same manner on <tag>indexterm</tag>
- and <tag>index</tag>, and setting the stylesheet parameter
- <parameter>index.on.role</parameter> to a nonzero value.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="index.on.role">
- <refmeta>
- <refentrytitle>index.on.role</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>index.on.role</refname>
- <refpurpose>Select indexterms based on <tag class="attribute">role</tag> value</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="index.on.role.frag">
- <xsl:param name="index.on.role" select="0"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>
- If non-zero,
- then an <tag>index</tag> element that has a
- <tag class="attribute">role</tag> attribute
- value will contain only those <tag>indexterm</tag>
- elements with a matching role value.
- If an <tag>index</tag> has no <tag class="attribute">role</tag>
- attribute or it is blank, then the index will contain
- all <tag>indexterm</tag>s in the current scope.
- </para>
- <para>
- If <literal>index.on.role</literal> is zero, then the
- <tag class="attribute">role</tag> attribute has no effect
- on selecting indexterms for an index.
- </para>
- <para>If you are using DocBook version 4.3 or later, you should
- use the <tag class="attribute">type</tag> attribute instead of <tag class="attribute">role</tag>
- on <tag>indexterm</tag> and <tag>index</tag>,
- and set the <parameter>index.on.type</parameter> to a nonzero
- value.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="index.preferred.page.properties">
- <refmeta>
- <refentrytitle>index.preferred.page.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>index.preferred.page.properties</refname>
- <refpurpose>Properties used to emphasize page number references for
- significant index terms</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="index.preferred.page.properties.frag">
- <xsl:attribute-set name="index.preferred.page.properties">
- <xsl:attribute name="font-weight">bold</xsl:attribute>
- </xsl:attribute-set>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Properties used to emphasize page number references for
- significant index terms (<tag class="attribute">significance</tag>=<tag class="attvalue">preferred</tag>). Currently works only with
- XEP.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="index.entry.properties">
- <refmeta>
- <refentrytitle>index.entry.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>index.entry.properties</refname>
- <refpurpose>Properties applied to the formatted entries
- in an index</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="index.entry.properties.frag">
- <xsl:attribute-set name="index.entry.properties">
- <xsl:attribute name="start-indent">0pt</xsl:attribute>
- </xsl:attribute-set>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>This attribute set is applied to the block containing
- the entries in a letter division in an index. It can be used to set the
- font-size, font-family, and other inheritable properties that will be
- applied to all index entries.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="index.div.title.properties">
- <refmeta>
- <refentrytitle>index.div.title.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>index.div.title.properties</refname>
- <refpurpose>Properties associated with the letter headings in an
- index</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="index.div.title.properties.frag">
- <xsl:attribute-set name="index.div.title.properties">
- <xsl:attribute name="margin-{$direction.align.start}">0pt</xsl:attribute>
- <xsl:attribute name="font-size">14.4pt</xsl:attribute>
- <xsl:attribute name="font-family"><xsl:value-of select="$title.fontset"></xsl:value-of></xsl:attribute>
- <xsl:attribute name="font-weight">bold</xsl:attribute>
- <xsl:attribute name="keep-with-next.within-column">always</xsl:attribute>
- <xsl:attribute name="space-before.optimum"><xsl:value-of select="concat($body.font.master,'pt')"></xsl:value-of></xsl:attribute>
- <xsl:attribute name="space-before.minimum"><xsl:value-of select="concat($body.font.master,'pt * 0.8')"></xsl:value-of></xsl:attribute>
- <xsl:attribute name="space-before.maximum"><xsl:value-of select="concat($body.font.master,'pt * 1.2')"></xsl:value-of></xsl:attribute>
- <xsl:attribute name="start-indent">0pt</xsl:attribute>
- </xsl:attribute-set>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>This attribute set is used on the letter headings that separate
- the divisions in an index.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="index.number.separator">
- <refmeta>
- <refentrytitle>index.number.separator</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>index.number.separator</refname>
- <refpurpose>Override for punctuation separating page numbers in index</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="index.number.separator.frag">
- <xsl:param name="index.number.separator"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>This parameter permits you to override the text to insert between
- page references in a formatted index entry. Typically
- that would be a comma and a space.
- </para>
- <para>Because this text may be locale dependent,
- this parameter's value is normally taken from a gentext
- template named 'number-separator' in the
- context 'index' in the stylesheet
- locale file for the language
- of the current document.
- This parameter can be used to override the gentext string,
- and would typically be used on the command line.
- This parameter would apply to all languages.
- </para>
- <para>So this text string can be customized in two ways.
- You can reset the default gentext string using
- the <parameter>local.l10n.xml</parameter> parameter, or you can
- override the gentext with the content of this parameter.
- The content can be a simple string, or it can be
- something more complex such as a call-template.
- </para>
- <para>In HTML index output, section title references are used instead of
- page number references. This punctuation appears between
- such section titles in an HTML index.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="index.range.separator">
- <refmeta>
- <refentrytitle>index.range.separator</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>index.range.separator</refname>
- <refpurpose>Override for punctuation separating the two numbers
- in a page range in index</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="index.range.separator.frag">
- <xsl:param name="index.range.separator"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>This parameter permits you
- to override the text to insert between
- the two numbers of a page range in an index.
- This parameter is only used by those XSL-FO processors
- that support an extension for generating such page ranges
- (such as XEP).</para>
- <para>Because this text may be locale dependent,
- this parameter's value is normally taken from a gentext
- template named 'range-separator' in the
- context 'index' in the stylesheet
- locale file for the language
- of the current document.
- This parameter can be used to override the gentext string,
- and would typically be used on the command line.
- This parameter would apply to all languages.
- </para>
- <para>So this text string can be customized in two ways.
- You can reset the default gentext string using
- the <parameter>local.l10n.xml</parameter> parameter, or you can
- override the gentext with the content of this parameter.
- The content can be a simple string, or it can be
- something more complex such as a call-template.
- </para>
- <para>In HTML index output, section title references are used instead of
- page number references. So there are no page ranges
- and this parameter has no effect.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="index.term.separator">
- <refmeta>
- <refentrytitle>index.term.separator</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>index.term.separator</refname>
- <refpurpose>Override for punctuation separating an index term
- from its list of page references in an index</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="index.term.separator.frag">
- <xsl:param name="index.term.separator"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>This parameter permits you to override
- the text to insert between
- the end of an index term and its list of page references.
- Typically that might be a comma and a space.
- </para>
- <para>Because this text may be locale dependent,
- this parameter's value is normally taken from a gentext
- template named 'term-separator' in the
- context 'index' in the stylesheet
- locale file for the language
- of the current document.
- This parameter can be used to override the gentext string,
- and would typically be used on the command line.
- This parameter would apply to all languages.
- </para>
- <para>So this text string can be customized in two ways.
- You can reset the default gentext string using
- the <parameter>local.l10n.xml</parameter> parameter, or you can
- fill in the content for this normally empty
- override parameter.
- The content can be a simple string, or it can be
- something more complex such as a call-template.
- For fo output, it could be an <tag>fo:leader</tag>
- element to provide space of a specific length, or a dot leader.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="xep.index.item.properties">
- <refmeta>
- <refentrytitle>xep.index.item.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>xep.index.item.properties</refname>
- <refpurpose>Properties associated with XEP index-items</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="xep.index.item.properties.frag">
- <xsl:attribute-set name="xep.index.item.properties" use-attribute-sets="index.page.number.properties">
- <xsl:attribute name="merge-subsequent-page-numbers">true</xsl:attribute>
- <xsl:attribute name="link-back">true</xsl:attribute>
- </xsl:attribute-set>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Properties associated with XEP index-items, which generate
- page numbers in an index processed by XEP. For more info see
- the XEP documentation section "Indexes" in
- <uri xlink:href="http://www.renderx.com/reference.html#Indexes">http://www.renderx.com/reference.html#Indexes</uri>.</para>
- <para>This attribute-set also adds by default any properties from the
- <tag class="attribute">index.page.number.properties</tag>
- attribute-set.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="toc.section.depth">
- <refmeta>
- <refentrytitle>toc.section.depth</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">integer</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>toc.section.depth</refname>
- <refpurpose>How deep should recursive <tag>section</tag>s appear
- in the TOC?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="toc.section.depth.frag"><xsl:param name="toc.section.depth">2</xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Specifies the depth to which recursive sections should appear in the
- TOC.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="toc.max.depth">
- <refmeta>
- <refentrytitle>toc.max.depth</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">integer</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>toc.max.depth</refname>
- <refpurpose>How many levels should be created for each TOC?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="toc.max.depth.frag"><xsl:param name="toc.max.depth">8</xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Specifies the maximal depth of TOC on all levels.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="toc.indent.width">
- <refmeta>
- <refentrytitle>toc.indent.width</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">float</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>toc.indent.width</refname>
- <refpurpose>Amount of indentation for TOC entries</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="toc.indent.width.frag">
- <xsl:param name="toc.indent.width">24</xsl:param>
- <!-- inconsistant point specification? -->
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Specifies, in points, the distance by which each level of the
- TOC is indented from its parent.</para>
- <para>This value is expressed in points, without
- a unit (in other words, it is a bare number). Using a bare number allows the stylesheet
- to perform calculations that would otherwise have to be performed by the FO processor
- because not all processors support expressions.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="toc.line.properties">
- <refmeta>
- <refentrytitle>toc.line.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>toc.line.properties</refname>
- <refpurpose>Properties for lines in ToCs and LoTs</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="toc.line.properties.frag">
- <xsl:attribute-set name="toc.line.properties">
- <xsl:attribute name="text-align-last">justify</xsl:attribute>
- <xsl:attribute name="text-align">start</xsl:attribute>
- <xsl:attribute name="end-indent"><xsl:value-of select="concat($toc.indent.width, 'pt')"></xsl:value-of></xsl:attribute>
- <xsl:attribute name="last-line-end-indent"><xsl:value-of select="concat('-', $toc.indent.width, 'pt')"></xsl:value-of></xsl:attribute>
- </xsl:attribute-set>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Properties which are applied to every line in ToC (or LoT). You can
- modify them in order to change appearance of all, or some lines. For
- example, in order to make lines for chapters bold, specify the
- following in your customization layer:</para>
- <programlisting><xsl:attribute-set name="toc.line.properties">
- <xsl:attribute name="font-weight">
- <xsl:choose>
- <xsl:when test="self::chapter">bold</xsl:when>
- <xsl:otherwise>normal</xsl:otherwise>
- </xsl:choose>
- </xsl:attribute>
- </xsl:attribute-set></programlisting>
- </refsection>
- </refentry>
- <refentry version="5.0" id="toc.margin.properties">
- <refmeta>
- <refentrytitle>toc.margin.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>toc.margin.properties</refname>
- <refpurpose>Margin properties used on Tables of Contents</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="toc.margin.properties.frag">
- <xsl:attribute-set name="toc.margin.properties">
- <xsl:attribute name="space-before.minimum">0.5em</xsl:attribute>
- <xsl:attribute name="space-before.optimum">1em</xsl:attribute>
- <xsl:attribute name="space-before.maximum">2em</xsl:attribute>
- <xsl:attribute name="space-after.minimum">0.5em</xsl:attribute>
- <xsl:attribute name="space-after.optimum">1em</xsl:attribute>
- <xsl:attribute name="space-after.maximum">2em</xsl:attribute>
- </xsl:attribute-set>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>This attribute set is used on Tables of Contents. These attributes are set
- on the wrapper that surrounds the ToC block, not on each individual lines.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="bridgehead.in.toc">
- <refmeta>
- <refentrytitle>bridgehead.in.toc</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>bridgehead.in.toc</refname>
- <refpurpose>Should bridgehead elements appear in the TOC?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="bridgehead.in.toc.frag"><xsl:param name="bridgehead.in.toc" select="0"></xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, <tag>bridgehead</tag>s appear in the TOC. Note that
- this option is not fully supported and may be removed in a future
- version of the stylesheets.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="simplesect.in.toc">
- <refmeta>
- <refentrytitle>simplesect.in.toc</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>simplesect.in.toc</refname>
- <refpurpose>Should <tag>simplesect</tag> elements appear in the TOC?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="simplesect.in.toc.frag"><xsl:param name="simplesect.in.toc" select="0"></xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, <tag>simplesect</tag>s will be included in the TOC.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="generate.section.toc.level">
- <refmeta>
- <refentrytitle>generate.section.toc.level</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">integer</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>generate.section.toc.level</refname>
- <refpurpose>Control depth of TOC generation in sections</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="generate.section.toc.level.frag">
- <xsl:param name="generate.section.toc.level" select="0"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The <parameter>generate.section.toc.level</parameter> parameter
- controls the depth of <tag>section</tag> in which TOCs will be generated. Note
- that this is related to, but not the same as
- <parameter>toc.section.depth</parameter>, which controls the depth to
- which TOC entries will be generated in a given TOC.</para>
- <para>If, for example, <parameter>generate.section.toc.level</parameter>
- is <literal>3</literal>, TOCs will be generated in first, second, and third
- level sections, but not in fourth level sections.
- </para>
- </refsection>
- </refentry>
- </reference><reference id="fo_ext" xml:base="../fo/param.xml"><title>Processor Extensions</title>
- <refentry version="5.0" id="arbortext.extensions">
- <refmeta>
- <refentrytitle>arbortext.extensions</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>arbortext.extensions</refname>
- <refpurpose>Enable Arbortext extensions?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="arbortext.extensions.frag"><xsl:param name="arbortext.extensions" select="0"></xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero,
- <link xlink:href="http://www.arbortext.com/">Arbortext</link>
- extensions will be used.
- </para>
- <para>This parameter can also affect which graphics file formats
- are supported</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="axf.extensions">
- <refmeta>
- <refentrytitle>axf.extensions</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>axf.extensions</refname>
- <refpurpose>Enable XSL Formatter extensions?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="axf.extensions.frag">
- <xsl:param name="axf.extensions" select="0"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero,
- <link xlink:href="http://www.antennahouse.com/">XSL Formatter</link>
- extensions will be used. XSL Formatter extensions consists of PDF bookmarks,
- document information and better index processing.</para>
- <para>This parameter can also affect which graphics file formats
- are supported</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="fop.extensions">
- <refmeta>
- <refentrytitle>fop.extensions</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>fop.extensions</refname>
- <refpurpose>Enable extensions for FOP version 0.20.5 and earlier</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="fop.extensions.frag"><xsl:param name="fop.extensions" select="0"></xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, extensions intended for
- <link xlink:href="http://xml.apache.org/fop/">FOP</link>
- version 0.20.5 and earlier will be used.
- At present, this consists of PDF bookmarks.
- </para>
- <para>This parameter can also affect which graphics file formats
- are supported.</para>
- <para>If you are using a version of FOP beyond
- version 0.20.5, then use the <parameter>fop1.extensions</parameter> parameter
- instead.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="fop1.extensions">
- <refmeta>
- <refentrytitle>fop1.extensions</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>fop1.extensions</refname>
- <refpurpose>Enable extensions for FOP version 0.90 and later</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="fop1.extensions.frag"><xsl:param name="fop1.extensions" select="0"></xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, extensions for
- <link xlink:href="http://xml.apache.org/fop/">FOP</link>
- version 0.90 and later will be used.
- </para>
- <para>This parameter can also affect which graphics file formats
- are supported.</para>
- <para>The original <parameter>fop.extensions</parameter> parameter
- should still be used for FOP version 0.20.5 and earlier.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="passivetex.extensions">
- <refmeta>
- <refentrytitle>passivetex.extensions</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>passivetex.extensions</refname>
- <refpurpose>Enable PassiveTeX extensions?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="passivetex.extensions.frag"><xsl:param name="passivetex.extensions" select="0"></xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <important><para>The PassiveTeX XSL-FO processor is
- no longer supported by DocBook XSL, beginning with version 1.78.</para></important>
- <para>PassiveTeX was never a complete implementation of
- XSL-FO, and development has ceased. Setting this parameter will
- have no effect on the output.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="tex.math.in.alt">
- <refmeta>
- <refentrytitle>tex.math.in.alt</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">list</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">plain</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">latex</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>tex.math.in.alt</refname>
- <refpurpose>TeX notation used for equations</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="tex.math.in.alt.frag">
- <xsl:param name="tex.math.in.alt"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If you want type math directly in TeX notation in equations,
- this parameter specifies notation used. Currently are supported two
- values -- <literal>plain</literal> and <literal>latex</literal>. Empty
- value means that you are not using TeX math at all.</para>
- <para>Preferred way for including TeX alternative of math is inside of
- <tag>textobject</tag> element. Eg.:</para>
- <programlisting><inlineequation>
- <inlinemediaobject>
- <imageobject>
- <imagedata fileref="eq1.gif"/>
- </imageobject>
- <textobject><phrase>E=mc squared</phrase></textobject>
- <textobject role="tex"><phrase>E=mc^2</phrase></textobject>
- </inlinemediaobject>
- </inlineequation></programlisting>
- <para>If you are using <tag>graphic</tag> element, you can
- store TeX inside <tag>alt</tag> element:</para>
- <programlisting><inlineequation>
- <alt role="tex">a^2+b^2=c^2</alt>
- <graphic fileref="a2b2c2.gif"/>
- </inlineequation></programlisting>
- <para>If you want use this feature, you should process your FO with
- PassiveTeX, which only supports TeX math notation. When calling
- stylsheet, don't forget to specify also
- passivetex.extensions=1.</para>
- <para>If you want equations in HTML, just process generated file
- <filename>tex-math-equations.tex</filename> by TeX or LaTeX. Then run
- dvi2bitmap program on result DVI file. You will get images for
- equations in your document.</para>
- <warning>
- <para>This feature is useful for print/PDF output only if you
- use the obsolete and now unsupported PassiveTeX XSL-FO
- engine.</para>
- </warning>
- </refsection>
- <refsection><info><title>Related Parameters</title></info>
- <para><parameter>tex.math.delims</parameter>,
- <parameter>passivetex.extensions</parameter>,
- <parameter>tex.math.file</parameter></para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="tex.math.delims">
- <refmeta>
- <refentrytitle>tex.math.delims</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>tex.math.delims</refname>
- <refpurpose>Should equations output for processing by TeX be
- surrounded by math mode delimiters?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="tex.math.delims.frag">
- <xsl:param name="tex.math.delims" select="1"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>For compatibility with DSSSL based DBTeXMath from Allin Cottrell
- you should set this parameter to 0.</para>
- <warning>
- <para>This feature is useful for print/PDF output only if you
- use the obsolete and now unsupported PassiveTeX XSL-FO
- engine.</para>
- </warning>
- </refsection>
- <refsection><info><title>Related Parameters</title></info>
- <para><parameter>tex.math.in.alt</parameter>,
- <parameter>passivetex.extensions</parameter></para>
- </refsection>
- <refsection><info><title>See Also</title></info>
- <para>You can also use the <tag class="xmlpi">dbtex delims</tag> processing
- instruction to control whether delimiters are output.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="xep.extensions">
- <refmeta>
- <refentrytitle>xep.extensions</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>xep.extensions</refname>
- <refpurpose>Enable XEP extensions?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="xep.extensions.frag"><xsl:param name="xep.extensions" select="0"></xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero,
- <link xlink:href="http://www.renderx.com/">XEP</link>
- extensions will be used. XEP extensions consists of PDF bookmarks,
- document information and better index processing.
- </para>
- <para>This parameter can also affect which graphics file formats
- are supported</para>
- </refsection>
- </refentry>
- </reference><reference id="dbk_ext" xml:base="../fo/param.xml"><title>Stylesheet Extensions</title>
- <refentry version="5.0" id="linenumbering.everyNth">
- <refmeta>
- <refentrytitle>linenumbering.everyNth</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">integer</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>linenumbering.everyNth</refname>
- <refpurpose>Indicate which lines should be numbered</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="linenumbering.everyNth.frag">
- <xsl:param name="linenumbering.everyNth">5</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If line numbering is enabled, everyNth line will be
- numbered. Note that numbering is one based, not zero based.
- </para>
- <para>See also <parameter>linenumbering.extension</parameter>,
- <parameter>linenumbering.separator</parameter>,
- <parameter>linenumbering.width</parameter> and
- <parameter>use.extensions</parameter></para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="linenumbering.extension">
- <refmeta>
- <refentrytitle>linenumbering.extension</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>linenumbering.extension</refname>
- <refpurpose>Enable the line numbering extension</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="linenumbering.extension.frag">
- <xsl:param name="linenumbering.extension" select="1"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, verbatim environments (<tag>address</tag>, <tag>literallayout</tag>,
- <tag>programlisting</tag>, <tag>screen</tag>, <tag>synopsis</tag>) that specify line numbering will
- have line numbers.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="linenumbering.separator">
- <refmeta>
- <refentrytitle>linenumbering.separator</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>linenumbering.separator</refname>
- <refpurpose>Specify a separator between line numbers and lines</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="linenumbering.separator.frag">
- <xsl:param name="linenumbering.separator"><xsl:text> </xsl:text></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The separator is inserted between line numbers and lines in the
- verbatim environment. The default value is a single white space.
- Note the interaction with <parameter>linenumbering.width</parameter>
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="linenumbering.width">
- <refmeta>
- <refentrytitle>linenumbering.width</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">integer</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>linenumbering.width</refname>
- <refpurpose>Indicates the width of line numbers</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="linenumbering.width.frag">
- <xsl:param name="linenumbering.width">3</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If line numbering is enabled, line numbers will appear right
- justified in a field "width" characters wide.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="tablecolumns.extension">
- <refmeta>
- <refentrytitle>tablecolumns.extension</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>tablecolumns.extension</refname>
- <refpurpose>Enable the table columns extension function</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="tablecolumns.extension.frag">
- <xsl:param name="tablecolumns.extension" select="1"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The table columns extension function adjusts the widths of table
- columns in the HTML result to more accurately reflect the specifications
- in the CALS table.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="textinsert.extension">
- <refmeta>
- <refentrytitle>textinsert.extension</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>textinsert.extension</refname>
- <refpurpose>Enables the textinsert extension element</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="textinsert.extension.frag">
- <xsl:param name="textinsert.extension" select="1"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The textinsert extension element inserts the contents of
- a file into the result tree (as text).</para>
- <note>
- <para>To use the textinsert extension element, you must use
- either Saxon or Xalan as your XSLT processor (it doesn’t
- work with xsltproc), along with either the DocBook Saxon
- extensions or DocBook Xalan extensions (for more
- information about those extensions, see <link role="tcg" xlink:href="InstallingAProcessor.html#SaxonExtensions">DocBook Saxon Extensions</link> and <link role="tcg" xlink:href="InstallingAProcessor.html#XalanExtensions">DocBook Xalan Extensions</link>), and you must set both
- the <parameter>use.extensions</parameter> and
- <parameter>textinsert.extension</parameter> parameters to
- <literal>1</literal>.</para>
- <para>As an alternative to using the textinsert element,
- consider using an Xinclude element with the
- <literal>parse="text"</literal> attribute and value
- specified, as detailed in <link role="tcg" xlink:href="ExternalCode.html#XIncludeCode">Using XInclude for text inclusions</link>.</para>
- </note>
- </refsection>
- <refsection><info><title>See Also</title></info>
- <para>You can also use the <tag class="xmlpi">dbhtml-include href</tag> processing
- instruction to insert external files — both files containing
- plain text and files with markup content (including HTML
- content).</para>
- </refsection>
- <refsection><info><title>More information</title></info>
- <para>For how-to documentation on inserting contents of
- external code files and other text files into output, see
- <link role="tcg" xlink:href="ExternalCode.html">External code files</link>.</para>
- <para>For guidelines on inserting contents of
- HTML files into output, see <link role="tcg" xlink:href="InsertExtHtml.html">Inserting external HTML code</link>.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="textdata.default.encoding">
- <refmeta>
- <refentrytitle>textdata.default.encoding</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>textdata.default.encoding</refname>
- <refpurpose>Default encoding of external text files which are included
- using textdata element</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="textdata.default.encoding.frag">
- <xsl:param name="textdata.default.encoding"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Specifies the encoding of any external text files included using
- <tag>textdata</tag> element. This value is used only when you do
- not specify encoding by the appropriate attribute
- directly on textdata. An empty string is interpreted as the system
- default encoding.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="use.extensions">
- <refmeta>
- <refentrytitle>use.extensions</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>use.extensions</refname>
- <refpurpose>Enable extensions</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="use.extensions.frag">
- <xsl:param name="use.extensions" select="0"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, extensions may be used. Each extension is
- further controlled by its own parameter. But if
- <parameter>use.extensions</parameter> is zero, no extensions will
- be used.
- </para>
- </refsection>
- </refentry>
- </reference><reference id="labels" xml:base="../fo/param.xml"><title>Automatic labelling</title>
- <refentry version="5.0" id="appendix.autolabel">
- <refmeta>
- <refentrytitle>appendix.autolabel</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">list</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">0<alt>none</alt></refmiscinfo>
- <refmiscinfo class="other" otherclass="value">1<alt>1,2,3...</alt></refmiscinfo>
- <refmiscinfo class="other" otherclass="value">A<alt>A,B,C...</alt></refmiscinfo>
- <refmiscinfo class="other" otherclass="value">a<alt>a,b,c...</alt></refmiscinfo>
- <refmiscinfo class="other" otherclass="value">i<alt>i,ii,iii...</alt></refmiscinfo>
- <refmiscinfo class="other" otherclass="value">I<alt>I,II,III...</alt></refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>appendix.autolabel</refname>
- <refpurpose>Specifies the labeling format for Appendix titles</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="appendix.autolabel.frag">
- <xsl:param name="appendix.autolabel">A</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, then appendices will be numbered using the
- parameter value as the number format if the value matches one of the
- following:
- </para>
- <variablelist>
- <varlistentry>
- <term>1 or arabic</term>
- <listitem>
- <para>Arabic numeration (1, 2, 3 ...).</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>A or upperalpha</term>
- <listitem>
- <para>Uppercase letter numeration (A, B, C ...).</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>a or loweralpha</term>
- <listitem>
- <para>Lowercase letter numeration (a, b, c ...).</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>I or upperroman</term>
- <listitem>
- <para>Uppercase roman numeration (I, II, III ...).</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>i or lowerroman</term>
- <listitem>
- <para>Lowercase roman letter numeration (i, ii, iii ...).</para>
- </listitem>
- </varlistentry>
- </variablelist>
- <para>Any nonzero value other than the above will generate
- the default number format (upperalpha).
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="chapter.autolabel">
- <refmeta>
- <refentrytitle>chapter.autolabel</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">list</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">0<alt>none</alt></refmiscinfo>
- <refmiscinfo class="other" otherclass="value">1<alt>1,2,3...</alt></refmiscinfo>
- <refmiscinfo class="other" otherclass="value">A<alt>A,B,C...</alt></refmiscinfo>
- <refmiscinfo class="other" otherclass="value">a<alt>a,b,c...</alt></refmiscinfo>
- <refmiscinfo class="other" otherclass="value">i<alt>i,ii,iii...</alt></refmiscinfo>
- <refmiscinfo class="other" otherclass="value">I<alt>I,II,III...</alt></refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>chapter.autolabel</refname>
- <refpurpose>Specifies the labeling format for Chapter titles</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="chapter.autolabel.frag">
- <xsl:param name="chapter.autolabel" select="1"></xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, then chapters will be numbered using the parameter
- value as the number format if the value matches one of the following:
- </para>
- <variablelist>
- <varlistentry>
- <term>1 or arabic</term>
- <listitem>
- <para>Arabic numeration (1, 2, 3 ...).</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>A or upperalpha</term>
- <listitem>
- <para>Uppercase letter numeration (A, B, C ...).</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>a or loweralpha</term>
- <listitem>
- <para>Lowercase letter numeration (a, b, c ...).</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>I or upperroman</term>
- <listitem>
- <para>Uppercase roman numeration (I, II, III ...).</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>i or lowerroman</term>
- <listitem>
- <para>Lowercase roman letter numeration (i, ii, iii ...).</para>
- </listitem>
- </varlistentry>
- </variablelist>
- <para>Any nonzero value other than the above will generate
- the default number format (arabic).
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="part.autolabel">
- <refmeta>
- <refentrytitle>part.autolabel</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">list</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">0<alt>none</alt></refmiscinfo>
- <refmiscinfo class="other" otherclass="value">1<alt>1,2,3...</alt></refmiscinfo>
- <refmiscinfo class="other" otherclass="value">A<alt>A,B,C...</alt></refmiscinfo>
- <refmiscinfo class="other" otherclass="value">a<alt>a,b,c...</alt></refmiscinfo>
- <refmiscinfo class="other" otherclass="value">i<alt>i,ii,iii...</alt></refmiscinfo>
- <refmiscinfo class="other" otherclass="value">I<alt>I,II,III...</alt></refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>part.autolabel</refname>
- <refpurpose>Specifies the labeling format for Part titles</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="part.autolabel.frag">
- <xsl:param name="part.autolabel">I</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, then parts will be numbered using the parameter
- value as the number format if the value matches one of the following:
- </para>
- <variablelist>
- <varlistentry>
- <term>1 or arabic</term>
- <listitem>
- <para>Arabic numeration (1, 2, 3 ...).</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>A or upperalpha</term>
- <listitem>
- <para>Uppercase letter numeration (A, B, C ...).</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>a or loweralpha</term>
- <listitem>
- <para>Lowercase letter numeration (a, b, c ...).</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>I or upperroman</term>
- <listitem>
- <para>Uppercase roman numeration (I, II, III ...).</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>i or lowerroman</term>
- <listitem>
- <para>Lowercase roman letter numeration (i, ii, iii ...).</para>
- </listitem>
- </varlistentry>
- </variablelist>
- <para>Any nonzero value other than the above will generate
- the default number format (upperroman).
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="reference.autolabel">
- <refmeta>
- <refentrytitle>reference.autolabel</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">list</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">0<alt>none</alt></refmiscinfo>
- <refmiscinfo class="other" otherclass="value">1<alt>1,2,3...</alt></refmiscinfo>
- <refmiscinfo class="other" otherclass="value">A<alt>A,B,C...</alt></refmiscinfo>
- <refmiscinfo class="other" otherclass="value">a<alt>a,b,c...</alt></refmiscinfo>
- <refmiscinfo class="other" otherclass="value">i<alt>i,ii,iii...</alt></refmiscinfo>
- <refmiscinfo class="other" otherclass="value">I<alt>I,II,III...</alt></refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>reference.autolabel</refname>
- <refpurpose>Specifies the labeling format for Reference titles</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="reference.autolabel.frag">
- <xsl:param name="reference.autolabel">I</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, references will be numbered using the parameter
- value as the number format if the value matches one of the
- following:
- </para>
- <variablelist>
- <varlistentry>
- <term>1 or arabic</term>
- <listitem>
- <para>Arabic numeration (1, 2, 3 ...).</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>A or upperalpha</term>
- <listitem>
- <para>Uppercase letter numeration (A, B, C ...).</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>a or loweralpha</term>
- <listitem>
- <para>Lowercase letter numeration (a, b, c ...).</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>I or upperroman</term>
- <listitem>
- <para>Uppercase roman numeration (I, II, III ...).</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>i or lowerroman</term>
- <listitem>
- <para>Lowercase roman letter numeration (i, ii, iii ...).</para>
- </listitem>
- </varlistentry>
- </variablelist>
- <para>Any non-zero value other than the above will generate
- the default number format (upperroman).
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="preface.autolabel">
- <refmeta>
- <refentrytitle>preface.autolabel</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">list</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">0<alt>none</alt></refmiscinfo>
- <refmiscinfo class="other" otherclass="value">1<alt>1,2,3...</alt></refmiscinfo>
- <refmiscinfo class="other" otherclass="value">A<alt>A,B,C...</alt></refmiscinfo>
- <refmiscinfo class="other" otherclass="value">a<alt>a,b,c...</alt></refmiscinfo>
- <refmiscinfo class="other" otherclass="value">i<alt>i,ii,iii...</alt></refmiscinfo>
- <refmiscinfo class="other" otherclass="value">I<alt>I,II,III...</alt></refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>preface.autolabel</refname>
- <refpurpose>Specifices the labeling format for Preface titles</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="preface.autolabel.frag"><xsl:param name="preface.autolabel" select="0"></xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero then prefaces will be numbered using the parameter
- value as the number format if the value matches one of the following:
- </para>
- <variablelist>
- <varlistentry>
- <term>1 or arabic</term>
- <listitem>
- <para>Arabic numeration (1, 2, 3 ...).</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>A or upperalpha</term>
- <listitem>
- <para>Uppercase letter numeration (A, B, C ...).</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>a or loweralpha</term>
- <listitem>
- <para>Lowercase letter numeration (a, b, c ...).</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>I or upperroman</term>
- <listitem>
- <para>Uppercase roman numeration (I, II, III ...).</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>i or lowerroman</term>
- <listitem>
- <para>Lowercase roman letter numeration (i, ii, iii ...).</para>
- </listitem>
- </varlistentry>
- </variablelist>
- <para>Any nonzero value other than the above will generate
- the default number format (arabic).
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="section.autolabel">
- <refmeta>
- <refentrytitle>section.autolabel</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>section.autolabel</refname>
- <refpurpose>Are sections enumerated?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="section.autolabel.frag"><xsl:param name="section.autolabel" select="0"></xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If true (non-zero), unlabeled sections will be enumerated.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="section.autolabel.max.depth">
- <refmeta>
- <refentrytitle>section.autolabel.max.depth</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">integer</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>section.autolabel.max.depth</refname>
- <refpurpose>The deepest level of sections that are numbered.</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="section.autolabel.max.depth.frag">
- <xsl:param name="section.autolabel.max.depth">8</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>When section numbering is turned on by the
- <parameter>section.autolabel</parameter> parameter, then this
- parameter controls the depth of <tag>section</tag> nesting that is
- numbered. Sections nested to a level deeper than this value will not
- be numbered.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="section.label.includes.component.label">
- <refmeta>
- <refentrytitle>section.label.includes.component.label</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>section.label.includes.component.label</refname>
- <refpurpose>Do section labels include the component label?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="section.label.includes.component.label.frag"><xsl:param name="section.label.includes.component.label" select="0"></xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, section labels are prefixed with the label of the
- component that contains them.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="label.from.part">
- <refmeta>
- <refentrytitle>label.from.part</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>label.from.part</refname>
- <refpurpose>Renumber components in each part?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="label.from.part.frag">
- <xsl:param name="label.from.part" select="0"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If <parameter>label.from.part</parameter> is non-zero, then
- numbering of components — <tag>preface</tag>,
- <tag>chapter</tag>, <tag>appendix</tag>, and
- <tag>reference</tag> (when <tag>reference</tag> occurs at the
- component level) — is re-started within each
- <tag>part</tag>.</para>
- <para>If <parameter>label.from.part</parameter> is zero (the
- default), numbering of components is <emphasis>not</emphasis>
- re-started within each <tag>part</tag>; instead, components are
- numbered sequentially throughout each <tag>book</tag>,
- regardless of whether or not they occur within <tag>part</tag>
- instances.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="component.label.includes.part.label">
- <refmeta>
- <refentrytitle>component.label.includes.part.label</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>component.label.includes.part.label</refname>
- <refpurpose>Do component labels include the part label?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="component.label.includes.part.label.frag"><xsl:param name="component.label.includes.part.label" select="0"></xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, number labels for <tag>chapter</tag>,
- <tag>appendix</tag>, and other component elements are prefixed with
- the label of the part element that contains them. So you might see
- Chapter II.3 instead of Chapter 3. Also, the labels for formal
- elements such as <tag>table</tag> and <tag>figure</tag> will include
- the part label. If there is no part element container, then no prefix
- is generated.
- </para>
- <para>
- This feature is most useful when the
- <parameter>label.from.part</parameter> parameter is turned on.
- In that case, there would be more than one <tag>chapter</tag>
- <quote>1</quote>, and the extra part label prefix will identify
- each chapter unambiguously.
- </para>
- </refsection>
- </refentry>
- </reference><reference id="xslt" xml:base="../fo/param.xml"><title>XSLT Processing</title>
- <refentry version="5.0" id="rootid">
- <refmeta>
- <refentrytitle>rootid</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>rootid</refname>
- <refpurpose>Specify the root element to format</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="rootid.frag">
- <xsl:param name="rootid"></xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If <parameter>rootid</parameter> is not empty, it must be the
- value of an ID that occurs in the document being formatted. The entire
- document will be loaded and parsed, but formatting will begin at the
- element identified, rather than at the root. For example, this allows
- you to process only <tag>chapter</tag> 4 of a <tag>book</tag>.</para>
- <para>Because the entire document is available to the processor, automatic
- numbering, cross references, and other dependencies are correctly
- resolved.</para>
- </refsection>
- </refentry>
- </reference><reference id="meta" xml:base="../fo/param.xml"><title>Meta/*Info</title>
- <refentry version="5.0" id="make.single.year.ranges">
- <refmeta>
- <refentrytitle>make.single.year.ranges</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>make.single.year.ranges</refname>
- <refpurpose>Print single-year ranges (e.g., 1998-1999)</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="make.single.year.ranges.frag">
- <xsl:param name="make.single.year.ranges" select="0"></xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, year ranges that span a single year will be printed
- in range notation (1998-1999) instead of discrete notation
- (1998, 1999).</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="make.year.ranges">
- <refmeta>
- <refentrytitle>make.year.ranges</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>make.year.ranges</refname>
- <refpurpose>Collate copyright years into ranges?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="make.year.ranges.frag"><xsl:param name="make.year.ranges" select="0"></xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, multiple copyright <tag>year</tag> elements will be
- collated into ranges.
- This works only if each year number is put into a separate
- year element. The copyright element permits multiple
- year elements. If a year element contains a dash or
- a comma, then that year element will not be merged into
- any range.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="author.othername.in.middle">
- <refmeta>
- <refentrytitle>author.othername.in.middle</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>author.othername.in.middle</refname>
- <refpurpose>Is <tag>othername</tag> in <tag>author</tag> a
- middle name?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="author.othername.in.middle.frag">
- <xsl:param name="author.othername.in.middle" select="1"></xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, the <tag>othername</tag> of an <tag>author</tag>
- appears between the <tag>firstname</tag> and
- <tag>surname</tag>. Otherwise, <tag>othername</tag>
- is suppressed.
- </para>
- </refsection>
- </refentry>
- </reference><reference id="refentry" xml:base="../fo/param.xml"><title>Reference Pages</title>
- <refentry version="5.0" id="funcsynopsis.decoration">
- <refmeta>
- <refentrytitle>funcsynopsis.decoration</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>funcsynopsis.decoration</refname>
- <refpurpose>Decorate elements of a <tag>funcsynopsis</tag>?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="funcsynopsis.decoration.frag">
- <xsl:param name="funcsynopsis.decoration" select="1"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, elements of the <tag>funcsynopsis</tag> will be
- decorated (e.g. rendered as bold or italic text). The decoration is controlled by
- templates that can be redefined in a customization layer.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="funcsynopsis.style">
- <refmeta>
- <refentrytitle>funcsynopsis.style</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">list</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">ansi</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">kr</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>funcsynopsis.style</refname>
- <refpurpose>What style of <tag>funcsynopsis</tag> should be generated?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="funcsynopsis.style.frag"><xsl:param name="funcsynopsis.style">kr</xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If <parameter>funcsynopsis.style</parameter> is <literal>ansi</literal>,
- ANSI-style function synopses are generated for a
- <tag>funcsynopsis</tag>, otherwise K&R-style
- function synopses are generated.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="function.parens">
- <refmeta>
- <refentrytitle>function.parens</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>function.parens</refname>
- <refpurpose>Generate parens after a function?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="function.parens.frag">
- <xsl:param name="function.parens" select="0"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, the formatting of a <tag>function</tag> element
- will include generated parentheses.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="refentry.generate.name">
- <refmeta>
- <refentrytitle>refentry.generate.name</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>refentry.generate.name</refname>
- <refpurpose>Output NAME header before <tag>refname</tag>s?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="refentry.generate.name.frag">
- <xsl:param name="refentry.generate.name" select="1"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, a "NAME" section title is output before the list
- of <tag>refname</tag>s. This parameter and
- <parameter>refentry.generate.title</parameter> are mutually
- exclusive. This means that if you change this parameter to zero, you
- should set <parameter>refentry.generate.title</parameter> to non-zero unless
- you want get quite strange output.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="refentry.generate.title">
- <refmeta>
- <refentrytitle>refentry.generate.title</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>refentry.generate.title</refname>
- <refpurpose>Output title before <tag>refname</tag>s?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="refentry.generate.title.frag">
- <xsl:param name="refentry.generate.title" select="0"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, the reference page title or first name is
- output before the list of <tag>refname</tag>s. This parameter and
- <parameter>refentry.generate.name</parameter> are mutually exclusive.
- This means that if you change this parameter to non-zero, you
- should set <parameter>refentry.generate.name</parameter> to zero unless
- you want get quite strange output.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="refentry.pagebreak">
- <refmeta>
- <refentrytitle>refentry.pagebreak</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>refentry.pagebreak</refname>
- <refpurpose>Start each refentry on a new page</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="refentry.pagebreak.frag"><xsl:param name="refentry.pagebreak" select="1"></xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero (the default), each <tag>refentry</tag>
- element will start on a new page. If zero, a page
- break will not be generated between <tag>refentry</tag> elements.
- The exception is when the <tag>refentry</tag> elements are children of
- a <tag>part</tag> element, in which case the page breaks are always
- retained. That is because a <tag>part</tag> element does not generate
- a page-sequence for its children, so each <tag>refentry</tag> must
- start its own page-sequence.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="refentry.title.properties">
- <refmeta>
- <refentrytitle>refentry.title.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>refentry.title.properties</refname>
- <refpurpose>Title properties for a refentry title</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="refentry.title.properties.frag">
- <xsl:attribute-set name="refentry.title.properties">
- <xsl:attribute name="font-family">
- <xsl:value-of select="$title.fontset"></xsl:value-of>
- </xsl:attribute>
- <xsl:attribute name="font-size">18pt</xsl:attribute>
- <xsl:attribute name="font-weight">bold</xsl:attribute>
- <xsl:attribute name="space-after">1em</xsl:attribute>
- <xsl:attribute name="hyphenate">false</xsl:attribute>
- <xsl:attribute name="keep-with-next.within-column">always</xsl:attribute>
- <xsl:attribute name="space-before.minimum">0.8em</xsl:attribute>
- <xsl:attribute name="space-before.optimum">1.0em</xsl:attribute>
- <xsl:attribute name="space-before.maximum">1.2em</xsl:attribute>
- <xsl:attribute name="space-after.optimum">0.5em</xsl:attribute>
- <xsl:attribute name="space-after.minimum">0.4em</xsl:attribute>
- <xsl:attribute name="space-after.maximum">0.6em</xsl:attribute>
- <xsl:attribute name="start-indent"><xsl:value-of select="$title.margin.left"></xsl:value-of></xsl:attribute>
- </xsl:attribute-set>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Formatting properties applied to the title generated for the
- <tag>refnamediv</tag> part of output for
- <tag>refentry</tag> when the value of the
- <parameter>refentry.generate.title</parameter> parameter is
- non-zero. The font size is supplied by the appropriate <parameter>section.level<replaceable>X</replaceable>.title.properties</parameter>
- attribute-set, computed from the location of the
- <tag>refentry</tag> in the section hierarchy.</para>
- <note>
- <para>This parameter has no effect on the the title generated for
- the <tag>refnamediv</tag> part of output for
- <tag>refentry</tag> when the value of the
- <parameter>refentry.generate.name</parameter> parameter is
- non-zero. By default, that title is formatted with the same
- properties as the titles for all other first-level children of
- <tag>refentry</tag>.</para>
- </note>
- </refsection>
- </refentry>
- <refentry version="5.0" id="refentry.xref.manvolnum">
- <refmeta>
- <refentrytitle>refentry.xref.manvolnum</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>refentry.xref.manvolnum</refname>
- <refpurpose>Output <tag>manvolnum</tag> as part of
- <tag>refentry</tag> cross-reference?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="refentry.xref.manvolnum.frag">
- <xsl:param name="refentry.xref.manvolnum" select="1"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>if non-zero, the <tag>manvolnum</tag> is used when cross-referencing
- <tag>refentry</tag>s, either with <tag>xref</tag>
- or <tag>citerefentry</tag>.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="refclass.suppress">
- <refmeta>
- <refentrytitle>refclass.suppress</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>refclass.suppress</refname>
- <refpurpose>Suppress display of refclass contents?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="refclass.suppress.frag">
- <xsl:param name="refclass.suppress" select="0"></xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If the value of <parameter>refclass.suppress</parameter> is
- non-zero, then display of <tag>refclass</tag> contents is
- suppressed in output.</para>
- </refsection>
- </refentry>
- </reference><reference id="tables" xml:base="../fo/param.xml"><title>Tables</title>
- <refentry version="5.0" id="default.table.width">
- <refmeta>
- <refentrytitle>default.table.width</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">length</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>default.table.width</refname>
- <refpurpose>The default width of tables</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="default.table.width.frag">
- <xsl:param name="default.table.width"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, this value will be used for the
- <literal>width</literal> attribute on <tag>table</tag>s that do not specify an
- alternate width (with the <tag class="xmlpi">dbhtml table-width</tag> or
- <tag class="xmlpi">dbfo table-width</tag> processing instruction).</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="nominal.table.width">
- <refmeta>
- <refentrytitle>nominal.table.width</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">length</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>nominal.table.width</refname>
- <refpurpose>The (absolute) nominal width of tables</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="nominal.table.width.frag">
- <xsl:param name="nominal.table.width">6in</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>In order to convert CALS column widths into HTML column widths, it
- is sometimes necessary to have an absolute table width to use for conversion
- of mixed absolute and relative widths. This value must be an absolute
- length (not a percentage).</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="default.table.frame">
- <refmeta>
- <refentrytitle>default.table.frame</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>default.table.frame</refname>
- <refpurpose>The default framing of tables</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="default.table.frame.frag">
- <xsl:param name="default.table.frame">all</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>This value will be used when there is no frame attribute on the
- table. </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="default.table.rules">
- <refmeta>
- <refentrytitle>default.table.rules</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>default.table.rules</refname>
- <refpurpose>The default column and row rules for tables using HTML markup</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="default.table.rules.frag">
- <xsl:param name="default.table.rules">none</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Tables using HTML markup elements can use an attribute
- named <tag class="attribute">rules</tag> on the <tag>table</tag> or
- <tag>informaltable</tag> element
- to specify whether column and row border rules should be
- displayed. This parameter lets you specify a global default
- style for all HTML tables that don't otherwise have
- that attribute.</para>
- <para>These are the supported values:</para>
- <variablelist>
- <varlistentry><term>all</term>
- <listitem>
- <para>Rules will appear between all rows and columns.</para>
- </listitem>
- </varlistentry>
- <varlistentry><term>rows</term>
- <listitem>
- <para>Rules will appear between rows only.</para>
- </listitem>
- </varlistentry>
- <varlistentry><term>cols</term>
- <listitem>
- <para>Rules will appear between columns only.</para>
- </listitem>
- </varlistentry>
- <varlistentry><term>groups</term>
- <listitem>
- <para>Rules will appear between row groups (thead, tfoot, tbody).
- No support for rules between column groups yet.
- </para>
- </listitem>
- </varlistentry>
- <varlistentry><term>none</term>
- <listitem>
- <para>No rules. This is the default value.
- </para>
- </listitem>
- </varlistentry>
- </variablelist>
- <para>The border after the last row and the border after
- the last column are not affected by
- this setting. Those borders are controlled by
- the <tag class="attribute">frame</tag> attribute on the table element.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="table.cell.padding">
- <refmeta>
- <refentrytitle>table.cell.padding</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>table.cell.padding</refname>
- <refpurpose>Specifies the padding of table cells</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="table.cell.padding.frag">
- <xsl:attribute-set name="table.cell.padding">
- <xsl:attribute name="padding-start">2pt</xsl:attribute>
- <xsl:attribute name="padding-end">2pt</xsl:attribute>
- <xsl:attribute name="padding-top">2pt</xsl:attribute>
- <xsl:attribute name="padding-bottom">2pt</xsl:attribute>
- </xsl:attribute-set>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Specifies the padding of table cells.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="table.frame.border.thickness">
- <refmeta>
- <refentrytitle>table.frame.border.thickness</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">length</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>table.frame.border.thickness</refname>
- <refpurpose>Specifies the thickness of the frame border</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="table.frame.border.thickness.frag">
- <xsl:param name="table.frame.border.thickness">0.5pt</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Specifies the thickness of the border on the table's frame.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="table.frame.border.style">
- <refmeta>
- <refentrytitle>table.frame.border.style</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">list</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">none</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">solid</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">dotted</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">dashed</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">double</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">groove</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">ridge</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">inset</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">outset</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">solid</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>table.frame.border.style</refname>
- <refpurpose>Specifies the border style of table frames</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="table.frame.border.style.frag">
- <xsl:param name="table.frame.border.style">solid</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Specifies the border style of table frames.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="table.frame.border.color">
- <refmeta>
- <refentrytitle>table.frame.border.color</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">color</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>table.frame.border.color</refname>
- <refpurpose>Specifies the border color of table frames</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="table.frame.border.color.frag">
- <xsl:param name="table.frame.border.color">black</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Specifies the border color of table frames.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="table.cell.border.thickness">
- <refmeta>
- <refentrytitle>table.cell.border.thickness</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">length</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>table.cell.border.thickness</refname>
- <refpurpose>Specifies the thickness of table cell borders</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="table.cell.border.thickness.frag">
- <xsl:param name="table.cell.border.thickness">0.5pt</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, specifies the thickness of borders on table
- cells. The units are points. See <link xlink:href="http://www.w3.org/TR/CSS21/box.html#border-width-properties">
- CSS</link></para>
- <note>
- <para>To control properties of cell borders in HTML output, you must also turn on the
- <parameter>table.borders.with.css</parameter> parameter.</para>
- </note>
- </refsection>
- </refentry>
- <refentry version="5.0" id="table.cell.border.style">
- <refmeta>
- <refentrytitle>table.cell.border.style</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">list</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">none</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">solid</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">dotted</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">dashed</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">double</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">groove</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">ridge</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">inset</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">outset</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">solid</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>table.cell.border.style</refname>
- <refpurpose>Specifies the border style of table cells</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="table.cell.border.style.frag">
- <xsl:param name="table.cell.border.style">solid</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Specifies the border style of table cells.</para>
- <note>
- <para>To control properties of cell borders in HTML output, you must also turn on the
- <parameter>table.borders.with.css</parameter> parameter.</para>
- </note>
- </refsection>
- </refentry>
- <refentry version="5.0" id="table.cell.border.color">
- <refmeta>
- <refentrytitle>table.cell.border.color</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">color</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>table.cell.border.color</refname>
- <refpurpose>Specifies the border color of table cells</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="table.cell.border.color.frag">
- <xsl:param name="table.cell.border.color">black</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Set the color of table cell borders. If non-zero, the value is used
- for the border coloration. See <link xlink:href="http://www.w3.org/TR/CSS21/syndata.html#value-def-color">CSS</link>. A
- <literal>color</literal> is either a keyword or a numerical RGB specification.
- Keywords are aqua, black, blue, fuchsia, gray, green, lime, maroon,
- navy, olive, orange, purple, red, silver, teal, white, and
- yellow.</para>
- <note>
- <para>To control properties of cell borders in HTML output, you must also turn on the
- <parameter>table.borders.with.css</parameter> parameter.</para>
- </note>
- </refsection>
- </refentry>
- <refentry version="5.0" id="table.table.properties">
- <refmeta>
- <refentrytitle>table.table.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>table.table.properties</refname>
- <refpurpose>Properties associated with a table</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="table.table.properties.frag">
- <xsl:attribute-set name="table.table.properties">
- <xsl:attribute name="border-before-width.conditionality">retain</xsl:attribute>
- <xsl:attribute name="border-collapse">collapse</xsl:attribute>
- </xsl:attribute-set>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The styling for tables. This parameter should really
- have been called <literal>table.properties</literal>, but that parameter
- name was inadvertently established for the block-level properties
- of the table as a whole.
- </para>
- <para>See also <parameter>table.properties</parameter>.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="table.caption.properties">
- <refmeta>
- <refentrytitle>table.caption.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>table.caption.properties</refname>
- <refpurpose>Properties associated with a table caption</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="table.caption.properties.frag">
- <xsl:attribute-set name="table.caption.properties">
- <xsl:attribute name="keep-together.within-column">always</xsl:attribute>
- </xsl:attribute-set>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The styling for table caption element (not the table title).</para>
- <para>See also <parameter>table.properties</parameter>.</para>
- </refsection>
- </refentry>
- </reference><reference id="links" xml:base="../fo/param.xml"><title>Linking</title>
- <refentry version="5.0" id="current.docid">
- <refmeta>
- <refentrytitle>current.docid</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>current.docid</refname>
- <refpurpose>targetdoc identifier for the document being
- processed</refpurpose>
- </refnamediv>
- <refsynopsisdiv> <programlisting id="current.docid.frag">
- <xsl:param name="current.docid"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
-
- <para>When olinks between documents are resolved for HTML output, the stylesheet can compute the relative path between the current document and the target document. The stylesheet needs to know the <literal>targetdoc</literal> identifiers for both documents, as they appear in the <parameter>target.database.document</parameter> database file. This parameter passes to the stylesheet
- the targetdoc identifier of the current document, since that
- identifier does not appear in the document itself. </para>
- <para>This parameter can also be used for print output. If an olink's <literal>targetdoc</literal> id differs from the <literal>current.docid</literal>, then the stylesheet can append the target document's title to the generated olink text. That identifies to the reader that the link is to a different document, not the current document. See also <parameter>olink.doctitle</parameter> to enable that feature.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="activate.external.olinks">
- <refmeta>
- <refentrytitle>activate.external.olinks</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>activate.external.olinks</refname>
- <refpurpose>Make external olinks into active links</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="activate.external.olinks.frag">
- <xsl:param name="activate.external.olinks" select="1"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If <parameter>activate.external.olinks</parameter> is nonzero
- (the default), then any olinks that reference another document
- become active links that can be clicked on to follow the link.
- If the parameter is set to zero, then external olinks
- will have the appropriate link text generated, but the link is
- not made active. Olinks to destinations in
- the current document remain active.</para>
- <para>To make an external olink active for HTML
- outputs, the link text is wrapped in an <tag>a</tag>
- element with an <tag>href</tag> attribute. To
- make an external olink active for FO outputs, the link text is
- wrapped in an <tag>fo:basic-link</tag> element with an
- <tag>external-destination</tag> attribute.</para>
- <para>This parameter is useful when you need external olinks
- to resolve but not be clickable. For example, if documents
- in a collection are available independently of each other,
- then having active links between them could lead to
- unresolved links when a given target document is missing.</para>
- <para>The epub stylesheets set this parameter to zero by default
- because there is no standard linking mechanism between Epub documents.</para>
- <para>If external links are made inactive, you should
- consider setting the
- stylesheet parameter <parameter>olink.doctitle</parameter>
- to <literal>yes</literal>. That will append the external document's
- title to the link text, making it easier for the user to
- locate the other document.</para>
- <para>An olink is considered external when the
- <parameter>current.docid</parameter> stylesheet parameter
- is set to some value, and the olink's <tag>targetdoc</tag>
- attribute has a different value. If the two values
- match, then the link is considered internal. If the
- <parameter>current.docid</parameter> parameter is blank, or
- the <tag>olink</tag> element does not have a <tag>targetdoc</tag> attribute,
- then the link is considered to be internal and will become
- an active link.</para>
- <para>See also <parameter>olink.doctitle</parameter>,
- <parameter>prefer.internal.olink</parameter>.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="collect.xref.targets">
- <refmeta>
- <refentrytitle>collect.xref.targets</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">list</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">no</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">yes</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">only</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>collect.xref.targets</refname>
- <refpurpose>Controls whether cross reference data is
- collected</refpurpose>
- </refnamediv>
- <refsynopsisdiv> <programlisting id="collect.xref.targets.frag">
- <xsl:param name="collect.xref.targets">no</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
-
- <para>
- In order to resolve olinks efficiently, the stylesheets can
- generate an external data file containing information about
- all potential cross reference endpoints in a document.
- This parameter determines whether the collection process is run when the document is processed by the stylesheet. The default value is <literal>no</literal>, which means the data file is not generated during processing. The other choices are <literal>yes</literal>, which means the data file is created and the document is processed for output, and <literal>only</literal>, which means the data file is created but the document is not processed for output.
- See also <parameter>targets.filename</parameter>.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="insert.olink.page.number">
- <refmeta>
- <refentrytitle>insert.olink.page.number</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">list</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">no</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">yes</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">maybe</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>insert.olink.page.number</refname>
- <refpurpose>Turns page numbers in olinks on and off</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="insert.olink.page.number.frag">
- <xsl:param name="insert.olink.page.number">no</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The value of this parameter determines if
- cross references made between documents with
- <tag>olink</tag> will
- include page number citations.
- In most cases this is only applicable to references in printed output.
- </para>
- <para>The parameter has three possible values.
- </para>
- <variablelist>
- <varlistentry>
- <term>no</term>
- <listitem><para>No page number references will be generated for olinks.
- </para></listitem>
- </varlistentry>
- <varlistentry>
- <term>yes</term>
- <listitem><para>Page number references will be generated
- for all <tag>olink</tag> references.
- The style of page reference may be changed
- if an <tag class="attribute">xrefstyle</tag>
- attribute is used.
- </para></listitem>
- </varlistentry>
- <varlistentry>
- <term>maybe</term>
- <listitem><para>Page number references will not be generated
- for an <tag>olink</tag> element unless
- it has an
- <tag class="attribute">xrefstyle</tag>
- attribute whose value specifies a page reference.
- </para></listitem>
- </varlistentry>
- </variablelist>
- <para>Olinks that point to targets within the same document
- are treated as <tag>xref</tag>s, and controlled by
- the <parameter>insert.xref.page.number</parameter> parameter.
- </para>
- <para>Page number references for olinks to
- external documents can only be inserted if the
- information exists in the olink database.
- This means each olink target element
- (<tag>div</tag> or <tag>obj</tag>)
- must have a <tag class="attribute">page</tag> attribute
- whose value is its page number in the target document.
- The XSL stylesheets are not able to extract that information
- during processing because pages have not yet been created in
- XSLT transformation. Only the XSL-FO processor knows what
- page each element is placed on.
- Therefore some postprocessing must take place to populate
- page numbers in the olink database.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="insert.olink.pdf.frag">
- <refmeta>
- <refentrytitle>insert.olink.pdf.frag</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>insert.olink.pdf.frag</refname>
- <refpurpose>Add fragment identifiers for links into PDF files</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="insert.olink.pdf.frag.frag">
- <xsl:param name="insert.olink.pdf.frag" select="0"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The value of this parameter determines whether
- the cross reference URIs to PDF documents made with
- <tag>olink</tag> will
- include fragment identifiers.
- </para>
- <para>When forming a URI to link to a PDF document,
- a fragment identifier (typically a '#' followed by an
- id value) appended to the PDF filename can be used by
- the PDF viewer to open
- the PDF file to a location within the document instead of
- the first page.
- However, not all PDF files have id
- values embedded in them, and not all PDF viewers can
- handle fragment identifiers.
- </para>
- <para>If <parameter>insert.olink.pdf.frag</parameter> is set
- to a non-zero value, then any olink targeting a
- PDF file will have the fragment identifier appended to the URI.
- The URI is formed by concatenating the value of the
- <parameter>olink.base.uri</parameter> parameter, the
- value of the <tag class="attribute">baseuri</tag>
- attribute from the <tag class="element">document</tag>
- element in the olink database with the matching
- <tag class="attribute">targetdoc</tag> value,
- and the value of the <tag class="attribute">href</tag>
- attribute for the targeted element in the olink database.
- The <tag class="attribute">href</tag> attribute
- contains the fragment identifier.
- </para>
- <para>If <parameter>insert.olink.pdf.frag</parameter> is set
- to zero (the default value), then
- the <tag class="attribute">href</tag> attribute
- from the olink database
- is not appended to PDF olinks, so the fragment identifier is left off.
- A PDF olink is any olink for which the
- <tag class="attribute">baseuri</tag> attribute
- from the matching <tag class="element">document</tag>
- element in the olink database ends with '.pdf'.
- Any other olinks will still have the fragment identifier added.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="olink.base.uri">
- <refmeta>
- <refentrytitle>olink.base.uri</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">uri</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>olink.base.uri</refname>
- <refpurpose>Base URI used in olink hrefs</refpurpose>
- </refnamediv>
- <refsynopsisdiv> <programlisting id="olink.base.uri.frag">
- <xsl:param name="olink.base.uri"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
-
- <para>When cross reference data is collected for resolving olinks, it
- may be necessary to prepend a base URI to each target's href. This
- parameter lets you set that base URI when cross reference data is
- collected. This feature is needed when you want to link to a document
- that is processed without chunking. The output filename for such a
- document is not known to the XSL stylesheet; the only target
- information consists of fragment identifiers such as
- <literal>#idref</literal>. To enable the resolution of olinks between
- documents, you should pass the name of the HTML output file as the
- value of this parameter. Then the hrefs recorded in the cross
- reference data collection look like
- <literal>outfile.html#idref</literal>, which can be reached as links
- from other documents.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="olink.debug">
- <refmeta>
- <refentrytitle>olink.debug</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>olink.debug</refname>
- <refpurpose>Turn on debugging messages for olinks</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="olink.debug.frag">
- <xsl:param name="olink.debug" select="0"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, then each olink will generate several
- messages about how it is being resolved during processing.
- This is useful when an olink does not resolve properly
- and the standard error messages are not sufficient to
- find the problem.
- </para>
- <para>You may need to read through the olink XSL templates
- to understand the context for some of the debug messages.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="olink.doctitle">
- <refmeta>
- <refentrytitle>olink.doctitle</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">list</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">no</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">yes</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">maybe</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>olink.doctitle</refname>
- <refpurpose>show the document title for external olinks?</refpurpose>
- </refnamediv>
- <refsynopsisdiv> <programlisting id="olink.doctitle.frag">
- <xsl:param name="olink.doctitle">no</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
-
- <para>When olinks between documents are resolved, the generated text
- may not make it clear that the reference is to another document.
- It is possible for the stylesheets to append the other document's
- title to external olinks. For this to happen, two parameters must
- be set.</para>
- <itemizedlist>
- <listitem>
- <para>This <parameter>olink.doctitle</parameter> parameter
- should be set to either <literal>yes</literal> or <literal>maybe</literal>
- to enable this feature.
- </para>
- </listitem>
- <listitem>
- <para>And you should also set the <parameter>current.docid</parameter>
- parameter to the document id for the document currently
- being processed for output.
- </para>
- </listitem>
- </itemizedlist>
- <para>
- Then if an olink's <literal>targetdoc</literal> id differs from
- the <literal>current.docid</literal> value, the stylesheet knows
- that it is a reference to another document and can
- append the target document's
- title to the generated olink text. </para>
- <para>The text for the target document's title is copied from the
- olink database from the <tag>ttl</tag> element
- of the top-level <tag>div</tag> for that document.
- If that <tag>ttl</tag> element is missing or empty,
- no title is output.
- </para>
- <para>The supported values for <parameter>olink.doctitle</parameter> are:
- </para>
- <variablelist>
- <varlistentry>
- <term><literal>yes</literal></term>
- <listitem>
- <para>
- Always insert the title to the target document if it is not
- the current document.
- </para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term><literal>no</literal></term>
- <listitem>
- <para>
- Never insert the title to the target document, even if requested
- in an <tag class="attribute">xrefstyle</tag> attribute.
- </para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term><literal>maybe</literal></term>
- <listitem>
- <para>
- Only insert the title to the target document, if requested
- in an <tag class="attribute">xrefstyle</tag> attribute.
- </para>
- </listitem>
- </varlistentry>
- </variablelist>
- <para>An <tag class="attribute">xrefstyle</tag> attribute
- may override the global setting for individual olinks.
- The following values are supported in an
- <tag class="attribute">xrefstyle</tag>
- attribute using the <literal>select:</literal> syntax:
- </para>
- <variablelist>
- <varlistentry>
- <term><literal>docname</literal></term>
- <listitem>
- <para>
- Insert the target document name for this olink using the
- <literal>docname</literal> gentext template, but only
- if the value of <parameter>olink.doctitle</parameter>
- is not <literal>no</literal>.
- </para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term><literal>docnamelong</literal></term>
- <listitem>
- <para>
- Insert the target document name for this olink using the
- <literal>docnamelong</literal> gentext template, but only
- if the value of <parameter>olink.doctitle</parameter>
- is not <literal>no</literal>.
- </para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term><literal>nodocname</literal></term>
- <listitem>
- <para>
- Omit the target document name even if
- the value of <parameter>olink.doctitle</parameter>
- is <literal>yes</literal>.
- </para>
- </listitem>
- </varlistentry>
- </variablelist>
- <para>Another way of inserting the target document name
- for a single olink is to employ an
- <tag class="attribute">xrefstyle</tag>
- attribute using the <literal>template:</literal> syntax.
- The <literal>%o</literal> placeholder (the letter o, not zero)
- in such a template
- will be filled in with the target document's title when it is processed.
- This will occur regardless of
- the value of <parameter>olink.doctitle</parameter>.
- </para>
- <para>Note that prior to version 1.66 of the XSL stylesheets,
- the allowed values for this parameter were 0 and 1. Those
- values are still supported and mapped to 'no' and 'yes', respectively.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="olink.lang.fallback.sequence">
- <refmeta>
- <refentrytitle>olink.lang.fallback.sequence</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>olink.lang.fallback.sequence</refname>
- <refpurpose>look up translated documents if olink not found?</refpurpose>
- </refnamediv>
- <refsynopsisdiv> <programlisting id="olink.lang.fallback.sequence.frag">
- <xsl:param name="olink.lang.fallback.sequence"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
-
- <para>This parameter defines a list of lang values
- to search among to resolve olinks.
- </para>
- <para>Normally an olink tries to resolve to a document in the same
- language as the olink itself. The language of an olink
- is determined by its nearest ancestor element with a
- <tag class="attribute">lang</tag> attribute, otherwise the
- value of the <parameter>l10n.gentext.default.lang</parameter>
- parameter.
- </para>
- <para>An olink database can contain target data for the same
- document in multiple languages. Each set of data has the
- same value for the <tag>targetdoc</tag> attribute in
- the <tag>document</tag> element in the database, but with a
- different <tag>lang</tag> attribute value.
- </para>
- <para>When an olink is being resolved, the target is first
- sought in the document with the same language as the olink.
- If no match is found there, then this parameter is consulted
- for additional languages to try.</para>
- <para>The <parameter>olink.lang.fallback.sequence</parameter>
- must be a whitespace separated list of lang values to
- try. The first one with a match in the olink database is used.
- The default value is empty.</para>
- <para>For example, a document might be written in German
- and contain an olink with
- <literal>targetdoc="adminguide"</literal>.
- When the document is processed, the processor
- first looks for a target dataset in the
- olink database starting with:</para>
- <literallayout><literal><document targetdoc="adminguide" lang="de"></literal>.
- </literallayout>
- <para>If there is no such element, then the
- <parameter>olink.lang.fallback.sequence</parameter>
- parameter is consulted.
- If its value is, for example, <quote>fr en</quote>, then the processor next
- looks for <literal>targetdoc="adminguide" lang="fr"</literal>, and
- then for <literal>targetdoc="adminguide" lang="en"</literal>.
- If there is still no match, it looks for
- <literal>targetdoc="adminguide"</literal> with no
- lang attribute.
- </para>
- <para>This parameter is useful when a set of documents is only
- partially translated, or is in the process of being translated.
- If a target of an olink has not yet been translated, then this
- parameter permits the processor to look for the document in
- other languages. This assumes the reader would rather have
- a link to a document in a different language than to have
- a broken link.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="olink.properties">
- <refmeta>
- <refentrytitle>olink.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>olink.properties</refname>
- <refpurpose>Properties associated with the cross-reference
- text of an olink.</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="olink.properties.frag">
- <xsl:attribute-set name="olink.properties">
- <xsl:attribute name="show-destination">replace</xsl:attribute>
- </xsl:attribute-set>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>This <literal>attribute set</literal> is applied to the
- <literal>fo:basic-link</literal> element of an olink. It is not applied to the
- optional page number or optional title of the external
- document.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="prefer.internal.olink">
- <refmeta>
- <refentrytitle>prefer.internal.olink</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>prefer.internal.olink</refname>
- <refpurpose>Prefer a local olink reference to an external reference</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="prefer.internal.olink.frag">
- <xsl:param name="prefer.internal.olink" select="0"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If you are re-using XML content modules in multiple documents,
- you may want to redirect some of your olinks. This parameter
- permits you to redirect an olink to the current document.
- </para>
- <para>For example: you are writing documentation for a product,
- which includes 3 manuals: a little installation
- booklet (booklet.xml), a user
- guide (user.xml), and a reference manual (reference.xml).
- All 3 documents begin with the same introduction section (intro.xml) that
- contains a reference to the customization section (custom.xml) which is
- included in both user.xml and reference.xml documents.
- </para>
- <para>How do you write the link to custom.xml in intro.xml
- so that it is interpreted correctly in all 3 documents?</para>
- <itemizedlist>
- <listitem><para>If you use xref, it will fail in user.xml.</para>
- </listitem>
- <listitem><para>If you use olink (pointing to reference.xml),
- the reference in user.xml
- will point to the customization section of the reference manual, while it is
- actually available in user.xml.</para>
- </listitem>
- </itemizedlist>
- <para>If you set the <parameter>prefer.internal.olink</parameter>
- parameter to a non-zero value, then the processor will
- first look in the olink database
- for the olink's <tag>targetptr</tag> attribute value
- in document matching the <parameter>current.docid</parameter>
- parameter value. If it isn't found there, then
- it tries the document in the database
- with the <tag>targetdoc</tag>
- value that matches the olink's <tag>targetdoc</tag>
- attribute.
- </para>
- <para>This feature permits an olink reference to resolve to
- the current document if there is an element
- with an id matching the olink's <tag>targetptr</tag>
- value. The current document's olink data must be
- included in the target database for this to work.</para>
- <caution>
- <para>There is a potential for incorrect links if
- the same <tag>id</tag> attribute value is used for different
- content in different documents.
- Some of your olinks may be redirected to the current document
- when they shouldn't be. It is not possible to control
- individual olink instances.</para>
- </caution>
- </refsection>
- </refentry>
- <refentry version="5.0" id="target.database.document">
- <refmeta>
- <refentrytitle>target.database.document</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">uri</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>target.database.document</refname>
- <refpurpose>Name of master database file for resolving
- olinks</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="target.database.document.frag">
- <xsl:param name="target.database.document">olinkdb.xml</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
-
- <para>
- To resolve olinks between documents, the stylesheets use a master
- database document that identifies the target datafiles for all the
- documents within the scope of the olinks. This parameter value is the
- URI of the master document to be read during processing to resolve
- olinks. The default value is <filename>olinkdb.xml</filename>.</para>
- <para>The data structure of the file is defined in the
- <filename>targetdatabase.dtd</filename> DTD. The database file
- provides the high level elements to record the identifiers, locations,
- and relationships of documents. The cross reference data for
- individual documents is generally pulled into the database using
- system entity references or XIncludes. See also
- <parameter>targets.filename</parameter>. </para> </refsection>
- </refentry>
- <refentry version="5.0" id="targets.filename">
- <refmeta>
- <refentrytitle>targets.filename</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>targets.filename</refname>
- <refpurpose>Name of cross reference targets data file</refpurpose>
- </refnamediv>
- <refsynopsisdiv> <programlisting id="targets.filename.frag">
- <xsl:param name="targets.filename">target.db</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
-
- <para>
- In order to resolve olinks efficiently, the stylesheets can
- generate an external data file containing information about
- all potential cross reference endpoints in a document.
- This parameter lets you change the name of the generated
- file from the default name <filename>target.db</filename>.
- The name must agree with that used in the target database
- used to resolve olinks during processing.
- See also <parameter>target.database.document</parameter>.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="use.local.olink.style">
- <refmeta>
- <refentrytitle>use.local.olink.style</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>use.local.olink.style</refname>
- <refpurpose>Process olinks using xref style of current
- document</refpurpose>
- </refnamediv>
- <refsynopsisdiv> <programlisting id="use.local.olink.style.frag">
- <xsl:param name="use.local.olink.style" select="0"></xsl:param> </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
-
- <para>When cross reference data is collected for use by olinks, the data for each potential target includes one field containing a completely assembled cross reference string, as if it were an xref generated in that document. Other fields record the separate title, number, and element name of each target. When an olink is formed to a target from another document, the olink resolves to that preassembled string by default. If the <parameter>use.local.olink.style</parameter> parameter is set to non-zero, then instead the cross
- reference string is formed again from the target title, number, and
- element name, using the stylesheet processing the targeting document.
- Then olinks will match the xref style in the targeting document
- rather than in the target document. If both documents are processed
- with the same stylesheet, then the results will be the same.</para>
- </refsection>
- </refentry>
- </reference><reference id="xrefs" xml:base="../fo/param.xml"><title>Cross References</title>
- <refentry version="5.0" id="insert.xref.page.number">
- <refmeta>
- <refentrytitle>insert.xref.page.number</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">list</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">no</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">yes</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">maybe</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>insert.xref.page.number</refname>
- <refpurpose>Turns page numbers in xrefs on and off</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="insert.xref.page.number.frag">
- <xsl:param name="insert.xref.page.number">no</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The value of this parameter determines if
- cross references (<tag>xref</tag>s) in
- printed output will
- include page number citations.
- It has three possible values.
- </para>
- <variablelist>
- <varlistentry>
- <term>no</term>
- <listitem><para>No page number references will be generated.
- </para></listitem>
- </varlistentry>
- <varlistentry>
- <term>yes</term>
- <listitem><para>Page number references will be generated
- for all <tag>xref</tag> elements.
- The style of page reference may be changed
- if an <tag class="attribute">xrefstyle</tag>
- attribute is used.
- </para></listitem>
- </varlistentry>
- <varlistentry>
- <term>maybe</term>
- <listitem><para>Page number references will not be generated
- for an <tag>xref</tag> element unless
- it has an
- <tag class="attribute">xrefstyle</tag>
- attribute whose value specifies a page reference.
- </para></listitem>
- </varlistentry>
- </variablelist>
- </refsection>
- </refentry>
- <refentry version="5.0" id="xref.properties">
- <refmeta>
- <refentrytitle>xref.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>xref.properties</refname>
- <refpurpose>Properties associated with cross-reference text</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="xref.properties.frag">
- <xsl:attribute-set name="xref.properties">
- </xsl:attribute-set>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>This attribute set is used to set properties
- on cross reference text.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="xref.label-title.separator">
- <refmeta>
- <refentrytitle>xref.label-title.separator</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>xref.label-title.separator</refname>
- <refpurpose>Punctuation or space separating label from title in xref</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="xref.label-title.separator.frag"><xsl:param name="xref.label-title.separator">: </xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>
- This parameter allows you to control the punctuation of certain
- types of generated cross reference text.
- When cross reference text is generated for an
- <tag class="element">xref</tag> or
- <tag class="element">olink</tag> element
- using an <tag class="attribute">xrefstyle</tag> attribute
- that makes use of the <literal>select:</literal> feature,
- and the selected components include both label and title,
- then the value of this parameter is inserted between
- label and title in the output.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="xref.label-page.separator">
- <refmeta>
- <refentrytitle>xref.label-page.separator</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>xref.label-page.separator</refname>
- <refpurpose>Punctuation or space separating label from page number in xref</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="xref.label-page.separator.frag"><xsl:param name="xref.label-page.separator"><xsl:text> </xsl:text></xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>
- This parameter allows you to control the punctuation of certain
- types of generated cross reference text.
- When cross reference text is generated for an
- <tag class="element">xref</tag> or
- <tag class="element">olink</tag> element
- using an <tag class="attribute">xrefstyle</tag> attribute
- that makes use of the <literal>select:</literal> feature,
- and the selected components include both label and page
- but no title,
- then the value of this parameter is inserted between
- label and page number in the output.
- If a title is included, then other separators are used.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="xref.title-page.separator">
- <refmeta>
- <refentrytitle>xref.title-page.separator</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>xref.title-page.separator</refname>
- <refpurpose>Punctuation or space separating title from page number in xref</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="xref.title-page.separator.frag"><xsl:param name="xref.title-page.separator"><xsl:text> </xsl:text></xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>
- This parameter allows you to control the punctuation of certain
- types of generated cross reference text.
- When cross reference text is generated for an
- <tag class="element">xref</tag> or
- <tag class="element">olink</tag> element
- using an <tag class="attribute">xrefstyle</tag> attribute
- that makes use of the <literal>select:</literal> feature,
- and the selected components include both title and page number,
- then the value of this parameter is inserted between
- title and page number in the output.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="insert.link.page.number">
- <refmeta>
- <refentrytitle>insert.link.page.number</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">list</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">no</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">yes</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">maybe</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>insert.link.page.number</refname>
- <refpurpose>Turns page numbers in link elements on and off</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="insert.link.page.number.frag">
- <xsl:param name="insert.link.page.number">no</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The value of this parameter determines if
- cross references using the <tag>link</tag> element in
- printed output will
- include standard page number citations.
- It has three possible values.
- </para>
- <variablelist>
- <varlistentry>
- <term>no</term>
- <listitem><para>No page number references will be generated.
- </para></listitem>
- </varlistentry>
- <varlistentry>
- <term>yes</term>
- <listitem><para>Page number references will be generated
- for all <tag>link</tag> elements.
- The style of page reference may be changed
- if an <tag class="attribute">xrefstyle</tag>
- attribute is used.
- </para></listitem>
- </varlistentry>
- <varlistentry>
- <term>maybe</term>
- <listitem><para>Page number references will not be generated
- for a <tag>link</tag> element unless
- it has an
- <tag class="attribute">xrefstyle</tag>
- attribute whose value specifies a page reference.
- </para></listitem>
- </varlistentry>
- </variablelist>
- <para>Although the <tag>xrefstyle</tag> attribute
- can be used to turn the page reference on or off, it cannot be
- used to control the formatting of the page number as it
- can in <tag>xref</tag>.
- In <tag>link</tag> it will always format with
- the style established by the
- gentext template with <literal>name="page.citation"</literal>
- in the <literal>l:context name="xref"</literal>.
- </para>
- </refsection>
- </refentry>
- </reference><reference id="lists" xml:base="../fo/param.xml"><title>Lists</title>
- <refentry version="5.0" id="compact.list.item.spacing">
- <refmeta>
- <refentrytitle>compact.list.item.spacing</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>compact.list.item.spacing</refname>
- <refpurpose>What space do you want between list items (when spacing="compact")?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="compact.list.item.spacing.frag"><xsl:attribute-set name="compact.list.item.spacing">
- <xsl:attribute name="space-before.optimum">0em</xsl:attribute>
- <xsl:attribute name="space-before.minimum">0em</xsl:attribute>
- <xsl:attribute name="space-before.maximum">0.2em</xsl:attribute>
- </xsl:attribute-set></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Specify what spacing you want between each list item when
- <tag class="attribute">spacing</tag> is
- <quote><literal>compact</literal></quote>.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="itemizedlist.properties">
- <refmeta>
- <refentrytitle>itemizedlist.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>itemizedlist.properties</refname>
- <refpurpose>Properties that apply to each list-block generated by itemizedlist.</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="itemizedlist.properties.frag"><xsl:attribute-set name="itemizedlist.properties" use-attribute-sets="list.block.properties">
- </xsl:attribute-set></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Properties that apply to each fo:list-block generated by itemizedlist.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="itemizedlist.label.properties">
- <refmeta>
- <refentrytitle>itemizedlist.label.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>itemizedlist.label.properties</refname>
- <refpurpose>Properties that apply to each label inside itemized list.</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="itemizedlist.label.properties.frag"><xsl:attribute-set name="itemizedlist.label.properties">
- </xsl:attribute-set></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Properties that apply to each label inside itemized list. E.g.:</para>
- <programlisting><xsl:attribute-set name="itemizedlist.label.properties">
- <xsl:attribute name="text-align">right</xsl:attribute>
- </xsl:attribute-set></programlisting>
- </refsection>
- </refentry>
- <refentry version="5.0" id="itemizedlist.label.width">
- <refmeta>
- <refentrytitle>itemizedlist.label.width</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">length</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>itemizedlist.label.width</refname>
- <refpurpose>The default width of the label (bullet) in an itemized list.</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="itemizedlist.label.width.frag">
- <xsl:param name="itemizedlist.label.width">1.0em</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Specifies the default width of the label (usually a bullet or other
- symbol) in an itemized list. You can override the default value on any
- particular list with the “dbfo” processing instruction using the
- “label-width” pseudoattribute.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="list.block.properties">
- <refmeta>
- <refentrytitle>list.block.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>list.block.properties</refname>
- <refpurpose>Properties that apply to each list-block generated by list.</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="list.block.properties.frag"><xsl:attribute-set name="list.block.properties">
- <xsl:attribute name="provisional-label-separation">0.2em</xsl:attribute>
- <xsl:attribute name="provisional-distance-between-starts">1.5em</xsl:attribute>
- </xsl:attribute-set></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Properties that apply to each fo:list-block generated by itemizedlist/orderedlist.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="list.block.spacing">
- <refmeta>
- <refentrytitle>list.block.spacing</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>list.block.spacing</refname>
- <refpurpose>What spacing do you want before and after lists?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="list.block.spacing.frag"><xsl:attribute-set name="list.block.spacing">
- <xsl:attribute name="space-before.optimum">1em</xsl:attribute>
- <xsl:attribute name="space-before.minimum">0.8em</xsl:attribute>
- <xsl:attribute name="space-before.maximum">1.2em</xsl:attribute>
- <xsl:attribute name="space-after.optimum">1em</xsl:attribute>
- <xsl:attribute name="space-after.minimum">0.8em</xsl:attribute>
- <xsl:attribute name="space-after.maximum">1.2em</xsl:attribute>
- </xsl:attribute-set></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Specify the spacing required before and after a list. It is necessary to specify the space after a list block because lists can come inside of paras. </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="list.item.spacing">
- <refmeta>
- <refentrytitle>list.item.spacing</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>list.item.spacing</refname>
- <refpurpose>What space do you want between list items?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="list.item.spacing.frag"><xsl:attribute-set name="list.item.spacing">
- <xsl:attribute name="space-before.optimum">1em</xsl:attribute>
- <xsl:attribute name="space-before.minimum">0.8em</xsl:attribute>
- <xsl:attribute name="space-before.maximum">1.2em</xsl:attribute>
- </xsl:attribute-set></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Specify what spacing you want between each list item.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="orderedlist.properties">
- <refmeta>
- <refentrytitle>orderedlist.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>orderedlist.properties</refname>
- <refpurpose>Properties that apply to each list-block generated by orderedlist.</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="orderedlist.properties.frag"><xsl:attribute-set name="orderedlist.properties" use-attribute-sets="list.block.properties">
- <xsl:attribute name="provisional-distance-between-starts">2em</xsl:attribute>
- </xsl:attribute-set></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Properties that apply to each fo:list-block generated by orderedlist.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="orderedlist.label.properties">
- <refmeta>
- <refentrytitle>orderedlist.label.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>orderedlist.label.properties</refname>
- <refpurpose>Properties that apply to each label inside ordered list.</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="orderedlist.label.properties.frag"><xsl:attribute-set name="orderedlist.label.properties">
- </xsl:attribute-set></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Properties that apply to each label inside ordered list. E.g.:</para>
- <programlisting><xsl:attribute-set name="orderedlist.label.properties">
- <xsl:attribute name="text-align">right</xsl:attribute>
- </xsl:attribute-set></programlisting>
- </refsection>
- </refentry>
- <refentry version="5.0" id="orderedlist.label.width">
- <refmeta>
- <refentrytitle>orderedlist.label.width</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">length</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>orderedlist.label.width</refname>
- <refpurpose>The default width of the label (number) in an ordered list.</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="orderedlist.label.width.frag">
- <xsl:param name="orderedlist.label.width">1.2em</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Specifies the default width of the label (usually a number or
- sequence of numbers) in an ordered list. You can override the default
- value on any particular list with the “dbfo” processing instruction
- using the “label-width” pseudoattribute.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="variablelist.max.termlength">
- <refmeta>
- <refentrytitle>variablelist.max.termlength</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">number</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>variablelist.max.termlength</refname>
- <refpurpose>Specifies the longest term in variablelists</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="variablelist.max.termlength.frag">
- <xsl:param name="variablelist.max.termlength">24</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>In variablelists, the <tag>listitem</tag>
- is indented to leave room for the
- <tag>term</tag> elements. That indent may be computed
- if it is not specified with a <tag class="attribute">termlength</tag>
- attribute on the <tag>variablelist</tag> element.
- </para>
- <para>
- The computation counts characters in the
- <tag>term</tag> elements in the list
- to find the longest term. However, some terms are very long
- and would produce extreme indents. This parameter lets you
- set a maximum character count. Any terms longer than the maximum
- would line wrap. The default value is 24.
- </para>
- <para>
- The character counts are converted to physical widths
- by multiplying by 0.50em. There will be some variability
- in how many actual characters fit in the space
- since some characters are wider than others.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="variablelist.term.separator">
- <refmeta>
- <refentrytitle>variablelist.term.separator</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>variablelist.term.separator</refname>
- <refpurpose>Text to separate <tag>term</tag>s within a multi-term
- <tag>varlistentry</tag></refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="variablelist.term.separator.frag">
- <xsl:param name="variablelist.term.separator">, </xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>When a <tag>varlistentry</tag> contains multiple <tag>term</tag>
- elements, the string specified in the value of the
- <parameter>variablelist.term.separator</parameter> parameter is placed
- after each <tag>term</tag> except the last.</para>
- <note>
- <para>To generate a line break between multiple <tag>term</tag>s in
- a <tag>varlistentry</tag>, set a non-zero value for the
- <parameter>variablelist.term.break.after</parameter> parameter. If
- you do so, you may also want to set the value of the
- <parameter>variablelist.term.separator</parameter> parameter to an
- empty string (to suppress rendering of the default comma and space
- after each <tag>term</tag>).</para>
- </note>
- </refsection>
- </refentry>
- <refentry version="5.0" id="variablelist.term.properties">
- <refmeta>
- <refentrytitle>variablelist.term.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>variablelist.term.properties</refname>
- <refpurpose>To add properties to the term elements in a variablelist.</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="variablelist.term.properties.frag">
- <xsl:attribute-set name="variablelist.term.properties">
- </xsl:attribute-set>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>These properties are added to the block containing a
- term in a variablelist.
- Use this attribute-set to set
- font properties or alignment, for example.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="variablelist.term.break.after">
- <refmeta>
- <refentrytitle>variablelist.term.break.after</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>variablelist.term.break.after</refname>
- <refpurpose>Generate line break after each <tag>term</tag> within a
- multi-term <tag>varlistentry</tag>?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="variablelist.term.break.after.frag">
- <xsl:param name="variablelist.term.break.after">0</xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Set a non-zero value for the
- <parameter>variablelist.term.break.after</parameter> parameter to
- generate a line break between <tag>term</tag>s in a
- multi-term <tag>varlistentry</tag>.</para>
- <note>
- <para>If you set a non-zero value for
- <parameter>variablelist.term.break.after</parameter>, you may also
- want to set the value of the
- <parameter>variablelist.term.separator</parameter> parameter to an
- empty string (to suppress rendering of the default comma and space
- after each <tag>term</tag>).</para>
- </note>
- </refsection>
- </refentry>
- </reference><reference id="qa" xml:base="../fo/param.xml"><title>QAndASet</title>
- <refentry version="5.0" id="qandadiv.autolabel">
- <refmeta>
- <refentrytitle>qandadiv.autolabel</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>qandadiv.autolabel</refname>
- <refpurpose>Are divisions in QAndASets enumerated?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="qandadiv.autolabel.frag"><xsl:param name="qandadiv.autolabel" select="1"></xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, unlabeled qandadivs will be enumerated.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="qanda.inherit.numeration">
- <refmeta>
- <refentrytitle>qanda.inherit.numeration</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>qanda.inherit.numeration</refname>
- <refpurpose>Does enumeration of QandASet components inherit the numeration of parent elements?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="qanda.inherit.numeration.frag">
- <xsl:param name="qanda.inherit.numeration" select="1"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, numbered <tag>qandadiv</tag> elements and
- <tag>question</tag> and <tag>answer</tag> inherit the enumeration of
- the ancestors of the <tag>qandaset</tag>.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="qanda.defaultlabel">
- <refmeta>
- <refentrytitle>qanda.defaultlabel</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">list</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">number</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">qanda</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">none</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>qanda.defaultlabel</refname>
- <refpurpose>Sets the default for defaultlabel on QandASet.</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="qanda.defaultlabel.frag">
- <xsl:param name="qanda.defaultlabel">number</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If no <literal>defaultlabel</literal> attribute is specified on
- a <tag>qandaset</tag>, this value is used. It is generally one of the legal
- values for the defaultlabel attribute (<literal>none</literal>,
- <literal>number</literal> or
- <literal>qanda</literal>), or one of the additional stylesheet-specific values
- (<literal>qnumber</literal> or <literal>qnumberanda</literal>).
- The default value is 'number'.
- </para>
- <para>The values are rendered as follows:</para>
- <variablelist>
- <varlistentry><term><literal>qanda</literal></term>
- <listitem>
- <para><tag>question</tag>s are labeled "Q:" and
- <tag>answer</tag>s are labeled "A:". </para>
- </listitem>
- </varlistentry>
- <varlistentry><term><literal>number</literal></term>
- <listitem>
- <para>The questions are enumerated and the answers
- are not labeled. </para>
- </listitem>
- </varlistentry>
- <varlistentry><term><literal>qnumber</literal></term>
- <listitem>
- <para>The questions are labeled "Q:" followed by a number, and answers are not
- labeled.
- When sections are numbered, adding a label
- to the number distinguishes the question numbers
- from the section numbers.
- This value is not allowed in the
- <tag class="attribute">defaultlabel</tag> attribute
- of a <tag>qandaset</tag> element.</para>
- </listitem>
- </varlistentry>
- <varlistentry><term><literal>qnumberanda</literal></term>
- <listitem>
- <para>The questions are labeled "Q:" followed by a number, and
- the answers are labeled "A:".
- When sections are numbered, adding a label
- to the number distinguishes the question numbers
- from the section numbers.
- This value is not allowed in the
- <tag class="attribute">defaultlabel</tag> attribute
- of a <tag>qandaset</tag> element.</para>
- </listitem>
- </varlistentry>
- <varlistentry><term><literal>none</literal></term>
- <listitem>
- <para>No distinguishing label precedes Questions or Answers.
- </para>
- </listitem>
- </varlistentry>
- </variablelist>
- </refsection>
- </refentry>
- <refentry version="5.0" id="qanda.in.toc">
- <refmeta>
- <refentrytitle>qanda.in.toc</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>qanda.in.toc</refname>
- <refpurpose>Should qandaentry questions appear in
- the document table of contents?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="qanda.in.toc.frag"><xsl:param name="qanda.in.toc" select="0"></xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If true (non-zero), then the generated table of contents
- for a document will include <tag>qandaset</tag> titles,
- <tag>qandadiv</tag> titles,
- and <tag>question</tag> elements. The default value (zero) excludes
- them from the TOC.
- </para>
- <para>This parameter does not affect any tables of contents
- that may be generated inside a qandaset or qandadiv.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="qanda.nested.in.toc">
- <refmeta>
- <refentrytitle>qanda.nested.in.toc</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>qanda.nested.in.toc</refname>
- <refpurpose>Should nested answer/qandaentry instances appear in TOC?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="qanda.nested.in.toc.frag">
- <xsl:param name="qanda.nested.in.toc" select="0"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, instances of <tag>qandaentry</tag>
- that are children of <tag>answer</tag> elements are shown in
- the TOC.</para>
- </refsection>
- </refentry>
- </reference><reference id="biblio" xml:base="../fo/param.xml"><title>Bibliography</title>
- <refentry version="5.0" id="bibliography.style">
- <refmeta>
- <refentrytitle>bibliography.style</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">list</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">normal</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">iso690</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>bibliography.style</refname>
- <refpurpose>Style used for formatting of biblioentries.</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="bibliography.style.frag">
- <xsl:param name="bibliography.style">normal</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Currently only <literal>normal</literal> and
- <literal>iso690</literal> styles are supported.</para>
- <para>In order to use ISO690 style to the full extent you might need
- to use additional markup described on <link xlink:href="http://wiki.docbook.org/topic/ISO690Bibliography">the
- following WiKi page</link>.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="biblioentry.item.separator">
- <refmeta>
- <refentrytitle>biblioentry.item.separator</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>biblioentry.item.separator</refname>
- <refpurpose>Text to separate bibliography entries</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="biblioentry.item.separator.frag"><xsl:param name="biblioentry.item.separator">. </xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Text to separate bibliography entries
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="bibliography.collection">
- <refmeta>
- <refentrytitle>bibliography.collection</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>bibliography.collection</refname>
- <refpurpose>Name of the bibliography collection file</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="bibliography.collection.frag">
- <xsl:param name="bibliography.collection">http://docbook.sourceforge.net/release/bibliography/bibliography.xml</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Maintaining bibliography entries across a set of documents is tedious, time
- consuming, and error prone. It makes much more sense, usually, to store all of
- the bibliography entries in a single place and simply <quote>extract</quote>
- the ones you need in each document.</para>
- <para>That's the purpose of the
- <parameter>bibliography.collection</parameter> parameter. To setup a global
- bibliography <quote>database</quote>, follow these steps:</para>
- <para>First, create a stand-alone bibliography document that contains all of
- the documents that you wish to reference. Make sure that each bibliography
- entry (whether you use <tag>biblioentry</tag> or <tag>bibliomixed</tag>)
- has an ID.</para>
- <para>My global bibliography, <filename>~/bibliography.xml</filename> begins
- like this:</para>
- <informalexample>
- <programlisting><!DOCTYPE bibliography
- PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
- "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
- <bibliography><title>References</title>
- <bibliomixed id="xml-rec"><abbrev>XML 1.0</abbrev>Tim Bray,
- Jean Paoli, C. M. Sperberg-McQueen, and Eve Maler, editors.
- <citetitle><ulink url="http://www.w3.org/TR/REC-xml">Extensible Markup
- Language (XML) 1.0 Second Edition</ulink></citetitle>.
- World Wide Web Consortium, 2000.
- </bibliomixed>
- <bibliomixed id="xml-names"><abbrev>Namespaces</abbrev>Tim Bray,
- Dave Hollander,
- and Andrew Layman, editors.
- <citetitle><ulink url="http://www.w3.org/TR/REC-xml-names/">Namespaces in
- XML</ulink></citetitle>.
- World Wide Web Consortium, 1999.
- </bibliomixed>
- <!-- ... -->
- </bibliography>
- </programlisting>
- </informalexample>
- <para>When you create a bibliography in your document, simply
- provide <emphasis>empty</emphasis> <tag>bibliomixed</tag>
- entries for each document that you wish to cite. Make sure that these
- elements have the same ID as the corresponding <quote>real</quote>
- entry in your global bibliography.</para>
- <para>For example:</para>
- <informalexample>
- <programlisting><bibliography><title>Bibliography</title>
- <bibliomixed id="xml-rec"/>
- <bibliomixed id="xml-names"/>
- <bibliomixed id="DKnuth86">Donald E. Knuth. <citetitle>Computers and
- Typesetting: Volume B, TeX: The Program</citetitle>. Addison-Wesley,
- 1986. ISBN 0-201-13437-3.
- </bibliomixed>
- <bibliomixed id="relaxng"/>
- </bibliography></programlisting>
- </informalexample>
- <para>Note that it's perfectly acceptable to mix entries from your
- global bibliography with <quote>normal</quote> entries. You can use
- <tag>xref</tag> or other elements to cross-reference your
- bibliography entries in exactly the same way you do now.</para>
- <para>Finally, when you are ready to format your document, simply set the
- <parameter>bibliography.collection</parameter> parameter (in either a
- customization layer or directly through your processor's interface) to
- point to your global bibliography.</para>
- <para>A relative path in the parameter is interpreted in one
- of two ways:</para>
- <orderedlist numeration="loweralpha">
- <listitem>
- <para>If your document contains no links to empty bibliographic elements,
- then the path is relative to the file containing
- the first <tag>bibliomixed</tag> element in the document.</para>
- </listitem>
- <listitem>
- <para>If your document does contain links to empty bibliographic elements,
- then the path is relative to the file containing
- the first such link element in the document.</para>
- </listitem>
- </orderedlist>
- <para>Once the collection file is opened by the first instance described
- above, it stays open for the current document
- and the relative path is not reinterpreted again.</para>
- <para>The stylesheets will format the bibliography in your document as if
- all of the entries referenced appeared there literally.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="bibliography.numbered">
- <refmeta>
- <refentrytitle>bibliography.numbered</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>bibliography.numbered</refname>
- <refpurpose>Should bibliography entries be numbered?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="bibliography.numbered.frag">
- <xsl:param name="bibliography.numbered" select="0"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero bibliography entries will be numbered</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="biblioentry.properties">
- <refmeta>
- <refentrytitle>biblioentry.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>biblioentry.properties</refname>
- <refpurpose>To set the style for biblioentry.</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="biblioentry.properties.frag"><xsl:attribute-set name="biblioentry.properties" use-attribute-sets="normal.para.spacing">
- <xsl:attribute name="start-indent">0.5in</xsl:attribute>
- <xsl:attribute name="text-indent">-0.5in</xsl:attribute>
- </xsl:attribute-set>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>How do you want biblioentry styled? </para>
- <para>Set the font-size, weight, space-above and space-below, indents, etc. to the style required</para>
- </refsection>
- </refentry>
- </reference><reference id="glossary" xml:base="../fo/param.xml"><title>Glossary</title>
- <refentry version="5.0" id="glossterm.auto.link">
- <refmeta>
- <refentrytitle>glossterm.auto.link</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>glossterm.auto.link</refname>
- <refpurpose>Generate links from glossterm to glossentry automatically?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="glossterm.auto.link.frag">
- <xsl:param name="glossterm.auto.link" select="0"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, links from inline <tag>glossterm</tag>s to the corresponding
- <tag>glossentry</tag> elements in a <tag>glossary</tag> or <tag>glosslist</tag>
- will be automatically generated. This is useful when your glossterms are consistent
- and you don't want to add links manually.</para>
- <para>The automatic link generation feature is not used on <tag>glossterm</tag> elements
- that have a <tag class="attribute">linkend</tag> attribute.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="firstterm.only.link">
- <refmeta>
- <refentrytitle>firstterm.only.link</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>firstterm.only.link</refname>
- <refpurpose>Does automatic glossterm linking only apply to firstterms?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="firstterm.only.link.frag">
- <xsl:param name="firstterm.only.link" select="0"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, only <tag>firstterm</tag>s will be automatically linked
- to the glossary. If glossary linking is not enabled, this parameter
- has no effect.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="glossary.collection">
- <refmeta>
- <refentrytitle>glossary.collection</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>glossary.collection</refname>
- <refpurpose>Name of the glossary collection file</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="glossary.collection.frag">
- <xsl:param name="glossary.collection"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Glossaries maintained independently across a set of documents
- are likely to become inconsistent unless considerable effort is
- expended to keep them in sync. It makes much more sense, usually, to
- store all of the glossary entries in a single place and simply
- <quote>extract</quote> the ones you need in each document.</para>
- <para>That's the purpose of the
- <parameter>glossary.collection</parameter> parameter. To setup a global
- glossary <quote>database</quote>, follow these steps:</para>
- <refsection><info><title>Setting Up the Glossary Database</title></info>
- <para>First, create a stand-alone glossary document that contains all of
- the entries that you wish to reference. Make sure that each glossary
- entry has an ID.</para>
- <para>Here's an example glossary:</para>
- <informalexample>
- <programlisting>
- <?xml version="1.0" encoding="utf-8"?>
- <!DOCTYPE glossary
- PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
- "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
- <glossary>
- <glossaryinfo>
- <editor><firstname>Eric</firstname><surname>Raymond</surname></editor>
- <title>Jargon File 4.2.3 (abridged)</title>
- <releaseinfo>Just some test data</releaseinfo>
- </glossaryinfo>
- <glossdiv><title>0</title>
- <glossentry>
- <glossterm>0</glossterm>
- <glossdef>
- <para>Numeric zero, as opposed to the letter `O' (the 15th letter of
- the English alphabet). In their unmodified forms they look a lot
- alike, and various kluges invented to make them visually distinct have
- compounded the confusion. If your zero is center-dotted and letter-O
- is not, or if letter-O looks almost rectangular but zero looks more
- like an American football stood on end (or the reverse), you're
- probably looking at a modern character display (though the dotted zero
- seems to have originated as an option on IBM 3270 controllers). If
- your zero is slashed but letter-O is not, you're probably looking at
- an old-style ASCII graphic set descended from the default typewheel on
- the venerable ASR-33 Teletype (Scandinavians, for whom /O is a letter,
- curse this arrangement). (Interestingly, the slashed zero long
- predates computers; Florian Cajori's monumental "A History of
- Mathematical Notations" notes that it was used in the twelfth and
- thirteenth centuries.) If letter-O has a slash across it and the zero
- does not, your display is tuned for a very old convention used at IBM
- and a few other early mainframe makers (Scandinavians curse <emphasis>this</emphasis>
- arrangement even more, because it means two of their letters collide).
- Some Burroughs/Unisys equipment displays a zero with a <emphasis>reversed</emphasis>
- slash. Old CDC computers rendered letter O as an unbroken oval and 0
- as an oval broken at upper right and lower left. And yet another
- convention common on early line printers left zero unornamented but
- added a tail or hook to the letter-O so that it resembled an inverted
- Q or cursive capital letter-O (this was endorsed by a draft ANSI
- standard for how to draw ASCII characters, but the final standard
- changed the distinguisher to a tick-mark in the upper-left corner).
- Are we sufficiently confused yet?</para>
- </glossdef>
- </glossentry>
- <glossentry>
- <glossterm>1TBS</glossterm>
- <glossdef>
- <para role="accidence">
- <phrase role="pronounce"></phrase>
- <phrase role="partsofspeach">n</phrase>
- </para>
- <para>The "One True Brace Style"</para>
- <glossseealso>indent style</glossseealso>
- </glossdef>
- </glossentry>
- <!-- ... -->
- </glossdiv>
- <!-- ... -->
- </glossary></programlisting>
- </informalexample>
- </refsection>
- <refsection><info><title>Marking Up Glossary Terms</title></info>
- <para>That takes care of the glossary database, now you have to get the entries
- into your document. Unlike bibliography entries, which can be empty, creating
- <quote>placeholder</quote> glossary entries would be very tedious. So instead,
- support for <parameter>glossary.collection</parameter> relies on implicit linking.</para>
- <para>In your source document, simply use <tag>firstterm</tag> and
- <tag>glossterm</tag> to identify the terms you wish to have included
- in the glossary. The stylesheets assume that you will either set the
- <tag class="attribute">baseform</tag> attribute correctly, or that the
- content of the element exactly matches a term in your glossary.</para>
- <para>If you're using a <parameter>glossary.collection</parameter>, don't
- make explicit links on the terms in your document.</para>
- <para>So, in your document, you might write things like this:</para>
- <informalexample>
- <programlisting><para>This is dummy text, without any real meaning.
- The point is simply to reference glossary terms like <glossterm>0</glossterm>
- and the <firstterm baseform="1TBS">One True Brace Style (1TBS)</firstterm>.
- The <glossterm>1TBS</glossterm>, as you can probably imagine, is a nearly
- religious issue.</para></programlisting>
- </informalexample>
- <para>If you set the <parameter>firstterm.only.link</parameter> parameter,
- only the terms marked with <tag>firstterm</tag> will be links.
- Otherwise, all the terms will be linked.</para>
- </refsection>
- <refsection><info><title>Marking Up the Glossary</title></info>
- <para>The glossary itself has to be identified for the stylesheets. For lack
- of a better choice, the <tag class="attribute">role</tag> is used.
- To identify the glossary as the target for automatic processing, set
- the role to <quote><literal>auto</literal></quote>. The title of this
- glossary (and any other information from the <tag>glossaryinfo</tag>
- that's rendered by your stylesheet) will be displayed, but the entries will
- come from the database.
- </para>
- <para>Unfortunately, the glossary can't be empty, so you must put in
- at least one <tag>glossentry</tag>. The content of this entry
- is irrelevant, it will not be rendered:</para>
- <informalexample>
- <programlisting><glossary role="auto">
- <glossentry>
- <glossterm>Irrelevant</glossterm>
- <glossdef>
- <para>If you can see this, the document was processed incorrectly. Use
- the <parameter>glossary.collection</parameter> parameter.</para>
- </glossdef>
- </glossentry>
- </glossary></programlisting>
- </informalexample>
- <para>What about glossary divisions? If your glossary database has glossary
- divisions <emphasis>and</emphasis> your automatic glossary contains at least
- one <tag>glossdiv</tag>, the automic glossary will have divisions.
- If the <tag>glossdiv</tag> is missing from either location, no divisions
- will be rendered.</para>
- <para>Glossary entries (and divisions, if appropriate) in the glossary will
- occur in precisely the order they occur in your database.</para>
- </refsection>
- <refsection><info><title>Formatting the Document</title></info>
- <para>Finally, when you are ready to format your document, simply set the
- <parameter>glossary.collection</parameter> parameter (in either a
- customization layer or directly through your processor's interface) to
- point to your global glossary.</para>
- <para>A relative path in the parameter is interpreted in one
- of two ways:</para>
- <orderedlist numeration="loweralpha">
- <listitem>
- <para>If the parameter <literal>glossterm.auto.link</literal>
- is set to zero, then the path is relative to the file containing
- the empty <tag>glossary</tag> element in the document.</para>
- </listitem>
- <listitem>
- <para>If the parameter <literal>glossterm.auto.link</literal>
- is set to non-zero, then the path is relative to the file containing
- the first inline <tag>glossterm</tag> or
- <tag>firstterm</tag> in the document to be linked.</para>
- </listitem>
- </orderedlist>
- <para>Once the collection file is opened by the first instance described
- above, it stays open for the current document
- and the relative path is not reinterpreted again.</para>
- <para>The stylesheets will format the glossary in your document as if
- all of the entries implicilty referenced appeared there literally.</para>
- </refsection>
- <refsection><info><title>Limitations</title></info>
- <para>Glossary cross-references <emphasis>within the glossary</emphasis> are
- not supported. For example, this <emphasis>will not</emphasis> work:</para>
- <informalexample>
- <programlisting><glossentry>
- <glossterm>gloss-1</glossterm>
- <glossdef><para>A description that references <glossterm>gloss-2</glossterm>.</para>
- <glossseealso>gloss-2</glossseealso>
- </glossdef>
- </glossentry></programlisting>
- </informalexample>
- <para>If you put glossary cross-references in your glossary that way,
- you'll get the cryptic error: <computeroutput>Warning:
- glossary.collection specified, but there are 0 automatic
- glossaries</computeroutput>.</para>
- <para>Instead, you must do two things:</para>
- <orderedlist>
- <listitem>
- <para>Markup your glossary using <tag>glossseealso</tag>:</para>
- <informalexample>
- <programlisting><glossentry>
- <glossterm>gloss-1</glossterm>
- <glossdef><para>A description that references <glossterm>gloss-2</glossterm>.</para>
- <glossseealso>gloss-2</glossseealso>
- </glossdef>
- </glossentry></programlisting>
- </informalexample>
- </listitem>
- <listitem>
- <para>Make sure there is at least one <tag>glossterm</tag> reference to
- <glossterm>gloss-2</glossterm> <emphasis>in your document</emphasis>. The
- easiest way to do that is probably within a <tag>remark</tag> in your
- automatic glossary:</para>
- <informalexample>
- <programlisting><glossary role="auto">
- <remark>Make sure there's a reference to <glossterm>gloss-2</glossterm>.</remark>
- <glossentry>
- <glossterm>Irrelevant</glossterm>
- <glossdef>
- <para>If you can see this, the document was processed incorrectly. Use
- the <parameter>glossary.collection</parameter> parameter.</para>
- </glossdef>
- </glossentry>
- </glossary></programlisting>
- </informalexample>
- </listitem>
- </orderedlist>
- </refsection>
- </refsection>
- </refentry>
- <refentry version="5.0" id="glossary.as.blocks">
- <refmeta>
- <refentrytitle>glossary.as.blocks</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>glossary.as.blocks</refname>
- <refpurpose>Present glossarys using blocks instead of lists?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="glossary.as.blocks.frag">
- <xsl:param name="glossary.as.blocks" select="0"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, <tag>glossary</tag>s will be formatted as
- blocks.</para>
- <para>If you have long <tag>glossterm</tag>s, proper list
- markup in the FO case may produce unattractive lists. By setting this
- parameter, you can force the stylesheets to produce block markup
- instead of proper lists.</para>
- <para>You can override this setting with a processing instruction as the
- child of <tag>glossary</tag>: <tag class="xmlpi">dbfo
- glossary-presentation="blocks"</tag> or <tag class="xmlpi">dbfo
- glossary-presentation="list"</tag></para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="glosslist.as.blocks">
- <refmeta>
- <refentrytitle>glosslist.as.blocks</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>glosslist.as.blocks</refname>
- <refpurpose>Use blocks for glosslists?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="glosslist.as.blocks.frag">
- <xsl:param name="glosslist.as.blocks" select="0"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>See <parameter>glossary.as.blocks</parameter>.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="glossentry.list.item.properties">
- <refmeta>
- <refentrytitle>glossentry.list.item.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>glossentry.list.item.properties</refname>
- <refpurpose>To add properties to each glossentry in a list.</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="glossentry.list.item.properties.frag"><xsl:attribute-set name="glossentry.list.item.properties">
- <xsl:attribute name="space-before.optimum">1em</xsl:attribute>
- <xsl:attribute name="space-before.minimum">0.8em</xsl:attribute>
- <xsl:attribute name="space-before.maximum">1.2em</xsl:attribute>
- </xsl:attribute-set>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>These properties are added to the fo:list-item containing a
- glossentry in a glossary when the <parameter>glossary.as.blocks</parameter> parameter
- is zero.
- Use this attribute-set to set
- spacing between entries, for example.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="glossterm.block.properties">
- <refmeta>
- <refentrytitle>glossterm.block.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>glossterm.block.properties</refname>
- <refpurpose>To add properties to the block of a glossentry's glossterm.</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="glossterm.block.properties.frag"><xsl:attribute-set name="glossterm.block.properties">
- <xsl:attribute name="space-before.optimum">1em</xsl:attribute>
- <xsl:attribute name="space-before.minimum">0.8em</xsl:attribute>
- <xsl:attribute name="space-before.maximum">1.2em</xsl:attribute>
- <xsl:attribute name="keep-with-next.within-column">always</xsl:attribute>
- <xsl:attribute name="keep-together.within-column">always</xsl:attribute>
- </xsl:attribute-set>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>These properties are added to the block containing a
- glossary term in a glossary when the <parameter>glossary.as.blocks</parameter> parameter
- is non-zero.
- Use this attribute-set to set the space above and below,
- font properties,
- and any indent for the glossary term.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="glossdef.block.properties">
- <refmeta>
- <refentrytitle>glossdef.block.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>glossdef.block.properties</refname>
- <refpurpose>To add properties to the block of a glossary definition.</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="glossdef.block.properties.frag"><xsl:attribute-set name="glossdef.block.properties">
- <xsl:attribute name="margin-{$direction.align.start}">.25in</xsl:attribute>
- </xsl:attribute-set>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>These properties are added to the block containing a
- glossary definition in a glossary when
- the <parameter>glossary.as.blocks</parameter> parameter
- is non-zero.
- Use this attribute-set to set the space above and below,
- any font properties,
- and any indent for the glossary definition.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="glossterm.list.properties">
- <refmeta>
- <refentrytitle>glossterm.list.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>glossterm.list.properties</refname>
- <refpurpose>To add properties to the glossterm in a list.</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="glossterm.list.properties.frag">
- <xsl:attribute-set name="glossterm.list.properties">
- </xsl:attribute-set>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>These properties are added to the block containing a
- glossary term in a glossary when the <parameter>glossary.as.blocks</parameter> parameter
- is zero.
- Use this attribute-set to set
- font properties, for example.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="glossdef.list.properties">
- <refmeta>
- <refentrytitle>glossdef.list.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>glossdef.list.properties</refname>
- <refpurpose>To add properties to the glossary definition in a list.</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="glossdef.list.properties.frag">
- <xsl:attribute-set name="glossdef.list.properties">
- </xsl:attribute-set>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>These properties are added to the block containing a
- glossary definition in a glossary when
- the <parameter>glossary.as.blocks</parameter> parameter
- is zero.
- Use this attribute-set to set font properties, for example.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="glossterm.width">
- <refmeta>
- <refentrytitle>glossterm.width</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">length</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>glossterm.width</refname>
- <refpurpose>Width of glossterm in list presentation mode</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="glossterm.width.frag">
- <xsl:param name="glossterm.width">2in</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>This parameter specifies the width reserved for glossary terms when
- a list presentation is used.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="glossterm.separation">
- <refmeta>
- <refentrytitle>glossterm.separation</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">length</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>glossterm.separation</refname>
- <refpurpose>Separation between glossary terms and descriptions in list mode</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="glossterm.separation.frag">
- <xsl:param name="glossterm.separation">0.25in</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Specifies the miminum horizontal
- separation between glossary terms and descriptions when
- they are presented side-by-side using lists
- when the <parameter>glossary.as.blocks</parameter>
- is zero.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="glossentry.show.acronym">
- <refmeta>
- <refentrytitle>glossentry.show.acronym</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">list</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">no</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">yes</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">primary</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>glossentry.show.acronym</refname>
- <refpurpose>Display <tag>glossentry</tag> acronyms?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="glossentry.show.acronym.frag">
- <xsl:param name="glossentry.show.acronym">no</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>A setting of <quote>yes</quote> means they should be displayed;
- <quote>no</quote> means they shouldn't. If <quote>primary</quote> is used,
- then they are shown as the primary text for the entry.</para>
- <note>
- <para>This setting controls both <tag>acronym</tag> and
- <tag>abbrev</tag> elements in the <tag>glossentry</tag>.</para>
- </note>
- </refsection>
- </refentry>
- <refentry version="5.0" id="glossary.sort">
- <refmeta>
- <refentrytitle>glossary.sort</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>glossary.sort</refname>
- <refpurpose>Sort glossentry elements?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="glossary.sort.frag">
- <xsl:param name="glossary.sort" select="0"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, then the glossentry elements within a
- glossary, glossdiv, or glosslist are sorted on the glossterm, using
- the current lang setting. If zero (the default), then
- glossentry elements are not sorted and are presented
- in document order.
- </para>
- </refsection>
- </refentry>
- </reference><reference id="misc" xml:base="../fo/param.xml"><title>Miscellaneous</title>
- <refentry version="5.0" id="formal.procedures">
- <refmeta>
- <refentrytitle>formal.procedures</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>formal.procedures</refname>
- <refpurpose>Selects formal or informal procedures</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="formal.procedures.frag">
- <xsl:param name="formal.procedures" select="1"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Formal procedures are numbered and always have a title.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="formal.title.placement">
- <refmeta>
- <refentrytitle>formal.title.placement</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">table</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>formal.title.placement</refname>
- <refpurpose>Specifies where formal object titles should occur</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="formal.title.placement.frag">
- <xsl:param name="formal.title.placement">
- figure before
- example before
- equation before
- table before
- procedure before
- task before
- </xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Specifies where formal object titles should occur. For each formal object
- type (<tag>figure</tag>,
- <tag>example</tag>,
- <tag>equation</tag>,
- <tag>table</tag>, and <tag>procedure</tag>)
- you can specify either the keyword
- <quote><literal>before</literal></quote> or
- <quote><literal>after</literal></quote>.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="runinhead.default.title.end.punct">
- <refmeta>
- <refentrytitle>runinhead.default.title.end.punct</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>runinhead.default.title.end.punct</refname>
- <refpurpose>Default punctuation character on a run-in-head</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="runinhead.default.title.end.punct.frag"><xsl:param name="runinhead.default.title.end.punct">.</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, For a <tag>formalpara</tag>, use the specified
- string as the separator between the title and following text. The period is the default value.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="runinhead.title.end.punct">
- <refmeta>
- <refentrytitle>runinhead.title.end.punct</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>runinhead.title.end.punct</refname>
- <refpurpose>Characters that count as punctuation on a run-in-head</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="runinhead.title.end.punct.frag">
- <xsl:param name="runinhead.title.end.punct">.!?:</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Specify which characters are to be counted as punctuation. These
- characters are checked for a match with the last character of the
- title. If no match is found, the
- <parameter>runinhead.default.title.end.punct</parameter> contents are
- inserted. This is to avoid duplicated punctuation in the output.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="show.comments">
- <refmeta>
- <refentrytitle>show.comments</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>show.comments</refname>
- <refpurpose>Display <tag>remark</tag> elements?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="show.comments.frag">
- <xsl:param name="show.comments" select="1"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, comments will be displayed, otherwise they
- are suppressed. Comments here refers to the <tag>remark</tag> element
- (which was called <literal>comment</literal> prior to DocBook
- 4.0), not XML comments (<-- like this -->) which are
- unavailable.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="punct.honorific">
- <refmeta>
- <refentrytitle>punct.honorific</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>punct.honorific</refname>
- <refpurpose>Punctuation after an honorific in a personal name.</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="punct.honorific.frag">
- <xsl:param name="punct.honorific">.</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>This parameter specifies the punctuation that should be added after an
- honorific in a personal name.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="segmentedlist.as.table">
- <refmeta>
- <refentrytitle>segmentedlist.as.table</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>segmentedlist.as.table</refname>
- <refpurpose>Format segmented lists as tables?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="segmentedlist.as.table.frag">
- <xsl:param name="segmentedlist.as.table" select="0"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, <tag>segmentedlist</tag>s will be formatted as
- tables.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="variablelist.as.blocks">
- <refmeta>
- <refentrytitle>variablelist.as.blocks</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>variablelist.as.blocks</refname>
- <refpurpose>Format <tag>variablelist</tag>s lists as blocks?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="variablelist.as.blocks.frag">
- <xsl:param name="variablelist.as.blocks" select="0"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, <tag>variablelist</tag>s will be formatted as
- blocks.</para>
- <para>If you have long terms, proper list markup in the FO case may produce
- unattractive lists. By setting this parameter, you can force the stylesheets
- to produce block markup instead of proper lists.</para>
- <para>You can override this setting with a processing instruction as the
- child of <tag>variablelist</tag>: <tag class="xmlpi">dbfo
- list-presentation="blocks"</tag> or <tag class="xmlpi">dbfo
- list-presentation="list"</tag>.</para>
- <para>When using <literal>list-presentation="list"</literal>,
- you can also control the amount of space used for the <tag>term</tag>s with
- the <tag class="xmlpi">dbfo term-width=".25in"</tag> processing instruction,
- the <tag class="attribute">termlength</tag> attribute on <tag>variablelist</tag>,
- or allow the stylesheets to attempt to calculate the amount of space to leave based on the
- number of letters in the longest term.
- </para>
- <programlisting> <variablelist>
- <?dbfo list-presentation="list"?>
- <?dbfo term-width="1.5in"?>
- <?dbhtml list-presentation="table"?>
- <?dbhtml term-width="1.5in"?>
- <varlistentry>
- <term>list</term>
- <listitem>
- <para>
- Formatted as a list even if variablelist.as.blocks is set to 1.
- </para>
- </listitem>
- </varlistentry>
- </variablelist></programlisting>
- </refsection>
- </refentry>
- <refentry version="5.0" id="blockquote.properties">
- <refmeta>
- <refentrytitle>blockquote.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>blockquote.properties</refname>
- <refpurpose>To set the style for block quotations.</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="blockquote.properties.frag">
- <xsl:attribute-set name="blockquote.properties">
- <xsl:attribute name="margin-{$direction.align.start}">0.5in</xsl:attribute>
- <xsl:attribute name="margin-{$direction.align.end}">0.5in</xsl:attribute>
- <xsl:attribute name="space-after.minimum">0.5em</xsl:attribute>
- <xsl:attribute name="space-after.optimum">1em</xsl:attribute>
- <xsl:attribute name="space-after.maximum">2em</xsl:attribute>
- </xsl:attribute-set>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The <parameter>blockquote.properties</parameter> attribute set specifies
- the formating properties of block quotations.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="ulink.show">
- <refmeta>
- <refentrytitle>ulink.show</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>ulink.show</refname>
- <refpurpose>Display URLs after <tag>ulink</tag>s?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="ulink.show.frag">
- <xsl:param name="ulink.show" select="1"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, the URL of each <tag>ulink</tag> will
- appear after the text of the link. If the text of the link and the URL
- are identical, the URL is suppressed. </para>
- <para>See also <parameter>ulink.footnotes</parameter>.</para>
- <note><para>DocBook 5 does not have an <tag>ulink</tag> element. When processing
- DocBoook 5 documents, <parameter>ulink.show</parameter> applies to all inline
- elements that are marked up with <tag class="attribute">xlink:href</tag> attributes
- that point to external resources.</para>
- </note>
- </refsection>
- </refentry>
- <refentry version="5.0" id="ulink.footnotes">
- <refmeta>
- <refentrytitle>ulink.footnotes</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>ulink.footnotes</refname>
- <refpurpose>Generate footnotes for <tag>ulink</tag>s?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="ulink.footnotes.frag">
- <xsl:param name="ulink.footnotes" select="0"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, and if <parameter>ulink.show</parameter> also is non-zero,
- the URL of each <tag>ulink</tag> will appear as a footnote.</para>
- <note><para>DocBook 5 does not have an <tag>ulink</tag> element. When processing
- DocBoook 5 documents, <parameter>ulink.footnotes</parameter> applies to all inline
- elements that are marked up with <tag class="attribute">xlink:href</tag> attributes
- that point to external resources.</para>
- </note>
- </refsection>
- </refentry>
- <refentry version="5.0" id="ulink.hyphenate">
- <refmeta>
- <refentrytitle>ulink.hyphenate</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>ulink.hyphenate</refname>
- <refpurpose>Allow URLs to be automatically hyphenated</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="ulink.hyphenate.frag">
- <xsl:param name="ulink.hyphenate"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If not empty, the specified character (or more generally,
- content) is added to URLs after every character included in the string
- in the <parameter>ulink.hyphenate.chars</parameter> parameter (default
- is <quote>/</quote>) to enable hyphenation of ulinks. If the character
- in this parameter is a Unicode soft hyphen (0x00AD) or Unicode
- zero-width space (0x200B), some FO processors will be able to
- reasonably hyphenate long URLs.</para>
- <para>Note that this hyphenation process is only applied when the
- ulink element is empty and the url attribute is reused as the link
- text. It is not applied if the ulink has literal text content. The
- same applies in in DocBook 5, where ulink was replaced with link with
- an xlink:href attribute.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="ulink.hyphenate.chars">
- <refmeta>
- <refentrytitle>ulink.hyphenate.chars</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>ulink.hyphenate.chars</refname>
- <refpurpose>List of characters to allow ulink URLs to be automatically
- hyphenated on</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="ulink.hyphenate.chars.frag">
- <xsl:param name="ulink.hyphenate.chars">/</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If the <parameter>ulink.hyphenate</parameter> parameter is not
- empty, then hyphenation of ulinks is turned on, and any character
- contained in this parameter is treated as an allowable hyphenation
- point. This and <parameter>ulink.hyphenate</parameter> work together,
- one is pointless without the other being set to a non-empty value</para>
- <para>The default value is <quote>/</quote>, but the parameter could
- be customized to contain other URL characters, as for example:</para>
- <programlisting>
- <xsl:param name="ulink.hyphenate.chars">:/@&?.#</xsl:param>
- </programlisting>
- </refsection>
- </refentry>
- <refentry version="5.0" id="shade.verbatim">
- <refmeta>
- <refentrytitle>shade.verbatim</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>shade.verbatim</refname>
- <refpurpose>Should verbatim environments be shaded?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="shade.verbatim.frag"><xsl:param name="shade.verbatim" select="0"></xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>In the FO stylesheet, if this parameter is non-zero then the
- <property>shade.verbatim.style</property> properties will be applied
- to verbatim environments.</para>
- <para>In the HTML stylesheet, this parameter is now deprecated. Use
- CSS instead.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="shade.verbatim.style">
- <refmeta>
- <refentrytitle>shade.verbatim.style</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>shade.verbatim.style</refname>
- <refpurpose>Properties that specify the style of shaded verbatim listings</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="shade.verbatim.style.frag">
- <xsl:attribute-set name="shade.verbatim.style">
- <xsl:attribute name="background-color">#E0E0E0</xsl:attribute>
- </xsl:attribute-set>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Properties that specify the style of shaded verbatim listings. The
- parameters specified (the border and background color) are added to
- the styling of the xsl-fo output. A border might be specified as "thin
- black solid" for example. See <link xlink:href="http://www.w3.org/TR/2004/WD-xsl11-20041216/#border">xsl-fo</link></para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="hyphenate.verbatim">
- <refmeta>
- <refentrytitle>hyphenate.verbatim</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>hyphenate.verbatim</refname>
- <refpurpose>Should verbatim environments be hyphenated on space characters?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="hyphenate.verbatim.frag"><xsl:param name="hyphenate.verbatim" select="0"></xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If the lines of program listing are too long to fit into one
- line it is quite common to split them at space and indicite by hook
- arrow that code continues on the next line. You can turn on this
- behaviour for <tag>programlisting</tag>,
- <tag>screen</tag> and <tag>synopsis</tag> elements by
- using this parameter.</para>
- <para>Note that you must also enable line wrapping for verbatim environments and
- select appropriate hyphenation character (e.g. hook arrow). This can
- be done using <parameter>monospace.verbatim.properties</parameter>
- attribute set:</para>
- <programlisting><xsl:attribute-set name="monospace.verbatim.properties"
- use-attribute-sets="verbatim.properties monospace.properties">
- <xsl:attribute name="wrap-option">wrap</xsl:attribute>
- <xsl:attribute name="hyphenation-character">&#x25BA;</xsl:attribute>
- </xsl:attribute-set></programlisting>
- <para>For a list of arrows available in Unicode see <uri xlink:href="http://www.unicode.org/charts/PDF/U2190.pdf">http://www.unicode.org/charts/PDF/U2190.pdf</uri> and <uri xlink:href="http://www.unicode.org/charts/PDF/U2900.pdf">http://www.unicode.org/charts/PDF/U2900.pdf</uri> and make sure that
- selected character is available in the font you are using for verbatim
- environments.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="hyphenate.verbatim.characters">
- <refmeta>
- <refentrytitle>hyphenate.verbatim.characters</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>hyphenate.verbatim.characters</refname>
- <refpurpose>List of characters after which a line break can occur in listings</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="hyphenate.verbatim.characters.frag">
- <xsl:param name="hyphenate.verbatim.characters"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If you enable <parameter>hyphenate.verbatim</parameter> line
- breaks are allowed only on space characters. If this is not enough for
- your document, you can specify list of additional characters after
- which line break is allowed in this parameter.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="use.svg">
- <refmeta>
- <refentrytitle>use.svg</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>use.svg</refname>
- <refpurpose>Allow SVG in the result tree?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="use.svg.frag">
- <xsl:param name="use.svg" select="1"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, SVG will be considered an acceptable image format. SVG
- is passed through to the result tree, so correct rendering of the resulting
- diagram depends on the formatter (FO processor or web browser) that is used
- to process the output from the stylesheet.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="use.role.as.xrefstyle">
- <refmeta>
- <refentrytitle>use.role.as.xrefstyle</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>use.role.as.xrefstyle</refname>
- <refpurpose>Use <tag class="attribute">role</tag> attribute for
- <tag class="attribute">xrefstyle</tag> on <tag>xref</tag>?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="use.role.as.xrefstyle.frag">
- <xsl:param name="use.role.as.xrefstyle" select="1"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>In DocBook documents that conform to a schema older than V4.3, this parameter allows
- <tag class="attribute">role</tag> to serve the purpose of specifying the cross reference style.</para>
- <para>If non-zero, the <tag class="attribute">role</tag> attribute on
- <tag>xref</tag> will be used to select the cross reference style.
- In DocBook V4.3, the <tag class="attribute">xrefstyle</tag> attribute was added for this purpose.
- If the <tag class="attribute">xrefstyle</tag> attribute is present,
- <tag class="attribute">role</tag> will be ignored, regardless of the setting
- of this parameter.</para>
- </refsection>
- <refsection><info><title>Example</title></info>
- <para>The following small stylesheet shows how to configure the
- stylesheets to make use of the cross reference style:</para>
- <programlisting><?xml version="1.0"?>
- <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- version="1.0">
- <xsl:import href="../xsl/html/docbook.xsl"/>
- <xsl:output method="html"/>
- <xsl:param name="local.l10n.xml" select="document('')"/>
- <l:i18n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0">
- <l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="en">
- <l:context name="xref">
- <l:template name="chapter" style="title" text="Chapter %n, %t"/>
- <l:template name="chapter" text="Chapter %n"/>
- </l:context>
- </l:l10n>
- </l:i18n>
- </xsl:stylesheet></programlisting>
- <para>With this stylesheet, the cross references in the following document:</para>
- <programlisting><?xml version="1.0" encoding="utf-8"?>
- <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
- "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
- <book id="book"><title>Book</title>
- <preface>
- <title>Preface</title>
- <para>Normal: <xref linkend="ch1"/>.</para>
- <para>Title: <xref xrefstyle="title" linkend="ch1"/>.</para>
- </preface>
- <chapter id="ch1">
- <title>First Chapter</title>
- <para>Irrelevant.</para>
- </chapter>
- </book></programlisting>
- <para>will appear as:</para>
- <informalexample>
- <para>Normal: Chapter 1.</para>
- <para>Title: Chapter 1, <emphasis>First Chapter</emphasis>.</para>
- </informalexample>
- </refsection>
- </refentry>
- <refentry version="5.0" id="menuchoice.separator">
- <refmeta>
- <refentrytitle>menuchoice.separator</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>menuchoice.separator</refname>
- <refpurpose>Separator between items of a <tag>menuchoice</tag>
- other than <tag>guimenuitem</tag> and
- <tag>guisubmenu</tag></refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="menuchoice.separator.frag">
- <xsl:param name="menuchoice.separator">+</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Separator used to connect items of a <tag>menuchoice</tag> other
- than <tag>guimenuitem</tag> and <tag>guisubmenu</tag>. The latter
- elements are linked with <parameter>menuchoice.menu.separator</parameter>.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="menuchoice.menu.separator">
- <refmeta>
- <refentrytitle>menuchoice.menu.separator</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>menuchoice.menu.separator</refname>
- <refpurpose>Separator between items of a <tag>menuchoice</tag>
- with <tag>guimenuitem</tag> or
- <tag>guisubmenu</tag></refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="menuchoice.menu.separator.frag">
- <xsl:param name="menuchoice.menu.separator"> → </xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Separator used to connect items of a <tag>menuchoice</tag> with
- <tag>guimenuitem</tag> or <tag>guisubmenu</tag>. Other elements
- are linked with <parameter>menuchoice.separator</parameter>.
- </para>
- <para>The default value is &#x2192;, which is the
- &rarr; (right arrow) character entity.
- The current FOP (0.20.5) requires setting the font-family
- explicitly.
- </para>
- <para>The default value also includes spaces around the arrow,
- which will allow a line to break. Replace the spaces with
- &#xA0; (nonbreaking space) if you don't want those
- spaces to break.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="default.float.class">
- <refmeta>
- <refentrytitle>default.float.class</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>default.float.class</refname>
- <refpurpose>Specifies the default float class</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="default.float.class.frag">
- <xsl:param name="default.float.class">
- <xsl:choose>
- <xsl:when test="contains($stylesheet.result.type,'html')">left</xsl:when>
- <xsl:otherwise>before</xsl:otherwise>
- </xsl:choose>
- </xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Selects the direction in which a float should be placed. for
- xsl-fo this is before, for html it is left. For Western texts, the
- before direction is the top of the page.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="footnote.number.format">
- <refmeta>
- <refentrytitle>footnote.number.format</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">list</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">1<alt>1,2,3...</alt></refmiscinfo>
- <refmiscinfo class="other" otherclass="value">A<alt>A,B,C...</alt></refmiscinfo>
- <refmiscinfo class="other" otherclass="value">a<alt>a,b,c...</alt></refmiscinfo>
- <refmiscinfo class="other" otherclass="value">i<alt>i,ii,iii...</alt></refmiscinfo>
- <refmiscinfo class="other" otherclass="value">I<alt>I,II,III...</alt></refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>footnote.number.format</refname>
- <refpurpose>Identifies the format used for footnote numbers</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="footnote.number.format.frag">
- <xsl:param name="footnote.number.format">1</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The <parameter>footnote.number.format</parameter> specifies the format
- to use for footnote numeration (1, i, I, a, or A).</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="table.footnote.number.format">
- <refmeta>
- <refentrytitle>table.footnote.number.format</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">list</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">1<alt>1,2,3...</alt></refmiscinfo>
- <refmiscinfo class="other" otherclass="value">A<alt>A,B,C...</alt></refmiscinfo>
- <refmiscinfo class="other" otherclass="value">a<alt>a,b,c...</alt></refmiscinfo>
- <refmiscinfo class="other" otherclass="value">i<alt>i,ii,iii...</alt></refmiscinfo>
- <refmiscinfo class="other" otherclass="value">I<alt>I,II,III...</alt></refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>table.footnote.number.format</refname>
- <refpurpose>Identifies the format used for footnote numbers in tables</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="table.footnote.number.format.frag">
- <xsl:param name="table.footnote.number.format">a</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The <parameter>table.footnote.number.format</parameter> specifies the format
- to use for footnote numeration (1, i, I, a, or A) in tables.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="footnote.number.symbols">
- <refmeta>
- <refentrytitle>footnote.number.symbols</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype"/>
- </refmeta>
- <refnamediv>
- <refname>footnote.number.symbols</refname>
- <refpurpose>Special characters to use as footnote markers</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="footnote.number.symbols.frag">
- <xsl:param name="footnote.number.symbols"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If <parameter>footnote.number.symbols</parameter> is not the empty string,
- footnotes will use the characters it contains as footnote symbols. For example,
- <quote>*&#x2020;&#x2021;&#x25CA;&#x2720;</quote> will identify
- footnotes with <quote>*</quote>, <quote>†</quote>, <quote>‡</quote>,
- <quote>◊</quote>, and <quote>✠</quote>. If there are more footnotes
- than symbols, the stylesheets will fall back to numbered footnotes using
- <parameter>footnote.number.format</parameter>.</para>
- <para>The use of symbols for footnotes depends on the ability of your
- processor (or browser) to render the symbols you select. Not all systems are
- capable of displaying the full range of Unicode characters. If the quoted characters
- in the preceding paragraph are not displayed properly, that's a good indicator
- that you may have trouble using those symbols for footnotes.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="table.footnote.number.symbols">
- <refmeta>
- <refentrytitle>table.footnote.number.symbols</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>table.footnote.number.symbols</refname>
- <refpurpose>Special characters to use a footnote markers in tables</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="table.footnote.number.symbols.frag">
- <xsl:param name="table.footnote.number.symbols"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If <parameter>table.footnote.number.symbols</parameter> is not the empty string,
- table footnotes will use the characters it contains as footnote symbols. For example,
- <quote>*&#x2020;&#x2021;&#x25CA;&#x2720;</quote> will identify
- footnotes with <quote>*</quote>, <quote>†</quote>, <quote>‡</quote>,
- <quote>◊</quote>, and <quote>✠</quote>. If there are more footnotes
- than symbols, the stylesheets will fall back to numbered footnotes using
- <parameter>table.footnote.number.format</parameter>.</para>
- <para>The use of symbols for footnotes depends on the ability of your
- processor (or browser) to render the symbols you select. Not all systems are
- capable of displaying the full range of Unicode characters. If the quoted characters
- in the preceding paragraph are not displayed properly, that's a good indicator
- that you may have trouble using those symbols for footnotes.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="footnote.properties">
- <refmeta>
- <refentrytitle>footnote.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>footnote.properties</refname>
- <refpurpose>Properties applied to each footnote body
- </refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="footnote.properties.frag">
- <xsl:attribute-set name="footnote.properties">
- <xsl:attribute name="font-family"><xsl:value-of select="$body.fontset"></xsl:value-of></xsl:attribute>
- <xsl:attribute name="font-size"><xsl:value-of select="$footnote.font.size"></xsl:value-of></xsl:attribute>
- <xsl:attribute name="font-weight">normal</xsl:attribute>
- <xsl:attribute name="font-style">normal</xsl:attribute>
- <xsl:attribute name="text-align"><xsl:value-of select="$alignment"></xsl:value-of></xsl:attribute>
- <xsl:attribute name="start-indent">0pt</xsl:attribute>
- <xsl:attribute name="end-indent">0pt</xsl:attribute>
- <xsl:attribute name="text-indent">0pt</xsl:attribute>
- <xsl:attribute name="hyphenate"><xsl:value-of select="$hyphenate"></xsl:value-of></xsl:attribute>
- <xsl:attribute name="wrap-option">wrap</xsl:attribute>
- <xsl:attribute name="linefeed-treatment">treat-as-space</xsl:attribute>
- </xsl:attribute-set>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>This attribute set is applied to the footnote-block
- for each footnote.
- It can be used to set the
- font-size, font-family, and other inheritable properties that will be
- applied to all footnotes.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="table.footnote.properties">
- <refmeta>
- <refentrytitle>table.footnote.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>table.footnote.properties</refname>
- <refpurpose>Properties applied to each table footnote body
- </refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="table.footnote.properties.frag">
- <xsl:attribute-set name="table.footnote.properties">
- <xsl:attribute name="font-family"><xsl:value-of select="$body.fontset"></xsl:value-of></xsl:attribute>
- <xsl:attribute name="font-size"><xsl:value-of select="$footnote.font.size"></xsl:value-of></xsl:attribute>
- <xsl:attribute name="font-weight">normal</xsl:attribute>
- <xsl:attribute name="font-style">normal</xsl:attribute>
- <xsl:attribute name="space-before">2pt</xsl:attribute>
- <xsl:attribute name="text-align"><xsl:value-of select="$alignment"></xsl:value-of></xsl:attribute>
- </xsl:attribute-set>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>This attribute set is applied to the footnote-block
- for each table footnote.
- It can be used to set the
- font-size, font-family, and other inheritable properties that will be
- applied to all table footnotes.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="footnote.mark.properties">
- <refmeta>
- <refentrytitle>footnote.mark.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>footnote.mark.properties</refname>
- <refpurpose>Properties applied to each footnote mark
- </refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="footnote.mark.properties.frag">
- <xsl:attribute-set name="footnote.mark.properties">
- <xsl:attribute name="font-family"><xsl:value-of select="$body.fontset"></xsl:value-of></xsl:attribute>
- <xsl:attribute name="font-size">75%</xsl:attribute>
- <xsl:attribute name="font-weight">normal</xsl:attribute>
- <xsl:attribute name="font-style">normal</xsl:attribute>
- </xsl:attribute-set>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>This attribute set is applied to the footnote mark used
- for each footnote.
- It should contain only inline properties.
- </para>
- <para>The property to make the mark a superscript is contained in the
- footnote template itself, because the current version of FOP reports
- an error if baseline-shift is used.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="footnote.sep.leader.properties">
- <refmeta>
- <refentrytitle>footnote.sep.leader.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>footnote.sep.leader.properties</refname>
- <refpurpose>Properties associated with footnote separators</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="footnote.sep.leader.properties.frag">
- <xsl:attribute-set name="footnote.sep.leader.properties">
- <xsl:attribute name="color">black</xsl:attribute>
- <xsl:attribute name="leader-pattern">rule</xsl:attribute>
- <xsl:attribute name="leader-length">1in</xsl:attribute>
- </xsl:attribute-set>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The styling for the rule line that separates the
- footnotes from the body text.
- These are properties applied to the fo:leader used as
- the separator.
- </para>
- <para>If you want to do more than just set properties on
- the leader element, then you can customize the template
- named <literal>footnote.separator</literal> in
- <filename>fo/pagesetup.xsl</filename>.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="xref.with.number.and.title">
- <refmeta>
- <refentrytitle>xref.with.number.and.title</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>xref.with.number.and.title</refname>
- <refpurpose>Use number and title in cross references</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="xref.with.number.and.title.frag">
- <xsl:param name="xref.with.number.and.title" select="1"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>A cross reference may include the number (for example, the number of
- an example or figure) and the <tag>title</tag> which is a required child of some
- targets. This parameter inserts both the relevant number as well as
- the title into the link. </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="superscript.properties">
- <refmeta>
- <refentrytitle>superscript.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>superscript.properties</refname>
- <refpurpose>Properties associated with superscripts</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="superscript.properties.frag">
- <xsl:attribute-set name="superscript.properties">
- <xsl:attribute name="font-size">75%</xsl:attribute>
- </xsl:attribute-set>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Specifies styling properties for superscripts.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="subscript.properties">
- <refmeta>
- <refentrytitle>subscript.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>subscript.properties</refname>
- <refpurpose>Properties associated with subscripts</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="subscript.properties.frag">
- <xsl:attribute-set name="subscript.properties">
- <xsl:attribute name="font-size">75%</xsl:attribute>
- </xsl:attribute-set>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Specifies styling properties for subscripts.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="pgwide.properties">
- <refmeta>
- <refentrytitle>pgwide.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>pgwide.properties</refname>
- <refpurpose>Properties to make a figure or table page wide.
- </refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="pgwide.properties.frag">
- <xsl:attribute-set name="pgwide.properties">
- <xsl:attribute name="start-indent">0pt</xsl:attribute>
- </xsl:attribute-set>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>This attribute set is used to set the properties
- that make a figure or table "page wide" in fo output.
- It comes into effect when an attribute <literal>pgwide="1"</literal>
- is used.
- </para>
- <para>
- By default, it sets <parameter>start-indent</parameter>
- to <literal>0pt</literal>.
- In a stylesheet that sets the parameter
- <parameter>body.start.indent</parameter>
- to a non-zero value in order to indent body text,
- this attribute set can be used to outdent pgwide
- figures to the start margin.
- </para>
- <para>If a document uses a multi-column page layout,
- then this attribute set could try setting <parameter>span</parameter>
- to a value of <literal>all</literal>. However, this may
- not work with some processors because a span property must be on an
- fo:block that is a direct child of fo:flow. It may work in
- some processors anyway.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="highlight.source">
- <refmeta>
- <refentrytitle>highlight.source</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>highlight.source</refname>
- <refpurpose>Should the content of <tag>programlisting</tag>
- be syntactically highlighted?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="highlight.source.frag">
- <xsl:param name="highlight.source" select="0"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>When this parameter is non-zero, the stylesheets will try to do syntax highlighting of the
- content of <tag>programlisting</tag> elements. You specify the language for each programlisting
- by using the <tag class="attribute">language</tag> attribute. The <parameter>highlight.default.language</parameter>
- parameter can be used to specify the language for programlistings without a <tag class="attribute">language</tag>
- attribute. Syntax highlighting also works for <tag>screen</tag> and <tag>synopsis</tag> elements.</para>
- <para>The actual highlighting work is done by the XSLTHL extension module. This is an external Java library that has to be
- downloaded separately (see below).</para>
- <itemizedlist>
- <para>In order to use this extension, you must</para>
- <listitem><para>add <filename>xslthl-2.x.x.jar</filename> to your Java classpath. The latest version is available
- from <link xlink:href="http://sourceforge.net/projects/xslthl">the XSLT syntax highlighting project</link>
- at SourceForge.</para>
- </listitem>
- <listitem>
- <para>use a customization layer in which you import one of the following stylesheet modules:
- <itemizedlist>
- <listitem>
- <para><filename>html/highlight.xsl</filename>
- </para>
- </listitem>
- <listitem>
- <para><filename>xhtml/highlight.xsl</filename>
- </para>
- </listitem>
- <listitem>
- <para><filename>xhtml-1_1/highlight.xsl</filename>
- </para>
- </listitem>
- <listitem>
- <para><filename>fo/highlight.xsl</filename>
- </para>
- </listitem>
- </itemizedlist>
- </para>
- </listitem>
- <listitem><para>let either the <literal>xslthl.config</literal> Java system property or the
- <parameter>highlight.xslthl.config</parameter> parameter point to the configuration file for syntax
- highlighting (using URL syntax). DocBook XSL comes with a ready-to-use configuration file,
- <filename>highlighting/xslthl-config.xml</filename>.</para>
- </listitem>
- </itemizedlist>
- <para>The extension works with Saxon 6.5.x and Xalan-J. (Saxon 8.5 or later is also supported, but since it is
- an XSLT 2.0 processor it is not guaranteed to work with DocBook XSL in all circumstances.)</para>
- <para>The following is an example of a Saxon 6 command adapted for syntax highlighting, to be used on Windows:</para>
- <informalexample>
- <para><command>java -cp c:/Java/saxon.jar;c:/Java/xslthl-2.0.1.jar
- -Dxslthl.config=file:///c:/docbook-xsl/highlighting/xslthl-config.xml com.icl.saxon.StyleSheet
- -o test.html test.xml myhtml.xsl</command></para>
- </informalexample>
- </refsection>
- </refentry>
- <refentry version="5.0" id="highlight.xslthl.config">
- <refmeta>
- <refentrytitle>highlight.xslthl.config</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">uri</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>highlight.xslthl.config</refname>
- <refpurpose>Location of XSLTHL configuration file</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="highlight.xslthl.config.frag">
- <xsl:param name="highlight.xslthl.config"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>This location has precedence over the corresponding Java property.</para>
- <para>Please note that usually you have to specify location as URL not
- just as a simple path on the local
- filesystem. E.g. <filename>file:///home/user/xslthl/my-xslthl-config.xml</filename>.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="highlight.default.language">
- <refmeta>
- <refentrytitle>highlight.default.language</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>highlight.default.language</refname>
- <refpurpose>Default language of programlisting</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="highlight.default.language.frag">
- <xsl:param name="highlight.default.language"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>This language is used when there is no language attribute on programlisting.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="email.delimiters.enabled">
- <refmeta>
- <refentrytitle>email.delimiters.enabled</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>email.delimiters.enabled</refname>
- <refpurpose>Generate delimiters around email addresses?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="email.delimiters.enabled.frag">
- <xsl:param name="email.delimiters.enabled" select="1"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, delimiters
- <footnote><para>For delimiters, the
- stylesheets are currently hard-coded to output angle
- brackets.</para></footnote>
- are generated around e-mail addresses
- (the output of the <tag>email</tag> element).</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="email.mailto.enabled">
- <refmeta>
- <refentrytitle>email.mailto.enabled</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>email.mailto.enabled</refname>
- <refpurpose>Generate mailto: links for email addresses?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="email.mailto.enabled.frag">
- <xsl:param name="email.mailto.enabled" select="0"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero the generated output for the <tag>email</tag> element
- will be a clickable mailto: link that brings up the default mail client
- on the system.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="section.container.element">
- <refmeta>
- <refentrytitle>section.container.element</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">list</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">block</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">wrapper</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>section.container.element</refname>
- <refpurpose>Select XSL-FO element name to contain sections</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="section.container.element.frag">
- <xsl:param name="section.container.element">block</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Selects the element name for outer container of
- each section. The choices are <literal>block</literal> (default)
- or <literal>wrapper</literal>.
- The <literal>fo:</literal> namespace prefix is added
- by the stylesheet to form the full element name.
- </para>
- <para>This element receives the section <literal>id</literal>
- attribute and the appropriate section level attribute-set.
- </para>
- <para>Changing this parameter to <literal>wrapper</literal>
- is only necessary when producing multi-column output
- that contains page-wide spans. Using <literal>fo:wrapper</literal>
- avoids the nesting of <literal>fo:block</literal>
- elements that prevents spans from working (the standard says
- a span must be on a block that is a direct child of
- <literal>fo:flow</literal>).
- </para>
- <para>If set to <literal>wrapper</literal>, the
- section attribute-sets only support properties
- that are inheritable. That's because there is no
- block to apply them to. Properties such as
- font-family are inheritable, but properties such as
- border are not.
- </para>
- <para>Only some XSL-FO processors need to use this parameter.
- The Antenna House processor, for example, will handle
- spans in nested blocks without changing the element name.
- The RenderX XEP product and FOP follow the XSL-FO standard
- and need to use <literal>wrapper</literal>.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="monospace.verbatim.font.width">
- <refmeta>
- <refentrytitle>monospace.verbatim.font.width</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">length</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>monospace.verbatim.font.width</refname>
- <refpurpose>Width of a single monospace font character</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="monospace.verbatim.font.width.frag">
- <xsl:param name="monospace.verbatim.font.width">0.60em</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Specifies with em units the width of a single character
- of the monospace font. The default value is <literal>0.6em</literal>.</para>
- <para>This parameter is only used when a <tag>screen</tag>
- or <tag>programlisting</tag> element has a
- <tag class="attribute">width</tag> attribute, which is
- expressed as a plain integer to indicate the maximum character count
- of each line.
- To convert this character count to an actual maximum width
- measurement, the width of the font characters must be provided.
- Different monospace fonts have different character width,
- so this parameter should be adjusted to fit the
- monospace font being used.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="exsl.node.set.available">
- <refmeta>
- <refentrytitle>exsl.node.set.available</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>exsl.node.set.available</refname>
- <refpurpose>Is the test function-available('exsl:node-set') true?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="exsl.node.set.available.frag"><xsl:param name="exsl.node.set.available">
- <xsl:choose>
- <xsl:when exsl:foo="" test="function-available('exsl:node-set') or contains(system-property('xsl:vendor'), 'Apache Software Foundation')">1</xsl:when>
- <xsl:otherwise>0</xsl:otherwise>
- </xsl:choose>
- </xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero,
- then the exsl:node-set() function is available to be used in
- the stylesheet.
- If zero, then the function is not available.
- This param automatically detects the presence of
- the function and does not normally need to be set manually.</para>
- <para>This param was created to handle a long-standing
- bug in the Xalan processor that fails to detect the
- function even though it is available.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="bookmarks.collapse">
- <refmeta>
- <refentrytitle>bookmarks.collapse</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>bookmarks.collapse</refname>
- <refpurpose>Specifies the initial state of bookmarks</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="bookmarks.collapse.frag">
- <xsl:param name="bookmarks.collapse" select="1"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, the bookmark tree is collapsed so that only the
- top-level bookmarks are displayed initially. Otherwise, the whole tree
- of bookmarks is displayed.</para>
- <para>This parameter currently works with FOP 0.93 or later.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="generate.consistent.ids">
- <refmeta>
- <refentrytitle>generate.consistent.ids</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>generate.consistent.ids</refname>
- <refpurpose>Generate consistent id values if document is unchanged</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="generate.consistent.ids.frag">
- <xsl:param name="generate.consistent.ids" select="0"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>When the stylesheet assigns an id value to an output element,
- the generate-id() function may be used. That function may not
- produce consistent values between runs. Version control
- systems may misidentify the changing id values as changes
- to the document.</para>
- <para>If you set this parameter's value to 1, then the
- template named <literal>object.id</literal> will replace
- the use of the function generate-id() with
- <literal><xsl:number level="multiple" count="*"/></literal>.
- This counts preceding elements to generate a unique number for
- the id value.</para>
- <caution>
- <para>This param does not associate permanent unique id values
- with particular elements.
- The id values are consistent only as long as the document
- structure does not change.
- If the document structure changes, then the counting
- of elements changes, and all id values after
- the first such change may be different, even when there is
- no change to the element itself or its output.
- </para>
- </caution>
- <para>The default value of this parameter is zero, so generate-id() is used
- by default.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="base.dir">
- <refmeta>
- <refentrytitle>base.dir</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">uri</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>base.dir</refname>
- <refpurpose>The base directory of chunks</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="base.dir.frag">
- <xsl:param name="base.dir"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If specified, the <parameter>base.dir</parameter> parameter identifies
- the output directory for chunks. (If not specified, the output directory
- is system dependent.)</para>
- <para>Starting with version 1.77 of the stylesheets,
- the param's value will have a trailing slash added if it does
- not already have one.</para>
- <caution><para>Do not use <parameter>base.dir</parameter>
- to add a filename prefix string to chunked files.
- Instead, use the <parameter>chunked.filename.prefix</parameter>
- parameter.</para></caution>
- </refsection>
- </refentry>
- <refentry version="5.0" id="chunk.quietly">
- <refmeta>
- <refentrytitle>chunk.quietly</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>chunk.quietly</refname>
- <refpurpose>Omit the chunked filename messages.</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="chunk.quietly.frag">
- <xsl:param name="chunk.quietly" select="0"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If zero (the default), the XSL processor emits a message naming
- each separate chunk filename as it is being output.
- If nonzero, then the messages are suppressed.
- </para>
- </refsection>
- </refentry>
- </reference><reference id="graphics" xml:base="../fo/param.xml"><title>Graphics</title>
- <refentry version="5.0" id="graphic.default.extension">
- <refmeta>
- <refentrytitle>graphic.default.extension</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>graphic.default.extension</refname>
- <refpurpose>Default extension for graphic filenames</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="graphic.default.extension.frag"><xsl:param name="graphic.default.extension"></xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If a <tag>graphic</tag> or <tag>mediaobject</tag>
- includes a reference to a filename that does not include an extension,
- and the <tag class="attribute">format</tag> attribute is
- <emphasis>unspecified</emphasis>, the default extension will be used.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="default.image.width">
- <refmeta>
- <refentrytitle>default.image.width</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">length</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>default.image.width</refname>
- <refpurpose>The default width of images</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="default.image.width.frag">
- <xsl:param name="default.image.width"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If specified, this value will be used for the
- <tag class="attribute">width</tag> attribute on images that do not specify any
- <emphasis xlink:title="DocBook 5: The Definitive Guide" xlink:href="http://docbook.org/tdg5/en/html/imagedata.html#viewport.area">viewport dimensions</emphasis>.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="preferred.mediaobject.role">
- <refmeta>
- <refentrytitle>preferred.mediaobject.role</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>preferred.mediaobject.role</refname>
- <refpurpose>Select which mediaobject to use based on
- this value of an object's <tag class="attribute">role</tag> attribute.
- </refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="preferred.mediaobject.role.frag">
- <xsl:param name="preferred.mediaobject.role"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>A mediaobject may contain several objects such as imageobjects.
- If the parameter <parameter>use.role.for.mediaobject</parameter> is
- non-zero, then the <literal>role</literal> attribute on
- <tag>imageobject</tag>s and other objects within a
- <tag>mediaobject</tag> container will be used to select which object
- will be used. If one of the objects has a role value that matches the
- <parameter>preferred.mediaobject.role</parameter> parameter, then it
- has first priority for selection. If more than one has such a role
- value, the first one is used.
- </para>
- <para>
- See the <parameter>use.role.for.mediaobject</parameter> parameter
- for the sequence of selection.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="use.role.for.mediaobject">
- <refmeta>
- <refentrytitle>use.role.for.mediaobject</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>use.role.for.mediaobject</refname>
- <refpurpose>Use <tag class="attribute">role</tag> attribute
- value for selecting which of several objects within a mediaobject to use.
- </refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="use.role.for.mediaobject.frag">
- <xsl:param name="use.role.for.mediaobject" select="1"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, the <tag class="attribute">role</tag> attribute on
- <tag>imageobject</tag>s or other objects within a <tag>mediaobject</tag> container will be used to select which object will be
- used.
- </para>
- <para>
- The order of selection when then parameter is non-zero is:
- </para>
- <orderedlist>
- <listitem>
- <para>If the stylesheet parameter <parameter>preferred.mediaobject.role</parameter> has a value, then the object whose role equals that value is selected.</para>
- </listitem>
- <listitem>
- <para>Else if an object's role attribute has a value of
- <literal>html</literal> for HTML processing or
- <literal>fo</literal> for FO output, then the first
- of such objects is selected.
- </para>
- </listitem>
- <listitem>
- <para>Else the first suitable object is selected.</para>
- </listitem>
- </orderedlist>
- <para>
- If the value of
- <parameter>use.role.for.mediaobject</parameter>
- is zero, then role attributes are not considered
- and the first suitable object
- with or without a role value is used.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="ignore.image.scaling">
- <refmeta>
- <refentrytitle>ignore.image.scaling</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>ignore.image.scaling</refname>
- <refpurpose>Tell the stylesheets to ignore the author's image scaling attributes</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="ignore.image.scaling.frag">
- <xsl:param name="ignore.image.scaling" select="0"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, the scaling attributes on graphics and media objects are
- ignored.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="img.src.path">
- <refmeta>
- <refentrytitle>img.src.path</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>img.src.path</refname>
- <refpurpose>Path to HTML/FO image files</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="img.src.path.frag"><xsl:param name="img.src.path"></xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Add a path prefix to the value of the <tag class="attribute">fileref</tag>
- attribute of <tag>graphic</tag>, <tag>inlinegraphic</tag>, and <tag>imagedata</tag> elements. The resulting
- compound path is used in the output as the value of the <tag class="attribute">src</tag>
- attribute of <tag class="element">img</tag> (HTML) or <tag class="element">external-graphic</tag> (FO).
- </para>
- <para>
- The path given by <literal>img.src.path</literal> could be relative to the directory where the HTML/FO
- files are created, or it could be an absolute URI.
- The default value is empty.
- Be sure to include a trailing slash if needed.
- </para>
- <para>This prefix is not applied to any filerefs that start
- with "/" or contain "//:".
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="keep.relative.image.uris">
- <refmeta>
- <refentrytitle>keep.relative.image.uris</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>keep.relative.image.uris</refname>
- <refpurpose>Should image URIs be resolved against xml:base?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="keep.relative.image.uris.frag">
- <xsl:param name="keep.relative.image.uris" select="0"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, relative URIs (in, for example
- <literal>fileref</literal> attributes) will be used in the generated
- output. Otherwise, the URIs will be made absolute with respect to the
- base URI.</para>
- <para>Note that the stylesheets calculate (and use) the absolute form
- for some purposes, this only applies to the resulting output.</para>
- </refsection>
- </refentry>
- </reference><reference id="general" xml:base="../fo/param.xml"><title>Pagination and General Styles</title>
- <partintro id="margins_partintro">
- <section id="margins_intro"><title>Understanding XSL FO Margins</title>
- <para>To make sense of the parameters in this section, it's useful to
- consider <xref linkend="fig.pagemodel"/>.</para>
- <figure id="fig.pagemodel">
- <title>Page Model</title>
- <mediaobject id="fo-pageregions-image">
- <imageobject role="html">
- <imagedata fileref="page.png"/>
- </imageobject>
- <imageobject role="fo">
- <imagedata fileref="fo/page.png"/>
- </imageobject>
- <textobject><phrase>Figure showing page margins</phrase></textobject>
- <textobject>
- <para>This figure shows the physical page with the various FO page regions
- identified.</para>
- </textobject>
- </mediaobject>
- </figure>
- <para>First, let's consider the regions on the page.</para>
- <para>The white region is the physical page. Its dimensions are determined by
- the <parameter>page.height</parameter> and <parameter>page.width</parameter>
- parameters.</para>
- <para>The yellow region is the region-body. The size and placement of
- the region body is constrained by the dimensions labelled in the
- figure.</para>
- <para>The pink region at the top of the page is the region-before. The
- darker area inside the region-before is the header text. In XSL, the default
- display alignment for a region is <literal>before</literal>, but the
- DocBook stylesheets still explicitly make it <literal>before</literal>. That's
- why the darker area is at the top.</para>
- <para>The pink region at the bottom of the page is the region-after.
- The darker area is the footer text. In XSL, the default display
- alignment for a region is <literal>before</literal>,
- but the DocBook stylesheets explicitly make it
- <literal>after</literal>. That's why the darker area is at the bottom.</para>
- <para>The dimensions in the figure are:</para>
- <orderedlist numeration="upperalpha">
- <listitem><para>The page-master margin-top.
- </para></listitem>
- <listitem><para>The region-before extent.
- </para></listitem>
- <listitem><para>The region-body margin-top.
- </para></listitem>
- <listitem><para>The region-after extent.
- </para></listitem>
- <listitem><para>The page-master margin-bottom.
- </para></listitem>
- <listitem><para>The region-body margin-bottom.
- </para></listitem>
- <listitem><para>The sum of the page-master margin-left and the
- region-body margin-left. In DocBook, the region-body margin-left is
- zero by default, so this is simply the page-master margin-left.
- </para></listitem>
- <listitem><para>The sum of the page-master margin-right and the
- region-body margin-right. In DocBook, the region-body margin-right is
- zero by default, so this is simply the page-master margin-right.
- </para></listitem>
- </orderedlist>
- </section>
- </partintro>
- <refentry version="5.0" id="page.height">
- <refmeta>
- <refentrytitle>page.height</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">length</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>page.height</refname>
- <refpurpose>The height of the physical page</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="page.height.frag"><xsl:param name="page.height">
- <xsl:choose>
- <xsl:when test="$page.orientation = 'portrait'">
- <xsl:value-of select="$page.height.portrait"></xsl:value-of>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="$page.width.portrait"></xsl:value-of>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The page height is generally calculated from the
- <parameter>paper.type</parameter> and
- <parameter>page.orientation</parameter> parameters.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="page.height.portrait">
- <refmeta>
- <refentrytitle>page.height.portrait</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">length</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>page.height.portrait</refname>
- <refpurpose>Specify the physical size of the long edge of the page</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="page.height.portrait.frag"><xsl:param name="page.height.portrait">
- <xsl:choose>
- <xsl:when test="$paper.type = 'A4landscape'">210mm</xsl:when>
- <xsl:when test="$paper.type = 'USletter'">11in</xsl:when>
- <xsl:when test="$paper.type = 'USlandscape'">8.5in</xsl:when>
- <xsl:when test="$paper.type = 'USlegal'">14in</xsl:when>
- <xsl:when test="$paper.type = 'USlegallandscape'">8.5in</xsl:when>
- <xsl:when test="$paper.type = '4A0'">2378mm</xsl:when>
- <xsl:when test="$paper.type = '2A0'">1682mm</xsl:when>
- <xsl:when test="$paper.type = 'A0'">1189mm</xsl:when>
- <xsl:when test="$paper.type = 'A1'">841mm</xsl:when>
- <xsl:when test="$paper.type = 'A2'">594mm</xsl:when>
- <xsl:when test="$paper.type = 'A3'">420mm</xsl:when>
- <xsl:when test="$paper.type = 'A4'">297mm</xsl:when>
- <xsl:when test="$paper.type = 'A5'">210mm</xsl:when>
- <xsl:when test="$paper.type = 'A6'">148mm</xsl:when>
- <xsl:when test="$paper.type = 'A7'">105mm</xsl:when>
- <xsl:when test="$paper.type = 'A8'">74mm</xsl:when>
- <xsl:when test="$paper.type = 'A9'">52mm</xsl:when>
- <xsl:when test="$paper.type = 'A10'">37mm</xsl:when>
- <xsl:when test="$paper.type = 'B0'">1414mm</xsl:when>
- <xsl:when test="$paper.type = 'B1'">1000mm</xsl:when>
- <xsl:when test="$paper.type = 'B2'">707mm</xsl:when>
- <xsl:when test="$paper.type = 'B3'">500mm</xsl:when>
- <xsl:when test="$paper.type = 'B4'">353mm</xsl:when>
- <xsl:when test="$paper.type = 'B5'">250mm</xsl:when>
- <xsl:when test="$paper.type = 'B6'">176mm</xsl:when>
- <xsl:when test="$paper.type = 'B7'">125mm</xsl:when>
- <xsl:when test="$paper.type = 'B8'">88mm</xsl:when>
- <xsl:when test="$paper.type = 'B9'">62mm</xsl:when>
- <xsl:when test="$paper.type = 'B10'">44mm</xsl:when>
- <xsl:when test="$paper.type = 'C0'">1297mm</xsl:when>
- <xsl:when test="$paper.type = 'C1'">917mm</xsl:when>
- <xsl:when test="$paper.type = 'C2'">648mm</xsl:when>
- <xsl:when test="$paper.type = 'C3'">458mm</xsl:when>
- <xsl:when test="$paper.type = 'C4'">324mm</xsl:when>
- <xsl:when test="$paper.type = 'C5'">229mm</xsl:when>
- <xsl:when test="$paper.type = 'C6'">162mm</xsl:when>
- <xsl:when test="$paper.type = 'C7'">114mm</xsl:when>
- <xsl:when test="$paper.type = 'C8'">81mm</xsl:when>
- <xsl:when test="$paper.type = 'C9'">57mm</xsl:when>
- <xsl:when test="$paper.type = 'C10'">40mm</xsl:when>
- <xsl:otherwise>11in</xsl:otherwise>
- </xsl:choose>
- </xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The portrait page height is the length of the long
- edge of the physical page.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="page.margin.bottom">
- <refmeta>
- <refentrytitle>page.margin.bottom</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">length</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>page.margin.bottom</refname>
- <refpurpose>The bottom margin of the page</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="page.margin.bottom.frag">
- <xsl:param name="page.margin.bottom">0.5in</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The bottom page margin is the distance from the bottom of the region-after
- to the physical bottom of the page.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="page.margin.inner">
- <refmeta>
- <refentrytitle>page.margin.inner</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">length</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>page.margin.inner</refname>
- <refpurpose>The inner page margin</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="page.margin.inner.frag"><xsl:param name="page.margin.inner">
- <xsl:choose>
- <xsl:when test="$double.sided != 0">1.25in</xsl:when>
- <xsl:otherwise>1in</xsl:otherwise>
- </xsl:choose>
- </xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The inner page margin is the distance from bound edge of the
- page to the first column of text. </para>
- <para>The inner page margin is the distance from bound edge of the
- page to the outer edge of the first column of text.</para>
- <para>In left-to-right text direction,
- this is the left margin of recto (front side) pages.
- For single-sided output, it is the left margin
- of all pages.</para>
- <para>In right-to-left text direction,
- this is the right margin of recto pages.
- For single-sided output, this is the
- right margin of all pages.</para>
- <note>
- <para>Current versions (at least as of version 4.13)
- of the XEP XSL-FO processor do not
- correctly handle these margin settings for documents
- with right-to-left text direction.
- The workaround in that situation is to reverse
- the values for <parameter>page.margin.inner</parameter>
- and <parameter>page.margin.outer</parameter>, until
- this bug is fixed by RenderX. It does not affect documents
- with left-to-right text direction.</para>
- </note>
- <para>See also <parameter>writing.mode</parameter>.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="page.margin.outer">
- <refmeta>
- <refentrytitle>page.margin.outer</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">length</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>page.margin.outer</refname>
- <refpurpose>The outer page margin</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="page.margin.outer.frag"><xsl:param name="page.margin.outer">
- <xsl:choose>
- <xsl:when test="$double.sided != 0">0.75in</xsl:when>
- <xsl:otherwise>1in</xsl:otherwise>
- </xsl:choose>
- </xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The outer page margin is the distance from non-bound edge of the
- page to the outer edge of the last column of text.</para>
- <para>In left-to-right text direction,
- this is the right margin of recto (front side) pages.
- For single-sided output, it is the right margin
- of all pages.</para>
- <para>In right-to-left text direction,
- this is the left margin of recto pages.
- For single-sided output, this is the
- left margin of all pages.</para>
- <note>
- <para>Current versions (at least as of version 4.13)
- of the XEP XSL-FO processor do not
- correctly handle these margin settings for documents
- with right-to-left text direction.
- The workaround in that situation is to reverse
- the values for <parameter>page.margin.inner</parameter>
- and <parameter>page.margin.outer</parameter>, until
- this bug is fixed by RenderX. It does not affect documents
- with left-to-right text direction.</para>
- </note>
- <para>See also <parameter>writing.mode</parameter>.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="page.margin.top">
- <refmeta>
- <refentrytitle>page.margin.top</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">length</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>page.margin.top</refname>
- <refpurpose>The top margin of the page</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="page.margin.top.frag">
- <xsl:param name="page.margin.top">0.5in</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The top page margin is the distance from the physical top of the
- page to the top of the region-before.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="page.orientation">
- <refmeta>
- <refentrytitle>page.orientation</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">list</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">portrait</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">landscape</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>page.orientation</refname>
- <refpurpose>Select the page orientation</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="page.orientation.frag">
- <xsl:param name="page.orientation">portrait</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para> Select one from portrait or landscape.
- In portrait orientation, the short edge is horizontal; in
- landscape orientation, it is vertical.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="page.width">
- <refmeta>
- <refentrytitle>page.width</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">length</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>page.width</refname>
- <refpurpose>The width of the physical page</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="page.width.frag"><xsl:param name="page.width">
- <xsl:choose>
- <xsl:when test="$page.orientation = 'portrait'">
- <xsl:value-of select="$page.width.portrait"></xsl:value-of>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="$page.height.portrait"></xsl:value-of>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The page width is generally calculated from the
- <parameter>paper.type</parameter> and
- <parameter>page.orientation</parameter> parameters.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="page.width.portrait">
- <refmeta>
- <refentrytitle>page.width.portrait</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">length</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>page.width.portrait</refname>
- <refpurpose>Specify the physical size of the short edge of the page</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="page.width.portrait.frag"><xsl:param name="page.width.portrait">
- <xsl:choose>
- <xsl:when test="$paper.type = 'USletter'">8.5in</xsl:when>
- <xsl:when test="$paper.type = 'USlandscape'">11in</xsl:when>
- <xsl:when test="$paper.type = 'USlegal'">8.5in</xsl:when>
- <xsl:when test="$paper.type = 'USlegallandscape'">14in</xsl:when>
- <xsl:when test="$paper.type = '4A0'">1682mm</xsl:when>
- <xsl:when test="$paper.type = '2A0'">1189mm</xsl:when>
- <xsl:when test="$paper.type = 'A0'">841mm</xsl:when>
- <xsl:when test="$paper.type = 'A1'">594mm</xsl:when>
- <xsl:when test="$paper.type = 'A2'">420mm</xsl:when>
- <xsl:when test="$paper.type = 'A3'">297mm</xsl:when>
- <xsl:when test="$paper.type = 'A4'">210mm</xsl:when>
- <xsl:when test="$paper.type = 'A5'">148mm</xsl:when>
- <xsl:when test="$paper.type = 'A6'">105mm</xsl:when>
- <xsl:when test="$paper.type = 'A7'">74mm</xsl:when>
- <xsl:when test="$paper.type = 'A8'">52mm</xsl:when>
- <xsl:when test="$paper.type = 'A9'">37mm</xsl:when>
- <xsl:when test="$paper.type = 'A10'">26mm</xsl:when>
- <xsl:when test="$paper.type = 'B0'">1000mm</xsl:when>
- <xsl:when test="$paper.type = 'B1'">707mm</xsl:when>
- <xsl:when test="$paper.type = 'B2'">500mm</xsl:when>
- <xsl:when test="$paper.type = 'B3'">353mm</xsl:when>
- <xsl:when test="$paper.type = 'B4'">250mm</xsl:when>
- <xsl:when test="$paper.type = 'B5'">176mm</xsl:when>
- <xsl:when test="$paper.type = 'B6'">125mm</xsl:when>
- <xsl:when test="$paper.type = 'B7'">88mm</xsl:when>
- <xsl:when test="$paper.type = 'B8'">62mm</xsl:when>
- <xsl:when test="$paper.type = 'B9'">44mm</xsl:when>
- <xsl:when test="$paper.type = 'B10'">31mm</xsl:when>
- <xsl:when test="$paper.type = 'C0'">917mm</xsl:when>
- <xsl:when test="$paper.type = 'C1'">648mm</xsl:when>
- <xsl:when test="$paper.type = 'C2'">458mm</xsl:when>
- <xsl:when test="$paper.type = 'C3'">324mm</xsl:when>
- <xsl:when test="$paper.type = 'C4'">229mm</xsl:when>
- <xsl:when test="$paper.type = 'C5'">162mm</xsl:when>
- <xsl:when test="$paper.type = 'C6'">114mm</xsl:when>
- <xsl:when test="$paper.type = 'C7'">81mm</xsl:when>
- <xsl:when test="$paper.type = 'C8'">57mm</xsl:when>
- <xsl:when test="$paper.type = 'C9'">40mm</xsl:when>
- <xsl:when test="$paper.type = 'C10'">28mm</xsl:when>
- <xsl:otherwise>8.5in</xsl:otherwise>
- </xsl:choose>
- </xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The portrait page width is the length of the short
- edge of the physical page.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="paper.type">
- <refmeta>
- <refentrytitle>paper.type</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">list</refmiscinfo>
- <refmiscinfo class="other" otherclass="list-type">open</refmiscinfo>
- <refmiscinfo class="other" otherclass="list-type">open</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">USletter<alt>8.5x11in</alt></refmiscinfo>
- <refmiscinfo class="other" otherclass="value">USlandscape<alt>11x8.5in</alt></refmiscinfo>
- <refmiscinfo class="other" otherclass="value">USlegal<alt>8.5inx14in</alt></refmiscinfo>
- <refmiscinfo class="other" otherclass="value">USlegallandscape<alt>14inx8.5in</alt></refmiscinfo>
- <refmiscinfo class="other" otherclass="value">4A0<alt>2378x1682mm</alt></refmiscinfo>
- <refmiscinfo class="other" otherclass="value">2A0<alt>1682x1189mm</alt></refmiscinfo>
- <refmiscinfo class="other" otherclass="value">A0<alt>1189x841mm</alt></refmiscinfo>
- <refmiscinfo class="other" otherclass="value">A1<alt>841x594mm</alt></refmiscinfo>
- <refmiscinfo class="other" otherclass="value">A2<alt>594x420mm</alt></refmiscinfo>
- <refmiscinfo class="other" otherclass="value">A3<alt>420x297mm</alt></refmiscinfo>
- <refmiscinfo class="other" otherclass="value">A4<alt>297x210mm</alt></refmiscinfo>
- <refmiscinfo class="other" otherclass="value">A5<alt>210x148mm</alt></refmiscinfo>
- <refmiscinfo class="other" otherclass="value">A6<alt>148x105mm</alt></refmiscinfo>
- <refmiscinfo class="other" otherclass="value">A7<alt>105x74mm</alt></refmiscinfo>
- <refmiscinfo class="other" otherclass="value">A8<alt>74x52mm</alt></refmiscinfo>
- <refmiscinfo class="other" otherclass="value">A9<alt>52x37mm</alt></refmiscinfo>
- <refmiscinfo class="other" otherclass="value">A10<alt>37x26mm</alt></refmiscinfo>
- <refmiscinfo class="other" otherclass="value">B0<alt>1414x1000mm</alt></refmiscinfo>
- <refmiscinfo class="other" otherclass="value">B1<alt>1000x707mm</alt></refmiscinfo>
- <refmiscinfo class="other" otherclass="value">B2<alt>707x500mm</alt></refmiscinfo>
- <refmiscinfo class="other" otherclass="value">B3<alt>500x353mm</alt></refmiscinfo>
- <refmiscinfo class="other" otherclass="value">B4<alt>353x250mm</alt></refmiscinfo>
- <refmiscinfo class="other" otherclass="value">B5<alt>250x176mm</alt></refmiscinfo>
- <refmiscinfo class="other" otherclass="value">B6<alt>176x125mm</alt></refmiscinfo>
- <refmiscinfo class="other" otherclass="value">B7<alt>125x88mm</alt></refmiscinfo>
- <refmiscinfo class="other" otherclass="value">B8<alt>88x62mm</alt></refmiscinfo>
- <refmiscinfo class="other" otherclass="value">B9<alt>62x44mm</alt></refmiscinfo>
- <refmiscinfo class="other" otherclass="value">B10<alt>44x31mm</alt></refmiscinfo>
- <refmiscinfo class="other" otherclass="value">C0<alt>1297x917mm</alt></refmiscinfo>
- <refmiscinfo class="other" otherclass="value">C1<alt>917x648mm</alt></refmiscinfo>
- <refmiscinfo class="other" otherclass="value">C2<alt>648x458mm</alt></refmiscinfo>
- <refmiscinfo class="other" otherclass="value">C3<alt>458x324mm</alt></refmiscinfo>
- <refmiscinfo class="other" otherclass="value">C4<alt>324x229mm</alt></refmiscinfo>
- <refmiscinfo class="other" otherclass="value">C5<alt>229x162mm</alt></refmiscinfo>
- <refmiscinfo class="other" otherclass="value">C6<alt>162x114mm</alt></refmiscinfo>
- <refmiscinfo class="other" otherclass="value">C7<alt>114x81mm</alt></refmiscinfo>
- <refmiscinfo class="other" otherclass="value">C8<alt>81x57mm</alt></refmiscinfo>
- <refmiscinfo class="other" otherclass="value">C9<alt>57x40mm</alt></refmiscinfo>
- <refmiscinfo class="other" otherclass="value">C10<alt>40x28mm</alt></refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>paper.type</refname>
- <refpurpose>Select the paper type</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="paper.type.frag">
- <xsl:param name="paper.type">USletter</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The paper type is a convenient way to specify the paper size.
- The list of known paper sizes includes USletter and most of the A,
- B, and C sizes. See <parameter>page.width.portrait</parameter>, for example.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="double.sided">
- <refmeta>
- <refentrytitle>double.sided</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>double.sided</refname>
- <refpurpose>Is the document to be printed double sided?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="double.sided.frag">
- <xsl:param name="double.sided" select="0"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>This parameter is useful when printing a document
- on both sides of the paper.</para>
- <para>if set to non-zero, documents are formatted using different page-masters
- for odd and even pages. These can differ by using a slightly wider margin
- on the binding edge of the page, and alternating left-right
- positions of header or footer elements.
- </para>
- <para>If set to zero (the default), then only the 'odd' page masters
- are used for both even and odd numbered pages.</para>
- <para>See also <parameter>force.blank.pages</parameter>,
- <parameter>page.margin.inner</parameter> and
- <parameter>page.margin.outer</parameter>.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="force.blank.pages">
- <refmeta>
- <refentrytitle>force.blank.pages</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>force.blank.pages</refname>
- <refpurpose>Generate blank page to end on even page number</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="force.blank.pages.frag">
- <xsl:param name="force.blank.pages" select="1"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero (the default), then each page sequence will be forced to
- end on an even-numbered page, by inserting a blank page
- if necessary. This will force the next page sequence to start
- on an odd-numbered page, which is a standard convention
- for printed and bound books.</para>
- <para>If zero, then such blank pages will not be inserted.
- Chapters will start on the next available page,
- regardless of whether it is an even or odd number.
- This is useful when publishing online where blank
- pages are not needed.
- </para>
- <para>This param is independent of the
- <parameter>double.sided</parameter> parameter, which
- just triggers the use of even and odd page sequence
- masters that differ in their header and footer placement.
- So you can combine the two params for alternating
- headers/footers and no blank pages.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="body.margin.bottom">
- <refmeta>
- <refentrytitle>body.margin.bottom</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">length</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>body.margin.bottom</refname>
- <refpurpose>The bottom margin of the body text</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="body.margin.bottom.frag">
- <xsl:param name="body.margin.bottom">0.5in</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The body bottom margin is the distance from the last line of text
- in the page body to the bottom of the region-after.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="body.margin.top">
- <refmeta>
- <refentrytitle>body.margin.top</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">length</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>body.margin.top</refname>
- <refpurpose>To specify the size of the top margin of a page</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="body.margin.top.frag">
- <xsl:param name="body.margin.top">0.5in</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The body top margin is the distance from the top of the
- region-before to the first line of text in the page body.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="body.margin.inner">
- <refmeta>
- <refentrytitle>body.margin.inner</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">length</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>body.margin.inner</refname>
- <refpurpose>Specify the size of the inner margin of the body region</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="body.margin.inner.frag">
- <xsl:param name="body.margin.inner">0in</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The inner body margin is the extra inner side
- (binding side) margin taken from the body
- region in addition to the inner page margin.
- It makes room for a side region for text content whose width is
- specified by the <parameter>region.inner.extent</parameter>
- parameter.</para>
- <para>For double-sided output,
- this side region
- is <literal>fo:region-start</literal> on a odd-numbered page,
- and <literal>fo:region-end</literal> on an even-numbered page.</para>
- <para>For single-sided output,
- this side region
- is <literal>fo:region-start</literal> for all pages.</para>
- <para>This correspondence applies to all languages,
- both left-to-right and right-to-left writing modes.</para>
- <para>The default value is zero.</para>
- <para>See also
- <parameter>region.inner.extent</parameter>,
- <parameter>region.outer.extent</parameter>,
- <parameter>body.margin.outer</parameter>,
- <parameter>side.region.precedence</parameter>.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="body.margin.outer">
- <refmeta>
- <refentrytitle>body.margin.outer</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">length</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>body.margin.outer</refname>
- <refpurpose>Specify the size of the outer margin of the body region</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="body.margin.outer.frag">
- <xsl:param name="body.margin.outer">0in</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The outer body margin is the extra outer side
- (opposite the binding side) margin taken
- from the body
- region in addition to the outer page margin.
- It makes room for a side region for text content whose width is
- specified by the <parameter>region.outer.extent</parameter>
- parameter.</para>
- <para>For double-sided output,
- this side region
- is <literal>fo:region-end</literal> on a odd-numbered page,
- and <literal>fo:region-start</literal> on an even-numbered page.</para>
- <para>For single-sided output,
- this side region
- is <literal>fo:region-end</literal> for all pages.</para>
- <para>This correspondence applies to all languages,
- both left-to-right and right-to-left writing modes.</para>
- <para>The default value is zero.</para>
- <para>See also
- <parameter>region.inner.extent</parameter>,
- <parameter>region.outer.extent</parameter>,
- <parameter>body.margin.inner</parameter>,
- <parameter>side.region.precedence</parameter>.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="body.start.indent">
- <refmeta>
- <refentrytitle>body.start.indent</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">length</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>body.start.indent</refname>
- <refpurpose>The start-indent for the body text</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="body.start.indent.frag">
- <xsl:param name="body.start.indent">
- <xsl:choose>
- <xsl:when test="$fop.extensions != 0">0pt</xsl:when>
- <xsl:when test="$passivetex.extensions != 0">0pt</xsl:when>
- <xsl:otherwise>4pc</xsl:otherwise>
- </xsl:choose>
- </xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>This parameter provides
- the means of indenting the body text relative to
- section titles.
- For left-to-right text direction, it indents the left side.
- For right-to-left text direction, it indents the right side.
- It is used in place of the
- <parameter>title.margin.left</parameter> for
- all XSL-FO processors except FOP 0.25.
- It enables support for side floats to appear
- in the indented margin area.
- </para>
- <para>This start-indent property is added to the fo:flow
- for certain page sequences. Which page-sequences it is
- applied to is determined by the template named
- <literal>set.flow.properties</literal>.
- By default, that template adds it to the flow
- for page-sequences using the <quote>body</quote>
- master-reference, as well as appendixes and prefaces.
- </para>
- <para>If this parameter is used, section titles should have
- a start-indent value of 0pt if they are to be
- outdented relative to the body text.
- </para>
- <para>If you are using FOP, then set this parameter to a zero
- width value and set the <parameter>title.margin.left</parameter>
- parameter to the negative value of the desired indent.
- </para>
- <para>See also <parameter>body.end.indent</parameter> and
- <parameter>title.margin.left</parameter>.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="body.end.indent">
- <refmeta>
- <refentrytitle>body.end.indent</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">length</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>body.end.indent</refname>
- <refpurpose>The end-indent for the body text</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="body.end.indent.frag">
- <xsl:param name="body.end.indent">0pt</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>This end-indent property is added to the fo:flow
- for certain page sequences. Which page-sequences it is
- applied to is determined by the template named
- <literal>set.flow.properties</literal>.
- By default, that template adds it to the flow
- for page-sequences using the <quote>body</quote>
- master-reference, as well as appendixes and prefaces.
- </para>
- <para>See also <parameter>body.start.indent</parameter>.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="alignment">
- <refmeta>
- <refentrytitle>alignment</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">list</refmiscinfo>
- <refmiscinfo class="other" otherclass="list-type">open</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">left</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">start</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">right</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">end</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">center</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">justify</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>alignment</refname>
- <refpurpose>Specify the default text alignment</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="alignment.frag"><xsl:param name="alignment">justify</xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The default text alignment is used for most body text.
- Allowed values are
- <literal>left</literal>,
- <literal>right</literal>,
- <literal>start</literal>,
- <literal>end</literal>,
- <literal>center</literal>,
- <literal>justify</literal>.
- The default value is <literal>justify</literal>.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="hyphenate">
- <refmeta>
- <refentrytitle>hyphenate</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">list</refmiscinfo>
- <refmiscinfo class="other" otherclass="list-type">closed</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">true</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">false</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>hyphenate</refname>
- <refpurpose>Specify hyphenation behavior</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="hyphenate.frag"><xsl:param name="hyphenate">true</xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If true, words may be hyphenated. Otherwise, they may not.</para>
- <para>See also <parameter>ulink.hyphenate.chars</parameter> </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="line-height">
- <refmeta>
- <refentrytitle>line-height</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>line-height</refname>
- <refpurpose>Specify the line-height property</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="line-height.frag">
- <xsl:param name="line-height">normal</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Sets the line-height property.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="column.count.back">
- <refmeta>
- <refentrytitle>column.count.back</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">integer</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>column.count.back</refname>
- <refpurpose>Number of columns on back matter pages</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="column.count.back.frag">
- <xsl:param name="column.count.back" select="1"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Number of columns on back matter (appendix, glossary, etc.) pages.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="column.count.body">
- <refmeta>
- <refentrytitle>column.count.body</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">integer</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>column.count.body</refname>
- <refpurpose>Number of columns on body pages</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="column.count.body.frag">
- <xsl:param name="column.count.body" select="1"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Number of columns on body pages.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="column.count.front">
- <refmeta>
- <refentrytitle>column.count.front</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">integer</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>column.count.front</refname>
- <refpurpose>Number of columns on front matter pages</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="column.count.front.frag">
- <xsl:param name="column.count.front" select="1"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Number of columns on front matter (dedication, preface, etc.) pages.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="column.count.index">
- <refmeta>
- <refentrytitle>column.count.index</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">integer</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>column.count.index</refname>
- <refpurpose>Number of columns on index pages</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="column.count.index.frag">
- <xsl:param name="column.count.index">2</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Number of columns on index pages.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="column.count.lot">
- <refmeta>
- <refentrytitle>column.count.lot</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">integer</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>column.count.lot</refname>
- <refpurpose>Number of columns on a 'List-of-Titles' page</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="column.count.lot.frag">
- <xsl:param name="column.count.lot" select="1"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Number of columns on a page sequence containing the Table of Contents,
- List of Figures, etc.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="column.count.titlepage">
- <refmeta>
- <refentrytitle>column.count.titlepage</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">integer</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>column.count.titlepage</refname>
- <refpurpose>Number of columns on a title page</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="column.count.titlepage.frag">
- <xsl:param name="column.count.titlepage" select="1"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Number of columns on a title page</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="column.gap.back">
- <refmeta>
- <refentrytitle>column.gap.back</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">length</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>column.gap.back</refname>
- <refpurpose>Gap between columns in back matter</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="column.gap.back.frag">
- <xsl:param name="column.gap.back">12pt</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Specifies the gap between columns in back matter (if
- <parameter>column.count.back</parameter> is greater than one).</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="column.gap.body">
- <refmeta>
- <refentrytitle>column.gap.body</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">length</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>column.gap.body</refname>
- <refpurpose>Gap between columns in the body</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="column.gap.body.frag">
- <xsl:param name="column.gap.body">12pt</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Specifies the gap between columns in body matter (if
- <parameter>column.count.body</parameter> is greater than one).</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="column.gap.front">
- <refmeta>
- <refentrytitle>column.gap.front</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">length</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>column.gap.front</refname>
- <refpurpose>Gap between columns in the front matter</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="column.gap.front.frag">
- <xsl:param name="column.gap.front">12pt</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Specifies the gap between columns in front matter (if
- <parameter>column.count.front</parameter> is greater than one).</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="column.gap.index">
- <refmeta>
- <refentrytitle>column.gap.index</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">length</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>column.gap.index</refname>
- <refpurpose>Gap between columns in the index</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="column.gap.index.frag">
- <xsl:param name="column.gap.index">12pt</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Specifies the gap between columns in indexes (if
- <parameter>column.count.index</parameter> is greater than one).</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="column.gap.lot">
- <refmeta>
- <refentrytitle>column.gap.lot</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">length</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>column.gap.lot</refname>
- <refpurpose>Gap between columns on a 'List-of-Titles' page</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="column.gap.lot.frag">
- <xsl:param name="column.gap.lot">12pt</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Specifies the gap between columns on 'List-of-Titles' pages (if
- <parameter>column.count.lot</parameter> is greater than one).</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="column.gap.titlepage">
- <refmeta>
- <refentrytitle>column.gap.titlepage</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">length</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>column.gap.titlepage</refname>
- <refpurpose>Gap between columns on title pages</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="column.gap.titlepage.frag">
- <xsl:param name="column.gap.titlepage">12pt</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Specifies the gap between columns on title pages (if
- <parameter>column.count.titlepage</parameter> is greater than one).</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="region.after.extent">
- <refmeta>
- <refentrytitle>region.after.extent</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">length</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>region.after.extent</refname>
- <refpurpose>Specifies the height of the footer.</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="region.after.extent.frag">
- <xsl:param name="region.after.extent">0.4in</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The region after extent is the height of the area where footers
- are printed.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="region.before.extent">
- <refmeta>
- <refentrytitle>region.before.extent</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">length</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>region.before.extent</refname>
- <refpurpose>Specifies the height of the header</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="region.before.extent.frag">
- <xsl:param name="region.before.extent">0.4in</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The region before extent is the height of the area where headers
- are printed.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="region.inner.extent">
- <refmeta>
- <refentrytitle>region.inner.extent</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">length</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>region.inner.extent</refname>
- <refpurpose>Specifies the width of the inner side region</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="region.inner.extent.frag">
- <xsl:param name="region.inner.extent">0in</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The region inner extent is the width of the optional
- text area next to the inner side (binding side) of the
- body region. </para>
- <para>For double-sided output, this side region
- is <literal>fo:region-start</literal> on a odd-numbered page,
- and <literal>fo:region-end</literal> on an even-numbered page.</para>
- <para>For single-sided output, this side region
- is <literal>fo:region-start</literal> for all pages.</para>
- <para>This correspondence applies to all languages,
- both left-to-right and right-to-left writing modes.</para>
- <para>The default value of this parameter is zero. If you enlarge this extent,
- be sure to also enlarge the <parameter>body.margin.inner</parameter>
- parameter to make room for its content, otherwise any text in
- the side region may overlap with the body text.</para>
- <para>See also
- <parameter>region.outer.extent</parameter>,
- <parameter>body.margin.inner</parameter>,
- <parameter>body.margin.outer</parameter>,
- <parameter>side.region.precedence</parameter>.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="region.outer.extent">
- <refmeta>
- <refentrytitle>region.outer.extent</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">length</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>region.outer.extent</refname>
- <refpurpose>Specifies the width of the outer side region</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="region.outer.extent.frag">
- <xsl:param name="region.outer.extent">0in</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The region outer extent is the width of the optional
- text area next to the outer side (opposite the binding side) of the
- body region. </para>
- <para>For double-sided output, this side region
- is <literal>fo:region-end</literal> on a odd-numbered page,
- and <literal>fo:region-start</literal> on an even-numbered page.</para>
- <para>For single-sided output, this side region
- is <literal>fo:region-end</literal> for all pages.</para>
- <para>This correspondence applies to all languages,
- both left-to-right and right-to-left writing modes.</para>
- <para>The default value of this parameter is zero. If you enlarge this extent,
- be sure to also enlarge the <parameter>body.margin.outer</parameter>
- parameter to make room for its content, otherwise any text in
- the side region may overlap with the body text.</para>
- <para>See also
- <parameter>region.inner.extent</parameter>,
- <parameter>body.margin.inner</parameter>,
- <parameter>body.margin.outer</parameter>,
- <parameter>side.region.precedence</parameter>.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="default.units">
- <refmeta>
- <refentrytitle>default.units</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">list</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">cm</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">mm</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">in</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">pt</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">pc</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">px</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">em</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>default.units</refname>
- <refpurpose>Default units for an unqualified dimension</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="default.units.frag">
- <xsl:param name="default.units">pt</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If an unqualified dimension is encountered (for example, in a
- graphic width), the <parameter>default.units</parameter> will be used for the
- units. Unqualified dimensions are not allowed in XSL Formatting Objects.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="normal.para.spacing">
- <refmeta>
- <refentrytitle>normal.para.spacing</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>normal.para.spacing</refname>
- <refpurpose>What space do you want between normal paragraphs</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="normal.para.spacing.frag"><xsl:attribute-set name="normal.para.spacing">
- <xsl:attribute name="space-before.optimum">1em</xsl:attribute>
- <xsl:attribute name="space-before.minimum">0.8em</xsl:attribute>
- <xsl:attribute name="space-before.maximum">1.2em</xsl:attribute>
- </xsl:attribute-set></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Specify the spacing required between normal paragraphs as well as
- the following block-level elements:
- </para>
- <literallayout>ackno
- acknowledgements
- cmdsynopsis
- glosslist
- sidebar
- simpara
- simplelist
- </literallayout>
- <para>To customize the spacing, you need to reset all three attributes.</para>
- <para>To specify properties on just <tag>para</tag> elements without
- affecting these other elements,
- use the
- <link linkend="para.properties">para.properties</link>
- attribute-set. </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="para.properties">
- <refmeta>
- <refentrytitle>para.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>para.properties</refname>
- <refpurpose>Properties to apply to para elements</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="para.properties.frag"><xsl:attribute-set name="para.properties" use-attribute-sets="normal.para.spacing">
- </xsl:attribute-set></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Specify properties to apply to the fo:block of a para element,
- such as <literal>text-indent</literal>.
- Although the default attribute-set is empty, it uses the attribute-set
- named <literal>normal.para.spacing</literal> to add vertical space before
- each para. The <literal>para.properties</literal> attribute-set can override those
- spacing properties for para only.</para>
- <para>See also
- <link linkend="normal.para.spacing">normal.para.spacing</link>.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="body.font.master">
- <refmeta>
- <refentrytitle>body.font.master</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">number</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>body.font.master</refname>
- <refpurpose>Specifies the default point size for body text</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="body.font.master.frag">
- <xsl:param name="body.font.master">10</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The body font size is specified in two parameters
- (<parameter>body.font.master</parameter> and <parameter>body.font.size</parameter>)
- so that math can be performed on the font size by XSLT.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="body.font.size">
- <refmeta>
- <refentrytitle>body.font.size</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">length</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>body.font.size</refname>
- <refpurpose>Specifies the default font size for body text</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="body.font.size.frag">
- <xsl:param name="body.font.size">
- <xsl:value-of select="$body.font.master"></xsl:value-of><xsl:text>pt</xsl:text>
- </xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The body font size is specified in two parameters
- (<parameter>body.font.master</parameter> and <parameter>body.font.size</parameter>)
- so that math can be performed on the font size by XSLT.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="footnote.font.size">
- <refmeta>
- <refentrytitle>footnote.font.size</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">length</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>footnote.font.size</refname>
- <refpurpose>The font size for footnotes</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="footnote.font.size.frag"><xsl:param name="footnote.font.size">
- <xsl:value-of select="$body.font.master * 0.8"></xsl:value-of><xsl:text>pt</xsl:text>
- </xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The footnote font size is used for...footnotes!
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="title.margin.left">
- <refmeta>
- <refentrytitle>title.margin.left</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">length</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>title.margin.left</refname>
- <refpurpose>Adjust the left margin for titles</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="title.margin.left.frag">
- <xsl:param name="title.margin.left">
- <xsl:choose>
- <xsl:when test="$fop.extensions != 0">-4pc</xsl:when>
- <xsl:when test="$passivetex.extensions != 0">0pt</xsl:when>
- <xsl:otherwise>0pt</xsl:otherwise>
- </xsl:choose>
- </xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>This parameter provides
- the means of adjusting the left margin for titles
- when the XSL-FO processor being used is
- an old version of FOP (0.25 and earlier).
- It is only useful when the <parameter>fop.extensions</parameter>
- is nonzero.</para>
- <para>The left margin of the body region
- is calculated to include this space,
- and titles are outdented to the left outside
- the body region by this amount,
- effectively leaving titles at the intended left margin
- and the body text indented.
- Currently this method is only used for old FOP because
- it cannot properly use the <parameter>body.start.indent</parameter>
- parameter.
- </para>
- <para>
- The default value when the <parameter>fop.extensions</parameter>
- parameter is nonzero is -4pc, which means the
- body text is indented 4 picas relative to
- the titles.
- The default value when the <parameter>fop.extensions</parameter>
- parameter equals zero is 0pt, and
- the body indent should instead be specified
- using the <parameter>body.start.indent</parameter>
- parameter.
- </para>
- <para>
- If you set the value to zero, be sure to still include
- a unit indicator such as <literal>0pt</literal>, or
- the FO processor will report errors.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="draft.mode">
- <refmeta>
- <refentrytitle>draft.mode</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">list</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">no</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">yes</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">maybe</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>draft.mode</refname>
- <refpurpose>Select draft mode</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="draft.mode.frag">
- <xsl:param name="draft.mode">no</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Selects draft mode. If <parameter>draft.mode</parameter> is
- <quote><literal>yes</literal></quote>, the entire document will be treated
- as a draft. If it is <quote><literal>no</literal></quote>, the entire document
- will be treated as a final copy. If it is <quote><literal>maybe</literal></quote>,
- individual sections will be treated as draft or final independently, depending
- on how their <literal>status</literal> attribute is set.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="draft.watermark.image">
- <refmeta>
- <refentrytitle>draft.watermark.image</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">uri</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>draft.watermark.image</refname>
- <refpurpose>The URI of the image to be used for draft watermarks</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="draft.watermark.image.frag">
- <xsl:param name="draft.watermark.image">images/draft.png</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The image to be used for draft watermarks.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="headers.on.blank.pages">
- <refmeta>
- <refentrytitle>headers.on.blank.pages</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>headers.on.blank.pages</refname>
- <refpurpose>Put headers on blank pages?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="headers.on.blank.pages.frag">
- <xsl:param name="headers.on.blank.pages" select="1"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, headers will be placed on blank pages.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="footers.on.blank.pages">
- <refmeta>
- <refentrytitle>footers.on.blank.pages</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>footers.on.blank.pages</refname>
- <refpurpose>Put footers on blank pages?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="footers.on.blank.pages.frag">
- <xsl:param name="footers.on.blank.pages" select="1"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, footers will be placed on blank pages.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="header.rule">
- <refmeta>
- <refentrytitle>header.rule</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>header.rule</refname>
- <refpurpose>Rule under headers?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="header.rule.frag">
- <xsl:param name="header.rule" select="1"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, a rule will be drawn below the page headers.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="footer.rule">
- <refmeta>
- <refentrytitle>footer.rule</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>footer.rule</refname>
- <refpurpose>Rule over footers?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="footer.rule.frag">
- <xsl:param name="footer.rule" select="1"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, a rule will be drawn above the page footers.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="header.column.widths">
- <refmeta>
- <refentrytitle>header.column.widths</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>header.column.widths</refname>
- <refpurpose>Specify relative widths of header areas</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting id="header.column.widths.frag">
- <xsl:param name="header.column.widths">1 1 1</xsl:param>
- </programlisting></refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Page headers in print output use a three column table
- to position text at the left, center, and right side of
- the header on the page.
- This parameter lets you specify the relative sizes of the
- three columns. The default value is
- "1 1 1".</para>
- <para>The parameter value must be three numbers, separated
- by white space. The first number represents the relative
- width of the inside header for
- double-sided output. The second number is the relative
- width of the center header. The third number is the
- relative width of the outside header for
- double-sided output.
- </para>
- <para>For single-sided output, the first number is the
- relative width of left header for left-to-right
- text direction, or the right header for right-to-left
- text direction.
- The third number is the
- relative width of right header for left-to-right
- text direction, or the left header for right-to-left
- text direction.</para>
- <para>The numbers are used to specify the column widths
- for the table that makes up the header area.
- In the FO output, this looks like:
- </para>
- <programlisting>
- <fo:table-column column-number="1"
- column-width="proportional-column-width(1)"/>
- </programlisting>
- <para>
- The <literal>proportional-column-width()</literal>
- function computes a column width by dividing its
- argument by the total of the arguments for all the columns, and
- then multiplying the result by the width of the whole table
- (assuming all the column specs use the function).
- Its argument can be any positive integer or floating point number.
- Zero is an acceptable value, although some FO processors
- may warn about it, in which case using a very small number might
- be more satisfactory.
- </para>
- <para>For example, the value "1 2 1" means the center
- header should have twice the width of the other areas.
- A value of "0 0 1" means the entire header area
- is reserved for the right (or outside) header text.
- Note that to keep the center area centered on
- the page, the left and right values must be
- the same. A specification like "1 2 3" means the
- center area is no longer centered on the page
- since the right area is three times the width of the left area.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="footer.column.widths">
- <refmeta>
- <refentrytitle>footer.column.widths</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>footer.column.widths</refname>
- <refpurpose>Specify relative widths of footer areas</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting id="footer.column.widths.frag">
- <xsl:param name="footer.column.widths">1 1 1</xsl:param>
- </programlisting></refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Page footers in print output use a three column table
- to position text at the left, center, and right side of
- the footer on the page.
- This parameter lets you specify the relative sizes of the
- three columns. The default value is
- "1 1 1".</para>
- <para>The parameter value must be three numbers, separated
- by white space. The first number represents the relative
- width of the inside footer for
- double-sided output. The second number is the relative
- width of the center footer. The third number is the
- relative width of the outside footer for
- double-sided output.
- </para>
- <para>For single-sided output, the first number is the
- relative width of left footer for left-to-right
- text direction, or the right footer for right-to-left
- text direction.
- The third number is the
- relative width of right footer for left-to-right
- text direction, or the left footer for right-to-left
- text direction.</para>
- <para>The numbers are used to specify the column widths
- for the table that makes up the footer area.
- In the FO output, this looks like:
- </para>
- <programlisting>
- <fo:table-column column-number="1"
- column-width="proportional-column-width(1)"/>
- </programlisting>
- <para>
- The <literal>proportional-column-width()</literal>
- function computes a column width by dividing its
- argument by the total of the arguments for all the columns, and
- then multiplying the result by the width of the whole table
- (assuming all the column specs use the function).
- Its argument can be any positive integer or floating point number.
- Zero is an acceptable value, although some FO processors
- may warn about it, in which case using a very small number might
- be more satisfactory.
- </para>
- <para>For example, the value "1 2 1" means the center
- footer should have twice the width of the other areas.
- A value of "0 0 1" means the entire footer area
- is reserved for the right (or outside) footer text.
- Note that to keep the center area centered on
- the page, the left and right values must be
- the same. A specification like "1 2 3" means the
- center area is no longer centered on the page
- since the right area is three times the width of the left area.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="header.table.properties">
- <refmeta>
- <refentrytitle>header.table.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>header.table.properties</refname>
- <refpurpose>Apply properties to the header layout table</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="header.table.properties.frag">
- <xsl:attribute-set name="header.table.properties">
- <xsl:attribute name="table-layout">fixed</xsl:attribute>
- <xsl:attribute name="width">100%</xsl:attribute>
- </xsl:attribute-set>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Properties applied to the table that lays out the page header.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="header.table.height">
- <refmeta>
- <refentrytitle>header.table.height</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">length</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>header.table.height</refname>
- <refpurpose>Specify the minimum height of the table containing the running page headers</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting id="header.table.height.frag">
- <xsl:param name="header.table.height">14pt</xsl:param>
- </programlisting></refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Page headers in print output use a three column table
- to position text at the left, center, and right side of
- the header on the page.
- This parameter lets you specify the minimum height
- of the single row in the table.
- Since this specifies only the minimum height,
- the table should automatically grow to fit taller content.
- The default value is "14pt".</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="footer.table.properties">
- <refmeta>
- <refentrytitle>footer.table.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>footer.table.properties</refname>
- <refpurpose>Apply properties to the footer layout table</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="footer.table.properties.frag">
- <xsl:attribute-set name="footer.table.properties">
- <xsl:attribute name="table-layout">fixed</xsl:attribute>
- <xsl:attribute name="width">100%</xsl:attribute>
- </xsl:attribute-set>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Properties applied to the table that lays out the page footer.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="footer.table.height">
- <refmeta>
- <refentrytitle>footer.table.height</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">length</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>footer.table.height</refname>
- <refpurpose>Specify the minimum height of the table containing the running page footers</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting id="footer.table.height.frag">
- <xsl:param name="footer.table.height">14pt</xsl:param>
- </programlisting></refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Page footers in print output use a three column table
- to position text at the left, center, and right side of
- the footer on the page.
- This parameter lets you specify the minimum height
- of the single row in the table.
- Since this specifies only the minimum height,
- the table should automatically grow to fit taller content.
- The default value is "14pt".</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="header.content.properties">
- <refmeta>
- <refentrytitle>header.content.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>header.content.properties</refname>
- <refpurpose>Properties of page header content</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="header.content.properties.frag">
- <xsl:attribute-set name="header.content.properties">
- <xsl:attribute name="font-family">
- <xsl:value-of select="$body.fontset"></xsl:value-of>
- </xsl:attribute>
- <xsl:attribute name="margin-left">
- <xsl:value-of select="$title.margin.left"></xsl:value-of>
- </xsl:attribute>
- </xsl:attribute-set>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Properties of page header content.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="footer.content.properties">
- <refmeta>
- <refentrytitle>footer.content.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>footer.content.properties</refname>
- <refpurpose>Properties of page footer content</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="footer.content.properties.frag">
- <xsl:attribute-set name="footer.content.properties">
- <xsl:attribute name="font-family">
- <xsl:value-of select="$body.fontset"></xsl:value-of>
- </xsl:attribute>
- <xsl:attribute name="margin-left">
- <xsl:value-of select="$title.margin.left"></xsl:value-of>
- </xsl:attribute>
- </xsl:attribute-set>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Properties of page footer content.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="marker.section.level">
- <refmeta>
- <refentrytitle>marker.section.level</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">integer</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>marker.section.level</refname>
- <refpurpose>Control depth of sections shown in running headers or footers</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="marker.section.level.frag">
- <xsl:param name="marker.section.level">2</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The <parameter>marker.section.level</parameter> parameter
- controls the depth of section levels that may be displayed
- in running headers and footers. For example, if the value
- is 2 (the default), then titles from <tag>sect1</tag> and
- <tag>sect2</tag> or equivalent <tag>section</tag>
- elements are candidates for use in running headers and
- footers.
- </para>
- <para>Each candidate title is marked in the FO output with a
- <tag><fo:marker marker-class-name="section.head.marker"></tag>
- element.
- </para>
- <para>In order for such titles to appear in headers
- or footers, the <literal>header.content</literal>
- or <literal>footer.content</literal> template
- must be customized to retrieve the marker using
- an output element such as:
- </para>
- <programlisting>
- <fo:retrieve-marker retrieve-class-name="section.head.marker"
- retrieve-position="first-including-carryover"
- retrieve-boundary="page-sequence"/>
- </programlisting>
- </refsection>
- </refentry>
- <refentry version="5.0" id="side.region.precedence">
- <refmeta>
- <refentrytitle>side.region.precedence</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>side.region.precedence</refname>
- <refpurpose>Determines side region page layout precedence</refpurpose>
- </refnamediv>
- <refsynopsisdiv> <programlisting id="side.region.precedence.frag">
- <xsl:param name="side.region.precedence">false</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
-
- <para>If optional side regions on a page
- are established using parameters such as
- <parameter>body.margin.inner</parameter>,
- <parameter>region.inner.extent</parameter>, etc., then this
- parameter determines what happens at the corners where the
- side regions meet the header and footer regions.</para>
- <para>If the value of this parameter is <literal>true</literal>,
- then the side regions have precedence and extend higher
- and lower, while the header and footer regions are narrower
- and fit inside the side regions.</para>
- <para>If the value of this parameter is <literal>false</literal>
- (the default value), then the header and footer regions
- have precedence and extend over and below the side regions.
- Any value other than <literal>true</literal> or
- <literal>false</literal> is taken to be <literal>false</literal>.</para>
- <para>If you need to set precedence separately for
- individual regions, then you can set four
- parameters that are normally internal to the stylesheet.
- These four parameters are normally set based
- on the value from <parameter>side.region.precedence</parameter>:</para>
- <programlisting>region.before.precedence
- region.after.precedence
- region.start.precedence
- region.end.precedence</programlisting>
- <para>See also
- <parameter>region.inner.extent</parameter>,
- <parameter>region.outer.extent</parameter>,
- <parameter>body.margin.inner</parameter>,
- <parameter>body.margin.outer</parameter>.
- </para>
- </refsection> </refentry>
- <refentry version="5.0" id="region.inner.properties">
- <refmeta>
- <refentrytitle>region.inner.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>region.inner.properties</refname>
- <refpurpose>Properties of running inner side region</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="region.inner.properties.frag">
- <xsl:attribute-set name="region.inner.properties">
- <xsl:attribute name="border-width">0</xsl:attribute>
- <xsl:attribute name="padding">0</xsl:attribute>
- <xsl:attribute name="reference-orientation">90</xsl:attribute>
- </xsl:attribute-set>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The FO stylesheet supports optional side regions
- similar to the header and footer regions.
- Any attributes declared in this attribute-set
- are applied to the region element in the page master
- on the inner side (binding side) of the page.
- This corresponds to <literal><fo:regin-start></literal>
- on odd-numbered pages and <literal><fo:region-end></literal>
- on even-numbered pages.
- For single-sided output, it always corresponds to
- <literal><fo:regin-start></literal>.</para>
- <para>You can customize the template named
- <literal>inner.region.content</literal> to specify
- the content of the inner side region.</para>
- <para>See also
- <parameter>inner.region.content.properties</parameter>,
- <parameter>page.margin.inner</parameter>,
- <parameter>body.margin.inner</parameter>,
- and the corresponding <literal>outer</literal>
- parameters.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="region.outer.properties">
- <refmeta>
- <refentrytitle>region.outer.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>region.outer.properties</refname>
- <refpurpose>Properties of running outer side region</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="region.outer.properties.frag">
- <xsl:attribute-set name="region.outer.properties">
- <xsl:attribute name="border-width">0</xsl:attribute>
- <xsl:attribute name="padding">0</xsl:attribute>
- <xsl:attribute name="reference-orientation">90</xsl:attribute>
- </xsl:attribute-set>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The FO stylesheet supports optional side regions
- similar to the header and footer regions.
- Any attributes declared in this attribute-set
- are applied to the region element in the page master
- on the outer side (opposite the binding side) of the page.
- This corresponds to <literal><fo:regin-start></literal>
- on odd-numbered pages and <literal><fo:region-end></literal>
- on even-numbered pages.
- For single-sided output, it always corresponds to
- <literal><fo:regin-start></literal>.</para>
- <para>You can customize the template named
- <literal>outer.region.content</literal> to specify
- the content of the outer side region.</para>
- <para>See also
- <parameter>outer.region.content.properties</parameter>,
- <parameter>page.margin.outer</parameter>,
- <parameter>body.margin.outer</parameter>,
- and the corresponding <literal>inner</literal>
- parameters.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="inner.region.content.properties">
- <refmeta>
- <refentrytitle>inner.region.content.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>inner.region.content.properties</refname>
- <refpurpose>Properties of running inner side content</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="inner.region.content.properties.frag">
- <xsl:attribute-set name="inner.region.content.properties">
- </xsl:attribute-set>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The FO stylesheet supports optional side regions
- similar to the header and footer regions.
- Any attributes declared in this attribute-set
- are applied to the fo:block in the side region
- on the inner side (binding side) of the page.
- This corresponds to the <literal>start</literal>
- region on odd-numbered pages and the <literal>end</literal>
- region on even-numbered pages.
- For single-sided output, it always corresponds to
- the <literal>start</literal> region.</para>
- <para>You can customize the template named
- <literal>inner.region.content</literal> to specify
- the content of the inner side region.</para>
- <para>See also
- <parameter>region.inner.properties</parameter>,
- <parameter>page.margin.inner</parameter>,
- <parameter>body.margin.inner</parameter>,
- and the corresponding <literal>outer</literal>
- parameters.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="outer.region.content.properties">
- <refmeta>
- <refentrytitle>outer.region.content.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>outer.region.content.properties</refname>
- <refpurpose>Properties of running outer side content</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="outer.region.content.properties.frag">
- <xsl:attribute-set name="outer.region.content.properties">
- </xsl:attribute-set>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The FO stylesheet supports optional side regions
- similar to the header and footer regions.
- Any attributes declared in this attribute-set
- are applied to the fo:block in the side region
- on the outer side (opposite the binding side) of the page.
- This corresponds to the <literal>start</literal>
- region on odd-numbered pages and the <literal>end</literal>
- region on even-numbered pages.
- For single-sided output, it always corresponds to
- the <literal>start</literal> region.</para>
- <para>You can customize the template named
- <literal>outer.region.content</literal> to specify
- the content of the outer side region.</para>
- <para>See also
- <parameter>region.outer.properties</parameter>,
- <parameter>page.margin.outer</parameter>,
- <parameter>body.margin.outer</parameter>,
- and the corresponding <literal>inner</literal>
- parameters.</para>
- </refsection>
- </refentry>
- </reference><reference id="fonts" xml:base="../fo/param.xml"><title>Font Families</title>
- <refentry version="5.0" id="body.font.family">
- <refmeta>
- <refentrytitle>body.font.family</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">list</refmiscinfo>
- <refmiscinfo class="other" otherclass="list-type">open</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">serif</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">sans-serif</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">monospace</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>body.font.family</refname>
- <refpurpose>The default font family for body text</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="body.font.family.frag">
- <xsl:param name="body.font.family">serif</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The body font family is the default font used for text in the page body.</para>
- <para>If more than one font is required, enter the font names,
- separated by a comma, e.g.</para>
- <literallayout>
- <xsl:param name="body.font.family">Arial, SimSun, serif</xsl:param>
- </literallayout>
- </refsection>
- </refentry>
- <refentry version="5.0" id="dingbat.font.family">
- <refmeta>
- <refentrytitle>dingbat.font.family</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">list</refmiscinfo>
- <refmiscinfo class="other" otherclass="list-type">open</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">serif</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">sans-serif</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">monospace</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>dingbat.font.family</refname>
- <refpurpose>The font family for copyright, quotes, and other symbols</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="dingbat.font.family.frag">
- <xsl:param name="dingbat.font.family">serif</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The dingbat font family is used for dingbats. If it is defined
- as the empty string, no font change is effected around dingbats.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="monospace.font.family">
- <refmeta>
- <refentrytitle>monospace.font.family</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>monospace.font.family</refname>
- <refpurpose>The default font family for monospace environments</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="monospace.font.family.frag">
- <xsl:param name="monospace.font.family">monospace</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The monospace font family is used for verbatim environments
- (program listings, screens, etc.).
- </para>
- <para>If more than one font is required, enter the font names,
- separated by a comma, e.g.</para>
- <literallayout>
- <xsl:param name="body.font.family">Arial, SimSun, serif</xsl:param>
- </literallayout>
- </refsection>
- </refentry>
- <refentry version="5.0" id="sans.font.family">
- <refmeta>
- <refentrytitle>sans.font.family</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>sans.font.family</refname>
- <refpurpose>The default sans-serif font family</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="sans.font.family.frag">
- <xsl:param name="sans.font.family">sans-serif</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The default sans-serif font family. At the present, this isn't
- actually used by the stylesheets.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="title.font.family">
- <refmeta>
- <refentrytitle>title.font.family</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">list</refmiscinfo>
- <refmiscinfo class="other" otherclass="list-type">open</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">serif</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">sans-serif</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">monospace</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>title.font.family</refname>
- <refpurpose>The default font family for titles</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="title.font.family.frag">
- <xsl:param name="title.font.family">sans-serif</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The title font family is used for titles (chapter, section, figure,
- etc.)
- </para>
- <para>If more than one font is required, enter the font names,
- separated by a comma, e.g.</para>
- <literallayout>
- <xsl:param name="body.font.family">Arial, SimSun, serif</xsl:param>
- </literallayout>
- </refsection>
- </refentry>
- <refentry version="5.0" id="symbol.font.family">
- <refmeta>
- <refentrytitle>symbol.font.family</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">list</refmiscinfo>
- <refmiscinfo class="other" otherclass="list-type">open</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">serif</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">sans-serif</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">monospace</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>symbol.font.family</refname>
- <refpurpose>The font families to be searched for symbols outside
- of the body font</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="symbol.font.family.frag">
- <xsl:param name="symbol.font.family">Symbol,ZapfDingbats</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>A typical body or title font does not contain all
- the character glyphs that DocBook supports. This parameter
- specifies additional fonts that should be searched for
- special characters not in the normal font.
- These symbol font names are automatically appended
- to the body or title font family name when fonts
- are specified in a
- <tag class="attribute">font-family</tag>
- property in the FO output.
- </para>
- <para>The symbol font names should be entered as a
- comma-separated list. The default value is
- <literal>Symbol,ZapfDingbats</literal>.
- </para>
- </refsection>
- </refentry>
- </reference><reference id="propsets" xml:base="../fo/param.xml"><title>Property Sets</title>
- <refentry version="5.0" id="formal.object.properties">
- <refmeta>
- <refentrytitle>formal.object.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>formal.object.properties</refname>
- <refpurpose>Properties associated with a formal object such as a figure, or other component that has a title</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="formal.object.properties.frag">
- <xsl:attribute-set name="formal.object.properties">
- <xsl:attribute name="space-before.minimum">0.5em</xsl:attribute>
- <xsl:attribute name="space-before.optimum">1em</xsl:attribute>
- <xsl:attribute name="space-before.maximum">2em</xsl:attribute>
- <xsl:attribute name="space-after.minimum">0.5em</xsl:attribute>
- <xsl:attribute name="space-after.optimum">1em</xsl:attribute>
- <xsl:attribute name="space-after.maximum">2em</xsl:attribute>
- <xsl:attribute name="keep-together.within-column">always</xsl:attribute>
- </xsl:attribute-set>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The styling for formal objects in docbook. Specify the spacing
- before and after the object.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="formal.title.properties">
- <refmeta>
- <refentrytitle>formal.title.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>formal.title.properties</refname>
- <refpurpose>Style the title element of formal object such as a figure.</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="formal.title.properties.frag">
- <xsl:attribute-set name="formal.title.properties" use-attribute-sets="normal.para.spacing">
- <xsl:attribute name="font-weight">bold</xsl:attribute>
- <xsl:attribute name="font-size">
- <xsl:value-of select="$body.font.master * 1.2"></xsl:value-of>
- <xsl:text>pt</xsl:text>
- </xsl:attribute>
- <xsl:attribute name="hyphenate">false</xsl:attribute>
- <xsl:attribute name="space-after.minimum">0.4em</xsl:attribute>
- <xsl:attribute name="space-after.optimum">0.6em</xsl:attribute>
- <xsl:attribute name="space-after.maximum">0.8em</xsl:attribute>
- </xsl:attribute-set>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Specify how the title should be styled. Specify the font size and weight of the title of the formal object.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="informal.object.properties">
- <refmeta>
- <refentrytitle>informal.object.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>informal.object.properties</refname>
- <refpurpose>Properties associated with an informal (untitled) object, such as an informalfigure</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="informal.object.properties.frag"><xsl:attribute-set name="informal.object.properties">
- <xsl:attribute name="space-before.minimum">0.5em</xsl:attribute>
- <xsl:attribute name="space-before.optimum">1em</xsl:attribute>
- <xsl:attribute name="space-before.maximum">2em</xsl:attribute>
- <xsl:attribute name="space-after.minimum">0.5em</xsl:attribute>
- <xsl:attribute name="space-after.optimum">1em</xsl:attribute>
- <xsl:attribute name="space-after.maximum">2em</xsl:attribute>
- </xsl:attribute-set></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The styling for informal objects in docbook. Specify the spacing before and after the object.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="monospace.properties">
- <refmeta>
- <refentrytitle>monospace.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>monospace.properties</refname>
- <refpurpose>Properties of monospaced content</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="monospace.properties.frag">
- <xsl:attribute-set name="monospace.properties">
- <xsl:attribute name="font-family">
- <xsl:value-of select="$monospace.font.family"></xsl:value-of>
- </xsl:attribute>
- </xsl:attribute-set>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Specifies the font name for monospaced output. This property set
- used to set the font-size as well, but that doesn't work very well
- when different fonts are used (as they are in titles and paragraphs,
- for example).</para>
- <para>If you want to set the font-size in a customization layer, it's
- probably going to be more appropriate to set font-size-adjust, if your
- formatter supports it.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="verbatim.properties">
- <refmeta>
- <refentrytitle>verbatim.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>verbatim.properties</refname>
- <refpurpose>Properties associated with verbatim text</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="verbatim.properties.frag">
- <xsl:attribute-set name="verbatim.properties">
- <xsl:attribute name="space-before.minimum">0.8em</xsl:attribute>
- <xsl:attribute name="space-before.optimum">1em</xsl:attribute>
- <xsl:attribute name="space-before.maximum">1.2em</xsl:attribute>
- <xsl:attribute name="space-after.minimum">0.8em</xsl:attribute>
- <xsl:attribute name="space-after.optimum">1em</xsl:attribute>
- <xsl:attribute name="space-after.maximum">1.2em</xsl:attribute>
- <xsl:attribute name="hyphenate">false</xsl:attribute>
- <xsl:attribute name="wrap-option">no-wrap</xsl:attribute>
- <xsl:attribute name="white-space-collapse">false</xsl:attribute>
- <xsl:attribute name="white-space-treatment">preserve</xsl:attribute>
- <xsl:attribute name="linefeed-treatment">preserve</xsl:attribute>
- <xsl:attribute name="text-align">start</xsl:attribute>
- </xsl:attribute-set></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>This attribute set is used on all verbatim environments.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="monospace.verbatim.properties">
- <refmeta>
- <refentrytitle>monospace.verbatim.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>monospace.verbatim.properties</refname>
- <refpurpose>What font and size do you want for monospaced content?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="monospace.verbatim.properties.frag">
- <xsl:attribute-set name="monospace.verbatim.properties" use-attribute-sets="verbatim.properties monospace.properties">
- <xsl:attribute name="text-align">start</xsl:attribute>
- <xsl:attribute name="wrap-option">no-wrap</xsl:attribute>
- </xsl:attribute-set>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Specify the font name and size you want for monospaced output</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="sidebar.properties">
- <refmeta>
- <refentrytitle>sidebar.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>sidebar.properties</refname>
- <refpurpose>Attribute set for sidebar properties</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="sidebar.properties.frag">
- <xsl:attribute-set name="sidebar.properties" use-attribute-sets="formal.object.properties">
- <xsl:attribute name="border-style">solid</xsl:attribute>
- <xsl:attribute name="border-width">1pt</xsl:attribute>
- <xsl:attribute name="border-color">black</xsl:attribute>
- <xsl:attribute name="background-color">#DDDDDD</xsl:attribute>
- <xsl:attribute name="padding-start">12pt</xsl:attribute>
- <xsl:attribute name="padding-end">12pt</xsl:attribute>
- <xsl:attribute name="padding-top">6pt</xsl:attribute>
- <xsl:attribute name="padding-bottom">6pt</xsl:attribute>
- <xsl:attribute name="margin-{$direction.align.start}">0pt</xsl:attribute>
- <xsl:attribute name="margin-{$direction.align.end}">0pt</xsl:attribute>
- <!--
- <xsl:attribute name="margin-top">6pt</xsl:attribute>
- <xsl:attribute name="margin-bottom">6pt</xsl:attribute>
- -->
- </xsl:attribute-set>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The styling for sidebars.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="sidebar.title.properties">
- <refmeta>
- <refentrytitle>sidebar.title.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>sidebar.title.properties</refname>
- <refpurpose>Attribute set for sidebar titles</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="sidebar.title.properties.frag">
- <xsl:attribute-set name="sidebar.title.properties">
- <xsl:attribute name="font-weight">bold</xsl:attribute>
- <xsl:attribute name="hyphenate">false</xsl:attribute>
- <xsl:attribute name="text-align">start</xsl:attribute>
- <xsl:attribute name="keep-with-next.within-column">always</xsl:attribute>
- </xsl:attribute-set>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The styling for sidebars titles.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="sidebar.float.type">
- <refmeta>
- <refentrytitle>sidebar.float.type</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">list</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">none</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">before</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">left</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">start</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">right</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">end</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">inside</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">outside</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>sidebar.float.type</refname>
- <refpurpose>Select type of float for sidebar elements</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="sidebar.float.type.frag">
- <xsl:param name="sidebar.float.type">none</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Selects the type of float for sidebar elements.
- </para>
- <itemizedlist>
- <listitem>
- <para>If <parameter>sidebar.float.type</parameter> is
- <quote><literal>none</literal></quote>, then
- no float is used.
- </para>
- </listitem>
- <listitem>
- <para>If <parameter>sidebar.float.type</parameter> is
- <quote><literal>before</literal></quote>, then
- the float appears at the top of the page. On some processors,
- that may be the next page rather than the current page.
- </para>
- </listitem>
- <listitem>
- <para>If <parameter>sidebar.float.type</parameter> is
- <quote><literal>left</literal></quote>,
- then a left side float is used.
- </para>
- </listitem>
- <listitem>
- <para>If <parameter>sidebar.float.type</parameter> is
- <quote><literal>start</literal></quote>,
- then when the text direction is left-to-right a left side float is used.
- When the text direction is right-to-left, a right side float is used.
- </para>
- </listitem>
- <listitem>
- <para>If <parameter>sidebar.float.type</parameter> is
- <quote><literal>right</literal></quote>,
- then a right side float is used.
- </para>
- </listitem>
- <listitem>
- <para>If <parameter>sidebar.float.type</parameter> is
- <quote><literal>end</literal></quote>,
- then when the text direction is left-to-right a right side float is used.
- When the text direction is right-to-left, a left side float is used.
- </para>
- </listitem>
- <listitem>
- <para>If your XSL-FO processor supports floats positioned on the
- <quote><literal>inside</literal></quote> or
- <quote><literal>outside</literal></quote>
- of double-sided pages, then you have those two
- options for side floats as well.
- </para>
- </listitem>
- </itemizedlist>
- </refsection>
- </refentry>
- <refentry version="5.0" id="sidebar.float.width">
- <refmeta>
- <refentrytitle>sidebar.float.width</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">length</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>sidebar.float.width</refname>
- <refpurpose>Set the default width for sidebars</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="sidebar.float.width.frag">
- <xsl:param name="sidebar.float.width">1in</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Sets the default width for sidebars when used as a side float.
- The width determines the degree to which the sidebar block intrudes into
- the text area.
- </para>
- <para>If <parameter>sidebar.float.type</parameter> is
- <quote><literal>before</literal></quote> or
- <quote><literal>none</literal></quote>, then
- this parameter is ignored.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="margin.note.properties">
- <refmeta>
- <refentrytitle>margin.note.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>margin.note.properties</refname>
- <refpurpose>Attribute set for margin.note properties</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="margin.note.properties.frag">
- <xsl:attribute-set name="margin.note.properties">
- <xsl:attribute name="font-size">90%</xsl:attribute>
- <xsl:attribute name="text-align">start</xsl:attribute>
- </xsl:attribute-set>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The styling for margin notes.
- By default, margin notes are not implemented for any
- element. A stylesheet customization is needed to make
- use of this attribute-set.</para>
- <para>You can use a template named <quote>floater</quote>
- to create the customization.
- That template can create side floats by specifying the
- content and characteristics as template parameters.
- </para>
- <para>For example:</para>
- <programlisting><xsl:template match="para[@role='marginnote']">
- <xsl:call-template name="floater">
- <xsl:with-param name="position">
- <xsl:value-of select="$margin.note.float.type"/>
- </xsl:with-param>
- <xsl:with-param name="width">
- <xsl:value-of select="$margin.note.width"/>
- </xsl:with-param>
- <xsl:with-param name="content">
- <xsl:apply-imports/>
- </xsl:with-param>
- </xsl:call-template>
- </xsl:template></programlisting>
- </refsection>
- </refentry>
- <refentry version="5.0" id="margin.note.title.properties">
- <refmeta>
- <refentrytitle>margin.note.title.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>margin.note.title.properties</refname>
- <refpurpose>Attribute set for margin note titles</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="margin.note.title.properties.frag">
- <xsl:attribute-set name="margin.note.title.properties">
- <xsl:attribute name="font-weight">bold</xsl:attribute>
- <xsl:attribute name="hyphenate">false</xsl:attribute>
- <xsl:attribute name="text-align">start</xsl:attribute>
- <xsl:attribute name="keep-with-next.within-column">always</xsl:attribute>
- </xsl:attribute-set>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The styling for margin note titles.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="margin.note.float.type">
- <refmeta>
- <refentrytitle>margin.note.float.type</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">list</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">none</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">before</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">left</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">start</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">right</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">end</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">inside</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">outside</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>margin.note.float.type</refname>
- <refpurpose>Select type of float for margin note customizations</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="margin.note.float.type.frag">
- <xsl:param name="margin.note.float.type">none</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Selects the type of float for margin notes.
- DocBook does not define a margin note element, so this
- feature must be implemented as a customization of the stylesheet.
- See <parameter>margin.note.properties</parameter> for
- an example.
- </para>
- <itemizedlist>
- <listitem>
- <para>If <parameter>margin.note.float.type</parameter> is
- <quote><literal>none</literal></quote>, then
- no float is used.
- </para>
- </listitem>
- <listitem>
- <para>If <parameter>margin.note.float.type</parameter> is
- <quote><literal>before</literal></quote>, then
- the float appears at the top of the page. On some processors,
- that may be the next page rather than the current page.
- </para>
- </listitem>
- <listitem>
- <para>If <parameter>margin.note.float.type</parameter> is
- <quote><literal>left</literal></quote> or
- <quote><literal>start</literal></quote>, then
- a left side float is used.
- </para>
- </listitem>
- <listitem>
- <para>If <parameter>margin.note.float.type</parameter> is
- <quote><literal>right</literal></quote> or
- <quote><literal>end</literal></quote>, then
- a right side float is used.
- </para>
- </listitem>
- <listitem>
- <para>If your XSL-FO processor supports floats positioned on the
- <quote><literal>inside</literal></quote> or
- <quote><literal>outside</literal></quote>
- of double-sided pages, then you have those two
- options for side floats as well.
- </para>
- </listitem>
- </itemizedlist>
- </refsection>
- </refentry>
- <refentry version="5.0" id="margin.note.width">
- <refmeta>
- <refentrytitle>margin.note.width</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">length</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>margin.note.width</refname>
- <refpurpose>Set the default width for margin notes</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="margin.note.width.frag">
- <xsl:param name="margin.note.width">1in</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Sets the default width for margin notes when used as a side
- float. The width determines the degree to which the margin note block
- intrudes into the text area.
- </para>
- <para>If <parameter>margin.note.float.type</parameter> is
- <quote><literal>before</literal></quote> or
- <quote><literal>none</literal></quote>, then
- this parameter is ignored.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="component.title.properties">
- <refmeta>
- <refentrytitle>component.title.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>component.title.properties</refname>
- <refpurpose>Properties for component titles</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="component.title.properties.frag">
- <xsl:attribute-set name="component.title.properties">
- <xsl:attribute name="keep-with-next.within-column">always</xsl:attribute>
- <xsl:attribute name="space-before.optimum"><xsl:value-of select="concat($body.font.master, 'pt')"></xsl:value-of></xsl:attribute>
- <xsl:attribute name="space-before.minimum"><xsl:value-of select="concat($body.font.master, 'pt * 0.8')"></xsl:value-of></xsl:attribute>
- <xsl:attribute name="space-before.maximum"><xsl:value-of select="concat($body.font.master, 'pt * 1.2')"></xsl:value-of></xsl:attribute>
- <xsl:attribute name="hyphenate">false</xsl:attribute>
- <xsl:attribute name="text-align">
- <xsl:choose>
- <xsl:when test="((parent::article | parent::articleinfo | parent::info/parent::article) and not(ancestor::book) and not(self::bibliography)) or (parent::slides | parent::slidesinfo)">center</xsl:when>
- <xsl:otherwise>start</xsl:otherwise>
- </xsl:choose>
- </xsl:attribute>
- <xsl:attribute name="start-indent"><xsl:value-of select="$title.margin.left"></xsl:value-of></xsl:attribute>
- </xsl:attribute-set>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The properties common to all component titles.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="component.titlepage.properties">
- <refmeta>
- <refentrytitle>component.titlepage.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>component.titlepage.properties</refname>
- <refpurpose>Properties for component titlepages</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="component.titlepage.properties.frag">
- <xsl:attribute-set name="component.titlepage.properties">
- </xsl:attribute-set>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The properties that are applied to the outer block containing
- all the component title page information.
- Its main use is to set a <literal>span="all"</literal>
- property on the block that is a direct child of the flow.</para>
- <para>This attribute-set also applies to index titlepages. It is empty by default.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="section.title.properties">
- <refmeta>
- <refentrytitle>section.title.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>section.title.properties</refname>
- <refpurpose>Properties for section titles</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="section.title.properties.frag">
- <xsl:attribute-set name="section.title.properties">
- <xsl:attribute name="font-family">
- <xsl:value-of select="$title.fontset"></xsl:value-of>
- </xsl:attribute>
- <xsl:attribute name="font-weight">bold</xsl:attribute>
- <!-- font size is calculated dynamically by section.heading template -->
- <xsl:attribute name="keep-with-next.within-column">always</xsl:attribute>
- <xsl:attribute name="space-before.minimum">0.8em</xsl:attribute>
- <xsl:attribute name="space-before.optimum">1.0em</xsl:attribute>
- <xsl:attribute name="space-before.maximum">1.2em</xsl:attribute>
- <xsl:attribute name="text-align">start</xsl:attribute>
- <xsl:attribute name="start-indent"><xsl:value-of select="$title.margin.left"></xsl:value-of></xsl:attribute>
- </xsl:attribute-set>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The properties common to all section titles.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="section.title.level1.properties">
- <refmeta>
- <refentrytitle>section.title.level1.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>section.title.level1.properties</refname>
- <refpurpose>Properties for level-1 section titles</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="section.title.level1.properties.frag">
- <xsl:attribute-set name="section.title.level1.properties">
- <xsl:attribute name="font-size">
- <xsl:value-of select="$body.font.master * 2.0736"></xsl:value-of>
- <xsl:text>pt</xsl:text>
- </xsl:attribute>
- </xsl:attribute-set>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The properties of level-1 section titles.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="section.title.level2.properties">
- <refmeta>
- <refentrytitle>section.title.level2.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>section.title.level2.properties</refname>
- <refpurpose>Properties for level-2 section titles</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="section.title.level2.properties.frag">
- <xsl:attribute-set name="section.title.level2.properties">
- <xsl:attribute name="font-size">
- <xsl:value-of select="$body.font.master * 1.728"></xsl:value-of>
- <xsl:text>pt</xsl:text>
- </xsl:attribute>
- </xsl:attribute-set>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The properties of level-2 section titles.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="section.title.level3.properties">
- <refmeta>
- <refentrytitle>section.title.level3.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>section.title.level3.properties</refname>
- <refpurpose>Properties for level-3 section titles</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="section.title.level3.properties.frag">
- <xsl:attribute-set name="section.title.level3.properties">
- <xsl:attribute name="font-size">
- <xsl:value-of select="$body.font.master * 1.44"></xsl:value-of>
- <xsl:text>pt</xsl:text>
- </xsl:attribute>
- </xsl:attribute-set>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The properties of level-3 section titles.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="section.title.level4.properties">
- <refmeta>
- <refentrytitle>section.title.level4.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>section.title.level4.properties</refname>
- <refpurpose>Properties for level-4 section titles</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="section.title.level4.properties.frag">
- <xsl:attribute-set name="section.title.level4.properties">
- <xsl:attribute name="font-size">
- <xsl:value-of select="$body.font.master * 1.2"></xsl:value-of>
- <xsl:text>pt</xsl:text>
- </xsl:attribute>
- </xsl:attribute-set>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The properties of level-4 section titles.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="section.title.level5.properties">
- <refmeta>
- <refentrytitle>section.title.level5.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>section.title.level5.properties</refname>
- <refpurpose>Properties for level-5 section titles</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="section.title.level5.properties.frag">
- <xsl:attribute-set name="section.title.level5.properties">
- <xsl:attribute name="font-size">
- <xsl:value-of select="$body.font.master"></xsl:value-of>
- <xsl:text>pt</xsl:text>
- </xsl:attribute>
- </xsl:attribute-set>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The properties of level-5 section titles.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="section.title.level6.properties">
- <refmeta>
- <refentrytitle>section.title.level6.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>section.title.level6.properties</refname>
- <refpurpose>Properties for level-6 section titles</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="section.title.level6.properties.frag">
- <xsl:attribute-set name="section.title.level6.properties">
- <xsl:attribute name="font-size">
- <xsl:value-of select="$body.font.master"></xsl:value-of>
- <xsl:text>pt</xsl:text>
- </xsl:attribute>
- </xsl:attribute-set>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The properties of level-6 section titles. This property set is actually
- used for all titles below level 5.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="section.properties">
- <refmeta>
- <refentrytitle>section.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>section.properties</refname>
- <refpurpose>Properties for all section levels</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="section.properties.frag">
- <xsl:attribute-set name="section.properties">
- </xsl:attribute-set>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The properties that apply to the containing
- block of all section levels, and therefore apply to
- the whole section.
- This attribute set is inherited by the
- more specific attribute sets such as
- <tag>section.level1.properties</tag>.
- The default is empty.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="section.level1.properties">
- <refmeta>
- <refentrytitle>section.level1.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>section.level1.properties</refname>
- <refpurpose>Properties for level-1 sections</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="section.level1.properties.frag">
- <xsl:attribute-set name="section.level1.properties" use-attribute-sets="section.properties">
- </xsl:attribute-set>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The properties that apply to the containing
- block of a level-1 section, and therefore apply to
- the whole section. This includes <tag>sect1</tag>
- elements and <tag>section</tag> elements at level 1.
- </para>
- <para>For example, you could start each level-1 section on
- a new page by using:</para>
- <programlisting><xsl:attribute-set name="section.level1.properties">
- <xsl:attribute name="break-before">page</xsl:attribute>
- </xsl:attribute-set>
- </programlisting>
- <para>This attribute set inherits attributes from the
- general <tag>section.properties</tag> attribute set.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="section.level2.properties">
- <refmeta>
- <refentrytitle>section.level2.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>section.level2.properties</refname>
- <refpurpose>Properties for level-2 sections</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="section.level2.properties.frag">
- <xsl:attribute-set name="section.level2.properties" use-attribute-sets="section.properties">
- </xsl:attribute-set>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The properties that apply to the containing
- block of a level-2 section, and therefore apply to
- the whole section. This includes <tag>sect2</tag>
- elements and <tag>section</tag> elements at level 2.
- </para>
- <para>For example, you could start each level-2 section on
- a new page by using:</para>
- <programlisting><xsl:attribute-set name="section.level2.properties">
- <xsl:attribute name="break-before">page</xsl:attribute>
- </xsl:attribute-set>
- </programlisting>
- <para>This attribute set inherits attributes from the
- general <tag>section.properties</tag> attribute set.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="section.level3.properties">
- <refmeta>
- <refentrytitle>section.level3.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>section.level3.properties</refname>
- <refpurpose>Properties for level-3 sections</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="section.level3.properties.frag">
- <xsl:attribute-set name="section.level3.properties" use-attribute-sets="section.properties">
- </xsl:attribute-set>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The properties that apply to the containing
- block of a level-3 section, and therefore apply to
- the whole section. This includes <tag>sect3</tag>
- elements and <tag>section</tag> elements at level 3.
- </para>
- <para>For example, you could start each level-3 section on
- a new page by using:</para>
- <programlisting><xsl:attribute-set name="section.level3.properties">
- <xsl:attribute name="break-before">page</xsl:attribute>
- </xsl:attribute-set>
- </programlisting>
- <para>This attribute set inherits attributes from the
- general <tag>section.properties</tag> attribute set.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="section.level4.properties">
- <refmeta>
- <refentrytitle>section.level4.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>section.level4.properties</refname>
- <refpurpose>Properties for level-4 sections</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="section.level4.properties.frag">
- <xsl:attribute-set name="section.level4.properties" use-attribute-sets="section.properties">
- </xsl:attribute-set>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The properties that apply to the containing
- block of a level-4 section, and therefore apply to
- the whole section. This includes <tag>sect4</tag>
- elements and <tag>section</tag> elements at level 4.
- </para>
- <para>For example, you could start each level-4 section on
- a new page by using:</para>
- <programlisting><xsl:attribute-set name="section.level4.properties">
- <xsl:attribute name="break-before">page</xsl:attribute>
- </xsl:attribute-set>
- </programlisting>
- <para>This attribute set inherits attributes from the
- general <tag>section.properties</tag> attribute set.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="section.level5.properties">
- <refmeta>
- <refentrytitle>section.level5.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>section.level5.properties</refname>
- <refpurpose>Properties for level-5 sections</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="section.level5.properties.frag">
- <xsl:attribute-set name="section.level5.properties" use-attribute-sets="section.properties">
- </xsl:attribute-set>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The properties that apply to the containing
- block of a level-5 section, and therefore apply to
- the whole section. This includes <tag>sect5</tag>
- elements and <tag>section</tag> elements at level 5.
- </para>
- <para>For example, you could start each level-5 section on
- a new page by using:</para>
- <programlisting><xsl:attribute-set name="section.level5.properties">
- <xsl:attribute name="break-before">page</xsl:attribute>
- </xsl:attribute-set>
- </programlisting>
- <para>This attribute set inherits attributes from the
- general <tag>section.properties</tag> attribute set.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="section.level6.properties">
- <refmeta>
- <refentrytitle>section.level6.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>section.level6.properties</refname>
- <refpurpose>Properties for level-6 sections</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="section.level6.properties.frag">
- <xsl:attribute-set name="section.level6.properties" use-attribute-sets="section.properties">
- </xsl:attribute-set>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The properties that apply to the containing
- block of a level 6 or lower section, and therefore apply to
- the whole section. This includes
- <tag>section</tag> elements at level 6 and lower.
- </para>
- <para>For example, you could start each level-6 section on
- a new page by using:</para>
- <programlisting><xsl:attribute-set name="section.level6.properties">
- <xsl:attribute name="break-before">page</xsl:attribute>
- </xsl:attribute-set>
- </programlisting>
- <para>This attribute set inherits attributes from the
- general <tag>section.properties</tag> attribute set.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="figure.properties">
- <refmeta>
- <refentrytitle>figure.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>figure.properties</refname>
- <refpurpose>Properties associated with a figure</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="figure.properties.frag">
- <xsl:attribute-set name="figure.properties" use-attribute-sets="formal.object.properties"></xsl:attribute-set>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The styling for figures.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="example.properties">
- <refmeta>
- <refentrytitle>example.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>example.properties</refname>
- <refpurpose>Properties associated with a example</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="example.properties.frag">
- <xsl:attribute-set name="example.properties" use-attribute-sets="formal.object.properties">
- <xsl:attribute name="keep-together.within-column">auto</xsl:attribute>
- </xsl:attribute-set>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The styling for examples.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="equation.properties">
- <refmeta>
- <refentrytitle>equation.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>equation.properties</refname>
- <refpurpose>Properties associated with a equation</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="equation.properties.frag">
- <xsl:attribute-set name="equation.properties" use-attribute-sets="formal.object.properties"></xsl:attribute-set>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The styling for equations.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="equation.number.properties">
- <refmeta>
- <refentrytitle>equation.number.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>equation.number.properties</refname>
- <refpurpose>Properties that apply to the <tag>fo:table-cell</tag> containing the number
- of an <tag>equation</tag> that does not have a title.</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="equation.number.properties.frag"><xsl:attribute-set name="equation.number.properties">
- <xsl:attribute name="text-align">end</xsl:attribute>
- <xsl:attribute name="display-align">center</xsl:attribute>
- </xsl:attribute-set></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Properties that apply to the fo:table-cell containing the number
- of an equation when it has no title. The number in an equation with a
- title is formatted along with the title, and this attribute-set does not apply.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="table.properties">
- <refmeta>
- <refentrytitle>table.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>table.properties</refname>
- <refpurpose>Properties associated with the block surrounding a table</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="table.properties.frag">
- <xsl:attribute-set name="table.properties" use-attribute-sets="formal.object.properties">
- <xsl:attribute name="keep-together.within-column">auto</xsl:attribute>
- </xsl:attribute-set>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Block styling properties for tables. This parameter should really
- have been called <literal>table.block.properties</literal> or something
- like that, but we’re leaving it to avoid backwards-compatibility
- problems.</para>
- <para>See also <parameter>table.table.properties</parameter>.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="task.properties">
- <refmeta>
- <refentrytitle>task.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>task.properties</refname>
- <refpurpose>Properties associated with a task</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="task.properties.frag">
- <xsl:attribute-set name="task.properties" use-attribute-sets="formal.object.properties">
- <xsl:attribute name="keep-together.within-column">auto</xsl:attribute>
- </xsl:attribute-set>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Properties to style the entire block containing a task element.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="informalfigure.properties">
- <refmeta>
- <refentrytitle>informalfigure.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>informalfigure.properties</refname>
- <refpurpose>Properties associated with an informalfigure</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="informalfigure.properties.frag">
- <xsl:attribute-set name="informalfigure.properties" use-attribute-sets="informal.object.properties"></xsl:attribute-set>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The styling for informalfigures.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="informalexample.properties">
- <refmeta>
- <refentrytitle>informalexample.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>informalexample.properties</refname>
- <refpurpose>Properties associated with an informalexample</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="informalexample.properties.frag">
- <xsl:attribute-set name="informalexample.properties" use-attribute-sets="informal.object.properties"></xsl:attribute-set>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The styling for informalexamples.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="informalequation.properties">
- <refmeta>
- <refentrytitle>informalequation.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>informalequation.properties</refname>
- <refpurpose>Properties associated with an informalequation</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="informalequation.properties.frag">
- <xsl:attribute-set name="informalequation.properties" use-attribute-sets="informal.object.properties"></xsl:attribute-set>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The styling for informalequations.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="informaltable.properties">
- <refmeta>
- <refentrytitle>informaltable.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>informaltable.properties</refname>
- <refpurpose>Properties associated with the block surrounding an informaltable</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="informaltable.properties.frag">
- <xsl:attribute-set name="informaltable.properties" use-attribute-sets="informal.object.properties"></xsl:attribute-set>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Block styling properties for informaltables. This parameter should really
- have been called <literal>informaltable.block.properties</literal> or something
- like that, but we’re leaving it to avoid backwards-compatibility
- problems.</para>
- <para>See also <parameter>table.table.properties</parameter>.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="procedure.properties">
- <refmeta>
- <refentrytitle>procedure.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>procedure.properties</refname>
- <refpurpose>Properties associated with a procedure</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="procedure.properties.frag">
- <xsl:attribute-set name="procedure.properties" use-attribute-sets="formal.object.properties">
- <xsl:attribute name="keep-together.within-column">auto</xsl:attribute>
- </xsl:attribute-set>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The styling for procedures.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="root.properties">
- <refmeta>
- <refentrytitle>root.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>root.properties</refname>
- <refpurpose>The properties of the fo:root element</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="root.properties.frag">
- <xsl:attribute-set name="root.properties">
- <xsl:attribute name="font-family">
- <xsl:value-of select="$body.fontset"></xsl:value-of>
- </xsl:attribute>
- <xsl:attribute name="font-size">
- <xsl:value-of select="$body.font.size"></xsl:value-of>
- </xsl:attribute>
- <xsl:attribute name="text-align">
- <xsl:value-of select="$alignment"></xsl:value-of>
- </xsl:attribute>
- <xsl:attribute name="line-height">
- <xsl:value-of select="$line-height"></xsl:value-of>
- </xsl:attribute>
- <xsl:attribute name="font-selection-strategy">character-by-character</xsl:attribute>
- <xsl:attribute name="line-height-shift-adjustment">disregard-shifts</xsl:attribute>
- <xsl:attribute name="writing-mode">
- <xsl:value-of select="$direction.mode"></xsl:value-of>
- </xsl:attribute>
- </xsl:attribute-set>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>This property set is used on the <tag>fo:root</tag> element of
- an FO file. It defines a set of default, global parameters.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="qanda.title.properties">
- <refmeta>
- <refentrytitle>qanda.title.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>qanda.title.properties</refname>
- <refpurpose>Properties for qanda set titles</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="qanda.title.properties.frag">
- <xsl:attribute-set name="qanda.title.properties">
- <xsl:attribute name="font-family">
- <xsl:value-of select="$title.fontset"></xsl:value-of>
- </xsl:attribute>
- <xsl:attribute name="font-weight">bold</xsl:attribute>
- <!-- font size is calculated dynamically by qanda.heading template -->
- <xsl:attribute name="keep-with-next.within-column">always</xsl:attribute>
- <xsl:attribute name="space-before.minimum">0.8em</xsl:attribute>
- <xsl:attribute name="space-before.optimum">1.0em</xsl:attribute>
- <xsl:attribute name="space-before.maximum">1.2em</xsl:attribute>
- </xsl:attribute-set>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The properties common to all qanda set titles.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="qanda.title.level1.properties">
- <refmeta>
- <refentrytitle>qanda.title.level1.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>qanda.title.level1.properties</refname>
- <refpurpose>Properties for level-1 qanda set titles</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="qanda.title.level1.properties.frag">
- <xsl:attribute-set name="qanda.title.level1.properties">
- <xsl:attribute name="font-size">
- <xsl:value-of select="$body.font.master * 2.0736"></xsl:value-of>
- <xsl:text>pt</xsl:text>
- </xsl:attribute>
- </xsl:attribute-set>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The properties of level-1 qanda set titles.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="qanda.title.level2.properties">
- <refmeta>
- <refentrytitle>qanda.title.level2.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>qanda.title.level2.properties</refname>
- <refpurpose>Properties for level-2 qanda set titles</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="qanda.title.level2.properties.frag">
- <xsl:attribute-set name="qanda.title.level2.properties">
- <xsl:attribute name="font-size">
- <xsl:value-of select="$body.font.master * 1.728"></xsl:value-of>
- <xsl:text>pt</xsl:text>
- </xsl:attribute>
- </xsl:attribute-set>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The properties of level-2 qanda set titles.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="qanda.title.level3.properties">
- <refmeta>
- <refentrytitle>qanda.title.level3.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>qanda.title.level3.properties</refname>
- <refpurpose>Properties for level-3 qanda set titles</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="qanda.title.level3.properties.frag">
- <xsl:attribute-set name="qanda.title.level3.properties">
- <xsl:attribute name="font-size">
- <xsl:value-of select="$body.font.master * 1.44"></xsl:value-of>
- <xsl:text>pt</xsl:text>
- </xsl:attribute>
- </xsl:attribute-set>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The properties of level-3 qanda set titles.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="qanda.title.level4.properties">
- <refmeta>
- <refentrytitle>qanda.title.level4.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>qanda.title.level4.properties</refname>
- <refpurpose>Properties for level-4 qanda set titles</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="qanda.title.level4.properties.frag">
- <xsl:attribute-set name="qanda.title.level4.properties">
- <xsl:attribute name="font-size">
- <xsl:value-of select="$body.font.master * 1.2"></xsl:value-of>
- <xsl:text>pt</xsl:text>
- </xsl:attribute>
- </xsl:attribute-set>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The properties of level-4 qanda set titles.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="qanda.title.level5.properties">
- <refmeta>
- <refentrytitle>qanda.title.level5.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>qanda.title.level5.properties</refname>
- <refpurpose>Properties for level-5 qanda set titles</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="qanda.title.level5.properties.frag">
- <xsl:attribute-set name="qanda.title.level5.properties">
- <xsl:attribute name="font-size">
- <xsl:value-of select="$body.font.master"></xsl:value-of>
- <xsl:text>pt</xsl:text>
- </xsl:attribute>
- </xsl:attribute-set>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The properties of level-5 qanda set titles.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="qanda.title.level6.properties">
- <refmeta>
- <refentrytitle>qanda.title.level6.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>qanda.title.level6.properties</refname>
- <refpurpose>Properties for level-6 qanda set titles</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="qanda.title.level6.properties.frag">
- <xsl:attribute-set name="qanda.title.level6.properties">
- <xsl:attribute name="font-size">
- <xsl:value-of select="$body.font.master"></xsl:value-of>
- <xsl:text>pt</xsl:text>
- </xsl:attribute>
- </xsl:attribute-set>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The properties of level-6 qanda set titles.
- This property set is actually
- used for all titles below level 5.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="article.appendix.title.properties">
- <refmeta>
- <refentrytitle>article.appendix.title.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>article.appendix.title.properties</refname>
- <refpurpose>Properties for appendix titles that appear in an article</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="article.appendix.title.properties.frag">
- <xsl:attribute-set name="article.appendix.title.properties" use-attribute-sets="section.title.properties section.title.level1.properties">
- </xsl:attribute-set>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The properties for the title of an appendix that
- appears inside an article. The default is to use
- the properties of sect1 titles.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="abstract.properties">
- <refmeta>
- <refentrytitle>abstract.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>abstract.properties</refname>
- <refpurpose>Properties associated with the block surrounding an abstract</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="abstract.properties.frag">
- <xsl:attribute-set name="abstract.properties">
- <xsl:attribute name="start-indent">0.0in</xsl:attribute>
- <xsl:attribute name="end-indent">0.0in</xsl:attribute>
- </xsl:attribute-set>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Block styling properties for abstract.</para>
- <para>See also <parameter>abstract.title.properties</parameter>.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="abstract.title.properties">
- <refmeta>
- <refentrytitle>abstract.title.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>abstract.title.properties</refname>
- <refpurpose>Properties for abstract titles</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="abstract.title.properties.frag">
- <xsl:attribute-set name="abstract.title.properties">
- <xsl:attribute name="font-family"><xsl:value-of select="$title.fontset"></xsl:value-of></xsl:attribute>
- <xsl:attribute name="font-weight">bold</xsl:attribute>
- <xsl:attribute name="keep-with-next.within-column">always</xsl:attribute>
- <xsl:attribute name="keep-with-next.within-column">always</xsl:attribute>
- <xsl:attribute name="space-before.optimum"><xsl:value-of select="concat($body.font.master, 'pt')"></xsl:value-of></xsl:attribute>
- <xsl:attribute name="space-before.minimum"><xsl:value-of select="concat($body.font.master, 'pt * 0.8')"></xsl:value-of></xsl:attribute>
- <xsl:attribute name="space-before.maximum"><xsl:value-of select="concat($body.font.master, 'pt * 1.2')"></xsl:value-of></xsl:attribute>
- <xsl:attribute name="hyphenate">false</xsl:attribute>
- <xsl:attribute name="text-align">center</xsl:attribute>
- </xsl:attribute-set>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The properties for abstract titles.</para>
- <para>See also <parameter>abstract.properties</parameter>.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="index.page.number.properties">
- <refmeta>
- <refentrytitle>index.page.number.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>index.page.number.properties</refname>
- <refpurpose>Properties associated with index page numbers</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="index.page.number.properties.frag">
- <xsl:attribute-set name="index.page.number.properties">
- </xsl:attribute-set>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Properties associated with page numbers in indexes.
- Changing color to indicate the page number is a link is
- one possibility.
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="revhistory.table.properties">
- <refmeta>
- <refentrytitle>revhistory.table.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>revhistory.table.properties</refname>
- <refpurpose>The properties of table used for formatting revhistory</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="revhistory.table.properties.frag">
- <xsl:attribute-set name="revhistory.table.properties">
- </xsl:attribute-set>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>This property set defines appearance of revhistory table.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="revhistory.table.cell.properties">
- <refmeta>
- <refentrytitle>revhistory.table.cell.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>revhistory.table.cell.properties</refname>
- <refpurpose>The properties of table cells used for formatting revhistory</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="revhistory.table.cell.properties.frag">
- <xsl:attribute-set name="revhistory.table.cell.properties">
- </xsl:attribute-set>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>This property set defines appearance of individual cells in revhistory table.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="revhistory.title.properties">
- <refmeta>
- <refentrytitle>revhistory.title.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>revhistory.title.properties</refname>
- <refpurpose>The properties of revhistory title</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="revhistory.title.properties.frag">
- <xsl:attribute-set name="revhistory.title.properties">
- </xsl:attribute-set>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>This property set defines appearance of revhistory title.</para>
- </refsection>
- </refentry>
- </reference><reference id="profiling" xml:base="../fo/param.xml"><title>Profiling</title>
- <partintro id="profiling_partintro">
- <para>The following parameters can be used for attribute-based
- profiling of your document. For more information about profiling, see
- <link role="tcg" xlink:href="Profiling.html">Profiling (conditional text)</link>.</para>
- </partintro>
- <refentry version="5.0" id="profile.arch">
- <refmeta>
- <refentrytitle>profile.arch</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>profile.arch</refname>
- <refpurpose>Target profile for <tag class="attribute">arch</tag>
- attribute</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="profile.arch.frag">
- <xsl:param name="profile.arch"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The value of this parameter specifies profiles which should be
- included in the output. You can specify multiple profiles by
- separating them by semicolon. You can change separator character by
- <parameter>profile.separator</parameter>
- parameter.</para>
- <para>This parameter has effect only when you are using profiling
- stylesheets (<filename>profile-docbook.xsl</filename>,
- <filename>profile-chunk.xsl</filename>, …) instead of normal
- ones (<filename>docbook.xsl</filename>,
- <filename>chunk.xsl</filename>, …).</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="profile.audience">
- <refmeta>
- <refentrytitle>profile.audience</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>profile.audience</refname>
- <refpurpose>Target profile for <tag class="attribute">audience</tag>
- attribute</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="profile.audience.frag">
- <xsl:param name="profile.audience"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Value of this parameter specifies profiles which should be
- included in the output. You can specify multiple profiles by
- separating them by semicolon. You can change separator character by
- <parameter>profile.separator</parameter>
- parameter.</para>
- <para>This parameter has effect only when you are using profiling
- stylesheets (<filename>profile-docbook.xsl</filename>,
- <filename>profile-chunk.xsl</filename>, …) instead of normal
- ones (<filename>docbook.xsl</filename>,
- <filename>chunk.xsl</filename>, …).</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="profile.condition">
- <refmeta>
- <refentrytitle>profile.condition</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>profile.condition</refname>
- <refpurpose>Target profile for <tag class="attribute">condition</tag>
- attribute</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="profile.condition.frag">
- <xsl:param name="profile.condition"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The value of this parameter specifies profiles which should be
- included in the output. You can specify multiple profiles by
- separating them by semicolon. You can change separator character by
- <parameter>profile.separator</parameter>
- parameter.</para>
- <para>This parameter has effect only when you are using profiling
- stylesheets (<filename>profile-docbook.xsl</filename>,
- <filename>profile-chunk.xsl</filename>, …) instead of normal
- ones (<filename>docbook.xsl</filename>,
- <filename>chunk.xsl</filename>, …).</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="profile.conformance">
- <refmeta>
- <refentrytitle>profile.conformance</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>profile.conformance</refname>
- <refpurpose>Target profile for <tag class="attribute">conformance</tag>
- attribute</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="profile.conformance.frag">
- <xsl:param name="profile.conformance"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The value of this parameter specifies profiles which should be
- included in the output. You can specify multiple profiles by
- separating them by semicolon. You can change separator character by
- <parameter>profile.separator</parameter>
- parameter.</para>
- <para>This parameter has effect only when you are using profiling
- stylesheets (<filename>profile-docbook.xsl</filename>,
- <filename>profile-chunk.xsl</filename>, …) instead of normal
- ones (<filename>docbook.xsl</filename>,
- <filename>chunk.xsl</filename>, …).</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="profile.lang">
- <refmeta>
- <refentrytitle>profile.lang</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>profile.lang</refname>
- <refpurpose>Target profile for <tag class="attribute">lang</tag>
- attribute</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="profile.lang.frag">
- <xsl:param name="profile.lang"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The value of this parameter specifies profiles which should be
- included in the output. You can specify multiple profiles by
- separating them by semicolon. You can change separator character by
- <parameter>profile.separator</parameter>
- parameter.</para>
- <para>This parameter has effect only when you are using profiling
- stylesheets (<filename>profile-docbook.xsl</filename>,
- <filename>profile-chunk.xsl</filename>, …) instead of normal
- ones (<filename>docbook.xsl</filename>,
- <filename>chunk.xsl</filename>, …).</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="profile.os">
- <refmeta>
- <refentrytitle>profile.os</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>profile.os</refname>
- <refpurpose>Target profile for <tag class="attribute">os</tag>
- attribute</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="profile.os.frag">
- <xsl:param name="profile.os"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The value of this parameter specifies profiles which should be
- included in the output. You can specify multiple profiles by
- separating them by semicolon. You can change separator character by
- <parameter>profile.separator</parameter>
- parameter.</para>
- <para>This parameter has effect only when you are using profiling
- stylesheets (<filename>profile-docbook.xsl</filename>,
- <filename>profile-chunk.xsl</filename>, …) instead of normal
- ones (<filename>docbook.xsl</filename>,
- <filename>chunk.xsl</filename>, …).</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="profile.revision">
- <refmeta>
- <refentrytitle>profile.revision</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>profile.revision</refname>
- <refpurpose>Target profile for <tag class="attribute">revision</tag>
- attribute</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="profile.revision.frag">
- <xsl:param name="profile.revision"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The value of this parameter specifies profiles which should be
- included in the output. You can specify multiple profiles by
- separating them by semicolon. You can change separator character by
- <parameter>profile.separator</parameter>
- parameter.</para>
- <para>This parameter has effect only when you are using profiling
- stylesheets (<filename>profile-docbook.xsl</filename>,
- <filename>profile-chunk.xsl</filename>, …) instead of normal
- ones (<filename>docbook.xsl</filename>,
- <filename>chunk.xsl</filename>, …).</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="profile.revisionflag">
- <refmeta>
- <refentrytitle>profile.revisionflag</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>profile.revisionflag</refname>
- <refpurpose>Target profile for <tag class="attribute">revisionflag</tag>
- attribute</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="profile.revisionflag.frag">
- <xsl:param name="profile.revisionflag"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The value of this parameter specifies profiles which should be
- included in the output. You can specify multiple profiles by
- separating them by semicolon. You can change separator character by
- <parameter>profile.separator</parameter>
- parameter.</para>
- <para>This parameter has effect only when you are using profiling
- stylesheets (<filename>profile-docbook.xsl</filename>,
- <filename>profile-chunk.xsl</filename>, …) instead of normal
- ones (<filename>docbook.xsl</filename>,
- <filename>chunk.xsl</filename>, …).</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="profile.role">
- <refmeta>
- <refentrytitle>profile.role</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>profile.role</refname>
- <refpurpose>Target profile for <tag class="attribute">role</tag>
- attribute</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="profile.role.frag">
- <xsl:param name="profile.role"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The value of this parameter specifies profiles which should be
- included in the output. You can specify multiple profiles by
- separating them by semicolon. You can change separator character by
- <parameter>profile.separator</parameter>
- parameter.</para>
- <para>This parameter has effect only when you are using profiling
- stylesheets (<filename>profile-docbook.xsl</filename>,
- <filename>profile-chunk.xsl</filename>, …) instead of normal
- ones (<filename>docbook.xsl</filename>,
- <filename>chunk.xsl</filename>, …).</para>
- <warning>
- <para>Note that <tag class="attribute">role</tag> is often
- used for other purposes than profiling. For example it is commonly
- used to get emphasize in bold font:</para>
- <programlisting><emphasis role="bold">very important</emphasis></programlisting>
- <para>If you are using <tag class="attribute">role</tag> for
- these purposes do not forget to add values like <literal>bold</literal> to
- value of this parameter. If you forgot you will get document with
- small pieces missing which are very hard to track.</para>
- <para>For this reason it is not recommended to use <tag class="attribute">role</tag> attribute for profiling. You should
- rather use profiling specific attributes like <tag class="attribute">userlevel</tag>, <tag class="attribute">os</tag>, <tag class="attribute">arch</tag>, <tag class="attribute">condition</tag>, etc.</para>
- </warning>
- </refsection>
- </refentry>
- <refentry version="5.0" id="profile.security">
- <refmeta>
- <refentrytitle>profile.security</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>profile.security</refname>
- <refpurpose>Target profile for <tag class="attribute">security</tag>
- attribute</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="profile.security.frag">
- <xsl:param name="profile.security"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The value of this parameter specifies profiles which should be
- included in the output. You can specify multiple profiles by
- separating them by semicolon. You can change separator character by
- <parameter>profile.separator</parameter>
- parameter.</para>
- <para>This parameter has effect only when you are using profiling
- stylesheets (<filename>profile-docbook.xsl</filename>,
- <filename>profile-chunk.xsl</filename>, …) instead of normal
- ones (<filename>docbook.xsl</filename>,
- <filename>chunk.xsl</filename>, …).</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="profile.status">
- <refmeta>
- <refentrytitle>profile.status</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>profile.status</refname>
- <refpurpose>Target profile for <tag class="attribute">status</tag>
- attribute</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="profile.status.frag">
- <xsl:param name="profile.status"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The value of this parameter specifies profiles which should be
- included in the output. You can specify multiple profiles by
- separating them by semicolon. You can change separator character by
- <parameter>profile.separator</parameter>
- parameter.</para>
- <para>This parameter has effect only when you are using profiling
- stylesheets (<filename>profile-docbook.xsl</filename>,
- <filename>profile-chunk.xsl</filename>, …) instead of normal
- ones (<filename>docbook.xsl</filename>,
- <filename>chunk.xsl</filename>, …).</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="profile.userlevel">
- <refmeta>
- <refentrytitle>profile.userlevel</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>profile.userlevel</refname>
- <refpurpose>Target profile for <tag class="attribute">userlevel</tag>
- attribute</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="profile.userlevel.frag">
- <xsl:param name="profile.userlevel"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The value of this parameter specifies profiles which should be
- included in the output. You can specify multiple profiles by
- separating them by semicolon. You can change separator character by
- <parameter>profile.separator</parameter>
- parameter.</para>
- <para>This parameter has effect only when you are using profiling
- stylesheets (<filename>profile-docbook.xsl</filename>,
- <filename>profile-chunk.xsl</filename>, …) instead of normal
- ones (<filename>docbook.xsl</filename>,
- <filename>chunk.xsl</filename>, …).</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="profile.vendor">
- <refmeta>
- <refentrytitle>profile.vendor</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>profile.vendor</refname>
- <refpurpose>Target profile for <tag class="attribute">vendor</tag>
- attribute</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="profile.vendor.frag">
- <xsl:param name="profile.vendor"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The value of this parameter specifies profiles which should be
- included in the output. You can specify multiple profiles by
- separating them by semicolon. You can change separator character by
- <parameter>profile.separator</parameter>
- parameter.</para>
- <para>This parameter has effect only when you are using profiling
- stylesheets (<filename>profile-docbook.xsl</filename>,
- <filename>profile-chunk.xsl</filename>, …) instead of normal
- ones (<filename>docbook.xsl</filename>,
- <filename>chunk.xsl</filename>, …).</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="profile.wordsize">
- <refmeta>
- <refentrytitle>profile.wordsize</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>profile.wordsize</refname>
- <refpurpose>Target profile for <tag class="attribute">wordsize</tag>
- attribute</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="profile.wordsize.frag">
- <xsl:param name="profile.wordsize"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The value of this parameter specifies profiles which should be
- included in the output. You can specify multiple profiles by
- separating them by semicolon. You can change separator character by
- <parameter>profile.separator</parameter>
- parameter.</para>
- <para>This parameter has effect only when you are using profiling
- stylesheets (<filename>profile-docbook.xsl</filename>,
- <filename>profile-chunk.xsl</filename>, …) instead of normal
- ones (<filename>docbook.xsl</filename>,
- <filename>chunk.xsl</filename>, …).</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="profile.attribute">
- <refmeta>
- <refentrytitle>profile.attribute</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>profile.attribute</refname>
- <refpurpose>Name of user-specified profiling attribute</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="profile.attribute.frag">
- <xsl:param name="profile.attribute"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>This parameter is used in conjuction with
- <parameter>profile.value</parameter>.</para>
- <para>This parameter has effect only when you are using profiling
- stylesheets (<filename>profile-docbook.xsl</filename>,
- <filename>profile-chunk.xsl</filename>, …) instead of normal
- ones (<filename>docbook.xsl</filename>,
- <filename>chunk.xsl</filename>, …).</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="profile.value">
- <refmeta>
- <refentrytitle>profile.value</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>profile.value</refname>
- <refpurpose>Target profile for user-specified attribute</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="profile.value.frag">
- <xsl:param name="profile.value"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>When you are using this parameter you must also specify name of
- profiling attribute with parameter
- <parameter>profile.attribute</parameter>.</para>
- <para>The value of this parameter specifies profiles which should be
- included in the output. You can specify multiple profiles by
- separating them by semicolon. You can change separator character by
- <parameter>profile.separator</parameter>
- parameter.</para>
- <para>This parameter has effect only when you are using profiling
- stylesheets (<filename>profile-docbook.xsl</filename>,
- <filename>profile-chunk.xsl</filename>, …) instead of normal
- ones (<filename>docbook.xsl</filename>,
- <filename>chunk.xsl</filename>, …).</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="profile.separator">
- <refmeta>
- <refentrytitle>profile.separator</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>profile.separator</refname>
- <refpurpose>Separator character for compound profile values</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="profile.separator.frag">
- <xsl:param name="profile.separator">;</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Separator character used for compound profile values. See <parameter>profile.arch</parameter></para>
- </refsection>
- </refentry>
- </reference><reference id="l10n" xml:base="../fo/param.xml"><title>Localization</title>
- <refentry version="5.0" id="l10n.gentext.language">
- <refmeta>
- <refentrytitle>l10n.gentext.language</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>l10n.gentext.language</refname>
- <refpurpose>Sets the gentext language</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="l10n.gentext.language.frag">
- <xsl:param name="l10n.gentext.language"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If this parameter is set to any value other than the empty string, its
- value will be used as the value for the language when generating text. Setting
- <parameter>l10n.gentext.language</parameter> overrides any settings within the
- document being formatted.</para>
- <para>It's much more likely that you might want to set the
- <parameter>l10n.gentext.default.language</parameter> parameter.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="l10n.gentext.default.language">
- <refmeta>
- <refentrytitle>l10n.gentext.default.language</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>l10n.gentext.default.language</refname>
- <refpurpose>Sets the default language for generated text</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="l10n.gentext.default.language.frag">
- <xsl:param name="l10n.gentext.default.language">en</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The value of the <parameter>l10n.gentext.default.language</parameter>
- parameter is used as the language for generated text if no setting is provided
- in the source document.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="l10n.gentext.use.xref.language">
- <refmeta>
- <refentrytitle>l10n.gentext.use.xref.language</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>l10n.gentext.use.xref.language</refname>
- <refpurpose>Use the language of target when generating cross-reference text?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="l10n.gentext.use.xref.language.frag">
- <xsl:param name="l10n.gentext.use.xref.language" select="0"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, the language of the target will be used when
- generating cross reference text. Usually, the <quote>current</quote>
- language is used when generating text (that is, the language of the
- element that contains the cross-reference element). But setting this parameter
- allows the language of the element <emphasis>pointed to</emphasis> to control
- the generated text.</para>
- <para>Consider the following example:</para>
- <informalexample>
- <programlisting><para lang="en">See also <xref linkend="chap3"/>.</para>
- </programlisting>
- </informalexample>
- <para>Suppose that Chapter 3 happens to be written in German.
- If <parameter>l10n.gentext.use.xref.language</parameter> is non-zero, the
- resulting text will be something like this:</para>
- <blockquote>
- <para>See also Kapital 3.</para>
- </blockquote>
- <para>Where the more traditional rendering would be:</para>
- <blockquote>
- <para>See also Chapter 3.</para>
- </blockquote>
- </refsection>
- </refentry>
- <refentry version="5.0" id="l10n.lang.value.rfc.compliant">
- <refmeta>
- <refentrytitle>l10n.lang.value.rfc.compliant</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>l10n.lang.value.rfc.compliant</refname>
- <refpurpose>Make value of lang attribute RFC compliant?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="l10n.lang.value.rfc.compliant.frag">
- <xsl:param name="l10n.lang.value.rfc.compliant" select="1"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, ensure that the values for all <tag class="attribute">lang</tag> attributes in HTML output are RFC
- compliant<footnote><para>Section 8.1.1, <link xlink:href="http://www.w3.org/TR/REC-html40/struct/dirlang.html#h-8.1.1">Language Codes</link>, in the HTML 4.0 Recommendation states that:
- <blockquote><para>[RFC1766] defines and explains the language codes
- that must be used in HTML documents.</para>
- <para>Briefly, language codes consist of a primary code and a possibly
- empty series of subcodes:
- <literallayout class="monospaced">language-code = primary-code ( "-" subcode )*</literallayout>
- </para>
- <para>And in RFC 1766, <link xlink:href="http://www.ietf.org/rfc/rfc1766.txt">Tags for the Identification
- of Languages</link>, the EBNF for "language tag" is given as:
- <literallayout class="monospaced">Language-Tag = Primary-tag *( "-" Subtag )
- Primary-tag = 1*8ALPHA
- Subtag = 1*8ALPHA</literallayout>
- </para>
- </blockquote>
- </para></footnote>.
- by taking any underscore characters in any <tag class="attribute">lang</tag> values found in source documents, and
- replacing them with hyphen characters in output HTML files. For
- example, <literal>zh_CN</literal> in a source document becomes
- <literal>zh-CN</literal> in the HTML output form that source.
- <note>
- <para>This parameter does not cause any case change in <tag class="attribute">lang</tag> values, because RFC 1766
- explicitly states that all "language tags" (as it calls them) "are
- to be treated as case insensitive".</para>
- </note>
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="writing.mode">
- <refmeta>
- <refentrytitle>writing.mode</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>writing.mode</refname>
- <refpurpose>Direction of text flow based on locale</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="writing.mode.frag">
- <xsl:param name="writing.mode">
- <xsl:call-template name="gentext">
- <xsl:with-param name="key">writing-mode</xsl:with-param>
- <xsl:with-param name="lang">
- <xsl:call-template name="l10n.language">
- <xsl:with-param name="target" select="/*[1]"></xsl:with-param>
- </xsl:call-template>
- </xsl:with-param>
- </xsl:call-template>
- </xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Sets direction of text flow and text alignment based on locale.
- The value is normally taken from the gentext file for the
- lang attribute of the document's root element, using the
- key name 'writing-mode' to look it up in the gentext file.
- But this param can also be
- set on the command line to override that gentext value.
- </para>
- <para>Accepted values are:
- <variablelist>
- <varlistentry>
- <term>lr-tb</term>
- <listitem>
- <para>Left-to-right text flow in each line, lines stack top to bottom.</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>rl-tb</term>
- <listitem>
- <para>Right-to-left text flow in each line, lines stack top to bottom.</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>tb-rl</term>
- <listitem>
- <para>Top-to-bottom text flow in each vertical line, lines stack right to left.
- Supported by only a few XSL-FO processors. Not supported in HTML output.</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>lr</term>
- <listitem>
- <para>Shorthand for lr-tb.</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>rl</term>
- <listitem>
- <para>Shorthand for rl-tb.</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>tb</term>
- <listitem>
- <para>Shorthand for tb-rl.</para>
- </listitem>
- </varlistentry>
- </variablelist>
- </para>
- </refsection>
- </refentry>
- </reference><reference id="ebnf" xml:base="../fo/param.xml"><title>EBNF</title>
- <refentry version="5.0" id="ebnf.assignment">
- <refmeta>
- <refentrytitle>ebnf.assignment</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">rtf</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>ebnf.assignment</refname>
- <refpurpose>The EBNF production assignment operator</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="ebnf.assignment.frag">
- <xsl:param name="ebnf.assignment">
- <fo:inline font-family="{$monospace.font.family}">
- <xsl:text>::=</xsl:text>
- </fo:inline>
- </xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The <parameter>ebnf.assignment</parameter> parameter determines what
- text is used to show <quote>assignment</quote> in <tag>production</tag>s
- in <tag>productionset</tag>s.</para>
- <para>While <quote><literal>::=</literal></quote> is common, so are several
- other operators.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="ebnf.statement.terminator">
- <refmeta>
- <refentrytitle>ebnf.statement.terminator</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">rtf</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>ebnf.statement.terminator</refname>
- <refpurpose>Punctuation that ends an EBNF statement.</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="ebnf.statement.terminator.frag">
- <xsl:param name="ebnf.statement.terminator"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The <parameter>ebnf.statement.terminator</parameter> parameter determines what
- text is used to terminate each <tag>production</tag>
- in <tag>productionset</tag>.</para>
- <para>Some notations end each statement with a period.</para>
- </refsection>
- </refentry>
- </reference><reference id="prepress" xml:base="../fo/param.xml"><title>Prepress</title>
- <refentry version="5.0" id="crop.marks">
- <refmeta>
- <refentrytitle>crop.marks</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>crop.marks</refname>
- <refpurpose>Output crop marks?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="crop.marks.frag">
- <xsl:param name="crop.marks" select="0"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, crop marks will be added to each page. Currently this
- works only with XEP if you have <parameter>xep.extensions</parameter> set.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="crop.mark.width">
- <refmeta>
- <refentrytitle>crop.mark.width</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">length</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>crop.mark.width</refname>
- <refpurpose>Width of crop marks.</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="crop.mark.width.frag">
- <xsl:param name="crop.mark.width">0.5pt</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Width of crop marks. Crop marks are controlled by
- <parameter>crop.marks</parameter> parameter.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="crop.mark.offset">
- <refmeta>
- <refentrytitle>crop.mark.offset</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">length</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>crop.mark.offset</refname>
- <refpurpose>Length of crop marks.</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="crop.mark.offset.frag">
- <xsl:param name="crop.mark.offset">24pt</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Length of crop marks. Crop marks are controlled by
- <parameter>crop.marks</parameter> parameter.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="crop.mark.bleed">
- <refmeta>
- <refentrytitle>crop.mark.bleed</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">length</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>crop.mark.bleed</refname>
- <refpurpose>Length of invisible part of crop marks.</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="crop.mark.bleed.frag">
- <xsl:param name="crop.mark.bleed">6pt</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Length of invisible part of crop marks. Crop marks are controlled by
- <parameter>crop.marks</parameter> parameter.</para>
- </refsection>
- </refentry>
- </reference>
- </part>
- <part id="manpages">
- <?dbhtml dir="manpages"?>
- <?dbhtml filename="index.html"?>
- <title xml:base="../manpages/param.xml">Manpages Parameter Reference</title>
- <partintro id="manintro">
-
- <para xml:base="../manpages/param.xml">This is reference documentation for all user-configurable
- parameters in the DocBook XSL "manpages" stylesheet (for
- generating groff/nroff output). Note that the manpages
- stylesheet is a customization layer of the DocBook XSL HTML
- stylesheet. Therefore, you can also use a number of <link xlink:href="../html/">HTML stylesheet parameters</link>
- to control manpages output (in addition to the
- manpages-specific parameters listed in this section).</para>
-
- </partintro>
- <reference id="general" xml:base="../manpages/param.xml">
- <title>Hyphenation, justification, and breaking</title>
- <refentry version="5.0" id="man.hyphenate">
- <refmeta>
- <refentrytitle>man.hyphenate</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>man.hyphenate</refname>
- <refpurpose>Enable hyphenation?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="man.hyphenate.frag">
- <xsl:param name="man.hyphenate">0</xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, hyphenation is enabled.</para>
- <note>
- <para>The default value for this parameter is zero because groff is
- not particularly smart about how it does hyphenation; it can end up
- hyphenating a lot of things that you don't want hyphenated. To
- mitigate that, the default behavior of the stylesheets is to suppress
- hyphenation of computer inlines, filenames, and URLs. (You can
- override the default behavior by setting non-zero values for the
- <parameter>man.hyphenate.urls</parameter>,
- <parameter>man.hyphenate.filenames</parameter>, and
- <parameter>man.hyphenate.computer.inlines</parameter> parameters.) But
- the best way is still to just globally disable hyphenation, as the
- stylesheets do by default.</para>
- <para>The only good reason to enabled hyphenation is if you have also
- enabled justification (which is disabled by default). The reason is
- that justified text can look very bad unless you also hyphenate it; to
- quote the <quote>Hypenation</quote> node from the groff info page:
- <blockquote>
- <para><emphasis>Since the odds are not great for finding a set of
- words, for every output line, which fit nicely on a line without
- inserting excessive amounts of space between words, 'gtroff'
- hyphenates words so that it can justify lines without inserting too
- much space between words.</emphasis></para>
- </blockquote>
- So, if you set a non-zero value for the
- <parameter>man.justify</parameter> parameter (to enable
- justification), then you should probably also set a non-zero value for
- <parameter>man.hyphenate</parameter> (to enable hyphenation).</para>
- </note>
- </refsection>
- </refentry>
- <refentry version="5.0" id="man.hyphenate.urls">
- <refmeta>
- <refentrytitle>man.hyphenate.urls</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>man.hyphenate.urls</refname>
- <refpurpose>Hyphenate URLs?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="man.hyphenate.urls.frag">
- <xsl:param name="man.hyphenate.urls">0</xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If zero (the default), hyphenation is suppressed for output of
- the <tag>ulink</tag> <tag class="attribute">url</tag> attribute.</para>
- <note>
- <para>If hyphenation is already turned off globally (that is, if
- <parameter>man.hyphenate</parameter> is zero, setting
- <parameter>man.hyphenate.urls</parameter> is not necessary.</para>
- </note>
- <para>If <parameter>man.hyphenate.urls</parameter> is non-zero, URLs
- will not be treated specially and are subject to hyphenation just like
- other words.</para>
- <note>
- <para>If you are thinking about setting a non-zero value for
- <parameter>man.hyphenate.urls</parameter> in order to make long
- URLs break across lines, you'd probably be better off
- experimenting with setting the
- <parameter>man.break.after.slash</parameter> parameter first. That
- will cause long URLs to be broken after slashes.</para>
- </note>
- </refsection>
- </refentry>
- <refentry version="5.0" id="man.hyphenate.filenames">
- <refmeta>
- <refentrytitle>man.hyphenate.filenames</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>man.hyphenate.filenames</refname>
- <refpurpose>Hyphenate filenames?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="man.hyphenate.filenames.frag">
- <xsl:param name="man.hyphenate.filenames">0</xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If zero (the default), hyphenation is suppressed for
- <tag>filename</tag> output.</para>
- <note>
- <para>If hyphenation is already turned off globally (that is, if
- <parameter>man.hyphenate</parameter> is zero, setting
- <parameter>man.hyphenate.filenames</parameter> is not
- necessary.</para>
- </note>
- <para>If <parameter>man.hyphenate.filenames</parameter> is non-zero,
- filenames will not be treated specially and are subject to hyphenation
- just like other words.</para>
- <note>
- <para>If you are thinking about setting a non-zero value for
- <parameter>man.hyphenate.filenames</parameter> in order to make long
- filenames/pathnames break across lines, you'd probably be better off
- experimenting with setting the
- <parameter>man.break.after.slash</parameter> parameter first. That
- will cause long pathnames to be broken after slashes.</para>
- </note>
- </refsection>
- </refentry>
- <refentry version="5.0" id="man.hyphenate.computer.inlines">
- <refmeta>
- <refentrytitle>man.hyphenate.computer.inlines</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>man.hyphenate.computer.inlines</refname>
- <refpurpose>Hyphenate computer inlines?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="man.hyphenate.computer.inlines.frag">
- <xsl:param name="man.hyphenate.computer.inlines">0</xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If zero (the default), hyphenation is suppressed for
- <quote>computer inlines</quote> such as environment variables,
- constants, etc. This parameter current affects output of the following
- elements:
- <simplelist type="inline">
-
- <member><tag>classname</tag></member>
- <member><tag>constant</tag></member>
- <member><tag>envar</tag></member>
- <member><tag>errorcode</tag></member>
- <member><tag>option</tag></member>
- <member><tag>replaceable</tag></member>
- <member><tag>userinput</tag></member>
- <member><tag>type</tag></member>
- <member><tag>varname</tag></member>
- </simplelist>
- </para>
- <note>
- <para>If hyphenation is already turned off globally (that is, if
- <parameter>man.hyphenate</parameter> is zero, setting the
- <parameter>man.hyphenate.computer.inlines</parameter> is not
- necessary.</para>
- </note>
- <para>If <parameter>man.hyphenate.computer.inlines</parameter> is
- non-zero, computer inlines will not be treated specially and will be
- hyphenated like other words when needed.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="man.justify">
- <refmeta>
- <refentrytitle>man.justify</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>man.justify</refname>
- <refpurpose>Justify text to both right and left margins?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="man.justify.frag">
- <xsl:param name="man.justify">0</xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, text is justified to both the right and left
- margins (or, in roff terminology, "adjusted and filled" to both the
- right and left margins). If zero (the default), text is adjusted to
- the left margin only -- producing what is traditionally called
- "ragged-right" text.</para>
- <note>
- <para>The default value for this parameter is zero because justified
- text looks good only when it is also hyphenated. Without hyphenation,
- excessive amounts of space often end up getting between words, in
- order to "pad" lines out to align on the right margin.</para>
- <para>The problem is that groff is not particularly smart about how it
- does hyphenation; it can end up hyphenating a lot of things that you
- don't want hyphenated. So, disabling both justification and
- hyphenation ensures that hyphens won't get inserted where you don't
- want to them, and you don't end up with lines containing excessive
- amounts of space between words.</para>
- <para>However, if do you decide to set a non-zero value for the
- <parameter>man.justify</parameter> parameter (to enable
- justification), then you should probably also set a non-zero value for
- <parameter>man.hyphenate</parameter> (to enable hyphenation).</para>
- <para>Yes, these default settings run counter to how most existing man
- pages are formatted. But there are some notable exceptions, such as
- the <literal>perl</literal> man pages.</para>
- </note>
- </refsection>
- </refentry>
- <refentry version="5.0" id="man.break.after.slash">
- <refmeta>
- <refentrytitle>man.break.after.slash</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>man.break.after.slash</refname>
- <refpurpose>Enable line-breaking after slashes?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="man.break.after.slash.frag">
- <xsl:param name="man.break.after.slash">0</xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, line-breaking after slashes is enabled. This is
- mainly useful for causing long URLs or pathnames/filenames to be
- broken up or "wrapped" across lines (though it also has the side
- effect of sometimes causing relatively short URLs and pathnames to be
- broken up across lines too).</para>
- <para>If zero (the default), line-breaking after slashes is
- disabled. In that case, strings containing slashes (for example, URLs
- or filenames) are not broken across lines, even if they exceed the
- maximum column widith.</para>
- <warning>
- <para>If you set a non-zero value for this parameter, check your
- man-page output carefuly afterwards, in order to make sure that the
- setting has not introduced an excessive amount of breaking-up of URLs
- or pathnames. If your content contains mostly short URLs or
- pathnames, setting a non-zero value for
- <parameter>man.break.after.slash</parameter> will probably result in
- in a significant number of relatively short URLs and pathnames being
- broken across lines, which is probably not what you want.</para>
- </warning>
- </refsection>
- </refentry>
- </reference><reference id="indent" xml:base="../manpages/param.xml">
- <title>Indentation</title>
- <refentry version="5.0" id="man.indent.width">
- <refmeta>
- <refentrytitle>man.indent.width</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">length</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>man.indent.width</refname>
- <refpurpose>Specifies width used for adjusted indents</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="man.indent.width.frag">
- <xsl:param name="man.indent.width">4</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The <parameter>man.indent.width</parameter> parameter specifies
- the width used for adjusted indents. The value of
- <parameter>man.indent.width</parameter> is used for indenting of
- lists, verbatims, headings, and elsewhere, depending on whether the
- values of certain <literal>man.indent.*</literal> boolean parameters
- are non-zero.</para>
- <para>The value of <parameter>man.indent.width</parameter> should
- include a valid roff measurement unit (for example,
- <literal>n</literal> or <literal>u</literal>). The default value of
- <literal>4n</literal> specifies a 4-en width; when viewed on a
- console, that amounts to the width of four characters. For details
- about roff measurment units, see the <literal>Measurements</literal>
- node in the groff info page.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="man.indent.refsect">
- <refmeta>
- <refentrytitle>man.indent.refsect</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>man.indent.refsect</refname>
- <refpurpose>Adjust indentation of refsect* and refsection?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="man.indent.refsect.frag">
- <xsl:param name="man.indent.refsect" select="0"></xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If the value of <parameter>man.indent.refsect</parameter> is
- non-zero, the width of the left margin for
- <tag>refsect1</tag>, <tag>refsect2</tag> and
- <tag>refsect3</tag> contents and titles (and first-level,
- second-level, and third-level nested
- <tag>refsection</tag>instances) is adjusted by the value of
- the <parameter>man.indent.width</parameter> parameter. With
- <parameter>man.indent.width</parameter> set to its default value of
- <literal>3n</literal>, the main results are that:
- <itemizedlist>
- <listitem>
- <para>contents of <tag>refsect1</tag> are output with a
- left margin of three characters instead the roff default of seven
- or eight characters</para>
- </listitem>
- <listitem>
- <para>contents of <tag>refsect2</tag> are displayed in
- console output with a left margin of six characters instead the of
- the roff default of seven characters</para>
- </listitem>
- <listitem>
- <para> the contents of <tag>refsect3</tag> and nested
- <tag>refsection</tag> instances are adjusted
- accordingly.</para>
- </listitem>
- </itemizedlist>
- If instead the value of <parameter>man.indent.refsect</parameter> is
- zero, no margin adjustment is done for <literal>refsect*</literal>
- output.</para>
- <tip>
- <para>If your content is primarly comprised of
- <tag>refsect1</tag> and <tag>refsect2</tag> content
- (or the <tag>refsection</tag> equivalent) – with few or
- no <tag>refsect3</tag> or lower nested sections , you may be
- able to “conserve” space in your output by setting
- <parameter>man.indent.refsect</parameter> to a non-zero value. Doing
- so will “squeeze” the left margin in such as way as to provide an
- additional four characters of “room” per line in
- <tag>refsect1</tag> output. That extra room may be useful
- if, for example, you have many verbatim sections with long lines in
- them.</para>
- </tip>
- </refsection>
- </refentry>
- <refentry version="5.0" id="man.indent.blurbs">
- <refmeta>
- <refentrytitle>man.indent.blurbs</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>man.indent.blurbs</refname>
- <refpurpose>Adjust indentation of blurbs?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="man.indent.blurbs.frag">
- <xsl:param name="man.indent.blurbs" select="1"></xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If the value of <parameter>man.indent.blurbs</parameter> is
- non-zero, the width of the left margin for
- <tag>authorblurb</tag>, <tag>personblurb</tag>, and
- <tag>contrib</tag> output is set to the value of the
- <parameter>man.indent.width</parameter> parameter
- (<literal>3n</literal> by default). If instead the value of
- <parameter>man.indent.blurbs</parameter> is zero, the built-in roff
- default width (<literal>7.2n</literal>) is used.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="man.indent.lists">
- <refmeta>
- <refentrytitle>man.indent.lists</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>man.indent.lists</refname>
- <refpurpose>Adjust indentation of lists?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="man.indent.lists.frag">
- <xsl:param name="man.indent.lists" select="1"></xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If the value of <parameter>man.indent.lists</parameter> is
- non-zero, the width of the left margin for list items in
- <tag>itemizedlist</tag>,
- <tag>orderedlist</tag>,
- <tag>variablelist</tag> output (and output of some other
- lists) is set to the value of the
- <parameter>man.indent.width</parameter> parameter
- (<literal>4n</literal> by default). If instead the value of
- <parameter>man.indent.lists</parameter> is zero, the built-in roff
- default width (<literal>7.2n</literal>) is used.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="man.indent.verbatims">
- <refmeta>
- <refentrytitle>man.indent.verbatims</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>man.indent.verbatims</refname>
- <refpurpose>Adjust indentation of verbatims?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="man.indent.verbatims.frag">
- <xsl:param name="man.indent.verbatims" select="1"></xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If the value of <parameter>man.indent.verbatims</parameter> is
- non-zero, the width of the left margin for output of verbatim
- environments (<tag>programlisting</tag>,
- <tag>screen</tag>, and so on) is set to the value of the
- <parameter>man.indent.width</parameter> parameter
- (<literal>3n</literal> by default). If instead the value of
- <parameter>man.indent.verbatims</parameter> is zero, the built-in roff
- default width (<literal>7.2n</literal>) is used.</para>
- </refsection>
- </refentry>
- </reference><reference id="fonts" xml:base="../manpages/param.xml">
- <title>Fonts</title>
- <refentry version="5.0" id="man.font.funcprototype">
- <refmeta>
- <refentrytitle>man.font.funcprototype</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>man.font.funcprototype</refname>
- <refpurpose>Specifies font for funcprototype output</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="man.font.funcprototype.frag">
- <xsl:param name="man.font.funcprototype">BI</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The <parameter>man.font.funcprototype</parameter> parameter
- specifies the font for <tag>funcprototype</tag> output. It
- should be a valid roff font name, such as <literal>BI</literal> or
- <literal>B</literal>.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="man.font.funcsynopsisinfo">
- <refmeta>
- <refentrytitle>man.font.funcsynopsisinfo</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>man.font.funcsynopsisinfo</refname>
- <refpurpose>Specifies font for funcsynopsisinfo output</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="man.font.funcsynopsisinfo.frag">
- <xsl:param name="man.font.funcsynopsisinfo">B</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The <parameter>man.font.funcsynopsisinfo</parameter> parameter
- specifies the font for <tag>funcsynopsisinfo</tag> output. It
- should be a valid roff font name, such as <literal>B</literal> or
- <literal>I</literal>.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="man.font.links">
- <refmeta>
- <refentrytitle>man.font.links</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>man.font.links</refname>
- <refpurpose>Specifies font for links</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="man.font.links.frag">
- <xsl:param name="man.font.links">B</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The <parameter>man.font.links</parameter> parameter
- specifies the font for output of links (<tag>ulink</tag> instances
- and any instances of any element with an <tag class="attribute">xlink:href</tag> attribute).</para>
- <para>The value of <parameter>man.font.links</parameter> must be
- either <literal>B</literal> or <literal>I</literal>, or empty. If
- the value is empty, no font formatting is applied to links.</para>
- <para>If you set <parameter>man.endnotes.are.numbered</parameter> and/or
- <parameter>man.endnotes.list.enabled</parameter> to zero (disabled), then
- you should probably also set an empty value for
- <parameter>man.font.links</parameter>. But if
- <parameter>man.endnotes.are.numbered</parameter> is non-zero (enabled),
- you should probably keep
- <parameter>man.font.links</parameter> set to
- <literal>B</literal> or <literal>I</literal><footnote><para>The
- main purpose of applying a font format to links in most output
- formats it to indicate that the formatted text is
- “clickable”; given that links rendered in man pages are
- not “real” hyperlinks that users can click on, it might
- seem like there is never a good reason to have font formatting for
- link contents in man output.</para>
- <para>In fact, if you suppress the
- display of inline link references (by setting
- <parameter>man.endnotes.are.numbered</parameter> to zero), there is no
- good reason to apply font formatting to links. However, if
- <parameter>man.endnotes.are.numbered</parameter> is non-zero, having
- font formatting for links (arguably) serves a purpose: It provides
- “context” information about exactly what part of the text
- is being “annotated” by the link. Depending on how you
- mark up your content, that context information may or may not
- have value.</para></footnote>.</para>
- </refsection>
- <refsection><info><title>Related Parameters</title></info>
- <para><parameter>man.endnotes.list.enabled</parameter>,
- <parameter>man.endnotes.are.numbered</parameter></para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="man.font.table.headings">
- <refmeta>
- <refentrytitle>man.font.table.headings</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>man.font.table.headings</refname>
- <refpurpose>Specifies font for table headings</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="man.font.table.headings.frag">
- <xsl:param name="man.font.table.headings">B</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The <parameter>man.font.table.headings</parameter> parameter
- specifies the font for <tag>table</tag> headings. It should be
- a valid roff font, such as <literal>B</literal> or
- <literal>I</literal>.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="man.font.table.title">
- <refmeta>
- <refentrytitle>man.font.table.title</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>man.font.table.title</refname>
- <refpurpose>Specifies font for table headings</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="man.font.table.title.frag">
- <xsl:param name="man.font.table.title">B</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The <parameter>man.font.table.title</parameter> parameter
- specifies the font for <tag>table</tag> titles. It should be
- a valid roff font, such as <literal>B</literal> or
- <literal>I</literal>.</para>
- </refsection>
- </refentry>
- </reference><reference id="synopsis" xml:base="../manpages/param.xml">
- <title>SYNOPSIS section</title>
- <refentry version="5.0" id="man.funcsynopsis.style">
- <refmeta>
- <refentrytitle>man.funcsynopsis.style</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">list</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">ansi</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">kr</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>man.funcsynopsis.style</refname>
- <refpurpose>What style of <tag>funcsynopsis</tag> should be generated?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="man.funcsynopsis.style.frag"><xsl:param name="man.funcsynopsis.style">ansi</xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If <parameter>man.funcsynopsis.style</parameter> is
- <literal>ansi</literal>, ANSI-style function synopses are
- generated for a <tag>funcsynopsis</tag>, otherwise K&R-style
- function synopses are generated.</para>
- </refsection>
- </refentry>
- </reference><reference id="authors" xml:base="../manpages/param.xml">
- <title>AUTHORS and COPYRIGHT sections</title>
- <refentry version="5.0" id="man.authors.section.enabled">
- <refmeta>
- <refentrytitle>man.authors.section.enabled</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>man.authors.section.enabled</refname>
- <refpurpose>Display auto-generated AUTHORS section?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="man.authors.section.enabled.frag">
- <xsl:param name="man.authors.section.enabled">1</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If the value of
- <parameter>man.authors.section.enabled</parameter> is non-zero
- (the default), then an <literal>AUTHORS</literal> section is
- generated near the end of each man page. The output of the
- <literal>AUTHORS</literal> section is assembled from any
- <tag>author</tag>, <tag>editor</tag>, and <tag>othercredit</tag>
- metadata found in the contents of the child <tag>info</tag> or
- <tag>refentryinfo</tag> (if any) of the <tag>refentry</tag>
- itself, or from any <tag>author</tag>, <tag>editor</tag>, and
- <tag>othercredit</tag> metadata that may appear in <tag>info</tag>
- contents of any ancestors of the <tag>refentry</tag>.</para>
- <para>If the value of
- <parameter>man.authors.section.enabled</parameter> is zero, the
- the auto-generated <literal>AUTHORS</literal> section is
- suppressed.</para>
- <para>Set the value of
- <parameter>man.authors.section.enabled</parameter> to zero if
- you want to have a manually created <literal>AUTHORS</literal>
- section in your source, and you want it to appear in output
- instead of the auto-generated <literal>AUTHORS</literal>
- section.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="man.copyright.section.enabled">
- <refmeta>
- <refentrytitle>man.copyright.section.enabled</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>man.copyright.section.enabled</refname>
- <refpurpose>Display auto-generated COPYRIGHT section?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="man.copyright.section.enabled.frag">
- <xsl:param name="man.copyright.section.enabled">1</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If the value of
- <parameter>man.copyright.section.enabled</parameter> is non-zero
- (the default), then a <literal>COPYRIGHT</literal> section is
- generated near the end of each man page. The output of the
- <literal>COPYRIGHT</literal> section is assembled from any
- <tag>copyright</tag> and <tag>legalnotice</tag> metadata found in
- the contents of the child <tag>info</tag> or
- <tag>refentryinfo</tag> (if any) of the <tag>refentry</tag>
- itself, or from any <tag>copyright</tag> and
- <tag>legalnotice</tag> metadata that may appear in <tag>info</tag>
- contents of any ancestors of the <tag>refentry</tag>.</para>
- <para>If the value of
- <parameter>man.copyright.section.enabled</parameter> is zero, the
- the auto-generated <literal>COPYRIGHT</literal> section is
- suppressed.</para>
- <para>Set the value of
- <parameter>man.copyright.section.enabled</parameter> to zero if
- you want to have a manually created <literal>COPYRIGHT</literal>
- section in your source, and you want it to appear in output
- instead of the auto-generated <literal>COPYRIGHT</literal>
- section.</para>
- </refsection>
- </refentry>
- </reference><reference id="endnotes" xml:base="../manpages/param.xml">
- <title>Endnotes and link handling</title>
- <refentry version="5.0" id="man.endnotes.list.enabled">
- <refmeta>
- <refentrytitle>man.endnotes.list.enabled</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>man.endnotes.list.enabled</refname>
- <refpurpose>Display endnotes list at end of man page?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="man.endnotes.list.enabled.frag">
- <xsl:param name="man.endnotes.list.enabled">1</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If the value of <parameter>man.endnotes.list.enabled</parameter> is
- non-zero (the default), then an endnotes list is added to the end of
- the output man page.</para>
- <para>If the value of <parameter>man.endnotes.list.enabled</parameter> is
- zero, the list is suppressed — unless link numbering is enabled (that
- is, if <parameter>man.endnotes.are.numbered</parameter> is non-zero), in
- which case, that setting overrides the
- <parameter>man.endnotes.list.enabled</parameter> setting, and the
- endnotes list is still displayed. The reason is that inline
- numbering of notesources associated with endnotes only makes sense
- if a (numbered) list of endnotes is also generated.</para>
- <note>
- <para>Leaving
- <parameter>man.endnotes.list.enabled</parameter> at its default
- (non-zero) value ensures that no “out of line” information (such
- as the URLs for hyperlinks and images) gets lost in your
- man-page output. It just gets “rearranged”.</para>
- <para>So if you’re thinking about disabling endnotes listing by
- setting the value of
- <parameter>man.endnotes.list.enabled</parameter> to zero:
- Before you do so, first take some time to carefully consider
- the information needs and experiences of your users. The “out
- of line” information has value even if the presentation of it
- in text output is not as interactive as it may be in other
- output formats.</para>
- <para>As far as the specific case of URLs: Even though the URLs
- displayed in text output may not be “real” (clickable)
- hyperlinks, many X terminals have convenience features for
- recognizing URLs and can, for example, present users with
- an options to open a URL in a browser with the user clicks on
- the URL is a terminal window. And short of those, users with X
- terminals can always manually cut and paste the URLs into a web
- browser.</para>
- <para>Also, note that various “man to html” tools, such as the
- widely used <command><link xlink:href="http://users.actrix.gen.nz/michael/vhman2html.html">man2html</link></command> (<literal>VH-Man2html</literal>)
- application, automatically mark up URLs with <literal>a@href</literal> markup
- during conversion — resulting in “real” hyperlinks in HTML
- output from those tools.</para>
- </note>
- <para>To “turn off” numbering of endnotes in the
- endnotes list, set <parameter>man.endnotes.are.numbered</parameter>
- to zero. The endnotes list will
- still be displayed; it will just be displayed without the
- numbers<footnote><para>It can still make sense to have
- the list of endnotes displayed even if you have endnotes numbering turned
- off. In that case, your endnotes list basically becomes a “list
- of references” without any association with specific text in
- your document. This is probably the best option if you find the inline
- endnotes numbering obtrusive. Your users will still have access to all the “out of line”
- such as URLs for hyperlinks.</para></footnote>
- </para>
- <para>The default heading for the endnotes list is
- <literal>NOTES</literal>. To change that, set a non-empty
- value for the <parameter>man.endnotes.list.heading</parameter>
- parameter.</para>
- <para>In the case of notesources that are links: Along with the
- URL for each link, the endnotes list includes the contents of the
- link. The list thus includes only non-empty<footnote>
- <para>A “non-empty” link is one that looks like
- this:<literallayout class="monospaced"> <ulink url="http://docbook.sf.net/snapshot/xsl/doc/manpages/">manpages</ulink></literallayout>
- an “empty link” is on that looks like this:<literallayout class="monospaced"> <ulink url="http://docbook.sf.net/snapshot/xsl/doc/manpages/"/></literallayout>
- </para></footnote> links.
- Empty links are never included, and never numbered. They are simply
- displayed inline, without any numbering.</para>
- <para>In addition, if there are multiple instances of links in a
- <tag>refentry</tag> that have the same URL, the URL is listed only
- once. The contents listed for that link in the endnotes list are
- the contents of the first link which has that URL.</para>
- <para>If you disable endnotes listing, you should probably also set
- <parameter>man.links.are.underlined</parameter> to zero (to disable
- link underlining).</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="man.endnotes.list.heading">
- <refmeta>
- <refentrytitle>man.endnotes.list.heading</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>man.endnotes.list.heading</refname>
- <refpurpose>Specifies an alternate name for endnotes list</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="man.endnotes.list.heading.frag">
- <xsl:param name="man.endnotes.list.heading"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If the value of the
- <parameter>man.endnotes.are.numbered</parameter> parameter
- and/or the <parameter>man.endnotes.list.enabled</parameter>
- parameter is non-zero (the defaults for both are non-zero), a
- numbered list of endnotes is generated near the end of each man
- page. The default heading for the list of endnotes is the
- equivalent of the English word <literal>NOTES</literal> in
- the current locale. To cause an alternate heading to be displayed,
- set a non-empty value for the
- <parameter>man.endnotes.list.heading</parameter> parameter —
- for example, <literal>REFERENCES</literal>.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="man.endnotes.are.numbered">
- <refmeta>
- <refentrytitle>man.endnotes.are.numbered</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>man.endnotes.are.numbered</refname>
- <refpurpose>Number endnotes?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="man.endnotes.are.numbered.frag">
- <xsl:param name="man.endnotes.are.numbered">1</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If the value of <parameter>man.endnotes.are.numbered</parameter> is
- non-zero (the default), then for each non-empty<footnote>
- <para>A “non-empty” notesource is one that looks like
- this:<literallayout class="monospaced"> <ulink url="http://docbook.sf.net/snapshot/xsl/doc/manpages/">manpages</ulink></literallayout>
- an “empty” notesource is on that looks like this:<literallayout class="monospaced"> <ulink url="http://docbook.sf.net/snapshot/xsl/doc/manpages/"/></literallayout>
- </para></footnote> “notesource”:
- <itemizedlist>
- <listitem>
- <para>a number (in square brackets) is displayed inline after the
- rendered inline contents (if any) of the notesource</para>
- </listitem>
- <listitem>
- <para>the contents of the notesource are included in a
- numbered list of endnotes that is generated at the end of
- each man page; the number for each endnote corresponds to
- the inline number for the notesource with which it is
- associated</para>
- </listitem>
- </itemizedlist>
- The default heading for the list of endnotes is
- <literal>NOTES</literal>. To output a different heading, set a value
- for the <parameter>man.endnotes.section.heading</parameter>
- parameter.</para>
- <note>
- <para>The endnotes list is also displayed (but without
- numbers) if the value of
- <parameter>man.endnotes.list.enabled</parameter> is
- non-zero.</para>
- </note>
- <para>If the value of <parameter>man.endnotes.are.numbered</parameter> is
- zero, numbering of endnotess is suppressed; only inline
- contents (if any) of the notesource are displayed inline.
- <important>
- <para>If you are thinking about disabling endnote numbering by setting
- the value of <parameter>man.endnotes.are.numbered</parameter> to zero,
- before you do so, first take some time to carefully
- consider the information needs and experiences of your users. The
- square-bracketed numbers displayed inline after notesources may seem
- obstrusive and aesthetically unpleasing<footnote><para>As far as notesources that are links, ytou might
- think it would be better to just display URLs for non-empty
- links inline, after their content, rather than displaying
- square-bracketed numbers all over the place. But it's not better. In
- fact, it's not even practical, because many (most) URLs for links
- are too long to be displayed inline. They end up overflowing the
- right margin. You can set a non-zero value for
- <parameter>man.break.after.slash</parameter> parameter to deal with
- that, but it could be argued that what you end up with is at least
- as ugly, and definitely more obstrusive, then having short
- square-bracketed numbers displayed inline.</para></footnote>,
- but in a text-only output format, the
- numbered-notesources/endnotes-listing mechanism is the only
- practical way to handle this kind of content.</para>
- <para>Also, users of “text based” browsers such as
- <command>lynx</command> will already be accustomed to seeing inline
- numbers for links. And various "man to html" applications, such as
- the widely used <command><link xlink:href="http://users.actrix.gen.nz/michael/vhman2html.html">man2html</link></command> (<literal>VH-Man2html</literal>)
- application, can automatically turn URLs into "real" HTML hyperlinks
- in output. So leaving <parameter>man.endnotes.are.numbered</parameter>
- at its default (non-zero) value ensures that no information is
- lost in your man-page output. It just gets
- “rearranged”.</para>
- </important>
- </para>
- <para>The handling of empty links is not affected by this
- parameter. Empty links are handled simply by displaying their URLs
- inline. Empty links are never auto-numbered.</para>
- <para>If you disable endnotes numbering, you should probably also set
- <parameter>man.font.links</parameter> to an empty value (to
- disable font formatting for links.</para>
- </refsection>
- <refsection><info><title>Related Parameters</title></info>
- <para><parameter>man.endnotes.list.enabled</parameter>,
- <parameter>man.font.links</parameter></para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="man.base.url.for.relative.links">
- <refmeta>
- <refentrytitle>man.base.url.for.relative.links</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>man.base.url.for.relative.links</refname>
- <refpurpose>Specifies a base URL for relative links</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="man.base.url.for.relative.links.frag"><xsl:param name="man.base.url.for.relative.links">[set $man.base.url.for.relative.links]/</xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>For any “notesource” listed in the auto-generated
- “NOTES” section of output man pages (which is generated when
- the value of the
- <parameter>man.endnotes.list.enabled</parameter> parameter
- is non-zero), if the notesource is a link source with a
- relative URI, the URI is displayed in output with the value
- of the
- <parameter>man.base.url.for.relative.links</parameter>
- parameter prepended to the value of the link URI.</para>
- <note>
- <para>A link source is an notesource that references an
- external resource:
- <itemizedlist>
- <listitem>
- <para>a <tag>ulink</tag> element with a <tag class="attribute">url</tag> attribute</para>
- </listitem>
- <listitem>
- <para>any element with an <tag class="attribute">xlink:href</tag> attribute</para>
- </listitem>
- <listitem>
- <para>an <tag>imagedata</tag>, <tag>audiodata</tag>, or
- <tag>videodata</tag> element</para>
- </listitem>
- </itemizedlist>
- </para>
- </note>
- <para>If you use relative URIs in link sources in your DocBook
- <tag>refentry</tag> source, and you leave
- <parameter>man.base.url.for.relative.links</parameter>
- unset, the relative links will appear “as is” in the “Notes”
- section of any man-page output generated from your source.
- That’s probably not what you want, because such relative
- links are only usable in the context of HTML output. So, to
- make the links meaningful and usable in the context of
- man-page output, set a value for
- <parameter>man.base.url.for.relative.links</parameter> that
- points to the online version of HTML output generated from
- your DocBook <tag>refentry</tag> source. For
- example:
- <programlisting><xsl:param name="man.base.url.for.relative.links"
- >http://www.kernel.org/pub/software/scm/git/docs/</xsl:param></programlisting>
- </para>
- </refsection>
- <refsection><info><title>Related Parameters</title></info>
- <para><parameter>man.endnotes.list.enabled</parameter></para>
- </refsection>
- </refentry>
- </reference><reference id="lists" xml:base="../manpages/param.xml">
- <title>Lists</title>
- <refentry version="5.0" id="man.segtitle.suppress">
- <refmeta>
- <refentrytitle>man.segtitle.suppress</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>man.segtitle.suppress</refname>
- <refpurpose>Suppress display of segtitle contents?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="man.segtitle.suppress.frag">
- <xsl:param name="man.segtitle.suppress" select="0"></xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If the value of <parameter>man.segtitle.suppress</parameter> is
- non-zero, then display of <tag>segtitle</tag> contents is
- suppressed in output.</para>
- </refsection>
- </refentry>
- </reference><reference id="charmap" xml:base="../manpages/param.xml">
- <title>Character/string substitution</title>
- <refentry version="5.0" id="man.charmap.enabled">
- <refmeta>
- <refentrytitle>man.charmap.enabled</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>man.charmap.enabled</refname>
- <refpurpose>Apply character map before final output?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="man.charmap.enabled.frag">
- <xsl:param name="man.charmap.enabled" select="1"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If the value of the <parameter>man.charmap.enabled</parameter>
- parameter is non-zero, a "character map" is used to substitute certain
- Unicode symbols and special characters with appropriate roff/groff
- equivalents, just before writing each man-page file to the
- filesystem. If instead the value of
- <parameter>man.charmap.enabled</parameter> is zero, Unicode characters
- are passed through "as is".</para>
- <refsection><info><title>Details</title></info>
- <para>For converting certain Unicode symbols and special characters in
- UTF-8 or UTF-16 encoded XML source to appropriate groff/roff
- equivalents in man-page output, the DocBook XSL Stylesheets
- distribution includes a <link xlink:href="http://docbook.sourceforge.net/snapshot/xsl/manpages/charmap.groff.xsl">roff character map</link> that is compliant with the <link xlink:href="http://www.w3.org/TR/xslt20/#character-maps">XSLT character
- map</link> format as detailed in the XSLT 2.0 specification. The map
- contains more than 800 character mappings and can be considered the
- standard roff character map for the distribution.</para>
- <para>You can use the <parameter>man.charmap.uri</parameter>
- parameter to specify a URI for the location for an alternate roff
- character map to use in place of the standard roff character map
- provided in the distribution.</para>
- <para>You can also use a subset of a character map. For details,
- see the <parameter>man.charmap.use.subset</parameter>,
- <parameter>man.charmap.subset.profile</parameter>, and
- <parameter>man.charmap.subset.profile.english</parameter>
- parameters.</para>
- </refsection>
- </refsection>
- </refentry>
- <refentry version="5.0" id="man.charmap.uri">
- <refmeta>
- <refentrytitle>man.charmap.uri</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">uri</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>man.charmap.uri</refname>
- <refpurpose>URI for custom roff character map</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="man.charmap.uri.frag">
- <xsl:param name="man.charmap.uri"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>For converting certain Unicode symbols and special characters in
- UTF-8 or UTF-16 encoded XML source to appropriate groff/roff
- equivalents in man-page output, the DocBook XSL Stylesheets
- distribution includes an <link xlink:href="http://www.w3.org/TR/xslt20/#character-maps">XSLT character
- map</link>. That character map can be considered the standard roff
- character map for the distribution.</para>
- <para>If the value of the <parameter>man.charmap.uri</parameter>
- parameter is non-empty, that value is used as the URI for the location
- for an alternate roff character map to use in place of the standard
- roff character map provided in the distribution.</para>
- <warning>
- <para>Do not set a value for <parameter>man.charmap.uri</parameter>
- unless you have a custom roff character map that differs from the
- standard one provided in the distribution.</para>
- </warning>
- </refsection>
- </refentry>
- <refentry version="5.0" id="man.charmap.use.subset">
- <refmeta>
- <refentrytitle>man.charmap.use.subset</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>man.charmap.use.subset</refname>
- <refpurpose>Use subset of character map instead of full map?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="man.charmap.use.subset.frag">
- <xsl:param name="man.charmap.use.subset" select="1"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If the value of the
- <parameter>man.charmap.use.subset</parameter> parameter is non-zero,
- a subset of the roff character map is used instead of the full roff
- character map. The profile of the subset used is determined either
- by the value of the
- <parameter>man.charmap.subset.profile</parameter>
- parameter (if the source is not in English) or the
- <parameter>man.charmap.subset.profile.english</parameter>
- parameter (if the source is in English).</para>
- <note>
- <para>You may want to experiment with setting a non-zero value of
- <parameter>man.charmap.use.subset</parameter>, so that the full
- character map is used. Depending on which XSLT engine you run,
- setting a non-zero value for
- <parameter>man.charmap.use.subset</parameter> may significantly
- increase the time needed to process your documents. Or it may
- not. For example, if you set it and run it with xsltproc, it seems
- to dramatically increase processing time; on the other hand, if you
- set it and run it with Saxon, it does not seem to increase
- processing time nearly as much.</para>
- <para>If processing time is not a important concern and/or you can
- tolerate the increase in processing time imposed by using the full
- character map, set <parameter>man.charmap.use.subset</parameter> to
- zero.</para>
- </note>
- <refsection><info><title>Details</title></info>
- <para>For converting certain Unicode symbols and special characters in
- UTF-8 or UTF-16 encoded XML source to appropriate groff/roff
- equivalents in man-page output, the DocBook XSL Stylesheets
- distribution includes a <link xlink:href="http://docbook.sourceforge.net/snapshot/xsl/manpages/charmap.groff.xsl">roff character map</link> that is compliant with the <link xlink:href="http://www.w3.org/TR/xslt20/#character-maps">XSLT character
- map</link> format as detailed in the XSLT 2.0 specification. The map
- contains more than 800 character mappings and can be considered the
- standard roff character map for the distribution.</para>
- <note>
- <para>You can use the <parameter>man.charmap.uri</parameter>
- parameter to specify a URI for the location for an alternate roff
- character map to use in place of the standard roff character map
- provided in the distribution.</para>
- </note>
- <para>Because it is not terrifically efficient to use the standard
- 800-character character map in full -- and for most (or all) users,
- never necessary to use it in full -- the DocBook XSL Stylesheets
- support a mechanism for using, within any given character map, a
- subset of character mappings instead of the full set. You can use the
- <parameter>man.charmap.subset.profile</parameter> or
- <parameter>man.charmap.subset.profile.english</parameter>
- parameter to tune the profile of that subset to use.</para>
- </refsection>
- </refsection>
- </refentry>
- <refentry version="5.0" id="man.charmap.subset.profile">
- <refmeta>
- <refentrytitle>man.charmap.subset.profile</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>man.charmap.subset.profile</refname>
- <refpurpose>Profile of character map subset</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="man.charmap.subset.profile.frag">
- <xsl:param name="man.charmap.subset.profile">
- @*[local-name() = 'block'] = 'Miscellaneous Technical' or
- (@*[local-name() = 'block'] = 'C1 Controls And Latin-1 Supplement (Latin-1 Supplement)' and
- (@*[local-name() = 'class'] = 'symbols' or
- @*[local-name() = 'class'] = 'letters')
- ) or
- @*[local-name() = 'block'] = 'Latin Extended-A'
- or
- (@*[local-name() = 'block'] = 'General Punctuation' and
- (@*[local-name() = 'class'] = 'spaces' or
- @*[local-name() = 'class'] = 'dashes' or
- @*[local-name() = 'class'] = 'quotes' or
- @*[local-name() = 'class'] = 'bullets'
- )
- ) or
- @*[local-name() = 'name'] = 'HORIZONTAL ELLIPSIS' or
- @*[local-name() = 'name'] = 'WORD JOINER' or
- @*[local-name() = 'name'] = 'SERVICE MARK' or
- @*[local-name() = 'name'] = 'TRADE MARK SIGN' or
- @*[local-name() = 'name'] = 'ZERO WIDTH NO-BREAK SPACE'
- </xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If the value of the
- <parameter>man.charmap.use.subset</parameter> parameter is non-zero,
- and your DocBook source is not written in English (that
- is, if the <tag class="attribute">lang</tag> or <tag class="attribute">xml:lang</tag> attribute on the root element
- in your DocBook source or on the first <tag>refentry</tag>
- element in your source has a value other than
- <literal>en</literal>), then the character-map subset specified
- by the <parameter>man.charmap.subset.profile</parameter>
- parameter is used instead of the full roff character map.</para>
- <para>Otherwise, if the <tag class="attribute">lang</tag> or <tag class="attribute">xml:lang</tag> attribute on the root
- element in your DocBook
- source or on the first <tag>refentry</tag> element in your source
- has the value <literal>en</literal> or if it has no <tag class="attribute">lang</tag> or <tag class="attribute">xml:lang</tag> attribute, then the character-map
- subset specified by the
- <parameter>man.charmap.subset.profile.english</parameter>
- parameter is used instead of
- <parameter>man.charmap.subset.profile</parameter>.</para>
- <para>The difference between the two subsets is that
- <parameter>man.charmap.subset.profile</parameter> provides
- mappings for characters in Western European languages that are
- not part of the Roman (English) alphabet (ASCII character set).</para>
- <para>The value of <parameter>man.charmap.subset.profile</parameter>
- is a string representing an XPath expression that matches attribute
- names and values for <tag namespace="http://docbook.sf.net/xmlns/unichar/1.0">output-character</tag>
- elements in the character map.</para>
- <para>The attributes supported in the <link xlink:href="http://docbook.sourceforge.net/snapshot/xsl/manpages/charmap.groff.xsl">standard roff character map included in the distribution</link> are:
- <variablelist>
- <varlistentry>
- <term>character</term>
- <listitem>
- <simpara>a raw Unicode character or numeric Unicode
- character-entity value (either in decimal or hex); all
- characters have this attribute</simpara>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>name</term>
- <listitem>
- <simpara>a standard full/long ISO/Unicode character name (e.g.,
- "OHM SIGN"); all characters have this attribute</simpara>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>block</term>
- <listitem>
- <simpara>a standard Unicode "block" name (e.g., "General
- Punctuation"); all characters have this attribute. For the full
- list of Unicode block names supported in the standard roff
- character map, see <xref linkend="BlocksAndClasses"/>.</simpara>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>class</term>
- <listitem>
- <simpara>a class of characters (e.g., "spaces"). Not all
- characters have this attribute; currently, it is used only with
- certain characters within the "C1 Controls And Latin-1
- Supplement" and "General Punctuation" blocks. For details, see
- <xref linkend="BlocksAndClasses"/>.</simpara>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>entity</term>
- <listitem>
- <simpara>an ISO entity name (e.g., "ohm"); not all characters
- have this attribute, because not all characters have ISO entity
- names; for example, of the 800 or so characters in the standard
- roff character map included in the distribution, only around 300
- have ISO entity names.
- </simpara>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>string</term>
- <listitem>
- <simpara>a string representing an roff/groff escape-code (with
- "@esc@" used in place of the backslash), or a simple ASCII
- string; all characters in the roff character map have this
- attribute</simpara>
- </listitem>
- </varlistentry>
- </variablelist>
- </para>
- <para>The value of <parameter>man.charmap.subset.profile</parameter>
- is evaluated as an XPath expression at run-time to select a portion of
- the roff character map to use. You can tune the subset used by adding
- or removing parts. For example, if you need to use a wide range of
- mathematical operators in a document, and you want to have them
- converted into roff markup properly, you might add the following:
- <literallayout class="monospaced"> @*[local-name() = 'block'] ='MathematicalOperators' </literallayout>
- That will cause a additional set of around 67 additional "math"
- characters to be converted into roff markup. </para>
- <note>
- <para>Depending on which XSLT engine you use, either the EXSLT
- <function>dyn:evaluate</function> extension function (for xsltproc or
- Xalan) or <function>saxon:evaluate</function> extension function (for
- Saxon) are used to dynamically evaluate the value of
- <parameter>man.charmap.subset.profile</parameter> at run-time. If you
- don't use xsltproc, Saxon, Xalan -- or some other XSLT engine that
- supports <function>dyn:evaluate</function> -- you must either set the
- value of the <parameter>man.charmap.use.subset</parameter> parameter
- to zero and process your documents using the full character map
- instead, or set the value of the
- <parameter>man.charmap.enabled</parameter> parameter to zero instead
- (so that character-map processing is disabled completely.</para>
- </note>
- <para>An alternative to using
- <parameter>man.charmap.subset.profile</parameter> is to create your
- own custom character map, and set the value of
- <parameter>man.charmap.uri</parameter> to the URI/filename for
- that. If you use a custom character map, you will probably want to
- include in it just the characters you want to use, and so you will
- most likely also want to set the value of
- <parameter>man.charmap.use.subset</parameter> to zero.</para>
- <para>You can create a
- custom character map by making a copy of the <link xlink:href="http://docbook.sourceforge.net/snapshot/xsl/manpages/charmap.groff.xsl">standard roff character map</link> provided in the distribution, and
- then adding to, changing, and/or deleting from that.</para>
- <caution>
- <para>If you author your DocBook XML source in UTF-8 or UTF-16
- encoding and aren't sure what OSes or environments your man-page
- output might end up being viewed on, and not sure what version of
- nroff/groff those environments might have, you should be careful about
- what Unicode symbols and special characters you use in your source and
- what parts you add to the value of
- <parameter>man.charmap.subset.profile</parameter>.</para>
- <para>Many of the escape codes used are specific to groff and using
- them may not provide the expected output on an OS or environment that
- uses nroff instead of groff.</para>
- <para>On the other hand, if you intend for your man-page output to be
- viewed only on modern systems (for example, GNU/Linux systems, FreeBSD
- systems, or Cygwin environments) that have a good, up-to-date groff,
- then you can safely include a wide range of Unicode symbols and
- special characters in your UTF-8 or UTF-16 encoded DocBook XML source
- and add any of the supported Unicode block names to the value of
- <parameter>man.charmap.subset.profile</parameter>.</para>
- </caution>
- <para>For other details, see the documentation for the
- <parameter>man.charmap.use.subset</parameter> parameter.</para>
- <refsection id="BlocksAndClasses"><info><title>Supported Unicode block names and "class" values</title></info>
-
- <para>Below is the full list of Unicode block names and "class"
- values supported in the standard roff stylesheet provided in the
- distribution, along with a description of which codepoints from the
- Unicode range corresponding to that block name or block/class
- combination are supported.</para>
- <itemizedlist>
- <listitem>
- <para><link xlink:href="http://zvon.org/other/charSearch/PHP/search.php?searchType=103&id=C1%20Controls%20and%20Latin-1%20Supplement%20(Latin-1%20Supplement)">C1 Controls And Latin-1 Supplement (Latin-1 Supplement)</link> (x00a0 to x00ff)
- <itemizedlist><info><title>class values</title></info>
-
- <listitem>
- <para>symbols</para>
- </listitem>
- <listitem>
- <para>letters</para>
- </listitem>
- </itemizedlist></para>
- </listitem>
- <listitem>
- <para><link xlink:href="http://zvon.org/other/charSearch/PHP/search.php?searchType=103&id=Latin%20Extended-A">Latin Extended-A</link> (x0100 to x017f, partial)</para>
- </listitem>
- <listitem>
- <para><link xlink:href="http://zvon.org/other/charSearch/PHP/search.php?searchType=103&id=Spacing%20Modifier%20Letters">Spacing Modifier Letters</link> (x02b0 to x02ee, partial)</para>
- </listitem>
- <listitem>
- <para><link xlink:href="http://zvon.org/other/charSearch/PHP/search.php?searchType=103&id=Greek%20and%20Coptic">Greek and Coptic</link> (x0370 to x03ff, partial)</para>
- </listitem>
- <listitem>
- <para><link xlink:href="http://zvon.org/other/charSearch/PHP/search.php?searchType=103&id=General%20Punctuation">General Punctuation</link> (x2000 to x206f, partial)
- <itemizedlist><info><title>class values</title></info>
-
- <listitem>
- <para><link xlink:href="http://zvon.org/other/charSearch/PHP/search.php?searchType=103&start=8192&end=8203">spaces</link></para>
- </listitem>
- <listitem>
- <para><link xlink:href="http://zvon.org/other/charSearch/PHP/search.php?searchType=103&start=8208&end=8213">dashes</link></para>
- </listitem>
- <listitem>
- <para>quotes</para>
- </listitem>
- <listitem>
- <para>daggers</para>
- </listitem>
- <listitem>
- <para>bullets</para>
- </listitem>
- <listitem>
- <para>leaders</para>
- </listitem>
- <listitem>
- <para>primes</para>
- </listitem>
- </itemizedlist>
- </para>
- </listitem>
- <listitem>
- <para><link xlink:href="http://zvon.org/other/charSearch/PHP/search.php?searchType=103&id=Superscripts%20and%20Subscripts">Superscripts and Subscripts</link> (x2070 to x209f)</para>
- </listitem>
- <listitem>
- <para><link xlink:href="http://zvon.org/other/charSearch/PHP/search.php?searchType=103&id=Currency%20Symbols">Currency Symbols</link> (x20a0 to x20b1)</para>
- </listitem>
- <listitem>
- <para><link xlink:href="http://zvon.org/other/charSearch/PHP/search.php?searchType=103&id=Letterlike%20Symbols">Letterlike Symbols</link> (x2100 to x214b)</para>
- </listitem>
- <listitem>
- <para><link xlink:href="http://zvon.org/other/charSearch/PHP/search.php?searchType=103&id=Number%20Forms">Number Forms</link> (x2150 to x218f)</para>
- </listitem>
- <listitem>
- <para><link xlink:href="http://zvon.org/other/charSearch/PHP/search.php?searchType=103&id=Arrows">Arrows</link> (x2190 to x21ff, partial)</para>
- </listitem>
- <listitem>
- <para><link xlink:href="http://zvon.org/other/charSearch/PHP/search.php?searchType=103&id=Mathematical%20Operators">Mathematical Operators</link> (x2200 to x22ff, partial)</para>
- </listitem>
- <listitem>
- <para><link xlink:href="http://zvon.org/other/charSearch/PHP/search.php?searchType=103&id=Control%20Pictures">Control Pictures</link> (x2400 to x243f)</para>
- </listitem>
- <listitem>
- <para><link xlink:href="http://zvon.org/other/charSearch/PHP/search.php?searchType=103&id=Enclosed%20Alphanumerics">Enclosed Alphanumerics</link> (x2460 to x24ff)</para>
- </listitem>
- <listitem>
- <para><link xlink:href="http://zvon.org/other/charSearch/PHP/search.php?searchType=103&id=Geometric%20Shapes">Geometric Shapes</link> (x25a0 to x25f7, partial)</para>
- </listitem>
- <listitem>
- <para><link xlink:href="http://zvon.org/other/charSearch/PHP/search.php?searchType=103&id=Miscellaneous%20Symbols">Miscellaneous Symbols</link> (x2600 to x26ff, partial)</para>
- </listitem>
- <listitem>
- <para><link xlink:href="http://zvon.org/other/charSearch/PHP/search.php?searchType=103&id=Dingbats">Dingbats</link> (x2700 to x27be, partial)</para>
- </listitem>
- <listitem>
- <para><link xlink:href="http://zvon.org/other/charSearch/PHP/search.php?searchType=103&id=Alphabetic%20Presentation%20Forms">Alphabetic Presentation Forms</link> (xfb00 to xfb04 only)</para>
- </listitem>
- </itemizedlist>
- </refsection>
- </refsection>
- </refentry>
- <refentry version="5.0" id="man.charmap.subset.profile.english">
- <refmeta>
- <refentrytitle>man.charmap.subset.profile.english</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>man.charmap.subset.profile.english</refname>
- <refpurpose>Profile of character map subset</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="man.charmap.subset.profile.english.frag">
- <xsl:param name="man.charmap.subset.profile.english">
- @*[local-name() = 'block'] = 'Miscellaneous Technical' or
- (@*[local-name() = 'block'] = 'C1 Controls And Latin-1 Supplement (Latin-1 Supplement)' and
- @*[local-name() = 'class'] = 'symbols')
- or
- (@*[local-name() = 'block'] = 'General Punctuation' and
- (@*[local-name() = 'class'] = 'spaces' or
- @*[local-name() = 'class'] = 'dashes' or
- @*[local-name() = 'class'] = 'quotes' or
- @*[local-name() = 'class'] = 'bullets'
- )
- ) or
- @*[local-name() = 'name'] = 'HORIZONTAL ELLIPSIS' or
- @*[local-name() = 'name'] = 'WORD JOINER' or
- @*[local-name() = 'name'] = 'SERVICE MARK' or
- @*[local-name() = 'name'] = 'TRADE MARK SIGN' or
- @*[local-name() = 'name'] = 'ZERO WIDTH NO-BREAK SPACE'
- </xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If the value of the
- <parameter>man.charmap.use.subset</parameter> parameter is
- non-zero, and your DocBook source is written in English (that
- is, if its <tag class="attribute">lang</tag> or <tag class="attribute">xml:lang</tag> attribute on the root element
- in your DocBook source or on the first <tag>refentry</tag>
- element in your source has the value <literal>en</literal> or if
- it has no <tag class="attribute">lang</tag> or <tag class="attribute">xml:lang</tag> attribute), then the
- character-map subset specified by the
- <parameter>man.charmap.subset.profile.english</parameter>
- parameter is used instead of the full roff character map.</para>
- <para>Otherwise, if the <tag class="attribute">lang</tag> or <tag class="attribute">xml:lang</tag> attribute
- on the root element in your DocBook source or on the first
- <tag>refentry</tag> element in your source has a value other
- than <literal>en</literal>, then the character-map subset
- specified by the
- <parameter>man.charmap.subset.profile</parameter> parameter is
- used instead of
- <parameter>man.charmap.subset.profile.english</parameter>.</para>
- <para>The difference between the two subsets is that
- <parameter>man.charmap.subset.profile</parameter> provides
- mappings for characters in Western European languages that are
- not part of the Roman (English) alphabet (ASCII character set).</para>
- <para>The value of <parameter>man.charmap.subset.profile.english</parameter>
- is a string representing an XPath expression that matches attribute
- names and values for <tag namespace="http://docbook.sf.net/xmlns/unichar/1.0">output-character</tag> elements in the character map.</para>
- <para>For other details, see the documentation for the
- <parameter>man.charmap.subset.profile.english</parameter> and
- <parameter>man.charmap.use.subset</parameter> parameters.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="man.string.subst.map.local.pre">
- <refmeta>
- <refentrytitle>man.string.subst.map.local.pre</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>man.string.subst.map.local.pre</refname>
- <refpurpose>Specifies “local” string substitutions</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="man.string.subst.map.local.pre.frag">
- <xsl:param name="man.string.subst.map.local.pre"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Use the <parameter>man.string.subst.map.local.pre</parameter>
- parameter to specify any “local” string substitutions to perform over
- the entire roff source for each man page <emphasis>before</emphasis>
- performing the string substitutions specified by the <parameter>man.string.subst.map</parameter> parameter.</para>
- <para>For details about the format of this parameter, see the
- documentation for the <parameter>man.string.subst.map</parameter>
- parameter.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="man.string.subst.map">
- <refmeta>
- <refentrytitle>man.string.subst.map</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">rtf</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>man.string.subst.map</refname>
- <refpurpose>Specifies a set of string substitutions</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="man.string.subst.map.frag">
- <xsl:param name="man.string.subst.map">
- <!-- * remove no-break marker at beginning of line (stylesheet artifact) -->
- <ss:substitution oldstring="▒▀" newstring="▒"></ss:substitution>
- <!-- * replace U+2580 no-break marker (stylesheet-added) w/ no-break space -->
- <ss:substitution oldstring="▀" newstring="\ "></ss:substitution>
- <!-- ==================================================================== -->
- <!-- * squeeze multiple newlines before a roff request -->
- <ss:substitution oldstring="
- ." newstring="
- ."></ss:substitution>
- <!-- * remove any .sp instances that directly precede a .PP -->
- <ss:substitution oldstring=".sp
- .PP" newstring=".PP"></ss:substitution>
- <!-- * remove any .sp instances that directly follow a .PP -->
- <ss:substitution oldstring=".sp
- .sp" newstring=".sp"></ss:substitution>
- <!-- * squeeze multiple .sp instances into a single .sp-->
- <ss:substitution oldstring=".PP
- .sp" newstring=".PP"></ss:substitution>
- <!-- * squeeze multiple newlines after start of no-fill (verbatim) env. -->
- <ss:substitution oldstring=".nf
- " newstring=".nf
- "></ss:substitution>
- <!-- * squeeze multiple newlines after REstoring margin -->
- <ss:substitution oldstring=".RE
- " newstring=".RE
- "></ss:substitution>
- <!-- * U+2591 is a marker we add before and after every Parameter in -->
- <!-- * Funcprototype output -->
- <ss:substitution oldstring="░" newstring=" "></ss:substitution>
- <!-- * U+2592 is a marker we add for the newline before output of <sbr>; -->
- <ss:substitution oldstring="▒" newstring="
- "></ss:substitution>
- <!-- * -->
- <!-- * Now deal with some other characters that are added by the -->
- <!-- * stylesheets during processing. -->
- <!-- * -->
- <!-- * bullet -->
- <ss:substitution oldstring="•" newstring="\(bu"></ss:substitution>
- <!-- * left double quote -->
- <ss:substitution oldstring="“" newstring="\(lq"></ss:substitution>
- <!-- * right double quote -->
- <ss:substitution oldstring="”" newstring="\(rq"></ss:substitution>
- <!-- * left single quote -->
- <ss:substitution oldstring="‘" newstring="\(oq"></ss:substitution>
- <!-- * right single quote -->
- <ss:substitution oldstring="’" newstring="\(cq"></ss:substitution>
- <!-- * copyright sign -->
- <ss:substitution oldstring="©" newstring="\(co"></ss:substitution>
- <!-- * registered sign -->
- <ss:substitution oldstring="®" newstring="\(rg"></ss:substitution>
- <!-- * ...servicemark... -->
- <!-- * There is no groff equivalent for it. -->
- <ss:substitution oldstring="℠" newstring="(SM)"></ss:substitution>
- <!-- * ...trademark... -->
- <!-- * We don't do "\(tm" because for console output, -->
- <!-- * groff just renders that as "tm"; that is: -->
- <!-- * -->
- <!-- * Product&#x2122; -> Producttm -->
- <!-- * -->
- <!-- * So we just make it to "(TM)" instead; thus: -->
- <!-- * -->
- <!-- * Product&#x2122; -> Product(TM) -->
- <ss:substitution oldstring="™" newstring="(TM)"></ss:substitution>
- </xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The <parameter>man.string.subst.map</parameter> parameter
- contains <link linkend="map">a map</link> that specifies a set of
- string substitutions to perform over the entire roff source for each
- man page, either just before generating final man-page output (that
- is, before writing man-page files to disk) or, if the value of the
- <parameter>man.charmap.enabled</parameter> parameter is non-zero,
- before applying the roff character map.</para>
- <para>You can use <parameter>man.string.subst.map</parameter> as a
- “lightweight” character map to perform “essential” substitutions --
- that is, substitutions that are <emphasis>always</emphasis> performed,
- even if the value of the <parameter>man.charmap.enabled</parameter>
- parameter is zero. For example, you can use it to replace quotation
- marks or other special characters that are generated by the DocBook
- XSL stylesheets for a particular locale setting (as opposed to those
- characters that are actually in source XML documents), or to replace
- any special characters that may be automatically generated by a
- particular customization of the DocBook XSL stylesheets.</para>
- <warning>
- <para>Do you not change value of the
- <parameter>man.string.subst.map</parameter> parameter unless you are
- sure what you are doing. First consider adding your
- string-substitution mappings to either or both of the following
- parameters:
- <variablelist>
- <varlistentry>
- <term><parameter>man.string.subst.map.local.pre</parameter></term>
- <listitem><para>applied before
- <parameter>man.string.subst.map</parameter></para></listitem>
- </varlistentry>
- <varlistentry>
- <term><parameter>man.string.subst.map.local.post</parameter></term>
- <listitem><para>applied after
- <parameter>man.string.subst.map</parameter></para></listitem>
- </varlistentry>
- </variablelist>
- By default, both of those parameters contain no
- string substitutions. They are intended as a means for you to
- specify your own local string-substitution mappings.</para>
- <para>If you remove any of default mappings from the value of the
- <parameter>man.string.subst.map</parameter> parameter, you are
- likely to end up with broken output. And be very careful about adding
- anything to it; it’s used for doing string substitution over the
- entire roff source of each man page – it causes target strings to be
- replaced in roff requests and escapes, not just in the visible
- contents of the page.</para>
- </warning>
- <refsection id="map">
- <info>
- <title>Contents of the substitution map</title>
- </info>
- <para>The string-substitution map contains one or more
- <tag>ss:substitution</tag> elements, each of which has two
- attributes:
- <variablelist>
- <varlistentry>
- <term>oldstring</term>
- <listitem>
- <simpara>string to replace</simpara>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>newstring</term>
- <listitem>
- <simpara>string with which to replace <tag class="attribute">oldstring</tag></simpara>
- </listitem>
- </varlistentry>
- </variablelist>
- It may also include XML comments (that is, delimited with
- "<literal><!--</literal>" and "<literal>--></literal>").
- </para>
- </refsection>
- </refsection>
- </refentry>
- <refentry version="5.0" id="man.string.subst.map.local.post">
- <refmeta>
- <refentrytitle>man.string.subst.map.local.post</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>man.string.subst.map.local.post</refname>
- <refpurpose>Specifies “local” string substitutions</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="man.string.subst.map.local.post.frag">
- <xsl:param name="man.string.subst.map.local.post"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Use the <parameter>man.string.subst.map.local.post</parameter>
- parameter to specify any “local” string substitutions to perform over
- the entire roff source for each man page <emphasis>after</emphasis>
- performing the string substitutions specified by the <parameter>man.string.subst.map</parameter> parameter.</para>
- <para>For details about the format of this parameter, see the
- documentation for the <parameter>man.string.subst.map</parameter>
- parameter.</para>
- </refsection>
- </refentry>
- </reference><reference id="refmeta" xml:base="../manpages/param.xml">
- <title>Refentry metadata gathering</title>
- <refentry version="5.0" id="refentry.meta.get.quietly">
- <refmeta>
- <refentrytitle>refentry.meta.get.quietly</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>refentry.meta.get.quietly</refname>
- <refpurpose>Suppress notes and warnings when gathering refentry metadata?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="refentry.meta.get.quietly.frag">
- <xsl:param name="refentry.meta.get.quietly" select="0"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If zero (the default), notes and warnings about “missing” markup
- are generated during gathering of refentry metadata. If non-zero, the
- metadata is gathered “quietly” -- that is, the notes and warnings are
- suppressed.</para>
- <tip>
- <para>If you are processing a large amount of <tag>refentry</tag>
- content, you may be able to speed up processing significantly by
- setting a non-zero value for
- <parameter>refentry.meta.get.quietly</parameter>.</para>
- </tip>
- </refsection>
- </refentry>
- <refentry version="5.0" id="refentry.date.profile">
- <refmeta>
- <refentrytitle>refentry.date.profile</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>refentry.date.profile</refname>
- <refpurpose>Specifies profile for refentry "date" data</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="refentry.date.profile.frag">
- <xsl:param name="refentry.date.profile">
- (($info[//date])[last()]/date)[1]|
- (($info[//pubdate])[last()]/pubdate)[1]
- </xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The value of <parameter>refentry.date.profile</parameter> is a
- string representing an XPath expression. It is evaluated at run-time
- and used only if <parameter>refentry.date.profile.enabled</parameter>
- is non-zero. Otherwise, the <tag>refentry</tag> metadata-gathering
- logic "hard coded" into the stylesheets is used.</para>
- <para> The <literal>man(7)</literal> man page describes this content
- as "the date of the last revision". In man pages, it is the content
- that is usually displayed in the center footer.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="refentry.date.profile.enabled">
- <refmeta>
- <refentrytitle>refentry.date.profile.enabled</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>refentry.date.profile.enabled</refname>
- <refpurpose>Enable refentry "date" profiling?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="refentry.date.profile.enabled.frag">
- <xsl:param name="refentry.date.profile.enabled">0</xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If the value of
- <parameter>refentry.date.profile.enabled</parameter> is non-zero, then
- during <tag>refentry</tag> metadata gathering, the info profile
- specified by the customizable
- <parameter>refentry.date.profile</parameter> parameter is used.</para>
- <para>If instead the value of
- <parameter>refentry.date.profile.enabled</parameter> is zero (the
- default), then "hard coded" logic within the DocBook XSL stylesheets
- is used for gathering <tag>refentry</tag> "date" data.</para>
- <para>If you find that the default <tag>refentry</tag>
- metadata-gathering behavior is causing incorrect "date" data to show
- up in your output, then consider setting a non-zero value for
- <parameter>refentry.date.profile.enabled</parameter> and adjusting the
- value of <parameter>refentry.date.profile</parameter> to cause correct
- data to be gathered. </para>
- <para>Note that the terms "source" and "date" have special meanings in
- this context. For details, see the documentation for the
- <parameter>refentry.date.profile</parameter> parameter.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="refentry.manual.profile">
- <refmeta>
- <refentrytitle>refentry.manual.profile</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>refentry.manual.profile</refname>
- <refpurpose>Specifies profile for refentry "manual" data</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="refentry.manual.profile.frag">
- <xsl:param name="refentry.manual.profile">
- (($info[//title])[last()]/title)[1]|
- ../title/node()
- </xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The value of <parameter>refentry.manual.profile</parameter> is
- a string representing an XPath expression. It is evaluated at
- run-time and used only if
- <parameter>refentry.manual.profile.enabled</parameter> is
- non-zero. Otherwise, the <tag>refentry</tag> metadata-gathering logic
- "hard coded" into the stylesheets is used.</para>
- <para>In man pages, this content is usually displayed in the middle of
- the header of the page. The <literal>man(7)</literal> man page
- describes this as "the title of the manual (e.g., <citetitle>Linux
- Programmer's Manual</citetitle>)". Here are some examples from
- existing man pages:
- <itemizedlist>
- <listitem>
- <para><citetitle>dpkg utilities</citetitle>
- (<command>dpkg-name</command>)</para>
- </listitem>
- <listitem>
- <para><citetitle>User Contributed Perl Documentation</citetitle>
- (<command>GET</command>)</para>
- </listitem>
- <listitem>
- <para><citetitle>GNU Development Tools</citetitle>
- (<command>ld</command>)</para>
- </listitem>
- <listitem>
- <para><citetitle>Emperor Norton Utilities</citetitle>
- (<command>ddate</command>)</para>
- </listitem>
- <listitem>
- <para><citetitle>Debian GNU/Linux manual</citetitle>
- (<command>faked</command>)</para>
- </listitem>
- <listitem>
- <para><citetitle>GIMP Manual Pages</citetitle>
- (<command>gimp</command>)</para>
- </listitem>
- <listitem>
- <para><citetitle>KDOC Documentation System</citetitle>
- (<command>qt2kdoc</command>)</para>
- </listitem>
- </itemizedlist>
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="refentry.manual.profile.enabled">
- <refmeta>
- <refentrytitle>refentry.manual.profile.enabled</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>refentry.manual.profile.enabled</refname>
- <refpurpose>Enable refentry "manual" profiling?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="refentry.manual.profile.enabled.frag">
- <xsl:param name="refentry.manual.profile.enabled">0</xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If the value of
- <parameter>refentry.manual.profile.enabled</parameter> is
- non-zero, then during <tag>refentry</tag> metadata gathering, the info
- profile specified by the customizable
- <parameter>refentry.manual.profile</parameter> parameter is
- used.</para>
- <para>If instead the value of
- <parameter>refentry.manual.profile.enabled</parameter> is zero (the
- default), then "hard coded" logic within the DocBook XSL stylesheets
- is used for gathering <tag>refentry</tag> "manual" data.</para>
- <para>If you find that the default <tag>refentry</tag>
- metadata-gathering behavior is causing incorrect "manual" data to show
- up in your output, then consider setting a non-zero value for
- <parameter>refentry.manual.profile.enabled</parameter> and adjusting
- the value of <parameter>refentry.manual.profile</parameter> to cause
- correct data to be gathered. </para>
- <para>Note that the term "manual" has a special meanings in this
- context. For details, see the documentation for the
- <parameter>refentry.manual.profile</parameter> parameter.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="refentry.source.name.suppress">
- <refmeta>
- <refentrytitle>refentry.source.name.suppress</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>refentry.source.name.suppress</refname>
- <refpurpose>Suppress "name" part of refentry "source" contents?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="refentry.source.name.suppress.frag">
- <xsl:param name="refentry.source.name.suppress">0</xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If the value of
- <parameter>refentry.source.name.suppress</parameter> is non-zero, then
- during <tag>refentry</tag> metadata gathering, no "source name" data
- is added to the <tag>refentry</tag> "source" contents. Instead (unless
- <parameter>refentry.version.suppress</parameter> is also non-zero),
- only "version" data is added to the "source" contents.</para>
- <para>If you find that the <tag>refentry</tag> metadata gathering
- mechanism is causing unwanted "source name" data to show up in your
- output -- for example, in the footer (or possibly header) of a man
- page -- then you might consider setting a non-zero value for
- <parameter>refentry.source.name.suppress</parameter>.</para>
- <para>Note that the terms "source", "source name", and "version" have
- special meanings in this context. For details, see the documentation
- for the <parameter>refentry.source.name.profile</parameter>
- parameter.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="refentry.source.name.profile">
- <refmeta>
- <refentrytitle>refentry.source.name.profile</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>refentry.source.name.profile</refname>
- <refpurpose>Specifies profile for refentry "source name" data</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="refentry.source.name.profile.frag">
- <xsl:param name="refentry.source.name.profile">
- (($info[//productname])[last()]/productname)[1]|
- (($info[//corpname])[last()]/corpname)[1]|
- (($info[//corpcredit])[last()]/corpcredit)[1]|
- (($info[//corpauthor])[last()]/corpauthor)[1]|
- (($info[//orgname])[last()]/orgname)[1]|
- (($info[//publishername])[last()]/publishername)[1]
- </xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The value of <parameter>refentry.source.name.profile</parameter>
- is a string representing an XPath expression. It is evaluated at
- run-time and used only if
- <parameter>refentry.source.name.profile.enabled</parameter> is
- non-zero. Otherwise, the <tag>refentry</tag> metadata-gathering logic
- "hard coded" into the stylesheets is used.</para>
- <para>A "source name" is one part of a (potentially) two-part
- <replaceable>Name</replaceable> <replaceable>Version</replaceable>
- "source" field. In man pages, it is usually displayed in the left
- footer of the page. It typically indicates the software system or
- product that the item documented in the man page belongs to. The
- <literal>man(7)</literal> man page describes it as "the source of
- the command", and provides the following examples:
- <itemizedlist>
- <listitem>
- <para>For binaries, use something like: GNU, NET-2, SLS
- Distribution, MCC Distribution.</para>
- </listitem>
- <listitem>
- <para>For system calls, use the version of the kernel that you
- are currently looking at: Linux 0.99.11.</para>
- </listitem>
- <listitem>
- <para>For library calls, use the source of the function: GNU, BSD
- 4.3, Linux DLL 4.4.1.</para>
- </listitem>
- </itemizedlist>
- </para>
- <para>In practice, there are many pages that simply have a Version
- number in the "source" field. So, it looks like what we have is a
- two-part field,
- <replaceable>Name</replaceable> <replaceable>Version</replaceable>,
- where:
- <variablelist>
- <varlistentry>
- <term>Name</term>
- <listitem>
- <para>product name (e.g., BSD) or org. name (e.g., GNU)</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>Version</term>
- <listitem>
- <para>version number</para>
- </listitem>
- </varlistentry>
- </variablelist>
- Each part is optional. If the <replaceable>Name</replaceable> is a
- product name, then the <replaceable>Version</replaceable> is probably
- the version of the product. Or there may be no
- <replaceable>Name</replaceable>, in which case, if there is a
- <replaceable>Version</replaceable>, it is probably the version
- of the item itself, not the product it is part of. Or, if the
- <replaceable>Name</replaceable> is an organization name, then there
- probably will be no <replaceable>Version</replaceable>.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="refentry.source.name.profile.enabled">
- <refmeta>
- <refentrytitle>refentry.source.name.profile.enabled</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>refentry.source.name.profile.enabled</refname>
- <refpurpose>Enable refentry "source name" profiling?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="refentry.source.name.profile.enabled.frag">
- <xsl:param name="refentry.source.name.profile.enabled">0</xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If the value of
- <parameter>refentry.source.name.profile.enabled</parameter> is
- non-zero, then during <tag>refentry</tag> metadata gathering, the info
- profile specified by the customizable
- <parameter>refentry.source.name.profile</parameter> parameter is
- used.</para>
- <para>If instead the value of
- <parameter>refentry.source.name.profile.enabled</parameter> is zero (the
- default), then "hard coded" logic within the DocBook XSL stylesheets
- is used for gathering <tag>refentry</tag> "source name" data.</para>
- <para>If you find that the default <tag>refentry</tag>
- metadata-gathering behavior is causing incorrect "source name" data to
- show up in your output, then consider setting a non-zero value for
- <parameter>refentry.source.name.profile.enabled</parameter> and
- adjusting the value of
- <parameter>refentry.source.name.profile</parameter> to cause correct
- data to be gathered. </para>
- <para>Note that the terms "source" and "source name" have special
- meanings in this context. For details, see the documentation for the
- <parameter>refentry.source.name.profile</parameter> parameter.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="refentry.version.suppress">
- <refmeta>
- <refentrytitle>refentry.version.suppress</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>refentry.version.suppress</refname>
- <refpurpose>Suppress "version" part of refentry "source" contents?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="refentry.version.suppress.frag">
- <xsl:param name="refentry.version.suppress">0</xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If the value of <parameter>refentry.version.suppress</parameter>
- is non-zero, then during <tag>refentry</tag> metadata gathering, no
- "version" data is added to the <tag>refentry</tag> "source"
- contents. Instead (unless
- <parameter>refentry.source.name.suppress</parameter> is also
- non-zero), only "source name" data is added to the "source"
- contents.</para>
- <para>If you find that the <tag>refentry</tag> metadata gathering
- mechanism is causing unwanted "version" data to show up in your output
- -- for example, in the footer (or possibly header) of a man page --
- then you might consider setting a non-zero value for
- <parameter>refentry.version.suppress</parameter>.</para>
- <para>Note that the terms "source", "source name", and "version" have
- special meanings in this context. For details, see the documentation
- for the <parameter>refentry.source.name.profile</parameter>
- parameter.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="refentry.version.profile">
- <refmeta>
- <refentrytitle>refentry.version.profile</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>refentry.version.profile</refname>
- <refpurpose>Specifies profile for refentry "version" data</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="refentry.version.profile.frag">
- <xsl:param name="refentry.version.profile">
- (($info[//productnumber])[last()]/productnumber)[1]|
- (($info[//edition])[last()]/edition)[1]|
- (($info[//releaseinfo])[last()]/releaseinfo)[1]
- </xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The value of <parameter>refentry.version.profile</parameter> is
- a string representing an XPath expression. It is evaluated at
- run-time and used only if
- <parameter>refentry.version.profile.enabled</parameter> is
- non-zero. Otherwise, the <tag>refentry</tag> metadata-gathering logic
- "hard coded" into the stylesheets is used.</para>
- <para>A "source.name" is one part of a (potentially) two-part
- <replaceable>Name</replaceable> <replaceable>Version</replaceable>
- "source" field. For more details, see the documentation for the
- <parameter>refentry.source.name.profile</parameter> parameter.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="refentry.version.profile.enabled">
- <refmeta>
- <refentrytitle>refentry.version.profile.enabled</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>refentry.version.profile.enabled</refname>
- <refpurpose>Enable refentry "version" profiling?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="refentry.version.profile.enabled.frag">
- <xsl:param name="refentry.version.profile.enabled">0</xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If the value of
- <parameter>refentry.version.profile.enabled</parameter> is
- non-zero, then during <tag>refentry</tag> metadata gathering, the info
- profile specified by the customizable
- <parameter>refentry.version.profile</parameter> parameter is
- used.</para>
- <para>If instead the value of
- <parameter>refentry.version.profile.enabled</parameter> is zero (the
- default), then "hard coded" logic within the DocBook XSL stylesheets
- is used for gathering <tag>refentry</tag> "version" data.</para>
- <para>If you find that the default <tag>refentry</tag>
- metadata-gathering behavior is causing incorrect "version" data to show
- up in your output, then consider setting a non-zero value for
- <parameter>refentry.version.profile.enabled</parameter> and adjusting
- the value of <parameter>refentry.version.profile</parameter> to cause
- correct data to be gathered. </para>
- <para>Note that the terms "source" and "version" have special
- meanings in this context. For details, see the documentation for the
- <parameter>refentry.version.profile</parameter> parameter.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="refentry.manual.fallback.profile">
- <refmeta>
- <refentrytitle>refentry.manual.fallback.profile</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>refentry.manual.fallback.profile</refname>
- <refpurpose>Specifies profile of "fallback" for refentry "manual" data</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="refentry.manual.fallback.profile.frag">
- <xsl:param name="refentry.manual.fallback.profile">
- refmeta/refmiscinfo[not(@class = 'date')][1]/node()</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The value of
- <parameter>refentry.manual.fallback.profile</parameter> is a string
- representing an XPath expression. It is evaluated at run-time and
- used only if no "manual" data can be found by other means (that is,
- either using the <tag>refentry</tag> metadata-gathering logic "hard
- coded" in the stylesheets, or the value of
- <parameter>refentry.manual.profile</parameter>, if it is
- enabled).</para>
- <important>
- <para>Depending on which XSLT engine you run, either the EXSLT
- <function>dyn:evaluate</function> extension function (for xsltproc or
- Xalan) or <function>saxon:evaluate</function> extension function (for
- Saxon) are used to dynamically evaluate the value of
- <parameter>refentry.manual.fallback.profile</parameter> at
- run-time. If you don't use xsltproc, Saxon, Xalan -- or some other
- XSLT engine that supports <function>dyn:evaluate</function> -- you
- must manually disable fallback processing by setting an empty value
- for the <parameter>refentry.manual.fallback.profile</parameter>
- parameter.</para>
- </important>
- </refsection>
- </refentry>
- <refentry version="5.0" id="refentry.source.fallback.profile">
- <refmeta>
- <refentrytitle>refentry.source.fallback.profile</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>refentry.source.fallback.profile</refname>
- <refpurpose>Specifies profile of "fallback" for refentry "source" data</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="refentry.source.fallback.profile.frag">
- <xsl:param name="refentry.source.fallback.profile">
- refmeta/refmiscinfo[not(@class = 'date')][1]/node()</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The value of
- <parameter>refentry.source.fallback.profile</parameter> is a string
- representing an XPath expression. It is evaluated at run-time and used
- only if no "source" data can be found by other means (that is, either
- using the <tag>refentry</tag> metadata-gathering logic "hard coded" in
- the stylesheets, or the value of the
- <parameter>refentry.source.name.profile</parameter> and
- <parameter>refentry.version.profile</parameter> parameters, if those
- are enabled).</para>
- <important>
- <para>Depending on which XSLT engine you run, either the EXSLT
- <function>dyn:evaluate</function> extension function (for xsltproc or
- Xalan) or <function>saxon:evaluate</function> extension function (for
- Saxon) are used to dynamically evaluate the value of
- <parameter>refentry.source.fallback.profile</parameter> at
- run-time. If you don't use xsltproc, Saxon, Xalan -- or some other
- XSLT engine that supports <function>dyn:evaluate</function> -- you
- must manually disable fallback processing by setting an empty value
- for the <parameter>refentry.source.fallback.profile</parameter>
- parameter.</para>
- </important>
- </refsection>
- </refentry>
- </reference><reference id="th" xml:base="../manpages/param.xml">
- <title>Page header/footer</title>
- <refentry version="5.0" id="man.th.extra1.suppress">
- <refmeta>
- <refentrytitle>man.th.extra1.suppress</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>man.th.extra1.suppress</refname>
- <refpurpose>Suppress extra1 part of header/footer?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="man.th.extra1.suppress.frag">
- <xsl:param name="man.th.extra1.suppress">0</xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If the value of <parameter>man.th.extra1.suppress</parameter> is
- non-zero, then the <literal>extra1</literal> part of the
- <literal>.TH</literal> title line header/footer is suppressed.</para>
- <para>The content of the <literal>extra1</literal> field is almost
- always displayed in the center footer of the page and is, universally,
- a date.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="man.th.extra2.suppress">
- <refmeta>
- <refentrytitle>man.th.extra2.suppress</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>man.th.extra2.suppress</refname>
- <refpurpose>Suppress extra2 part of header/footer?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="man.th.extra2.suppress.frag">
- <xsl:param name="man.th.extra2.suppress">0</xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If the value of <parameter>man.th.extra2.suppress</parameter> is
- non-zero, then the <literal>extra2</literal> part of the
- <literal>.TH</literal> title line header/footer is suppressed.</para>
- <para>The content of the <literal>extra2</literal> field is usually
- displayed in the left footer of the page and is typically "source"
- data, often in the form
- <replaceable>Name</replaceable> <replaceable>Version</replaceable>;
- for example, "GTK+ 1.2" (from the <literal>gtk-options(7)</literal>
- man page).</para>
- <note>
- <para>You can use the
- <parameter>refentry.source.name.suppress</parameter> and
- <parameter>refentry.version.suppress</parameter> parameters to
- independently suppress the <replaceable>Name</replaceable> and
- <replaceable>Version</replaceable> parts of the
- <literal>extra2</literal> field.</para>
- </note>
- </refsection>
- </refentry>
- <refentry version="5.0" id="man.th.extra3.suppress">
- <refmeta>
- <refentrytitle>man.th.extra3.suppress</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>man.th.extra3.suppress</refname>
- <refpurpose>Suppress extra3 part of header/footer?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="man.th.extra3.suppress.frag">
- <xsl:param name="man.th.extra3.suppress">0</xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If the value of <parameter>man.th.extra3.suppress</parameter> is
- non-zero, then the <literal>extra3</literal> part of the
- <literal>.TH</literal> title line header/footer is
- suppressed.</para>
- <para>The content of the <literal>extra3</literal> field is usually
- displayed in the middle header of the page and is typically a "manual
- name"; for example, "GTK+ User's Manual" (from the
- <literal>gtk-options(7)</literal> man page).</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="man.th.title.max.length">
- <refmeta>
- <refentrytitle>man.th.title.max.length</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">integer</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>man.th.title.max.length</refname>
- <refpurpose>Maximum length of title in header/footer</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="man.th.title.max.length.frag">
- <xsl:param name="man.th.title.max.length">20</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Specifies the maximum permitted length of the title part of the
- man-page <literal>.TH</literal> title line header/footer. If the title
- exceeds the maxiumum specified, it is truncated down to the maximum
- permitted length.</para>
- <refsection><info><title>Details</title></info>
-
- <para>Every man page generated using the DocBook stylesheets has a
- title line, specified using the <literal>TH</literal> roff
- macro. Within that title line, there is always, at a minimum, a title,
- followed by a section value (representing a man "section" -- usually
- just a number).</para>
- <para>The title and section are displayed, together, in the visible
- header of each page. Where in the header they are displayed depends on
- OS the man page is viewed on, and on what version of nroff/groff/man
- is used for viewing the page. But, at a minimum and across all
- systems, the title and section are displayed on the right-hand column
- of the header. On many systems -- those with a modern groff, including
- Linux systems -- they are displayed twice: both in the left and right
- columns of the header.</para>
- <para>So if the length of the title exceeds a certain percentage of
- the column width in which the page is viewed, the left and right
- titles can end up overlapping, making them unreadable, or breaking to
- another line, which doesn't look particularly good.</para>
- <para>So the stylesheets provide the
- <parameter>man.th.title.max.length</parameter> parameter as a means
- for truncating titles that exceed the maximum length that can be
- viewing properly in a page header.</para>
- <para>The default value is reasonable but somewhat arbitrary. If you
- have pages with long titles, you may want to experiment with changing
- the value in order to achieve the correct aesthetic results.</para>
- </refsection>
- </refsection>
- </refentry>
- <refentry version="5.0" id="man.th.extra2.max.length">
- <refmeta>
- <refentrytitle>man.th.extra2.max.length</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">integer</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>man.th.extra2.max.length</refname>
- <refpurpose>Maximum length of extra2 in header/footer</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="man.th.extra2.max.length.frag">
- <xsl:param name="man.th.extra2.max.length">30</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Specifies the maximum permitted length of the
- <literal>extra2</literal> part of the man-page part of the
- <literal>.TH</literal> title line header/footer. If the
- <literal>extra2</literal> content exceeds the maxiumum specified, it
- is truncated down to the maximum permitted length.</para>
- <para>The content of the <literal>extra2</literal> field is usually
- displayed in the left footer of the page and is typically "source"
- data indicating the software system or product that the item
- documented in the man page belongs to, often in the form
- <replaceable>Name</replaceable> <replaceable>Version</replaceable>;
- for example, "GTK+ 1.2" (from the <literal>gtk-options(7)</literal>
- man page).</para>
- <para>The default value for this parameter is reasonable but somewhat
- arbitrary. If you are processing pages with long "source" information,
- you may want to experiment with changing the value in order to achieve
- the correct aesthetic results.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="man.th.extra3.max.length">
- <refmeta>
- <refentrytitle>man.th.extra3.max.length</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">integer</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>man.th.extra3.max.length</refname>
- <refpurpose>Maximum length of extra3 in header/footer</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="man.th.extra3.max.length.frag">
- <xsl:param name="man.th.extra3.max.length">30</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Specifies the maximum permitted length of the
- <literal>extra3</literal> part of the man-page <literal>.TH</literal>
- title line header/footer. If the <literal>extra3</literal> content
- exceeds the maxiumum specified, it is truncated down to the maximum
- permitted length.</para>
- <para>The content of the <literal>extra3</literal> field is usually
- displayed in the middle header of the page and is typically a "manual
- name"; for example, "GTK+ User's Manual" (from the
- <literal>gtk-options(7)</literal> man page).</para>
- <para>The default value for this parameter is reasonable but somewhat
- arbitrary. If you are processing pages with long "manual names" -- or
- especially if you are processing pages that have both long "title"
- parts (command/function, etc. names) <emphasis>and</emphasis> long
- manual names -- you may want to experiment with changing the value in
- order to achieve the correct aesthetic results.</para>
- </refsection>
- </refentry>
- </reference><reference id="output" xml:base="../manpages/param.xml">
- <title>Output</title>
- <refentry version="5.0" id="man.output.manifest.enabled">
- <refmeta>
- <refentrytitle>man.output.manifest.enabled</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>man.output.manifest.enabled</refname>
- <refpurpose>Generate a manifest file?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="man.output.manifest.enabled.frag"><xsl:param name="man.output.manifest.enabled" select="0"></xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, a list of filenames for man pages generated by
- the stylesheet transformation is written to the file named by the
- <parameter>man.output.manifest.filename</parameter> parameter.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="man.output.manifest.filename">
- <refmeta>
- <refentrytitle>man.output.manifest.filename</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>man.output.manifest.filename</refname>
- <refpurpose>Name of manifest file</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="man.output.manifest.filename.frag"><xsl:param name="man.output.manifest.filename">MAN.MANIFEST</xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The <parameter>man.output.manifest.filename</parameter> parameter
- specifies the name of the file to which the manpages manifest file
- is written (if the value of the
- <parameter>man.output.manifest.enabled</parameter> parameter is
- non-zero).</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="man.output.in.separate.dir">
- <refmeta>
- <refentrytitle>man.output.in.separate.dir</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>man.output.in.separate.dir</refname>
- <refpurpose>Output man-page files in separate output directory?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="man.output.in.separate.dir.frag">
- <xsl:param name="man.output.in.separate.dir" select="0"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If the value of <literal>man.output.in.separate.dir</literal>
- parameter is non-zero, man-page files are output in a separate
- directory, specified by the <parameter>man.output.base.dir</parameter>
- parameter; otherwise, if the value of
- <literal>man.output.in.separate.dir</literal> is zero, man-page files
- are not output in a separate directory.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="man.output.lang.in.name.enabled">
- <refmeta>
- <refentrytitle>man.output.lang.in.name.enabled</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>man.output.lang.in.name.enabled</refname>
- <refpurpose>Include $LANG value in man-page filename/pathname?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="man.output.lang.in.name.enabled.frag">
- <xsl:param name="man.output.lang.in.name.enabled" select="0"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The <parameter>man.output.lang.in.name.enabled</parameter>
- parameter specifies whether a <literal>$lang</literal> value is
- included in man-page filenames and pathnames.</para>
- <para>If the value of
- <parameter>man.output.lang.in.name.enabled</parameter> is non-zero,
- man-page files are output with the <literal>$lang</literal> value
- included in their filenames or pathnames as follows;
- <itemizedlist>
- <listitem>
- <para>if <parameter>man.output.subdirs.enabled</parameter> is
- non-zero, each file is output to, e.g., a
- <filename>man/<replaceable>$lang</replaceable>/man8/foo.8</filename>
- pathname</para>
- </listitem>
- <listitem>
- <para>if <parameter>man.output.subdirs.enabled</parameter> is
- zero, each file is output with a
- <literal>foo.<replaceable>$lang</replaceable>.8</literal>
- filename</para>
- </listitem>
- </itemizedlist>
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="man.output.base.dir">
- <refmeta>
- <refentrytitle>man.output.base.dir</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">uri</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>man.output.base.dir</refname>
- <refpurpose>Specifies separate output directory</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="man.output.base.dir.frag"><xsl:param name="man.output.base.dir">man/</xsl:param></programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The <parameter>man.output.base.dir</parameter> parameter
- specifies the base directory into which man-page files are output. The
- <parameter>man.output.subdirs.enabled</parameter> parameter controls
- whether the files are output in subdirectories within the base
- directory.</para>
- <note>
- <para>The values of the <parameter>man.output.base.dir</parameter>
- and <parameter>man.output.subdirs.enabled</parameter> parameters are
- used only if the value of
- <parameter>man.output.in.separate.dir</parameter> parameter is
- non-zero. If the value of the
- <parameter>man.output.in.separate.dir</parameter> is zero, man-page
- files are not output in a separate directory.</para>
- </note>
- </refsection>
- </refentry>
- <refentry version="5.0" id="man.output.subdirs.enabled">
- <refmeta>
- <refentrytitle>man.output.subdirs.enabled</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>man.output.subdirs.enabled</refname>
- <refpurpose>Output man-page files in subdirectories within base output directory?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="man.output.subdirs.enabled.frag">
- <xsl:param name="man.output.subdirs.enabled" select="1"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The <parameter>man.output.subdirs.enabled</parameter> parameter
- controls whether man-pages files are output in subdirectories within
- the base directory specified by the directory specified by the
- <parameter>man.output.base.dir</parameter> parameter.</para>
- <note>
- <para>The values of the <parameter>man.output.base.dir</parameter>
- and <parameter>man.output.subdirs.enabled</parameter> parameters are
- used only if the value of
- <parameter>man.output.in.separate.dir</parameter> parameter is
- non-zero. If the value of the
- <parameter>man.output.in.separate.dir</parameter> is zero, man-page
- files are not output in a separate directory.</para>
- </note>
- </refsection>
- </refentry>
- <refentry version="5.0" id="man.output.quietly">
- <refmeta>
- <refentrytitle>man.output.quietly</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>man.output.quietly</refname>
- <refpurpose>Suppress filename messages emitted when generating output?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="man.output.quietly.frag">
- <xsl:param name="man.output.quietly" select="0"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If zero (the default), for each man-page file created, a message
- with the name of the file is emitted. If non-zero, the files are
- output "quietly" -- that is, the filename messages are
- suppressed.</para>
- <tip>
- <para>If you are processing a large amount of <tag>refentry</tag>
- content, you may be able to speed up processing significantly by
- setting a non-zero value for
- <parameter>man.output.quietly</parameter>.</para>
- </tip>
- </refsection>
- </refentry>
- <refentry version="5.0" id="man.output.encoding">
- <refmeta>
- <refentrytitle>man.output.encoding</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>man.output.encoding</refname>
- <refpurpose>Encoding used for man-page output</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="man.output.encoding.frag">
- <xsl:param name="man.output.encoding">UTF-8</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>This parameter specifies the encoding to use for files generated
- by the manpages stylesheet. Not all processors support specification
- of this parameter.</para>
- <important>
- <para>If the value of the <parameter>man.charmap.enabled</parameter>
- parameter is non-zero (the default), keeping the
- <parameter>man.output.encoding</parameter> parameter at its default
- value (<literal>UTF-8</literal>) or setting it to
- <literal>UTF-16</literal> <emphasis role="bold">does not cause your
- man pages to be output in raw UTF-8 or UTF-16</emphasis> -- because
- any Unicode characters for which matches are found in the enabled
- character map will be replaced with roff escape sequences before the
- final man-page files are generated.</para>
- <para>So if you want to generate "real" UTF-8 man pages, without any
- character substitution being performed on your content, you need to
- set <parameter>man.charmap.enabled</parameter> to zero (which will
- completely disable character-map processing). </para>
- <para>You may also need to set
- <parameter>man.charmap.enabled</parameter> to zero if you want to
- output man pages in an encoding other than <literal>UTF-8</literal>
- or <literal>UTF-16</literal>. Character-map processing is based on
- Unicode character values and may not work with other output
- encodings.</para>
- </important>
- </refsection>
- </refentry>
- <refentry version="5.0" id="man.output.better.ps.enabled">
- <refmeta>
- <refentrytitle>man.output.better.ps.enabled</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>man.output.better.ps.enabled</refname>
- <refpurpose>Enable enhanced print/PostScript output?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="man.output.better.ps.enabled.frag">
- <xsl:param name="man.output.better.ps.enabled">0</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If the value of the
- <parameter>man.output.better.ps.enabled</parameter> parameter is
- non-zero, certain markup is embedded in each generated man page
- such that PostScript output from the <command>man -Tps</command>
- command for that page will include a number of enhancements
- designed to improve the quality of that output.</para>
- <para>If <parameter>man.output.better.ps.enabled</parameter> is
- zero (the default), no such markup is embedded in generated man
- pages, and no enhancements are included in the PostScript
- output generated from those man pages by the <command>man
- -Tps</command> command.</para>
- <warning>
- <para>The enhancements provided by this parameter rely on
- features that are specific to groff (GNU troff) and that are
- not part of “classic” AT&T troff or any of its
- derivatives. Therefore, any man pages you generate with this
- parameter enabled will be readable only on systems on which
- the groff (GNU troff) program is installed, such as GNU/Linux
- systems. The pages <emphasis role="bold">will not not be
- readable on systems on with the classic troff (AT&T
- troff) command is installed</emphasis>.</para>
- </warning>
- <para>The value of this parameter only affects PostScript output
- generated from the <command>man</command> command. It has no
- effect on output generated using the FO backend.</para>
- <tip>
- <para>You can generate PostScript output for any man page by
- running the following command:</para>
- <programlisting> man <replaceable>FOO</replaceable> -Tps > <replaceable>FOO</replaceable>.ps</programlisting>
- <para>You can then generate PDF output by running the following
- command:</para>
- <programlisting> ps2pdf <replaceable>FOO</replaceable>.ps</programlisting>
- </tip>
- </refsection>
- </refentry>
- </reference><reference id="other" xml:base="../manpages/param.xml">
- <title>Other</title>
- <refentry version="5.0" id="man.table.footnotes.divider">
- <refmeta>
- <refentrytitle>man.table.footnotes.divider</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>man.table.footnotes.divider</refname>
- <refpurpose>Specifies divider string that appears before table footnotes</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="man.table.footnotes.divider.frag">
- <xsl:param name="man.table.footnotes.divider">----</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>In each table that contains footenotes, the string specified by
- the <parameter>man.table.footnotes.divider</parameter> parameter is
- output before the list of footnotes for the table.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="man.subheading.divider.enabled">
- <refmeta>
- <refentrytitle>man.subheading.divider.enabled</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>man.subheading.divider.enabled</refname>
- <refpurpose>Add divider comment to roff source before/after subheadings?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="man.subheading.divider.enabled.frag">
- <xsl:param name="man.subheading.divider.enabled">0</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If the value of the
- <parameter>man.subheading.divider.enabled</parameter> parameter is
- non-zero, the contents of the
- <parameter>man.subheading.divider</parameter> parameter are used to
- add a "divider" before and after subheadings in the roff
- output. <emphasis role="bold">The divider is not visisble in the
- rendered man page</emphasis>; it is added as a comment, in the source,
- simply for the purpose of increasing reability of the source.</para>
- <para>If <parameter>man.subheading.divider.enabled</parameter> is zero
- (the default), the subheading divider is suppressed.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="man.subheading.divider">
- <refmeta>
- <refentrytitle>man.subheading.divider</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>man.subheading.divider</refname>
- <refpurpose>Specifies string to use as divider comment before/after subheadings</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="man.subheading.divider.frag">
- <xsl:param name="man.subheading.divider">========================================================================</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If the value of the
- <parameter>man.subheading.divider.enabled</parameter> parameter is
- non-zero, the contents of the
- <parameter>man.subheading.divider</parameter> parameter are used to
- add a "divider" before and after subheadings in the roff
- output. <emphasis role="bold">The divider is not visisble in the
- rendered man page</emphasis>; it is added as a comment, in the source,
- simply for the purpose of increasing reability of the source.</para>
- <para>If <parameter>man.subheading.divider.enabled</parameter> is zero
- (the default), the subheading divider is suppressed.</para>
- </refsection>
- </refentry>
- </reference>
- </part>
- <part id="roundtrip">
- <?dbhtml dir="roundtrip"?>
- <?dbhtml filename="index.html"?>
- <title xml:base="../roundtrip/param.xml">Roundtrip Parameter Reference</title>
- <partintro id="roundtripintro">
-
- <para xml:base="../roundtrip/param.xml">This is reference documentation for all user-configurable
- parameters in the DocBook “Roundtrip” Stylesheets (for
- transforming DocBook to WordML, OpenDocument, and Apple Pages,
- and for converting from those formats back to DocBook).</para>
-
- </partintro>
-
-
- <refentry version="5.0" id="wordml.template" xml:base="../roundtrip/param.xml">
- <refmeta>
- <refentrytitle>wordml.template</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">uri</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>wordml.template</refname>
- <refpurpose>Specify the template WordML document</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="wordml.template.frag">
- <xsl:param name="wordml.template"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The <parameter>wordml.template</parameter> parameter specifies a WordML document to use as a template for the generated document. The template document is used to define the (extensive) headers for the generated document, in particular the paragraph and character styles that are used to format the various elements. Any content in the template document is ignored.</para>
- <para>A template document is used in order to allow maintenance of the paragraph and character styles to be done using Word itself, rather than these XSL stylesheets.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="pages.template" xml:base="../roundtrip/param.xml">
- <refmeta>
- <refentrytitle>pages.template</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">uri</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>pages.template</refname>
- <refpurpose>Specify the template Pages document</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="pages.template.frag">
- <xsl:param name="pages.template"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The <parameter>pages.template</parameter> parameter specifies a Pages (the Apple word processing application) document to use as a template for the generated document. The template document is used to define the (extensive) headers for the generated document, in particular the paragraph and character styles that are used to format the various elements. Any content in the template document is ignored.</para>
- <para>A template document is used in order to allow maintenance of the paragraph and character styles to be done using Pages itself, rather than these XSL stylesheets.</para>
- </refsection>
- </refentry>
-
- </part>
- <part id="slides"><title>Slides Parameter Reference</title>
- <?dbhtml dir="slides"?>
- <?dbhtml filename="index.html"?>
- <partintro id="slidesintro">
- <para>This is reference documentation for all
- user-configurable parameters in the DocBook XSL Slides
- stylesheets (for generating HTML and PDF slide
- presentations).</para>
- <note>
- <para>The Slides stylesheet for HTML output is a
- customization layer of the DocBook XSL HTML
- stylesheet; the Slides stylesheet for FO output is a
- customization layer of the DocBook XSL FO stylesheet.
- Therefore, in addition to the slides-specific
- parameters listed in this section, you can also use a
- number of <link xlink:href="../html">HTML stylesheet
- parameters</link> and <link xlink:href="../fo">FO
- stylesheet parameters</link> to control Slides
- output.</para>
- </note>
- </partintro>
- <reference id="xhtml" xml:base="../slides/xhtml/param.xml">
- <title>XHTML: General Params</title>
- <refentry version="5.0" id="disable.collapsible">
- <refmeta>
- <refentrytitle>disable.collapsible</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>disable.collapsible</refname>
- <refpurpose>Specifies whether collapsible rendering is enabled</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="disable.collapsible.frag">
- <xsl:param name="disable.collapsible">0</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>This parameter specifies whether elements marked as
- collapsible are generated as such in the output document.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="disable.incremental">
- <refmeta>
- <refentrytitle>disable.incremental</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>disable.incremental</refname>
- <refpurpose>Specifies whether incremental rendering is enabled</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="disable.incremental.frag">
- <xsl:param name="disable.incremental">0</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>This parameter specifies whether elements marked as
- incremental are generated as such in the output document.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="generate.copyright">
- <refmeta>
- <refentrytitle>generate.copyright</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>generate.copyright</refname>
- <refpurpose>Specifies whether copyright is generated</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="generate.copyright.frag">
- <xsl:param name="generate.copyright">1</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>This parameter specifies whether the copyright info is generated
- in the footer area.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="generate.foilgroup.numbered.toc">
- <refmeta>
- <refentrytitle>generate.foilgroup.numbered.toc</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>generate.foilgroup.numbered.toc</refname>
- <refpurpose>Specifies whether foilgroups have a numbered TOC</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="generate.foilgroup.numbered.toc.frag">
- <xsl:param name="generate.foilgroup.numbered.toc">1</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If TOC generation is turned on, this parameter specifies
- whether foilgroups have a numbered TOC. If disabled, TOC items
- will be bulleted, not numbered.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="generate.foilgroup.toc">
- <refmeta>
- <refentrytitle>generate.foilgroup.toc</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>generate.foilgroup.toc</refname>
- <refpurpose>Specifies whether foilgroups have a TOC</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="generate.foilgroup.toc.frag">
- <xsl:param name="generate.foilgroup.toc">1</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>This parameter specifies whether foilgroups will
- contain a table of contents of the included foils.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="generate.handoutnotes">
- <refmeta>
- <refentrytitle>generate.handoutnotes</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>generate.handoutnotes</refname>
- <refpurpose>Specifies whether handoutnotes are generated</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="generate.handoutnotes.frag">
- <xsl:param name="generate.handoutnotes">0</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>This parameter specifies whether handoutnotes shall
- be generated to the output.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="generate.pubdate">
- <refmeta>
- <refentrytitle>generate.pubdate</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>generate.pubdate</refname>
- <refpurpose>Specifies whether the pubdate is generated</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="generate.pubdate.frag">
- <xsl:param name="generate.pubdate">1</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>This parameter specifies whether the publication date is generated
- in the footer area.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="generate.speakernotes">
- <refmeta>
- <refentrytitle>generate.speakernotes</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>generate.speakernotes</refname>
- <refpurpose>Specifies whether speakernotes are generated</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="generate.speakernotes.frag">
- <xsl:param name="generate.speakernotes">0</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>This parameter specifies whether speakernotes shall
- be generated to the output.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="generate.titlepage">
- <refmeta>
- <refentrytitle>generate.titlepage</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>generate.titlepage</refname>
- <refpurpose>Specifies whether titlepage is generated</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="generate.titlepage.frag">
- <xsl:param name="generate.titlepage">1</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>This parameter specifies whether titlepage is generated
- for the presentation.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="mml.embedding.mode">
- <refmeta>
- <refentrytitle>mml.embedding.mode</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">list</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">inline</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">object</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">image</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">link</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">iframe</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">embed</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>mml.embedding.mode</refname>
- <refpurpose>Specifies how inline MathML is processed</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="mml.embedding.mode.frag">
- <xsl:param name="mml.embedding.mode">inline</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>This parameter specifies how inline MathML formulas
- are embedded into the output document.</para>
- <variablelist>
- <varlistentry>
- <term>inline</term>
- <listitem>
- <para>Content is copied over inline with its namespace.</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>object</term>
- <listitem>
- <para>Content is extracted into an externel file and referenced
- by an <markup>object</markup> element.</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>image</term>
- <listitem>
- <para>Content is extracted into an externel file and referenced
- by an <markup>img</markup> element.</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>link</term>
- <listitem>
- <para>Content is extracted into an externel file and referenced
- by an <markup>a</markup> element.</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>iframe</term>
- <listitem>
- <para>Content is extracted into an externel file and referenced
- by an <markup>iframe</markup> element.</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>embed</term>
- <listitem>
- <para>Content is extracted into an externel file and referenced
- by an <markup>embed</markup> element.</para>
- </listitem>
- </varlistentry>
- </variablelist>
- </refsection>
- </refentry>
- <refentry version="5.0" id="svg.embedding.mode">
- <refmeta>
- <refentrytitle>svg.embedding.mode</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">list</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">inline</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">object</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">image</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">link</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">iframe</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">embed</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>svg.embedding.mode</refname>
- <refpurpose>Specifies how inline SVG is processed</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="svg.embedding.mode.frag">
- <xsl:param name="svg.embedding.mode">object</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>This parameter specifies how inline SVG graphics
- are embedded into the output document.</para>
- <variablelist>
- <varlistentry>
- <term>inline</term>
- <listitem>
- <para>Content is copied over inline with its namespace.</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>object</term>
- <listitem>
- <para>Content is extracted into an externel file and referenced
- by an <markup>object</markup> element.</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>image</term>
- <listitem>
- <para>Content is extracted into an externel file and referenced
- by an <markup>img</markup> element.</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>link</term>
- <listitem>
- <para>Content is extracted into an externel file and referenced
- by an <markup>a</markup> element.</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>iframe</term>
- <listitem>
- <para>Content is extracted into an externel file and referenced
- by an <markup>iframe</markup> element.</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>embed</term>
- <listitem>
- <para>Content is extracted into an externel file and referenced
- by an <markup>embed</markup> element.</para>
- </listitem>
- </varlistentry>
- </variablelist>
- </refsection>
- </refentry>
- <refentry version="5.0" id="user.css">
- <refmeta>
- <refentrytitle>user.css</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">filename</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>user.css</refname>
- <refpurpose>Specifies the path to user-supplied CSS</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="user.css.frag">
- <xsl:param name="user.css">user.css</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>This parameter specifies the path from where the
- CSS styling is read. This file can be used to
- add additional styling to the slides.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="wrap.slidecontent">
- <refmeta>
- <refentrytitle>wrap.slidecontent</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>wrap.slidecontent</refname>
- <refpurpose>Specifies whether the foil content is wrapped into a div</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="wrap.slidecontent.frag">
- <xsl:param name="wrap.slidecontent">0</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>This parameter specifies whether the foil content is wrapped into
- a div so that additional styling can be applied.</para>
- </refsection>
- </refentry>
- </reference><reference id="s5" xml:base="../slides/xhtml/param.xml">
- <title>XHTML: S5 Params</title>
- <refentry version="5.0" id="s5.controls">
- <refmeta>
- <refentrytitle>s5.controls</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>s5.controls</refname>
- <refpurpose>Specifies whether S5 controls are visible</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="s5.controls.frag">
- <xsl:param name="s5.controls">0</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>This parameter specifies whether S5 navigation controls are
- visible by default.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="s5.defaultview">
- <refmeta>
- <refentrytitle>s5.defaultview</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">list</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">slideshow</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">outline</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>s5.defaultview</refname>
- <refpurpose>Specifies the default S5 view</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="s5.defaultview.frag">
- <xsl:param name="s5.defaultview">slideshow</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>This parameter specifies, which is the default view
- in the generated S5 presentation.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="s5.opera.css">
- <refmeta>
- <refentrytitle>s5.opera.css</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">filename</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>s5.opera.css</refname>
- <refpurpose>Specifies the name of the S5 Opera-specific CSS file</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="s5.opera.css.frag">
- <xsl:param name="s5.opera.css">opera.css</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>This parameter specifies the name of the S5 Opera-specific
- CSS file.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="s5.outline.css">
- <refmeta>
- <refentrytitle>s5.outline.css</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">filename</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>s5.outline.css</refname>
- <refpurpose>Specifies the name of the S5 outline CSS file</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="s5.outline.css.frag">
- <xsl:param name="s5.outline.css">outline.css</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>This parameter specifies the name of the S5 outline CSS file.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="s5.path.prefix">
- <refmeta>
- <refentrytitle>s5.path.prefix</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">uri</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>s5.path.prefix</refname>
- <refpurpose>Specifies the path to S5 files</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="s5.path.prefix.frag">
- <xsl:param name="s5.path.prefix">files/s5/ui/default/</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>This parameter specifies the path where S5 CSS and
- JavaScript files reside. All the CSS and JavaScript paths
- will be generated relative to this directory.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="s5.print.css">
- <refmeta>
- <refentrytitle>s5.print.css</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">filename</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>s5.print.css</refname>
- <refpurpose>Specifies the name of the S5 print CSS file</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="s5.print.css.frag">
- <xsl:param name="s5.print.css">print.css</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>This parameter specifies the name of the S5 print CSS file.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="s5.slides.css">
- <refmeta>
- <refentrytitle>s5.slides.css</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">filename</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>s5.slides.css</refname>
- <refpurpose>Specifies the name of the S5 slides CSS file</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="s5.slides.css.frag">
- <xsl:param name="s5.slides.css">slides.css</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>This parameter specifies the name of the S5 slides CSS file.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="s5.slides.js">
- <refmeta>
- <refentrytitle>s5.slides.js</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">filename</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>s5.slides.js</refname>
- <refpurpose>Specifies the name of the S5 slides JavaScript file</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="s5.slides.js.frag">
- <xsl:param name="s5.slides.js">slides.js</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>This parameter specifies the name of the S5 slides JavaScript
- file.</para>
- </refsection>
- </refentry>
- </reference><reference id="slidy" xml:base="../slides/xhtml/param.xml">
- <title>XHTML: Slidy Params</title>
- <refentry version="5.0" id="slidy.duration">
- <refmeta>
- <refentrytitle>slidy.duration</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">integer</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>slidy.duration</refname>
- <refpurpose>Specifies the duration of the presentation</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="slidy.duration.frag">
- <xsl:param name="slidy.duration">0</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>This parameter specifies the duration of the presentation
- in minutes. A JavaScript clock will count down to help the
- speaker in not running out of time. Can be disabled if set to 0.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="slidy.path.prefix">
- <refmeta>
- <refentrytitle>slidy.path.prefix</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">uri</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>slidy.path.prefix</refname>
- <refpurpose>Specifies the path to Slidy files</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="slidy.path.prefix.frag">
- <xsl:param name="slidy.path.prefix">files/slidy/</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>This parameter specifies the path where Slidy CSS and
- JavaScript files reside. All the CSS and JavaScript paths
- will be generated relative to this directory.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="slidy.slidy.css">
- <refmeta>
- <refentrytitle>slidy.slidy.css</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">filename</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>slidy.slidy.css</refname>
- <refpurpose>Specifies the name of the main Slidy CSS file</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="slidy.slidy.css.frag">
- <xsl:param name="slidy.slidy.css">styles/slidy.css</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>This parameter specifies the name of the main Slidy CSS file.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="slidy.slidy.js">
- <refmeta>
- <refentrytitle>slidy.slidy.js</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">filename</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>slidy.slidy.js</refname>
- <refpurpose>Specifies the name of the Slidy JavaScript file</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="slidy.slidy.js.frag">
- <xsl:param name="slidy.slidy.js">scripts/slidy.js</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>This parameter specifies the name of the Slidy JavaScript file.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="slidy.user.css">
- <refmeta>
- <refentrytitle>slidy.user.css</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">filename</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>slidy.user.css</refname>
- <refpurpose>Specifies the name of the Slidy user CSS file</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="slidy.user.css.frag">
- <xsl:param name="slidy.user.css">styles/w3c-blue.css</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>This parameter specifies the name of the Slidy user CSS file.</para>
- </refsection>
- </refentry>
- </reference>
- <reference id="fo" xml:base="../slides/fo/param.xml">
- <title>FO: General Params</title>
- <refentry version="5.0" id="foil.title.master">
- <refmeta>
- <refentrytitle>foil.title.master</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">number</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>foil.title.master</refname>
- <refpurpose>Specifies unitless font size to use for foil titles</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="foil.title.master.frag">
- <xsl:param name="foil.title.master">36</xsl:param>
- <!-- Inconsistant use of point size? -->
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Specifies a unitless font size to use for foil titles; used in
- combination with the <parameter>foil.title.size</parameter>
- parameter.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="foil.title.size">
- <refmeta>
- <refentrytitle>foil.title.size</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">length</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>foil.title.size</refname>
- <refpurpose>Specifies font size to use for foil titles, including units</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="foil.title.size.frag">
- <xsl:param name="foil.title.size">
- <xsl:value-of select="$foil.title.master"></xsl:value-of><xsl:text>pt</xsl:text>
- </xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>This parameter combines the value of the
- <parameter>foil.title.master</parameter> parameter with a unit
- specification. The default unit is <literal>pt</literal>
- (points).</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="generate.copyright">
- <refmeta>
- <refentrytitle>generate.copyright</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>generate.copyright</refname>
- <refpurpose>Specifies whether copyright is generated</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="generate.copyright.frag">
- <xsl:param name="generate.copyright">1</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>This parameter specifies whether the copyright info is generated
- in the footer area.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="generate.foilgroup.numbered.toc">
- <refmeta>
- <refentrytitle>generate.foilgroup.numbered.toc</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>generate.foilgroup.numbered.toc</refname>
- <refpurpose>Specifies whether foilgroups have a numbered TOC</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="generate.foilgroup.numbered.toc.frag">
- <xsl:param name="generate.foilgroup.numbered.toc">1</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If TOC generation is turned on, this parameter specifies
- whether foilgroups have a numbered TOC. If disabled, TOC items
- will be bulleted, not numbered.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="generate.foilgroup.toc">
- <refmeta>
- <refentrytitle>generate.foilgroup.toc</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>generate.foilgroup.toc</refname>
- <refpurpose>Specifies whether foilgroups have a TOC</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="generate.foilgroup.toc.frag">
- <xsl:param name="generate.foilgroup.toc">1</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>This parameter specifies whether foilgroups will
- contain a table of contents of the included foils.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="generate.handoutnotes">
- <refmeta>
- <refentrytitle>generate.handoutnotes</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>generate.handoutnotes</refname>
- <refpurpose>Specifies whether handoutnotes are generated</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="generate.handoutnotes.frag">
- <xsl:param name="generate.handoutnotes">0</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>This parameter specifies whether handoutnotes shall
- be generated to the output.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="generate.page.number">
- <refmeta>
- <refentrytitle>generate.page.number</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">list</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">full<alt>1/2</alt></refmiscinfo>
- <refmiscinfo class="other" otherclass="value">compact<alt>1</alt></refmiscinfo>
- <refmiscinfo class="other" otherclass="value">no</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>generate.page.number</refname>
- <refpurpose>Specifies whether page numbers are generated</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="generate.page.number.frag">
- <xsl:param name="generate.page.number">compact</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>This parameter specifies how page numbers are generated in
- the footer area.</para>
- <variablelist>
- <varlistentry>
- <term>no</term>
- <listitem>
- <para>No page numbers generated at all.</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>full</term>
- <listitem>
- <para>Current page number, a slash and the total number of pages</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>compact</term>
- <listitem>
- <para>Current page number only</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>no</term>
- <listitem>
- <para>No page numbers generated at all.</para>
- </listitem>
- </varlistentry>
- </variablelist>
- </refsection>
- </refentry>
- <refentry version="5.0" id="generate.pubdate">
- <refmeta>
- <refentrytitle>generate.pubdate</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>generate.pubdate</refname>
- <refpurpose>Specifies whether the pubdate is generated</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="generate.pubdate.frag">
- <xsl:param name="generate.pubdate">1</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>This parameter specifies whether the publication date is generated
- in the footer area.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="generate.speakernotes">
- <refmeta>
- <refentrytitle>generate.speakernotes</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>generate.speakernotes</refname>
- <refpurpose>Specifies whether speakernotes are generated</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="generate.speakernotes.frag">
- <xsl:param name="generate.speakernotes">0</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>This parameter specifies whether speakernotes shall
- be generated to the output.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="generate.titlepage">
- <refmeta>
- <refentrytitle>generate.titlepage</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>generate.titlepage</refname>
- <refpurpose>Specifies whether titlepage is generated</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="generate.titlepage.frag">
- <xsl:param name="generate.titlepage">1</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>This parameter specifies whether titlepage is generated
- for the presentation.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="mml.embedding.mode">
- <refmeta>
- <refentrytitle>mml.embedding.mode</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">list</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">inline</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">external-graphic</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">instream-foreign-object</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>mml.embedding.mode</refname>
- <refpurpose>Specifies how inline MathML is processed</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="mml.embedding.mode.fo.frag">
- <xsl:param name="mml.embedding.mode">external-graphic</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>This parameter specifies how inline MathML formulas
- are embedded into the output document.</para>
- <variablelist>
- <varlistentry>
- <term>inline</term>
- <listitem>
- <para>Content is copied over inline with its namespace.</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>external-graphic</term>
- <listitem>
- <para>Content is extracted into an externel file and referenced
- by an <markup>external-graphic</markup> element.</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>instream-foreign-object</term>
- <listitem>
- <para>Content is copied over with its namespace inside an
- <markup>instream-foreign-object</markup> element.</para>
- </listitem>
- </varlistentry>
- </variablelist>
- </refsection>
- </refentry>
- <refentry version="5.0" id="slide.font.family">
- <refmeta>
- <refentrytitle>slide.font.family</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">list</refmiscinfo>
- <refmiscinfo class="other" otherclass="list-type">open</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">serif</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">sans-serif</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">monospace</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>slide.font.family</refname>
- <refpurpose>Specifies font family to use for slide bodies</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="slide.font.family.frag">
- <xsl:param name="slide.font.family">Helvetica</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Specifies the font family to use for slides bodies.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="slide.title.font.family">
- <refmeta>
- <refentrytitle>slide.title.font.family</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">list</refmiscinfo>
- <refmiscinfo class="other" otherclass="list-type">open</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">serif</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">sans-serif</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">monospace</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>slide.title.font.family</refname>
- <refpurpose>Specifies font family to use for slide titles</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="slide.title.font.family.frag">
- <xsl:param name="slide.title.font.family">Helvetica</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Specifies the font family to use for slides titles.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="svg.embedding.mode">
- <refmeta>
- <refentrytitle>svg.embedding.mode</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">list</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">external-graphic</refmiscinfo>
- <refmiscinfo class="other" otherclass="value">instream-foreign-object</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>svg.embedding.mode</refname>
- <refpurpose>Specifies how inline SVG is processed</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="svg.embedding.mode.fo.frag">
- <xsl:param name="svg.embedding.mode">instream-foreign-object</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>This parameter specifies how inline SVG graphics
- are embedded into the output document.</para>
- <variablelist>
- <varlistentry>
- <term>inline</term>
- <listitem>
- <para>Content is copied over inline with its namespace.</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>external-graphic</term>
- <listitem>
- <para>Content is extracted into an externel file and referenced
- by an <markup>external-graphic</markup> element.</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>instream-foreign-object</term>
- <listitem>
- <para>Content is copied over with its namespace inside an
- <markup>instream-foreign-object</markup> element.</para>
- </listitem>
- </varlistentry>
- </variablelist>
- </refsection>
- </refentry>
- </reference><reference id="propsets" xml:base="../slides/fo/param.xml">
- <title>FO: Property Sets</title>
- <refentry version="5.0" id="foil.header.properties">
- <refmeta>
- <refentrytitle>foil.header.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>foil.header.properties</refname>
- <refpurpose>Specifies properties for foil header area</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="foil.header.properties.frag">
- <xsl:attribute-set name="foil.header.properties">
- <xsl:attribute name="background-color">white</xsl:attribute>
- <xsl:attribute name="color">black</xsl:attribute>
- <xsl:attribute name="font-weight">bold</xsl:attribute>
- <xsl:attribute name="text-align">center</xsl:attribute>
- <xsl:attribute name="font-family">
- <xsl:value-of select="$slide.title.font.family"></xsl:value-of>
- </xsl:attribute>
- <xsl:attribute name="space-after">12pt</xsl:attribute>
- </xsl:attribute-set>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>This parameter specifies properties for the foil header area.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="foil.master.properties">
- <refmeta>
- <refentrytitle>foil.master.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>foil.master.properties</refname>
- <refpurpose>Specifies properties for foil master</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="foil.master.properties.frag">
- <xsl:attribute-set name="foil.master.properties">
- <xsl:attribute name="page-width">
- <xsl:value-of select="$page.width"></xsl:value-of>
- </xsl:attribute>
- <xsl:attribute name="page-height">
- <xsl:value-of select="$page.height"></xsl:value-of>
- </xsl:attribute>
- <xsl:attribute name="margin-top">
- <xsl:value-of select="$page.margin.top"></xsl:value-of>
- </xsl:attribute>
- <xsl:attribute name="margin-bottom">
- <xsl:value-of select="$page.margin.bottom"></xsl:value-of>
- </xsl:attribute>
- <xsl:attribute name="margin-left">
- <xsl:value-of select="$page.margin.inner"></xsl:value-of>
- </xsl:attribute>
- <xsl:attribute name="margin-right">
- <xsl:value-of select="$page.margin.outer"></xsl:value-of>
- </xsl:attribute>
- </xsl:attribute-set>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>This parameter specifies properties for the foil master.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="foil.page-sequence.properties">
- <refmeta>
- <refentrytitle>foil.page-sequence.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>foil.page-sequence.properties</refname>
- <refpurpose>Specifies properties for foil page-sequence</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="foil.page-sequence.properties.frag">
- <xsl:attribute-set name="foil.page-sequence.properties">
- <xsl:attribute name="hyphenate">
- <xsl:value-of select="$hyphenate"></xsl:value-of>
- </xsl:attribute>
- </xsl:attribute-set>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>This parameter specifies properties for foil page-sequence.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="foil.properties">
- <refmeta>
- <refentrytitle>foil.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>foil.properties</refname>
- <refpurpose>Specifies properties for all foils</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="foil.properties.frag">
- <xsl:attribute-set name="foil.properties">
- <xsl:attribute name="font-family">
- <xsl:value-of select="$slide.font.family"></xsl:value-of>
- </xsl:attribute>
- <xsl:attribute name="margin-{$direction.align.start}">1in</xsl:attribute>
- <xsl:attribute name="margin-{$direction.align.end}">1in</xsl:attribute>
- <xsl:attribute name="font-size">
- <xsl:value-of select="$body.font.size"></xsl:value-of>
- </xsl:attribute>
- </xsl:attribute-set>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>This parameter specifies properties that are applied to all foils.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="foil.region-after.properties">
- <refmeta>
- <refentrytitle>foil.region-after.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>foil.region-after.properties</refname>
- <refpurpose>Specifies properties for foil region-after</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="foil.region-after.properties.frag">
- <xsl:attribute-set name="foil.region-after.properties">
- <xsl:attribute name="extent">
- <xsl:value-of select="$region.after.extent"></xsl:value-of>
- </xsl:attribute>
- <xsl:attribute name="display-align">after</xsl:attribute>
- </xsl:attribute-set>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>This parameter specifies properties for the foil region-after.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="foil.region-before.properties">
- <refmeta>
- <refentrytitle>foil.region-before.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>foil.region-before.properties</refname>
- <refpurpose>Specifies properties for foil region-before</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="foil.region-before.properties.frag">
- <xsl:attribute-set name="foil.region-before.properties">
- <xsl:attribute name="extent">
- <xsl:value-of select="$region.before.extent"></xsl:value-of>
- </xsl:attribute>
- <xsl:attribute name="display-align">
- <xsl:value-of select="'before'"></xsl:value-of>
- </xsl:attribute>
- </xsl:attribute-set>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>This parameter specifies properties for the foil region-before.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="foil.region-body.properties">
- <refmeta>
- <refentrytitle>foil.region-body.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>foil.region-body.properties</refname>
- <refpurpose>Specifies properties for foil region-body</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="foil.region-body.properties.frag">
- <xsl:attribute-set name="foil.region-body.properties">
- <xsl:attribute name="margin-bottom">
- <xsl:value-of select="$body.margin.bottom"></xsl:value-of>
- </xsl:attribute>
- <xsl:attribute name="margin-top">
- <xsl:value-of select="$body.margin.top"></xsl:value-of>
- </xsl:attribute>
- <xsl:attribute name="column-count">
- <xsl:value-of select="$column.count.body"></xsl:value-of>
- </xsl:attribute>
- </xsl:attribute-set>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>This parameter specifies properties for the foil region-body.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="foil.subtitle.properties">
- <refmeta>
- <refentrytitle>foil.subtitle.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>foil.subtitle.properties</refname>
- <refpurpose>Specifies properties for all foil subtitles</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="foil.subtitle.properties.frag">
- <xsl:attribute-set name="foil.subtitle.properties">
- <xsl:attribute name="font-family">
- <xsl:value-of select="$slide.title.font.family"></xsl:value-of>
- </xsl:attribute>
- <xsl:attribute name="text-align">center</xsl:attribute>
- <xsl:attribute name="font-size">
- <xsl:value-of select="$foil.title.master * 0.8"></xsl:value-of><xsl:text>pt</xsl:text>
- </xsl:attribute>
- <xsl:attribute name="space-after">12pt</xsl:attribute>
- </xsl:attribute-set>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>This parameter specifies properties that are applied to all foil subtitles.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="foil.title.properties">
- <refmeta>
- <refentrytitle>foil.title.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>foil.title.properties</refname>
- <refpurpose>Specifies properties for foil title</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="foil.title.properties.frag">
- <xsl:attribute-set name="foil.title.properties">
- <xsl:attribute name="font-size">
- <xsl:value-of select="$foil.title.size"></xsl:value-of>
- </xsl:attribute>
- </xsl:attribute-set>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>This parameter specifies properties for the foil title.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="foil.footer.properties">
- <refmeta>
- <refentrytitle>foil.footer.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>foil.footer.properties</refname>
- <refpurpose>Specifies properties for slides footer</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="foil.footer.properties.frag">
- <xsl:attribute-set name="foil.footer.properties"></xsl:attribute-set>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>This parameter specifies properties for the foil footer.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="handoutnotes.properties">
- <refmeta>
- <refentrytitle>handoutnotes.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>footnote.properties</refname>
- <refpurpose>Properties applied to handoutnotes
- </refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="handoutnotes.properties.frag">
- <xsl:attribute-set name="handoutnotes.properties"></xsl:attribute-set>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>This attribute set is applied to handoutnotes.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="slides.properties">
- <refmeta>
- <refentrytitle>slides.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>slides.properties</refname>
- <refpurpose>Specifies properties for all slides</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="slides.properties.frag">
- <xsl:attribute-set name="slides.properties">
- <xsl:attribute name="font-family">
- <xsl:value-of select="$slide.font.family"></xsl:value-of>
- </xsl:attribute>
- </xsl:attribute-set>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>This parameter specifies properties that are applied to all slides.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="slides.titlepage.master.properties">
- <refmeta>
- <refentrytitle>slides.titlepage.master.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>slides.titlepage.master.properties</refname>
- <refpurpose>Specifies properties for slides titlepage master</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="slides.titlepage.master.properties.frag">
- <xsl:attribute-set name="slides.titlepage.master.properties">
- <xsl:attribute name="page-width">
- <xsl:value-of select="$page.width"></xsl:value-of>
- </xsl:attribute>
- <xsl:attribute name="page-height">
- <xsl:value-of select="$page.height"></xsl:value-of>
- </xsl:attribute>
- <xsl:attribute name="margin-top">
- <xsl:value-of select="$page.margin.top"></xsl:value-of>
- </xsl:attribute>
- <xsl:attribute name="margin-bottom">
- <xsl:value-of select="$page.margin.bottom"></xsl:value-of>
- </xsl:attribute>
- <xsl:attribute name="margin-left">
- <xsl:value-of select="$page.margin.inner"></xsl:value-of>
- </xsl:attribute>
- <xsl:attribute name="margin-right">
- <xsl:value-of select="$page.margin.outer"></xsl:value-of>
- </xsl:attribute>
- </xsl:attribute-set>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>This parameter specifies properties for the slides titlepage master.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="slides.titlepage.region-body.properties">
- <refmeta>
- <refentrytitle>slides.titlepage.region-body.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>slides.titlepage.region-body.properties</refname>
- <refpurpose>Specifies properties for slides titlepage region-body</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="slides.titlepage.region-body.properties.frag">
- <xsl:attribute-set name="slides.titlepage.region-body.properties">
- <xsl:attribute name="margin-bottom">0pt</xsl:attribute>
- <xsl:attribute name="margin-top">0pt</xsl:attribute>
- <xsl:attribute name="column-count">
- <xsl:value-of select="$column.count.body"></xsl:value-of>
- </xsl:attribute>
- </xsl:attribute-set>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>This parameter specifies properties for the slides titlepage region-body.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="slides.titlepage.corpauthor.properties">
- <refmeta>
- <refentrytitle>slides.titlepage.corpauthor.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>slides.titlepage.corpauthor.properties</refname>
- <refpurpose>Specifies properties for slides titlepage title</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="slides.titlepage.corpauthor.properties.frag">
- <xsl:attribute-set name="slides.titlepage.corpauthor.properties">
- <xsl:attribute name="text-align">center</xsl:attribute>
- <xsl:attribute name="space-after">1em</xsl:attribute>
- <xsl:attribute name="font-size">20.736pt</xsl:attribute>
- </xsl:attribute-set>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>This parameter specifies properties for the corpauthor on the default
- titlepage.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="slides.titlepage.title.properties">
- <refmeta>
- <refentrytitle>slides.titlepage.title.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>slides.titlepage.title.properties</refname>
- <refpurpose>Specifies properties for slides titlepage title</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="slides.titlepage.title.properties.frag">
- <xsl:attribute-set name="slides.titlepage.title.properties">
- <xsl:attribute name="text-align">center</xsl:attribute>
- <xsl:attribute name="space-after">1em</xsl:attribute>
- <xsl:attribute name="padding-top">1.5in</xsl:attribute>
- <xsl:attribute name="keep-with-next">always</xsl:attribute>
- <xsl:attribute name="font-size">
- <xsl:value-of select="$foil.title.size"></xsl:value-of>
- </xsl:attribute>
- <xsl:attribute name="font-weight">bold</xsl:attribute>
- <xsl:attribute name="font-family">
- <xsl:value-of select="$slide.title.font.family"></xsl:value-of>
- </xsl:attribute>
- </xsl:attribute-set>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>This parameter specifies properties for the title on the default
- titlepage.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="slides.titlepage.subtitle.properties">
- <refmeta>
- <refentrytitle>slides.titlepage.subtitle.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>slides.titlepage.subtitle.properties</refname>
- <refpurpose>Specifies properties for slides titlepage title</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="slides.titlepage.subtitle.properties.frag">
- <xsl:attribute-set name="slides.titlepage.subtitle.properties">
- <xsl:attribute name="text-align">center</xsl:attribute>
- <xsl:attribute name="space-after">1em</xsl:attribute>
- <xsl:attribute name="font-family">
- <xsl:value-of select="$slide.title.font.family"></xsl:value-of>
- </xsl:attribute>
- </xsl:attribute-set>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>This parameter specifies properties for the subtitle on the default
- titlepage.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="slides.titlepage.author.properties">
- <refmeta>
- <refentrytitle>slides.titlepage.author.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>slides.titlepage.author.properties</refname>
- <refpurpose>Specifies properties for slides titlepage title</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="slides.titlepage.author.properties.frag">
- <xsl:attribute-set name="slides.titlepage.author.properties">
- <xsl:attribute name="text-align">center</xsl:attribute>
- <xsl:attribute name="space-after">1em</xsl:attribute>
- <xsl:attribute name="font-size">20.736pt</xsl:attribute>
- </xsl:attribute-set>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>This parameter specifies properties for the author on the default
- titlepage.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="slides.titlepage.pubdate.properties">
- <refmeta>
- <refentrytitle>slides.titlepage.pubdate.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>slides.titlepage.pubdate.properties</refname>
- <refpurpose>Specifies properties for slides titlepage title</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="slides.titlepage.pubdate.properties.frag">
- <xsl:attribute-set name="slides.titlepage.pubdate.properties">
- <xsl:attribute name="text-align">center</xsl:attribute>
- <xsl:attribute name="space-after">1em</xsl:attribute>
- <xsl:attribute name="font-size">17.28pt</xsl:attribute>
- </xsl:attribute-set>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>This parameter specifies properties for the pubdate on the default
- titlepage.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="slides.titlepage.authorgroup.properties">
- <refmeta>
- <refentrytitle>slides.titlepage.authorgroup.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>slides.titlepage.authorgroup.properties</refname>
- <refpurpose>Specifies properties for slides titlepage title</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="slides.titlepage.authorgroup.properties.frag">
- <xsl:attribute-set name="slides.titlepage.authorgroup.properties"></xsl:attribute-set>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>This parameter specifies properties for the authorgroup on the default
- titlepage.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="speakernotes.properties">
- <refmeta>
- <refentrytitle>speakernotes.properties</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>footnote.properties</refname>
- <refpurpose>Properties applied to speakernotes
- </refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="speakernotes.properties.frag">
- <xsl:attribute-set name="speakernotes.properties"></xsl:attribute-set>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>This attribute set is applied to speakernotes.</para>
- </refsection>
- </refentry>
- </reference>
- </part>
- <part id="website">
- <?dbhtml dir="website"?>
- <?dbhtml filename="index.html"?>
- <title xml:base="../website/param.xml">Website Parameter Reference</title>
- <partintro id="websiteintro">
-
- <para xml:base="../website/param.xml">This is reference documentation for all user-configurable
- parameters in the DocBook XSL Website stylesheet (for
- generating websites from DocBook XML sources). Note that the
- Website stylesheet is a customization layer of the DocBook XSL
- HTML stylesheet. Therefore, in addition to the
- Website-specific parameters listed in this section, you can
- also use a number of <link xlink:href="../html/">HTML
- stylesheet parameters</link> to control Website output.</para>
- </partintro>
- <reference id="general" xml:base="../website/param.xml">
- <title>General Parameters</title>
- <refentry version="5.0" id="autolayout-file">
- <refmeta>
- <refentrytitle>autolayout-file</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">filename</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>autolayout-file</refname>
- <refpurpose>Identifies the autolayout.xml file</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="autolayout-file.frag">
- <xsl:param name="autolayout-file">autolayout.xml</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>When the source pages are spread over several directories, this
- parameter can be set (for example, from the command line of a batch-mode
- XSLT processor) to indicate the location of the autolayout.xml file.</para>
- <para>FIXME: for browser-based use, there needs to be a PI for this...
- </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="body.attributes">
- <refmeta>
- <refentrytitle>body.attributes</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>body.attributes</refname>
- <refpurpose>DEPRECATED</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="body.attributes.frag">
- <xsl:attribute-set name="body.attributes">
- <xsl:attribute name="bgcolor">white</xsl:attribute>
- <xsl:attribute name="text">black</xsl:attribute>
- <xsl:attribute name="link">#0000FF</xsl:attribute>
- <xsl:attribute name="vlink">#840084</xsl:attribute>
- <xsl:attribute name="alink">#0000FF</xsl:attribute>
- </xsl:attribute-set>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>DEPRECATED</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="currentpage.marker">
- <refmeta>
- <refentrytitle>currentpage.marker</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>currentpage.marker</refname>
- <refpurpose>The text symbol used to mark the current page</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="currentpage.marker.frag">
- <xsl:param name="currentpage.marker">@</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>Character to use as identifying the current page in </para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="dry-run">
- <refmeta>
- <refentrytitle>dry-run</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>dry-run</refname>
- <refpurpose>Indicates that no files should be produced</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="dry-run.frag">
- <xsl:param name="dry-run" select="0"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>When using the XSLT processor to manage dependencies and construct
- the website, this parameter can be used to suppress the generation of
- new and updated files. Effectively, this allows you to see what the
- stylesheet would do, without actually making any changes.</para>
- <para>Only applies when XSLT-based chunking is being used.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="feedback.href">
- <refmeta>
- <refentrytitle>feedback.href</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">uri</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>feedback.href</refname>
- <refpurpose>HREF (URI) for feedback link</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="feedback.href.frag">
- <xsl:param name="feedback.href"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The <varname>feedback.href</varname> value is used as the value
- for the <tag class="attribute">href</tag> attribute on the feedback
- link. If <varname>feedback.href</varname>
- is empty, no feedback link is generated.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="feedback.link.text">
- <refmeta>
- <refentrytitle>feedback.link.text</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>feedback.link.text</refname>
- <refpurpose>The text of the feedback link</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="feedback.link.text.frag">
- <xsl:param name="feedback.link.text">Feedback</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The contents of this variable is used as the text of the feedback
- link if <varname>feedback.href</varname> is not empty. If
- <varname>feedback.href</varname> is empty, no feedback link is
- generated.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="feedback.with.ids">
- <refmeta>
- <refentrytitle>feedback.with.ids</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>feedback.with.ids</refname>
- <refpurpose>Toggle use of IDs in feedback</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="feedback.with.ids.frag">
- <xsl:param name="feedback.with.ids" select="0"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If <varname>feedback.with.ids</varname> is non-zero, the ID of the
- current page will be added to the feedback link. This can be used, for
- example, if the <varname>feedback.href</varname> is a CGI script.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="filename-prefix">
- <refmeta>
- <refentrytitle>filename-prefix</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>filename-prefix</refname>
- <refpurpose>Prefix added to all filenames</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="filename-prefix.frag">
- <xsl:param name="filename-prefix"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>To produce the <quote>text-only</quote> (that is, non-tabular) layout
- of a website simultaneously with the tabular layout, the filenames have to
- be distinguished. That's accomplished by adding the
- <varname>filename-prefix</varname> to the front of each filename.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="footer.hr">
- <refmeta>
- <refentrytitle>footer.hr</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>footer.hr</refname>
- <refpurpose>Toggle <HR> before footer</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="footer.hr.frag">
- <xsl:param name="footer.hr" select="1"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, an <HR> is generated at the bottom of each web page,
- before the footer.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="header.hr">
- <refmeta>
- <refentrytitle>header.hr</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>header.hr</refname>
- <refpurpose>Toggle <HR> after header</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="header.hr.frag">
- <xsl:param name="header.hr" select="1"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, an <HR> is generated at the bottom of each web page,
- before the footer.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="output-root">
- <refmeta>
- <refentrytitle>output-root</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">filename</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>output-root</refname>
- <refpurpose>Specifies the root directory of the website</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="output-root.frag">
- <xsl:param name="output-root">.</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>When using the XSLT processor to manage dependencies and construct
- the website, this parameter can be used to indicate the root directory
- where the resulting pages are placed.</para>
- <para>Only applies when XSLT-based chunking is being used.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="rebuild-all">
- <refmeta>
- <refentrytitle>rebuild-all</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>rebuild-all</refname>
- <refpurpose>Indicates that all files should be produced</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="rebuild-all.frag">
- <xsl:param name="rebuild-all" select="0"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>When using the XSLT processor to manage dependencies and construct
- the website, this parameter can be used to regenerate the whole website,
- updating even pages that don't appear to need to be updated.</para>
- <para>The dependency extension only looks at the source documents. So
- if you change something in the stylesheet, for example, that has a global
- effect, you can use this parameter to force the stylesheet to rebuild the
- whole website.
- </para>
- <para>Only applies when XSLT-based chunking is being used.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="sequential.links">
- <refmeta>
- <refentrytitle>sequential.links</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>sequential.links</refname>
- <refpurpose>Make sequentional links?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="sequential.links.frag">
- <xsl:param name="sequential.links" select="0"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>FIXME</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="suppress.homepage.title">
- <refmeta>
- <refentrytitle>suppress.homepage.title</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>suppress.homepage.title</refname>
- <refpurpose>Suppress title on homepage?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="suppress.homepage.title.frag">
- <xsl:param name="suppress.homepage.title" select="1"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>FIXME:If non-zero, the title on the homepage is suppressed?</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="table.spacer.image">
- <refmeta>
- <refentrytitle>table.spacer.image</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">filename</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>table.spacer.image</refname>
- <refpurpose>Invisible pixel for tabular accessibility</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="table.spacer.image.frag">
- <xsl:param name="table.spacer.image">graphics/spacer.gif</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>This is the 1x1 pixel, transparent pixel used for <link xlink:href="http://diveintoaccessibility.org/day_10_presenting_your_main_content_first.html">the table trick</link> to increase the accessibility of the tabular
- website presentation.</para>
- </refsection>
- </refentry>
- </reference><reference id="nav" xml:base="../website/param.xml">
- <title>Navigation Parameters</title>
- <refentry version="5.0" id="banner.before.navigation">
- <refmeta>
- <refentrytitle>banner.before.navigation</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>banner.before.navigation</refname>
- <refpurpose>Put banner before navigation?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="banner.before.navigation.frag">
- <xsl:param name="banner.before.navigation" select="1"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>FIXME</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="navbgcolor">
- <refmeta>
- <refentrytitle>navbgcolor</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">color</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>navbgcolor</refname>
- <refpurpose>The background color of the navigation TOC</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="navbgcolor.frag">
- <xsl:param name="navbgcolor">#4080FF</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The background color of the navigation TOC.</para>
- <para>Only applies with the tabular presentation is being used.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="navbodywidth">
- <refmeta>
- <refentrytitle>navbodywidth</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">length</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>navbodywidth</refname>
- <refpurpose>Specifies the width of the navigation table body</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="navbodywidth.frag">
- <xsl:param name="navbodywidth"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The width of the body column.</para>
- <para>Only applies with the tabular presentation is being used.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="nav.table.summary">
- <refmeta>
- <refentrytitle>nav.table.summary</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>nav.table.summary</refname>
- <refpurpose>HTML Table summary attribute value for navigation tables</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="nav.table.summary.frag">
- <xsl:param name="nav.table.summary">Navigation</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The value of this parameter is used as the value of the table
- summary attribute for the navigation table.</para>
- <para>Only applies with the tabular presentation is being used.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="navtocwidth">
- <refmeta>
- <refentrytitle>navtocwidth</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">length</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>navtocwidth</refname>
- <refpurpose>Specifies the width of the navigation table TOC</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="navtocwidth.frag">
- <xsl:param name="navtocwidth">220</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The width, in pixels, of the navigation column.</para>
- <para>Only applies with the tabular presentation is being used.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="textbgcolor">
- <refmeta>
- <refentrytitle>textbgcolor</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">color</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>textbgcolor</refname>
- <refpurpose>The background color of the table body</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="textbgcolor.frag">
- <xsl:param name="textbgcolor">white</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>The background color of the table body.</para>
- <para>Only applies with the tabular presentation is being used.</para>
- </refsection>
- </refentry>
- </reference><reference id="toc" xml:base="../website/param.xml">
- <title>ToC Parameters</title>
- <refentry version="5.0" id="toc.blank.graphic">
- <refmeta>
- <refentrytitle>toc.blank.graphic</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>toc.blank.graphic</refname>
- <refpurpose>Use graphic for "blanks" in TOC?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="toc.blank.graphic.frag">
- <xsl:param name="toc.blank.graphic" select="1"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, "blanks" in the the TOC will be accomplished
- with the graphic identified by <varname>toc.spacer.image</varname>.
- </para>
- <para>Only applies with the tabular presentation is being used.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="toc.blank.image">
- <refmeta>
- <refentrytitle>toc.blank.image</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">filename</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>toc.blank.image</refname>
- <refpurpose>The image for "blanks" in the TOC</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="toc.blank.image.frag">
- <xsl:param name="toc.blank.image">graphics/blank.gif</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If <varname>toc.blank.graphic</varname> is non-zero, this image
- will be used to for "blanks" in the TOC.</para>
- <para>Only applies with the tabular presentation is being used.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="toc.blank.text">
- <refmeta>
- <refentrytitle>toc.blank.text</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>toc.blank.text</refname>
- <refpurpose>The text for "blanks" in the TOC</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="toc.blank.text.frag">
- <xsl:param name="toc.blank.text">   </xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If <varname>toc.blank.graphic</varname> is zero, this text string
- will be used for "blanks" in the TOC.</para>
- <para>Only applies with the tabular presentation is being used.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="toc.pointer.graphic">
- <refmeta>
- <refentrytitle>toc.pointer.graphic</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>toc.pointer.graphic</refname>
- <refpurpose>Use graphic for TOC pointer?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="toc.pointer.graphic.frag">
- <xsl:param name="toc.pointer.graphic" select="1"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, the "pointer" in the TOC will be displayed
- with the graphic identified by <varname>toc.pointer.image</varname>.
- </para>
- <para>Only applies with the tabular presentation is being used.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="toc.pointer.image">
- <refmeta>
- <refentrytitle>toc.pointer.image</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">filename</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>toc.pointer.image</refname>
- <refpurpose>The image for the "pointer" in the TOC</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="toc.pointer.image.frag">
- <xsl:param name="toc.pointer.image">graphics/arrow.gif</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If <varname>toc.pointer.graphic</varname> is non-zero, this image
- will be used for the "pointer" in the TOC.</para>
- <para>Only applies with the tabular presentation is being used.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="toc.pointer.text">
- <refmeta>
- <refentrytitle>toc.pointer.text</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>toc.pointer.text</refname>
- <refpurpose>The text for the "pointer" in the TOC</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="toc.pointer.text.frag">
- <xsl:param name="toc.pointer.text"> > </xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If <varname>toc.pointer.graphic</varname> is zero, this text string
- will be used to display the "pointer" in the TOC.</para>
- <para>Only applies with the tabular presentation is being used.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="toc.spacer.graphic">
- <refmeta>
- <refentrytitle>toc.spacer.graphic</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>toc.spacer.graphic</refname>
- <refpurpose>Use graphic for TOC spacer?</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="toc.spacer.graphic.frag">
- <xsl:param name="toc.spacer.graphic" select="1"></xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If non-zero, the indentation in the TOC will be accomplished
- with the graphic identified by <varname>toc.spacer.image</varname>.
- </para>
- <para>Only applies with the tabular presentation is being used.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="toc.spacer.image">
- <refmeta>
- <refentrytitle>toc.spacer.image</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">filename</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>toc.spacer.image</refname>
- <refpurpose>The image for spacing the TOC</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="toc.spacer.image.frag">
- <xsl:param name="toc.spacer.image">graphics/blank.gif</xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If <varname>toc.spacer.graphic</varname> is non-zero, this image
- will be used to indent the TOC.</para>
- <para>Only applies with the tabular presentation is being used.</para>
- </refsection>
- </refentry>
- <refentry version="5.0" id="toc.spacer.text">
- <refmeta>
- <refentrytitle>toc.spacer.text</refentrytitle>
- <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
- </refmeta>
- <refnamediv>
- <refname>toc.spacer.text</refname>
- <refpurpose>The text for spacing the TOC</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <programlisting id="toc.spacer.text.frag">
- <xsl:param name="toc.spacer.text">   </xsl:param>
- </programlisting>
- </refsynopsisdiv>
- <refsection><info><title>Description</title></info>
- <para>If <varname>toc.spacer.graphic</varname> is zero, this text string
- will be used to indent the TOC.</para>
- <para>Only applies with the tabular presentation is being used.</para>
- </refsection>
- </refentry>
- </reference>
- </part>
- <!-- Prepare WebHelp output
- <part xml:id="webhelp">
- <?dbhtml dir="webhelp"?>
- <?dbhtml filename="index.html"?>
- <xi:include href="../webhelp/param.xml" xpointer="xpointer(/book/info/title)" />
- <partintro xml:id="webhelpintro">
- <xi:include href="../webhelp/param.xml" xpointer="xpointer(/book/info/abstract/node())" />
- </partintro>
- <xi:include href="../webhelp/param.xml" xpointer="xpointer(/book/reference)" />
- </part>
- -->
- </book>
-
- <book id="pi"><title>DocBook XSL Stylesheets User Reference: PIs</title>
- <?dbhtml dir="pi"?>
- <?dbhtml filename="index.html"?>
- <info>
- <abstract>
- <para>This is generated reference documentation for all
- user-specifiable processing instructions in the DocBook
- XSL stylesheets.
- <note>
- <para>You add these PIs at particular points in a document to
- cause specific “exceptions” to formatting/output behavior. To
- make global changes in formatting/output behavior across an
- entire document, it’s better to do it by setting an
- appropriate stylesheet parameter (if there is one).</para>
- </note>
- </para>
- </abstract>
- </info>
- <part id="pi-html">
- <info xml:base="../html/pi.xml"><title>HTML Processing Instruction Reference</title>
- <releaseinfo role="meta">
- $Id: pi.xsl 9022 2011-07-14 19:21:36Z bobstayton $
- </releaseinfo>
- </info>
- <partintro id="partintro" xml:base="../html/pi.xml">
- <title>Introduction</title>
-
- <para>This is generated reference documentation for all
- user-specifiable processing instructions (PIs) in the DocBook
- XSL stylesheets for HTML output.
- <note>
-
- <para>You add these PIs at particular points in a document to
- cause specific “exceptions” to formatting/output behavior. To
- make global changes in formatting/output behavior across an
- entire document, it’s better to do it by setting an
- appropriate stylesheet parameter (if there is one).</para>
- </note>
- </para>
- </partintro>
- <refentry id="dbhtml_background-color" xml:base="../html/pi.xml">
- <refnamediv>
- <refname>dbhtml_background-color</refname>
- <refpurpose>Sets background color for an image</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <synopsis><tag class="xmlpi">dbhtml background-color="<replaceable>color</replaceable>"</tag></synopsis>
-
- </refsynopsisdiv>
- <refsect1><title>Description</title>
-
- <para>Use the <tag class="xmlpi">dbhtml background-color</tag> PI before or
- after an image (<tag>graphic</tag>, <tag>inlinegraphic</tag>,
- <tag>imagedata</tag>, or <tag>videodata</tag> element) as a
- sibling to the element, to set a background color for the
- image.</para>
- </refsect1><refsect1><title>Parameters</title>
-
- <variablelist>
- <varlistentry><term>background-color="<replaceable>color</replaceable>"</term>
- <listitem>
-
- <para>An HTML color value</para>
- </listitem>
- </varlistentry>
- </variablelist>
- </refsect1><refsect1 role="tcg"><title>Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link></title>
-
- <para><link role="tcg" xlink:href="BGcolor.html">Background color</link></para>
- </refsect1></refentry>
- <refentry id="dbhtml_bgcolor" xml:base="../html/pi.xml">
- <refnamediv>
- <refname>dbhtml_bgcolor</refname>
- <refpurpose>Sets background color on a CALS table row or table cell</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <synopsis><tag class="xmlpi">dbhtml bgcolor="<replaceable>color</replaceable>"</tag></synopsis>
-
- </refsynopsisdiv>
- <refsect1><title>Description</title>
-
- <para>Use the <tag class="xmlpi">dbhtml bgcolor</tag> PI as child of a CALS table row
- or cell to set a background color for that table row or cell.</para>
- </refsect1><refsect1><title>Parameters</title>
-
- <variablelist>
- <varlistentry><term>bgcolor="<replaceable>color</replaceable>"</term>
- <listitem>
-
- <para>An HTML color value</para>
- </listitem>
- </varlistentry>
- </variablelist>
- </refsect1><refsect1 role="tcg"><title>Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link></title>
-
- <para><link role="tcg" xlink:href="BGtableColor.html#CellBGColor">Cell background color</link></para>
- </refsect1></refentry>
- <refentry id="dbhtml_cellpadding" xml:base="../html/pi.xml">
- <refnamediv>
- <refname>dbhtml_cellpadding</refname>
- <refpurpose>Specifies cellpadding in CALS table or qandaset output</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <synopsis><tag class="xmlpi">dbhtml cellpadding="<replaceable>number</replaceable>"</tag></synopsis>
-
- </refsynopsisdiv>
- <refsect1><title>Description</title>
-
- <para>Use the <tag class="xmlpi">dbhtml cellpadding</tag> PI as a child of a
- CALS <tag>table</tag> or <tag>qandaset</tag> to specify the value
- for the HTML <literal>cellpadding</literal> attribute in the
- output HTML table.</para>
- </refsect1><refsect1><title>Parameters</title>
-
- <variablelist>
- <varlistentry><term>cellpadding="<replaceable>number</replaceable>"</term>
- <listitem>
-
- <para>Specifies the cellpadding</para>
- </listitem>
- </varlistentry>
- </variablelist>
- </refsect1><refsect1 role="params"><title>Related Global Parameters</title>
-
- <para><parameter>html.cellpadding</parameter></para>
- </refsect1><refsect1 role="tcg"><title>Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link></title>
-
- <para><link role="tcg" xlink:href="CellSpacing.html">Cell spacing and cell padding</link>,
- <link role="tcg" xlink:href="QandAformat.html">Q and A formatting</link></para>
- </refsect1></refentry>
- <refentry id="dbhtml_cellspacing" xml:base="../html/pi.xml">
- <refnamediv>
- <refname>dbhtml_cellspacing</refname>
- <refpurpose>Specifies cellspacing in CALS table or qandaset output</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <synopsis><tag class="xmlpi">dbhtml cellspacing="<replaceable>number</replaceable>"</tag></synopsis>
-
- </refsynopsisdiv>
- <refsect1><title>Description</title>
-
- <para>Use the <tag class="xmlpi">dbhtml cellspacing</tag> PI as a child of a
- CALS <tag>table</tag> or <tag>qandaset</tag> to specify the value
- for the HTML <literal>cellspacing</literal> attribute in the
- output HTML table.</para>
- </refsect1><refsect1><title>Parameters</title>
-
- <variablelist>
- <varlistentry><term>cellspacing="<replaceable>number</replaceable>"</term>
- <listitem>
-
- <para>Specifies the cellspacing</para>
- </listitem>
- </varlistentry>
- </variablelist>
- </refsect1><refsect1 role="params"><title>Related Global Parameters</title>
-
- <para><parameter>html.cellspacing</parameter></para>
- </refsect1><refsect1 role="tcg"><title>Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link></title>
-
- <para><link role="tcg" xlink:href="CellSpacing.html">Cell spacing and cell padding</link>,
- <link role="tcg" xlink:href="QandAformat.html">Q and A formatting</link></para>
- </refsect1></refentry>
- <refentry id="dbhtml_class" xml:base="../html/pi.xml">
- <refnamediv>
- <refname>dbhtml_class</refname>
- <refpurpose>Set value of the class attribute for a CALS table row</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <synopsis><tag class="xmlpi">dbhtml class="<replaceable>name</replaceable>"</tag></synopsis>
-
- </refsynopsisdiv>
- <refsect1><title>Description</title>
-
- <para>Use the <tag class="xmlpi">dbhtml class</tag> PI as a child of a
- <tag>row</tag> to specify a <literal>class</literal>
- attribute and value in the HTML output for that row.</para>
- </refsect1><refsect1><title>Parameters</title>
-
- <variablelist>
- <varlistentry><term>class="<replaceable>name</replaceable>"</term>
- <listitem>
-
- <para>Specifies the class name</para>
- </listitem>
- </varlistentry>
- </variablelist>
- </refsect1><refsect1 role="tcg"><title>Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link></title>
-
- <para><link role="tcg" xlink:href="CSSTableCells.html">Table styles in HTML output</link></para>
- </refsect1></refentry>
- <refentry id="dbhtml_dir" xml:base="../html/pi.xml">
- <refnamediv>
- <refname>dbhtml_dir</refname>
- <refpurpose>Specifies a directory name in which to write files</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <synopsis><tag class="xmlpi">dbhtml dir="<replaceable>path</replaceable>"</tag></synopsis>
-
- </refsynopsisdiv>
- <refsect1><title>Description</title>
-
- <para>When chunking output, use the <tag class="xmlpi">dbhtml dir</tag> PI
- as a child of a chunk source to cause the output of that
- chunk to be written to the specified directory; also, use it
- as a child of a <tag>mediaobject</tag> to specify a
- directory into which any long-description files for that
- <tag>mediaobject</tag> will be written.</para>
- <para>The output directory specification is inherited by all
- chunks of the descendants of the element. If descendants need
- to go to a different directory, then add another
- <tag class="xmlpi">dbhtml dir</tag> processing
- instruction as a child of the source element
- for that chunk, and specify the path relative to the
- ancestor path.</para>
- <para>For example, to put most chunk files into
- <filename class="directory">shared</filename>
- but one chapter into
- <filename class="directory">exception</filename>
- at the same level, use:</para>
- <programlisting><book>
- <?dbhtml dir="shared"?>
- ...
- <chapter>
- <?dbhtml dir="../exception"?>
- </chapter>
- </book>
- </programlisting>
- </refsect1><refsect1><title>Parameters</title>
-
- <variablelist>
- <varlistentry><term>dir="<replaceable>path</replaceable>"</term>
- <listitem>
-
- <para>Specifies the pathname for the directory</para>
- </listitem>
- </varlistentry>
- </variablelist>
- </refsect1><refsect1 role="params"><title>Related Global Parameters</title>
-
- <para><parameter>base.dir</parameter></para>
- </refsect1><refsect1 role="tcg"><title>Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link></title>
-
- <para><link role="tcg" xlink:href="Chunking.html#dbhtmlDirPI">dbhtml dir processing instruction</link></para>
- </refsect1></refentry>
- <refentry id="dbhtml_filename" xml:base="../html/pi.xml">
- <refnamediv>
- <refname>dbhtml_filename</refname>
- <refpurpose>Specifies a filename for a chunk</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <synopsis><tag class="xmlpi">dbhtml filename="<replaceable>filename</replaceable>"</tag></synopsis>
-
- </refsynopsisdiv>
- <refsect1><title>Description</title>
- <para>When chunking output, use the <tag class="xmlpi">dbhtml filename</tag>
- PI as a child of a chunk source to specify a filename for
- the output file for that chunk. Include the filename suffix.</para>
- <para>You cannot include a directory path in the filename value,
- or your links may not work. Add a
- <tag class="xmlpi">dbhtml dir</tag> processing instruction
- to specify the output directory. You can also combine the two
- specifications in one processing instruction:
- <tag class="xmlpi">dbhtml dir="mydir" filename="myfile.html"</tag>.</para>
- </refsect1><refsect1><title>Parameters</title>
-
- <variablelist>
- <varlistentry><term>filename="<replaceable>path</replaceable>"</term>
- <listitem>
-
- <para>Specifies the filename for the file</para>
- </listitem>
- </varlistentry>
- </variablelist>
- </refsect1><refsect1 role="params"><title>Related Global Parameters</title>
-
- <para><parameter>use.id.as.filename</parameter></para>
- </refsect1><refsect1 role="tcg"><title>Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link></title>
-
- <para><link role="tcg" xlink:href="Chunking.html#DbhtmlFilenames">dbhtml filenames</link></para>
- </refsect1></refentry>
- <refentry id="dbhtml_funcsynopsis-style" xml:base="../html/pi.xml">
- <refnamediv>
- <refname>dbhtml_funcsynopsis-style</refname>
- <refpurpose>Specifies presentation style for a funcsynopsis</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <synopsis><tag class="xmlpi">dbhtml funcsynopsis-style="kr"|"ansi"</tag></synopsis>
-
- </refsynopsisdiv>
- <refsect1><title>Description</title>
-
- <para>Use the <tag class="xmlpi">dbhtml funcsynopsis-style</tag> PI as a child of
- a <tag>funcsynopsis</tag> or anywhere within a funcsynopsis
- to control the presentation style for output of all
- <tag>funcprototype</tag> instances within that funcsynopsis.</para>
- </refsect1><refsect1><title>Parameters</title>
-
- <variablelist>
- <varlistentry><term>funcsynopsis-style="kr"</term>
- <listitem>
-
- <para>Displays <tag>funcprototype</tag> output in K&R style</para>
- </listitem>
- </varlistentry>
- <varlistentry><term>funcsynopsis-style="ansi"</term>
- <listitem>
-
- <para>Displays <tag>funcprototype</tag> output in ANSI style</para>
- </listitem>
- </varlistentry>
- </variablelist>
- </refsect1><refsect1 role="params"><title>Related Global Parameters</title>
-
- <para><parameter>funcsynopsis.style</parameter></para>
- </refsect1></refentry>
- <refentry id="dbhtml_img.src.path" xml:base="../html/pi.xml">
- <refnamediv>
- <refname>dbhtml_img.src.path</refname>
- <refpurpose>Specifies a path to the location of an image file</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <synopsis><tag class="xmlpi">dbhtml img.src.path="<replaceable>path</replaceable>"</tag></synopsis>
-
- </refsynopsisdiv>
- <refsect1><title>Description</title>
-
- <para>Use the <tag class="xmlpi">dbhtml img.src.path</tag> PI before or
- after an image (<tag>graphic</tag>,
- <tag>inlinegraphic</tag>, <tag>imagedata</tag>, or
- <tag>videodata</tag> element) as a sibling to the element,
- to specify a path to the location of the image; in HTML
- output, the value specified for the
- <code>img.src.path</code> attribute is prepended to the
- filename.</para>
- </refsect1><refsect1><title>Parameters</title>
-
- <variablelist>
- <varlistentry><term>img.src.path="<replaceable>path</replaceable>"</term>
- <listitem>
-
- <para>Specifies the pathname to prepend to the name of the image file</para>
- </listitem>
- </varlistentry>
- </variablelist>
- </refsect1><refsect1 role="params"><title>Related Global Parameters</title>
-
- <para><parameter>img.src.path</parameter></para>
- </refsect1><refsect1 role="tcg"><title>Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link></title>
-
- <para><link role="tcg" xlink:href="GraphicsLocations.html#UsingFileref">Using fileref</link></para>
- </refsect1></refentry>
- <refentry id="dbhtml_label-width" xml:base="../html/pi.xml">
- <refnamediv>
- <refname>dbhtml_label-width</refname>
- <refpurpose>Specifies the label width for a qandaset</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <synopsis><tag class="xmlpi">dbhtml label-width="<replaceable>width</replaceable>"</tag></synopsis>
-
- </refsynopsisdiv>
- <refsect1><title>Description</title>
-
- <para>Use the <tag class="xmlpi">dbhtml label-width</tag> PI as a child of a
- <tag>qandaset</tag> to specify the width of labels.</para>
- </refsect1><refsect1><title>Parameters</title>
-
- <variablelist>
- <varlistentry><term>label-width="<replaceable>width</replaceable>"</term>
- <listitem>
-
- <para>Specifies the label width (including units)</para>
- </listitem>
- </varlistentry>
- </variablelist>
- </refsect1><refsect1 role="tcg"><title>Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link></title>
-
- <para><link role="tcg" xlink:href="QandAformat.html">Q and A formatting</link></para>
- </refsect1></refentry>
- <refentry id="dbhtml_linenumbering.everyNth" xml:base="../html/pi.xml">
- <refnamediv>
- <refname>dbhtml_linenumbering.everyNth</refname>
- <refpurpose>Specifies interval for line numbers in verbatims</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <synopsis><tag class="xmlpi">dbhtml linenumbering.everyNth="<replaceable>N</replaceable>"</tag></synopsis>
-
- </refsynopsisdiv>
- <refsect1><title>Description</title>
-
- <para>Use the <tag class="xmlpi">dbhtml linenumbering.everyNth</tag> PI as a child
- of a “verbatim” element – <tag>programlisting</tag>,
- <tag>screen</tag>, <tag>synopsis</tag> — to specify
- the interval at which lines are numbered.</para>
- </refsect1><refsect1><title>Parameters</title>
-
- <variablelist>
- <varlistentry><term>linenumbering.everyNth="<replaceable>N</replaceable>"</term>
- <listitem>
-
- <para>Specifies numbering interval; a number is output
- before every <replaceable>N</replaceable>th line</para>
- </listitem>
- </varlistentry>
- </variablelist>
- </refsect1><refsect1 role="params"><title>Related Global Parameters</title>
-
- <para><parameter>linenumbering.everyNth</parameter></para>
- </refsect1><refsect1 role="tcg"><title>Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link></title>
-
- <para><link role="tcg" xlink:href="AnnotateListing.html#LineNumbering">Line numbering</link></para>
- </refsect1></refentry>
- <refentry id="dbhtml_linenumbering.separator" xml:base="../html/pi.xml">
- <refnamediv>
- <refname>dbhtml_linenumbering.separator</refname>
- <refpurpose>Specifies separator text for line numbers in verbatims</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <synopsis><tag class="xmlpi">dbhtml linenumbering.separator="<replaceable>text</replaceable>"</tag></synopsis>
-
- </refsynopsisdiv>
- <refsect1><title>Description</title>
-
- <para>Use the <tag class="xmlpi">dbhtml linenumbering.separator</tag> PI as a child
- of a “verbatim” element – <tag>programlisting</tag>,
- <tag>screen</tag>, <tag>synopsis</tag> — to specify
- the separator text output between the line numbers and content.</para>
- </refsect1><refsect1><title>Parameters</title>
-
- <variablelist>
- <varlistentry><term>linenumbering.separator="<replaceable>text</replaceable>"</term>
- <listitem>
-
- <para>Specifies the text (zero or more characters)</para>
- </listitem>
- </varlistentry>
- </variablelist>
- </refsect1><refsect1 role="params"><title>Related Global Parameters</title>
-
- <para><parameter>linenumbering.separator</parameter></para>
- </refsect1><refsect1 role="tcg"><title>Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link></title>
-
- <para><link role="tcg" xlink:href="AnnotateListing.html#LineNumbering">Line numbering</link></para>
- </refsect1></refentry>
- <refentry id="dbhtml_linenumbering.width" xml:base="../html/pi.xml">
- <refnamediv>
- <refname>dbhtml_linenumbering.width</refname>
- <refpurpose>Specifies width for line numbers in verbatims</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <synopsis><tag class="xmlpi">dbhtml linenumbering.width="<replaceable>width</replaceable>"</tag></synopsis>
-
- </refsynopsisdiv>
- <refsect1><title>Description</title>
-
- <para>Use the <tag class="xmlpi">dbhtml linenumbering.width</tag> PI as a child
- of a “verbatim” element – <tag>programlisting</tag>,
- <tag>screen</tag>, <tag>synopsis</tag> — to specify
- the width set aside for line numbers.</para>
- </refsect1><refsect1><title>Parameters</title>
-
- <variablelist>
- <varlistentry><term>linenumbering.width="<replaceable>width</replaceable>"</term>
- <listitem>
-
- <para>Specifies the width (inluding units)</para>
- </listitem>
- </varlistentry>
- </variablelist>
- </refsect1><refsect1 role="params"><title>Related Global Parameters</title>
-
- <para><parameter>linenumbering.width</parameter></para>
- </refsect1><refsect1 role="tcg"><title>Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link></title>
-
- <para><link role="tcg" xlink:href="AnnotateListing.html#LineNumbering">Line numbering</link></para>
- </refsect1></refentry>
- <refentry id="dbhtml_list-presentation" xml:base="../html/pi.xml">
- <refnamediv>
- <refname>dbhtml_list-presentation</refname>
- <refpurpose>Specifies presentation style for a variablelist or
- segmentedlist</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <synopsis><tag class="xmlpi">dbhtml list-presentation="list"|"table"</tag></synopsis>
-
- </refsynopsisdiv>
- <refsect1><title>Description</title>
-
- <para>Use the <tag class="xmlpi">dbhtml list-presentation</tag> PI as a child of
- a <tag>variablelist</tag> or <tag>segmentedlist</tag> to
- control the presentation style for the list (to cause it, for
- example, to be displayed as a table).</para>
- </refsect1><refsect1><title>Parameters</title>
-
- <variablelist>
- <varlistentry><term>list-presentation="list"</term>
- <listitem>
-
- <para>Displays the list as a list</para>
- </listitem>
- </varlistentry>
- <varlistentry><term>list-presentation="table"</term>
- <listitem>
-
- <para>Displays the list as a table</para>
- </listitem>
- </varlistentry>
- </variablelist>
- </refsect1><refsect1 role="params"><title>Related Global Parameters</title>
-
- <itemizedlist>
- <listitem>
-
- <para><parameter>variablelist.as.table</parameter></para>
- </listitem>
- <listitem>
-
- <para><parameter>segmentedlist.as.table</parameter></para>
- </listitem>
- </itemizedlist>
- </refsect1><refsect1 role="tcg"><title>Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link></title>
-
- <para><link role="tcg" xlink:href="Variablelists.html#VarListFormatting">Variable list formatting in HTML</link></para>
- </refsect1></refentry>
- <refentry id="dbhtml_list-width" xml:base="../html/pi.xml">
- <refnamediv>
- <refname>dbhtml_list-width</refname>
- <refpurpose>Specifies the width of a variablelist or simplelist</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <synopsis><tag class="xmlpi">dbhtml list-width="<replaceable>width</replaceable>"</tag></synopsis>
-
- </refsynopsisdiv>
- <refsect1><title>Description</title>
-
- <para>Use the <tag class="xmlpi">dbhtml list-width</tag> PI as a child of a
- <tag>variablelist</tag> or a <tag>simplelist</tag> presented
- as a table, to specify the output width.</para>
- </refsect1><refsect1><title>Parameters</title>
-
- <variablelist>
- <varlistentry><term>list-width="<replaceable>width</replaceable>"</term>
- <listitem>
-
- <para>Specifies the output width (including units)</para>
- </listitem>
- </varlistentry>
- </variablelist>
- </refsect1><refsect1 role="tcg"><title>Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link></title>
-
- <para><link role="tcg" xlink:href="Variablelists.html#VarListFormatting">Variable list formatting in HTML</link></para>
- </refsect1></refentry>
- <refentry id="dbhtml_row-height" xml:base="../html/pi.xml">
- <refnamediv>
- <refname>dbhtml_row-height</refname>
- <refpurpose>Specifies the height for a CALS table row</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <synopsis><tag class="xmlpi">dbhtml row-height="<replaceable>height</replaceable>"</tag></synopsis>
-
- </refsynopsisdiv>
- <refsect1><title>Description</title>
-
- <para>Use the <tag class="xmlpi">dbhtml row-height</tag> PI as a child of a
- <tag>row</tag> to specify the height of the row.</para>
- </refsect1><refsect1><title>Parameters</title>
-
- <variablelist>
- <varlistentry><term>row-height="<replaceable>height</replaceable>"</term>
- <listitem>
-
- <para>Specifies the row height (including units)</para>
- </listitem>
- </varlistentry>
- </variablelist>
- </refsect1><refsect1 role="tcg"><title>Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link></title>
-
- <para><link role="tcg" xlink:href="RowHeight.html">Row height</link></para>
- </refsect1></refentry>
- <refentry id="dbhtml_start" xml:base="../html/pi.xml">
- <refnamediv>
- <refname>dbhtml_start</refname>
- <refpurpose>(obsolete) Sets the starting number on an ordered list</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <synopsis><tag class="xmlpi">dbhtml start="<replaceable>character</replaceable>"</tag></synopsis>
-
- </refsynopsisdiv>
- <refsect1><title>Description</title>
-
- <para><emphasis>This PI is obsolete</emphasis>. The intent of
- this PI was to provide a means for setting a specific starting
- number for an ordered list. Instead of this PI, set a value
- for the <literal>override</literal> attribute on the first
- <tag>listitem</tag> in the list; that will have the same
- effect as what this PI was intended for.</para>
- </refsect1><refsect1><title>Parameters</title>
-
- <variablelist>
- <varlistentry><term>start="<replaceable>character</replaceable>"</term>
- <listitem>
-
- <para>Specifies the character to use as the starting
- number; use 0-9, a-z, A-Z, or lowercase or uppercase
- Roman numerals</para>
- </listitem>
- </varlistentry>
- </variablelist>
- </refsect1><refsect1 role="tcg"><title>Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link></title>
-
- <para><link role="tcg" xlink:href="Orderedlists.html#ListStartNum">List starting number</link></para>
- </refsect1></refentry>
- <refentry id="dbhtml_stop-chunking" xml:base="../html/pi.xml">
- <refnamediv>
- <refname>dbhtml_stop-chunking</refname>
- <refpurpose>Do not chunk any descendants of this element.</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <synopsis><tag class="xmlpi">dbhtml stop-chunking</tag></synopsis>
-
- </refsynopsisdiv>
- <refsect1><title>Description</title>
-
- <para>When generating chunked HTML output, adding this PI as the child of an element that contains elements that would normally be generated on separate pages if generating chunked output causes chunking to stop at this point. No descendants of the current element will be split into new HTML pages:
- <programlisting><section>
- <title>Configuring pencil</title>
- <?dbhtml stop-chunking?>
- ...
- </section></programlisting>
- </para>
- </refsect1><refsect1 role="tcg"><title>Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link></title>
-
- <para><link role="tcg" xlink:href="Chunking.html">Chunking into multiple HTML files</link></para>
- </refsect1></refentry>
- <refentry id="dbhtml_table-summary" xml:base="../html/pi.xml">
- <refnamediv>
- <refname>dbhtml_table-summary</refname>
- <refpurpose>Specifies summary for CALS table, variablelist, segmentedlist, or qandaset output</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <synopsis><tag class="xmlpi">dbhtml table-summary="<replaceable>text</replaceable>"</tag></synopsis>
-
- </refsynopsisdiv>
- <refsect1><title>Description</title>
-
- <para>Use the <tag class="xmlpi">dbhtml table-summary</tag> PI as a child of
- a CALS <tag>table</tag>, <tag>variablelist</tag>,
- <tag>segmentedlist</tag>, or <tag>qandaset</tag> to specify
- the text for the HTML <literal>summary</literal> attribute
- in the output HTML table.</para>
- </refsect1><refsect1><title>Parameters</title>
-
- <variablelist>
- <varlistentry><term>table-summary="<replaceable>text</replaceable>"</term>
- <listitem>
-
- <para>Specifies the summary text (zero or more characters)</para>
- </listitem>
- </varlistentry>
- </variablelist>
- </refsect1><refsect1 role="tcg"><title>Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link></title>
-
- <para><link role="tcg" xlink:href="Variablelists.html#VarListFormatting">Variable list formatting in HTML</link>,
- <link role="tcg" xlink:href="TableSummary.html">Table summary text</link></para>
- </refsect1></refentry>
- <refentry id="dbhtml_table-width" xml:base="../html/pi.xml">
- <refnamediv>
- <refname>dbhtml_table-width</refname>
- <refpurpose>Specifies the width for a CALS table</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <synopsis><tag class="xmlpi">dbhtml table-width="<replaceable>width</replaceable>"</tag></synopsis>
-
- </refsynopsisdiv>
- <refsect1><title>Description</title>
-
- <para>Use the <tag class="xmlpi">dbhtml table-width</tag> PI as a child of a
- CALS <tag>table</tag> to specify the width of the table in
- output.</para>
- </refsect1><refsect1><title>Parameters</title>
-
- <variablelist>
- <varlistentry><term>table-width="<replaceable>width</replaceable>"</term>
- <listitem>
-
- <para>Specifies the table width (including units or as a percentage)</para>
- </listitem>
- </varlistentry>
- </variablelist>
- </refsect1><refsect1 role="params"><title>Related Global Parameters</title>
-
- <para><parameter>default.table.width</parameter></para>
- </refsect1><refsect1 role="tcg"><title>Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link></title>
-
- <para><link role="tcg" xlink:href="Tables.html#TableWidth">Table width</link></para>
- </refsect1></refentry>
- <refentry id="dbhtml_term-presentation" xml:base="../html/pi.xml">
- <refnamediv>
- <refname>dbhtml_term-presentation</refname>
- <refpurpose>Sets character formatting for terms in a variablelist</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <synopsis><tag class="xmlpi">dbhtml term-presentation="bold"|"italic"|"bold-italic"</tag></synopsis>
-
- </refsynopsisdiv>
- <refsect1><title>Description</title>
-
- <para>Use the <tag class="xmlpi">dbhtml term-presentation</tag> PI as a child
- of a <tag>variablelist</tag> to set character formatting for
- the <tag>term</tag> output of the list.</para>
- </refsect1><refsect1><title>Parameters</title>
-
- <variablelist>
- <varlistentry><term>term-presentation="<replaceable>bold</replaceable>"</term>
- <listitem>
-
- <para>Specifies that terms are displayed in bold</para>
- </listitem>
- </varlistentry>
- <varlistentry><term>term-presentation="<replaceable>italic</replaceable>"</term>
- <listitem>
-
- <para>Specifies that terms are displayed in italic</para>
- </listitem>
- </varlistentry>
- <varlistentry><term>term-presentation="<replaceable>bold-italic</replaceable>"</term>
- <listitem>
-
- <para>Specifies that terms are displayed in bold-italic</para>
- </listitem>
- </varlistentry>
- </variablelist>
- </refsect1><refsect1 role="tcg"><title>Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link></title>
-
- <para><link role="tcg" xlink:href="Variablelists.html#VarListFormatting">Variable list formatting in HTML</link></para>
- </refsect1></refentry>
- <refentry id="dbhtml_term-separator" xml:base="../html/pi.xml">
- <refnamediv>
- <refname>dbhtml_term-separator</refname>
- <refpurpose>Specifies separator text among terms in a varlistentry</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <synopsis><tag class="xmlpi">dbhtml term-separator="<replaceable>text</replaceable>"</tag></synopsis>
-
- </refsynopsisdiv>
- <refsect1><title>Description</title>
-
- <para>Use the <tag class="xmlpi">dbhtml term-separator</tag> PI as a child
- of a <tag>variablelist</tag> to specify the separator text
- among <tag>term</tag> instances.</para>
- </refsect1><refsect1><title>Parameters</title>
-
- <variablelist>
- <varlistentry><term>term-separator="<replaceable>text</replaceable>"</term>
- <listitem>
-
- <para>Specifies the text (zero or more characters)</para>
- </listitem>
- </varlistentry>
- </variablelist>
- </refsect1><refsect1 role="params"><title>Related Global Parameters</title>
-
- <para><parameter>variablelist.term.separator</parameter></para>
- </refsect1><refsect1 role="tcg"><title>Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link></title>
-
- <para><link role="tcg" xlink:href="Variablelists.html#VarListFormatting">Variable list formatting in HTML</link></para>
- </refsect1></refentry>
- <refentry id="dbhtml_term-width" xml:base="../html/pi.xml">
- <refnamediv>
- <refname>dbhtml_term-width</refname>
- <refpurpose>Specifies the term width for a variablelist</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <synopsis><tag class="xmlpi">dbhtml term-width="<replaceable>width</replaceable>"</tag></synopsis>
-
- </refsynopsisdiv>
- <refsect1><title>Description</title>
-
- <para>Use the <tag class="xmlpi">dbhtml term-width</tag> PI as a child of a
- <tag>variablelist</tag> to specify the width for
- <tag>term</tag> output.</para>
- </refsect1><refsect1><title>Parameters</title>
-
- <variablelist>
- <varlistentry><term>term-width="<replaceable>width</replaceable>"</term>
- <listitem>
-
- <para>Specifies the term width (including units)</para>
- </listitem>
- </varlistentry>
- </variablelist>
- </refsect1><refsect1 role="tcg"><title>Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link></title>
-
- <para><link role="tcg" xlink:href="Variablelists.html#VarListFormatting">Variable list formatting in HTML</link></para>
- </refsect1></refentry>
- <refentry id="dbhtml_toc" xml:base="../html/pi.xml">
- <refnamediv>
- <refname>dbhtml_toc</refname>
- <refpurpose>Specifies whether a TOC should be generated for a qandaset</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <synopsis><tag class="xmlpi">dbhtml toc="0"|"1"</tag></synopsis>
-
- </refsynopsisdiv>
- <refsect1><title>Description</title>
-
- <para>Use the <tag class="xmlpi">dbhtml toc</tag> PI as a child of a
- <tag>qandaset</tag> to specify whether a table of contents
- (TOC) is generated for the <tag>qandaset</tag>.</para>
- </refsect1><refsect1><title>Parameters</title>
-
- <variablelist>
- <varlistentry><term>toc="0"</term>
- <listitem>
-
- <para>If zero, no TOC is generated</para>
- </listitem>
- </varlistentry>
- <varlistentry><term>toc="1"</term>
- <listitem>
-
- <para>If <code>1</code> (or any non-zero value),
- a TOC is generated</para>
- </listitem>
- </varlistentry>
- </variablelist>
- </refsect1><refsect1 role="tcg"><title>Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link></title>
-
- <para><link role="tcg" xlink:href="QandAtoc.html">Q and A list of questions</link>,
- <link role="tcg" xlink:href="QandAformat.html">Q and A formatting</link></para>
- </refsect1></refentry>
- <refentry id="dbcmdlist" xml:base="../html/pi.xml">
- <refnamediv>
- <refname>dbcmdlist</refname>
- <refpurpose>Generates a hyperlinked list of commands</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <synopsis><tag class="xmlpi">dbcmdlist</tag></synopsis>
-
- </refsynopsisdiv>
- <refsect1><title>Description</title>
-
- <para>Use the <tag class="xmlpi">dbcmdlist</tag> PI as the child of any
- element (for example, <tag>refsynopsisdiv</tag>) containing multiple
- <tag>cmdsynopsis</tag> instances; a hyperlinked navigational
- “command list” will be generated at the top of output for that
- element, enabling users to quickly jump
- to each command synopsis.</para>
- </refsect1><refsect1><title>Parameters</title>
-
- <para>[No parameters]</para>
- </refsect1></refentry>
- <refentry id="dbfunclist" xml:base="../html/pi.xml">
- <refnamediv>
- <refname>dbfunclist</refname>
- <refpurpose>Generates a hyperlinked list of functions</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <synopsis><tag class="xmlpi">dbfunclist</tag></synopsis>
-
- </refsynopsisdiv>
- <refsect1><title>Description</title>
-
- <para>Use the <tag class="xmlpi">dbfunclist</tag> PI as the child of any
- element (for example, <tag>refsynopsisdiv</tag>) containing multiple
- <tag>funcsynopsis</tag> instances; a hyperlinked
- navigational “function list” will be generated at the top of
- output for that element, enabling users to quickly
- jump to to each function synopsis.</para>
- </refsect1><refsect1><title>Parameters</title>
-
- <para>[No parameters]</para>
- </refsect1></refentry>
- <refentry id="dbhtml-include_href" xml:base="../html/pi.xml">
- <refnamediv>
- <refname>dbhtml-include_href</refname>
- <refpurpose>Copies an external well-formed HTML/XML file into current doc</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <synopsis><tag class="xmlpi">dbhtml-include href="<replaceable>URI</replaceable>"</tag></synopsis>
-
- </refsynopsisdiv>
- <refsect1><title>Description</title>
-
- <para>Use the <tag class="xmlpi">dbhtml-include href</tag> PI anywhere in a
- document to cause the contents of the file referenced by the
- <code>href</code> pseudo-attribute to be copied/inserted “as
- is” into your HTML output at the point in document order
- where the PI occurs in the source.</para>
- <note>
-
- <para>The referenced file may contain plain text (as long as
- it is “wrapped” in an <tag>html</tag> element — see the
- note below) or markup in any arbitrary vocabulary,
- including HTML — but it must conform to XML
- well-formedness constraints (because the feature in XSLT
- 1.0 for opening external files, the
- <function>document()</function> function, can only handle
- files that meet XML well-formedness constraints).</para>
-
- <para>Among other things, XML well-formedness constraints
- require a document to have <emphasis>a single root
- element</emphasis>. So if the content you want to
- include is plain text or is markup that does
- <emphasis>not</emphasis> have a single root element,
- <emphasis role="strong">wrap the content in an
- <tag>html</tag> element</emphasis>. The stylesheets will
- strip out that surrounding <tag>html</tag> “wrapper” when
- they find it, leaving just the content you want to
- insert.</para>
- </note>
- </refsect1><refsect1><title>Parameters</title>
-
- <variablelist>
- <varlistentry><term>href="<replaceable>URI</replaceable>"</term>
- <listitem>
-
- <para>Specifies the URI for the file to include; the URI
- can be, for example, a remote <literal>http:</literal>
- URI, or a local filesystem <literal>file:</literal>
- URI</para>
- </listitem>
- </varlistentry>
- </variablelist>
- </refsect1><refsect1 role="params"><title>Related Global Parameters</title>
-
- <para><parameter>textinsert.extension</parameter></para>
- </refsect1><refsect1 role="tcg"><title>Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link></title>
-
- <para><link role="tcg" xlink:href="InsertExtHtml.html">Inserting external HTML code</link>,
- <link role="tcg" xlink:href="ExternalCode.html">External code files</link></para>
- </refsect1></refentry>
- <refentry id="dbhh" xml:base="../html/pi.xml">
- <refnamediv>
- <refname>dbhh</refname>
- <refpurpose>Sets topic name and topic id for context-sensitive HTML Help</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <synopsis><tag class="xmlpi">dbhh topicname="<replaceable>name</replaceable>" topicid="<replaceable>id</replaceable>"</tag></synopsis>
-
- </refsynopsisdiv>
- <refsect1><title>Description</title>
-
- <para>Use the <tag class="xmlpi">dbhh</tag> PI as a child of components
- that should be used as targets for context-sensitive help requests.</para>
- </refsect1><refsect1><title>Parameters</title>
-
- <variablelist>
- <varlistentry><term>topicname="<replaceable>name</replaceable>"</term>
- <listitem>
-
- <para>Specifies a unique string constant that identifies a help topic</para>
- </listitem>
- </varlistentry>
- <varlistentry><term>topicid="<replaceable>id</replaceable>"</term>
- <listitem>
-
- <para>Specifies a unique integer value for the <literal>topicname</literal> string</para>
- </listitem>
- </varlistentry>
- </variablelist>
- </refsect1><refsect1 role="tcg"><title>Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link></title>
-
- <para><link role="tcg" xlink:href="HtmlHelp.html#HHContextHelp">Context-sensitive help</link></para>
- </refsect1></refentry>
- </part>
- <part id="pi-fo">
- <info xml:base="../fo/pi.xml"><title>FO Processing Instruction Reference</title>
- <releaseinfo role="meta">
- $Id: pi.xsl 9267 2012-04-03 20:23:45Z bobstayton $
- </releaseinfo>
- </info>
- <partintro id="partintro" xml:base="../fo/pi.xml">
- <title>Introduction</title>
-
- <para>This is generated reference documentation for all
- user-specifiable processing instructions (PIs) in the DocBook
- XSL stylesheets for FO output.
- <note>
-
- <para>You add these PIs at particular points in a document to
- cause specific “exceptions” to formatting/output behavior. To
- make global changes in formatting/output behavior across an
- entire document, it’s better to do it by setting an
- appropriate stylesheet parameter (if there is one).</para>
- </note>
- </para>
- </partintro>
- <refentry id="dbfo_background-color" xml:base="../fo/pi.xml">
- <refnamediv>
- <refname>dbfo_background-color</refname>
- <refpurpose>Sets background color for an image</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <synopsis><tag class="xmlpi">dbfo background-color="<replaceable>color</replaceable>"</tag></synopsis>
-
- </refsynopsisdiv>
- <refsect1><title>Description</title>
-
- <para>Use the <tag class="xmlpi">dbfo background-color</tag> PI before or
- after an image (<tag>graphic</tag>, <tag>inlinegraphic</tag>,
- <tag>imagedata</tag>, or <tag>videodata</tag> element) as a
- sibling to the element, to set a background color for the
- image.</para>
- </refsect1><refsect1><title>Parameters</title>
-
- <variablelist>
- <varlistentry><term>background-color="<replaceable>color</replaceable>"</term>
- <listitem>
-
- <para>An HTML color value</para>
- </listitem>
- </varlistentry>
- </variablelist>
- </refsect1><refsect1 role="tcg"><title>Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link></title>
-
- <para><link role="tcg" xlink:href="BGcolor.html">Background color</link></para>
- </refsect1></refentry>
- <refentry id="dbfo_bgcolor" xml:base="../fo/pi.xml">
- <refnamediv>
- <refname>dbfo_bgcolor</refname>
- <refpurpose>Sets background color on a table row or table cell</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <synopsis><tag class="xmlpi">dbfo bgcolor="<replaceable>color</replaceable>"</tag></synopsis>
-
- </refsynopsisdiv>
- <refsect1><title>Description</title>
-
- <para>Use the <tag class="xmlpi">dbfo bgcolor</tag> PI as child of a table row
- or cell to set a background color for that table row or cell.</para>
-
- <para>This PI works for both CALS and HTML tables.</para>
- </refsect1><refsect1><title>Parameters</title>
-
- <variablelist>
- <varlistentry><term>bgcolor="<replaceable>color</replaceable>"</term>
- <listitem>
-
- <para>An HTML color value</para>
- </listitem>
- </varlistentry>
- </variablelist>
- </refsect1><refsect1 role="tcg"><title>Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link></title>
-
- <para><link role="tcg" xlink:href="BGtableColor.html#CellBGColor">Cell background color</link></para>
- </refsect1></refentry>
- <refentry id="dbfo_float-type" xml:base="../fo/pi.xml">
- <refnamediv>
- <refname>dbfo_float-type</refname>
- <refpurpose>Specifies float behavior for a sidebar</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <synopsis><tag class="xmlpi">dbfo float-type="margin.note"</tag></synopsis>
-
- </refsynopsisdiv>
- <refsect1><title>Description</title>
-
- <para>Use the <tag class="xmlpi">dbfo float-type</tag> PI to specify the float
- behavior for a <tag>sidebar</tag> (to cause the sidebar to be
- displayed as a marginal note).</para>
- </refsect1><refsect1><title>Parameters</title>
-
- <variablelist>
- <varlistentry><term>float-type="margin.note"</term>
- <listitem>
-
- <para>Specifies that the <tag>sidebar</tag> should be
- displayed as a marginal note.</para>
- </listitem>
- </varlistentry>
- </variablelist>
- </refsect1><refsect1 role="params"><title>Related Global Parameters</title>
-
- <para><parameter>sidebar.float.type</parameter> (parameter),
- <parameter>sidebar.float.width</parameter> (parameter),
- <parameter>sidebar.properties</parameter> (attribute-set),
- <parameter>sidebar.title.properties</parameter> (attribute-set)
- </para>
- </refsect1><refsect1 role="tcg"><title>Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link></title>
-
- <para><link role="tcg" xlink:href="SideFloats.html#SidebarFloats">A sidebar as
- side float</link></para>
- </refsect1></refentry>
- <refentry id="dbfo_funcsynopsis-style" xml:base="../fo/pi.xml">
- <refnamediv>
- <refname>dbfo_funcsynopsis-style</refname>
- <refpurpose>Specifies presentation style for a funcsynopsis</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <synopsis><tag class="xmlpi">dbfo funcsynopsis-style="kr"|"ansi"</tag></synopsis>
-
- </refsynopsisdiv>
- <refsect1><title>Description</title>
-
- <para>Use the <tag class="xmlpi">dbfo funcsynopsis-style</tag> PI as a child of
- a <tag>funcsynopsis</tag> or anywhere within a funcsynopsis
- to control the presentation style for output of all
- <tag>funcprototype</tag> instances within that funcsynopsis.</para>
- </refsect1><refsect1><title>Parameters</title>
-
- <variablelist>
- <varlistentry><term>funcsynopsis-style="kr"</term>
- <listitem>
-
- <para>Displays <tag>funcprototype</tag> output in K&R style</para>
- </listitem>
- </varlistentry>
- <varlistentry><term>funcsynopsis-style="ansi"</term>
- <listitem>
-
- <para>Displays <tag>funcprototype</tag> output in ANSI style</para>
- </listitem>
- </varlistentry>
- </variablelist>
- </refsect1><refsect1 role="params"><title>Related Global Parameters</title>
-
- <para><parameter>funcsynopsis.style</parameter></para>
- </refsect1></refentry>
- <refentry id="dbfo_glossary-presentation" xml:base="../fo/pi.xml">
- <refnamediv>
- <refname>dbfo_glossary-presentation</refname>
- <refpurpose>Specifies presentation style for a glossary</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <synopsis><tag class="xmlpi">dbfo glossary-presentation="list"|"blocks"</tag></synopsis>
-
- </refsynopsisdiv>
- <refsect1><title>Description</title>
-
- <para>Use the <tag class="xmlpi">dbfo glossary-presentation</tag> PI as a child of
- a <tag>glossary</tag> to control its presentation style.</para>
- </refsect1><refsect1><title>Parameters</title>
-
- <variablelist>
- <varlistentry><term>glossary-presentation="list"</term>
- <listitem>
-
- <para>Displays the glossary as a list</para>
- </listitem>
- </varlistentry>
- <varlistentry><term>glossary-presentation="blocks"</term>
- <listitem>
-
- <para>Displays the glossary as blocks</para>
- </listitem>
- </varlistentry>
- </variablelist>
- </refsect1><refsect1 role="params"><title>Related Global Parameters</title>
-
- <para><parameter>glossary.as.blocks</parameter></para>
- </refsect1><refsect1 role="tcg"><title>Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link></title>
-
- <para><link role="tcg" xlink:href="Glossaries.html#GlossaryFormatPrint">Glossary
- formatting in print</link></para>
- </refsect1></refentry>
- <refentry id="dbfo_glosslist-presentation" xml:base="../fo/pi.xml">
- <refnamediv>
- <refname>dbfo_glosslist-presentation</refname>
- <refpurpose>Specifies presentation style for a glosslist</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <synopsis><tag class="xmlpi">dbfo glosslist-presentation="list"|"blocks"</tag></synopsis>
-
- </refsynopsisdiv>
- <refsect1><title>Description</title>
-
- <para>Use the <tag class="xmlpi">dbfo glosslist-presentation</tag> PI as a child of
- a <tag>glosslist</tag> to control its presentation style.</para>
- </refsect1><refsect1><title>Parameters</title>
-
- <variablelist>
- <varlistentry><term>glosslist-presentation="list"</term>
- <listitem>
-
- <para>Displays the glosslist as a list</para>
- </listitem>
- </varlistentry>
- <varlistentry><term>glosslist-presentation="blocks"</term>
- <listitem>
-
- <para>Displays the glosslist as blocks</para>
- </listitem>
- </varlistentry>
- </variablelist>
- </refsect1><refsect1 role="params"><title>Related Global Parameters</title>
-
- <para><parameter>glosslist.as.blocks</parameter> </para>
- </refsect1><refsect1 role="tcg"><title>Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link></title>
-
- <para><link role="tcg" xlink:href="Glossaries.html#GlossaryFormatPrint">Glossary
- formatting in print</link></para>
- </refsect1></refentry>
- <refentry id="dbfo_glossterm-width" xml:base="../fo/pi.xml">
- <refnamediv>
- <refname>dbfo_glossterm-width</refname>
- <refpurpose>Specifies the glossterm width for a glossary or
- glosslist</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <synopsis><tag class="xmlpi">dbfo glossterm-width="<replaceable>width</replaceable>"</tag></synopsis>
-
- </refsynopsisdiv>
- <refsect1><title>Description</title>
-
- <para>Use the <tag class="xmlpi">dbfo glossterm-width</tag> PI as a child of a
- <tag>glossary</tag> or <tag>glosslist</tag> to specify the
- width for output of <tag>glossterm</tag> instances in the
- output.</para>
- </refsect1><refsect1><title>Parameters</title>
-
- <variablelist>
- <varlistentry><term>glossterm-width="<replaceable>width</replaceable>"</term>
- <listitem>
-
- <para>Specifies the glossterm width (including units)</para>
- </listitem>
- </varlistentry>
- </variablelist>
- </refsect1><refsect1 role="params"><title>Related Global Parameters</title>
-
- <para><parameter>glossterm.width</parameter>,
- <parameter>glossterm.separation</parameter>
- </para>
- </refsect1><refsect1 role="tcg"><title>Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link></title>
-
- <para><link role="tcg" xlink:href="Glossaries.html#GlossaryFormatPrint">Glossary
- formatting in print</link></para>
- </refsect1></refentry>
- <refentry id="dbfo_keep-together" xml:base="../fo/pi.xml">
- <refnamediv>
- <refname>dbfo_keep-together</refname>
- <refpurpose>Specifies “keep” behavior for a table, example,
- figure, equation, procedure, or task</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <synopsis><tag class="xmlpi">dbfo keep-together="auto"|"always"</tag></synopsis>
-
- </refsynopsisdiv>
- <refsect1><title>Description</title>
-
- <para>Use the <tag class="xmlpi">dbfo keep-together</tag> PI as a child of a
- formal object (<tag>table</tag>, <tag>example</tag>,
- <tag>figure</tag>, <tag>equation</tag>, <tag>procedure</tag>, or
- <tag>task</tag>) to specify “keep” behavior (to allow the object to
- “break” across a page).</para>
-
- <para>The PI also works with <tag>informaltable</tag>, <tag>informalexample</tag>,
- <tag>informalfigure</tag> and <tag>informalequation</tag>.
- </para>
- </refsect1><refsect1><title>Parameters</title>
-
- <variablelist>
- <varlistentry><term>keep-together="auto"</term>
- <listitem>
-
- <para>Enables the object to break across a page</para>
- </listitem>
- </varlistentry>
- <varlistentry><term>keep-together="always"</term>
- <listitem>
-
- <para>Prevents the object from breaking across a page (the
- default stylesheet behavior)</para>
- </listitem>
- </varlistentry>
- </variablelist>
- </refsect1><refsect1 role="params"><title>Related Global Parameters</title>
-
- <para>formal.object.properties</para>
- </refsect1><refsect1 role="tcg"><title>Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link></title>
-
- <para><link role="tcg" xlink:href="PageBreaking.html#KeepTogetherPI">Keep-together processing instruction</link></para>
- </refsect1></refentry>
- <refentry id="dbfo_label-width" xml:base="../fo/pi.xml">
- <refnamediv>
- <refname>dbfo_label-width</refname>
- <refpurpose>Specifies the label width for a qandaset, itemizedlist, orderedlist
- or calloutlist</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <synopsis><tag class="xmlpi">dbfo label-width="<replaceable>width</replaceable>"</tag></synopsis>
-
- </refsynopsisdiv>
- <refsect1><title>Description</title>
-
- <para>Use the <tag class="xmlpi">dbfo label-width</tag> PI as a child of a
- <tag>qandaset</tag>, <tag>itemizedlist</tag>, <tag>orderedlist</tag>,
- or <tag>calloutlist</tag> to specify the width of labels.</para>
- </refsect1><refsect1><title>Parameters</title>
-
- <variablelist>
- <varlistentry><term>label-width="<replaceable>width</replaceable>"</term>
- <listitem>
-
- <para>Specifies the label width (including units)</para>
- </listitem>
- </varlistentry>
- </variablelist>
- </refsect1><refsect1 role="tcg"><title>Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link></title>
-
- <para><link role="tcg" xlink:href="QandAformat.html">Q and A formatting</link></para>
- </refsect1></refentry>
- <refentry id="dbfo_linenumbering.everyNth" xml:base="../fo/pi.xml">
- <refnamediv>
- <refname>dbfo_linenumbering.everyNth</refname>
- <refpurpose>Specifies interval for line numbers in verbatims</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <synopsis><tag class="xmlpi">dbfo linenumbering.everyNth="<replaceable>N</replaceable>"</tag></synopsis>
-
- </refsynopsisdiv>
- <refsect1><title>Description</title>
-
- <para>Use the <tag class="xmlpi">dbfo linenumbering.everyNth</tag> PI as a child
- of a “verbatim” element – <tag>programlisting</tag>,
- <tag>screen</tag>, <tag>synopsis</tag> — to specify
- the interval at which lines are numbered.</para>
- </refsect1><refsect1><title>Parameters</title>
-
- <variablelist>
- <varlistentry><term>linenumbering.everyNth="<replaceable>N</replaceable>"</term>
- <listitem>
-
- <para>Specifies numbering interval; a number is output
- before every <replaceable>N</replaceable>th line</para>
- </listitem>
- </varlistentry>
- </variablelist>
- </refsect1><refsect1 role="params"><title>Related Global Parameters</title>
-
- <para><parameter>linenumbering.everyNth</parameter></para>
- </refsect1><refsect1 role="tcg"><title>Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link></title>
-
- <para><link role="tcg" xlink:href="AnnotateListing.html#LineNumbering">Line numbering</link></para>
- </refsect1></refentry>
- <refentry id="dbfo_linenumbering.separator" xml:base="../fo/pi.xml">
- <refnamediv>
- <refname>dbfo_linenumbering.separator</refname>
- <refpurpose>Specifies separator text for line numbers in verbatims</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <synopsis><tag class="xmlpi">dbfo linenumbering.separator="<replaceable>text</replaceable>"</tag></synopsis>
-
- </refsynopsisdiv>
- <refsect1><title>Description</title>
-
- <para>Use the <tag class="xmlpi">dbfo linenumbering.separator</tag> PI as a child
- of a “verbatim” element – <tag>programlisting</tag>,
- <tag>screen</tag>, <tag>synopsis</tag> — to specify
- the separator text output between the line numbers and content.</para>
- </refsect1><refsect1><title>Parameters</title>
-
- <variablelist>
- <varlistentry><term>linenumbering.separator="<replaceable>text</replaceable>"</term>
- <listitem>
-
- <para>Specifies the text (zero or more characters)</para>
- </listitem>
- </varlistentry>
- </variablelist>
- </refsect1><refsect1 role="params"><title>Related Global Parameters</title>
-
- <para><parameter>linenumbering.separator</parameter></para>
- </refsect1><refsect1 role="tcg"><title>Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link></title>
-
- <para><link role="tcg" xlink:href="AnnotateListing.html#LineNumbering">Line numbering</link></para>
- </refsect1></refentry>
- <refentry id="dbfo_linenumbering.width" xml:base="../fo/pi.xml">
- <refnamediv>
- <refname>dbfo_linenumbering.width</refname>
- <refpurpose>Specifies width for line numbers in verbatims</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <synopsis><tag class="xmlpi">dbfo linenumbering.width="<replaceable>width</replaceable>"</tag></synopsis>
-
- </refsynopsisdiv>
- <refsect1><title>Description</title>
-
- <para>Use the <tag class="xmlpi">dbfo linenumbering.width</tag> PI as a child
- of a “verbatim” element – <tag>programlisting</tag>,
- <tag>screen</tag>, <tag>synopsis</tag> — to specify
- the width set aside for line numbers.</para>
- </refsect1><refsect1><title>Parameters</title>
-
- <variablelist>
- <varlistentry><term>linenumbering.width="<replaceable>width</replaceable>"</term>
- <listitem>
-
- <para>Specifies the width (inluding units)</para>
- </listitem>
- </varlistentry>
- </variablelist>
- </refsect1><refsect1 role="params"><title>Related Global Parameters</title>
-
- <para><parameter>linenumbering.width</parameter></para>
- </refsect1><refsect1 role="tcg"><title>Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link></title>
-
- <para><link role="tcg" xlink:href="AnnotateListing.html#LineNumbering">Line numbering</link></para>
- </refsect1></refentry>
- <refentry id="dbfo_list-presentation" xml:base="../fo/pi.xml">
- <refnamediv>
- <refname>dbfo_list-presentation</refname>
- <refpurpose>Specifies presentation style for a variablelist or
- segmentedlist</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <synopsis><tag class="xmlpi">dbfo list-presentation="list"|"blocks"|"table"</tag></synopsis>
-
- </refsynopsisdiv>
- <refsect1><title>Description</title>
-
- <para>Use the <tag class="xmlpi">dbfo list-presentation</tag> PI as a child of
- a <tag>variablelist</tag> or <tag>segmentedlist</tag> to
- control the presentation style for the list (to cause it, for
- example, to be displayed as a table).</para>
- </refsect1><refsect1><title>Parameters</title>
-
- <variablelist>
- <varlistentry><term>list-presentation="list"</term>
- <listitem>
-
- <para>Displays the list as a list</para>
- </listitem>
- </varlistentry>
- <varlistentry><term>list-presentation="blocks"</term>
- <listitem>
-
- <para>(<tag>variablelist</tag> only) Displays the list as blocks</para>
- </listitem>
- </varlistentry>
- <varlistentry><term>list-presentation="table"</term>
- <listitem>
-
- <para>(<tag>segmentedlist</tag> only) Displays the list as a table</para>
- </listitem>
- </varlistentry>
- </variablelist>
- </refsect1><refsect1 role="params"><title>Related Global Parameters</title>
-
- <itemizedlist>
- <listitem>
-
- <para><parameter>variablelist.as.blocks</parameter></para>
- </listitem>
- <listitem>
-
- <para><parameter>variablelist.as.table</parameter></para>
- </listitem>
- </itemizedlist>
- </refsect1><refsect1 role="tcg"><title>Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link></title>
-
- <para><link role="tcg" xlink:href="Variablelists.html#ListIndents">Variable list formatting in print</link></para>
- </refsect1></refentry>
- <refentry id="dbfo_list-width" xml:base="../fo/pi.xml">
- <refnamediv>
- <refname>dbfo_list-width</refname>
- <refpurpose>Specifies the width of a horizontal simplelist</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <synopsis><tag class="xmlpi">dbfo list-width="<replaceable>width</replaceable>"</tag></synopsis>
-
- </refsynopsisdiv>
- <refsect1><title>Description</title>
-
- <para>Use the <tag class="xmlpi">dbfo list-width</tag> PI as a child of a
- <tag>simplelist</tag> whose <tag class="attribute">class</tag>
- value is <literal>horizontal</literal>, to specify the width
- of the <tag>simplelist</tag>.</para>
- </refsect1><refsect1><title>Parameters</title>
-
- <variablelist>
- <varlistentry><term>list-width="<replaceable>width</replaceable>"</term>
- <listitem>
-
- <para>Specifies the <tag>simplelist</tag> width (including units)</para>
- </listitem>
- </varlistentry>
- </variablelist>
- </refsect1></refentry>
- <refentry id="dbfo_orientation" xml:base="../fo/pi.xml">
- <refnamediv>
- <refname>dbfo_orientation</refname>
- <refpurpose>Specifies the orientation for a CALS table row or cell</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <synopsis><tag class="xmlpi">dbfo orientation="0"|"90"|"180"|"270"|"-90"|"-180"|"-270"</tag></synopsis>
-
- </refsynopsisdiv>
- <refsect1><title>Description</title>
-
- <para>Use the <tag class="xmlpi">dbfo orientation</tag> PI as a child of a CALS
- <tag>table</tag> row or cell to specify the orientation
- (rotation) for the row or cell.</para>
- </refsect1><refsect1><title>Parameters</title>
-
- <variablelist>
- <varlistentry><term>orientation="0"|"90"|"180"|"270"|"-90"|"-180"|"-270"</term>
- <listitem>
-
- <para>Specifies the number of degrees by which the cell or
- row is rotated</para>
- </listitem>
- </varlistentry>
- </variablelist>
- </refsect1></refentry>
- <refentry id="dbfo_pgwide" xml:base="../fo/pi.xml">
- <refnamediv>
- <refname>dbfo_pgwide</refname>
- <refpurpose>Specifies if an <tag>equation</tag> or <tag>example</tag> goes across full page width</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <synopsis><tag class="xmlpi">dbfo pgwide="0"|"1"</tag></synopsis>
-
- </refsynopsisdiv>
- <refsect1><title>Description</title>
-
- <para>Use the <tag class="xmlpi">dbfo pgwide</tag> PI as a child of an
- <tag>equation</tag> or <tag>example</tag> to specify that the
- content should rendered across the full width of the page.</para>
- </refsect1><refsect1><title>Parameters</title>
-
- <variablelist>
- <varlistentry><term>pgwide="0"</term>
- <listitem>
-
- <para>If zero, the content is rendered across the current
- text flow</para>
- </listitem>
- </varlistentry>
- <varlistentry><term>pgwide="1"</term>
- <listitem>
-
- <para>If <code>1</code> (or any non-zero value), the
- content is rendered across the full width of the page</para>
- </listitem>
- </varlistentry>
- </variablelist>
- </refsect1><refsect1 role="params"><title>Related Global Parameters</title>
-
- <para><parameter>pgwide.properties</parameter></para>
- </refsect1></refentry>
- <refentry id="dbfo_rotated-width" xml:base="../fo/pi.xml">
- <refnamediv>
- <refname>dbfo_rotated-width</refname>
- <refpurpose>Specifies the width for a CALS table <tag>entry</tag> or
- <tag>row</tag></refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <synopsis><tag class="xmlpi">dbfo rotated-width="<replaceable>width</replaceable>"</tag></synopsis>
-
- </refsynopsisdiv>
- <refsect1><title>Description</title>
-
- <para>Use the <tag class="xmlpi">dbfo rotated-width</tag> PI as a child of
- <tag>entry</tag> or <tag>row</tag> instance in a CALS table to specify the
- width of that the <tag>entry</tag> or <tag>row</tag>; or
- use it higher up in table to cause the width to be inherited
- recursively down.</para>
- </refsect1><refsect1><title>Parameters</title>
-
- <variablelist>
- <varlistentry><term>rotated-width="<replaceable>width</replaceable>"</term>
- <listitem>
-
- <para>Specifies the width of a row or cell (including units)</para>
- </listitem>
- </varlistentry>
- </variablelist>
- </refsect1></refentry>
- <refentry id="dbfo_sidebar-width" xml:base="../fo/pi.xml">
- <refnamediv>
- <refname>dbfo_sidebar-width</refname>
- <refpurpose>Specifies the width of a sidebar</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <synopsis><tag class="xmlpi">dbfo sidebar-width="<replaceable>width</replaceable>"</tag></synopsis>
-
- </refsynopsisdiv>
- <refsect1><title>Description</title>
-
- <para>Use the <tag class="xmlpi">dbfo sidebar-width</tag> PI as a child of a
- <tag>sidebar</tag> to specify the width of the sidebar.</para>
- </refsect1><refsect1><title>Parameters</title>
-
- <variablelist>
- <varlistentry><term>sidebar-width="<replaceable>width</replaceable>"</term>
- <listitem>
-
- <para>Specifies the <tag>sidebar</tag> width (including units)</para>
- </listitem>
- </varlistentry>
- </variablelist>
- </refsect1><refsect1 role="params"><title>Related Global Parameters</title>
-
- <para><parameter>sidebar.float.type parameter</parameter>,
- <parameter>sidebar.float.width parameter</parameter>,
- <parameter>sidebar.properties attribute-set</parameter>,
- <parameter>sidebar.title.properties</parameter>
- </para>
- </refsect1><refsect1 role="tcg"><title>Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link></title>
-
- <para><link role="tcg" xlink:href="SideFloats.html#SidebarFloats">A sidebar as
- side float</link></para>
- </refsect1></refentry>
- <refentry id="dbfo_start" xml:base="../fo/pi.xml">
- <refnamediv>
- <refname>dbfo_start</refname>
- <refpurpose>(obsolete) Sets the starting number on an ordered list</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <synopsis><tag class="xmlpi">dbfo start="<replaceable>character</replaceable>"</tag></synopsis>
-
- </refsynopsisdiv>
- <refsect1><title>Description</title>
-
- <para><emphasis>This PI is obsolete</emphasis>. The intent of
- it was to provide a means for setting a specific starting
- number for an ordered list. Instead of this PI, set a value
- for the <literal>override</literal> attribute on the first
- <tag>listitem</tag> in the list; that will have the same
- effect as what this PI was intended for.</para>
- </refsect1><refsect1><title>Parameters</title>
-
- <variablelist>
- <varlistentry><term>start="<replaceable>character</replaceable>"</term>
- <listitem>
-
- <para>Specifies the character to use as the starting
- number; use 0-9, a-z, A-Z, or lowercase or uppercase
- Roman numerals</para>
- </listitem>
- </varlistentry>
- </variablelist>
- </refsect1><refsect1 role="tcg"><title>Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link></title>
-
- <para><link role="tcg" xlink:href="Orderedlists.html#ListStartNum">List starting number</link></para>
- </refsect1></refentry>
- <refentry id="dbfo_table-width" xml:base="../fo/pi.xml">
- <refnamediv>
- <refname>dbfo_table-width</refname>
- <refpurpose>Specifies the width for a CALS table or for revhistory
- output</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <synopsis><tag class="xmlpi">dbfo table-width="<replaceable>width</replaceable>"</tag></synopsis>
-
- </refsynopsisdiv>
- <refsect1><title>Description</title>
-
- <para>Use the <tag class="xmlpi">dbfo table-width</tag> PI as a child or
- sibling of a CALS <tag>table</tag>, or as a child of an
- <tag>informaltable</tag>, <tag>entrytbl</tag>, or
- <tag>revhistory</tag> instance (which is rendered as a table
- in output) to specify the width of the table in output.</para>
- </refsect1><refsect1><title>Parameters</title>
-
- <variablelist>
- <varlistentry><term>table-width="<replaceable>width</replaceable>"</term>
- <listitem>
-
- <para>Specifies the table width (including units or as a percentage)</para>
- </listitem>
- </varlistentry>
- </variablelist>
- </refsect1><refsect1 role="tcg"><title>Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link></title>
-
- <para><link role="tcg" xlink:href="Tables.html#TableWidth">Table width</link></para>
- </refsect1></refentry>
- <refentry id="dbfo_term-width" xml:base="../fo/pi.xml">
- <refnamediv>
- <refname>dbfo_term-width</refname>
- <refpurpose>Specifies the term width for a variablelist</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <synopsis><tag class="xmlpi">dbfo term-width="<replaceable>width</replaceable>"</tag></synopsis>
-
- </refsynopsisdiv>
- <refsect1><title>Description</title>
-
- <para>Use the <tag class="xmlpi">dbfo term-width</tag> PI as a child of a
- <tag>variablelist</tag> to specify the width for
- <tag>term</tag> output.</para>
- </refsect1><refsect1><title>Parameters</title>
-
- <variablelist>
- <varlistentry><term>term-width="<replaceable>width</replaceable>"</term>
- <listitem>
-
- <para>Specifies the term width (including units)</para>
- </listitem>
- </varlistentry>
- </variablelist>
- </refsect1><refsect1 role="tcg"><title>Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link></title>
-
- <para><link role="tcg" xlink:href="Variablelists.html#ListIndents">Variable list formatting in print</link></para>
- </refsect1></refentry>
- <refentry id="dbfo_toc" xml:base="../fo/pi.xml">
- <refnamediv>
- <refname>dbfo_toc</refname>
- <refpurpose>Specifies whether a TOC should be generated for a qandaset</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <synopsis><tag class="xmlpi">dbfo toc="0"|"1"</tag></synopsis>
-
- </refsynopsisdiv>
- <refsect1><title>Description</title>
-
- <para>Use the <tag class="xmlpi">dbfo toc</tag> PI as a child of a
- <tag>qandaset</tag> to specify whether a table of contents
- (TOC) is generated for the <tag>qandaset</tag>.</para>
- </refsect1><refsect1><title>Parameters</title>
-
- <variablelist>
- <varlistentry><term>toc="0"</term>
- <listitem>
-
- <para>If zero, no TOC is generated</para>
- </listitem>
- </varlistentry>
- <varlistentry><term>toc="1"</term>
- <listitem>
-
- <para>If <code>1</code> (or any non-zero value),
- a TOC is generated</para>
- </listitem>
- </varlistentry>
- </variablelist>
- </refsect1><refsect1 role="tcg"><title>Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link></title>
-
- <para><link role="tcg" xlink:href="QandAtoc.html">Q and A list of questions</link>,
- <link role="tcg" xlink:href="QandAformat.html">Q and A formatting</link></para>
- </refsect1></refentry>
- <refentry id="dbfo-need" xml:base="../fo/pi.xml">
- <refnamediv>
- <refname>dbfo-need</refname>
- <refpurpose>Specify a need for space (a kind of soft page break)</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <synopsis><tag class="xmlpi">dbfo-need height="<replaceable>n</replaceable>" [space-before="<replaceable>n</replaceable>"]</tag></synopsis>
-
- </refsynopsisdiv>
- <refsect1><title>Description</title>
-
- <para>A “need” is a request for space on a page. If the
- requested space is not available, the page breaks and the
- content that follows the need request appears on the next
- page. If the requested space is available, then no page break
- is inserted.</para>
- </refsect1><refsect1><title>Parameters</title>
-
- <variablelist>
- <varlistentry><term>height="<replaceable>n</replaceable>"</term>
- <listitem>
-
- <para>The amount of height needed (including units)</para>
- </listitem>
- </varlistentry>
- <varlistentry><term>space-before="<replaceable>n</replaceable>"</term>
- <listitem>
-
- <para>The amount of extra vertical space to add (including units)</para>
- </listitem>
- </varlistentry>
- </variablelist>
- </refsect1><refsect1 role="tcg"><title>Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link></title>
-
- <para><link role="tcg" xlink:href="PageBreaking.html#SoftPageBreaks">Soft page breaks</link></para>
- </refsect1></refentry>
- <refentry id="dbfo_row-height" xml:base="../fo/pi.xml">
- <refnamediv>
- <refname>dbfo_row-height</refname>
- <refpurpose>Specifies the height for a CALS table row</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <synopsis><tag class="xmlpi">dbfo row-height="<replaceable>height</replaceable>"</tag></synopsis>
-
- </refsynopsisdiv>
- <refsect1><title>Description</title>
-
- <para>Use the <tag class="xmlpi">dbfo row-height</tag> PI as a child of a
- <tag>row</tag> to specify the height of the row.</para>
- </refsect1><refsect1><title>Parameters</title>
-
- <variablelist>
- <varlistentry><term>row-height="<replaceable>height</replaceable>"</term>
- <listitem>
-
- <para>Specifies the row height (including units)</para>
- </listitem>
- </varlistentry>
- </variablelist>
- </refsect1><refsect1 role="tcg"><title>Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link></title>
-
- <para><link role="tcg" xlink:href="RowHeight.html">Row height</link></para>
- </refsect1></refentry>
- </part>
- <part id="pi-man">
- <info xml:base="../manpages/pi.xml"><title>manpages Processing Instruction Reference</title>
- <releaseinfo role="meta">
- $Id: pi.xsl 7644 2008-01-16 11:04:07Z xmldoc $
- </releaseinfo>
- </info>
- <partintro id="partintro" xml:base="../manpages/pi.xml">
- <title>Introduction</title>
-
- <para>This is generated reference documentation for all
- user-specifiable processing instructions (PIs) in the DocBook
- XSL stylesheets for manpages output.
- <note>
-
- <para>You add these PIs at particular points in a document to
- cause specific “exceptions” to formatting/output behavior. To
- make global changes in formatting/output behavior across an
- entire document, it’s better to do it by setting an
- appropriate stylesheet parameter (if there is one).</para>
- </note>
- </para>
- </partintro>
- <refentry id="dbman_funcsynopsis-style" xml:base="../manpages/pi.xml">
- <refnamediv>
- <refname>dbman_funcsynopsis-style</refname>
- <refpurpose>Specifies presentation style for a funcsynopsis.</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <synopsis><tag class="xmlpi">dbman funcsynopsis-style="kr"|"ansi"</tag></synopsis>
-
- </refsynopsisdiv>
- <refsect1><title>Description</title>
-
- <para>Use the <tag class="xmlpi">dbman
- funcsynopsis-style</tag> PI as a child of a
- <tag>funcsynopsis</tag> or anywhere within a funcsynopsis
- to control the presentation style for output of all
- <tag>funcprototype</tag> instances within that funcsynopsis.</para>
- </refsect1><refsect1><title>Parameters</title>
-
- <variablelist>
- <varlistentry><term>funcsynopsis-style="kr"</term>
- <listitem>
-
- <para>Displays the <tag>funcprototype</tag> in K&R style</para>
- </listitem>
- </varlistentry>
- <varlistentry><term>funcsynopsis-style="ansi"</term>
- <listitem>
-
- <para>Displays the <tag>funcprototype</tag> in ANSI style</para>
- </listitem>
- </varlistentry>
- </variablelist>
- </refsect1><refsect1 role="params"><title>Related Global Parameters</title>
-
- <para><parameter>man.funcsynopsis.style</parameter></para>
- </refsect1></refentry>
- </part>
- <part id="pi-common">
- <info xml:base="../common/pi.xml"><title>Common Processing Instruction Reference</title>
- <releaseinfo role="meta">
- $Id: pi.xsl 8782 2010-07-27 21:15:17Z mzjn $
- </releaseinfo>
- </info>
- <partintro id="partintro" xml:base="../common/pi.xml">
- <title>Introduction</title>
-
- <para>This is generated reference documentation for all
- user-specifiable processing instructions (PIs) in the
- “common” part of the DocBook XSL stylesheets.
- <note>
-
- <para>You add these PIs at particular points in a document to
- cause specific “exceptions” to formatting/output behavior. To
- make global changes in formatting/output behavior across an
- entire document, it’s better to do it by setting an
- appropriate stylesheet parameter (if there is one).</para>
- </note>
- </para>
- </partintro>
- <refentry id="dbchoice_choice" xml:base="../common/pi.xml">
- <refnamediv>
- <refname>dbchoice_choice</refname>
- <refpurpose>Generates a localized choice separator</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <synopsis><tag class="xmlpi">dbchoice choice="and"|"or"|<replaceable>string</replaceable>"</tag></synopsis>
-
- </refsynopsisdiv>
- <refsect1><title>Description</title>
-
- <para>Use the <tag class="xmlpi">dbchoice choice</tag> PI to
- generate an appropriate localized “choice” separator (for
- example, <literal>and</literal> or <literal>or</literal>)
- before the final item in an inline <tag>simplelist</tag></para>
- <warning>
-
- <para>This PI is a less-than-ideal hack; support for it may
- disappear in the future (particularly if and when a more
- appropriate means for marking up "choice" lists becomes
- available in DocBook).</para>
- </warning>
- </refsect1><refsect1><title>Parameters</title>
-
- <variablelist>
- <varlistentry><term>choice="and"</term>
- <listitem>
-
- <para>generates a localized <literal>and</literal> separator</para>
- </listitem>
- </varlistentry>
- <varlistentry><term>choice="or"</term>
- <listitem>
-
- <para>generates a localized <literal>or</literal> separator</para>
- </listitem>
- </varlistentry>
- <varlistentry><term>choice="<replaceable>string</replaceable>"</term>
- <listitem>
-
- <para>generates a literal <replaceable>string</replaceable> separator</para>
- </listitem>
- </varlistentry>
- </variablelist>
- </refsect1></refentry>
- <refentry id="dbtimestamp" xml:base="../common/pi.xml">
- <refnamediv>
- <refname>dbtimestamp</refname>
- <refpurpose>Inserts a date timestamp</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <synopsis><tag class="xmlpi">dbtimestamp format="<replaceable>formatstring</replaceable>" [padding="0"|"1"]</tag></synopsis>
-
- </refsynopsisdiv>
- <refsect1><title>Description</title>
-
- <para>Use the <tag class="xmlpi">dbtimestamp</tag> PI at any point in a
- source document to cause a date timestamp (a formatted
- string representing the current date and time) to be
- inserted in output of the document.</para>
- </refsect1><refsect1><title>Parameters</title>
-
- <variablelist>
- <varlistentry><term>format="<replaceable>formatstring</replaceable>"</term>
- <listitem>
-
- <para>Specifies format in which the date and time are
- output</para>
- <note>
-
- <para>For details of the content of the format string,
- see <link role="tcg" xlink:href="Datetime.html">Date and time</link>.</para>
- </note>
- </listitem>
- </varlistentry>
- <varlistentry><term>padding="0"|"1"</term>
- <listitem>
-
- <para>Specifies padding behavior; if non-zero, padding is is added</para>
- </listitem>
- </varlistentry>
- </variablelist>
- </refsect1></refentry>
- <refentry id="dbtex_delims" xml:base="../common/pi.xml">
- <refnamediv>
- <refname>dbtex_delims</refname>
- <refpurpose>Generates delimiters around embedded TeX equations
- in output</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <synopsis><tag class="xmlpi">dbtex delims="no"|"yes"</tag></synopsis>
-
- </refsynopsisdiv>
- <refsect1><title>Description</title>
-
- <para>Use the <tag class="xmlpi">dbtex delims</tag> PI as a
- child of a <tag>textobject</tag> containing embedded TeX
- markup, to cause that markup to be surrounded by
- <literal>$</literal> delimiter characters in output.</para>
- <warning>
-
- <para>This feature is useful for print/PDF output only if you
- use the obsolete and now unsupported PassiveTeX XSL-FO
- engine.</para>
- </warning>
- </refsect1><refsect1><title>Parameters</title>
-
- <variablelist>
- <varlistentry><term>dbtex delims="no"|"yes"</term>
- <listitem>
-
- <para>Specifies whether delimiters are output</para>
- </listitem>
- </varlistentry>
- </variablelist>
- </refsect1><refsect1 role="params"><title>Related Global Parameters</title>
-
- <para><parameter>tex.math.delims</parameter></para>
- </refsect1></refentry>
- </part>
- </book>
- <book id="developer"><title>DocBook XSL Stylesheets Developer Reference</title>
- <info>
- <abstract>
- <para>This is technical reference documentation for
- developers using the DocBook XSL Stylesheets. It is not
- intended to be user documentation, but is instead
- provided for developers writing customization layers for
- the stylesheets.</para>
- </abstract>
- </info>
- <part id="lib">
- <?dbhtml dir="lib"?>
- <?dbhtml filename="index.html"?>
- <title xml:base="../lib/lib.xml">XSL Library Template Reference</title>
- <partintro id="libintro">
- <title xml:base="../lib/lib.xml">Introduction</title>
- <para xml:base="../lib/lib.xml">This is technical reference documentation for the
- vocabulary-independent “library” templates in the DocBook XSL
- Stylesheets.</para>
- <para xml:base="../lib/lib.xml">This is not intended to be user documentation. It is
- provided for developers writing customization layers for the
- stylesheets.</para>
-
- </partintro>
- <reference id="generallibrary" xml:base="../lib/lib.xml">
- <title>General Library Templates</title>
- <refentry id="dot.count">
- <refnamediv>
- <refname>dot.count</refname>
- <refpurpose>Returns the number of <quote>.</quote> characters in a string</refpurpose>
- </refnamediv>
- <refsect1><title>Description</title>
- <para>Given a string, the <function>dot.count</function>
- template returns the number of dot/period characters in the
- string. This template is useful, for example, when testing the
- nesting level of nested inline markup (for nested emphasis,
- quotations, etc.).</para>
- <programlisting id="dot.count.frag">
- <xsl:template name="dot.count">
- <!-- Returns the number of "." characters in a string -->
- <xsl:param name="string"></xsl:param>
- <xsl:param name="count" select="0"></xsl:param>
- <xsl:choose>
- <xsl:when test="contains($string, '.')">
- <xsl:call-template name="dot.count">
- <xsl:with-param name="string" select="substring-after($string, '.')"></xsl:with-param>
- <xsl:with-param name="count" select="$count+1"></xsl:with-param>
- </xsl:call-template>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="$count"></xsl:value-of>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
- </programlisting>
- </refsect1>
- </refentry>
- <refentry id="copy-string">
- <refnamediv>
- <refname>copy-string</refname>
- <refpurpose>Returns <quote>count</quote> copies of a string</refpurpose>
- </refnamediv>
- <refsect1><title>Description</title>
- <para>Given a string, the <function>copy-string</function>
- template creates <replaceable>n</replaceable> copies of the
- string, when the value of <replaceable>n</replaceable> is
- given by the <parameter>count</parameter> parameter.</para>
- <programlisting id="copy-string.frag">
- <xsl:template name="copy-string">
- <!-- returns 'count' copies of 'string' -->
- <xsl:param name="string"></xsl:param>
- <xsl:param name="count" select="0"></xsl:param>
- <xsl:param name="result"></xsl:param>
- <xsl:choose>
- <xsl:when test="$count>0">
- <xsl:call-template name="copy-string">
- <xsl:with-param name="string" select="$string"></xsl:with-param>
- <xsl:with-param name="count" select="$count - 1"></xsl:with-param>
- <xsl:with-param name="result">
- <xsl:value-of select="$result"></xsl:value-of>
- <xsl:value-of select="$string"></xsl:value-of>
- </xsl:with-param>
- </xsl:call-template>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="$result"></xsl:value-of>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
- </programlisting>
- </refsect1>
- </refentry>
- <refentry id="string.subst">
- <refnamediv>
- <refname>string.subst</refname>
- <refpurpose>Substitute one text string for another in a string</refpurpose>
- </refnamediv>
- <refsect1><title>Description</title>
- <para>The <function>string.subst</function> template replaces all
- occurances of <parameter>target</parameter> in <parameter>string</parameter>
- with <parameter>replacement</parameter> and returns the result.
- </para>
- <programlisting id="string.subst.frag">
- <xsl:template name="string.subst">
- <xsl:param name="string"></xsl:param>
- <xsl:param name="target"></xsl:param>
- <xsl:param name="replacement"></xsl:param>
- <xsl:choose>
- <xsl:when test="contains($string, $target)">
- <xsl:variable name="rest">
- <xsl:call-template name="string.subst">
- <xsl:with-param name="string" select="substring-after($string, $target)"></xsl:with-param>
- <xsl:with-param name="target" select="$target"></xsl:with-param>
- <xsl:with-param name="replacement" select="$replacement"></xsl:with-param>
- </xsl:call-template>
- </xsl:variable>
- <xsl:value-of select="concat(substring-before($string, $target), $replacement, $rest)"></xsl:value-of>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="$string"></xsl:value-of>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
- </programlisting>
- </refsect1>
- </refentry>
- <refentry id="xpointer.idref">
- <refnamediv>
- <refname>xpointer.idref</refname>
- <refpurpose>Extract IDREF from an XPointer</refpurpose>
- </refnamediv>
- <refsect1><title>Description</title>
- <para>The <function>xpointer.idref</function> template returns the
- ID portion of an XPointer which is a pointer to an ID within the current
- document, or the empty string if it is not.</para>
- <para>In other words, <function>xpointer.idref</function> returns
- <quote>foo</quote> when passed either <literal>#foo</literal>
- or <literal>#xpointer(id('foo'))</literal>, otherwise it returns
- the empty string.</para>
- <programlisting id="xpointer.idref.frag">
- <xsl:template name="xpointer.idref">
- <xsl:param name="xpointer">http://...</xsl:param>
- <xsl:choose>
- <xsl:when test="starts-with($xpointer, '#xpointer(id(')">
- <xsl:variable name="rest" select="substring-after($xpointer, '#xpointer(id(')"></xsl:variable>
- <xsl:variable name="quote" select="substring($rest, 1, 1)"></xsl:variable>
- <xsl:value-of select="substring-before(substring-after($xpointer, $quote), $quote)"></xsl:value-of>
- </xsl:when>
- <xsl:when test="starts-with($xpointer, '#')">
- <xsl:value-of select="substring-after($xpointer, '#')"></xsl:value-of>
- </xsl:when>
- <!-- otherwise it's a pointer to some other document -->
- </xsl:choose>
- </xsl:template>
- </programlisting>
- </refsect1>
- </refentry>
- <refentry id="idref">
- <refnamediv>
- <refname>idref</refname>
- <refpurpose>Extract IDREF from a linking element</refpurpose>
- </refnamediv>
- <refsect1><title>Description</title>
- <para>The <function>idref</function> template accepts
- any <tag>xref</tag> or universally linking element as a parameter
- and returns the local
- ID that it points to.
- If it has a <tag class="attribute">linkend</tag> attribute,
- it returns that value.
- If it has a <tag class="attribute">xlink:href</tag>, it
- returns that value, parsed as needed to extract just
- the id reference. Otherwise it returns an empty string.</para>
- <programlisting id="idref.frag">
- <xsl:template name="idref">
- <xsl:param name="xref" select="."></xsl:param>
- <xsl:param name="linkend" select="$xref/@linkend"></xsl:param>
- <xsl:param name="xpointer">
- <xsl:call-template name="xpointer.idref">
- <xsl:with-param name="xpointer" select="$xref/@xlink:href"></xsl:with-param>
- </xsl:call-template>
- </xsl:param>
- <xsl:choose>
- <xsl:when test="string-length($linkend) != 0">
- <xsl:value-of select="$linkend"></xsl:value-of>
- </xsl:when>
- <xsl:when test="string-length($xpointer) != 0">
- <xsl:value-of select="$xpointer"></xsl:value-of>
- </xsl:when>
- <!-- otherwise it's a pointer to some other document -->
- </xsl:choose>
- </xsl:template>
- </programlisting>
- </refsect1>
- </refentry>
- <refentry id="length-magnitude">
- <refnamediv>
- <refname>length-magnitude</refname>
- <refpurpose>Return the unqualified dimension from a length specification</refpurpose>
- </refnamediv>
- <refsect1><title>Description</title>
- <para>The <function>length-magnitude</function> template returns the
- unqualified length ("20" for "20pt") from a dimension.
- </para>
- <programlisting id="length-magnitude.frag">
- <xsl:template name="length-magnitude">
- <xsl:param name="length" select="'0pt'"></xsl:param>
- <xsl:choose>
- <xsl:when test="string-length($length) = 0"></xsl:when>
- <xsl:when test="substring($length,1,1) = '0' or substring($length,1,1) = '1' or substring($length,1,1) = '2' or substring($length,1,1) = '3' or substring($length,1,1) = '4' or substring($length,1,1) = '5' or substring($length,1,1) = '6' or substring($length,1,1) = '7' or substring($length,1,1) = '8' or substring($length,1,1) = '9' or substring($length,1,1) = '.'">
- <xsl:value-of select="substring($length,1,1)"></xsl:value-of>
- <xsl:call-template name="length-magnitude">
- <xsl:with-param name="length" select="substring($length,2)"></xsl:with-param>
- </xsl:call-template>
- </xsl:when>
- </xsl:choose>
- </xsl:template>
- </programlisting>
- </refsect1>
- </refentry>
- <refentry id="length-units">
- <refnamediv>
- <refname>length-units</refname>
- <refpurpose>Return the units from a length specification</refpurpose>
- </refnamediv>
- <refsect1><title>Description</title>
- <para>The <function>length-units</function> template returns the
- units ("pt" for "20pt") from a length. If no units are supplied on the
- length, the <parameter>defauilt.units</parameter> are returned.</para>
- <programlisting id="length-units.frag">
- <xsl:template name="length-units">
- <xsl:param name="length" select="'0pt'"></xsl:param>
- <xsl:param name="default.units" select="'px'"></xsl:param>
- <xsl:variable name="magnitude">
- <xsl:call-template name="length-magnitude">
- <xsl:with-param name="length" select="$length"></xsl:with-param>
- </xsl:call-template>
- </xsl:variable>
- <xsl:variable name="units">
- <xsl:value-of select="substring($length, string-length($magnitude)+1)"></xsl:value-of>
- </xsl:variable>
- <xsl:choose>
- <xsl:when test="$units = ''">
- <xsl:value-of select="$default.units"></xsl:value-of>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="$units"></xsl:value-of>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
- </programlisting>
- </refsect1>
- </refentry>
- <refentry id="length-spec">
- <refnamediv>
- <refname>length-spec</refname>
- <refpurpose>Return a fully qualified length specification</refpurpose>
- </refnamediv>
- <refsect1><title>Description</title>
- <para>The <function>length-spec</function> template returns the
- qualified length from a dimension. If an unqualified length is given,
- the <parameter>default.units</parameter> will be added to it.
- </para>
- <programlisting id="length-spec.frag">
- <xsl:template name="length-spec">
- <xsl:param name="length" select="'0pt'"></xsl:param>
- <xsl:param name="default.units" select="'px'"></xsl:param>
- <xsl:variable name="magnitude">
- <xsl:call-template name="length-magnitude">
- <xsl:with-param name="length" select="$length"></xsl:with-param>
- </xsl:call-template>
- </xsl:variable>
- <xsl:variable name="units">
- <xsl:value-of select="substring($length, string-length($magnitude)+1)"></xsl:value-of>
- </xsl:variable>
- <xsl:value-of select="$magnitude"></xsl:value-of>
- <xsl:choose>
- <xsl:when test="$units='cm' or $units='mm' or $units='in' or $units='pt' or $units='pc' or $units='px' or $units='em'">
- <xsl:value-of select="$units"></xsl:value-of>
- </xsl:when>
- <xsl:when test="$units = ''">
- <xsl:value-of select="$default.units"></xsl:value-of>
- </xsl:when>
- <xsl:otherwise>
- <xsl:message>
- <xsl:text>Unrecognized unit of measure: </xsl:text>
- <xsl:value-of select="$units"></xsl:value-of>
- <xsl:text>.</xsl:text>
- </xsl:message>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
- </programlisting>
- </refsect1>
- </refentry>
- <refentry id="length-in-points">
- <refnamediv>
- <refname>length-in-points</refname>
- <refpurpose>Returns the size, in points, of a specified length</refpurpose>
- </refnamediv>
- <refsect1><title>Description</title>
- <para>The <function>length-in-points</function> template converts a length
- specification to points and returns that value as an unqualified
- number.
- </para>
- <caution>
- <para>There is no way for the template to infer the size of an
- <literal>em</literal>. It relies on the default <parameter>em.size</parameter>
- which is initially <literal>10</literal> (for 10pt).</para>
- <para>Similarly, converting pixels to points relies on the
- <parameter>pixels.per.inch</parameter> parameter which is initially
- <literal>90</literal>.
- </para>
- </caution>
- <programlisting id="length-in-points.frag">
- <xsl:template name="length-in-points">
- <xsl:param name="length" select="'0pt'"></xsl:param>
- <xsl:param name="em.size" select="10"></xsl:param>
- <xsl:param name="pixels.per.inch" select="90"></xsl:param>
- <xsl:variable name="magnitude">
- <xsl:call-template name="length-magnitude">
- <xsl:with-param name="length" select="$length"></xsl:with-param>
- </xsl:call-template>
- </xsl:variable>
- <xsl:variable name="units">
- <xsl:value-of select="substring($length, string-length($magnitude)+1)"></xsl:value-of>
- </xsl:variable>
- <xsl:choose>
- <xsl:when test="$units = 'pt'">
- <xsl:value-of select="$magnitude"></xsl:value-of>
- </xsl:when>
- <xsl:when test="$units = 'cm'">
- <xsl:value-of select="$magnitude div 2.54 * 72.0"></xsl:value-of>
- </xsl:when>
- <xsl:when test="$units = 'mm'">
- <xsl:value-of select="$magnitude div 25.4 * 72.0"></xsl:value-of>
- </xsl:when>
- <xsl:when test="$units = 'in'">
- <xsl:value-of select="$magnitude * 72.0"></xsl:value-of>
- </xsl:when>
- <xsl:when test="$units = 'pc'">
- <xsl:value-of select="$magnitude * 12.0"></xsl:value-of>
- </xsl:when>
- <xsl:when test="$units = 'px'">
- <xsl:value-of select="$magnitude div $pixels.per.inch * 72.0"></xsl:value-of>
- </xsl:when>
- <xsl:when test="$units = 'em'">
- <xsl:value-of select="$magnitude * $em.size"></xsl:value-of>
- </xsl:when>
- <xsl:otherwise>
- <xsl:message>
- <xsl:text>Unrecognized unit of measure: </xsl:text>
- <xsl:value-of select="$units"></xsl:value-of>
- <xsl:text>.</xsl:text>
- </xsl:message>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
- </programlisting>
- </refsect1>
- </refentry>
- <refentry id="pi-attribute">
- <refnamediv>
- <refname>pi-attribute</refname>
- <refpurpose>Extract a pseudo-attribute from a PI</refpurpose>
- </refnamediv>
- <refsect1><title>Description</title>
- <para>The <function>pi-attribute</function> template extracts a pseudo-attribute
- from a processing instruction. For example, given the PI
- <quote><literal><?foo bar="1" baz='red'?></literal></quote>,</para>
- <programlisting><xsl:call-template name="pi-attribute">
- <xsl:with-param name="pis" select="processing-instruction('foo')"/>
- <xsl:with-param name="attribute" select="'baz'"/>
- </xsl:call-template></programlisting>
- <para>will return <quote>red</quote>. This template returns the first matching
- attribute that it finds. Presented with processing instructions that
- contain badly formed pseudo-attributes (missing or unbalanced quotes,
- for example), the template may silently return erroneous results.</para>
- <programlisting id="pi-attribute.frag">
- <xsl:template name="pi-attribute">
- <xsl:param name="pis" select="processing-instruction('BOGUS_PI')"></xsl:param>
- <xsl:param name="attribute">filename</xsl:param>
- <xsl:param name="count">1</xsl:param>
- <xsl:choose>
- <xsl:when test="$count>count($pis)">
- <!-- not found -->
- </xsl:when>
- <xsl:otherwise>
- <xsl:variable name="pi">
- <xsl:value-of select="$pis[$count]"></xsl:value-of>
- </xsl:variable>
- <xsl:variable name="pivalue">
- <xsl:value-of select="concat(' ', normalize-space($pi))"></xsl:value-of>
- </xsl:variable>
- <xsl:choose>
- <xsl:when test="contains($pivalue,concat(' ', $attribute, '='))">
- <xsl:variable name="rest" select="substring-after($pivalue,concat(' ', $attribute,'='))"></xsl:variable>
- <xsl:variable name="quote" select="substring($rest,1,1)"></xsl:variable>
- <xsl:value-of select="substring-before(substring($rest,2),$quote)"></xsl:value-of>
- </xsl:when>
- <xsl:otherwise>
- <xsl:call-template name="pi-attribute">
- <xsl:with-param name="pis" select="$pis"></xsl:with-param>
- <xsl:with-param name="attribute" select="$attribute"></xsl:with-param>
- <xsl:with-param name="count" select="$count + 1"></xsl:with-param>
- </xsl:call-template>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
- </programlisting>
- </refsect1>
- </refentry>
- <refentry id="lookup.key">
- <refnamediv>
- <refname>lookup.key</refname>
- <refpurpose>Retrieve the value associated with a particular key in a table</refpurpose>
- </refnamediv>
- <refsect1><title>Description</title>
- <para>Given a table of space-delimited key/value pairs,
- the <function>lookup.key</function> template extracts the value associated
- with a particular key.</para>
- <programlisting id="lookup.key.frag">
- <xsl:template name="lookup.key">
- <xsl:param name="key" select="''"></xsl:param>
- <xsl:param name="table" select="''"></xsl:param>
- <xsl:if test="contains($table, ' ')">
- <xsl:choose>
- <xsl:when test="substring-before($table, ' ') = $key">
- <xsl:variable name="rest" select="substring-after($table, ' ')"></xsl:variable>
- <xsl:choose>
- <xsl:when test="contains($rest, ' ')">
- <xsl:value-of select="substring-before($rest, ' ')"></xsl:value-of>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="$rest"></xsl:value-of>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:when>
- <xsl:otherwise>
- <xsl:call-template name="lookup.key">
- <xsl:with-param name="key" select="$key"></xsl:with-param>
- <xsl:with-param name="table" select="substring-after(substring-after($table,' '), ' ')"></xsl:with-param>
- </xsl:call-template>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:if>
- </xsl:template>
- </programlisting>
- </refsect1>
- </refentry>
- <refentry id="xpath.location">
- <refnamediv>
- <refname>xpath.location</refname>
- <refpurpose>Calculate the XPath child-sequence to the current node</refpurpose>
- </refnamediv>
- <refsect1><title>Description</title>
- <para>The <function>xpath.location</function> template calculates the
- absolute path from the root of the tree to the current element node.
- </para>
- <programlisting id="xpath.location.frag">
- <xsl:template name="xpath.location">
- <xsl:param name="node" select="."></xsl:param>
- <xsl:param name="path" select="''"></xsl:param>
- <xsl:variable name="next.path">
- <xsl:value-of select="local-name($node)"></xsl:value-of>
- <xsl:if test="$path != ''">/</xsl:if>
- <xsl:value-of select="$path"></xsl:value-of>
- </xsl:variable>
- <xsl:choose>
- <xsl:when test="$node/parent::*">
- <xsl:call-template name="xpath.location">
- <xsl:with-param name="node" select="$node/parent::*"></xsl:with-param>
- <xsl:with-param name="path" select="$next.path"></xsl:with-param>
- </xsl:call-template>
- </xsl:when>
- <xsl:otherwise>
- <xsl:text>/</xsl:text>
- <xsl:value-of select="$next.path"></xsl:value-of>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
- </programlisting>
- </refsect1>
- </refentry>
- <refentry id="comment-escape-string">
- <refnamediv>
- <refname>comment-escape-string</refname>
- <refpurpose>Prepare a string for inclusion in an XML comment</refpurpose>
- </refnamediv>
- <refsect1><title>Description</title>
- <para>The <function>comment-escape-string</function> template returns a string
- that has been transformed so that it can safely be output as an XML comment.
- Internal occurrences of "--" will be replaced with "- -" and a leading and/or
- trailing space will be added to the string, if necessary.</para>
- <programlisting id="comment-escape-string.frag">
- <xsl:template name="comment-escape-string">
- <xsl:param name="string" select="''"></xsl:param>
- <xsl:if test="starts-with($string, '-')">
- <xsl:text> </xsl:text>
- </xsl:if>
- <xsl:call-template name="comment-escape-string.recursive">
- <xsl:with-param name="string" select="$string"></xsl:with-param>
- </xsl:call-template>
- <xsl:if test="substring($string, string-length($string), 1) = '-'">
- <xsl:text> </xsl:text>
- </xsl:if>
- </xsl:template>
- </programlisting>
- </refsect1>
- </refentry>
- <refentry id="comment-escape-string.recursive">
- <refnamediv>
- <refname>comment-escape-string.recursive</refname>
- <refpurpose>Internal function used by comment-escape-string</refpurpose>
- </refnamediv>
- <refsect1><title>Description</title>
- <para>The <function>comment-escape-string.recursive</function> template is used
- by <function>comment-escape-string</function>.</para>
- <programlisting id="comment-escape-string.recursive.frag">
- <xsl:template name="comment-escape-string.recursive">
- <xsl:param name="string" select="''"></xsl:param>
- <xsl:choose>
- <xsl:when test="contains($string, '--')">
- <xsl:value-of select="substring-before($string, '--')"></xsl:value-of>
- <xsl:value-of select="'- -'"></xsl:value-of>
- <xsl:call-template name="comment-escape-string.recursive">
- <xsl:with-param name="string" select="substring-after($string, '--')"></xsl:with-param>
- </xsl:call-template>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="$string"></xsl:value-of>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
- </programlisting>
- </refsect1>
- </refentry>
- <refentry id="trim.text">
- <refnamediv>
- <refname>trim.text</refname>
- <refpurpose>Trim leading and trailing whitespace from a text node</refpurpose>
- </refnamediv>
- <refsect1><title>Description</title>
- <para>Given a text node, this function trims leading and trailing
- whitespace from it and returns the trimmed contents.</para>
- <programlisting id="trim.text.frag">
- <xsl:template name="trim.text">
- <xsl:param name="contents" select="."></xsl:param>
- <xsl:variable name="contents-left-trimmed">
- <xsl:call-template name="trim-left">
- <xsl:with-param name="contents" select="$contents"></xsl:with-param>
- </xsl:call-template>
- </xsl:variable>
- <xsl:variable name="contents-trimmed">
- <xsl:call-template name="trim-right">
- <xsl:with-param name="contents" select="$contents-left-trimmed"></xsl:with-param>
- </xsl:call-template>
- </xsl:variable>
- <xsl:value-of select="$contents-trimmed"></xsl:value-of>
- </xsl:template>
- <xsl:template name="trim-left">
- <xsl:param name="contents"></xsl:param>
- <xsl:choose>
- <xsl:when test="starts-with($contents,'
- ') or starts-with($contents,'
') or starts-with($contents,' ') or starts-with($contents,' ')">
- <xsl:call-template name="trim-left">
- <xsl:with-param name="contents" select="substring($contents, 2)"></xsl:with-param>
- </xsl:call-template>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="$contents"></xsl:value-of>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
- <xsl:template name="trim-right">
- <xsl:param name="contents"></xsl:param>
- <xsl:variable name="last-char">
- <xsl:value-of select="substring($contents, string-length($contents), 1)"></xsl:value-of>
- </xsl:variable>
- <xsl:choose>
- <xsl:when test="($last-char = '
- ') or ($last-char = '
') or ($last-char = ' ') or ($last-char = ' ')">
- <xsl:call-template name="trim-right">
- <xsl:with-param name="contents" select="substring($contents, 1, string-length($contents) - 1)"></xsl:with-param>
- </xsl:call-template>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="$contents"></xsl:value-of>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
- </programlisting>
- </refsect1>
- </refentry>
- <refentry id="str.tokenize.keep.delimiters">
- <refnamediv>
- <refname>str.tokenize.keep.delimiters</refname>
- <refpurpose>Tokenize a string while preserving any delimiters</refpurpose>
- </refnamediv>
- <refsect1><title>Description</title>
- <para>Based on the occurrence of one or more delimiter characters,
- this function breaks a string into a list of tokens and delimiters,
- marking up each of the tokens with a <tag>token</tag> element
- and preserving the delimiters as text nodes between the tokens.</para>
- <note>
- <para>This function is a very slightly modified version of a
- function from the <link xlink:href="http://www.exslt.org/">EXSLT
- site</link>. The original is available at:
- <blockquote><para><link xlink:href="http://www.exslt.org/str/functions/tokenize/str.tokenize.template.xsl"/></para></blockquote>
- The <function>str.tokenize.keep.delimiters</function> function
- differs only in that it preserves the delimiters instead of
- discarding them.</para>
- </note>
- <programlisting id="str.tokenize.keep.delimiters.frag">
- <xsl:template name="str.tokenize.keep.delimiters">
- <xsl:param name="string" select="''"></xsl:param>
- <xsl:param name="delimiters" select="' '"></xsl:param>
- <xsl:choose>
- <xsl:when test="not($string)"></xsl:when>
- <xsl:when test="not($delimiters)">
- <xsl:call-template name="str.tokenize.keep.delimiters-characters">
- <xsl:with-param name="string" select="$string"></xsl:with-param>
- </xsl:call-template>
- </xsl:when>
- <xsl:otherwise>
- <xsl:call-template name="str.tokenize.keep.delimiters-delimiters">
- <xsl:with-param name="string" select="$string"></xsl:with-param>
- <xsl:with-param name="delimiters" select="$delimiters"></xsl:with-param>
- </xsl:call-template>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
- <xsl:template name="str.tokenize.keep.delimiters-characters">
- <xsl:param name="string"></xsl:param>
- <xsl:if test="$string">
- <ssb:token><xsl:value-of select="substring($string, 1, 1)"></xsl:value-of></ssb:token>
- <xsl:call-template name="str.tokenize.keep.delimiters-characters">
- <xsl:with-param name="string" select="substring($string, 2)"></xsl:with-param>
- </xsl:call-template>
- </xsl:if>
- </xsl:template>
- <xsl:template name="str.tokenize.keep.delimiters-delimiters">
- <xsl:param name="string"></xsl:param>
- <xsl:param name="delimiters"></xsl:param>
- <xsl:variable name="delimiter" select="substring($delimiters, 1, 1)"></xsl:variable>
- <xsl:choose>
- <xsl:when test="not($delimiter)">
- <ssb:token><xsl:value-of select="$string"></xsl:value-of></ssb:token>
- </xsl:when>
- <xsl:when test="contains($string, $delimiter)">
- <xsl:if test="not(starts-with($string, $delimiter))">
- <xsl:call-template name="str.tokenize.keep.delimiters-delimiters">
- <xsl:with-param name="string" select="substring-before($string, $delimiter)"></xsl:with-param>
- <xsl:with-param name="delimiters" select="substring($delimiters, 2)"></xsl:with-param>
- </xsl:call-template>
- </xsl:if>
- <!-- output each delimiter -->
- <xsl:value-of select="$delimiter"></xsl:value-of>
- <xsl:call-template name="str.tokenize.keep.delimiters-delimiters">
- <xsl:with-param name="string" select="substring-after($string, $delimiter)"></xsl:with-param>
- <xsl:with-param name="delimiters" select="$delimiters"></xsl:with-param>
- </xsl:call-template>
- </xsl:when>
- <xsl:otherwise>
- <xsl:call-template name="str.tokenize.keep.delimiters-delimiters">
- <xsl:with-param name="string" select="$string"></xsl:with-param>
- <xsl:with-param name="delimiters" select="substring($delimiters, 2)"></xsl:with-param>
- </xsl:call-template>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
- </programlisting>
- </refsect1>
- </refentry>
- <refentry id="apply-string-subst-map">
- <refnamediv>
- <refname>apply-string-subst-map</refname>
- <refpurpose>Apply a string-substitution map</refpurpose>
- </refnamediv>
- <refsect1><title>Description</title>
- <para>This function applies a “string substitution” map. Use it when
- you want to do multiple string substitutions on the same target
- content. It reads in two things: <parameter>content</parameter>, the
- content on which to perform the substitution, and
- <parameter>map.contents</parameter>, a node set of
- elements (the names of the elements don't matter), with each element
- having the following attributes:
- <itemizedlist>
- <listitem>
- <simpara><tag class="attribute">oldstring</tag>, a string to
- be replaced</simpara>
- </listitem>
- <listitem>
- <simpara><tag class="attribute">newstring</tag>, a string with
- which to replace <tag class="attribute">oldstring</tag></simpara>
- </listitem>
- </itemizedlist>
- The function uses <parameter>map.contents</parameter> to
- do substitution on <parameter>content</parameter>, and then
- returns the modified contents.</para>
- <note>
- <para>This function is a very slightly modified version of Jeni
- Tennison’s <function>replace_strings</function> function in the
- <link xlink:href="http://www.dpawson.co.uk/xsl/sect2/StringReplace.html#d9351e13">multiple string replacements</link> section of Dave Pawson’s
- <link xlink:href="http://www.dpawson.co.uk/xsl/index.html">XSLT
- FAQ</link>.</para>
- <para>The <function>apply-string-subst-map</function> function is
- essentially the same function as the
- <function>apply-character-map</function> function; the only
- difference is that in the map that
- <function>apply-string-subst-map</function> expects, <tag class="attribute">oldstring</tag> and <tag class="attribute">newstring</tag> attributes are used instead of
- <tag class="attribute">character</tag> and <tag class="attribute">string</tag> attributes.</para>
- </note>
- <programlisting id="apply-string-subst-map.frag">
- <xsl:template name="apply-string-subst-map">
- <xsl:param name="content"></xsl:param>
- <xsl:param name="map.contents"></xsl:param>
- <xsl:variable name="replaced_text">
- <xsl:call-template name="string.subst">
- <xsl:with-param name="string" select="$content"></xsl:with-param>
- <xsl:with-param name="target" select="$map.contents[1]/@oldstring"></xsl:with-param>
- <xsl:with-param name="replacement" select="$map.contents[1]/@newstring"></xsl:with-param>
- </xsl:call-template>
- </xsl:variable>
- <xsl:choose>
- <xsl:when test="$map.contents[2]">
- <xsl:call-template name="apply-string-subst-map">
- <xsl:with-param name="content" select="$replaced_text"></xsl:with-param>
- <xsl:with-param name="map.contents" select="$map.contents[position() > 1]"></xsl:with-param>
- </xsl:call-template>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="$replaced_text"></xsl:value-of>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
- </programlisting>
- </refsect1>
- </refentry>
- </reference><reference id="relativeuri" xml:base="../lib/lib.xml">
- <title>Relative URI Functions</title>
- <partintro id="partintro"><title>Introduction</title>
- <para>These functions manipulate relative URI references.</para>
- <para>The following assumptions must hold true:</para>
- <orderedlist>
- <listitem>
- <para>All URIs are relative.</para>
- </listitem>
- <listitem>
- <para>No URI contains the <quote><literal>../</literal></quote> sequence
- which would effectively move <quote>up</quote> the hierarchy.</para>
- </listitem>
- </orderedlist>
- <para>If these assumptions do not hold, the results are unpredictable.</para>
- </partintro>
- <refentry id="count.uri.path.depth">
- <refnamediv>
- <refname>count.uri.path.depth</refname>
- <refpurpose>Count the number of path components in a relative URI</refpurpose>
- </refnamediv>
- <refsect1><title>Description</title>
- <para>This function counts the number of path components in a relative URI.</para>
- <programlisting id="count.uri.path.depth.frag">
- <xsl:template name="count.uri.path.depth">
- <xsl:param name="filename" select="''"></xsl:param>
- <xsl:param name="count" select="0"></xsl:param>
- <xsl:choose>
- <xsl:when test="contains($filename, '/')">
- <xsl:call-template name="count.uri.path.depth">
- <xsl:with-param name="filename" select="substring-after($filename, '/')"></xsl:with-param>
- <xsl:with-param name="count" select="$count + 1"></xsl:with-param>
- </xsl:call-template>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="$count"></xsl:value-of>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
- </programlisting>
- </refsect1>
- </refentry>
- <refentry id="trim.common.uri.paths">
- <refnamediv>
- <refname>trim.common.uri.paths</refname>
- <refpurpose>Trim common leading path components from a relative URI</refpurpose>
- </refnamediv>
- <refsect1><title>Description</title>
- <para>This function trims common leading path components from a relative URI.</para>
- <programlisting id="trim.common.uri.paths.frag">
- <xsl:template name="trim.common.uri.paths">
- <xsl:param name="uriA" select="''"></xsl:param>
- <xsl:param name="uriB" select="''"></xsl:param>
- <xsl:param name="return" select="'A'"></xsl:param>
- <!-- Resolve any ../ in the path -->
- <xsl:variable name="trimmed.uriA">
- <xsl:call-template name="resolve.path">
- <xsl:with-param name="filename" select="$uriA"></xsl:with-param>
- </xsl:call-template>
- </xsl:variable>
- <xsl:variable name="trimmed.uriB">
- <xsl:call-template name="resolve.path">
- <xsl:with-param name="filename" select="$uriB"></xsl:with-param>
- </xsl:call-template>
- </xsl:variable>
- <xsl:choose>
- <xsl:when test="contains($trimmed.uriA, '/') and contains($trimmed.uriB, '/') and substring-before($trimmed.uriA, '/') = substring-before($trimmed.uriB, '/')">
- <xsl:call-template name="trim.common.uri.paths">
- <xsl:with-param name="uriA" select="substring-after($trimmed.uriA, '/')"></xsl:with-param>
- <xsl:with-param name="uriB" select="substring-after($trimmed.uriB, '/')"></xsl:with-param>
- <xsl:with-param name="return" select="$return"></xsl:with-param>
- </xsl:call-template>
- </xsl:when>
- <xsl:otherwise>
- <xsl:choose>
- <xsl:when test="$return = 'A'">
- <xsl:value-of select="$trimmed.uriA"></xsl:value-of>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="$trimmed.uriB"></xsl:value-of>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
- </programlisting>
- </refsect1>
- </refentry>
- <refentry id="resolve.path">
- <refnamediv>
- <refname>resolve.path</refname>
- <refpurpose>Resolve any ../ in path, except leading ../</refpurpose>
- </refnamediv>
- <refsect1><title>Description</title>
- <para>This function resolves any relative ../ parts of a file path.</para>
- <programlisting id="resolve.path.frag">
- <xsl:template name="resolve.path">
- <xsl:param name="filename" select="''"></xsl:param>
- <xsl:choose>
- <!-- Leading .. are not eliminated -->
- <xsl:when test="starts-with($filename, '../')">
- <xsl:value-of select="'../'"></xsl:value-of>
- <xsl:call-template name="resolve.path">
- <xsl:with-param name="filename" select="substring-after($filename, '../')"></xsl:with-param>
- </xsl:call-template>
- </xsl:when>
- <xsl:when test="contains($filename, '/../')">
- <xsl:call-template name="resolve.path">
- <xsl:with-param name="filename">
- <xsl:call-template name="dirname">
- <xsl:with-param name="filename" select="substring-before($filename, '/../')"></xsl:with-param>
- </xsl:call-template>
- <xsl:value-of select="substring-after($filename, '/../')"></xsl:value-of>
- </xsl:with-param>
- </xsl:call-template>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="$filename"></xsl:value-of>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
- </programlisting>
- </refsect1>
- </refentry>
- <refentry id="dirname">
- <refnamediv>
- <refname>dirname</refname>
- <refpurpose>Return directory part of a path</refpurpose>
- </refnamediv>
- <refsect1><title>Description</title>
- <para>This function returns the directory part of a path.</para>
- <programlisting id="dirname.frag">
- <xsl:template name="dirname">
- <xsl:param name="filename" select="''"></xsl:param>
- <xsl:if test="contains($filename, '/')">
- <xsl:value-of select="substring-before($filename, '/')"></xsl:value-of>
- <xsl:text>/</xsl:text>
- <xsl:call-template name="dirname">
- <xsl:with-param name="filename" select="substring-after($filename, '/')"></xsl:with-param>
- </xsl:call-template>
- </xsl:if>
- </xsl:template>
- </programlisting>
- </refsect1>
- </refentry>
- </reference>
- </part>
- <part id="common-part"><title>Common Template Reference</title>
- <?dbhtml dir="common"?>
- <?dbhtml filename="index.html"?>
- <info>
- <abstract>
- <para>This is technical reference documentation for the
- “base”, “refentry”, and “utility” sets of common
- templates in the DocBook XSL Stylesheets. These
- templates are “common” in that they are shared across
- output formats (that is, they’re not
- output-format-dependent)</para>
- <para>This documentation is not intended to be user
- documentation. It is provided for developers writing
- customization layers for the stylesheets.</para>
- </abstract>
- </info>
- <reference id="base" xml:base="../common/common.xml">
- <info>
- <title>Common » Base Template Reference</title>
- <releaseinfo role="meta">
- $Id: common.xsl 9347 2012-05-11 03:49:49Z bobstayton $
- </releaseinfo>
- </info>
-
- <partintro id="partintro">
- <title>Introduction</title>
-
- <para>This is technical reference documentation for the “base”
- set of common templates in the DocBook XSL Stylesheets.</para>
-
- <para>This is not intended to be user documentation. It is
- provided for developers writing customization layers for the
- stylesheets.</para>
- </partintro>
- <refentry id="template.is.component">
- <refnamediv>
- <refname>is.component</refname>
- <refpurpose>Tests if a given node is a component-level element</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <synopsis><xsl:template name="is.component">
- <xsl:param name="node" select="."/>
- ...
- </xsl:template></synopsis>
- </refsynopsisdiv>
- <refsect1><title>Description</title>
- <para>This template returns '1' if the specified node is a component
- (Chapter, Appendix, etc.), and '0' otherwise.</para>
- </refsect1><refsect1><title>Parameters</title>
- <variablelist>
- <varlistentry><term>node</term>
- <listitem>
- <para>The node which is to be tested.</para>
- </listitem>
- </varlistentry>
- </variablelist>
- </refsect1><refsect1><title>Returns</title>
- <para>This template returns '1' if the specified node is a component
- (Chapter, Appendix, etc.), and '0' otherwise.</para>
- </refsect1></refentry>
- <refentry id="template.is.section">
- <refnamediv>
- <refname>is.section</refname>
- <refpurpose>Tests if a given node is a section-level element</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <synopsis><xsl:template name="is.section">
- <xsl:param name="node" select="."/>
- ...
- </xsl:template></synopsis>
- </refsynopsisdiv>
- <refsect1><title>Description</title>
- <para>This template returns '1' if the specified node is a section
- (Section, Sect1, Sect2, etc.), and '0' otherwise.</para>
- </refsect1><refsect1><title>Parameters</title>
- <variablelist>
- <varlistentry><term>node</term>
- <listitem>
- <para>The node which is to be tested.</para>
- </listitem>
- </varlistentry>
- </variablelist>
- </refsect1><refsect1><title>Returns</title>
- <para>This template returns '1' if the specified node is a section
- (Section, Sect1, Sect2, etc.), and '0' otherwise.</para>
- </refsect1></refentry>
- <refentry id="template.section.level">
- <refnamediv>
- <refname>section.level</refname>
- <refpurpose>Returns the hierarchical level of a section</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <synopsis><xsl:template name="section.level">
- <xsl:param name="node" select="."/>
- ...
- </xsl:template></synopsis>
- </refsynopsisdiv>
- <refsect1><title>Description</title>
- <para>This template calculates the hierarchical level of a section.
- The element <tag>sect1</tag> is at level 1, <tag>sect2</tag> is
- at level 2, etc.</para>
- <para>Recursive sections are calculated down to the fifth level.</para>
- </refsect1><refsect1><title>Parameters</title>
- <variablelist>
- <varlistentry><term>node</term>
- <listitem>
- <para>The section node for which the level should be calculated.
- Defaults to the context node.</para>
- </listitem>
- </varlistentry>
- </variablelist>
- </refsect1><refsect1><title>Returns</title>
- <para>The section level, <quote>1</quote>, <quote>2</quote>, etc.
- </para>
- </refsect1></refentry>
- <refentry id="template.qanda.section.level">
- <refnamediv>
- <refname>qanda.section.level</refname>
- <refpurpose>Returns the hierarchical level of a QandASet</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <synopsis><xsl:template name="qanda.section.level"/></synopsis>
- </refsynopsisdiv>
- <refsect1><title>Description</title>
- <para>This template calculates the hierarchical level of a QandASet.
- </para>
- </refsect1><refsect1><title>Returns</title>
- <para>The level, <quote>1</quote>, <quote>2</quote>, etc.
- </para>
- </refsect1></refentry>
- <refentry id="template.select.mediaobject">
- <refnamediv>
- <refname>select.mediaobject</refname>
- <refpurpose>Selects and processes an appropriate media object from a list</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <synopsis><xsl:template name="select.mediaobject">
- <xsl:param name="olist" select="imageobject|imageobjectco |videoobject|audioobject|textobject"/>
- ...
- </xsl:template></synopsis>
- </refsynopsisdiv>
- <refsect1><title>Description</title>
- <para>This template takes a list of media objects (usually the
- children of a mediaobject or inlinemediaobject) and processes
- the "right" object.</para>
- <para>This template relies on a template named
- "select.mediaobject.index" to determine which object
- in the list is appropriate.</para>
- <para>If no acceptable object is located, nothing happens.</para>
- </refsect1><refsect1><title>Parameters</title>
- <variablelist>
- <varlistentry><term>olist</term>
- <listitem>
- <para>The node list of potential objects to examine.</para>
- </listitem>
- </varlistentry>
- </variablelist>
- </refsect1><refsect1><title>Returns</title>
- <para>Calls <xsl:apply-templates> on the selected object.</para>
- </refsect1></refentry>
- <refentry id="template.select.mediaobject.index">
- <refnamediv>
- <refname>select.mediaobject.index</refname>
- <refpurpose>Selects the position of the appropriate media object from a list</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <synopsis><xsl:template name="select.mediaobject.index">
- <xsl:param name="olist" select="imageobject|imageobjectco |videoobject|audioobject|textobject"/>
- <xsl:param name="count">1</xsl:param>
- ...
- </xsl:template></synopsis>
- </refsynopsisdiv>
- <refsect1><title>Description</title>
- <para>This template takes a list of media objects (usually the
- children of a mediaobject or inlinemediaobject) and determines
- the "right" object. It returns the position of that object
- to be used by the calling template.</para>
- <para>If the parameter <parameter>use.role.for.mediaobject</parameter>
- is nonzero, then it first checks for an object with
- a role attribute of the appropriate value. It takes the first
- of those. Otherwise, it takes the first acceptable object
- through a recursive pass through the list.</para>
- <para>This template relies on a template named "is.acceptable.mediaobject"
- to determine if a given object is an acceptable graphic. The semantics
- of media objects is that the first acceptable graphic should be used.
- </para>
- <para>If no acceptable object is located, no index is returned.</para>
- </refsect1><refsect1><title>Parameters</title>
- <variablelist>
- <varlistentry><term>olist</term>
- <listitem>
- <para>The node list of potential objects to examine.</para>
- </listitem>
- </varlistentry>
- <varlistentry><term>count</term>
- <listitem>
- <para>The position in the list currently being considered by the
- recursive process.</para>
- </listitem>
- </varlistentry>
- </variablelist>
- </refsect1><refsect1><title>Returns</title>
- <para>Returns the position in the original list of the selected object.</para>
- </refsect1></refentry>
- <refentry id="template.is.acceptable.mediaobject">
- <refnamediv>
- <refname>is.acceptable.mediaobject</refname>
- <refpurpose>Returns '1' if the specified media object is recognized</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <synopsis><xsl:template name="is.acceptable.mediaobject">
- <xsl:param name="object"/>
- ...
- </xsl:template></synopsis>
- </refsynopsisdiv>
- <refsect1><title>Description</title>
- <para>This template examines a media object and returns '1' if the
- object is recognized as a graphic.</para>
- </refsect1><refsect1><title>Parameters</title>
- <variablelist>
- <varlistentry><term>object</term>
- <listitem>
- <para>The media object to consider.</para>
- </listitem>
- </varlistentry>
- </variablelist>
- </refsect1><refsect1><title>Returns</title>
- <para>0 or 1</para>
- </refsect1></refentry>
- <refentry id="template.check.id.unique">
- <refnamediv>
- <refname>check.id.unique</refname>
- <refpurpose>Warn users about references to non-unique IDs</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <synopsis><xsl:template name="check.id.unique">
- <xsl:param name="linkend"/>
- ...
- </xsl:template></synopsis>
- </refsynopsisdiv>
- <refsect1><title>Description</title>
- <para>If passed an ID in <varname>linkend</varname>,
- <function>check.id.unique</function> prints
- a warning message to the user if either the ID does not exist or
- the ID is not unique.</para>
- </refsect1></refentry>
- <refentry id="template.check.idref.targets">
- <refnamediv>
- <refname>check.idref.targets</refname>
- <refpurpose>Warn users about incorrectly typed references</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <synopsis><xsl:template name="check.idref.targets">
- <xsl:param name="linkend"/>
- <xsl:param name="element-list"/>
- ...
- </xsl:template></synopsis>
- </refsynopsisdiv>
- <refsect1><title>Description</title>
- <para>If passed an ID in <varname>linkend</varname>,
- <function>check.idref.targets</function> makes sure that the element
- pointed to by the link is one of the elements listed in
- <varname>element-list</varname> and warns the user otherwise.</para>
- </refsect1></refentry>
- <refentry id="template.copyright.years">
- <refnamediv>
- <refname>copyright.years</refname>
- <refpurpose>Print a set of years with collapsed ranges</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <synopsis><xsl:template name="copyright.years">
- <xsl:param name="years"/>
- <xsl:param name="print.ranges" select="1"/>
- <xsl:param name="single.year.ranges" select="0"/>
- <xsl:param name="firstyear" select="0"/>
- <xsl:param name="nextyear" select="0"/>
- ...
- </xsl:template></synopsis>
- </refsynopsisdiv>
- <refsect1><title>Description</title>
- <para>This template prints a list of year elements with consecutive
- years printed as a range. In other words:</para>
- <screen><year>1992</year>
- <year>1993</year>
- <year>1994</year></screen>
- <para>is printed <quote>1992-1994</quote>, whereas:</para>
- <screen><year>1992</year>
- <year>1994</year></screen>
- <para>is printed <quote>1992, 1994</quote>.</para>
- <para>This template assumes that all the year elements contain only
- decimal year numbers, that the elements are sorted in increasing
- numerical order, that there are no duplicates, and that all the years
- are expressed in full <quote>century+year</quote>
- (<quote>1999</quote> not <quote>99</quote>) notation.</para>
- </refsect1><refsect1><title>Parameters</title>
- <variablelist>
- <varlistentry><term>years</term>
- <listitem>
- <para>The initial set of year elements.</para>
- </listitem>
- </varlistentry>
- <varlistentry><term>print.ranges</term>
- <listitem>
- <para>If non-zero, multi-year ranges are collapsed. If zero, all years
- are printed discretely.</para>
- </listitem>
- </varlistentry>
- <varlistentry><term>single.year.ranges</term>
- <listitem>
- <para>If non-zero, two consecutive years will be printed as a range,
- otherwise, they will be printed discretely. In other words, a single
- year range is <quote>1991-1992</quote> but discretely it's
- <quote>1991, 1992</quote>.</para>
- </listitem>
- </varlistentry>
- </variablelist>
- </refsect1><refsect1><title>Returns</title>
- <para>This template returns the formatted list of years.</para>
- </refsect1></refentry>
- <refentry id="template.find.path.params">
- <refnamediv>
- <refname>find.path.params</refname>
- <refpurpose>Search in a table for the "best" match for the node</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <synopsis><xsl:template name="find.path.params">
- <xsl:param name="node" select="."/>
- <xsl:param name="table" select="''"/>
- <xsl:param name="location">
- <xsl:call-template name="xpath.location">
- <xsl:with-param name="node" select="$node"/>
- </xsl:call-template>
- </xsl:param>
- ...
- </xsl:template></synopsis>
- </refsynopsisdiv>
- <refsect1><title>Description</title>
- <para>This template searches in a table for the value that most-closely
- (in the typical best-match sense of XSLT) matches the current (element)
- node location.</para>
- </refsect1></refentry>
- <refentry id="template.string.upper">
- <refnamediv>
- <refname>string.upper</refname>
- <refpurpose>Converts a string to all uppercase letters</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <synopsis><xsl:template name="string.upper">
- <xsl:param name="string" select="''"/>
- ...
- </xsl:template></synopsis>
- </refsynopsisdiv>
- <refsect1><title>Description</title>
- <para>Given a string, this template does a language-aware conversion
- of that string to all uppercase letters, based on the values of the
- <literal>lowercase.alpha</literal> and
- <literal>uppercase.alpha</literal> gentext keys for the current
- locale. It affects only those characters found in the values of
- <literal>lowercase.alpha</literal> and
- <literal>uppercase.alpha</literal>. All other characters are left
- unchanged.</para>
- </refsect1><refsect1><title>Parameters</title>
- <variablelist>
- <varlistentry><term>string</term>
- <listitem>
- <para>The string to convert to uppercase.</para>
- </listitem>
- </varlistentry>
- </variablelist>
- </refsect1></refentry>
- <refentry id="template.string.lower">
- <refnamediv>
- <refname>string.lower</refname>
- <refpurpose>Converts a string to all lowercase letters</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <synopsis><xsl:template name="string.lower">
- <xsl:param name="string" select="''"/>
- ...
- </xsl:template></synopsis>
- </refsynopsisdiv>
- <refsect1><title>Description</title>
- <para>Given a string, this template does a language-aware conversion
- of that string to all lowercase letters, based on the values of the
- <literal>uppercase.alpha</literal> and
- <literal>lowercase.alpha</literal> gentext keys for the current
- locale. It affects only those characters found in the values of
- <literal>uppercase.alpha</literal> and
- <literal>lowercase.alpha</literal>. All other characters are left
- unchanged.</para>
- </refsect1><refsect1><title>Parameters</title>
- <variablelist>
- <varlistentry><term>string</term>
- <listitem>
- <para>The string to convert to lowercase.</para>
- </listitem>
- </varlistentry>
- </variablelist>
- </refsect1></refentry>
- <refentry id="template.select.choice.separator">
- <refnamediv>
- <refname>select.choice.separator</refname>
- <refpurpose>Returns localized choice separator</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <synopsis><xsl:template name="select.choice.separator"/></synopsis>
- </refsynopsisdiv>
- <refsect1><title>Description</title>
-
- <para>This template enables auto-generation of an appropriate
- localized "choice" separator (for example, "and" or "or") before
- the final item in an inline list (though it could also be useful
- for generating choice separators for non-inline lists).</para>
-
- <para>It currently works by evaluating a processing instruction
- (PI) of the form <?dbchoice choice="foo"?> :
-
- <itemizedlist>
- <listitem>
- <simpara>if the value of the <tag>choice</tag>
- pseudo-attribute is "and" or "or", returns a localized "and"
- or "or"</simpara>
- </listitem>
- <listitem>
- <simpara>otherwise returns the literal value of the
- <tag>choice</tag> pseudo-attribute</simpara>
- </listitem>
- </itemizedlist>
- The latter is provided only as a temporary workaround because the
- locale files do not currently have translations for the word
- <wordasword>or</wordasword>. So if you want to generate a a
- logical "or" separator in French (for example), you currently need
- to do this:
- <literallayout><?dbchoice choice="ou"?></literallayout>
- </para>
- <warning>
-
- <para>The <tag>dbchoice</tag> processing instruction is
- an unfortunate hack; support for it may disappear in the future
- (particularly if and when a more appropriate means for marking
- up "choice" lists becomes available in DocBook).</para>
- </warning>
- </refsect1></refentry>
- <refentry id="template.evaluate.info.profile">
- <refnamediv>
- <refname>evaluate.info.profile</refname>
- <refpurpose>Evaluates an info profile</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <synopsis><xsl:template name="evaluate.info.profile">
- <xsl:param name="profile"/>
- <xsl:param name="info"/>
- ...
- </xsl:template></synopsis>
- </refsynopsisdiv>
- <refsect1><title>Description</title>
-
- <para>This template evaluates an "info profile" matching the XPath
- expression given by the <parameter>profile</parameter>
- parameter. It relies on the XSLT <function>evaluate()</function>
- extension function.</para>
-
- <para>The value of the <parameter>profile</parameter> parameter
- can include the literal string <literal>$info</literal>. If found
- in the value of the <parameter>profile</parameter> parameter, the
- literal string <literal>$info</literal> string is replaced with
- the value of the <parameter>info</parameter> parameter, which
- should be a set of <replaceable>*info</replaceable> nodes; the
- expression is then evaluated using the XSLT
- <function>evaluate()</function> extension function.</para>
- </refsect1><refsect1><title>Parameters</title>
-
- <variablelist>
- <varlistentry>
- <term>profile</term>
- <listitem>
-
- <para>A string representing an XPath expression </para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>info</term>
- <listitem>
-
- <para>A set of *info nodes</para>
- </listitem>
- </varlistentry>
- </variablelist>
- </refsect1><refsect1><title>Returns</title>
-
- <para>Returns a node (the result of evaluating the
- <parameter>profile</parameter> parameter)</para>
- </refsect1></refentry>
- <refentry id="template.graphic.format.content-type">
- <refnamediv>
- <refname>graphic.format.content-type</refname>
- <refpurpose>Returns mimetype for media format</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <synopsis><xsl:template name="graphic.format.content-type">
- <xsl:param name="format"/>
- ...
- </xsl:template></synopsis>
- </refsynopsisdiv>
- <refsect1><title>Description</title>
-
- <para>This takes as input a 'format' param and returns
- a mimetype string. It uses an xsl:choose after first
- converting the input to all uppercase.</para>
- </refsect1></refentry>
- </reference>
- <reference id="refentry" xml:base="../common/refentry.xml">
- <info>
- <title>Common » Refentry Metadata Template Reference</title>
- <releaseinfo role="meta">
- $Id: refentry.xsl 7867 2008-03-07 09:54:25Z xmldoc $
- </releaseinfo>
- </info>
-
- <partintro id="partintro">
- <title>Introduction</title>
-
- <para>This is technical reference documentation for the “refentry
- metadata” templates in the DocBook XSL Stylesheets.</para>
-
- <para>This is not intended to be user documentation. It is provided
- for developers writing customization layers for the stylesheets.</para>
- <note>
-
- <para>Currently, only the manpages stylesheets make use of these
- templates. They are, however, potentially useful elsewhere.</para>
- </note>
- </partintro>
- <refentry id="template.get.refentry.metadata">
- <refnamediv>
- <refname>get.refentry.metadata</refname>
- <refpurpose>Gathers metadata from a refentry and its ancestors</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <synopsis><xsl:template name="get.refentry.metadata">
- <xsl:param name="refname"/>
- <xsl:param name="info"/>
- <xsl:param name="prefs"/>
- ...
- </xsl:template></synopsis>
- </refsynopsisdiv>
- <refsect1><title>Description</title>
-
- <para>Reference documentation for particular commands, functions,
- etc., is sometimes viewed in isolation from its greater "context". For
- example, users view Unix man pages as, well, individual pages, not as
- part of a "book" of some kind. Therefore, it is sometimes necessary to
- embed "context" information in output for each <tag>refentry</tag>.</para>
-
- <para>However, one problem is that different users mark up that
- context information in different ways. Often (usually), the
- context information is not actually part of the content of the
- <tag>refentry</tag> itself, but instead part of the content of a
- parent or ancestor element to the <tag>refentry</tag>. And
- even then, DocBook provides a variety of elements that users might
- potentially use to mark up the same kind of information. One user
- might use the <tag>productnumber</tag> element to mark up version
- information about a particular product, while another might use
- the <tag>releaseinfo</tag> element.</para>
-
- <para>Taking all that in mind, the
- <function>get.refentry.metadata</function> template tries to gather
- metadata from a <tag>refentry</tag> element and its ancestor
- elements in an intelligent and user-configurable way. The basic
- mechanism used in the XPath expressions throughout this stylesheet
- is to select the relevant metadata from the *info element that is
- closest to the actual <tag>refentry</tag> – either on the
- <tag>refentry</tag> itself, or on its nearest ancestor.</para>
- <note>
-
- <para>The <function>get.refentry.metadata</function>
- template is actually just sort of a "driver" template; it
- calls other templates that do the actual data collection,
- then returns the data as a set.</para>
- </note>
- </refsect1><refsect1><title>Parameters</title>
-
- <variablelist>
- <varlistentry>
- <term>refname</term>
- <listitem>
-
- <para>The first <tag>refname</tag> in the refentry</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>info</term>
- <listitem>
-
- <para>A set of info nodes (from a <tag>refentry</tag>
- element and its ancestors)</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>prefs</term>
- <listitem>
-
- <para>A node containing user preferences (from global
- stylesheet parameters)</para>
- </listitem>
- </varlistentry>
- </variablelist>
- </refsect1><refsect1><title>Returns</title>
-
- <para>Returns a node set with the following elements. The
- descriptions are verbatim from the <literal>man(7)</literal> man
- page.
-
- <variablelist>
- <varlistentry>
- <term>title</term>
- <listitem>
-
- <para>the title of the man page (e.g., <literal>MAN</literal>)</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>section</term>
- <listitem>
-
- <para>the section number the man page should be placed in (e.g.,
- <literal>7</literal>)</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>date</term>
- <listitem>
-
- <para>the date of the last revision</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>source</term>
- <listitem>
-
- <para>the source of the command</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>manual</term>
- <listitem>
-
- <para>the title of the manual (e.g., <citetitle>Linux
- Programmer's Manual</citetitle>)</para>
- </listitem>
- </varlistentry>
- </variablelist>
- </para>
- </refsect1></refentry>
- <refentry id="template.get.refentry.title">
- <refnamediv>
- <refname>get.refentry.title</refname>
- <refpurpose>Gets title metadata for a refentry</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <synopsis><xsl:template name="get.refentry.title">
- <xsl:param name="refname"/>
- ...
- </xsl:template></synopsis>
- </refsynopsisdiv>
- <refsect1><title>Description</title>
-
- <para>The <literal>man(7)</literal> man page describes this as "the
- title of the man page (e.g., <literal>MAN</literal>). This differs
- from <tag>refname</tag> in that, if the <tag>refentry</tag> has a
- <tag>refentrytitle</tag>, we use that as the <tag>title</tag>;
- otherwise, we just use first <tag>refname</tag> in the first
- <tag>refnamediv</tag> in the source.</para>
- </refsect1><refsect1><title>Parameters</title>
-
- <variablelist>
- <varlistentry>
- <term>refname</term>
- <listitem>
-
- <para>The first <tag>refname</tag> in the refentry</para>
- </listitem>
- </varlistentry>
- </variablelist>
- </refsect1><refsect1><title>Returns</title>
-
- <para>Returns a <tag>title</tag> node.</para>
- </refsect1></refentry>
- <refentry id="template.get.refentry.section">
- <refnamediv>
- <refname>get.refentry.section</refname>
- <refpurpose>Gets section metadata for a refentry</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <synopsis><xsl:template name="get.refentry.section">
- <xsl:param name="refname"/>
- <xsl:param name="quiet" select="0"/>
- ...
- </xsl:template></synopsis>
- </refsynopsisdiv>
- <refsect1><title>Description</title>
-
- <para>The <literal>man(7)</literal> man page describes this as "the
- section number the man page should be placed in (e.g.,
- <literal>7</literal>)". If we do not find a <tag>manvolnum</tag>
- specified in the source, and we find that the <tag>refentry</tag> is
- for a function, we use the section number <literal>3</literal>
- ["Library calls (functions within program libraries)"]; otherwise, we
- default to using <literal>1</literal> ["Executable programs or shell
- commands"].</para>
- </refsect1><refsect1><title>Parameters</title>
-
- <variablelist>
- <varlistentry>
- <term>refname</term>
- <listitem>
-
- <para>The first <tag>refname</tag> in the refentry</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>quiet</term>
- <listitem>
-
- <para>If non-zero, no "missing" message is emitted</para>
- </listitem>
- </varlistentry>
- </variablelist>
- </refsect1><refsect1><title>Returns</title>
-
- <para>Returns a string representing a section number.</para>
- </refsect1></refentry>
- <refentry id="template.get.refentry.date">
- <refnamediv>
- <refname>get.refentry.date</refname>
- <refpurpose>Gets date metadata for a refentry</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <synopsis><xsl:template name="get.refentry.date">
- <xsl:param name="refname"/>
- <xsl:param name="info"/>
- <xsl:param name="prefs"/>
- ...
- </xsl:template></synopsis>
- </refsynopsisdiv>
- <refsect1><title>Description</title>
-
- <para>The <literal>man(7)</literal> man page describes this as "the
- date of the last revision". If we cannot find a date in the source, we
- generate one.</para>
- </refsect1><refsect1><title>Parameters</title>
-
- <variablelist>
- <varlistentry>
- <term>refname</term>
- <listitem>
-
- <para>The first <tag>refname</tag> in the refentry</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>info</term>
- <listitem>
-
- <para>A set of info nodes (from a <tag>refentry</tag>
- element and its ancestors)</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>prefs</term>
- <listitem>
-
- <para>A node containing users preferences (from global stylesheet parameters)</para>
- </listitem>
- </varlistentry>
- </variablelist>
- </refsect1><refsect1><title>Returns</title>
-
- <para>Returns a <tag>date</tag> node.</para>
- </refsect1></refentry>
- <refentry id="template.get.refentry.source">
- <refnamediv>
- <refname>get.refentry.source</refname>
- <refpurpose>Gets source metadata for a refentry</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <synopsis><xsl:template name="get.refentry.source">
- <xsl:param name="refname"/>
- <xsl:param name="info"/>
- <xsl:param name="prefs"/>
- ...
- </xsl:template></synopsis>
- </refsynopsisdiv>
- <refsect1><title>Description</title>
-
- <para>The <literal>man(7)</literal> man page describes this as "the
- source of the command", and provides the following examples:
-
- <itemizedlist>
- <listitem>
-
- <para>For binaries, use something like: GNU, NET-2, SLS
- Distribution, MCC Distribution.</para>
- </listitem>
- <listitem>
-
- <para>For system calls, use the version of the kernel that you are
- currently looking at: Linux 0.99.11.</para>
- </listitem>
- <listitem>
-
- <para>For library calls, use the source of the function: GNU, BSD
- 4.3, Linux DLL 4.4.1.</para>
- </listitem>
- </itemizedlist>
- </para>
-
- <para>The <literal>solbook(5)</literal> man page describes
- something very much like what <literal>man(7)</literal> calls
- "source", except that <literal>solbook(5)</literal> names it
- "software" and describes it like this:
- <blockquote>
-
- <para>This is the name of the software product that the topic
- discussed on the reference page belongs to. For example UNIX
- commands are part of the <literal>SunOS x.x</literal>
- release.</para>
- </blockquote>
- </para>
-
- <para>In practice, there are many pages that simply have a version
- number in the "source" field. So, it looks like what we have is a
- two-part field,
- <replaceable>Name</replaceable> <replaceable>Version</replaceable>,
- where:
-
- <variablelist>
- <varlistentry>
- <term>Name</term>
- <listitem>
-
- <para>product name (e.g., BSD) or org. name (e.g., GNU)</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>Version</term>
- <listitem>
-
- <para>version name</para>
- </listitem>
- </varlistentry>
- </variablelist>
- Each part is optional. If the <replaceable>Name</replaceable> is a
- product name, then the <replaceable>Version</replaceable> is probably
- the version of the product. Or there may be no
- <replaceable>Name</replaceable>, in which case, if there is a
- <replaceable>Version</replaceable>, it is probably the version of the
- item itself, not the product it is part of. Or, if the
- <replaceable>Name</replaceable> is an organization name, then there
- probably will be no <replaceable>Version</replaceable>.
- </para>
- </refsect1><refsect1><title>Parameters</title>
-
- <variablelist>
- <varlistentry>
- <term>refname</term>
- <listitem>
-
- <para>The first <tag>refname</tag> in the refentry</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>info</term>
- <listitem>
-
- <para>A set of info nodes (from a <tag>refentry</tag>
- element and its ancestors)</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>prefs</term>
- <listitem>
-
- <para>A node containing users preferences (from global
- stylesheet parameters)</para>
- </listitem>
- </varlistentry>
- </variablelist>
- </refsect1><refsect1><title>Returns</title>
-
- <para>Returns a <tag>source</tag> node.</para>
- </refsect1></refentry>
- <refentry id="template.get.refentry.source.name">
- <refnamediv>
- <refname>get.refentry.source.name</refname>
- <refpurpose>Gets source-name metadata for a refentry</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <synopsis><xsl:template name="get.refentry.source.name">
- <xsl:param name="refname"/>
- <xsl:param name="info"/>
- <xsl:param name="prefs"/>
- ...
- </xsl:template></synopsis>
- </refsynopsisdiv>
- <refsect1><title>Description</title>
-
- <para>A "source name" is one part of a (potentially) two-part
- <replaceable>Name</replaceable> <replaceable>Version</replaceable>
- source field. For more details, see the documentation for the
- <function>get.refentry.source</function> template.</para>
- </refsect1><refsect1><title>Parameters</title>
-
- <variablelist>
- <varlistentry>
- <term>refname</term>
- <listitem>
-
- <para>The first <tag>refname</tag> in the refentry</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>info</term>
- <listitem>
-
- <para>A set of info nodes (from a <tag>refentry</tag>
- element and its ancestors)</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>prefs</term>
- <listitem>
-
- <para>A node containing users preferences (from global
- stylesheet parameters)</para>
- </listitem>
- </varlistentry>
- </variablelist>
- </refsect1><refsect1><title>Returns</title>
-
- <para>Depending on what output method is used for the
- current stylesheet, either returns a text node or possibly an element
- node, containing "source name" data.</para>
- </refsect1></refentry>
- <refentry id="template.get.refentry.version">
- <refnamediv>
- <refname>get.refentry.version</refname>
- <refpurpose>Gets version metadata for a refentry</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <synopsis><xsl:template name="get.refentry.version">
- <xsl:param name="refname"/>
- <xsl:param name="info"/>
- <xsl:param name="prefs"/>
- ...
- </xsl:template></synopsis>
- </refsynopsisdiv>
- <refsect1><title>Description</title>
-
- <para>A "version" is one part of a (potentially) two-part
- <replaceable>Name</replaceable> <replaceable>Version</replaceable>
- source field. For more details, see the documentation for the
- <function>get.refentry.source</function> template.</para>
- </refsect1><refsect1><title>Parameters</title>
-
- <variablelist>
- <varlistentry>
- <term>refname</term>
- <listitem>
-
- <para>The first <tag>refname</tag> in the refentry</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>info</term>
- <listitem>
-
- <para>A set of info nodes (from a <tag>refentry</tag>
- element and its ancestors)</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>prefs</term>
- <listitem>
-
- <para>A node containing users preferences (from global
- stylesheet parameters)</para>
- </listitem>
- </varlistentry>
- </variablelist>
- </refsect1><refsect1><title>Returns</title>
-
- <para>Depending on what output method is used for the
- current stylesheet, either returns a text node or possibly an element
- node, containing "version" data.</para>
- </refsect1></refentry>
- <refentry id="template.get.refentry.manual">
- <refnamediv>
- <refname>get.refentry.manual</refname>
- <refpurpose>Gets source metadata for a refentry</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <synopsis><xsl:template name="get.refentry.manual">
- <xsl:param name="refname"/>
- <xsl:param name="info"/>
- <xsl:param name="prefs"/>
- ...
- </xsl:template></synopsis>
- </refsynopsisdiv>
- <refsect1><title>Description</title>
-
- <para>The <literal>man(7)</literal> man page describes this as "the
- title of the manual (e.g., <citetitle>Linux Programmer's
- Manual</citetitle>)". Here are some examples from existing man pages:
-
- <itemizedlist>
- <listitem>
-
- <para><citetitle>dpkg utilities</citetitle>
- (<command>dpkg-name</command>)</para>
- </listitem>
- <listitem>
-
- <para><citetitle>User Contributed Perl Documentation</citetitle>
- (<command>GET</command>)</para>
- </listitem>
- <listitem>
-
- <para><citetitle>GNU Development Tools</citetitle>
- (<command>ld</command>)</para>
- </listitem>
- <listitem>
-
- <para><citetitle>Emperor Norton Utilities</citetitle>
- (<command>ddate</command>)</para>
- </listitem>
- <listitem>
-
- <para><citetitle>Debian GNU/Linux manual</citetitle>
- (<command>faked</command>)</para>
- </listitem>
- <listitem>
-
- <para><citetitle>GIMP Manual Pages</citetitle>
- (<command>gimp</command>)</para>
- </listitem>
- <listitem>
-
- <para><citetitle>KDOC Documentation System</citetitle>
- (<command>qt2kdoc</command>)</para>
- </listitem>
- </itemizedlist>
- </para>
-
- <para>The <literal>solbook(5)</literal> man page describes
- something very much like what <literal>man(7)</literal> calls
- "manual", except that <literal>solbook(5)</literal> names it
- "sectdesc" and describes it like this:
- <blockquote>
-
- <para>This is the section title of the reference page; for
- example <literal>User Commands</literal>.</para>
- </blockquote>
- </para>
- </refsect1><refsect1><title>Parameters</title>
-
- <variablelist>
- <varlistentry>
- <term>refname</term>
- <listitem>
-
- <para>The first <tag>refname</tag> in the refentry</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>info</term>
- <listitem>
-
- <para>A set of info nodes (from a <tag>refentry</tag>
- element and its ancestors)</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>prefs</term>
- <listitem>
-
- <para>A node containing users preferences (from global
- stylesheet parameters)</para>
- </listitem>
- </varlistentry>
- </variablelist>
- </refsect1><refsect1><title>Returns</title>
-
- <para>Returns a <tag>manual</tag> node.</para>
- </refsect1></refentry>
- <refentry id="template.get.refentry.metadata.prefs">
- <refnamediv>
- <refname>get.refentry.metadata.prefs</refname>
- <refpurpose>Gets user preferences for refentry metadata gathering</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <synopsis><xsl:template name="get.refentry.metadata.prefs"/></synopsis>
- </refsynopsisdiv>
- <refsect1><title>Description</title>
-
- <para>The DocBook XSL stylesheets include several user-configurable
- global stylesheet parameters for controlling <tag>refentry</tag>
- metadata gathering. Those parameters are not read directly by the
- other <tag>refentry</tag> metadata-gathering
- templates. Instead, they are read only by the
- <function>get.refentry.metadata.prefs</function> template,
- which assembles them into a structure that is then passed to
- the other <tag>refentry</tag> metadata-gathering
- templates.</para>
-
- <para>So the, <function>get.refentry.metadata.prefs</function>
- template is the only interface to collecting stylesheet parameters for
- controlling <tag>refentry</tag> metadata gathering.</para>
- </refsect1><refsect1><title>Parameters</title>
-
- <para>There are no local parameters for this template; however, it
- does rely on a number of global parameters.</para>
- </refsect1><refsect1><title>Returns</title>
-
- <para>Returns a <tag>manual</tag> node.</para>
- </refsect1></refentry>
- <refentry id="template.set.refentry.metadata">
- <refnamediv>
- <refname>set.refentry.metadata</refname>
- <refpurpose>Sets content of a refentry metadata item</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <synopsis><xsl:template name="set.refentry.metadata">
- <xsl:param name="refname"/>
- <xsl:param name="info"/>
- <xsl:param name="contents"/>
- <xsl:param name="context"/>
- <xsl:param name="preferred"/>
- ...
- </xsl:template></synopsis>
- </refsynopsisdiv>
- <refsect1><title>Description</title>
-
- <para>The <function>set.refentry.metadata</function> template is
- called each time a suitable source element is found for a certain
- metadata field.</para>
- </refsect1><refsect1><title>Parameters</title>
-
- <variablelist>
- <varlistentry>
- <term>refname</term>
- <listitem>
-
- <para>The first <tag>refname</tag> in the refentry</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>info</term>
- <listitem>
-
- <para>A single *info node that contains the selected source element.</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>contents</term>
- <listitem>
-
- <para>A node containing the selected source element.</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>context</term>
- <listitem>
-
- <para>A string describing the metadata context in which the
- <function>set.refentry.metadata</function> template was
- called: either "date", "source", "version", or "manual".</para>
- </listitem>
- </varlistentry>
- </variablelist>
- </refsect1><refsect1><title>Returns</title>
-
- <para>Returns formatted contents of a selected source element.</para>
- </refsect1></refentry>
- </reference>
- <reference id="utility" xml:base="../common/utility.xml">
- <info>
- <title>Common » Utility Template Reference</title>
- <releaseinfo role="meta">
- $Id: utility.xsl 7101 2007-07-20 15:32:12Z xmldoc $
- </releaseinfo>
- </info>
-
- <partintro id="partintro">
- <title>Introduction</title>
-
- <para>This is technical reference documentation for the
- miscellaneous utility templates in the DocBook XSL
- Stylesheets.</para>
- <note>
-
- <para>These templates are defined in a separate file from the set
- of “common” templates because some of the common templates
- reference DocBook XSL stylesheet parameters, requiring the
- entire set of parameters to be imported/included in any
- stylesheet that imports/includes the common templates.</para>
-
- <para>The utility templates don’t import or include any DocBook
- XSL stylesheet parameters, so the utility templates can be used
- without importing the whole set of parameters.</para>
- </note>
-
- <para>This is not intended to be user documentation. It is
- provided for developers writing customization layers for the
- stylesheets.</para>
- </partintro>
- <refentry id="template.log.message">
- <refnamediv>
- <refname>log.message</refname>
- <refpurpose>Logs/emits formatted notes and warnings</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <synopsis><xsl:template name="log.message">
- <xsl:param name="level"/>
- <xsl:param name="source"/>
- <xsl:param name="context-desc"/>
- <xsl:param name="context-desc-field-length">12</xsl:param>
- <xsl:param name="context-desc-padded">
- <xsl:if test="not($context-desc = '')">
- <xsl:call-template name="pad-string">
- <xsl:with-param name="leftRight">right</xsl:with-param>
- <xsl:with-param name="padVar" select="substring($context-desc, 1, $context-desc-field-length)"/>
- <xsl:with-param name="length" select="$context-desc-field-length"/>
- </xsl:call-template>
- </xsl:if>
- </xsl:param>
- <xsl:param name="message"/>
- <xsl:param name="message-field-length" select="45"/>
- <xsl:param name="message-padded">
- <xsl:variable name="spaces-for-blank-level">
- <!-- * if the level field is blank, we'll need to pad out -->
- <!-- * the message field with spaces to compensate -->
- <xsl:choose>
- <xsl:when test="$level = ''">
- <xsl:value-of select="4 + 2"/>
- <!-- * 4 = hard-coded length of comment text ("Note" or "Warn") -->
- <!-- * + 2 = length of colon-plus-space separator ": " -->
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="0"/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:variable>
- <xsl:variable name="spaces-for-blank-context-desc">
- <!-- * if the context-description field is blank, we'll need -->
- <!-- * to pad out the message field with spaces to compensate -->
- <xsl:choose>
- <xsl:when test="$context-desc = ''">
- <xsl:value-of select="$context-desc-field-length + 2"/>
- <!-- * + 2 = length of colon-plus-space separator ": " -->
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="0"/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:variable>
- <xsl:variable name="extra-spaces" select="$spaces-for-blank-level + $spaces-for-blank-context-desc"/>
- <xsl:call-template name="pad-string">
- <xsl:with-param name="leftRight">right</xsl:with-param>
- <xsl:with-param name="padVar" select="substring($message, 1, ($message-field-length + $extra-spaces))"/>
- <xsl:with-param name="length" select="$message-field-length + $extra-spaces"/>
- </xsl:call-template>
- </xsl:param>
- ...
- </xsl:template></synopsis>
- </refsynopsisdiv>
- <refsect1><title>Description</title>
-
- <para>The <function>log.message</function> template is a utility
- template for logging/emitting formatted messages – that is,
- notes and warnings, along with a given log “level” and an
- identifier for the “source” that the message relates to.</para>
- </refsect1><refsect1><title>Parameters</title>
-
- <variablelist>
- <varlistentry><term>level</term>
- <listitem>
-
- <para>Text to log/emit in the message-level field to
- indicate the message level
- (<literal>Note</literal> or
- <literal>Warning</literal>)</para>
- </listitem>
- </varlistentry>
- <varlistentry><term>source</term>
- <listitem>
-
- <para>Text to log/emit in the source field to identify the
- “source” to which the notification/warning relates.
- This can be any arbitrary string, but because the
- message lacks line and column numbers to identify the
- exact part of the source document to which it
- relates, the intention is that the value you pass
- into the <literal>source</literal> parameter should
- give the user some way to identify the portion of
- their source document on which to take potentially
- take action in response to the log message (for
- example, to edit, change, or add content).</para>
-
- <para>So the <literal>source</literal> value should be,
- for example, an ID, book/chapter/article title, title
- of some formal object, or even a string giving an
- XPath expression.</para>
- </listitem>
- </varlistentry>
- <varlistentry><term>context-desc</term>
- <listitem>
-
- <para>Text to log/emit in the context-description field to
- describe the context for the message.</para>
- </listitem>
- </varlistentry>
- <varlistentry><term>context-desc-field-length</term>
- <listitem>
-
- <para>Specifies length of the context-description field
- (in characters); default is 12</para>
-
- <para>If the text specified by the
- <literal>context-desc</literal> parameter is longer
- than the number of characters specified in
- <literal>context-desc-field-length</literal>, it is
- truncated to <literal>context-desc-field-length</literal>
- (12 characters by default).</para>
-
- <para>If the specified text is shorter than
- <literal>context-desc-field-length</literal>,
- it is right-padded out to
- <literal>context-desc-field-length</literal> (12 by
- default).</para>
-
- <para>If no value has been specified for the
- <literal>context-desc</literal> parameter, the field is
- left empty and the text of the log message begins with
- the value of the <literal>message</literal>
- parameter.</para>
- </listitem>
- </varlistentry>
- <varlistentry><term>message</term>
- <listitem>
-
- <para>Text to log/emit in the actual message field</para>
- </listitem>
- </varlistentry>
- <varlistentry><term>message-field-length</term>
- <listitem>
-
- <para>Specifies length of the message
- field (in characters); default is 45</para>
- </listitem>
- </varlistentry>
- </variablelist>
- </refsect1><refsect1><title>Returns</title>
-
- <para>Outputs a message (generally, to standard error).</para>
- </refsect1></refentry>
- <refentry id="template.get.doc.title">
- <refnamediv>
- <refname>get.doc.title</refname>
- <refpurpose>Gets a title from the current document</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <synopsis><xsl:template name="get.doc.title"/></synopsis>
- </refsynopsisdiv>
- <refsect1><title>Description</title>
-
- <para>The <function>get.doc.title</function> template is a
- utility template for returning the first title found in the
- current document.</para>
- </refsect1><refsect1><title>Returns</title>
-
- <para>Returns a string containing some identifying title for the
- current document .</para>
- </refsect1></refentry>
- <refentry id="template.pad-string">
- <refnamediv>
- <refname>pad-string</refname>
- <refpurpose>Right-pads or left-pads a string out to a certain length</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <synopsis><xsl:template name="pad-string">
- <xsl:param name="padChar" select="' '"/>
- <xsl:param name="leftRight">left</xsl:param>
- <xsl:param name="padVar"/>
- <xsl:param name="length"/>
- ...
- </xsl:template></synopsis>
- </refsynopsisdiv>
- <refsect1><title>Description</title>
-
- <para>This function takes string <parameter>padVar</parameter> and
- pads it out in the direction <parameter>rightLeft</parameter> to
- the string-length <parameter>length</parameter>, using string
- <parameter>padChar</parameter> (a space character by default) as
- the padding string (note that <parameter>padChar</parameter> can
- be a string; it is not limited to just being a single
- character).</para>
- <note>
-
- <para>This function began as a copy of Nate Austin's
- <function>prepend-pad</function> function in the <link xlink:href="http://www.dpawson.co.uk/xsl/sect2/padding.html">Padding
- Content</link> section of Dave Pawson's <link xlink:href="http://www.dpawson.co.uk/xsl/index.html">XSLT
- FAQ</link>.</para>
- </note>
- </refsect1><refsect1><title>Returns</title>
-
- <para>Returns a (padded) string.</para>
- </refsect1></refentry>
- </reference>
- <reference id="charmap" xml:base="../common/charmap.xml">
- <info>
- <title>Common » Character-Map Template Reference</title>
- <releaseinfo role="meta">
- $Id: charmap.xsl 7266 2007-08-22 11:58:42Z xmldoc $
- </releaseinfo>
- </info>
-
- <partintro id="partintro">
- <title>Introduction</title>
-
- <para>This is technical reference documentation for the
- character-map templates in the DocBook XSL Stylesheets.</para>
- <note>
-
- <para>These templates are defined in a separate file from the set
- of “common” templates because some of the common templates
- reference DocBook XSL stylesheet parameters, requiring the
- entire set of parameters to be imported/included in any
- stylesheet that imports/includes the common templates.</para>
-
- <para>The character-map templates don’t import or include
- any DocBook XSL stylesheet parameters, so the
- character-map templates can be used without importing the
- whole set of parameters.</para>
- </note>
-
- <para>This is not intended to be user documentation. It is
- provided for developers writing customization layers for the
- stylesheets.</para>
- </partintro>
- <refentry id="template.apply-character-map">
- <refnamediv>
- <refname>apply-character-map</refname>
- <refpurpose>Applies an XSLT character map</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <synopsis><xsl:template name="apply-character-map">
- <xsl:param name="content"/>
- <xsl:param name="map.contents"/>
- ...
- </xsl:template></synopsis>
- </refsynopsisdiv>
- <refsect1><title>Description</title>
-
- <para>This template applies an <link xlink:href="http://www.w3.org/TR/xslt20/#character-maps">XSLT character map</link>; that is, it causes certain
- individual characters to be substituted with strings of one
- or more characters. It is useful mainly for replacing
- multiple “special” characters or symbols in the same target
- content. It uses the value of
- <parameter>map.contents</parameter> to do substitution on
- <parameter>content</parameter>, and then returns the
- modified contents.</para>
- <note>
-
- <para>This template is a very slightly modified version of
- Jeni Tennison’s <function>replace_strings</function>
- template in the <link xlink:href="http://www.dpawson.co.uk/xsl/sect2/StringReplace.html#d9351e13">multiple string replacements</link> section of Dave Pawson’s
- <link xlink:href="http://www.dpawson.co.uk/xsl/index.html">XSLT FAQ</link>.</para>
-
- <para>The <function>apply-string-subst-map</function>
- template is essentially the same template as the
- <function>apply-character-map</function> template; the
- only difference is that in the map that
- <function>apply-string-subst-map</function> expects, <tag class="attribute">oldstring</tag> and <tag class="attribute">newstring</tag> attributes are used
- instead of <tag class="attribute">character</tag> and <tag class="attribute">string</tag> attributes.</para>
- </note>
- </refsect1><refsect1><title>Parameters</title>
-
- <variablelist>
- <varlistentry><term>content</term>
- <listitem>
-
- <para>The content on which to perform the character-map
- substitution.</para>
- </listitem>
- </varlistentry>
- <varlistentry><term>map.contents</term>
- <listitem>
-
- <para>A node set of elements, with each element having
- the following attributes:
-
- <itemizedlist>
- <listitem>
- <simpara><tag class="attribute">character</tag>, a
- character to be replaced</simpara>
- </listitem>
- <listitem>
- <simpara><tag class="attribute">string</tag>, a
- string with which to replace <tag class="attribute">character</tag></simpara>
- </listitem>
- </itemizedlist>
- </para>
- </listitem>
- </varlistentry>
- </variablelist>
- </refsect1></refentry>
- <refentry id="template.read-character-map">
- <refnamediv>
- <refname>read-character-map</refname>
- <refpurpose>Reads in all or part of an XSLT character map</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <synopsis><xsl:template name="read-character-map">
- <xsl:param name="use.subset"/>
- <xsl:param name="subset.profile"/>
- <xsl:param name="uri"/>
- ...
- </xsl:template></synopsis>
- </refsynopsisdiv>
- <refsect1><title>Description</title>
-
- <para>The XSLT 2.0 specification describes <link xlink:href="http://www.w3.org/TR/xslt20/#character-maps">character maps</link> and explains how they may be used
- to allow a specific character appearing in a text or
- attribute node in a final result tree to be substituted by
- a specified string of characters during serialization. The
- <function>read-character-map</function> template provides a
- means for reading and using character maps with XSLT
- 1.0-based tools.</para>
-
- <para>This template reads the character-map contents from
- <parameter>uri</parameter> (in full or in part, depending on
- the value of the <parameter>use.subset</parameter>
- parameter), then passes those contents to the
- <function>apply-character-map</function> template, along with
- <parameter>content</parameter>, the data on which to perform
- the character substitution.</para>
-
- <para>Using the character map “in part” means that it uses only
- those <tag>output-character</tag> elements that match the
- XPath expression given in the value of the
- <parameter>subset.profile</parameter> parameter. The current
- implementation of that capability here relies on the
- <function>evaluate</function> extension XSLT function.</para>
- </refsect1><refsect1><title>Parameters</title>
-
- <variablelist>
- <varlistentry><term>use.subset</term>
- <listitem>
-
- <para>Specifies whether to use a subset of the character
- map instead of the whole map; boolean
- <literal>0</literal> or <literal>1</literal></para>
- </listitem>
- </varlistentry>
- <varlistentry><term>subset.profile</term>
- <listitem>
-
- <para>XPath expression that specifies what subset of the
- character map to use</para>
- </listitem>
- </varlistentry>
- <varlistentry><term>uri</term>
- <listitem>
-
- <para>URI for a character map</para>
- </listitem>
- </varlistentry>
- </variablelist>
- </refsect1></refentry>
- </reference>
- </part>
- <part id="table-templates">
- <?dbhtml dir="fo"?>
-
- <info xml:base="../fo/table.xml">
- <title>Formatting Object Table Reference</title>
- <releaseinfo role="meta">
- $Id: table.xsl 9666 2012-11-14 04:42:56Z bobstayton $
- </releaseinfo>
- </info>
- <partintro id="partintro" xml:base="../fo/table.xml">
- <title>Introduction</title>
-
- <para>This is technical reference documentation for the FO
- table-processing templates in the DocBook XSL Stylesheets.</para>
-
- <para>This is not intended to be user documentation. It is
- provided for developers writing customization layers for the
- stylesheets.</para>
- </partintro>
- <refentry id="template.calc.column.width" xml:base="../fo/table.xml">
- <refnamediv>
- <refname>calc.column.width</refname>
- <refpurpose>Calculate an XSL FO table column width specification from a
- CALS table column width specification.</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <synopsis><xsl:template name="calc.column.width">
- <xsl:param name="colwidth">1*</xsl:param>
- ...
- </xsl:template></synopsis>
- </refsynopsisdiv>
- <refsect1><title>Description</title>
- <para>CALS expresses table column widths in the following basic
- forms:</para>
- <itemizedlist>
- <listitem>
- <para><emphasis>99.99units</emphasis>, a fixed length specifier.</para>
- </listitem>
- <listitem>
- <para><emphasis>99.99</emphasis>, a fixed length specifier without any units.</para>
- </listitem>
- <listitem>
- <para><emphasis>99.99*</emphasis>, a relative length specifier.</para>
- </listitem>
- <listitem>
- <para><emphasis>99.99*+99.99units</emphasis>, a combination of both.</para>
- </listitem>
- </itemizedlist>
- <para>The CALS units are points (pt), picas (pi), centimeters (cm),
- millimeters (mm), and inches (in). These are the same units as XSL,
- except that XSL abbreviates picas "pc" instead of "pi". If a length
- specifier has no units, the CALS default unit (pt) is assumed.</para>
- <para>Relative length specifiers are represented in XSL with the
- proportional-column-width() function.</para>
- <para>Here are some examples:</para>
- <itemizedlist>
- <listitem>
- <para>"36pt" becomes "36pt"</para>
- </listitem>
- <listitem>
- <para>"3pi" becomes "3pc"</para>
- </listitem>
- <listitem>
- <para>"36" becomes "36pt"</para>
- </listitem>
- <listitem>
- <para>"3*" becomes "proportional-column-width(3)"</para>
- </listitem>
- <listitem>
- <para>"3*+2pi" becomes "proportional-column-width(3)+2pc"</para>
- </listitem>
- <listitem>
- <para>"1*+2" becomes "proportional-column-width(1)+2pt"</para>
- </listitem>
- </itemizedlist>
- </refsect1><refsect1><title>Parameters</title>
- <variablelist>
- <varlistentry><term>colwidth</term>
- <listitem>
- <para>The CALS column width specification.</para>
- </listitem>
- </varlistentry>
- </variablelist>
- </refsect1><refsect1><title>Returns</title>
- <para>The XSL column width specification.</para>
- </refsect1></refentry>
- </part>
- <part id="template">
- <?dbhtml dir="template"?><?dbhtml filename="index.html"?>
-
-
- <info xml:base="../template/titlepage.xml">
- <title>Titlepage Template Stylesheet Reference</title>
- <releaseinfo role="meta">
- $Id: titlepage.xsl 9600 2012-09-11 12:12:09Z kosek $
- </releaseinfo>
- </info>
- <partintro id="intro_partintro" xml:base="../template/titlepage.xml">
- <title>Introduction</title>
-
- <para>This is technical reference documentation for the
- “titlepage” templates in the DocBook XSL Stylesheets.</para>
-
- <para>This is not intended to be user documentation. It is
- provided for developers writing customization layers for the
- stylesheets.</para>
- </partintro>
- <refentry id="templates" xml:base="../template/titlepage.xml">
- <refnamediv>
- <refname>t:templates</refname>
- <refpurpose>Construct a stylesheet for the templates provided</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <synopsis><xsl:template match="t:templates"/></synopsis>
- </refsynopsisdiv>
- <refsect1><title>Description</title>
- <para>The <literal>t:templates</literal> element is the root of a
- set of templates. This template creates an appropriate
- <literal>xsl:stylesheet</literal> for the templates.</para>
- <para>If the <literal>t:templates</literal> element has a
- <literal>base-stylesheet</literal> attribute, an
- <literal>xsl:import</literal> statement is constructed for it.</para>
- </refsect1></refentry>
- <refentry id="star" xml:base="../template/titlepage.xml">
- <refnamediv>
- <refname>xsl:*</refname>
- <refpurpose>Copy xsl: elements straight through</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <synopsis><xsl:template match="xsl:*"/></synopsis>
- </refsynopsisdiv>
- <refsect1><title>Description</title>
- <para>This template simply copies the xsl: elements
- straight through into the result tree.</para>
- </refsect1></refentry>
- <refentry id="titlepage" xml:base="../template/titlepage.xml">
- <refnamediv>
- <refname>t:titlepage</refname>
- <refpurpose>Create the templates necessary to construct a title page</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <synopsis><xsl:template match="t:titlepage"/></synopsis>
- </refsynopsisdiv>
- <refsect1><title>Description</title>
- <para>The <literal>t:titlepage</literal> element creates a set of
- templates for processing the titlepage for an element. The
- <quote>root</quote> of this template set is the template named
- <quote><literal>wrapper.titlepage</literal></quote>. That is the
- template that should be called to generate the title page.
- </para>
- <para>The <literal>t:titlepage</literal> element has three attributes:
- <variablelist>
- <varlistentry><term>element</term>
- <listitem>
- <para>The name of the source document element for which
- these templates apply. In other words, to make a title page for the
- <tag>article</tag> element, set the
- <tag class="attribute">element</tag> attribute to
- <quote><literal>article</literal></quote>. This attribute is required.
- </para>
- </listitem>
- </varlistentry>
- <varlistentry><term>wrapper</term>
- <listitem>
- <para>The entire title page can be wrapped with an element.
- This attribute identifies that element.
- </para>
- </listitem>
- </varlistentry>
- <varlistentry><term>class</term>
- <listitem>
- <para>If the <tag class="attribute">class</tag> attribute
- is set, a <tag class="attribute">class</tag> attribute with this
- value will be added to the wrapper element that surrounds the entire
- title page.
- </para>
- </listitem>
- </varlistentry>
- </variablelist>
- </para>
- <para>Any other attributes are copied through literally to the
- wrapper element.</para>
- <para>The content of a <literal>t:titlepage</literal> is one or
- more <literal>t:titlepage-content</literal>,
- <literal>t:titlepage-separator</literal>, and
- <literal>t:titlepage-before</literal> elements.</para>
- <para>Each of these elements may be provided for the <quote>recto</quote>
- and <quote>verso</quote> sides of the title page.</para>
- </refsect1></refentry>
- <refentry id="attr_star_in_copy.literal.atts" xml:base="../template/titlepage.xml">
- <refnamediv>
- <refname>@* (in copy.literal.atts mode)</refname>
- <refpurpose>Copy t:titlepage attributes</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <synopsis><xsl:template match="@*" mode="copy.literal.atts"/></synopsis>
- </refsynopsisdiv>
- <refsect1><title>Description</title>
- <para>This template copies all of the <quote>other</quote> attributes
- from a <literal>t:titlepage</literal> element onto the specified
- wrapper.</para>
- </refsect1></refentry>
- <refentry id="titlepage-content" xml:base="../template/titlepage.xml">
- <refnamediv>
- <refname>t:titlepage-content</refname>
- <refpurpose>Create templates for the content of one side of a title page</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <synopsis><xsl:template match="t:titlepage-content"/></synopsis>
- </refsynopsisdiv>
- <refsect1><title>Description</title>
- <para>The title page content, that is, the elements from the source
- document that are rendered on the title page, can be controlled independently
- for the recto and verso sides of the title page.</para>
- <para>The <literal>t:titlepage-content</literal> element has two attributes:
- <variablelist>
- <varlistentry><term>side</term>
- <listitem>
- <para>Identifies the side of the page to which this title
- page content applies. The
- <tag class="attribute">side</tag> attribute is required and
- must be set to either
- <quote><literal>recto</literal></quote> or
- <quote><literal>verso</literal></quote>. In addition, you must specify
- exactly one <literal>t:titlepage-content</literal> for each side
- within each <literal>t:titlepage</literal>.</para>
- </listitem>
- </varlistentry>
- <varlistentry><term>order</term>
- <listitem>
- <para>Indicates how the order of the elements presented on
- the title page is determined. If the
- <tag class="attribute">order</tag> is
- <quote><literal>document</literal></quote>, the elements are presented
- in document order. Otherwise (if the
- <tag class="attribute">order</tag> is
- <quote><literal>stylesheet</literal></quote>), the elements are presented
- in the order that they appear in the template (and consequently in
- the stylesheet).</para>
- </listitem>
- </varlistentry>
- </variablelist>
- </para>
- <para>The content of a <literal>t:titlepage-content</literal> element is
- a list of element names. These names should be unqualified. They identify
- the elements in the source document that should appear on the title page.
- </para>
- <para>Each element may have a single attribute:
- <tag class="attribute">predicate</tag>. The value of this
- attribute is used as a predicate for the expression that matches
- the element on which it occurs.</para>
- <para>In other words, to put only the first three authors on the
- recto-side of a title
- page, you could specify:
- <screen>
- <t:titlepage-contents side="recto">
- <!-- other titlepage elements -->
- <author predicate="[count(previous-sibling::author)<2]"/>
- <!-- other titlepage elements -->
- </t:titlepage-contents>
- </screen>
- </para>
- <para>Usually, the elements so named are empty. But it is possible to
- make one level of selection within them. Suppose that you want to
- process <literal>authorgroup</literal> elements on the title page, but
- you want to select only proper authors, editors, or corporate authors,
- not collaborators or other credited authors.</para>
- <para>In that case, you can put a <literal>t:or</literal> group inside
- the <literal>authorgroup</literal> element:
- <screen>
- <t:titlepage-contents side="recto">
- <!-- other titlepage elements -->
- <authorgroup>
- <t:or>
- <author/>
- <editor/>
- <corpauthor/>
- </t:or>
- </authorgroup>
- <!-- other titlepage elements -->
- </t:titlepage-contents>
- </screen>
- </para>
- <para>This will have the effect of automatically generating a template
- for processing <literal>authorgroup</literal>s in the title page mode,
- selecting only the specified children. If you need more complex processing,
- you'll have to construct the templates by hand.</para>
- </refsect1></refentry>
- <refentry id="titlepage-separator" xml:base="../template/titlepage.xml">
- <refnamediv>
- <refname>t:titlepage-separator</refname>
- <refpurpose>Create templates for the separator</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <synopsis><xsl:template match="t:titlepage-separator"/></synopsis>
- </refsynopsisdiv>
- <refsect1><title>Description</title>
- <para>The title page is separated from the content which follows it by
- the markup specified in the <literal>t:titlepage-separator</literal>
- element.</para>
- </refsect1></refentry>
- <refentry id="titlepage-before" xml:base="../template/titlepage.xml">
- <refnamediv>
- <refname>t:titlepage-before</refname>
- <refpurpose>Create templates for what precedes a title page</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <synopsis><xsl:template match="t:titlepage-before"/></synopsis>
- </refsynopsisdiv>
- <refsect1><title>Description</title>
- <para>Each side of the title page is preceded by the markup specified
- in the <literal>t:titlepage-before</literal> element for that
- side.</para>
- </refsect1></refentry>
- <refentry id="star_in_copy" xml:base="../template/titlepage.xml">
- <refnamediv>
- <refname>* (in copy mode)</refname>
- <refpurpose>Copy elements</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <synopsis><xsl:template match="*" mode="copy"/></synopsis>
- </refsynopsisdiv>
- <refsect1><title>Description</title>
- <para>This template simply copies the elements that it applies to
- straight through into the result tree.</para>
- </refsect1></refentry>
- <refentry id="attr_star_in_copy" xml:base="../template/titlepage.xml">
- <refnamediv>
- <refname>@* (in copy mode)</refname>
- <refpurpose>Copy attributes</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <synopsis><xsl:template match="@*" mode="copy"/></synopsis>
- </refsynopsisdiv>
- <refsect1><title>Description</title>
- <para>This template simply copies the attributes that it applies to
- straight through into the result tree.</para>
- </refsect1></refentry>
- <refentry id="attr_star_in_document.order" xml:base="../template/titlepage.xml">
- <refnamediv>
- <refname>* (in document.order mode)</refname>
- <refpurpose>Create rules to process titlepage elements in document order</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <synopsis><xsl:template match="*" mode="document.order"/></synopsis>
- </refsynopsisdiv>
- <refsect1><title>Description</title>
- <para>This template is called to process all of the children of the
- <literal>t:titlepage-content</literal> element. It creates the hairy
- select expression necessary to process each of those elements in
- the title page.</para>
- <para>Note that this template automatically handles the case where
- some DocBook elements, like title and subtitle, can occur both inside
- the *info elements where metadata is usually stored and outside.
- </para>
- <para>It also automatically calculates the name for the *info container
- and handles elements that have historically had containers with different
- names.</para>
- </refsect1></refentry>
- <refentry id="star_in_document.order" xml:base="../template/titlepage.xml">
- <refnamediv>
- <refname>* (in document.order mode)</refname>
- <refpurpose>Create rules to process titlepage elements in stylesheet order</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <synopsis><xsl:template match="*" mode="document.order"/></synopsis>
- </refsynopsisdiv>
- <refsect1><title>Description</title>
- <para>This template is called to process all of the children of the
- <literal>t:titlepage-content</literal> element. It creates the set
- of <literal>xsl:apply-templates</literal> elements necessary
- process each of those elements in the title page.</para>
- <para>Note that this template automatically handles the case where
- some DocBook elements, like title and subtitle, can occur both inside
- the *info elements where metadata is usually stored and outside.
- </para>
- <para>It also automatically calculates the name for the *info container
- and handles elements that have historically had containers with different
- names.</para>
- </refsect1></refentry>
- <refentry id="star_in_titlepage.specialrules" xml:base="../template/titlepage.xml">
- <refnamediv>
- <refname>* (in titlepage.specialrules mode)</refname>
- <refpurpose>Create templates for special rules</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <synopsis><xsl:template match="*" mode="titlepage.specialrules"/></synopsis>
- </refsynopsisdiv>
- <refsect1><title>Description</title>
- <para>This template is called to process all of the descendants of the
- <literal>t:titlepage-content</literal> element that require special
- processing. At present, that's just <literal>t:or</literal> elements.
- </para>
- </refsect1></refentry>
- <refentry id="star_in_titlepage.subrules" xml:base="../template/titlepage.xml">
- <refnamediv>
- <refname>* (in titlepage.subrules mode)</refname>
- <refpurpose>Create template for individual special rules</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <synopsis><xsl:template match="*" mode="titlepage.subrules"/></synopsis>
- </refsynopsisdiv>
- <refsect1><title>Description</title>
- <para>This template is called to process the children of special
- template elements.
- </para>
- </refsect1></refentry>
- <refentry id="or" xml:base="../template/titlepage.xml">
- <refnamediv>
- <refname>t:or</refname>
- <refpurpose>Process the t:or special rule</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <synopsis><xsl:template match="t:or"/><xsl:template match="t:or" mode="titlepage.subrules"/></synopsis>
- </refsynopsisdiv>
- <refsect1><title>Description</title>
- <para>This template processes t:or.</para>
- </refsect1></refentry>
- <refentry id="or_in_titlepage.subrules" xml:base="../template/titlepage.xml">
- <refnamediv>
- <refname>t:or (in titlepage.subrules mode)</refname>
- <refpurpose>Process the t:or special rule in
- titlepage.subrules mode</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <synopsis><xsl:template match="t:or" mode="titlepage.subrules"/></synopsis>
- </refsynopsisdiv>
- <refsect1><title>Description</title>
- <para>The titlepage.subrules mode doesn't apply to t:or, so just
- reprocess this node in the normal mode.</para>
- </refsect1></refentry>
- <refentry id="template.element-or-list" xml:base="../template/titlepage.xml">
- <refnamediv>
- <refname>element-or-list</refname>
- <refpurpose>Construct the "or-list" used in the select attribute for
- special rules.</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <synopsis><xsl:template name="element-or-list">
- <xsl:param name="elements" select="*"/>
- <xsl:param name="element.count" select="count($elements)"/>
- <xsl:param name="count" select="1"/>
- <xsl:param name="orlist"/>
- ...
- </xsl:template></synopsis>
- </refsynopsisdiv>
- <refsect1><title>Description</title>
- <para>Walk through each of the children of t:or, producing the
- text of the select attribute.</para>
- </refsect1></refentry>
- </part>
- </book>
- </set><!-- * vim: set ft=docbk foldlevel=2: -->
|