diff --git a/.gitignore b/.gitignore index 3244cf4..22db012 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,9 @@ **/.idea **/.idea/** CLAUDE.md +.DS_Store +venv/ +febus_rulebook.pdf +febus_logo_old.png +original_febus_rules.pdf +rules.pdf diff --git a/.learnings/ERRORS.md b/.learnings/ERRORS.md new file mode 100644 index 0000000..9f65920 --- /dev/null +++ b/.learnings/ERRORS.md @@ -0,0 +1,38 @@ +# Errors + +## [ERR-20260728-001] docx_xml_text_replacement + +**Logged**: 2026-07-28T00:00:00+02:00 +**Priority**: low +**Status**: resolved +**Area**: docs + +### Summary +Exact DOCX XML replacement failed because the closing quotation mark in the Word file differed from the Markdown source. + +### Error + +```text +RuntimeError: Expected one occurrence, found 0: Zriaďuje sa Rozhodcovská komisia (ďalej „Komisia") ako odborný orgán FEBUS pre rozhodcovskú agendu. +``` + +### Context + +- The updater validates every original passage before rewriting the DOCX archive. +- The failed validation prevented any modification of the Word file. + +### Suggested Fix + +Inspect the exact paragraph text extracted from `word/document.xml`, update the expected source string, and rerun the all-or-nothing replacement. + +### Metadata + +- Reproducible: yes +- Related Files: FEBUS_smernica_o_rozhodcoch_navrh.docx, .tmp_update_directive_docx.py + +### Resolution + +- **Resolved**: 2026-07-28T00:00:00+02:00 +- **Notes**: Matched the XML-escaped quotation mark and the separately formatted bold text run; all 20 replacements then completed atomically. + +--- diff --git a/01-intro.md b/01-intro.md index 83a612a..6a8eb4e 100644 --- a/01-intro.md +++ b/01-intro.md @@ -3,10 +3,24 @@ The goal of this event is to assess fencing in a safe and friendly manner on the principle of 'to touch without being touched'. In common with historical rule-sets, competitions are explicitly an abstracted test of skill, and not a simulation of an unregulated combat “to the finish” – in this -sense, we shall regard each individual point as a separate "duel" within the framework of the +sense, each individual point is regarded as a separate "duel" within the framework of the following rules, the loss of which is indicated by having a point called against the losing fencer. -Our intention is to determine the relative ranking, and the best fencer among the competitors -present on the days of the competitions, in terms of tactical, technical, and athletic skills. +Our intention is to determine the relative ranking, and the best fencer present on the days of +the competitions, in terms of tactical, technical, and athletic skills. One of the principles which stand above all others is the principle of fair play. Every functional -ruleset should be efficient in providing equal opportunities for every tournament contestant. +ruleset should be efficient in providing equal opportunities for every tournament fencer. + +## Use of Language + +In this Rulebook, **must** and **must not** state binding requirements, +**may** grants a permission, and **should** gives a non-binding +recommendation. Terms in *italics* are defined in the +[Glossary](appendices/01-glossary.md); blocks marked **Note:** or +**Example:** only illustrate the rules and contain no requirements. + +Rules are numbered with a chapter prefix (E = Equipment, G = General, +RoW = Right of Way, LS = Longsword, R = Rapier, S = Sabre, SB = Sword & +Buckler, O = Organisational, D = Disciplinary) and are cited by these +identifiers, e.g. "G.16" or "RoW.12(a)". Once assigned, an identifier +never changes. diff --git a/02-equipment.md b/02-equipment.md index 8e3c1a6..184527f 100644 --- a/02-equipment.md +++ b/02-equipment.md @@ -2,258 +2,263 @@ ## Fencing Arena -1. A fencing arena must provide similar conditions to both contestants. This applies mainly to +**E.1** A fencing arena must provide similar conditions to both fencers. This applies mainly to angles of the light and the ground slipperiness. -2. The fencing arena is a square or rectangular shape, its dimensions must be between a minimum of - 5x9 meters and a maximum of 8x12 meters. The borders of a fencing arena must be marked by a full +**E.2** The fencing arena is a square or rectangular shape, its dimensions must be between a minimum of + 5x9 metres and a maximum of 8x12 metres. The borders of a fencing arena must be marked by a full line attached or drawn on the ground. The closest obstacle must be at least 1 meter away from the marking line. -3. The center point of a fencing arena may be marked. +**E.3** The centre point of a fencing arena may be marked. -4. The starting position of the fencers must be marked in such a way that start-line is at least 2m - away from the center of the arena in opposite directions, setting up at least 4m distance between - the fencers at the start of each assault. +**E.4** The starting position of the fencers must be marked in such a way that the on-guard line is at least 2m + away from the centre of the arena in opposite directions, setting up at least 4m distance between + the fencers at the start of each exchange. ## Equipment standards -1. Every contestant is responsible for their equipment, and must use each element of the mandatory +**E.5** Every fencer is responsible for their equipment, and must use each element of the mandatory equipment, when entering a tournament. If a piece of equipment is declared unsuitable or unfit - and the contestant is unable to get a suitable substitute they will be prohibited from entering + and the fencer is unable to get a suitable substitute they are prohibited from entering the tournament. -2. The mandatory equipment is controlled by the designated tournament staff before the competition - and an additional check must be done by the referee of each fencing arena. A referee may require - a contestant to change or adjust a part of his equipment in a time frame which won’t be longer - than 5 minutes. If it is not possible for the contestant to comply within the set time frame, the - contestant will be awarded a black card and won’t be able to continue in the respective - tournament. - -3. In case of an accident caused by unfit or inadequate equipment approved negligently by the - equipment check staff or the referee, the responsibility lies with the staff or referee, who - approved the contestant’s entry. The staff or the referee will be subjected to disciplinary +**E.6** The designated tournament staff inspect the mandatory equipment before the competition; the + Referee of each fencing arena performs an additional check. A Referee may require a fencer to + change or adjust a part of their equipment. Nonconforming clothing or equipment is penalised + according to the first group of offences (see penalty 1.6), and the fencer is not allowed to + start or continue competing until the item(s) have been approved or replaced with approved ones. + For an equipment failure occurring in the course of a bout, a break of up to 3 minutes may be + allowed (see [G.23](03-general.md) — equipment failure breaks). + +**E.7** In case of an accident caused by unfit or inadequate equipment approved negligently by the + equipment check staff or the Referee, the responsibility lies with the staff or Referee, who + approved the fencer’s entry. The staff or the Referee is subjected to disciplinary proceedings and their license may be revoked. -4. A referee has the right to forbid a piece or a set of equipment which does not comply with the +**E.8** A Referee has the right to forbid a piece or a set of equipment which does not comply with the prescribed norm. ### Protection Gear #### Head -1. An undamaged mask that is approved by the FIE (CE level 2, 1600N resistance) is mandatory. +**E.9** An undamaged mask that is approved by the FIE (CE level 2, 1600N resistance) is mandatory. -2. Back of head protection and cervical spine protection is mandatory. +**E.10** Back of head protection and cervical spine protection is mandatory. -3. A neck protector with a thick layer protecting the larynx is mandatory. +**E.11** A neck protector with a thick layer protecting the larynx is mandatory. -4. The bib of the mask must not roll up. +**E.12** The bib of the mask must not roll up. -5. If a contestant leans their head in any standard angle, no unprotected part or skin must be - visible. +**E.13** The head protection must leave no skin or unprotected area visible when the fencer tilts their + head at any normal angle. #### Hands, arms and torso protection -1. Only special HEMA fencing gloves or gloves which are meeting all requirements of +**E.14** Only special HEMA fencing gloves or gloves which are meeting all requirements of sporting-historical fencing are allowed. It is forbidden to use pieces of metal on any place of the gloves. -2. Rapier: Fencer with bell guard rapier or sufficiently closed hilt does not need to wear a - massive glove with the primary weapon. However, additional hand protection is needed for the - protection of the wrist and forearm. +**E.15** Rapier and Sabre: A fencer with a bell guard, basket, or sufficiently closed hilt does not need + to wear a massive glove with the primary weapon. However, additional hand protection is needed + for the protection of the wrist and forearm. -3. Rapier: If a fencer uses a side weapon, this hand needs to be protected with a glove with +**E.16** Rapier: If a fencer uses a side weapon, this hand needs to be protected with a glove with additional hand protection (e.g. padding...) -4. Gloves used in a tournament don’t need to have a thickened layer on the inside of the palm but +**E.17** Gloves used in a tournament don’t need to have a thickened layer on the inside of the palm but the palm must be covered at least by a simple glove or textile. -5. The torso of the body must be protected with an undamaged fencing jacket or gambeson which is - made of special hardened or thick material which prevents blade penetration and eases the blade - impact. The jacket is subjected to control by the tournament staff and the arena referee. A - fencing jacket must cover the armpits as well. +**E.18** The torso of the body must be protected with an undamaged fencing jacket or gambeson with at + least 350N FIE certification, made of special hardened or thick material which prevents blade + penetration and eases the blade impact. The jacket is subjected to control by the tournament + staff and the arena Referee. A fencing jacket must cover the armpits as well. -6. Every female contestant must wear solid breast/chest protection. +**E.19** Every female fencer must wear solid breast/chest protection. -7. Additional protection of the arms or elbows is required if the jacket does not provide +**E.20** Additional protection of the arms or elbows is required if the jacket does not provide sufficient protection itself. -8. Every part of the body must be covered. No open space must be left between the gloves and the - jacket. +**E.21** Every part of the body must be covered. The gloves must overlap the jacket sleeves, leaving no + gap. + +**E.22** An 800N FIE-certified under-plastron is mandatory in the Rapier category. + +**E.23** A rigid wrist guard is mandatory in the Longsword, Sabre, and Sword & Buckler categories. #### Legs -1. A groin protector is mandatory for every male contestant in all weapon categories. +**E.24** A groin protector is mandatory for every male fencer in all weapon categories. -2. The knees and shins must be protected at the front and the sides as well. +**E.25** The knees and shins must be protected at the front and the sides as well. -3. The hips must be protected either by a fencing jacket or by padded pants. +**E.26** The hips must be protected either by a fencing jacket or by padded pants. -4. The thighs and the upper legs must be protected with CE Level 1 certified pants (350N) or other +**E.27** The thighs and the upper legs must be protected with CE Level 1 certified pants (350N) or other approved thrust-resistant protection. ### Weapons +> **Note:** A summary table of the weapon parameters and an equipment +> checklist by weapon category are provided in the +> [Weapon Overview](appendices/03-weapon-overview.md) appendix. + +The flexibility of a blade is measured by applying pressure on the blade point +against scales, with one hand firmly placed on the pommel. The blade's +flexibility is the maximum value (in kg) displayed on the scales before the +blade reaches full bend. + #### Longsword -1. Only straight-bladed, European-type simulators are allowed in the tournament. A longsword must +**E.28** Only straight-bladed, European-type simulators are allowed in the tournament. A longsword must consist of a blade with two edges, a cross-guard, a handle, and a pommel. Longswords must be - made of proper steel (no aluminium, plastic or wooden swords will be accepted) and comply with + made of proper steel (aluminium, plastic or wooden swords are not accepted) and comply with certain qualities, see below. -2. The blade must not bear signs of heavy damage, must not be bent, broken or ruptured. The edges +**E.29** The blade must not bear signs of heavy damage, must not be bent, broken or ruptured. The edges must be round and blunt. -3. A blade may contain a wide blade root, also known as *Schilt*, which must have round and blunt +**E.30** A blade may contain a wide blade root, also known as *Schilt*, which must have round and blunt edges. -4. The cross-guard must be straight and must be round at both ends. Additional protection (e.g. in +**E.31** The cross-guard must be straight and must be round at both ends. Additional protection (e.g. in a form of rings) is not allowed. -5. The pommel must be smooth and have no studs. +**E.32** The pommel must be smooth and have no studs. -6. The flexibility of the blade is measured by applying pressure on the blade point against - scales, with one hand firmly placed on the pommel. The blade's flexibility is defined as the - maximum number (in kg) displayed on the scales before the blade reaches full bend. For - longsword blades, the acceptable range is 9-16kg. +**E.33** The acceptable flexibility range for longsword blades is 9–16 kg. -7. The minimum point surface area is 70mm². +**E.34** The minimum point surface area is 70mm². -8. The point of the blade must be either flared or rounded to prevent potential penetration. +**E.35** The point of the blade must be either flared or rounded to prevent potential penetration. -9. The point of balance of the sword cannot be more than 9cm away from the cross-guard. +**E.36** The point of balance of the sword cannot be more than 9cm away from the cross-guard. -10. The point of the sword must be covered by a red/white/orange tape for better visibility. +**E.37** The point of the sword must be covered by contrasting high-visibility tape for better + visibility. -11. The overall length of the sword must be within 120-140cm. +**E.38** The overall length of the sword must be within 120-140cm. -12. Sword Weight in the men's category must be between 1400 and 1700g. For the +**E.39** Sword Weight in the men's category must be between 1400 and 1700g. For the women's category, the sword must weigh between 1250 and 1600g. #### One-handed sword -1. Only straight-bladed, European-type simulators are allowed in the tournament. In modern times +**E.40** Only straight-bladed, European-type simulators are allowed in the tournament. In modern times the so-called Fechschwert/Feder sword (with widened *ricasso*) or *Spada* sword (with a complex handle which protects the hand) are preferred. A sword must consist of a blade with two edges, a cross-guard, a handle, and a pommel. -2. The blade must not bear signs of heavy damage, must not be bent, broken or ruptured. The edges +**E.41** The blade must not bear signs of heavy damage, must not be bent, broken or ruptured. The edges must be round and blunt. -3. A complex cross-guard or rings are allowed. +**E.42** A complex cross-guard or rings are allowed. -4. The pommel must be smooth and have no studs. +**E.43** The pommel must be smooth and have no studs. -5. The minimum point surface area is 50mm². +**E.44** The minimum point surface area is 50mm². -6. The point of the blade must be either flared or rounded to prevent potential penetration. +**E.45** The point of the blade must be either flared or rounded to prevent potential penetration. -7. The point of balance of the sword cannot be more than 9cm away from the cross-guard. +**E.46** The point of balance of the sword cannot be more than 9cm away from the cross-guard. -8. The point of the sword must be covered by a red/white tape for better visibility. +**E.47** The point of the sword must be covered by contrasting high-visibility tape for better + visibility. -9. The overall length of the sword must be within 70-100cm. +**E.48** The overall length of the sword must be within 70-100cm. -10. The weight of the sword must be between 900 to 1200g. +**E.49** The weight of the sword must be between 900 to 1200g. #### Buckler -1. A buckler is used in tournaments in the category sword and buckler. +**E.50** A buckler is used in tournaments in the category sword and buckler. -2. By the name buckler, it is meant a circular shield that can be gripped in a fist. +**E.51** By the name buckler, it is meant a circular shield that can be gripped in a fist. -3. The core of a buckler is made with a shield boss, which protects the hand. +**E.52** The core of a buckler is made with a shield boss, which protects the hand. -4. The maximal allowed shield diameter is 40cm. +**E.53** The maximal allowed shield diameter is 40cm. -5. The body of buckler must be wooden or metallic; it cannot have any studs or sharp edges. +**E.54** The body of buckler must be wooden or metallic; it cannot have any studs or sharp edges. -6. The weight of the buckler is not limited, but it must have a circular shape; so-called *Targa* +**E.55** The weight of the buckler is not limited, but it must have a circular shape; so-called *Targa* shield is not allowed in the tournament. -7. The buckler serves a defensive purpose; covering, engaging and diverting of the opponent’s +**E.56** The buckler serves a defensive purpose; covering, engaging and diverting of the opponent’s weapon is possible. #### Rapier -1. Historicizing replicas of rapiers with a long blade meant for sporting-historical fencing are +**E.57** Historicizing replicas of rapiers with a long blade meant for sporting-historical fencing are allowed (modern epee or foil blades are not allowed). -2. The length of a handle, type of hilt or width of cross-guard is not limited. The overall length +**E.58** The length of a handle, type of hilt or width of cross-guard is not limited. The overall length of the rapier must not exceed 130cm. -3. The cross-guard must be round at both ends. +**E.59** The cross-guard must be round at both ends. -4. The maximum length of the blade including *ricasso* is 110cm. The blade must be flexible, +**E.60** The maximum length of the blade including *ricasso* is 110cm. The blade must be flexible, especially from the middle of the rapier to the point in order not to pose a risk in thrust - attacks. The flexibility of the blade is measured by applying pressure on the blade point against - scales, with one hand firmly placed on the pommel. The blade's flexibility is defined as the - maximum number (in kg) displayed on the scales before the blade reaches full bend. For - rapier blades, the acceptable flexibility is 10kg or less. + attacks. For rapier blades, the acceptable flexibility is 10 kg or less. -5. The weight of the sword must be between 900 to 1300g. +**E.61** The weight of the sword must be between 900 to 1300g. -6. The blade must not bear signs of heavy damage, must not be bent, broken or ruptured, which may +**E.62** The blade must not bear signs of heavy damage, must not be bent, broken or ruptured, which may pose a risk of breaking the weapon. -7. The point of the primary weapon must be blunt and rounded. If the tip is not rounded, it must be +**E.63** The point of the primary weapon must be blunt and rounded. If the tip is not rounded, it must be additionally secured by protection such as properly fitted plastic or cork end. Adequacy of - protection will be judged by the main referee or tournament organizer. + protection is judged by the main Referee or the Organising Team. -8. The point of the primary and side weapon must be covered by reflexive tape for better - visibility. +**E.64** The point of the primary and side weapon must be covered by contrasting high-visibility tape + for better visibility. -9. The minimum point surface area is 50mm². +**E.65** The minimum point surface area is 50mm². #### Side weapon - dagger -1. In the rapier category, it is possible to use a side weapon, which serves defensive purposes. The - organizer states the usage of the side weapon. +**E.66** In the rapier category, it is possible to use a side weapon, which serves defensive purposes. The + Organising Team states the usage of the side weapon. -2. The dagger blade must be straight; daggers with more blades or with a special *ricasso* meant for +**E.67** The dagger blade must be straight; daggers with more blades or with a special *ricasso* meant for intercepting a weapon or curved daggers are not allowed in the tournament. -3. The maximum length of the blade is 45cm and the maximum overall length is 60cm. +**E.68** The maximum length of the blade is 45cm and the maximum overall length is 60cm. -4. The point of dagger must be blunt and rounded. If the tip is not rounded, it must be additionally +**E.69** The point of dagger must be blunt and rounded. If the tip is not rounded, it must be additionally secured by protection such as properly fitted plastic or cork end. The point of side weapon must - be covered by reflexive tape. + be covered by contrasting high-visibility tape. #### Cloak -1. In the rapier category, it is possible to use a cloak, which serves defensive purposes. The - Organizing Team shall announce in advance, whether they allow the usage of cloaks in their +**E.70** In the rapier category, it is possible to use a cloak, which serves defensive purposes. The + Organising Team must announce in advance whether they allow the usage of cloaks in their competitions. -2. The term cloak refers to a semi-circular or circular piece of cloth. +**E.71** The term cloak refers to a semi-circular or circular piece of cloth. -3. The cloak must be made of natural materials such as wool, cotton, or a similar fibre; synthetic +**E.72** The cloak must be made of natural materials such as wool, cotton, or a similar fibre; synthetic materials are not allowed. -4. The cloak must not have any attached metal parts such as weights. However, it is allowed to be +**E.73** The cloak must not have any attached metal parts such as weights. However, it is allowed to be quilted with fabric or a pattern. #### Sabre -1. A sabre will be defined as a one-handed light cut and thrust blade, either straight or lightly - curved. +**E.74** A sabre is a one-handed light cut and thrust blade, either straight or lightly curved. -2. The total weight of a sabre shall fall between the range of 650-800 grams, counting both blade - and basket. +**E.75** The sabre, including blade and basket, must weigh between 650 and 800 g. -3. The maximal blade length is 90cm. The maximal total sabre length is 105cm. +**E.76** The maximal blade length is 90cm. The maximal total sabre length is 105cm. -4. The blade must not have any significant bends or signs of damage. +**E.77** The blade must not have any significant bends or signs of damage. -5. The flexibility of the blade is measured by applying pressure on the blade point against - scales, with one hand firmly placed on the pommel. The blade's flexibility is defined as the - maximum number (in kg) displayed on the scales before the blade reaches full bend. For - longsword blades, the acceptable range is 10kg. +**E.78** For sabre blades, the acceptable flexibility is 10 kg or less. -6. The minimum point surface area is 50mm². The blade will have a safe tip, this being defined as - rolled, thickened or spatulated. The tip will be further built up at the event with contrasting - high-visibility tape. +**E.79** The minimum point surface area is 50mm². The blade must have a safe tip: rolled, thickened or + spatulated. The tip must be further built up at the event with contrasting high-visibility tape. -7. The organizers reserve the right to disallow weapons they feel are unsafe or against the spirit +**E.80** The Organising Team reserves the right to disallow weapons they feel are unsafe or against the spirit of the rules. + diff --git a/03-general.md b/03-general.md index 655d070..934721a 100644 --- a/03-general.md +++ b/03-general.md @@ -1,235 +1,283 @@ -### General rules +# General rules ## The Process of the Bouts -1. Each bout is performed for a set amount of time or until a set amount of hits. This is achieved - through a series of separate, independent assaults. +### Starting the bout -2. The competitors present themselves in the arena when called by the referee before each pool or +**G.1** Each bout is performed for a set amount of time or until a set amount of points. This is achieved + through a series of separate, independent exchanges. + +**G.2** The fencers present themselves in the arena when called by the Referee before each pool or direct elimination bout, in appropriate gear conforming to the rules and be ready to fence. -3. An additional equipment check will be performed by the referee directly before each round to - confirm completeness of safety gear and weapons. The Referee has the right to repeat this check - any time they find it necessary. Fencers who appear in the arena wearing or using unapproved or - incomplete equipment will be penalised according to the Rulebook's regulations, and will not be - allowed to start or continue competing without having the item(s) approved or replaced with - approved ones (see the Equipment Standards). +**G.3** Equipment checks before and during the competition, and the penalties for + nonconforming equipment, are set out in the + [Technical & Equipment Standards](02-equipment.md), E.6. -4. Each fencer is allowed one coach/second who is allowed to be near the arena during bouts. This +**G.4** Each fencer is allowed one coach/second who is allowed to be near the arena during bouts. This person may speak to their fencer during breaks but may not disturb the bout with verbal or - physical gestures. Generally, it is the fencer who should address the referee for help, + physical gestures. Generally, it is the fencer who should address the Referee for help, clarification or appeals, the seconds should not interfere with the bout in any other way than advising their fencers during breaks. -5. The competitors called first place themselves to the right of the referee behind the on guard +**G.5** The fencers called first place themselves to the right of the Referee behind the on-guard line. -6. Pool bouts last 2 minutes of effective fencing time; or until one of the fencers reaches 5 - points. Direct Elimination bouts last 2 * 2 minutes of effective fencing time, with one minute - resting period after the first 2 minutes period; or until one of the fencers reaches 7 points. - The 'End of Time' is going to be announced by a Timekeeper, but the match can be stopped only by - the referee. - -7. Before the beginning of each bout, the two fencers called on the arena salute to their opponent, - and the referee. Competitors come on guard when the referee gives the order ‘On guard!’, after - which the referee asks, ‘Are you ready?’. On the affirmative, or in the absence of a negative - reply, the command will be given for fencing to commence with the word ‘Fence!’. - -8. The assault stops when the Referee commands ‘Halt!/Stop!’. The most common reasons for stopping - a bout: - 1. a valid hit has been made - 2. an invalid hit has been made, which may complicate the evaluation of any further actions - 3. a fencer has left the arena with both feet - 4. end of time - 5. dangerous or confused fencing - 6. equipment failure - 7. injury - 8. a fencer has requested to break the assault - -9. Fencers may ask for a break by signaling with their arm raised. This may be done due to any - reason that proves to be valid (e.g. equipment failure, injury). However, the assault stops only +**G.6** Bout durations, point limits and tie-break procedures are set out in the + [Organisational Rules](09-organisational.md), O.17–O.20 and O.31–O.33. Unless the Organising Team + announces otherwise, the defaults are: pool bouts 2 minutes or 5 points; + direct elimination bouts 2 × 2 minutes (with a one-minute rest) or 7 + points. The Timekeeper announces the end of time. Only the Referee may + stop the bout. + +**G.7** Before the beginning of each bout, the two fencers called on the arena salute to their opponent, + and the Referee. Fencers come on guard when the Referee gives the order ‘On guard!’, after + which the Referee asks, ‘Are you ready?’. On the affirmative, or in the absence of a negative + reply, the command is given for fencing to commence with the word ‘Fence!’. + +### Stopping the exchange + +**G.8** The exchange stops when the Referee commands ‘Halt!/Stop!’. The most common reasons for stopping + an exchange: + +- a) a valid hit has been made +- b) an invalid hit has been made, which may complicate the evaluation of any further actions +- c) a fencer has left the arena with both feet +- d) end of time +- e) dangerous or confused fencing +- f) equipment failure +- g) injury +- h) a fencer has requested to break the exchange + +**G.9** Fencers may ask for a break by signaling with their arm raised. This may be done due to any + reason that proves to be valid (e.g. equipment failure, injury). However, the exchange stops only when the Referee gives the command to stop. -10. No actions that have started before the command to start or after the command to stop may be +**G.10** No actions that have started before the command to start or after the command to stop may be counted as valid. Starting any action before the command to start and initiating an action after the command to stop belong to the first group of offences. -11. Invalid hits may be disregarded at the Referee's discretion as if never happened, when the - Referee is able to clearly follow the assault. +**G.11** Invalid hits may be disregarded at the Referee's discretion as if never happened, when the + Referee is able to clearly follow the exchange. + +**G.12** If a hit that the Referee ignored as invalid proves, when the exchange is stopped, to have been + valid, the Referee must, if possible, re-judge the exchange from that actual first hit. Later + hits are annulled, even if they were valid. -12. However, if when the Referee stops the bout, a hit that the referee believed invalid and ignored - before the conclusion of the last assault proves to have been valid, the Referee shall, if - possible, make a decision in relation to the actual first hit, even if this results in the - annulment of other valid hits that happened afterwards. +### Arena boundaries -13. When a competitor crosses one of the boundaries of the arena with both feet completely off the - arena, the Referee must immediately stop the assault. +**G.13** When a fencer crosses one of the boundaries of the arena with both feet completely off the + arena, the Referee must immediately stop the exchange. -14. If the fencer goes off the arena with both feet, the Referee must annul everything that has +**G.14** If the fencer goes off the arena with both feet, the Referee must annul everything that has occurred after the boundary has been crossed. -15. A hit scored by the fencer who leaves the arena with one foot only is valid provided that the - action was started before the bout was stopped, even if the fencer leaves the arena afterwards. +**G.15** A hit scored by the fencer who leaves the arena with one foot only is valid provided that the + action was started before the exchange was stopped, even if the fencer leaves the arena + afterwards. -16. Should a competitor cross the boundary of the arena completely — i.e. with both feet — without - having scored any valid hits before crossing the limit of the arena - 1. upon the first occasion within a bout, the fencer receives a verbal warning - 2. upon each subsequent cases within the bout, a hit will be scored against him (as if they had - been hit). +**G.16** If a fencer crosses the boundary of the arena with both feet without having scored a valid hit + before crossing (see penalty 0.3): -17. A competitor who involuntarily crosses one of the boundaries of the arena as the result of any +- a) upon the first occasion within a bout, the fencer receives a verbal warning +- b) on each subsequent occasion within the bout, a point is scored against the fencer (as if + they had been hit). + +**G.17** A fencer who involuntarily crosses one of the boundaries of the arena as the result of any accidental cause (such as jostling/being pushed out by the opponent) incurs no penalty. -18. After each valid hit and in case the bout is stopped for other reasons (confused fencing, +### Restarting, video review and end of the bout + +**G.18** After each valid hit and in case the exchange is stopped for other reasons (confused fencing, malfunction, unsuccessful grappling, etc.) the bout continues from the 'On guard' position, at - the starting line. + the on-guard line. -19. When available, fencers have the right to appeal for video review once during bout. If the video - review alters the referee's verdict in their favour, they retain the right to appeal for video +**G.19** When available, fencers have the right to appeal for video review once during bout. If the video + review alters the Referee's verdict in their favour, they retain the right to appeal for video review during that bout. -20. In case the points of the fencers are equal at the time limit, an additional minute of time is +**G.20** In case the points of the fencers are equal at the time limit, an additional minute of time is given, during which the first valid hit wins the bout. Additionally, before overtime starts, the - referee flips a coin and randomly assigns one of the two fencers with priority. If the sudden + Referee draws lots and randomly assigns one of the two fencers with priority. If the sudden death overtime runs out with neither fencer scoring, the fencer with priority wins the bout. This randomly assigned priority has no effect on the judgment of actions during the overtime. -21. At the end of the bout the referee will announce the winner and the final score. The opponents - shall salute to the referees and the opponent and shake hands with the opponent (Refusal to - observe this rule by one or both of the opponents belongs to the third group of offences). +**G.21** At the end of the bout the Referee announces the winner and the final score. The opponents + must salute the Referees and the opponent and shake hands with the opponent (Refusal to + observe this rule by one or both of the opponents belongs to the fourth group of offences). -22. After the pool round and each direct elimination bout, the fencers shall check and sign the - result sheet filled in by the referee during the bout, before leaving the arena. +**G.22** After the pool round and each direct elimination bout, the fencers must check and sign the + result sheet filled in by the Referee during the bout, before leaving the arena. -23. For an equipment failure which occurs in the course of a bout, the referee may allow a break in - the fight lasting up to 3 minutes (measured from the point when the failure has been - acknowledged by the referee). This time interval can be used to mend or replace, and check the +### Equipment failure and injury breaks + +**G.23** For an equipment failure which occurs in the course of a bout, the Referee may allow a break in + the bout lasting up to 3 minutes (measured from the point when the failure has been + acknowledged by the Referee). This time interval can be used to mend or replace, and check the equipment in question. If a fencer is not able to continue fencing before or at the end of the - break, the referee has the authority to disqualify the fencer from that bout. + break, the Referee has the authority to disqualify the fencer from that bout. -24. For an injury or cramp which occurs in the course of a bout the referee may allow a break in the - fight lasting up to 10 minutes (measured from the point when the qualified staff give their +**G.24** For an injury or cramp which occurs in the course of a bout the Referee may allow a break in the + bout lasting up to 10 minutes (measured from the point when the qualified staff give their opinion). This time interval is reserved for the treatment of the injury or cramp which brought it about. No further interruption can be allowed in the same bout for the same injury. If the professional attendant deems the fencer unsafe/incapable to fence before or at the end of the 10-minute break, they have the authority to withdraw the fencer from the bout, or the competition. -25. In case the fencer forfeits one bout due to an equipment malfunction or injury, during the pool - phase, the other contestant is declared as winning, but the score is not annulled (it is +### Forfeits and withdrawal + +**G.25** In case the fencer forfeits one bout due to an equipment malfunction or injury, during the pool + phase, the other fencer is declared as winning, but the score is not annulled (it is possible to win a bout while having less points than the opponent, in this case). In the direct - elimination phase, the other contestant is declared as winning, and the fencer does not lose + elimination phase, the other fencer is declared as winning, and the fencer does not lose their place in the overall classification of the competition. -26. Only one bout can be forfeited in the pool, should the fencer be unable to fence through a bout +**G.26** Only one bout can be forfeited in the pool, should the fencer be unable to fence through a bout a second time, they must withdraw from the competition. (They may still participate in other competitions/weapons in the tournament) -27. In case the fencer is withdrawn from the competition during the pool bouts, their results shall - be scratched, and their opponents shall be declared as winning V0-D0 in each of their past or +**G.27** In case the fencer is withdrawn from the competition during the pool bouts, their results are + scratched, and their opponents are declared as winning V0-D0 in each of their past or future pool bouts, regardless of the previously achieved results. The withdrawn fencer does not participate in the calculation of ranking for the direct elimination table. -28. If the fencer withdraws from the competition during the last pool bout, the score shall be - recorded as if they had forfeited only one pool bout (see previous paragraph), but they will not - be included in the calculation if ranking for the direct elimination table. +**G.28** If the fencer withdraws from the competition during the last pool bout, the score is + recorded as if they had forfeited only one pool bout (see previous paragraph), but they are not + included in the calculation of ranking for the direct elimination table. -29. If the fencer withdraws during the direct elimination phase, the opponent is declared as +**G.29** If the fencer withdraws during the direct elimination phase, the opponent is declared as winning, and the fencer does not lose their place in the overall classification of the competition. ## The methods of scoring hits -1. Fencing time is the time required to perform one simple fencing action. In judging hits, referees - will count immediate actions that start up to the moment of the first hit, as relevant actions. +**G.30** *Fencing time* (see [Glossary](appendices/01-glossary.md)) is counted as follows: in judging + hits, Referees count immediate actions that start up to the moment of the first hit as relevant + actions. -2. When only one of the fencers receives a hit within one period of fencing time, the fencer who was +**G.31** When only one of the fencers receives a hit within one period of fencing time, the fencer who was hit is called one point against. -3. In case both fencers hit within one period of fencing time, three different tactical situations +**G.32** In case both fencers hit within one period of fencing time, three different tactical situations are defined in the rules. - 1. A simultaneous hit is the result of a similar conception and execution of both fencers at the - same time. In these cases, both fencers are called a point against. +- a) A simultaneous hit is the result of a similar conception and execution of both fencers at the + same time. The scoring of simultaneous hits is determined by weapon-specific rules. - 2. A double hit occurs when both fencers get hit within a period of fencing time, but are not - simultaneous actions, are evaluated according to the rules or each specific weapon. +- b) A double hit occurs when both fencers are hit within one period of fencing time but the + actions are not simultaneous. Double hits are evaluated according to the weapon-specific + rules. - 3. An after-action is a double hit situation, where the fencer at fault starts a counter action +- c) An after-action is a double hit situation, where the fencer at fault starts a counter action (or the finishing move of a compound action) at or after the moment of receiving a hit. After-actions do not score, and do not nullify the hit received. -4. Hits can be made using the weapon in the following ways: - 1. Cut - carried out with the edge or the flat of the blade on any valid target. A cut must be - performed with a visually distinctive trajectory (preparation more than 45 degrees) and must - correspond with an action that would probably cause the target area to be wounded, e.g. - hitting head with the flat surface of the sword also counts - 2. Thrust - carried out with the point of the weapon on any valid target. A valid thrust must be - performed in such a way that it would be visually distinctive, e.g. the blade will be bent at - the end of the action and the point will traverse at least 20cm. - 3. Slice - carried out with the edge of the weapon on any valid target. A slice must be a +> **Example (simultaneous hit):** Both fencers decide to attack at the same +> moment and both cuts land together; neither action began meaningfully +> earlier. → Simultaneous hit, scored according to the weapon-specific rules +> (no score change in Longsword and Sabre; both fencers score in Rapier and +> Sword & Buckler). + +> **Example (double hit):** Fencer A launches a correct attack. Fencer B, +> instead of parrying, counterattacks; both hits arrive within one period of +> fencing time. → Double hit, evaluated by the weapon-specific rules (in +> priority weapons the point goes to A). + +> **Example (after-action):** Fencer A lands a clean valid hit. Only after +> being hit does Fencer B start a counter-cut, which also lands. → B's hit is +> an after-action: it does not score and does not annul A's point. + +**G.33** Hits can be made using the weapon in the following ways: + +- a) Cut - carried out with the edge of the blade on any valid target. A cut must be performed + with a visually distinctive trajectory (preparation more than 45 degrees) and must correspond + with an action that would probably cause the target area to be wounded. Hits performed with + the flat may be counted at the Referee's discretion, if they bear the characteristics of a + coordinated and potent technique (e.g. hitting the head with the flat surface of the sword). +- b) Thrust - carried out with the point of the weapon on any valid target. A valid thrust must be + performed in such a way that it would be visually distinctive, e.g. the blade bends at + the end of the action and the point traverses at least 20cm. +- c) Slice - carried out with the edge of the weapon on any valid target. A slice must be a movement which is defined by pushing or pulling of the blade against the valid area in a visually distinctive way. - 4. Strike - using the pommel of the weapon against any part of the opponent's mask. - 5. The referee may call an action as a valid hit, when a weapon action results in a passively - constraining position for the opponent, for a considerable time during which the opponent is - unable to break free. This may be the result of of grappling, locks involving the weapon, or - opposing actions that restrain the opponent’s weapon movement for a considerable time, until - the referee finds all criteria of dominance met, and calls “Halt!”. Hits received while this - dominant position is upheld are not considered valid. However, dominance can not be applied to - situations, when the opponent can practically break free and initiate valid actions, even if - by some active measures, the weapon contact is not completely broken. It is up to the - referee’s discretion to judge the validity of dominance actions. +- d) Strike - using the pommel of the weapon against the front mesh of the opponent's mask. + This action is valid only in the Longsword category. + +### Dominance + +**G.34** The Referee may award a hit when a weapon action results in a passively + constraining position for the opponent, held for a considerable time during + which the opponent is unable to break free. Dominance may be the result of + grappling, locks involving the weapon, or opposing actions that restrain the + opponent's weapon movement. + +**G.35** The Referee awards the hit by calling 'Halt!' once they find all criteria of + dominance met. Hits received while the dominant position is upheld are not + valid. + +**G.36** Dominance does not apply when the opponent can practically break free and + initiate valid actions, even if the weapon contact is not completely broken. + It is at the Referee's discretion to judge the validity of dominance actions. + +**G.37** Dominance achieved by grappling or close quarter combat applies only in the + Longsword category. + +## Forbidden actions (all weapons) + +**G.38** Punching, kicking, violent jostling, and throwing the weapon are strictly + forbidden. + +**G.39** Excessive force, brutality or unnecessary violence are forbidden. + +**G.40** Hitting the back of the head, the spine, the groin, the back of the knee or + the foot is forbidden and is penalised (see penalty 1.5). + +**G.41** It is forbidden to hit with the cross-guard, where applicable, or with the + basket or bell guard (see penalty 1.5). + +**G.42** Turning the head or covering a valid target with an off-target part belongs to + the first group of offences. + +**G.43** Hitting the arena floor with any weapon due to bad measure in an action is + penalised according to the first group of offences (cases resulting from + the opponent's interactions, accidental touches, and touching the floor + after having hit the opponent, may be disregarded by the Referee). ## Close quarter combat -Close quarter combat and grappling are allowed with the following regulations: +Close quarter combat and grappling are allowed only where the weapon-specific rules permit them +(currently only in the Longsword category), with the following regulations: + +**G.44** The Referee may call 'Halt!' after an unsuccessful period of grappling. -1. The Referee may call 'Halt!' after an unsuccessful period of grappling. -2. Grappling on the opponent's blade is allowed, if the blade is controlled. Seizing of the blade +**G.45** Grappling on the opponent's blade is allowed, if the blade is controlled. Seizing of the blade needs to be momentary, and followed by an immediate 'clean' hit to score a point. If the - competitor can not achieve a hit consequently to seizing the blade, the Referee will call 'Halt!' - and award no points. Failing to control the blade will be counted as a point against the - competitor who attempted to enter grappling. -3. Grappling actions that score a point are: - 1. take-downs and throws followed/accompanied by a simple and immediate hit with the weapon + fencer can not achieve a hit consequently to seizing the blade, the Referee calls 'Halt!' + and awards no points. Failing to control the blade is counted as a point against the + fencer who attempted to enter grappling. + +**G.46** Grappling actions that score a point are: + +- a) take-downs and throws followed/accompanied by a simple and immediate hit with the weapon (within a period of fencing time) - 2. controlling the opponent via grappling with or without the weapon, until the Referee calls +- b) controlling the opponent via grappling with or without the weapon, until the Referee calls 'Halt!' -4. Ground action is not allowed, the Referee shall call “Halt!” when one of the fencers falls to the - ground, or whenever the referee is unable to judge the action any more, or when a reasonable time + +**G.47** Ground action is not allowed, the Referee must call 'Halt!' when one of the fencers falls to the + ground, or whenever the Referee is unable to judge the action any more, or when a reasonable time has passed for dominance to apply. -5. Disarming is allowed and scores a point, unless the disarmed fencer immediately (before the - referee calls 'Halt!') controls the opponent's weapon and enters grappling. -6. If a fencer accidentally drops the weapon, or falls without the opponent's interaction, the - Referee shall call 'Halt!'. A hit that started before the fencer obviously lost the weapon should +**G.48** Disarming is allowed and scores a point, unless the disarmed fencer immediately (before the + Referee calls 'Halt!') controls the opponent's weapon and enters grappling. + +**G.49** If a fencer accidentally drops the weapon, or falls without the opponent's interaction, the + Referee must call 'Halt!'. A hit that started before the fencer obviously lost the weapon should be counted as valid even if it arrives afterwards, but in the spirit of sportsmanship, no intentional new attack should be initiated if the opponent has fallen or lost the weapon. -### Forbidden actions - -1. Neck-wrenching, lifting the opponent off the ground, full application of joint locks, - small-joint manipulation, or other potentially dangerous wrestling techniques, punching, - kicking, violent jostling, and throwing the weapon are strictly forbidden. - -2. Excessive force, brutality or unnecessary violence are forbidden. - -3. Hitting the back of the head the spine, the back of the knee or the foot is forbidden. - -4. Turning the head or covering a valid target with a non-valid one belongs to the first group of - offences. - -5. Hitting the arena floor with any weapon due to bad measure in an action will be penalised - according to the first group of offences (cases resulting from the opponent’s interactions, - accidental touches, and touching the floor after having hit the opponent, may be disregarded by - the Referee). - -6. It is forbidden to hit with the cross-guard, where applicable, or with the basket or bell guard; - and in all circumstances, to hit the back of the head, spine and back of the knee, and the foot - of the opponent and will be penalised. +### Forbidden actions in close quarter combat -7. Hitting the arena floor with any weapon due to bad measure in an action will be penalised - according to the first group of offences (cases resulting from the opponent's interactions, - accidental touches, and touching the floor after having hit the opponent, may be disregarded by - the Referee). +**G.50** Neck-wrenching, lifting the opponent off the ground, full application of + joint locks, small-joint manipulation, or other potentially dangerous + wrestling techniques are strictly forbidden. diff --git a/04-longsword.md b/04-longsword.md deleted file mode 100644 index fbe3a50..0000000 --- a/04-longsword.md +++ /dev/null @@ -1,61 +0,0 @@ -# Longsword competitions - -## Rules of hit validity and fencing actions - -1. All hits made with the true edge, the false edge, and the tip of the blade are valid if they are - performed in such a way that it would have caused a wound to an unarmoured opponent, had the - weapon been sharp. Hits performed with the flat may be counted, if they bear the characteristics - of a coordinated and potent technique. It is up to the referee’s discretion to judge the validity - of hits. - -2. Hits through the blade, that is to say those which bend over the opponent’s blade or cross-guard, - are not considered to be valid. However, the referee may count a hit as valid, if the opponent’s - blade has not closed the line of the attack, and it touches at the same time the valid target and - the weapon of the opponent, whenever they arrive clearly on the target. - -3. The target includes the whole of the fencer’s body, including the handle of the weapon, clothing, - and safety equipment, except for the back of the head, spine, the feet, and the back of the - knees. - - -## *Vor* (priority) - -Longsword uses the standard right-of-way system. See [Right of Way and Priority Rules](09-right-of-way.md) for detailed priority conventions and examples. - -## Close quarter combat - -1. Priority ceases to exist when the weapons of the opponents come together at *Stercke* on - *Stercke* (including the crossguard), and/or in case of grappling actions. In case the weapons - touch *Stercke* on *Stercke*, and a double hit follows immediately, no points are awarded. - Otherwise, they may disengage and continue fencing (with priority rules), or enter - grappling (with grappling rules). - -## Judging of hits - -1. When during a phrase both fencers are hit within a period of fencing time there is either a - simultaneous action or a double hit: - 1. The simultaneous action is due to simultaneous conception and execution of an attack by both - fencers; in this case no points are awarded. - 2. The double hit on the other hand, is the result of a clearly faulty action on the part of one - of the fencers, according to the rules. Therefore, when there is not an interval of fencing - time between the hits. - -2. When there is a double hit, and if the Referee is unable clearly to judge from which side the - fault has come, the referee must not assign any points. - -3. In cases when a stop hit is made and there is doubt as to whether it was made sufficiently in - time in relation to the final movement of a compound attack, the double hit often occurs through - the fault of both fencers concerned. Since this is clearly not a tactically symmetrical case, - the referee should assign no points. (The fault of the attacker consists of indecision, slowness - of execution or the making of feints which are not sufficiently effective. The fault of the - defender lies in delay or slowness in making the stop hit.) - -4. Any actions executed while holding the weapon with one hand only, can only score if the fencer - does not receive any attack or counterattack with a weapon held with two hands, within one - period of fencing time. - -5. However if the opponent reacts to the attack with a weapon held in one hand with an attempt to - parry, an unsuccessful parry returns the right of initiative to the one-handed hit. - -6. In cases when both fencers get hit with a weapon held in one hand within time, the judgment of - the action follows the regular priority rules. diff --git a/04-right-of-way.md b/04-right-of-way.md new file mode 100644 index 0000000..c60c6b6 --- /dev/null +++ b/04-right-of-way.md @@ -0,0 +1,120 @@ +# Right of Way and Priority Rules + +## General Principles + +**RoW.1** The Referee alone decides as to the validity or the priority (right of way, historically *Vor*) of the hit by applying the following basic rules which are the conventions applicable to priority-based weapons (longsword and sabre). + +**RoW.2** Any attack properly executed must be parried, or completely avoided, and the phrase must be continuous. + +**RoW.3** Priority rules are used to resolve double hits when both fencers are hit within one period of fencing time. + +## Attack Definition and Requirements + +**RoW.4** The attack is correctly carried out when the straightening of the arm, with the point or the edge continuously threatening the valid target, precedes the initiation of the footwork action. + +**RoW.5** An attack with a lunge (or other offensive footwork) is correctly carried out: + +- a) in a simple attack when the beginning of the straightening of the arms precedes the launching of the lunge or other offensive footwork, and the hit arrives at the latest when the front foot hits the ground +- b) in a compound attack when the beginning of the straightening of the arms, on the first feint, precedes the launching of the lunge or other offensive footwork, and the hit arrives at the latest when the front foot hits the ground. + +**RoW.6** Attacks with step-forward-lunge or other compound footwork are not defined in this rulebook. Priority is assigned based on the start of the (attack with) lunge other simple offensive footwork, while steps in any case are considered as preparations. + +**RoW.7** Actions, simple or compound, steps or feints, which are executed with bent arms, are not considered as attacks but as preparations, laying themselves open to the initiation of the offensive or defensive/offensive action of the opponent. Hits received from attacks/counterattacks initiated during these actions are counted as valid and score a point against the preparing fencer. + +## Fencing Actions and Priority + +For definitions of fencing actions (attack, feint, compound attack, counterattack, riposte, remise, etc.), see [Glossary](appendices/01-glossary.md). + +Priority assignment for specific actions: +- **Attacks** gain priority when properly executed with blade commitment +- **Blade commitment requirement** - Priority is not given for pure footwork without blade commitment or actions not demonstrating forward commitment of blade +- **Ripostes** gain priority when immediate and simple after a parry +- **Counterattacks** cannot be assigned priority +- **Remise** can only gain priority if the defender's riposte was clearly and significantly delayed + +## Attack Validity Rules + +**RoW.8** **Point-in-line situations**: If the attack is initiated when the opponent has their point passively in line, the attacker must first deflect the opponent's weapon. Referees must ensure that a mere contact of the blades is not considered as sufficient to deflect the opponent's blade. + +**RoW.9** **Failed blade finding**: If, when attempting to find the opponent's blade to deflect it, the blade is not found, the right of attack passes to the opponent. + +**RoW.10** **Attack completion**: If the attack is commenced when the opponent's blade is not in line, the attack may be completed either direct, or by a disengagement or by a cutover, or else be preceded by feints which oblige the opponent to parry. + +**RoW.11** **Stop-hits in compound attacks**: In a compound attack the opponent has the right to stop-hit; but, in order to be valid, the stop-hit must precede the last movement of the attack by one period of fencing time, i.e. the stop-hit must arrive before the attacker has started the last movement of the attack itself. + +## Parry and Riposte + +**RoW.12** The parry - properly carried out - gives the right to riposte; a simple riposte may be direct or indirect, but in order to annul any subsequent movement by the attacker, it must be carried out immediately, *without any hesitation or pause*. However, if the riposte is delayed so that a renewed attack clearly starts before the riposte, then the renewed attack gains priority. + +**RoW.13** Against thrusts, and cuts with the edge, the flat, or the back edge of the blade, the object of the parry is to prevent hits made by the opponent arriving on the valid target; therefore: + +- a) The parry is properly carried out when, before the completion of the attack, it prevents the arrival of that attack by closing the line in which that attack is to finish. +- b) When a parry is properly executed, the attack by the opponent must be declared parried, and judged as such by the Referee, even if, as a result of its flexibility, the tip of the opponent's weapon makes contact with the target. + +> **Example:** A attacks; B parries successfully but pauses before riposting. +> A immediately renews the attack and hits while B's delayed riposte also +> lands. → A scores: the delayed riposte lost priority. + +## Priority Assignment in Double Hits + +**RoW.14** Priority rules are only used in assessing double hits. If there is a delay of a fencing time or more between hits, the fencer who landed first is assessed to have scored. + +**RoW.15** Priority rules are only used when one fencer can be clearly assessed to have made a mistake. + +### The fencer who is attacked is alone counted as hit: + +**RoW.16** if they make a counter-attack against the opponent's simple attack + +**RoW.17** if, instead of parrying, they attempt to avoid the hit and do not succeed in doing so + +**RoW.18** if, after making a successful parry, they make a momentary pause (delayed riposte) which gives the opponent the right to renew the attack (redoublement, or remise, or reprise) + +**RoW.19** if, during a compound attack, they make a stop-hit without being in time + +**RoW.20** if, having their point 'in line' and being subjected to a beat or a taking of the blade which deflects their blade, they attack or place their point in line again instead of parrying a direct hit made by the opponent + +> **Example:** A attacks with a straight thrust, the arm extending before the +> lunge. B counterattacks to the arm without parrying; both hits land within +> one fencing time. → A alone scores: a counterattack into a simple attack +> loses. + +> **Example:** A makes a compound attack (feint, then disengage). B stop-hits, +> but the stop-hit lands only as A starts the final movement. → The stop-hit +> is not in time; A alone scores. + +### The fencer who attacks is alone counted as hit: + +**RoW.21** If they initiated their attack when the opponent's point was 'in line', without deflecting the opponent's weapon. Referees must ensure that a mere contact of the blades is not considered as sufficient to deflect the opponent's blade. + +**RoW.22** If they attempt to find the blade, do not succeed (due to the opponent's avoiding reaction) and continue the attack. + +**RoW.23** If, during a compound attack, they allow the opponent to find the blade, and continue the attack while the opponent ripostes immediately. + +**RoW.24** If, during a compound attack, they bend their arm or make a momentary pause, during which time the opponent makes a stop-hit or an attack while the attacker continues their own attack. + +**RoW.25** If, during a compound attack, they are stop-hit one period of fencing time before they make the final movement of the attack. + +**RoW.26** If they make a hit by a renewed attack following a parry by the opponent which has been followed by a riposte which is immediate, simple and executed in one period of fencing time without withdrawing the arm. + +> **Example:** B stands with the point in line before A starts attacking. A +> attacks without deflecting B's blade and both fencers are hit. → B alone +> scores: A had to take the blade first. + +> **Example:** A attacks; B parries and ripostes immediately with a simple +> direct riposte. A renews the attack (remise) and both hits land. → B alone +> scores: a remise against an immediate simple riposte loses. + +### Both fencers are at fault (no points awarded) + +**RoW.27** Similar conception and execution of the same action by both fencers at once, without either of them taking the initiative sooner than the other. + +**RoW.28** Similar failure to initiate or execute the appropriate actions, of both fencers at the same time, resulting in the loss of priority gained by previous actions, and without any of the fencers taking the initiative sooner than the other afterwards. + +**RoW.29** When both fencers are at fault, NO POINTS are awarded to either fencer. + + +## Weapon-Specific Variations + +See individual weapon rules for specific applications and variations of these priority principles: +- [Longsword specific applications](05-longsword.md) +- [Sabre specific applications](07-sabre.md) \ No newline at end of file diff --git a/05-longsword.md b/05-longsword.md new file mode 100644 index 0000000..68d2f72 --- /dev/null +++ b/05-longsword.md @@ -0,0 +1,64 @@ +# Longsword competitions + +## Rules of hit validity and fencing actions + +**LS.1** All hits made with the true edge, the false edge, and the tip of the blade are valid if they are + performed in such a way that it would have caused a wound to an unarmoured opponent, had the + weapon been sharp. Hits performed with the flat may be counted, if they bear the characteristics + of a coordinated and potent technique. A strike with the pommel against the front mesh of the + opponent's mask is also a valid hit (see [G.33](03-general.md) — pommel strike). It is + up to the Referee’s discretion to judge the validity of hits. + +**LS.2** Hits through the blade, that is to say those which bend over the opponent’s blade or cross-guard, + are not considered to be valid. However, the Referee may count a hit as valid, if the opponent’s + blade has not closed the line of the attack, and it touches at the same time the valid target and + the weapon of the opponent, whenever they arrive clearly on the target. + +**LS.3** The target includes the whole of the fencer’s body, including the handle of the weapon, clothing, + and safety equipment, except for the back of the head, spine, groin, the feet, and the back of + the knees. + + +## Priority + +Longsword uses the standard priority (right of way, historically *Vor*) system. See [Right of Way and Priority Rules](04-right-of-way.md) for detailed priority conventions and examples. + +## Close quarter combat + +**LS.4** Priority ceases to exist when the weapons of the opponents come together at *Stercke* on + *Stercke* (including the cross-guard), and/or in case of grappling actions. In case the weapons + touch *Stercke* on *Stercke*, and a double hit follows immediately, no points are awarded. + Otherwise, they may disengage and continue fencing (with priority rules), or enter + grappling (with grappling rules). + +## Judging of hits + +**LS.5** When during a phrase both fencers are hit within a period of fencing time there is either a + simultaneous action or a double hit: + +- a) The simultaneous action is due to simultaneous conception and execution of an attack by both + fencers; in this case no points are awarded. +- b) A double hit, on the other hand, occurs when there is no interval of fencing time between the + hits and it is the result of a clearly faulty action on the part of one of the fencers, as + defined by these rules. + +**LS.6** When there is a double hit, and if the Referee is unable clearly to judge from which side the + fault has come, the Referee must not assign any points. + +**LS.7** In cases when a stop-hit is made and there is doubt as to whether it was made sufficiently in + time in relation to the final movement of a compound attack, the double hit often occurs through + the fault of both fencers concerned. Since this is clearly not a tactically symmetrical case, + the Referee should assign no points. + +> **Note:** The fault of the attacker typically consists of indecision, slow execution, or +> insufficiently effective feints; the fault of the defender lies in a delayed or slow stop-hit. + +**LS.8** Any actions executed while holding the weapon with one hand only, can only score if the fencer + does not receive any attack or counterattack with a weapon held with two hands, within one + period of fencing time. + +**LS.9** However if the opponent reacts to the attack with a weapon held in one hand with an attempt to + parry, an unsuccessful parry returns the priority to the one-handed hit. + +**LS.10** In cases when both fencers get hit with a weapon held in one hand within time, the judgment of + the action follows the regular priority rules. diff --git a/05-rapier.md b/05-rapier.md deleted file mode 100644 index 165419a..0000000 --- a/05-rapier.md +++ /dev/null @@ -1,70 +0,0 @@ -# Rapier and side weapons competitions - -## Wrestling - -1. Wrestling actions (arm locks, throws, chokes) are forbidden in Rapier and Side Weapons - competitions. - -2. Attempting wrestling actions during bouts of this category belongs to the first group of - offences. - -3. Body contact (including accidental jostling) in itself is not considered as wrestling and - therefore are allowed. - -## Judging of hits - -1. A double hit occurs when two valid hits that land within one period of fencing time. - -2. When a double hit consists of a thrust by one fencer and a cut or slice by the other, the thrust - scores one point and the cut scores no point. - -3. In all other double hits, each fencer scores one point. - -4. A hit that begins at or after the moment a fencer receives a valid hit (after-action) is not - counted. - -5. Rapiers may be used with a parrying dagger or a cloak; the regulations for these side weapons are - set out elsewhere in this Rulebook. - -6. All hits made with the point, and the edges of the blade, are valid. The action must be - performed in such a way that it would have caused a wound to an unarmoured opponent, had the - weapon been sharp. Hits performed with the flat may be counted, if they are aimed at the head, - and bear the characteristics of a coordinated and potent technique. It is up to the referee’s - discretion to judge the validity of hits, in accordance with the Rulebook’s regulations. - -7. The target includes the whole of the fencer’s body, clothing, and safety equipment, except for - the back of the head, spine, the feet, the back of the knees, and if used, the cloak. - -8. It is allowed to parry using the unarmed hand, as long as the weapon is controlled (thrusts or - static blade positions, where the parrying hand does not get a direct hit). - -9. Switching of the weapon hand is allowed only in case of injury of the original armed hand, - disallowing to continue fencing with the same hand. Switching the hands in any other case or - holding the rapier with two hands is not permitted. - -## Actions involving a dagger as a side weapon - -1. It is allowed to parry with the dagger, as long as it is used for defensive actions only. - -2. It is allowed to engage the opponent’s blade using the dagger - -3. It is forbidden to attack with the dagger, and depending on the outcome, it may belong to the - first or the second group of offences. - -4. It is forbidden to throw the dagger at the opponent, it belongs to the fourth group of offences, - and will be penalized with elimination from the tournament. - -## Actions involving a cloak as a side weapon - -1. It is allowed to parry with the cloak, as long as it is used for defensive actions only. - -2. It is allowed to engage the opponent’s blade using the cloak. - -3. Cuts aimed at the cloak-covered hand or body or the cloak itself are not considered valid. - -4. Thrusts aimed at the cloak-covered hand or body are considered valid, as long as the thrust hits - a valid target through the cloak and satisfies the general requirements of valid attacks. - -5. It is forbidden to throw the cloak at the opponent. It must be wrapped around the unarmed hand. - Dropping or letting go of the cloak without the opponent’s interaction belongs to the first - group of offences. diff --git a/06-organisational.md b/06-organisational.md deleted file mode 100644 index 4c1b293..0000000 --- a/06-organisational.md +++ /dev/null @@ -1,175 +0,0 @@ -# Organisational Rules - -1. The competition is open to athletes of 18 years and older. - -2. It is prohibited to enter a competition under the influence of alcohol or performance-altering - drugs (including recreational drugs and those prescribed by physicians). - -## The Refereeing system - -### Main Referee - -1. The Referee works with an Assistant (side Referee) and manages the time and protocol (when - necessary, supported by an administrative crew). - -2. The Referee gives the signals to start, stop, assigns points and describes what happened during - the entire assault or at least the last exchange. - -3. After stopping the bout, the Referee consults with the Assistant and proposes a result. If the - fencers accept the decision (they say nothing), the fight continues with the proposed score. If - they don’t agree with the Referee, but they agree with each other, the Referee may make a - decision according to their wishes. If any of the fencers protests and the fencers disagree with - each other, the Referee will decide whether to assign a point (being completely sure) or repeat - the assault. - -4. If the Referee is unable to interpret the fencing phrase for some reason, they can repeat the - exchange but will explain and apologise. - -5. The Referee's decisions can not be contested after the bout. - -6. Main referee must be able conduct and manage bouts in English. - -### Side Referee (Assistant Referee) - -1. An Assistant Referee helps the main Referee in scoring and hit evaluation. Their task is to - observe a match from a different angle than the main Referee. - -2. The Assistant may signal hits made by the fencers to the Referee by raising their arm, even if - the Referee does not halt the assault immediately. - -3. An Assistant Referee is not responsible for point assignment nor for the overall match score. - -## Organisation of the competitions and classification - -### The round of pools - -1. In all competitions for which the formula includes a round of pools, these pools will consist of - 7 fencers if the number of participants is divisible by 7. Otherwise the pools will be of 7 and - 6 fencers. - -2. In the pools a bout ends when: - 1. One of the fencers has scored 5 hits. In this case the score registered on the score- sheet - is the final score of the bout (V5 – Dn, where n = the number of hits scored by the losing - fencer). - 2. Two minutes of effective fencing time have passed. (There is no warning for the last - minute.) - -3. If when the time limit expires there is a difference of at least one point between the scores of - the two fencers, the fencer who has scored the greater number of hits is declared winner. The - score registered on the score-sheet is the actual score achieved in the bout (VN – Dn, where N = - the number of hits scored by the winning fencer and n = the number of hits scored by the losing - fencer). - -4. If at the end of regulation time the scores are equal, the fencers fence for a deciding hit, - with a maximum time limit of one minute. Before the fencing recommences, the Referee draws lots - to decide who will be the winner if scores are still equal at the end of the extra minute. - -5. In this case the score registered on the score-sheet is always the actual score achieved in the - bout: - 1. VN–Dn if a deciding hit is scored within the time limit for the bout. - 2. V4–D4 or V3–D3 or V2–D2 or V1–D1 or V0–D0 if the winner is designated by drawing lots. - 3. Vn-DN, VN-Dn or Vn-Dn in case a single bout is forfeited due to injury or equipment - malfunction but the rest of the bouts have been completed regularly. It is always the fencer - who did not forfeit the bout who is registered as victorious, even though the scores are not - annulled. - 4. V0-D0 in case a fencer is withdrawn or removed from the competition, marking the opponent as - the winner, but not registering any scores, for all of the fencer’s bouts in the pool.. - -6. Before the competition starts, the Organising Team will decide on and announce the number of - fencers who will be eliminated based on the ranking established by the pools (0-40%). - -7. After the pools, a single general ranking will be established of all the fencers who have taken - part in the pools, taking account, successively, of the indices V/M, HS – HR, HS. (V = - victories; M = bouts; HS = hits scored; HR = hits received.) - -8. A summary classification table shall then be made in the following way: - 1. The results written up on the summary table will be added up to ascertain the two indices - required. - 2. The first index, for the initial classification, shall be obtained by dividing the number of - victories by the number of bouts fought, using the formula V/M. - 3. The fencer with the highest index (maximum 1) will be seeded first. - 4. In cases of equality in this first index, and to separate fencers with equal first indices, a - second index will be established, using the formula HS – HR, the difference between the total - number of hits scored and hits received. - 5. In cases of equality of the two indices V/M and HS – HR, the fencer who has scored most hits - will be seeded highest. - 6. In cases of absolute equality between two or more fencers, their seeding order will be - decided by drawing lots. - -9. Should there be absolute equality among the last to qualify there will not be a barrage, and the - fencers with equal indicators will all qualify, even if they are in excess of the number decided - on. - -10. A fencer who withdraws, or who is excluded, is scratched from the pool, His/her results are - recorded as if all of their opponents had won against the fencer, but no score will be - registered (V0-D0). The fencer who is withdrawn or excluded during the pool, will not be - included in the calculation of the ranking for the direct elimination table. - -11. When a fencer withdraws from one pool bout only, they are declared as having lost the bout, but - the score established before is not annulled. - -## The direct elimination - -1. The direct elimination table (bout plan) – complete or incomplete – is established taking - account of the classification table and the special rules for each competition (See Figure 2.) - -2. The organisers of a competition publish the direct elimination bout plan. The direct elimination - bouts are for 7 hits or end when the two periods of two minutes, with a one-minute rest - between the two periods, have passed. - -3. For the gold-medal bout (1st place) and the bronze-medal bout (3rd place), the Organising Team may - raise the hit limit above the standard seven (e.g. 10 or 15). The chosen limit (and any - corresponding time structure) must be published in the official schedule before the start of - the competition day. - -4. During the one-minute rest a second/coach, named before the bout, may have access to the fencer. - -5. The bout ends when: - 1. One of the fencers has scored 7 hits; or - 2. 2 * 2 minutes of effective fencing time have passed. - -6. The fencer who has scored the greater number of hits is declared the winner. - -7. If at the end of regulation time the scores are equal, the fencers fence for a deciding hit, - with a maximum time limit of one minute. Before the fencing recommences the Referee draws lots - to decide who will be the winner if scores are still equal at the end of the extra minute. In - this case the score recorded on the score-sheet is the real score achieved in the bout. - -8. Withdrawal: When, for whatever reason, a fencer cannot fence, or cannot complete their bout, - their opponent is declared winner of that bout. A fencer who withdraws does not lose their place - in the overall classification of the competition. - -## Order of bouts - -1. In each round of the direct elimination table (256, 128, 64, 32, 16, 8 or 4), the bouts are - always called in the order of the bout plan, starting at the top and ending at the bottom. - -## Classification - -1. The general classification is obtained as follows: - 1. First: the winner of the bout for the first place - 2. Second: the loser of the bout for the first place - 3. A bout for third and fourth places will be fought between the two losers of the semi-final - matches. - 4. The remainder are placed, within each round of the direct elimination, in accordance with - their classification for the composition of the direct elimination table. - -## Tournament Staff - -1. Medical/paramedic staff will assess possible injury/illness of the participants during/after - bouts and advise on immediate management. - -2. The head of the Organising Team is responsible for the overall smooth running of the tournament. - The Organising Team is available for questions, complaints, compliments, and suggestions, before - during and after the event. - -3. The head of the Refereeing Team oversees the allocation and performance of the Referees and - Assistants. The Refereeing committee can be approached directly by the participants or their - representatives, if questions regarding the performance of any of the Referees are raised. - -4. The head of Equipment Inspection performs pre-tournament checks of safety equipment and weapons, - stamps passed items and keeps a list of participants whose safety equipment has been deemed - satisfactory. - -5. The Technical Team manages the technical infrastructure, including the competition management - software, ensuring that the events are recorded, stored, displayed correctly. diff --git a/06-rapier.md b/06-rapier.md new file mode 100644 index 0000000..3042980 --- /dev/null +++ b/06-rapier.md @@ -0,0 +1,77 @@ +# Rapier and side weapons competitions + +## Wrestling + +**R.1** Wrestling actions (arm locks, throws, chokes) are forbidden in Rapier and Side Weapons + competitions. + +**R.2** Attempting wrestling actions during bouts of this category belongs to the first group of + offences. + +**R.3** Body contact (including accidental jostling) in itself is not considered as wrestling and + is therefore allowed. + +## Judging of hits + +Rapier and side weapons do not use priority (right of way) rules. Scoring follows combat rules. In +the case of hits arriving within one period of fencing time, the rules below apply. + +**R.4** Only the first valid hit scores. A double hit occurs when two valid hits land within one period + of fencing time. + +**R.5** When a double hit consists of a thrust by one fencer and a cut or slice by the other, the thrust + scores one point and the cut scores no point. + +**R.6** In all other double hits, each fencer scores one point. Simultaneous hits (similar conception + and execution of both fencers at the same time) are treated the same way: each fencer scores one + point. + +**R.7** A hit that begins at or after the moment a fencer receives a valid hit (after-action) is not + counted. + +**R.8** Rapiers may be used with a parrying dagger or a cloak; the regulations for these side weapons are + set out in the [Technical & Equipment Standards](02-equipment.md), E.66–E.69 (dagger) and + E.70–E.73 (cloak). + +**R.9** All hits made with the point, and the edges of the blade, are valid. The action must be + performed in such a way that it would have caused a wound to an unarmoured opponent, had the + weapon been sharp. Hits performed with the flat may be counted, if they are aimed at the head, + and bear the characteristics of a coordinated and potent technique. It is up to the Referee’s + discretion to judge the validity of hits, in accordance with the Rulebook’s regulations. + +**R.10** The target includes the whole of the fencer’s body, clothing, and safety equipment, except for + the back of the head, spine, groin, the feet, the back of the knees, and if used, the cloak. + +**R.11** It is allowed to parry using the unarmed hand, as long as the weapon is controlled (thrusts or + static blade positions, where the parrying hand does not get a direct hit). + +**R.12** Switching of the weapon hand is allowed only in case of injury of the original armed hand, + disallowing to continue fencing with the same hand. Switching the hands in any other case or + holding the rapier with two hands is not permitted. + +## Actions involving a dagger as a side weapon + +**R.13** It is allowed to parry with the dagger, as long as it is used for defensive actions only. + +**R.14** It is allowed to engage the opponent’s blade using the dagger + +**R.15** It is forbidden to attack with the dagger, and depending on the outcome, it may belong to the + first or the second group of offences. + +**R.16** It is forbidden to throw the dagger at the opponent, it belongs to the fourth group of offences, + and is penalised with elimination from the tournament. + +## Actions involving a cloak as a side weapon + +**R.17** It is allowed to parry with the cloak, as long as it is used for defensive actions only. + +**R.18** It is allowed to engage the opponent’s blade using the cloak. + +**R.19** Cuts aimed at the cloak-covered hand or body or the cloak itself are not considered valid. + +**R.20** Thrusts aimed at the cloak-covered hand or body are considered valid, as long as the thrust hits + a valid target through the cloak and satisfies the general requirements of valid attacks. + +**R.21** It is forbidden to throw the cloak at the opponent. It must be wrapped around the unarmed hand. + Dropping or letting go of the cloak without the opponent’s interaction belongs to the first + group of offences. diff --git a/07-disciplinary.md b/07-disciplinary.md deleted file mode 100644 index 499d393..0000000 --- a/07-disciplinary.md +++ /dev/null @@ -1,264 +0,0 @@ -# Fencing etiquette and disciplinary rules - -## Order and Discipline - -1. Everyone taking part in or attending a fencing competition, including the spectators, must - observe strictly and faithfully the particular rules for the competition in which they are - engaged, the traditional customs of courtesy and integrity and the instructions of the officials. - In particular they will subscribe, in an orderly, disciplined and sporting manner, to the - following provisions; all breaches of these rules may entail punishments by the disciplinary - authorities after, or even without prior warning, according to the facts and circumstances. - -2. Everybody taking part in or present at a fencing competition must remain orderly and must not - disturb the smooth running of the competition. During bouts no one is allowed to approach the - arenas to give advice to the fencers, to criticise the Referee or the Assistant, to insult them - or to attempt to influence them in any way. The second must remain in the space assigned to - him/her. The referee must stop immediately any activity which disturbs the smooth running of the - bout which he/she is refereeing - -3. Any person who, for any reason, threatens or insults an official is eligible for immediate - disqualification/expulsion from the premises. - -4. The referee, and/or the organising team, on their own authority, can decide to expel from the - competition venue, with or without a warning, any person who by his/her gestures, attitude or - language disturbs the good order or smooth running of the event. - -## The Competitors - -1. By the mere fact of entering a fencing competition, the fencers pledge their honour to observe - the Rules, and the decisions and instructions of the officials, to be respectful towards the - Referees (Referee and Assistant) and to scrupulously obey their orders and injunctions. - -2. No fencer may take part in the competition if he/she refuses to fence against any other fencer - whatsoever correctly entered in the event. Should this rule be broken, the penalties specified - for offences of the 4th group will be applied. - -3. The fencers, completely equipped, with all equipment conforming with the regulations and ready - to fence, must be present at the time and place appointed for the beginning of the pool, match, - or bout of direct elimination, or at the time appointed for the checking of their equipment - before their bout, as well as during the competition, whenever the Referee requires it. - -4. When presenting themselves to fence a bout, the fencers must arrive on the arena completely - ready to fence — regulation clothing, jacket fastened, hands gloved and holding the weapon. - -5. During a competition, if a fencer does not present himself on the arena, ready to fence, when - ordered to do so by the Referee: - 1. The fencer not present will be penalised with a Yellow Card; - 2. A second call will be made, one minute after the first call, followed by a Red Card for the - fencer or team member not present; - 3. A third and last call will be made, one minute after the second call, followed by elimination - from the competition for the fencer not present. - -6. During or after a bout, even if the fencer has already left the arena, any act against the - spirit of sportsmanship such as violently or dangerously throwing one’s mask (or any other piece - of equipment) will be penalised. - -7. The fencer, whether on or off the arena, must keep his mask on until the Referee calls ‘Halt!’. - He may under no circumstances address the Referee until the Referee has made his decision. - -8. Competitors must fence to their utmost ability in a sportsmanlike manner until the end of the - competition in order to obtain the best possible classification, without giving away hits or - seeking to be favoured by being given hits by anyone. - -## Fencing Etiquette - -1. All bouts must preserve the character of a courteous and frank encounter. All irregular actions - (e.g. violently jostling the opponent; disorderly fencing; irregular movements in the arena; hits - achieved with violence; blows struck with the cross-guard; hits made during or after an - accidental fall; failing to stop dangerous techniques short of full application, taking out fury - on the furniture or equipment of the venue) or anti-sporting behaviour are strictly forbidden. - Should such an offence occur, any hit scored by the fencer at fault is annulled. - -2. Before the beginning of each bout, the two fencers must perform a fencer’s salute to their - opponent, the referee, and preferably to the spectators. Equally, when the final hit has been - scored, the bout has not ended until the two fencers have saluted each other, the referee (and - the spectators). To this end, they must remain still while the referee is making her decision; - when she has given her decision, they must return to their on-guard line, perform a fencer’s - salute and shake hands with their opponent. If either or both of the two fencers refuse to comply - with these rules, the Referee will penalise him/them as specified for offences of the 4th group. - -3. Punishable actions are acted on by verbal warnings, warnings (yellow card), point awarded to the - opponent (red card) or disqualification and expulsion from the venue (black card), according to - severity and repetition of offense, as detailed in the rulebook (see the table of offences, also - attached to this summary). - -4. Spectators are obliged not to interfere with the good order of a competition, to do nothing which - may tend to influence the fencers or the Referee, and to respect the decisions of the latter even - when they do not agree with them. They must obey any instructions which the Referee may deem it - necessary to give them. - -## The Disciplinary Authorities and their Competence - -### The Referee - -1. By accepting a position as referee or assistant, the person so designated pledges his/her honour - to respect the rules and to cause them to be respected, and to carry out his/her duties with the - strictest impartiality and absolute concentration. - -2. The Referee is responsible not only for the direction of the bout, the judging of hits and the - checking of equipment, but equally for the maintenance of order in the bouts which he is - refereeing. - -3. The referee has the right to interrupt a bout if the play becomes confused, dangerous or she/he - is unable to clearly judge the action any more. In the absence of an objective scoring device, - the fencing phrases are judged according to the referee and assistant's observation of the - action. While fencers are welcome to address the referee for clarification or appeals before the - final decision is made, the referee's judgment regarding facts is not to be questioned in - retrospect. - -4. In his capacity as director of the bout and arbiter of hits, he can, in accordance with the - rules, penalise the competitors, either by refusing to award a hit which they have in fact made - on the opponent, or by awarding against them a hit which they have not in fact received, or by - excluding them from the competition which he is refereeing, all, according to the circumstances, - with or without prior warning. In these circumstances, and if he has judged on a matter of fact, - his decisions are irrevocable - -5. By reason of the right of jurisdiction which he has over all the fencers who participate in, or - are present at a competition which he is refereeing, he can also propose to the the expulsion - from the venue of the competition of the spectators, trainers, instructors and other persons who - accompany the competitors. - -6. Finally, he may recommend to the Organising Team all other penalties which he considers - appropriate (exclusion from the whole competition, suspension or disqualification). The Head of - the Refereeing Team is the authority competent to deal with appeals against the decisions of the - Referee. - -## The Organising Team and the Head of the Refereeing Team - -1. The organising team and the head of the Refereeing Team have jurisdiction over all the fencers - who take part in or are present at a competition which they are running. When necessary, they can - intervene on their own initiative in all disputes. They are also responsible for maintaining - order and discipline during competitions, and may use the penalties specified in the Rules. - -2. All the decisions of the Organising team or the Head of the Refereeing Team are immediately - enforceable. No appeal against a decision can suspend that decision during the competition. - -## Penalties - -1. There are distinct categories of penalty applicable to different sorts of offence. - - 1. Penalties related to fencing, applicable to offences committed while fencing. These are: - 1. refusal to award a hit actually made - 2. awarding a hit which has not in fact been received - 3. exclusion from the competition - - 2. Disciplinary penalties applicable to offences concerned with maintenance of order, discipline - or sportsmanship. These are: - 1. awarding a hit which has not in fact been received - 2. exclusion from the competition - 3. exclusion from participation in the whole tournament - 4. expulsion from the venue of the competition - 5. exclusion from events organised by the Federation or the specific Organising Team for a - period of time. - -2. All these penalties can be applied by the competent authorities at a competition — the Referee, - the Head of the Refereeing Committee, and the Organising Team. - -### Penalties Related to Fencing - -1. Refusal to award a hit actually made. Although a competitor may in fact have hit his opponent on - the target, this hit may be disallowed, either because it did not arrive during the period of - time during which fencing is allowed, or because the competitor had crossed the boundaries of the - arena, or because violence was involved in the making of the hit, or because of other reasons as - laid down in the Rules. - -2. Award of a hit which has not in fact been received. A competitor may have a hit awarded against - him which he has not in fact received, either because he has crossed the limit of the arena, or - because he has committed an offence which has prevented his opponent fencing. - -3. Exclusion. A competitor who, while fencing, commits certain violent or vindictive actions against - his opponent, or who does not fence to his utmost ability, or who profits from a fraudulent - agreement with his opponent, may be excluded from the competition. A competitor who is excluded - from a competition may not continue to take part in that competition, even if he is already - qualified for promotion to the next round. He loses the right to his individual classification - and all the fencers ranked after the disqualified fencer move up one place in the results of the - competition. - -### Disciplinary penalties - -1. Exclusion from the Competition. It may also be imposed for a disciplinary offence (failure to - appear on the arena as required, weapons not in accordance with the rules, reprehensible attitude - towards an official, etc.). The consequences of such exclusion for the competitor are the same as - those described in the Article 29. above. - -2. Expulsion from the venue of the competition or the tournament. - - 1. A competitor who is excluded from a tournament will no longer be allowed to participate in any - competition during that tournament, either at the same weapon or another. - 2. All participants or non-competitors who participate in or are present at a competition - (instructors, trainers, technicians, supporters, officials, spectators) may be expelled. Such - expulsion has the effect of forbidding them access to the venue for the duration of the - competition or tournament. In no circumstances can the imposition of this penalty give cause - for redress to anyone. - -### The types (groups) of penalty - -1. There are three types of penalty to be applied in the cases indicated in the table in Article. - If a referee has to penalise a fencer who has committed several faults at the same time, he - should penalise the least serious fault first. - -2. Penalties are cumulative and they are valid for the bout with the exception of those indicated - by a BLACK CARD, which means exclusion from the competition, suspension for the remainder of the - tournament or future events organised by the Federation or the specific Organising Team. - -3. Certain offences can result in the annulment of the hit scored by the fencer at fault. During - the bout, only hits scored in circumstances connected with the offence may be annulled. - -4. The penalties are as follows: - 1. a warning, indicated by a YELLOW CARD with which the Referee identifies the fencer at fault. - The fencer then knows that any further offence on his part will result in a penalty hit. - 2. a penalty hit, indicated by a RED CARD with which the Referee identifies the fencer at fault. - A hit is added to the score of his opponent and may, if the last hit is at stake, lead to the - loss of the bout. Furthermore, a RED CARD can only be followed by another RED CARD or by a - BLACK CARD, depending on the nature of the second offence. - 3. Exclusion from the competition, suspension from the remainder of the tournament, indicated by - a BLACK CARD with which the Referee identifies the person at fault. - 4. Expulsion from the competition venue (any person disturbing the order of the competition). - -5. All warnings (YELLOW CARDS), penalty hits (RED CARDS) and exclusions (BLACK CARDS) must be noted - on the score-sheet of the bout, the pool or the match, together with the group to which they - belong. - -6. The offences and their penalties which appear in different articles of the Rules are summarised - in the table that follows in Article 44.); they are divided into four groups. All these - penalties are within the competence of the Referee, although the Organising Team still retains - the right to intervene on its own initiative. - -### The First Group of offences - -1. The first infringement in this First Group is penalised by a YELLOW CARD (warning). If during the - same bout the fencer commits the same or a different offence in this group the Referee penalises - him on each occasion, with a RED CARD (penalty hit). If the fencer at fault has already been - penalised by a RED CARD because of an offence listed in the Second or Third Group, he receives a - further RED CARD for his first infringement relating to the First Group. - -### The Second Group of offences - -1. Every offence in the Second Group, including the first infringement, is penalised by a RED CARD - (penalty hit). - -### The Third Group of Offences - -1. The first infringement in the Third Group is penalised by a RED CARD (penalty hit), even if the - fencer at fault has already received a RED CARD as a result of offences in the First or Second - Groups. - -2. If during the same bout the fencer commits the same or a different offence in this group, he is - penalised with a BLACK CARD (exclusion from the competition, suspension from the remainder of the - tournament. The fencer keeps the position in the ranking s obtained up to the moment of the - disqualification (unless the ranking has not yet been established via the pools). - -3. Any person not on the arena who disturbs the good order of the competition receives: - 1. On the first infringement, a warning, indicated by a YELLOW CARD, valid for the whole of the - competition, which must be noted on the bout score-sheet and recorded by the Technical Team; - 2. At the second infringement during the same competition a BLACK CARD. - 3. In the most serious cases concerning disturbance either on or off the arena, the Referee may - exclude or expel the person at fault immediately. - -### The Fourth Group of Offences - -1. The first infringement in the Fourth Group, is penalised by a BLACK CARD (exclusion from the - competition. -2. The penalized fencer keeps the position in the ranking s obtained up to the moment of the - disqualification (unless the ranking has not yet been established via the pools). - diff --git a/07-sabre.md b/07-sabre.md new file mode 100644 index 0000000..24e66c0 --- /dev/null +++ b/07-sabre.md @@ -0,0 +1,31 @@ +# Sabre competitions + +## Target Area + +**S.1** Targets are restricted from the hips up, including arms and head, but with legs being off-target. + +**S.2** Strikes to an off-target area do not score, do not stop the exchange, and do not assign any + points. + +**S.3** Repeated, deliberate strikes to an off-target area are judged as strikes to a forbidden target and dealt with accordingly. + +## Sabre-specific scoring considerations + +**S.4** **Simultaneous hits** - When both fencers hit simultaneously, the score does not change. + +**S.5** **Hits through blade contact** - Hits landed with blade contact (through a parry or over the cross-guard) are valid only if the hit retains meaningful force. + +**S.6** **Point-in-line exception** - If the defender holds their point outstretched and the opponent runs into the point, the distance traversed ceases to play a role in judging validity. + +**S.7** **Dominance actions** - Note that the general dominance rule (see [G.34–G.37](03-general.md)) applies only to weapon locks and constraining actions, not grappling, as grappling is forbidden in sabre. + +## Forbidden actions + +**S.8** Grappling or close quarter combat is forbidden; it belongs to the first group of offences (see + penalty 1.5). + +**S.9** Engaging in grappling, close quarters combat, or corps-a-corps is immediately stopped by the Referee. + +## Priority System + +Sabre uses the standard priority (right of way, historically *Vor*) system. See [Right of Way and Priority Rules](04-right-of-way.md) for detailed priority conventions. diff --git a/08-sabre.md b/08-sabre.md deleted file mode 100644 index 7266c9f..0000000 --- a/08-sabre.md +++ /dev/null @@ -1,29 +0,0 @@ -# Sabre competitions - -## Target Area - -1. Targets are restricted from the hips up, including arms and head, but with legs being a non-scoring target. - -2. Strikes to a non-scoring target will not score. - -3. Repeated, deliberate strikes to an off-target will be judged as strikes to an illegal target and dealt with accordingly. - -## Sabre-specific scoring considerations - -1. **Simultaneous hits** - When both fencers hit simultaneously, the score does not change. - -2. **Hits through blade contact** - Hits landed with blade contact (through a parry or over the cross/guard) are only valid if the strength of the hit is not meaningfully decreased. - -3. **Point-in-line exception** - If the defender holds their point outstretched and the opponent runs into the point, the distance traversed ceases to play a role in judging validity. - -4. **Dominance actions** - Note that the general dominance rule (see [General Rules](03-general.md)) applies only to weapon locks and constraining actions, not grappling, as grappling is forbidden in sabre. - -## Forbidden actions - -1. Grappling or close quarter combat is forbidden. - -2. Engaging in grappling, close quarters combat, or corps-a-corps will immediately be stopped by the referee. - -## Priority System - -Sabre uses the standard right-of-way system. See [Right of Way and Priority Rules](09-right-of-way.md) for detailed priority conventions. diff --git a/08-sword-and-buckler.md b/08-sword-and-buckler.md new file mode 100644 index 0000000..11dcdaa --- /dev/null +++ b/08-sword-and-buckler.md @@ -0,0 +1,37 @@ +# Sword and Buckler competitions + +## Judging of hits + +Sword and Buckler competitions do not use priority (right of way) rules. Scoring follows the same +combat rules as Rapier and side weapons competitions (see +[Rapier and side weapons](06-rapier.md)): only the first valid hit scores. + +**SB.1** Double hits, simultaneous hits, and after-actions are judged according to the rules of the + Rapier and side weapons competitions. + +**SB.2** All hits made with the point, and the edges of the blade, are valid. The action must be + performed in such a way that it would have caused a wound to an unarmoured opponent, had the + weapon been sharp. Hits performed with the flat may be counted at the Referee's discretion, if + they bear the characteristics of a coordinated and potent technique. + +**SB.3** The target includes the whole of the fencer’s body, clothing, and safety equipment, except for + the back of the head, spine, groin, the feet, and the back of the knees. + +**SB.4** Hits landing on the buckler are not valid and do not score. + +## Wrestling + +**SB.5** Wrestling actions (arm locks, throws, chokes) are forbidden, as in the Rapier and side weapons + competitions. Attempting wrestling actions during bouts of this category belongs to the first + group of offences. + +**SB.6** Body contact (including accidental jostling) in itself is not considered as wrestling and is + therefore allowed. + +## Actions involving the buckler + +**SB.7** The buckler serves a defensive purpose; covering, engaging and diverting of the opponent’s + weapon is allowed. + +**SB.8** It is forbidden to strike the opponent with the buckler; depending on the outcome, it belongs + to the first or the second group of offences. diff --git a/09-organisational.md b/09-organisational.md new file mode 100644 index 0000000..03c2671 --- /dev/null +++ b/09-organisational.md @@ -0,0 +1,217 @@ +# Organisational Rules + +## Eligibility + +**O.1** The competition is open to fencers of 18 years and older. + +**O.2** It is prohibited to enter a competition under the influence of alcohol or performance-altering + drugs (including recreational drugs and those prescribed by physicians). + +## Fencer readiness and presence + +**O.3** All fencers must be present at their assigned arena 10 minutes before the start of + bouts. This applies to both the pool round and the direct elimination stage. + +**O.4** The staff of the given arena call the fencers 10 minutes before the start of + bouts. If a fencer is not present when called, the call is repeated two additional times, + each after 1 minute. After the third unanswered call, the fencer is disqualified from the + competition (they may still participate in other competitions/weapons of the tournament; see + penalty 0.1). + +**O.5** During a competition, if a fencer does not present themselves on the arena ready to fence + when ordered to do so by the Referee, the procedure described in the disciplinary rules + applies (Yellow → Red → elimination, with 1-minute intervals between calls; see penalty 0.2 + and [Fencing etiquette and disciplinary rules](10-disciplinary.md), section 'The Fencers'). + +**O.6** The Refereeing Team checks the readiness of fencers (completeness of safety + gear and weapons) before the indicated start of bouts, as set out in the + [Technical & Equipment Standards](02-equipment.md), E.6. The Referee may repeat + this check at any time. + +## The Refereeing system + +### Main Referee + +**O.7** The Referee works with an Assistant Referee (observing from a different angle) and manages the + time and protocol (when necessary, supported by an administrative crew). + +**O.8** The Referee gives the signals to start, stop, assigns points and describes what happened during + the entire bout or at least the last exchange. + +**O.9** After stopping an exchange, the Referee consults the Assistant and proposes + a result. Then: + +- a) if both fencers accept the decision (they say nothing), the bout + continues with the proposed score; +- b) if the fencers disagree with the Referee but agree with each other, the + Referee may decide according to their shared account; +- c) if a fencer protests and the fencers disagree with each other, the + Referee either assigns the point (only when completely sure) or repeats + the exchange. + +**O.10** If the Referee is unable to interpret the fencing phrase for some reason, they can repeat the + exchange but must explain and apologise. When an exchange is repeated, the time measured for + the bout is set back by 10 seconds. + +**O.11** The Referee's decisions can not be contested after the start of the following bout. + +**O.12** The Referee must be able to conduct and manage bouts in English. + +### Assistant Referee + +**O.13** An Assistant Referee helps the main Referee in scoring and hit evaluation. Their task is to + observe a bout from a different angle than the main Referee. + +**O.14** The Assistant may signal hits made by the fencers to the Referee by raising their arm, even if + the Referee does not halt the exchange immediately. + +**O.15** An Assistant Referee is not responsible for point assignment nor for the overall bout score. + +## Organisation of the competitions and classification + +The values stated below (pool sizes, point limits, bout durations, and the share of fencers +eliminated after the pools) are the standard defaults. The Organising Team may announce different +values before the start of the competition; unless announced otherwise, the defaults apply. + +> **Note:** A one-page summary of the bout parameters is provided in the +> [Referee Quick Reference](appendices/04-referee-quick-reference.md). + +### The round of pools + +**O.16** In all competitions for which the formula includes a round of pools, the pools consist of + 7 fencers if the number of participants is divisible by 7. Otherwise the pools are of 7 and + 6 fencers. + +**O.17** In the pools a bout ends when: + +- a) One of the fencers has scored 5 points. In this case the score registered on the score- sheet + is the final score of the bout (V5 – Dn, where n = the number of points scored by the losing + fencer). +- b) Two minutes of effective fencing time have passed. (There is no warning for the last + minute.) + +**O.18** If when the time limit expires there is a difference of at least one point between the scores of + the two fencers, the fencer who has scored the greater number of points is declared winner. The + score registered on the score-sheet is the actual score achieved in the bout (VN – Dn, where N = + the number of points scored by the winning fencer and n = the number of points scored by the losing + fencer). + +**O.19** If at the end of regulation time the scores are equal, the fencers fence for a deciding hit, + with a maximum time limit of one minute. Before the fencing recommences, the Referee draws lots + to decide who is the winner if scores are still equal at the end of the extra minute, as + described in [G.20](03-general.md). + +**O.20** In this case the score registered on the score-sheet is always the actual score achieved in the + bout: + +- a) VN–Dn if a deciding hit is scored within the time limit for the bout. +- b) V4–D4 or V3–D3 or V2–D2 or V1–D1 or V0–D0 if the winner is designated by drawing lots. +- c) Vn-DN, VN-Dn or Vn-Dn in case a single bout is forfeited due to injury or equipment + malfunction but the rest of the bouts have been completed regularly. It is always the fencer + who did not forfeit the bout who is registered as victorious, even though the scores are not + annulled. +- d) V0-D0 in case a fencer is withdrawn or removed from the competition, marking the opponent as + the winner, but not registering any scores, for all of the fencer’s bouts in the pool.. + +**O.21** Before the competition starts, the Organising Team decides on and announces the number of + fencers to be eliminated based on the ranking established by the pools (0-40%). + +**O.22** After the pools, a single general ranking is established of all the fencers who have taken + part in the pools, taking account, successively, of the indices V/M, HS – HR, HS. (V = + victories; M = bouts; HS = points scored; HR = points received.) + +**O.23** A summary classification table is then made in the following way: + +- a) The results written up on the summary table are added up to ascertain the two indices + required. +- b) The first index, for the initial classification, is obtained by dividing the number of + victories by the number of bouts fought, using the formula V/M. +- c) The fencer with the highest index (maximum 1) is seeded first. +- d) In cases of equality in this first index, and to separate fencers with equal first indices, a + second index is established, using the formula HS – HR, the difference between the total + number of points scored and points received. +- e) In cases of equality of the two indices V/M and HS – HR, the fencer who has scored most points + is seeded highest. +- f) In cases of absolute equality between two or more fencers, their seeding order is + decided by drawing lots. + +**O.24** Should there be absolute equality among the last to qualify there is no barrage, and the + fencers with equal indicators all qualify, even if they are in excess of the number decided + on. + +**O.25** A fencer who withdraws, or who is excluded, is scratched from the pool. Their results are + recorded as if all of their opponents had won against the fencer, but no score is + registered (V0-D0). The fencer who is withdrawn or excluded during the pool, is not + included in the calculation of the ranking for the direct elimination table. + +**O.26** When a fencer withdraws from one pool bout only, they are declared as having lost the bout, but + the score established before is not annulled. + +## The direct elimination + +**O.27** The direct elimination table (bout plan) – complete or incomplete – is established taking + account of the classification table and the special rules for each competition. + +**O.28** The Organising Team publishes the direct elimination bout plan. The direct elimination + bouts are for 7 points or end when the two periods of two minutes, with a one-minute rest + between the two periods, have passed. + +**O.29** For the gold-medal bout (1st place) and the bronze-medal bout (3rd place), the Organising Team may + raise the point limit above the standard seven (e.g. 10 or 15). The chosen limit (and any + corresponding time structure) must be published in the official schedule before the start of + the competition day. + +**O.30** During the one-minute rest a second/coach, named before the bout, may have access to the fencer. + +**O.31** The bout ends when: + +- a) One of the fencers has scored 7 points; or +- b) 2 × 2 minutes of effective fencing time have passed. + +**O.32** The fencer who has scored the greater number of points is declared the winner. + +**O.33** If at the end of regulation time the scores are equal, the fencers fence for a deciding hit, + with a maximum time limit of one minute. Before the fencing recommences the Referee draws lots + to decide who is the winner if scores are still equal at the end of the extra minute, as + described in [G.20](03-general.md). In this case the score recorded on the + score-sheet is the real score achieved in the bout. + +**O.34** Withdrawal: When, for whatever reason, a fencer cannot fence, or cannot complete their bout, + their opponent is declared winner of that bout. A fencer who withdraws does not lose their place + in the overall classification of the competition. + +## Order of bouts + +**O.35** In each round of the direct elimination table (256, 128, 64, 32, 16, 8 or 4), the bouts are + always called in the order of the bout plan, starting at the top and ending at the bottom. + +## Classification + +**O.36** The general classification is obtained as follows: + +- a) First: the winner of the bout for the first place +- b) Second: the loser of the bout for the first place +- c) A bout for third and fourth places is fought between the two losers of the semi-final + bouts. +- d) The remainder are placed, within each round of the direct elimination, in accordance with + their classification for the composition of the direct elimination table. + +## Tournament Staff + +**O.37** Medical/paramedic staff assess possible injury/illness of the participants during/after + bouts and advise on immediate management. + +**O.38** The head of the Organising Team is responsible for the overall smooth running of the tournament. + The Organising Team is available for questions, complaints, compliments, and suggestions, before + during and after the event. + +**O.39** The head of the Refereeing Team oversees the allocation and performance of the Referees and + Assistants. The Head of the Refereeing Team can be approached directly by the participants or their + representatives, if questions regarding the performance of any of the Referees are raised. + +**O.40** The head of Equipment Inspection performs pre-tournament checks of safety equipment and weapons, + stamps passed items and keeps a list of participants whose safety equipment has been deemed + satisfactory. + +**O.41** The Technical Team manages the technical infrastructure, including the competition management + software, ensuring that the events are recorded, stored, displayed correctly. diff --git a/09-right-of-way.md b/09-right-of-way.md deleted file mode 100644 index 01bcb11..0000000 --- a/09-right-of-way.md +++ /dev/null @@ -1,86 +0,0 @@ -# Right of Way and Priority Rules - -## General Principles - -1. The Referee alone decides as to the validity or the priority (*Vor*/right of way) of the hit by applying the following basic rules which are the conventions applicable to priority-based weapons (longsword and sabre). - -2. Any attack properly executed must be parried, or completely avoided, and the phrase must be continuous. - -3. Priority rules are used to resolve double hits when both fencers are hit within one period of fencing time. - -## Attack Definition and Requirements - -1. The attack is correctly carried out when the straightening of the arm, with the point or the edge continuously threatening the valid target, precedes the initiation of the footwork action. - -2. An attack with a lunge (or other offensive footwork) is correctly carried out: - 1. in a simple attack when the beginning of the straightening of the arms precedes the launching of the lunge or other offensive footwork, and the hit arrives at the latest when the front foot hits the ground - 2. in a compound attack when the beginning of the straightening of the arms, on the first feint, precedes the launching of the lunge or other offensive footwork, and the hit arrives at the latest when the front foot hits the ground. - -3. Attacks with step-forward-lunge or other compound footwork are not defined in this rulebook. Priority is assigned based on the start of the (attack with) lunge other simple offensive footwork, while steps in any case are considered as preparations. - -4. Actions, simple or compound, steps or feints, which are executed with bent arms, are not considered as attacks but as preparations, laying themselves open to the initiation of the offensive or defensive/offensive action of the opponent. Hits received from attacks/counterattacks initiated during these actions are counted as valid and score a point against the preparing fencer. - -## Fencing Actions and Priority - -For definitions of fencing actions (attack, feint, compound attack, counterattack, riposte, remise, etc.), see [Glossary](appendices/01-glossary.md). - -Priority assignment for specific actions: -- **Attacks** gain priority when properly executed with blade commitment -- **Blade commitment requirement** - Priority will not be given for pure footwork without blade commitment or actions not demonstrating forward commitment of blade -- **Ripostes** gain priority when immediate and simple after a parry -- **Counterattacks** cannot be assigned priority -- **Remise** can only gain priority if the defender's riposte was clearly and significantly delayed - -## Attack Validity Rules - -1. **Point-in-line situations**: If the attack is initiated when the opponent has their point passively in line, the attacker must first deflect the opponent's weapon. Referees must ensure that a mere contact of the blades is not considered as sufficient to deflect the opponent's blade. - -2. **Failed blade finding**: If, when attempting to find the opponent's blade to deflect it, the blade is not found, the right of attack passes to the opponent. - -3. **Attack completion**: If the attack is commenced when the opponent's blade is not in line, the attack may be completed either direct, or by a disengagement or by a cutover, or else be preceded by feints which oblige the opponent to parry. - -4. **Stop hits in compound attacks**: In a compound attack the opponent has the right to stop-hit; but, in order to be valid, the stop hit must precede the last movement of the attack by one period of fencing time, i.e. the stop hit must arrive before the attacker has started the last movement of the attack itself. - -## Parry and Riposte - -1. The parry - properly carried out - gives the right to riposte; a simple riposte may be direct or indirect, but in order to annul any subsequent movement by the attacker, it must be carried out immediately, *without any hesitation or pause*. However, if the riposte is delayed so that a renewed attack clearly starts before the riposte, then the renewed attack gains priority. - -2. Against thrusts, and cuts with the edge, the flat, or the back edge of the blade, the object of the parry is to prevent hits made by the opponent arriving on the valid target; therefore: - 1. The parry is properly carried out when, before the completion of the attack, it prevents the arrival of that attack by closing the line in which that attack is to finish. - 2. When a parry is properly executed, the attack by the opponent must be declared parried, and judged as such by the Referee, even if, as a result of its flexibility, the tip of the opponent's weapon makes contact with the target. - -## Priority Assignment in Double Hits - -1. Priority rules are only used in assessing double hits. If there is a delay of a fencing time or more between hits, the fencer who landed first is assessed to have scored. - -2. Priority rules are only used when one fencer can be clearly assessed to have made a mistake. - -### The fencer who is attacked is alone counted as hit: - -1. if he makes a counter-attack on his opponent's simple attack -2. if, instead of parrying, he attempts to avoid the hit and does not succeed in doing so -3. if, after making a successful parry, he makes a momentary pause (delayed riposte) which gives his opponent the right to renew the attack (redoublement, or remise, or reprise) -4. if, during a compound attack, he makes a stop hit without being in time -5. if, having his point 'in line' and being subjected to a beat or a taking of the blade which deflects his blade, he attacks or places his point in line again instead of parrying a direct hit made by his opponent - -### The fencer who attacks is alone counted as hit: - -1. If he initiated his attack when his opponent had his point 'in line', without deflecting the opponent's weapon. Referees must ensure that a mere contact of the blades is not considered as sufficient to deflect the opponent's blade. -2. If he attempts to find the blade, does not succeed (due to the opponent's avoiding reaction) and continues the attack. -3. If, during a compound attack, he allows his opponent to find the blade, and continues the attack while his opponent ripostes immediately. -4. If, during a compound attack, he bends his arm or makes a momentary pause, during which time the opponent makes a stop hit or an attack while the attacker continues his own attack. -5. If, during a compound attack, he is stop-hit one period of fencing time before he makes his final movement. -6. If he makes a hit by a renewed attack following a parry by his opponent which has been followed by a riposte which is immediate, simple and executed in one period of fencing time without withdrawing the arm. - -### Both fencers are at fault (no points awarded) - -1. Similar conception and execution of the same action by both fencers at once, without either of them taking the initiative sooner than the other. -2. Similar failure to initiate or execute the appropriate actions, of both fencers at the same time, resulting in the loss of priority gained by previous actions, and without any of the fencers taking the initiative sooner than the other afterwards. -3. When both fencers are at fault, NO POINTS are awarded to either fencer. - - -## Weapon-Specific Variations - -See individual weapon rules for specific applications and variations of these priority principles: -- [Longsword specific applications](04-longsword.md) -- [Sabre specific applications](08-sabre.md) \ No newline at end of file diff --git a/10-disciplinary.md b/10-disciplinary.md new file mode 100644 index 0000000..e77355c --- /dev/null +++ b/10-disciplinary.md @@ -0,0 +1,269 @@ +# Fencing etiquette and disciplinary rules + +## Order and Discipline + +**D.1** Everyone taking part in or attending a fencing competition, including the spectators, must + observe strictly and faithfully the particular rules for the competition in which they are + engaged, the traditional customs of courtesy and integrity and the instructions of the officials. + In particular they must subscribe, in an orderly, disciplined and sporting manner, to the + following provisions; all breaches of these rules may entail punishments by the disciplinary + authorities after, or even without prior warning, according to the facts and circumstances. + +**D.2** Everybody taking part in or present at a fencing competition must remain orderly and must not + disturb the smooth running of the competition. During bouts no one is allowed to approach the + arenas to give advice to the fencers, to criticise the Referee or the Assistant, to insult them + or to attempt to influence them in any way. The second must remain in the space assigned to + them. The Referee must stop immediately any activity which disturbs the smooth running of the + bout which they are refereeing + +**D.3** Any person who, for any reason, threatens or insults an official is eligible for immediate + disqualification/expulsion from the premises. + +**D.4** The Referee, and/or the Organising Team, on their own authority, can decide to expel from the + competition venue, with or without a warning, any person who by their gestures, attitude or + language disturbs the good order or smooth running of the event. + +## The Fencers + +**D.5** By entering a fencing competition, fencers agree to observe the Rules and the decisions and + instructions of the officials, to be respectful towards the Referees (Referee and Assistant), + and to follow their orders. + +**D.6** No fencer may take part in the competition if they refuse to fence against any other fencer + whatsoever correctly entered in the event. Should this rule be broken, the penalties specified + for offences of the 4th group are applied. + +**D.7** The fencers, completely equipped, with all equipment conforming with the regulations and ready + to fence, must be present at the time and place appointed for the beginning of the pool or + direct elimination bout, or at the time appointed for the checking of their equipment + before their bout, as well as during the competition, whenever the Referee requires it. + +**D.8** When presenting themselves to fence a bout, the fencers must arrive on the arena completely + ready to fence — regulation clothing, jacket fastened, hands gloved and holding the weapon. + +**D.9** During a competition, if a fencer does not present themselves on the arena, ready to fence, + when ordered to do so by the Referee: + +- a) The fencer not present is penalised with a Yellow Card; +- b) A second call is made, one minute after the first call, followed by a Red Card for the + fencer or team member not present; +- c) A third and last call is made, one minute after the second call, followed by elimination + from the competition for the fencer not present. + +**D.10** During or after a bout, even if the fencer has already left the arena, any act against the + spirit of sportsmanship such as violently or dangerously throwing one’s mask (or any other piece + of equipment) is penalised. + +**D.11** The fencer, whether on or off the arena, must keep their mask on until the Referee calls + ‘Halt!’. They must not address the Referee until the Referee has announced the decision. + +**D.12** Fencers must fence to their utmost ability in a sportsmanlike manner until the end of the + competition in order to obtain the best possible classification, without giving away hits or + seeking to be favoured by being given hits by anyone. + +## Fencing Etiquette + +**D.13** All bouts must remain courteous and fair. All irregular actions (e.g. violently jostling the + opponent; disorderly fencing; irregular movements in the arena; hits achieved with violence; + blows struck with the cross-guard; hits made during or after an accidental fall; failing to stop + dangerous techniques short of full application, taking out fury on the furniture or equipment of + the venue) or anti-sporting behaviour are strictly forbidden. Should such an offence occur, any + hit scored by the fencer at fault is annulled. + +**D.14** Before the beginning of each bout, the two fencers must perform a fencer’s salute to their + opponent, the Referee, and preferably to the spectators. Equally, when the final hit has been + scored, the bout has not ended until the two fencers have saluted each other, the Referee (and + the spectators). To this end, they must remain still while the Referee is making the decision; + when the Referee has given the decision, they must return to their on-guard line, perform a + fencer’s salute and shake hands with their opponent. If either or both of the two fencers refuse + to comply with these rules, the Referee penalises them as specified for offences of the 4th + group. + +**D.15** Punishable actions are acted on by verbal warnings, warnings (yellow card), point awarded to the + opponent (red card) or disqualification and expulsion from the venue (black card), according to + severity and repetition of offence, as detailed in the rulebook (see the + [Table of Offences and Penalties](appendices/02-penalties.md)). + +**D.16** Spectators are obliged not to interfere with the good order of a competition, to do nothing which + may tend to influence the fencers or the Referee, and to respect the decisions of the latter even + when they do not agree with them. They must obey any instructions which the Referee may deem it + necessary to give them. + +## The Disciplinary Authorities and their Competence + +### The Referee + +**D.17** By accepting a position as Referee or Assistant, the person so designated agrees to respect the + rules and to cause them to be respected, and to carry out their duties with the strictest + impartiality and absolute concentration. + +**D.18** The Referee is responsible not only for the direction of the bout, the judging of hits and the + checking of equipment, but equally for the maintenance of order in the bouts which they are + refereeing. + +**D.19** The Referee has the right to interrupt a bout if the play becomes confused or dangerous, or the + Referee is unable to clearly judge the action any more. In the absence of an objective scoring + device, the fencing phrases are judged according to the Referee and Assistant's observation of + the action. While fencers are welcome to address the Referee for clarification or appeals before + the final decision is made, the Referee's judgment regarding facts is not to be questioned in + retrospect. + +**D.20** As director of the bout and arbiter of hits, the Referee may, in accordance with the rules and — + according to the circumstances — with or without prior warning: a) refuse to award a hit + actually made; b) award a point against a fencer for a hit not actually received; c) exclude a + fencer from the competition. When the Referee has judged on a matter of fact, the decision is + irrevocable. + +**D.21** By reason of the right of jurisdiction which they have over all the fencers who participate in, + or are present at a competition which they are refereeing, they can also propose the expulsion + from the venue of the competition of the spectators, trainers, instructors and other persons who + accompany the fencers. + +**D.22** Finally, they may recommend to the Organising Team all other penalties which they consider + appropriate (exclusion from the whole competition, suspension or disqualification). The Head of + the Refereeing Team is the authority competent to deal with appeals against the decisions of the + Referee. + +## The Organising Team and the Head of the Refereeing Team + +**D.23** The Organising Team and the head of the Refereeing Team have jurisdiction over all the fencers + who take part in or are present at a competition which they are running. When necessary, they can + intervene on their own initiative in all disputes. They are also responsible for maintaining + order and discipline during competitions, and may use the penalties specified in the Rules. + +**D.24** All the decisions of the Organising Team or the Head of the Refereeing Team are immediately + enforceable. No appeal against a decision can suspend that decision during the competition. + +## Penalties + +**D.25** There are distinct categories of penalty applicable to different sorts of offence. + +- a) Penalties related to fencing, applicable to offences committed while fencing. These are: + - i) refusal to award a hit actually made + - ii) awarding a hit which has not in fact been received + - iii) exclusion from the competition + +- b) Disciplinary penalties applicable to offences concerned with maintenance of order, discipline + or sportsmanship. These are: + - i) awarding a hit which has not in fact been received + - ii) exclusion from the competition + - iii) exclusion from participation in the whole tournament + - iv) expulsion from the venue of the competition + - v) exclusion from events organised by the Federation or the specific Organising Team for a + period of time. + +**D.26** All these penalties can be applied by the competent authorities at a competition — the Referee, + the Head of the Refereeing Team, and the Organising Team. + +### Penalties Related to Fencing + +**D.27** Refusal to award a hit actually made. Although a fencer may in fact have hit the opponent on + the target, this hit may be disallowed, either because it did not arrive during the period of + time during which fencing is allowed, or because the fencer had crossed the boundaries of the + arena, or because violence was involved in the making of the hit, or because of other reasons as + laid down in the Rules. + +**D.28** Award of a hit which has not in fact been received. A fencer may have a hit awarded against + them which they have not in fact received, either because they have crossed the limit of the + arena, or because they have committed an offence which has prevented the opponent fencing. + +**D.29** Exclusion. A fencer who, while fencing, commits certain violent or vindictive actions against + the opponent, or who does not fence to their utmost ability, or who profits from a fraudulent + agreement with the opponent, may be excluded from the competition. A fencer who is excluded + from a competition may not continue to take part in that competition, even if they are already + qualified for promotion to the next round. They lose the right to their individual classification + and all the fencers ranked after the disqualified fencer move up one place in the results of the + competition. + +### Disciplinary penalties + +**D.30** Exclusion from the Competition. It may also be imposed for a disciplinary offence (failure to + appear on the arena as required, weapons not in accordance with the rules, reprehensible attitude + towards an official, etc.). The consequences of such exclusion for the fencer are the same as + those described in D.29 (Exclusion) above. + +**D.31** Expulsion from the venue of the competition or the tournament. + +- a) A fencer who is excluded from a tournament is no longer allowed to participate in any + competition during that tournament, either at the same weapon or another. +- b) All participants or non-fencers who participate in or are present at a competition + (instructors, trainers, technicians, supporters, officials, spectators) may be expelled. Such + expulsion has the effect of forbidding them access to the venue for the duration of the + competition or tournament. The imposition of this penalty gives no one a right to + compensation. + +### The types (groups) of penalty + +**D.32** There are three types of penalty to be applied in the cases indicated in the + [Table of Offences and Penalties](appendices/02-penalties.md). + If a Referee has to penalise a fencer who has committed several faults at the same time, they + should penalise the least serious fault first. + +**D.33** Penalties are cumulative and they are valid for the bout with the exception of those indicated + by a BLACK CARD, which means exclusion from the competition, suspension for the remainder of the + tournament or future events organised by the Federation or the specific Organising Team. + +**D.34** Certain offences can result in the annulment of the hit scored by the fencer at fault. During + the bout, only hits scored in circumstances connected with the offence may be annulled. + +**D.35** The penalties are as follows: + +- a) a warning, indicated by a YELLOW CARD with which the Referee identifies the fencer at fault. + The fencer then knows that any further offence on their part results in a penalty point. +- b) a penalty point, indicated by a RED CARD with which the Referee identifies the fencer at fault. + A point is added to the score of the opponent and may, if the last point is at stake, lead to + the loss of the bout. Furthermore, a RED CARD can only be followed by another RED CARD or by a + BLACK CARD, depending on the nature of the second offence. +- c) Exclusion from the competition, suspension from the remainder of the tournament, indicated by + a BLACK CARD with which the Referee identifies the person at fault. +- d) Expulsion from the competition venue (any person disturbing the order of the competition). + +**D.36** All warnings (YELLOW CARDS), penalty points (RED CARDS) and exclusions (BLACK CARDS) must be noted + on the score-sheet of the bout, the pool or the direct-elimination bout, together with the group + to which they belong. + +**D.37** The offences and their penalties which appear in different articles of the Rules are summarised + in the [Table of Offences and Penalties](appendices/02-penalties.md); they are divided into four groups. All these + penalties are within the competence of the Referee, although the Organising Team still retains + the right to intervene on its own initiative. + +### The First Group of offences + +**D.38** The first infringement in this First Group is penalised by a YELLOW CARD (warning). If during the + same bout the fencer commits the same or a different offence in this group the Referee penalises + them on each occasion, with a RED CARD (penalty point). If the fencer at fault has already been + penalised by a RED CARD because of an offence listed in the Second or Third Group, they receive a + further RED CARD for their first infringement relating to the First Group. + +### The Second Group of offences + +**D.39** Every offence in the Second Group, including the first infringement, is penalised by a RED CARD + (penalty point). + +### The Third Group of Offences + +**D.40** The first infringement in the Third Group is penalised by a RED CARD (penalty point), even if the + fencer at fault has already received a RED CARD as a result of offences in the First or Second + Groups. + +**D.41** If during the same bout the fencer commits the same or a different offence in this group, they + are penalised with a BLACK CARD (exclusion from the competition and suspension from the remainder + of the tournament). The fencer keeps the position in the ranking obtained up to the moment of the + disqualification (unless the ranking has not yet been established via the pools). + +**D.42** Any person not on the arena who disturbs the good order of the competition receives: + +- a) On the first infringement, a warning, indicated by a YELLOW CARD, valid for the whole of the + competition, which must be noted on the bout score-sheet and recorded by the Technical Team; +- b) At the second infringement during the same competition a BLACK CARD. +- c) In the most serious cases concerning disturbance either on or off the arena, the Referee may + exclude or expel the person at fault immediately. + +### The Fourth Group of Offences + +**D.43** The first infringement in the Fourth Group, is penalised by a BLACK CARD (exclusion from the + competition). + +**D.44** The penalised fencer keeps the position in the ranking obtained up to the moment of the + disqualification (unless the ranking has not yet been established via the pools). + diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..e5e5d4a --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,48 @@ +# Changelog + +## 2.0.0-draft (2026) + +Readability refactor — no intended changes to the meaning of the rules: + +- Chapters renamed to the canonical reading order; README, PDF and file + numbering unified. +- Global article numbering with chapter prefixes (E, G, RoW, LS, R, S, SB, O, + D); ART. column of the penalty table filled in; broken references inherited + from the FIE rules removed. +- Normative verb convention (must/may/should) and a "Use of Language" clause. +- Terminology unified (fencer, bout, priority, point vs hit, arena, on-guard + line, Assistant Referee, off-target vs forbidden target); new glossary + entries. +- General rules reorganised: subsection headings, universal forbidden actions + promoted out of the longsword-only close-quarter section, dominance rules + restructured. +- Summary tables (bout parameters, weapon parameters, equipment checklist), + worked examples for tactical situations and priority, weapon overview and + referee quick-reference appendices. +- PDF generator: title page now shows the rulebook version; the Change Log + page renders this file instead of the raw git log; table-of-contents page + numbers are now resolved from the PDF's own internal anchors (named + destinations) rather than by matching heading text, which fixes wrong page + numbers for headings whose title text repeats across chapters (e.g. + "Judging of hits" in longsword, rapier and sword & buckler, or "Arena + boundaries" in both the main body and appendix A4). Also fixed a related + anchor bug: heading IDs used in cross-chapter links were derived from + already smart-quoted HTML, so a heading containing an apostrophe or + quotation mark (e.g. "Stop the exchange ('Halt!') when") produced a + different ID than the one used to link to it, leaving that entry's page + number blank and its link dead. +- Known gaps flagged for the federation: no rule text exists for offences 1.1 + (leaving the arena without permission) and 1.13 (removing the opponent's + mask); offence 1.2 is only partially anchored (G.42 covers turning the head + or covering a target, not turning the back on the opponent); offence 1.9 is + only partially anchored (D.11/D.13 cover keeping the mask on and general + irregular conduct, not dressing or undressing in the arena); offence 4.2 is + only partially anchored (E.5 covers general equipment responsibility, not + imitated or transferred weapon control marks specifically); video-review + procedure is unspecified; the sabre hip boundary and the rapier + hilt-as-target question are open. See `docs/open-questions.md` for the + full list with proposed wording. + +## 1.x + +Original rulebook (see git history). diff --git a/FEBUS_smernica_o_rozhodcoch_navrh.docx b/FEBUS_smernica_o_rozhodcoch_navrh.docx new file mode 100644 index 0000000..5314db2 Binary files /dev/null and b/FEBUS_smernica_o_rozhodcoch_navrh.docx differ diff --git a/FEBUS_smernica_o_rozhodcoch_navrh.md b/FEBUS_smernica_o_rozhodcoch_navrh.md new file mode 100644 index 0000000..8e466e3 --- /dev/null +++ b/FEBUS_smernica_o_rozhodcoch_navrh.md @@ -0,0 +1,249 @@ +# Smernica FEBUS o certifikácii a činnosti rozhodcov + +**Stav:** návrh na pripomienkovanie (verzia 0.1, 24. júla 2026) +**Schvaľuje:** Prezídium FEBUS +**Predkladá:** Rozhodcovská pracovná skupina + +--- + +## Čl. 1 — Úvodné ustanovenia + +1. Táto smernica upravuje systém certifikácie rozhodcov FEBUS. Zriaďuje Rozhodcovskú komisiu, vymedzuje stupne rozhodcovských licencií, podmienky ich získania, obnovy, pozastavenia a odňatia a upravuje vedenie registra rozhodcov. +2. Smernica sa vzťahuje na všetky turnaje a podujatia konané pod záštitou FEBUS. +3. Smernicu a jej zmeny schvaľuje Prezídium FEBUS. +4. Pojmy *hlavný rozhodca* a *postranný rozhodca* zodpovedajú pojmom *Main Referee* a *Side Referee* podľa pravidiel FEBUS (Organisational Rules). Táto smernica pravidlá FEBUS nemení ani nedopĺňa. + +## Čl. 2 — Vymedzenie pojmov + +Na účely tejto smernice: + +1. **Rozhodca** je osoba zapísaná v registri rozhodcov s platnou licenciou podľa tejto smernice. +2. **Hlavný rozhodca** vedie zápas, riadi čas a protokol, prideľuje body a popisuje priebeh výmen. +3. **Postranný rozhodca** (asistent) pomáha hlavnému rozhodcovi pri hodnotení zásahov z iného uhla pohľadu. +4. **Koordinátor rozhodcov turnaja** je osoba zodpovedná za nasadenie a výkon rozhodcov na turnaji (v pravidlách FEBUS *head of the Refereeing Team*). +5. **Oficiálna rozhodcovská činnosť** je výkon funkcie hlavného alebo postranného rozhodcu na turnaji FEBUS, účasť na rozhodcovskom seminári FEBUS alebo výkon funkcie hodnotiteľa na rozhodcovských skúškach. +6. **Rozhodcovský seminár** je vzdelávacie podujatie organizované Rozhodcovskou komisiou, zamerané na výklad pravidiel, ich zmeny a rozbor sporných situácií. +7. **Školenie rozhodcov** je vzdelávacie podujatie organizované Rozhodcovskou komisiou pre uchádzačov o licenciu C, zamerané na výklad pravidiel FEBUS, metodiku rozhodovania, priestupky a tresty a kontrolu výstroja. +8. **Zbraň s právom útoku** je zbraň, pri ktorej sa podľa pravidiel FEBUS uplatňuje systém priority (right of way) — dlhý meč a šabľa. +9. **Register rozhodcov** je evidencia rozhodcov vedená Rozhodcovskou komisiou podľa čl. 10. + +## Čl. 3 — Rozhodcovská komisia + +1. Zriaďuje sa Rozhodcovská komisia (ďalej „Komisia“) ako odborný orgán FEBUS pre rozhodcovskú agendu. +2. Komisia má troch až piatich členov. Členov menuje a odvoláva Prezídium FEBUS spomedzi držiteľov platnej licencie A. Funkčné obdobie člena je tri roky; opätovné menovanie je možné. +3. Komisia si spomedzi svojich členov volí predsedu, ktorý zvoláva a vedie jej zasadnutia a zastupuje Komisiu navonok. +4. Komisia je uznášaniaschopná za prítomnosti nadpolovičnej väčšiny všetkých členov. Rozhoduje nadpolovičnou väčšinou prítomných členov, ak táto smernica neustanovuje inak. Člen Komisie nehlasuje vo veci vlastnej licencie ani vo veci sťažnosti, ktorá sa ho týka. +5. Úlohy Komisie: + 1. organizovať rozhodcovské skúšky a školenia rozhodcov najmenej raz ročne, + 2. organizovať rozhodcovské semináre, spravidla po každej zmene pravidiel FEBUS, + 3. viesť register rozhodcov a udeľovať, obnovovať, pozastavovať a odnímať licencie, + 4. sprístupňovať výpisy z registra organizátorom turnajov FEBUS, + 5. prijímať a prerokúvať sťažnosti na rozhodcov, + 6. predkladať Prezídiu návrhy na zmeny pravidiel FEBUS, tejto smernice a skúšobného poriadku, + 7. vydávať vzory hodnotiacich hárkov a metodické materiály pre rozhodcov, + 8. raz ročne predložiť Prezídiu súhrnnú správu o činnosti: počty rozhodcov podľa stupňov licencií, nasadenia na turnajoch, vykonané skúšky, školenia a semináre s výsledkami, prijaté sťažnosti a uložené opatrenia. +6. Komisia nemá právomoc meniť pravidlá FEBUS ani organizačné dokumenty FEBUS; voči Prezídiu má postavenie poradného orgánu. + +## Čl. 4 — Systém licencií, práva a povinnosti rozhodcov + +1. Zavádzajú sa tri stupne rozhodcovských licencií, vzostupne: **licencia C**, **licencia B** a **licencia A**. Popri nich existuje **hosťovská licencia H** podľa čl. 8. +2. Licencia je univerzálna — jej stupeň určuje rozsah oprávnení a platí pre všetky zbrane FEBUS. +3. Rozhodcovské skúšky sa vykonávajú v zbrani s právom útoku (čl. 2 ods. 8). Zložená skúška oprávňuje rozhodovať aj zbrane bez práva útoku; skúška len v zbrani bez práva útoku sa nevykonáva. +4. Vyšší stupeň licencie zahŕňa všetky oprávnenia nižších stupňov. +5. Licenciu udeľuje Komisia zápisom do registra. Ak táto smernica neustanovuje inak, na udelenie licencie sa vyžaduje súhlas najmenej dvoch hodnotiteľov, ktorí sa osobne zúčastnili skúšky žiadateľa. +6. Rozhodca je povinný: + 1. poznať a uplatňovať aktuálne pravidlá FEBUS, + 2. rozhodovať nestranne; zápas, v ktorom má rozhodca konflikt záujmov (najmä účasť člena vlastného klubu), vopred oznámi koordinátorovi rozhodcov turnaja; koordinátor takýto zápas podľa možností pridelí inému rozhodcovi, vo vyraďovacej fáze vždy, ak je iný rozhodca s potrebnou licenciou k dispozícii, + 3. pri výkone rozhodcovskej činnosti a v súvislosti s ňou vystupovať vecne a slušne. +7. Rozhodca nesmie na tom istom turnaji: + 1. rozhodovať v disciplíne, v ktorej sám súťaží, + 2. pôsobiť ako sekundant alebo tréner šermiara v disciplíne, ktorú rozhoduje. + +## Čl. 5 — Licencia C + +*Vstupný stupeň pre začínajúcich rozhodcov.* + +### Podmienky prístupu ku skúške + +1. Vek najmenej 18 rokov. +2. Podanie prihlášky na vyhlásený termín skúšky. +3. Absolvovanie školenia rozhodcov (čl. 2 ods. 7). + +### Skúška + +1. Teoretický test s úspešnosťou najmenej 80 % (Príloha 1, časť B). +2. Praktická skúška v simulovanej turnajovej skupine (Príloha 1, časť C). + +### Rozsah oprávnení + +1. Výkon funkcie postranného rozhodcu vo všetkých zbraniach a kategóriách. +2. Výkon funkcie hlavného rozhodcu pod dohľadom rozhodcu s licenciou B alebo A. Dohliadajúci rozhodca pri takom zápase vykonáva funkciu postranného rozhodcu a môže kedykoľvek zasiahnuť do vedenia zápasu a zmeniť rozhodnutie hlavného rozhodcu. + +## Čl. 6 — Licencia B + +*Stupeň pre samostatných hlavných rozhodcov.* + +### Podmienky prístupu ku skúške + +1. Platná licencia C. +2. Oficiálna rozhodcovská činnosť na najmenej dvoch turnajoch FEBUS. +3. Prax v najmenej dvoch zbraniach, z toho aspoň v jednej zbrani s právom útoku. + +### Skúška + +1. Praktická skúška: samostatné vedenie celej turnajovej skupiny vo funkcii hlavného rozhodcu, sčasti v anglickom jazyku (Príloha 1, časť D). Súčasťou je vysvetlenie sporných situácií a odôvodnenie rozhodnutí v slovenskom a anglickom jazyku. + +### Rozsah oprávnení + +1. Výkon funkcie hlavného rozhodcu vo všetkých zbraniach a kategóriách. +2. Výkon funkcie koordinátora rozhodcov turnaja, ak na turnaji nie je k dispozícii držiteľ platnej licencie A. + +## Čl. 7 — Licencia A + +*Najvyšší stupeň licencie.* + +### Podmienky prístupu + +1. Platná licencia B nepretržite najmenej tri roky. +2. Oficiálna rozhodcovská činnosť na najmenej desiatich turnajoch FEBUS. +3. Oficiálna rozhodcovská činnosť v najmenej dvoch zbraniach. + +### Udelenie + +1. Licenciu A udeľuje Komisia nadpolovičnou väčšinou všetkých svojich členov na základe žiadosti rozhodcu alebo na návrh člena Komisie, po posúdení praxe a výkonov žiadateľa. +2. Držba licencie A nezakladá členstvo v Komisii; je podmienkou menovania do nej (čl. 3 ods. 2). + +### Rozsah oprávnení + +1. Výkon funkcie hlavného rozhodcu vo všetkých zbraniach a kategóriách. +2. Výkon funkcie hodnotiteľa na rozhodcovských skúškach. +3. Výkon funkcie koordinátora rozhodcov turnaja. +4. Možnosť byť menovaný za člena Komisie. + +## Čl. 8 — Hosťovská licencia H + +1. Hosťovská licencia je určená rozhodcom bez licencie FEBUS, ktorí majú rozhodovať na turnaji FEBUS, spravidla zahraničným. +2. Podmienky udelenia: + 1. preukázateľná prax v rozhodovaní šermiarskych alebo HEMA súťaží, + 2. oboznámenie sa s pravidlami FEBUS; koordinátor rozhodcov turnaja pred turnajom vykoná s držiteľom inštruktáž o špecifikách pravidiel (najmä priorita a tresty), + 3. súhlas organizátora turnaja, + 4. súhlas koordinátora rozhodcov turnaja; ak koordinátor nie je držiteľom platnej licencie A, vyžaduje sa aj súhlas Komisie. +3. Rozsah oprávnení zodpovedá licencii C: + 1. výkon funkcie postranného rozhodcu, + 2. výkon funkcie hlavného rozhodcu pod dohľadom rozhodcu s licenciou B alebo A (čl. 5), v zbraniach určených koordinátorom rozhodcov. +4. Hosťovská licencia platí výlučne na jeden turnaj. Koordinátor rozhodcov oznámi jej udelenie Komisii, ktorá ho zaznamená v registri. +5. Osobe, ktorá je členom klubu združeného vo FEBUS, možno hosťovskú licenciu udeliť najviac raz; ďalšie pôsobenie ako rozhodca je podmienené získaním licencie podľa čl. 5 až 7. +6. Komisia môže odmietnuť udeliť hosťovskú licenciu osobe, ktorá pri predchádzajúcom výkone rozhodcovskej činnosti závažne alebo opakovane porušila pravidlá FEBUS alebo povinnosti rozhodcu. Rozhodnutie musí byť odôvodnené a je pre organizátora a koordinátora záväzné. + +## Čl. 9 — Platnosť, obnova a zánik licencie + +1. Licencie C, B a A platia do 31. decembra druhého kalendárneho roka nasledujúceho po roku udelenia alebo poslednej obnovy. +2. Licencia sa po skončení doby platnosti obnoví, ak jej držiteľ počas obdobia platnosti vykonával funkciu rozhodcu najmenej na jednom turnaji FEBUS, zúčastnil sa najmenej jedného rozhodcovského seminára alebo aspoň raz vykonával funkciu hodnotiteľa na rozhodcovských skúškach. Komisia obnovu zaznamená v registri. +3. Splnenie podmienok obnovy posudzuje Komisia ku dňu skončenia platnosti licencie. +4. Licencia zaniká: + 1. uplynutím platnosti, ak neboli splnené podmienky obnovy, + 2. písomným vzdaním sa licencie, + 3. odňatím podľa čl. 11. +5. Po zániku licencie podľa ods. 4 bodov 1 alebo 2: + 1. pri prvom zániku Komisia licenciu obnoví po praktickom pozorovaní — rozhodovaní najmenej šiestich zápasov pod dohľadom hodnotiteľa s licenciou A (na turnaji alebo na termíne skúšok), ktorý potvrdí spôsobilosť žiadateľa, + 2. pri opakovanom zániku sa vyžaduje opätovné zloženie skúšky príslušného stupňa. + +## Čl. 10 — Register rozhodcov + +1. Komisia vedie register rozhodcov, ktorý obsahuje: meno a priezvisko, klubovú príslušnosť, kontaktný údaj, stupeň licencie, dátum udelenia a poslednej obnovy, platnosť licencie, záznamy o oficiálnej rozhodcovskej činnosti a záznamy o pozastavení alebo odňatí licencie. +2. Organizátorovi turnaja FEBUS Komisia na požiadanie sprístupní výpis v rozsahu: meno, stupeň licencie, platnosť. +3. FEBUS môže zverejniť zoznam držiteľov platných licencií v rozsahu meno a stupeň. +4. Osobné údaje sa spracúvajú len v rozsahu nevyhnutnom na vedenie registra a plnenie úloh podľa tejto smernice. Podrobnosti o spracúvaní a uchovávaní údajov a o ich zverejnení podľa ods. 3 upraví FEBUS v samostatnej informácii o spracúvaní osobných údajov. + +## Čl. 11 — Sťažnosti, pozastavenie a odňatie licencie + +1. Sťažnosť na výkon činnosti rozhodcu môže podať účastník turnaja, organizátor turnaja alebo člen FEBUS, a to písomne Komisii do 14 dní od skončenia turnaja. +2. Sťažnosťou nemožno napadnúť výsledok zápasu ani jednotlivé rozhodnutia o pridelení bodov. Podľa pravidiel FEBUS výsledok ani tieto rozhodnutia po skončení zápasu nemožno zmeniť. Sťažnosť môže smerovať len proti porušeniu povinností rozhodcu podľa tejto smernice. +3. Komisia sťažnosť prerokuje do 30 dní od doručenia. Dotknutému rozhodcovi umožní vyjadriť sa. +4. Podľa závažnosti zistení Komisia: + 1. sťažnosť odloží ako nedôvodnú, + 2. udelí rozhodcovi písomné upozornenie, + 3. uloží rozhodcovi povinnosť absolvovať rozhodcovský seminár, + 4. pozastaví licenciu najviac na dvanásť mesiacov, + 5. licenciu odníme; na odňatie licencie sa vyžaduje dvojtretinová väčšina hlasov všetkých členov Komisie. +5. Proti pozastaveniu alebo odňatiu licencie sa rozhodca môže odvolať k Prezídiu FEBUS do 15 dní od doručenia rozhodnutia. Odvolanie nemá odkladný účinok. Rozhodnutie Prezídia je konečné. +6. Po odňatí licencie možno o novú licenciu C požiadať najskôr po uplynutí dvadsiatich štyroch mesiacov, postupom podľa čl. 5. + +## Čl. 12 — Prechodné ustanovenia + +1. Prvých členov Komisie vymenuje Prezídium FEBUS spomedzi skúsených rozhodcov do 60 dní od nadobudnutia účinnosti tejto smernice. Vymenovaním získavajú licenciu A; požiadavky čl. 7 sa na nich nevzťahujú. +2. Počas osemnástich mesiacov od nadobudnutia účinnosti tejto smernice môže Komisia uznať doterajšiu rozhodcovskú prax a udeliť licenciu zjednodušeným postupom podľa Prílohy 2. +3. Po uplynutí prechodného obdobia sa licencie udeľujú výlučne postupom podľa čl. 5 až 7. + +## Čl. 13 — Záverečné ustanovenia + +1. Prílohy 1 a 2 sú neoddeliteľnou súčasťou tejto smernice. Zmeny Prílohy 1 (skúšobný poriadok) schvaľuje Prezídium na návrh Komisie. +2. Táto smernica nadobúda účinnosť dňom schválenia Prezídiom FEBUS. + +--- + +# Príloha 1 — Skúšobný poriadok + +## A. Všeobecné ustanovenia + +1. Termíny skúšok vyhlasuje Komisia najmenej 30 dní vopred, najmenej raz ročne. +2. Skúšobnú komisiu tvoria najmenej dvaja hodnotitelia s platnou licenciou A; každého uchádzača hodnotia najmenej dvaja hodnotitelia. Počas prechodného obdobia podľa čl. 12 túto funkciu vykonávajú členovia Komisie. Pri zostavovaní skúšobnej komisie sa podľa možností dbá na to, aby uchádzača nehodnotil hodnotiteľ z rovnakého klubu. +3. Neúspešný uchádzač môže skúšku opakovať na najbližšom vyhlásenom termíne. +4. Úspešne zložený teoretický test platí 12 mesiacov na účely pripustenia k praktickej skúške. +5. Školenie rozhodcov pre uchádzačov o licenciu C sa spravidla organizuje spoločne so skúškou (v rovnaký deň alebo víkend); jeho teoretická časť môže prebiehať online. Absolvované školenie platí 12 mesiacov na účely pripustenia ku skúške. +6. Skúšobné otázky, videozáznamy a hárky so správnymi odpoveďami sú dôverné; prístup k nim má len skúšobná komisia. Sady otázok testu sa pre jednotlivých uchádzačov zostavujú z knižnice náhodným výberom. Uchádzač nesmie počas prebiehajúceho termínu skúšok sprístupniť obsah otázok iným uchádzačom; porušenie sa považuje za neúspešné absolvovanie skúšky. + +## B. Teoretický test + +1. Test prebieha online alebo prezenčne a skladá sa z dvoch častí: + 1. **pravidlová časť** — 10 otázok s výberom odpovede zo znalosti pravidiel FEBUS (priebeh a organizácia zápasu, priestupky a tresty, výstroj), + 2. **video časť** — 20 otázok zostavených z knižnice videozáznamov turnajových výmen; otázka je zodpovedaná správne, ak uchádzač správne určí výsledok výmeny; pri vybraných otázkach sa vyžaduje aj písomné odôvodnenie, ktoré posudzuje hodnotiteľ. Záznam si možno prehrať opakovane aj spomalene. +2. Na úspešné absolvovanie je potrebných najmenej 80 % bodov v každej časti samostatne (pravidlová časť: najmenej 8 z 10 bodov, video časť: najmenej 16 z 20 bodov). +3. Test sa skladá v zbrani s právom útoku; video časť sa zostavuje najmä zo záznamov výmen v tejto zbrani a môže obsahovať aj výmeny v ostatných zbraniach FEBUS. + +## C. Praktická skúška — licencia C + +1. Skúška prebieha v simulovanej turnajovej skupine. Skupinu uchádzačov tvorí spravidla päť osôb; pri menšom počte môže Komisia udeliť výnimku. +2. Zostaví sa turnajová skupina najmenej piatich šermiarov, ktorí bojujú systémom každý s každým (jedno kolo). Skupina šermuje v zbrani s právom útoku. +3. Uchádzači rotujú na stanovištiach: jeden ako hlavný rozhodca, dvaja ako postranní rozhodcovia, dvaja ako obsluha stolíka. Zápasy skupiny sa rozdelia tak, aby každý uchádzač viedol ako hlavný rozhodca rovnaký počet zápasov, najmenej dva, a na ostatných stanovištiach sa striedal rovnomerne. +4. Hodnotí sa: znalosť a správne uplatňovanie pravidiel FEBUS, posúdenie sporných situácií, zrozumiteľnosť komunikácie, schopnosť vysvetliť situáciu a odôvodniť rozhodnutie, vedenie času a protokolu. +5. Skúška je úspešná, ak udelenie licencie podporia najmenej dvaja hodnotitelia prítomní na skúške. + +## D. Praktická skúška — licencia B + +1. Praktickej skúške predchádza povinné prípravné stretnutie uchádzačov vedené skúšobnou komisiou, spravidla v deň skúšky. Jeho obsahom je vysvetlenie priebehu a hodnotenia skúšky, aktuálnych pravidiel a spôsobu ich uplatňovania. Účasť na prípravnom stretnutí je podmienkou pripustenia ku skúške. +2. Uchádzač samostatne vedie celú turnajovú skupinu najmenej piatich šermiarov vo funkcii hlavného rozhodcu; pridelený mu je tím na obsluhu stolíka. Skupina šermuje v zbrani s právom útoku. +3. Skúšobná komisia pred začatím skúšky určí jej časť, ktorá bude prebiehať v anglickom jazyku vrátane vedenia zápasu, vysvetlenia situácií a odôvodnenia rozhodnutí, a oznámi ju uchádzačovi. +4. Hodnotia sa kritériá podľa časti C ods. 4 a navyše samostatnosť, autorita pri vedení zápasu a jazyková spôsobilosť. +5. Skúška je úspešná, ak udelenie licencie podporia najmenej dvaja hodnotitelia prítomní na skúške. + +## E. Hodnotiace hárky + +1. Komisia vydá vzor hodnotiaceho hárku s kritériami podľa častí C a D. Vyplnené hárky sa archivujú spolu so záznamom o skúške. + +--- + +# Príloha 2 — Prechodné uznanie praxe + +1. Počas prechodného obdobia (čl. 12 ods. 2) môže Komisia na základe písomnej žiadosti udeliť licenciu zjednodušeným postupom: + +| Preukázaná prax za posledné 3 roky | Udelená licencia | Vyžaduje sa | +|---|---|---| +| Hlavný rozhodca na najmenej 5 turnajoch | B | teoretický test | +| Hlavný alebo postranný rozhodca na najmenej 2 turnajoch | C | teoretický test | + +2. Prax sa preukazuje výsledkovými listinami, potvrdením organizátora turnaja alebo čestným vyhlásením potvrdeným členom Komisie. +3. Na uznanie praxe nie je právny nárok; Komisia môže žiadateľa odkázať na skúšku podľa čl. 5 alebo 6. + +--- + +## Poznámka pre pripomienkovanie (nie je súčasťou normatívneho textu) + +Na pripomienkovanie sa predkladajú najmä tieto hodnoty: + +- počet členov Komisie: **3–5**, funkčné obdobie **3 roky** (čl. 3), +- platnosť licencie: **do 31. 12. druhého roka po udelení/obnove** (čl. 9 ods. 1), +- minimálna aktivita na obnovu: **1 turnaj, 1 seminár alebo výkon funkcie hodnotiteľa na skúškach** (čl. 9 ods. 2), +- prístup k licencii A: **3 roky s licenciou B, 10 turnajov, 2 zbrane** (čl. 7), +- lehoty pri sťažnostiach: **14 / 30 / 15 dní** (čl. 11), +- prechodné obdobie: **18 mesiacov**, prahy uznania praxe podľa Prílohy 2. diff --git a/README.md b/README.md index 2fb550d..edbb0ff 100644 --- a/README.md +++ b/README.md @@ -1,28 +1,33 @@ # FEBUS Tournament Rulebook +**Version 2.0.0-draft** — under review, not yet in force. See the +[Changelog](CHANGELOG.md). + ## Introduction - [Introduction](01-intro.md) ## Equipment Regulations -- [Equipment Standards](02-equipment.md) - -## Organisation and bout management - -- [Organisation](06-organisational.md) -- [Fencing etiquette and disciplinary rules](07-disciplinary.md) +- [Technical & Equipment Standards](02-equipment.md) ## The Principles of Scoring - [General rules for all weapons](03-general.md) -- [Right of Way and Priority Rules](09-right-of-way.md) -- [Longsword specific rules](04-longsword.md) -- [Rapier and side weapons specific rules (rapier, dagger, cloak)](05-rapier.md) -- [Sabre specific rules](08-sabre.md) +- [Right of Way and Priority Rules](04-right-of-way.md) +- [Longsword specific rules](05-longsword.md) +- [Rapier and side weapons specific rules (rapier, dagger, cloak)](06-rapier.md) +- [Sabre specific rules](07-sabre.md) +- [Sword and Buckler specific rules](08-sword-and-buckler.md) + +## Organisation and Bout Management + +- [Organisational Rules](09-organisational.md) +- [Fencing etiquette and disciplinary rules](10-disciplinary.md) ## Appendix - [Glossary](appendices/01-glossary.md) -- [Tables of offence and penalties](appendices/02-penalties.md) - +- [Table of Offences and Penalties](appendices/02-penalties.md) +- [Weapon Overview](appendices/03-weapon-overview.md) +- [Referee Quick Reference](appendices/04-referee-quick-reference.md) diff --git a/VERSION b/VERSION new file mode 100644 index 0000000..2cbe8ef --- /dev/null +++ b/VERSION @@ -0,0 +1 @@ +2.0.0-draft diff --git a/appendices/01-glossary.md b/appendices/01-glossary.md index e5aba8d..ecd7563 100644 --- a/appendices/01-glossary.md +++ b/appendices/01-glossary.md @@ -1,29 +1,48 @@ -# Glossary - Explanation of some technical terms most commonly used in the judging of fencing +# Glossary ## General terms -1. *Assault* – a friendly fight between two fencers which is commenced and ended up by a qualified - referee. At the end of an assault the Referee either awards one or both fencers a point, or - awards none, and/or imposes penalties when necessary. -2. *Exchange* – an exchange or handwork is the basic unit of a fight. An exchange starts with the - first offensive action and ends up with a hit or with both contestants assuming a distance from - which it is impossible to continue in the previous offensive action. -3. *Bout* – a Bout is a series of assaults between two contestants where points awarded for the - individual exchanges determine the outcome of a Bout. Only one fencer is declared a winner of a - Bout. -4. *Competition* - is a series of multiple Bouts performed with a specific weapon, to declare an - overall winner from the contestants. -5. *Tournament* – is a series of Competitions in the weapons announced by the Organising Team. -6. *Fencing time* – is the time required to perform one simple fencing action. -7. *In measure* – is a mutual distance between two fencers in which one or both of them can reach +1. *Exchange* (also: *phrase*, *fencing phrase*) – the basic unit of a bout, occurring between the + Referee's commands to start ('Fence!') and stop ('Halt!'). At the end of an exchange + the Referee either awards one or both fencers a point, awards none, and/or imposes penalties + when necessary. +2. *Bout* – the whole contest between two fencers, comprising a series of exchanges, where points + awarded for the individual exchanges determine the outcome. Only one fencer is declared a winner + of a bout. +3. *Competition* - is a series of multiple Bouts performed with a specific weapon, to declare an + overall winner from the fencers. +4. *Tournament* – is a series of Competitions in the weapons announced by the Organising Team. +5. *Fencing time* – is the time required to perform one simple fencing action. +6. *In measure* – is a mutual distance between two fencers in which one or both of them can reach the opponent with an attack. +7. *Stercke* (forte) – the strong part of the blade, closest to the cross-guard, used mainly for + parrying and binding actions. +8. *Priority* (right of way; historically *Vor*) – the convention that + determines which fencer's hit scores when both fencers are hit within one + period of fencing time. Used in the Longsword and Sabre categories (see + [Right of Way and Priority Rules](../04-right-of-way.md)). +9. *Simultaneous hit* – both fencers are hit as the result of a similar + conception and execution of an action at the same time. +10. *Double hit* – both fencers are hit within one period of fencing time, + without the actions being simultaneous. +11. *After-action* – a counter action (or the finishing move of a compound + action) started at or after the moment of receiving a hit. After-actions + never score and do not annul the hit received. +12. *Off-target* – a part of the body that does not score when hit and does not + stop the exchange (e.g. the legs in the Sabre category). +13. *Forbidden target* – the back of the head, the spine, the groin, the feet + and the back of the knees. Hitting a forbidden target is penalised (see + penalty 1.5). +14. *Arena* (fencing arena) – the marked area in which bouts take place. +15. *On-guard line* – the marked line on which each fencer takes the on-guard + position, at least 2 m from the centre of the arena. ## Fencing actions -1. This section of the rules defines basic fencing actions in terms which are easy to understand for - every contestant even though they might practice different schools of fencing and thus use - various terminologies. It is stressed that this section in no way replaces a treatise on fencing - and is only included in order to help the reader understand the rules. +> **Note:** This section of the rules defines basic fencing actions in terms which are easy to +> understand for every fencer even though they might practise different schools of fencing and +> thus use various terminologies. It is stressed that this section in no way replaces a treatise +> on fencing and is only included in order to help the reader understand the rules. ### Offensive actions @@ -78,7 +97,7 @@ 3. The reprise of the attack - A new attack executed immediately after a return to the on-guard position. -7. *Counter-time* - Any action made by the attacker against a stop hit made by his opponent. +7. *Counter-time* - Any action made by the attacker against a stop-hit made by the opponent. ### Defensive actions @@ -89,5 +108,5 @@ 2. *Evasion* – it is an action of the body when a potential target avoids being hit by prolonging the distance or by another movement. -3. The Langort position - a specific position in which the fencer’s sword arm is kept straight and - the point of his weapon continually threatens his opponent’s valid target. +3. *Point in line* (*Langort*) – a specific position in which the fencer’s sword arm is kept straight + and the point of their weapon continually threatens the opponent’s valid target. diff --git a/appendices/02-penalties.md b/appendices/02-penalties.md index b27890b..d9beeb6 100644 --- a/appendices/02-penalties.md +++ b/appendices/02-penalties.md @@ -1,464 +1,86 @@ # Table of Offences and Penalties -This table is intended to be a summary; it is not a substitute for the full text of the articles -concerned, which should be consulted in any case of doubt. +This table is a summary; it is not a substitute for the full text of the +articles concerned (ART. column), which must be consulted in any case of doubt. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- OFFENCE - ART. - PENALTY -
- -

Non-presentation

-
- -
0.1 - Non presentation when called by the referee ten minutes before the time indicated for start of pool/bouts of direct elimination - - Elimination from the tournament -
0.2 - Non presentation on the arena ready to fence when ordered by the referee. Three calls, with one minute intervals. - - 1st call - 2nd call - Elim. -
+An asterisk (\*) means: any hit scored by the fencer at fault is annulled. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -

1ST GROUP

-
1st offence - 2nd offence - 3rd offence and subs. -
1.1 - Leaving the arena without permission - - YELLOW - RED - RED -
1.2 - Turning back on opponent - -
1.3 - Covering/substitution of valid target - -
1.4 - Interruption of the bout without valid reason - -
1.5 - Attacking forbidden targets (back of the head, spine, foot, back of the knee). Hit with crossguard. Attack with the dagger in rapier. Wrestling in rapier. - -
1.6 - Clothing/equipment nonconforming. Absence of regulation weapon - -
1.7 - Hitting the arena floor with an uncontrolled action - -
1.8 - Refusal to obey the referee (including actions before “Fence!” or after “Halt!”) - -
1.9 - Disorderly fencing *; taking off mask before the Referee calls 'Halt!'; dressing or undressing in the arena - -
1.10 - Irregular moves in the arena *; throwing the opponent by lifting their both of their feet off the ground * - -
1.11 - Leaving the arena with both feet without the opponent’s interaction - -
1.12 - Unjustified appeal - -
1.13 - Hitting with the fists and kicking * - -
1.14 - Removing the opponent‘s mask or any other protective equipment. * - -
1.15 - Losing or dropping the cloak during a rapier bout - -
+## Non-presentation - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -

2ND GROUP

-
1st offence - 2nd offence - 3rd offence and subs. -
2.1 - Throwing the weapon * - - RED - RED - RED -
2.2 - Demanding a break for claimed injury/cramp unjustified by the doctor - -
2.3 - Absence of equipment control marks * - -
2.4 - Dangerous, violent or vindictive action. * Attack with the dagger in rapier bouts. * - -
+| No. | Offence | Art. | Penalty | +|-----|---------|------|---------| +| 0.1 | Non-presentation when called by the staff of the arena ten minutes before the time indicated for the start of pool / direct elimination bouts | O.4 | **BLACK** — elimination from the competition | +| 0.2 | Non-presentation on the arena ready to fence when ordered by the Referee (three calls, one-minute intervals) | D.9 | 1st call **YELLOW** · 2nd call **RED** · 3rd call elimination | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -

3RD GROUP

-
1st offence - 2nd offence -
3.1 - Fencer disturbing order when in the arena. In the most serious cases the Referee may award a black card immediately. - - RED4 (even if the fencer at fault has already received a Red Card as a result of offenses in the 1st or 2nd groups) - BLACK1 (only after the fencer has committed another offence in this third group.) -
3.2 - Dishonest fencing * - - RED -
3.3 - Any person not in arena disturbing order. In the most serious cases the Referee may award a black card immediately. - - YELLOW4 (valid for the whole of the competition) - BLACK3 -
- Offence against sportsmanship * - In the most serious cases the Referee may award a black card immediately. - - YELLOW - BLACK 1 or 2 -
+## Boundary crossing - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -

4TH GROUP

-
1st offence -
4.1 - Deliberate brutality. Throwing the opponent onto their head *. Neck-wrenching and small-joint manipulation techniques. * Failing to stop dangerous submission holds before full application (both competitors may be penalised, the victim as well if he/she did not submit). * Throwing the dagger at the opponent in rapier bouts * - - BLACK -
4.2 - Causing injury or threat of injury with equipment non-conforming to the Rules without or with imitated / transferred weapon control marks. - -
4.3 - Offence against sportsmanship - -
4.4 - Refusal of a fencer to fence another competitor properly entered - -
4.5 - Profiting from collusion, favouring an opponent - -
+| No. | Offence | Art. | 1st occasion | Subsequent | +|-----|---------|------|--------------|------------| +| 0.3 | Leaving the arena with both feet without the opponent's interaction and without having scored a valid hit | G.16 | Verbal warning | Point against | - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-

EXPLANATIONS

-
*Annulling of any hit scored by the competitor at fault
YELLOW CARD - Warning valid for the bout. If a competitor commits an offence of the 1st group after having been penalized with a RED CARD, for whatever reason, he/she receives a further RED CARD. -
RED CARD - Penalty hit -
BLACK CARD - Exclusion from the competition, suspension from the remainder of the tournament. - Possible suspension from future events organised by the Federation or the Organiser. - A competitor only receives a BLACK CARD in the 3rd group if the offender previously committed an offence in this Third Group (demonstrated by a RED CARD). -

-

1. Exclusion from competition -

2. Exclusion from tournament -

3. Expulsion from venue -

4. In serious cases, the referee may exclude/expel immediately -

+## First group + +Penalty ladder: 1st offence **YELLOW**, 2nd and subsequent offences **RED**. +A fencer already holding a RED card receives a further **RED** for a first +offence of this group. + +| No. | Offence | Art. | +|-----|---------|------| +| 1.1 | Leaving the arena without permission | — | +| 1.2 | Turning the back on the opponent | G.42 | +| 1.3 | Covering/substitution of valid target | G.42 | +| 1.4 | Interruption of the bout without valid reason | G.9 | +| 1.5 | Attacking forbidden targets (back of the head, spine, groin, foot, back of the knee). Hit with the cross-guard. Attack with the dagger in Rapier. Strike with the buckler. Wrestling or grappling in Rapier, Sword & Buckler, or Sabre. | G.40–G.41, R.1, R.15, SB.5, SB.8, S.8 | +| 1.6 | Clothing/equipment nonconforming; absence of regulation weapon | E.6 | +| 1.7 | Hitting the arena floor with an uncontrolled action | G.43 | +| 1.8 | Refusal to obey the Referee (including actions before 'Fence!' or after 'Halt!') | G.10 | +| 1.9 | Disorderly fencing \*; taking off the mask before the Referee calls 'Halt!'; dressing or undressing in the arena | D.11, D.13 | +| 1.10 | Irregular movements in the arena \*; throwing the opponent by lifting both of their feet off the ground \* | D.13, G.50 | +| 1.11 | Unjustified appeal | D.19 | +| 1.12 | Hitting with the fists, kicking \* | G.38 | +| 1.13 | Removing the opponent's mask or any other protective equipment \* | — | +| 1.14 | Losing or dropping the cloak during a Rapier bout | R.21 | + +## Second group + +Penalty: **RED** for every offence, including the first. + +| No. | Offence | Art. | +|-----|---------|------| +| 2.1 | Throwing the weapon \* | G.38 | +| 2.2 | Demanding a break for a claimed injury/cramp not confirmed by the medical staff | G.24 | +| 2.3 | Absence of equipment control marks \* | O.40 | +| 2.4 | Dangerous, violent or vindictive action \*; attack with the dagger in Rapier bouts \*; strike with the buckler \* | D.13, R.15, SB.8 | + +## Third group + +| No. | Offence | Art. | 1st offence | 2nd offence | +|-----|---------|------|-------------|-------------| +| 3.1 | Fencer disturbing order when in the arena (in the most serious cases the Referee may award a black card immediately) | D.2 | **RED**⁴ (even if already holding a RED from groups 1 or 2) | **BLACK**¹ | +| 3.2 | Dishonest fencing \* | D.12 | **RED** | **BLACK**¹ | +| 3.3 | Any person not in the arena disturbing order (in the most serious cases: immediate black card) | D.42 | **YELLOW**⁴ (valid for the whole competition) | **BLACK**³ | +| 3.4 | Offence against sportsmanship \* (in the most serious cases: immediate black card) | D.13 | **YELLOW** | **BLACK**¹ or ² | + +## Fourth group + +Penalty: **BLACK** for the first offence. + +| No. | Offence | Art. | +|-----|---------|------| +| 4.1 | Deliberate brutality; throwing the opponent onto their head \*; neck-wrenching and small-joint manipulation \*; failing to stop dangerous submission holds before full application (both fencers may be penalised, the victim as well if they did not submit) \*; throwing the dagger at the opponent in Rapier bouts \* | G.50, R.16 | +| 4.2 | Causing injury or threat of injury with equipment non-conforming to the Rules, or with imitated/transferred weapon control marks | E.5 | +| 4.3 | Offence against sportsmanship (e.g. refusal to salute or shake hands after the bout) | G.21, D.14 | +| 4.4 | Refusal of a fencer to fence another fencer properly entered | D.6 | +| 4.5 | Profiting from collusion, favouring an opponent | D.29 | + +## Cards and footnotes + +| Card | Meaning | +|------|---------| +| **YELLOW** | Warning, valid for the bout. A fencer who commits a 1st-group offence after having been penalised with a RED card (for whatever reason) receives a further **RED**. | +| **RED** | Penalty point for the opponent. | +| **BLACK** | Exclusion from the competition and suspension from the remainder of the tournament; possible suspension from future events organised by the Federation or the Organiser. In the 3rd group, a BLACK card is awarded only after a previous offence in that group (demonstrated by a RED card). | + +¹ exclusion from the competition · ² exclusion from the tournament · +³ expulsion from the venue · ⁴ in serious cases the Referee may exclude/expel +immediately diff --git a/appendices/03-weapon-overview.md b/appendices/03-weapon-overview.md new file mode 100644 index 0000000..7947ee4 --- /dev/null +++ b/appendices/03-weapon-overview.md @@ -0,0 +1,60 @@ +# Weapon Overview + +Summary of the key differences between weapon categories. The weapon-specific +chapters prevail in case of doubt. + +| | Longsword | Rapier & side weapons | Sabre | Sword & Buckler | +|---|---|---|---|---| +| Valid target | whole body incl. weapon handle, except forbidden targets | whole body except forbidden targets and the cloak | hips up (incl. arms and head); legs are off-target | whole body except forbidden targets; hits on the buckler are not valid | +| Priority (right of way) | yes ([RoW](../04-right-of-way.md)) | no — combat rules | yes ([RoW](../04-right-of-way.md)) | no — combat rules (as Rapier) | +| Simultaneous hits | no points | both score a point | no score change | both score a point | +| Double hits | priority rules decide | each scores a point, except thrust beats cut/slice (thrust only) | priority rules decide | as Rapier | +| After-actions | never score | never score | never score | never score | +| Grappling / close quarter combat | allowed | forbidden | forbidden | forbidden | +| Special rules | pommel strike to the mask scores; dominance incl. grappling | dagger and cloak defensive only; parrying with the unarmed hand allowed | hits through blade contact must retain force; point-in-line exception; dominance without grappling | buckler defensive only; striking with the buckler forbidden | + +Forbidden targets in all categories: back of the head, spine, groin, feet, +back of the knees (see [Forbidden actions](../03-general.md)). + +## Weapon parameters + +| Parameter | Longsword | One-handed sword | Rapier | Dagger | Sabre | +|---|---|---|---|---|---| +| Overall length | 120–140 cm | 70–100 cm | ≤ 130 cm | ≤ 60 cm | ≤ 105 cm | +| Blade length | — | — | ≤ 110 cm (incl. *ricasso*) | ≤ 45 cm | ≤ 90 cm | +| Weight | 1400–1700 g (men), 1250–1600 g (women) | 900–1200 g | 900–1300 g | not specified | 650–800 g | +| Flexibility | 9–16 kg | not specified | ≤ 10 kg | not specified | ≤ 10 kg | +| Minimum point area | 70 mm² | 50 mm² | 50 mm² | blunt + rounded/secured | 50 mm² | +| Point of balance | ≤ 9 cm from cross-guard | ≤ 9 cm from cross-guard | — | — | — | + +> **Note:** Summary only — the articles of the +> [Technical & Equipment Standards](../02-equipment.md) prevail in case of +> doubt. Buckler: circular, diameter ≤ 40 cm, wooden or metallic, no studs or +> sharp edges. + +## Equipment checklist by weapon category + +| Equipment | Longsword | Rapier | Sabre | Sword & Buckler | +|---|---|---|---|---| +| FIE mask (CE level 2, 1600 N), undamaged | ✓ | ✓ | ✓ | ✓ | +| Back-of-head + cervical spine protection | ✓ | ✓ | ✓ | ✓ | +| Throat/larynx protector | ✓ | ✓ | ✓ | ✓ | +| HEMA fencing gloves | ✓ | ✓ ¹ | ✓ ¹ | ✓ | +| Additional wrist/forearm protection | — | ✓ ² | ✓ ² | — | +| Rigid wrist guard | ✓ | — | ✓ | ✓ | +| Fencing jacket/gambeson ≥ 350 N, covering armpits | ✓ | ✓ | ✓ | ✓ | +| Under-plastron 800 N (FIE) | — | ✓ | — | — | +| Breast/chest protection (women) | ✓ | ✓ | ✓ | ✓ | +| Groin protector (men) | ✓ | ✓ | ✓ | ✓ | +| Knee + shin protection (front and sides) | ✓ | ✓ | ✓ | ✓ | +| Thigh protection ≥ 350 N (CE level 1) | ✓ | ✓ | ✓ | ✓ | +| Hip protection (jacket or padded trousers) | ✓ | ✓ | ✓ | ✓ | +| Side-weapon hand: glove with additional protection | — | ✓ ³ | — | — | + +✓ = required for entering the category · — = not required · +¹ not required with a sufficiently closed hilt (E.15) · +² required when fencing without a massive glove (E.15) · +³ required if a side weapon is used (E.16) + +> **Note:** Summary only — the articles of the +> [Technical & Equipment Standards](../02-equipment.md) prevail. diff --git a/appendices/04-referee-quick-reference.md b/appendices/04-referee-quick-reference.md new file mode 100644 index 0000000..93e4a32 --- /dev/null +++ b/appendices/04-referee-quick-reference.md @@ -0,0 +1,45 @@ +# Referee Quick Reference + +> **Note:** Informative summary for referees. The full rules prevail. + +## Commands + +'On guard!' → 'Are you ready?' → 'Fence!' → … → 'Halt!' (see G.7–G.8) + +## Stop the exchange ('Halt!') when + +a valid hit lands · an invalid hit complicates further evaluation · a fencer +leaves the arena with both feet · end of time · dangerous or confused fencing · +equipment failure · injury · a fencer requests a break (raised arm) (see G.8) + +## Arena boundaries + +- Both feet out → stop immediately; annul everything after the crossing (G.13–G.14). +- One foot out → a hit still scores if the action started before 'Halt!' (G.15). +- Both feet out without a prior valid hit (penalty 0.3): first time a verbal + warning, then a point against (G.16). +- Pushed out accidentally by the opponent → no penalty (G.17). + +## Bout parameters (defaults) + +Pools: 2 min or 5 points (O.17). Direct elimination: 2 × 2 min (1 min rest) or 7 +points (O.28, O.31). Tie → 1 min sudden death; before it starts, the Referee +draws lots for priority in case nobody scores (G.20; see also O.19, O.33). +Medal bouts: the Organising Team may raise the point limit (e.g. 10 or 15) and +adjust the time structure (O.29). + +## Breaks + +Equipment failure: up to 3 min (G.23). Injury/cramp: up to 10 min (confirmed by +medical staff; once per injury per bout) (G.24). + +## Cards + +Group 1: **YELLOW** → **RED** → **RED** · Group 2: **RED** every time · +Group 3: **RED** → **BLACK** (3.1, 3.2) / **YELLOW** → **BLACK** (3.3, 3.4) · +Group 4: **BLACK** immediately. +Full table: [Table of Offences and Penalties](02-penalties.md). + +## Verdicts per weapon + +See [Weapon Overview](03-weapon-overview.md). diff --git a/docs/open-questions.md b/docs/open-questions.md new file mode 100644 index 0000000..a39f981 --- /dev/null +++ b/docs/open-questions.md @@ -0,0 +1,35 @@ +# Otvorené obsahové otázky (vyžadujú rozhodnutie federácie) + +1. **Video review** — G-pravidlo dnes dáva právo na jeden appeal, ale chýba + procedúra. Návrh: nový článok v Organisational Rules — o review rozhoduje + Referee po vzhliadnutí záznamu s Assistantom; review môže zmeniť len + posúdenie faktov poslednej výmeny; ak záznam nie je presvedčivý, pôvodný + verdikt platí a fencer stráca ďalší appeal. +2. **Sabre — hranica bedra**: "from the hips up" nedefinuje, či zásah presne na + bedrový kĺb platí. Návrh: "hits on the hip line count as valid". +3. **Rapier — rukoväť/koš ako cieľ**: longsword rukoväť explicitne zahŕňa, + rapier mlčí. Návrh: doplniť do R článku o cieli "including the hilt of the + weapon" alebo explicitne vylúčiť. +4. **Priestupky 1.1 a 1.13** nemajú kotvu v texte pravidiel — doplniť články + (opustenie arény bez povolenia; strhnutie masky súpera) do G/D. +5. **One-handed sword** nemá v equipment kapitole limit flexibility — doplniť? +6. **Priestupok 1.2 (otočenie sa chrbtom k súperovi)** má v tabuľke trestov + kotvu G.42, ale G.42 v skutočnosti opisuje len otočenie hlavy alebo + zakrytie platného cieľa mimocieľovou časťou tela — nie otočenie sa + chrbtom. Návrh: doplniť do G.42 (alebo nového článku) explicitnú vetu o + otočení sa chrbtom k súperovi. +7. **Priestupok 1.9 (obliekanie/vyzliekanie v aréne)** má kotvu D.11/D.13, tie + však pokrývajú len ponechanie masky do "Halt!" a všeobecné nešportové + konanie — nie obliekanie/vyzliekanie. Návrh: doplniť explicitnú vetu do + D.11 alebo nový článok v D. +8. **Priestupok 4.2 (imitované/prenesené kontrolné značky výzbroje)** má + kotvu E.5, tá však opisuje len všeobecnú zodpovednosť fencera za výzbroj, + nie falšovanie alebo prenos kontrolných značiek. Návrh: doplniť do E + kapitoly (alebo O.40) explicitný zákaz imitovania/prenosu kontrolných + značiek. +9. **Priority assignment for specific actions** (04-right-of-way.md, riadky + ~28–33) — blok noriem (požiadavka na blade commitment, counterattacks + nemôžu získať prioritu, podmienka pre remise) nemá čísla článkov (RoW.x), + preto nie je citovateľný. Návrh: federácia/maintainer rozhodne, či blok + očíslovať ako nové RoW články, alebo obsah zapracovať do existujúcich RoW + článkov. Do rozhodnutia blok samotný nemeniť. diff --git a/docs/superpowers/plans/2026-08-08-rulebook-readability-refactor.md b/docs/superpowers/plans/2026-08-08-rulebook-readability-refactor.md new file mode 100644 index 0000000..2954c75 --- /dev/null +++ b/docs/superpowers/plans/2026-08-08-rulebook-readability-refactor.md @@ -0,0 +1,1224 @@ +# FEBUS Rulebook Readability Refactor — Implementation Plan + +> **For agentic workers:** REQUIRED SUB-SKILL: Use superpowers:subagent-driven-development (recommended) or superpowers:executing-plans to implement this plan task-by-task. Steps use checkbox (`- [ ]`) syntax for tracking. + +**Goal:** Prerobiť FEBUS rulebook tak, aby bol citovateľný (globálne číslovanie článkov s prefixmi), jazykovo konzistentný (must/may/should, jednotná terminológia) a použiteľný pre tri publiká (šermiar, rozhodca, organizátor) — bez zmeny významu pravidiel, pokiaľ úloha výslovne neoznačí zmenu ako **OBSAHOVÁ ZMENA**. + +**Architecture:** Dokumentačný refactor v 12 sekvenčných úlohách: najprv stabilizácia štruktúry (premenovanie súborov na kanonické poradie, reorganizácia 03-general, deduplikácia), potom jazykové vrstvy (kritické opravy, normatívne slovesá, zámená, terminológia), potom číslovanie článkov a od neho závislé artefakty (tabuľka trestov, prehľadové tabuľky, príklady, quick-reference), nakoniec verziovanie a QA. Poradie je záväzné — číslovanie (Úloha 8) sa smie robiť až keď sa už nemení počet a poradie pravidiel. + +**Tech Stack:** Markdown, git, bash (grep/sed na verifikáciu), Python 3 + WeasyPrint (generate_pdf.py). + +## Global Constraints + +- Text pravidiel je **anglický**; britský pravopis (`organise`, `penalise`, `offence`, `centre`). +- **Žiadna zmena významu pravidla** bez explicitného označenia kroku ako **OBSAHOVÁ ZMENA** — tie vyžadujú schválenie federácie a sú sústredené v Úlohe 11 a 12. +- Normatívne slovesá: **must / must not** = povinnosť/zákaz, **may** = dovolenie, **should** = odporúčanie, **can** = schopnosť. Slová `shall` a väzba `is going to` sa v pravidlách nesmú vyskytovať (deklarované v Úlohe 5). +- Kanonické termíny (zavádza Úloha 7): `fencer`, `bout`, `exchange`, `priority`, `point` (bod v skóre) vs `hit` (fyzický zásah), `arena`, `on-guard line`, `Assistant Referee`, `Organising Team`, `Head of the Refereeing Team`, `cross-guard`, `stop-hit`, `off-target` vs `forbidden target`. +- Formát ID článku: tučné na začiatku odseku — `**G.12** The exchange stops when…`; pod-body ako `a)`, `b)`; citácia `G.12(a)`. Prefixy: E, G, RoW, LS, R, S, SB, O, D (tabuľka v Úlohe 8). +- Informatívny text výhradne v blockquote `> **Note:** …` alebo `> **Example:** …` — nikdy vo vete pravidla. +- Čísla riadkov v tomto pláne platia pre stav repa k 2026-08-08 (commit c2478b2 + necommitnuté zmeny). Po Úlohe 1 sa menia názvy súborov a po každej úlohe sa čísla posúvajú — **vyhľadávaj podľa citovaného textu, nie podľa čísla riadku**. +- Súbory miešajú typografické (’ ‘ “ ”) a rovné (' ") úvodzovky. BEFORE citáty v pláne uvádzajú známy skutočný tvar; ak presný reťazec nenájdeš, skús variant s opačným typom úvodzoviek, než usúdiš, že text neexistuje. +- Po každej úlohe: PDF sa musí dať vygenerovať (postup vo Verifikácii Úlohy 1) a link-check (Úloha 1, krok 6) musí prejsť. +- Commituj po každej úlohe. Správy commitov v angličtine, ukončené `Co-Authored-By: Claude Fable 5 `. +- Pracuj na novej vetve `readability-refactor`. Repo má necommitnuté zmeny z konzistenčného auditu (kapitoly, appendices, README, smernica, netrackovaný generátor PDF) — **pred vytvorením vetvy ich commitni samostatne** na `master`, napr.: `git add -u && git add 10-sword-and-buckler.md FEBUS_smernica_o_rozhodcoch_navrh.md generate.sh generate_pdf.py requirements.txt febus_logo.jpg && git commit -m "chore: consistency fixes, new chapters and PDF generator"`. Predtým over `git status` a z prípravného commitu vyhoď (`git reset `), čo tam nepatrí. Binárne/generované súbory (.DS_Store, vygenerované PDF, staré logo) necommituj — Úloha 1 pridáva .gitignore. + +--- + +### Úloha 1: Kanonické poradie kapitol — premenovanie súborov, odkazy, README, generate_pdf.py + +**Files:** +- Rename: 7 súborov kapitol (git mv, pozri kroky) +- Modify: `README.md`, `CLAUDE.md`, `05-longsword.md`, `07-sabre.md`, `04-right-of-way.md`, `08-sword-and-buckler.md` (odkazy), `generate_pdf.py` +- Create: `scripts/check_links.sh` + +**Interfaces:** +- Produces: kanonické názvy súborov, na ktoré sa odkazujú všetky ďalšie úlohy: `01-intro.md`, `02-equipment.md`, `03-general.md`, `04-right-of-way.md`, `05-longsword.md`, `06-rapier.md`, `07-sabre.md`, `08-sword-and-buckler.md`, `09-organisational.md`, `10-disciplinary.md`; `scripts/check_links.sh` (exit 0 = žiadne rozbité odkazy); `generate_pdf.py` s `self.num_root_files`. + +- [ ] **Krok 1: Vytvor vetvu a premenuj súbory (dva permutačné cykly cez temp názvy)** + +```bash +git checkout -b readability-refactor +# Cyklus A: 04→05→06→09→04 +git mv 09-right-of-way.md tmp-row.md +git mv 06-organisational.md 09-organisational.md +git mv 05-rapier.md 06-rapier.md +git mv 04-longsword.md 05-longsword.md +git mv tmp-row.md 04-right-of-way.md +# Cyklus B: 07→10→08→07 (10-sword-and-buckler.md musí byť trackovaný — +# zabezpečuje prípravný commit z Global Constraints, inak git mv zlyhá) +git mv 10-sword-and-buckler.md tmp-snb.md +git mv 07-disciplinary.md 10-disciplinary.md +git mv 08-sabre.md 07-sabre.md +git mv tmp-snb.md 08-sword-and-buckler.md +``` + +- [ ] **Krok 2: Oprav medzisúborové odkazy v kapitolách** + +| Súbor (nový názov) | Nájsť | Nahradiť | +|---|---|---| +| `05-longsword.md` | `(09-right-of-way.md)` | `(04-right-of-way.md)` | +| `07-sabre.md` | `(09-right-of-way.md)` | `(04-right-of-way.md)` | +| `04-right-of-way.md` | `(04-longsword.md)` | `(05-longsword.md)` | +| `04-right-of-way.md` | `(08-sabre.md)` | `(07-sabre.md)` | +| `08-sword-and-buckler.md` | `(05-rapier.md)` | `(06-rapier.md)` | + +- [ ] **Krok 3: Prepíš README.md v kanonickom poradí** + +```markdown +# FEBUS Tournament Rulebook + +## Introduction + +- [Introduction](01-intro.md) + +## Equipment Regulations + +- [Technical & Equipment Standards](02-equipment.md) + +## The Principles of Scoring + +- [General rules for all weapons](03-general.md) +- [Right of Way and Priority Rules](04-right-of-way.md) +- [Longsword specific rules](05-longsword.md) +- [Rapier and side weapons specific rules (rapier, dagger, cloak)](06-rapier.md) +- [Sabre specific rules](07-sabre.md) +- [Sword and Buckler specific rules](08-sword-and-buckler.md) + +## Organisation and Bout Management + +- [Organisational Rules](09-organisational.md) +- [Fencing etiquette and disciplinary rules](10-disciplinary.md) + +## Appendix + +- [Glossary](appendices/01-glossary.md) +- [Table of Offences and Penalties](appendices/02-penalties.md) +``` + +(Názvy odkazov zámerne zodpovedajú H1 nadpisom cieľových súborov — `Technical & Equipment Standards`, `Organisational Rules` — aby prozaické odkazy v texte sedeli s názvami kapitol.) + +- [ ] **Krok 4: Aktualizuj CLAUDE.md** — v sekcii „Repository Structure" prepíš zoznam súborov podľa nového mapovania (04=right-of-way, 05=longsword, 06=rapier, 07=sabre, 08=sword-and-buckler, 09=organisational, 10=disciplinary). + +- [ ] **Krok 5: Oprav zber súborov a číslovanie príloh v generate_pdf.py.** Dve chyby: (a) glob zbiera aj `FEBUS_smernica_o_rozhodcoch_navrh.md` ako 11. kapitolu PDF (slovenský návrh smernice nie je súčasť rulebooku); (b) číslo prílohy je natvrdo `chapter_num - 9`, takže prílohy dnes vychádzajú A3/A4. + +V `collect_markdown_files` uprav filter root súborov: + +```python + if file.name not in ['README.md', 'CLAUDE.md'] \ + and not file.name.startswith('FEBUS_smernica'): +``` + +za `root_files.sort(key=lambda x: x[0])` pridaj: + +```python + self.num_root_files = len(root_files) +``` + +a v `__init__` inicializuj `self.num_root_files = 0`. Potom nahraď **všetkých 7 výskytov** `A{chapter_num - 9}` za `A{chapter_num - self.num_root_files}` — 3× v `extract_headers_for_toc` a 4× v `add_header_numbering` (vrátane vetvy `is_first_header`, ktorá čísluje H1 nadpis každej prílohy). Mechanicky: + +```bash +sed -i '' 's/chapter_num - 9/chapter_num - self.num_root_files/g' generate_pdf.py +``` + +- [ ] **Krok 6: Vytvor scripts/check_links.sh a .gitignore** + +```bash +#!/bin/bash +# Overí, že každý [text](*.md) odkaz smeruje na existujúci súbor. +set -u +fail=0 +for src in *.md appendices/*.md; do + dir=$(dirname "$src") + while IFS= read -r target; do + [ -z "$target" ] && continue + if [ ! -f "$dir/$target" ] && [ ! -f "$target" ]; then + echo "BROKEN: $src -> $target"; fail=1 + fi + done < <(grep -oE '\]\([^)#]+\.md' "$src" | sed 's/](\(.*\)/\1/') +done +exit $fail +``` + +```bash +chmod +x scripts/check_links.sh +printf '.DS_Store\nvenv/\nfebus_rulebook.pdf\n' > .gitignore +``` + +- [ ] **Krok 7: Verifikácia** + +```bash +ls *.md # očakávaný zoznam: 01-intro … 10-disciplinary, CLAUDE.md, README.md (+FEBUS_smernica*) +grep -rn "09-right-of-way.md\|04-longsword.md\|05-rapier.md\|08-sabre.md\|10-sword-and-buckler.md\|06-organisational.md\|07-disciplinary.md" *.md appendices/*.md + # očakávané: žiadny výskyt (0 riadkov) +scripts/check_links.sh # očakávané: exit 0, žiadne BROKEN +grep -c "chapter_num - 9" generate_pdf.py # očakávané: 0 +python3 -m venv venv 2>/dev/null; source venv/bin/activate; pip install -q -r requirements.txt; python generate_pdf.py + # očakávané: "PDF vygenerované: febus_rulebook.pdf"; + # TOC má presne 10 kapitol (žiadna kapitola "Smernica…"), + # prílohy A1/A2 v TOC AJ v tele dokumentu (nadpis "A1. Glossary") +``` + +- [ ] **Krok 8: Commit** + +```bash +git add .gitignore *.md appendices scripts generate_pdf.py +git commit -m "refactor: rename chapters to canonical reading order, fix links and appendix numbering" +``` + +(Nepoužívaj `git add -A` — v pracovnom strome sú nesúvisiace súbory: .DS_Store, staré PDF, logá.) + +--- + +### Úloha 2: Reorganizácia 03-general.md — podnadpisy, Forbidden actions, Dominance + +**Files:** +- Modify: `03-general.md`, `07-sabre.md` (odkaz na dominance sekciu) + +**Interfaces:** +- Consumes: kanonické názvy z Úlohy 1. +- Produces: štruktúru 03-general.md, na ktorú sa viaže číslovanie v Úlohe 8: H2 sekcie `The Process of the Bouts` (s H3 podsekciami), `The methods of scoring hits` (s H3 `Dominance`), `Forbidden actions (all weapons)`, `Close quarter combat`. + +- [ ] **Krok 1: Vlož H3 podnadpisy do „The Process of the Bouts"** — číslovaný zoznam 1–29 rozdeľ takto (položky identifikuj podľa textu; číslovanie zoznamov v podsekciách nechaj priebežné 1–29, markdown to zvládne cez pokračovanie, alebo reštartuj v každej podsekcii — reštart je v poriadku, definitívne ID dostanú pravidlá až v Úlohe 8): + - `### Starting the bout` — položky 1–7 (od „Each bout is performed" po „…with the word 'Fence!'.") + - `### Stopping the exchange` — položky 8–12 (od „The exchange stops when the Referee commands" po „…annulment of other valid hits that happened afterwards.") + - `### Arena boundaries` — položky 13–17 (od „When a competitor crosses one of the boundaries" po „…incurs no penalty.") + - `### Restarting, video review and end of the bout` — položky 18–22 (od „After each valid hit" po „…before leaving the arena.") + - `### Equipment failure and injury breaks` — položky 23–24 + - `### Forfeits and withdrawal` — položky 25–29 + +- [ ] **Krok 2: Vytiahni dominanciu do vlastnej H3 sekcie.** Z „The methods of scoring hits" odstráň pod-položku 4.5 („The referee may call an action as a valid hit, when a weapon action results in a passively constraining position…") a na koniec sekcie vlož: + +```markdown +### Dominance + +1. The Referee may award a hit when a weapon action results in a passively + constraining position for the opponent, held for a considerable time during + which the opponent is unable to break free. Dominance may be the result of + grappling, locks involving the weapon, or opposing actions that restrain the + opponent's weapon movement. + +2. The Referee awards the hit by calling 'Halt!' once they find all criteria of + dominance met. Hits received while the dominant position is upheld are not + valid. + +3. Dominance does not apply when the opponent can practically break free and + initiate valid actions, even if the weapon contact is not completely broken. + It is at the Referee's discretion to judge the validity of dominance actions. + +4. Dominance achieved by grappling or close quarter combat applies only in the + Longsword category. +``` + +(Znenie je rozklad pôvodného odseku bez zmeny významu; oprava `result of of grappling` je tu už zapracovaná.) + +- [ ] **Krok 3: Povýš všeobecné zákazy.** Súčasná H3 `### Forbidden actions` (vnorená pod `## Close quarter combat`) sa rozdelí: + +Pred `## Close quarter combat` vlož novú H2 sekciu: + +```markdown +## Forbidden actions (all weapons) + +1. Punching, kicking, violent jostling, and throwing the weapon are strictly + forbidden. + +2. Excessive force, brutality or unnecessary violence are forbidden. + +3. Hitting the back of the head, the spine, the groin, the back of the knee or + the foot is forbidden and will be penalised (see penalty 1.5). + +4. It is forbidden to hit with the cross-guard, where applicable, or with the + basket or bell guard (see penalty 1.5). + +5. Turning the head or covering a valid target with a non-valid one belongs to + the first group of offences. + +6. Hitting the arena floor with any weapon due to bad measure in an action will + be penalised according to the first group of offences (cases resulting from + the opponent's interactions, accidental touches, and touching the floor + after having hit the opponent, may be disregarded by the Referee). +``` + +a pôvodnú H3 `### Forbidden actions` pod Close quarter combat nahraď: + +```markdown +### Forbidden actions in close quarter combat + +1. Neck-wrenching, lifting the opponent off the ground, full application of + joint locks, small-joint manipulation, or other potentially dangerous + wrestling techniques are strictly forbidden. +``` + +(Pôvodné položky 3 a 6 hovorili to isté dvakrát — zlúčené do bodov 3+4 novej sekcie. Punching/kicking/throwing the weapon platia univerzálne — presunuté z CQC bodu 1. Významovo sa nič nemení.) + +- [ ] **Krok 4: Verifikácia** + +```bash +grep -n "^## " 03-general.md +# očakávané poradie: The Process of the Bouts / The methods of scoring hits / Forbidden actions (all weapons) / Close quarter combat +grep -c "Hitting the back of the head" 03-general.md # očakávané: 1 (duplicita zlúčená) +grep -n "result of of" 03-general.md # očakávané: 0 riadkov +scripts/check_links.sh +``` + +- [ ] **Krok 5: Commit** — `git commit -am "refactor(general): subsection headings, promote universal forbidden actions, extract dominance"` + +--- + +### Úloha 3: Deduplikácia — jedno kanonické miesto pre každé pravidlo + +**Files:** +- Modify: `03-general.md`, `09-organisational.md`, `02-equipment.md` + +**Interfaces:** +- Produces: kanonické domovy — parametre bojov v `09-organisational.md`, kontrola výstroja v `02-equipment.md`, tri výzvy v `10-disciplinary.md`. Ostatné výskyty = jednovetné odkazy. + +- [ ] **Krok 1: Parametre bojov → kanonicky v 09-organisational.** V `03-general.md` nahraď položku 6 („Pool bouts last 2 minutes… The Organising Team may announce different bout durations…") za: + +```markdown +6. Bout durations, hit limits and tie-break procedures are set out in the + [Organisational Rules](09-organisational.md). Unless the Organising Team + announces otherwise, the defaults are: pool bouts 2 minutes or 5 points; + direct elimination bouts 2 × 2 minutes (with a one-minute rest) or 7 + points. The Timekeeper announces the end of time. Only the Referee may + stop the bout. +``` + +Zároveň v `03-general.md` položke 20 (overtime — „In case the points of the fencers are equal…") nechaj plné znenie: je to jediné miesto s pravidlom o žrebovanej priorite; `09-organisational.md` body o deciding hit (pools bod 4, DE bod 7) doplň o odkaz `…as described in the [General Rules](03-general.md).` na konci vety „…if scores are still equal at the end of the extra minute." + +- [ ] **Krok 2: Kontrola výstroja → kanonicky v 02-equipment.** V `03-general.md` nahraď položku 3 („An additional equipment check will be performed by the referee…") za: + +```markdown +3. Equipment checks before and during the competition, and the penalties for + nonconforming equipment, are set out in the + [Technical & Equipment Standards](02-equipment.md). +``` + +V `09-organisational.md` sekcii „Fencer readiness and presence" nahraď položku 4 („The Refereeing Team will check the readiness of fencers…") za: + +```markdown +4. The Refereeing Team checks the readiness of fencers (completeness of safety + gear and weapons) before the indicated start of bouts, as set out in the + [Technical & Equipment Standards](02-equipment.md). The Referee may repeat + this check at any time. +``` + +- [ ] **Krok 3: Tri výzvy → kanonicky v 10-disciplinary.** V `09-organisational.md` položke 3 tej istej sekcie over, že text len odkazuje (už áno — „the procedure described in the disciplinary rules applies"), a oprav chybný názov cieľa: `see penalty 0.2 and the Fencing etiquette section` → `see penalty 0.2 and [Fencing etiquette and disciplinary rules](10-disciplinary.md), section 'The Fencers'`. (Dopredný odkaz: sekciu 'The Competitors' premenuje na 'The Fencers' Úloha 7, Krok 1 — odkaz na súbor je platný už teraz a `check_links.sh` kontroluje len existenciu súboru, nie sekcie.) + +- [ ] **Krok 4: Postup merania flexibility → jeden článok.** V `02-equipment.md` je identický odsek o meraní flexibility 3× (longsword bod 6, rapier bod 4, sabre bod 5). Na začiatok sekcie `### Weapons` vlož všeobecný odsek: + +```markdown +The flexibility of a blade is measured by applying pressure on the blade point +against scales, with one hand firmly placed on the pommel. The blade's +flexibility is the maximum value (in kg) displayed on the scales before the +blade reaches full bend. +``` + +a pri zbraniach ponechaj len limity: longsword bod 6 → `The acceptable flexibility range for longsword blades is 9–16 kg.`; rapier bod 4 → ponechaj prvé dve vety (`The maximum length of the blade including *ricasso* is 110cm. The blade must be flexible, especially from the middle of the rapier to the point in order not to pose a risk in thrust attacks.`) a zakonči `For rapier blades, the acceptable flexibility is 10 kg or less.`; sabre bod 5 → `For sabre blades, the acceptable flexibility is 10 kg or less.` + +(Robí sa teraz — pred číslovaním v Úlohe 8 — aby sa počet článkov v 02-equipment.md už nemenil a pridelené E-čísla zostali stabilné.) + +- [ ] **Krok 5: Verifikácia** + +```bash +grep -c "2 minutes of effective fencing time" 03-general.md # očakávané: 0 (parametre už len v 09) +grep -c "additional equipment check will be performed" 03-general.md # očakávané: 0 +grep -n "Fencing etiquette section" 09-organisational.md # očakávané: 0 riadkov +grep -c "The flexibility of the blade is measured" 02-equipment.md # očakávané: 0 +grep -c "flexibility of a blade is measured" 02-equipment.md # očakávané: 1 +scripts/check_links.sh +``` + +- [ ] **Krok 6: Commit** — `git commit -am "refactor: single canonical home for bout parameters, equipment checks, three-call procedure and flexibility measurement"` + +--- + +### Úloha 4: Kritické jazykové opravy — rozbité definície, gramatika, negácie + +**Files:** +- Modify: `03-general.md`, `06-rapier.md`, `05-longsword.md`, `09-organisational.md`, `10-disciplinary.md`, `02-equipment.md` + +Každý bod nižšie je nahradenie presného znenia (nájdi podľa BEFORE, nahraď AFTER). Význam sa nemení. + +- [ ] **Krok 1: Definície double hitu** + +`03-general.md` — BEFORE: `A double hit occurs when both fencers get hit within a period of fencing time, but are not simultaneous actions, are evaluated according to the rules or each specific weapon.` +AFTER: `A double hit occurs when both fencers are hit within one period of fencing time but the actions are not simultaneous. Double hits are evaluated according to the weapon-specific rules.` + +`06-rapier.md` — BEFORE: `A double hit occurs when two valid hits that land within one period of fencing time.` +AFTER: `A double hit occurs when two valid hits land within one period of fencing time.` + +`05-longsword.md` — BEFORE: `The double hit on the other hand, is the result of a clearly faulty action on the part of one of the fencers, according to the rules. Therefore, when there is not an interval of fencing time between the hits.` +AFTER: `A double hit, on the other hand, occurs when there is no interval of fencing time between the hits and it is the result of a clearly faulty action on the part of one of the fencers, as defined by these rules.` + +- [ ] **Krok 2: Gramatické chyby** + +| Súbor | BEFORE | AFTER | +|---|---|---| +| `09-organisational.md` | `Main referee must be able conduct and manage bouts in English.` | `The Referee must be able to conduct and manage bouts in English.` | +| `10-disciplinary.md` (2×: 3. aj 4. skupina) | `keeps the position in the ranking s obtained` | `keeps the position in the ranking obtained` | +| `10-disciplinary.md` | `exclusion from the competition, suspension from the remainder of the tournament. The fencer keeps` | `exclusion from the competition and suspension from the remainder of the tournament). The fencer keeps` (uzavri zátvorku otvorenú pred „exclusion") | +| `10-disciplinary.md` | `penalised by a BLACK CARD (exclusion from the competition.` | `penalised by a BLACK CARD (exclusion from the competition).` | +| `03-general.md` | `upon each subsequent cases within the bout, a hit will be scored against him (as if they had been hit).` | `on each subsequent occasion within the bout, a point is scored against the fencer (as if they had been hit).` | +| `03-general.md` | `Should a competitor cross the boundary of the arena completely — i.e. with both feet — without having scored any valid hits before crossing the limit of the arena (see penalty 0.3)` | `If a fencer crosses the boundary of the arena with both feet without having scored a valid hit before crossing (see penalty 0.3):` | +| `10-disciplinary.md` | `he can also propose to the the expulsion` | `they can also propose the expulsion` | + +- [ ] **Krok 3: Zavádzajúce negácie („no … must")** + +`02-equipment.md` — BEFORE: `If a contestant leans their head in any standard angle, no unprotected part or skin must be visible.` +AFTER: `The head protection must leave no skin or unprotected area visible when the fencer tilts their head at any normal angle.` + +`02-equipment.md` — BEFORE: `Every part of the body must be covered. No open space must be left between the gloves and the jacket.` +AFTER: `Every part of the body must be covered. The gloves must overlap the jacket sleeves, leaving no gap.` + +`07-sabre.md` — BEFORE: `Hits landed with blade contact (through a parry or over the cross/guard) are only valid if the strength of the hit is not meaningfully decreased.` +AFTER: `Hits landed with blade contact (through a parry or over the cross-guard) are valid only if the hit retains meaningful force.` + +- [ ] **Krok 4: Najhoršie súvetia (FIE legalese) — rozklad bez zmeny významu** + +`03-general.md` — BEFORE: `However, if when the Referee stops the exchange, a hit that the referee believed invalid and ignored before the conclusion of the last exchange proves to have been valid, the Referee shall, if possible, make a decision in relation to the actual first hit, even if this results in the annulment of other valid hits that happened afterwards.` +AFTER: `If a hit that the Referee ignored as invalid proves, when the exchange is stopped, to have been valid, the Referee must, if possible, re-judge the exchange from that actual first hit. Later hits are annulled, even if they were valid.` + +`10-disciplinary.md` — BEFORE: `In his capacity as director of the bout and arbiter of hits, he can, in accordance with the rules, penalise the competitors, either by refusing to award a hit which they have in fact made on the opponent, or by awarding against them a hit which they have not in fact received, or by excluding them from the competition which he is refereeing, all, according to the circumstances, with or without prior warning. In these circumstances, and if he has judged on a matter of fact, his decisions are irrevocable` +AFTER: `As director of the bout and arbiter of hits, the Referee may, in accordance with the rules and — according to the circumstances — with or without prior warning: a) refuse to award a hit actually made; b) award a point against a fencer for a hit not actually received; c) exclude a fencer from the competition. When the Referee has judged on a matter of fact, the decision is irrevocable.` + +`09-organisational.md` (protokol po výmene) — BEFORE: `After stopping an exchange, the Referee consults with the Assistant and proposes a result. If the fencers accept the decision (they say nothing), the fight continues with the proposed score. If they don’t agree with the Referee, but they agree with each other, the Referee may make a decision according to their wishes. If any of the fencers protests and the fencers disagree with each other, the Referee will decide whether to assign a point (being completely sure) or repeat the exchange.` (pozor: `don’t` s typografickým apostrofom) +AFTER: + +```markdown +3. After stopping an exchange, the Referee consults the Assistant and proposes + a result. Then: + a) if both fencers accept the decision (they say nothing), the bout + continues with the proposed score; + b) if the fencers disagree with the Referee but agree with each other, the + Referee may decide according to their shared account; + c) if a fencer protests and the fencers disagree with each other, the + Referee either assigns the point (only when completely sure) or repeats + the exchange. +``` + +- [ ] **Krok 5: Verifikácia** + +```bash +grep -rn "get hit within a period\|two valid hits that land\|able conduct\|ranking s obtained\|of of \|subsequent cases\|no unprotected part or skin must\|No open space must" *.md +# očakávané: 0 riadkov +scripts/check_links.sh +``` + +- [ ] **Krok 6: Commit** — `git commit -am "fix(language): repair broken definitions, grammar errors and misleading negations"` + +--- + +### Úloha 5: „Use of Language" + normatívne slovesá (shall/will → must/may) + +**Files:** +- Modify: `01-intro.md` (nová sekcia), všetky kapitoly (sweep) + +**Interfaces:** +- Produces: konvenciu, na ktorú sa odkazuje check skript (Úloha 7) a všetky ďalšie texty. + +- [ ] **Krok 1: Pridaj do 01-intro.md na koniec novú sekciu** + +```markdown +## Use of Language + +1. This Rulebook uses the following verb conventions: + - **must** / **must not** — a binding requirement or prohibition; + - **may** — a permission; + - **should** — a recommendation: not binding, but expected as good practice; + - **can** — a statement of ability or possibility, not a norm. + +2. Terms in *italics* are technical terms defined in the + [Glossary](appendices/01-glossary.md). + +3. Blocks introduced with **Note:** or **Example:** are informative only; they + illustrate the rules but contain no requirements. +``` + +(4. bod o číslovaní článkov doplní Úloha 8, Krok 5.) + +- [ ] **Krok 2: Sweep `shall`.** Nájdi všetky výskyty: `grep -rn "\bshall\b" *.md appendices/*.md`. Každý prepíš podľa významu: povinnosť → `must`, opis budúceho deja → prítomný čas. Známe výskyty a ich prepisy: + +| Miesto | BEFORE → AFTER | +|---|---| +| `02-equipment.md` (sabre) | `The total weight of a sabre shall fall between the range of 650-800 grams, counting both blade and basket.` → `The sabre, including blade and basket, must weigh between 650 and 800 g.` | +| `02-equipment.md` (cloak) | `The Organizing Team shall announce in advance, whether they allow` → `The Organising Team must announce in advance whether they allow` | +| `03-general.md` | `The opponents shall salute to the referees and the opponent` → `The opponents must salute the Referees and the opponent` | +| `03-general.md` | `the fencers shall check and sign the result sheet` → `the fencers must check and sign the result sheet` | +| `03-general.md` | `their results shall be scratched, and their opponents shall be declared` → `their results are scratched, and their opponents are declared` | +| `03-general.md` | `the score shall be recorded as if` → `the score is recorded as if` | +| `03-general.md` (CQC — Ground action) | `the Referee shall call “Halt!”` (typografické úvodzovky) → `the Referee must call 'Halt!'` | +| `03-general.md` (CQC — pád/strata zbrane) | `the Referee shall call 'Halt!'` (rovné úvodzovky) → `the Referee must call 'Halt!'` | +| `09-organisational.md` | `A summary classification table shall then be made` → `A summary classification table is then made` | +| `09-organisational.md` | `a second index will be established` → ponechaj opisné, zmeň na prítomný čas: `a second index is established` | +| `01-intro.md` | `we shall regard each individual point as a separate "duel"` → `each individual point is regarded as a separate "duel"` | + +- [ ] **Krok 3: Sweep `will` a `is going to` v normatívnych vetách.** `grep -rn "is going to\|will be penalised\|will be penalized\|will be judged\|will be scored\|will have\|will be defined\|will consist\|will decide\|will announce\|will be called\|will be made\|will call\|will be counted" *.md`. Pravidlo: ak veta ukladá povinnosť/normu → `must` alebo prítomný čas; ak opisuje procedúru → prítomný čas. Známe kľúčové prepisy: + +| Miesto | BEFORE → AFTER | +|---|---| +| `02-equipment.md` | `The blade will have a safe tip, this being defined as rolled, thickened or spatulated. The tip will be further built up at the event with contrasting high-visibility tape.` → `The blade must have a safe tip: rolled, thickened or spatulated. The tip must be further built up at the event with contrasting high-visibility tape.` | +| `02-equipment.md` | `A sabre will be defined as` → `A sabre is a` | +| `02-equipment.md` | `no aluminium, plastic or wooden swords will be accepted` → `aluminium, plastic or wooden swords are not accepted` | +| `07-sabre.md` | `Repeated, deliberate strikes to an off-target will be judged as` → `Repeated, deliberate strikes to an off-target area are judged as` | +| `04-right-of-way.md` | `Priority will not be given for pure footwork` → `Priority is not given for pure footwork` | +| `09-organisational.md` | `Fencers will be called by the staff of the given fencing area` → `The staff of the given fencing area call the fencers` | +| `09-organisational.md` | `these pools will consist of 7 fencers` → `the pools consist of 7 fencers` | +| `09-organisational.md` | `Medical/paramedic staff will assess` → `Medical/paramedic staff assess` | +| `03-general.md` | `the referee will announce the winner` → `the Referee announces the winner` | + +Ostatné výskyty rieš rovnakým pravidlom (rozhodovací postup je deterministický; ak veta vyjadruje podmienený následok v pravidle — „a point will be scored against" — použi prítomný čas „a point is scored against"). + +- [ ] **Krok 4: Verifikácia** + +```bash +grep -rn "\bshall\b\|is going to" *.md appendices/*.md | grep -v "^docs/" # očakávané: 0 riadkov +grep -c "## Use of Language" 01-intro.md # očakávané: 1 +``` + +- [ ] **Krok 5: Commit** — `git commit -am "style: normative verb convention (must/may/should) and Use of Language clause"` + +--- + +### Úloha 6: Zámená a register — singular they, opakovanie roly, archaizmy + +**Files:** +- Modify: `03-general.md`, `04-right-of-way.md`, `09-organisational.md`, `10-disciplinary.md`, `02-equipment.md` + +- [ ] **Krok 1: Sweep rodových zámen.** `grep -rn "\bhe\b\|\bshe\b\|\bhis\b\|\bher\b\|\bhim\b\|he/she\|she/he\|his/her\|him/her\|him/them\|His/her" *.md`. Pravidlá prepisu: (a) tam, kde vystupuje jedna osoba → singular `they/their/them`; (b) tam, kde vystupujú dvaja aktéri (útočník/obranca, šermiar/rozhodca) → opakuj rolu (`the attacker`, `the defender`, `the fencer`, `the Referee`) namiesto zámena. Kľúčové miesta: + - `10-disciplinary.md`: `they must remain still while the referee is making her decision; when she has given her decision` → `they must remain still while the Referee is making the decision; when the Referee has given the decision` + - `10-disciplinary.md`: `must keep his mask on until the Referee calls ‘Halt!’. He may under no circumstances address the Referee until the Referee has made his decision.` (typografické úvodzovky okolo Halt!) → `must keep their mask on until the Referee calls 'Halt!'. They must not address the Referee until the Referee has announced the decision.` + - `10-disciplinary.md`: `if the play becomes confused, dangerous or she/he is unable` → `if the play becomes confused or dangerous, or the Referee is unable` + - `10-disciplinary.md`: `the Referee will penalise him/them as specified` → `the Referee penalises them as specified` + - `04-right-of-way.md` (celé zoznamy „The fencer who is attacked/attacks is alone counted as hit"): `if he makes a counter-attack on his opponent's simple attack` → `if they make a counter-attack against the opponent's simple attack` — analogicky všetkých 11 položiek (`he` → `they`, `his opponent` → `the opponent`, `his point` → `their point`, `his final movement` → `the final movement of the attack`). + - `09-organisational.md`: `His/her results are recorded` → `Their results are recorded` + - `10-disciplinary.md`: `by his/her gestures, attitude or language` → `by their gestures, attitude or language`; `pledges his/her honour` → pozri Krok 2. +- Pozor na legitímne výskyty mimo pravidiel (napr. slovenské texty smernice `FEBUS_smernica*` — tie nechaj bez zmeny; sweep obmedz na kapitoly 01–10 a appendices). + +- [ ] **Krok 2: Archaizmy a právnický register v 10-disciplinary.md** + +| BEFORE | AFTER | +|---|---| +| `By the mere fact of entering a fencing competition, the fencers pledge their honour to observe the Rules, and the decisions and instructions of the officials, to be respectful towards the Referees (Referee and Assistant) and to scrupulously obey their orders and injunctions.` | `By entering a fencing competition, fencers agree to observe the Rules and the decisions and instructions of the officials, to be respectful towards the Referees (Referee and Assistant), and to follow their orders.` | +| `By accepting a position as referee or assistant, the person so designated pledges his/her honour to respect the rules` | `By accepting a position as Referee or Assistant, the person so designated agrees to respect the rules` | +| `All bouts must preserve the character of a courteous and frank encounter.` | `All bouts must remain courteous and fair.` | +| `In no circumstances can the imposition of this penalty give cause for redress to anyone.` | `The imposition of this penalty gives no one a right to compensation.` | + +- [ ] **Krok 3: Pasíva zakrývajúce aktéra (02-equipment.md)** — BEFORE: `The mandatory equipment is controlled by the designated tournament staff before the competition and an additional check must be done by the referee of each fencing arena.` AFTER: `The designated tournament staff inspect the mandatory equipment before the competition; the referee of each fencing arena performs an additional check.` (Pozn.: `controlled` je kalk — správne `inspected`.) + +- [ ] **Krok 4: Verifikácia** + +```bash +grep -rn "he/she\|she/he\|his/her\|him/her\|him/them\|His/her" 0*.md 10-disciplinary.md # očakávané: 0 +grep -rnE '\b(he|she|his|her|him)\b' 0*.md 10-disciplinary.md # posúď ručne — cieľ: žiadne rodové zámená v texte pravidiel +grep -n "injunctions\|frank encounter\|redress\|pledge" 10-disciplinary.md # očakávané: 0 +``` + +- [ ] **Krok 5: Commit** — `git commit -am "style: singular they, role nouns instead of pronouns, plain register in disciplinary chapter"` + +--- + +### Úloha 7: Terminologická kanonizácia + glosár + check skript + +**Files:** +- Modify: všetky kapitoly, `appendices/01-glossary.md` +- Create: `scripts/check_conventions.sh` + +- [ ] **Krok 1: Hromadné náhrady kanonických termínov** (grep → cielené úpravy; `sed -i` len ak si istý kontextom): + +| Kanonický termín | Nahrádza | Poznámky/výnimky | +|---|---|---| +| `fencer` | `competitor`, `contestant`, `athlete` | `participant` nechaj pre širší okruh osôb (diváci, tréneri); v 10-disciplinary premenuj sekciu `## The Competitors` → `## The Fencers`; „non-competitors" v texte o vylúčení → `non-fencers` alebo preformuluj `other persons present` | +| `bout` | `match`, `fight` (podstatné mená) | `the match can be stopped` → `the bout`; `a break in the fight` → `a break in the bout`; pozor: „matches" v `10-disciplinary.md` score-sheet vete → `bout` | +| `priority` | `right of way`, `right-of-way`, `Vor`, `right of initiative` v bežnom texte | Prvý výskyt v každej kapitole: `priority (right of way, historically *Vor*)`; nadpis v `05-longsword.md` `## Vor/Priority` → `## Priority`; názov kapitoly 04 a jej H1 nechaj `Right of Way and Priority Rules` (vžitý názov), ale v texte kapitoly používaj `priority` | +| `point` (bod v skóre) | `hit` tam, kde ide o skóre | `reaches 5 points` zostáva; `has scored 5 hits`/`7 hits` v 09-organisational → `5 points`/`7 points`; `penalty hit` v 10-disciplinary → `penalty point`; FYZICKÝ zásah zostáva `hit` (definície zásahov, valid hit…); indexy `HS – HR` nechaj, ale rozpíš `(points scored – points received)` | +| `arena` | `fencing area` | V 09-organisational a v tabuľke trestov; `fencing area staff` → `arena staff`; ak `fencing area` označuje širší priestor než arénu, ponechaj a over kontext | +| `on-guard line` | `start-line`, `starting line`, `on guard line` | `02-equipment.md` bod 4 a `03-general.md` | +| `Assistant Referee` | `Assistant (side Referee)`, `Side Referee` | Nadpis `### Side Referee (Assistant Referee)` → `### Assistant Referee`; prvá zmienka: `an Assistant Referee (observing from a different angle)` | +| `Organising Team` | `Organizing Team`, `organizer(s)`, `organisers` | Britský pravopis všade; `The organisers of a competition publish` → `The Organising Team publishes` | +| `Head of the Refereeing Team` | `Head of the Refereeing Committee`, `Refereeing committee` | `The Refereeing committee can be approached` → `The Head of the Refereeing Team can be approached` | +| `cross-guard` | `crossguard`, `cross/guard` | vrátane tabuľky trestov (1.5) | +| `stop-hit` | `stop hit` | glosár má kanonické heslo `*Stop-hit*`, ale v hesle *Counter-time* oprav `stop hit` → `stop-hit` (a `his opponent` → `the opponent`) | +| `Referee` (veľké R) | `referee` v texte pravidiel | Len tam, kde ide o rolu v tomto rulebooku; `referee` ako všeobecné slovo v úvode môže zostať malé — rozhodni jednotne: v kapitolách 02–10 vždy veľké `Referee`, `Timekeeper`, `Assistant Referee` | +| `off-target` / `forbidden target` | `non-scoring target`, `illegal target`, `non-valid target` | `07-sabre.md`: `legs being a non-scoring target` → `legs being off-target`; `strikes to an illegal target` → `strikes to a forbidden target`; `03-general.md` `covering a valid target with a non-valid one` → `covering a valid target with an off-target part` — POZOR: over význam každého výskytu (off-target = neskóruje; forbidden = trestá sa) | + +- [ ] **Krok 2: Glosár — nové heslá a opravy.** V `appendices/01-glossary.md`: + +(a) Oprav `Bout`: `the whole fight between two fencers` → `the whole contest between two fencers`. +(b) Otoč `Langort`: `*Langort* (point in line) – a specific position…` → `*Point in line* (*Langort*) – a specific position…`. +(c) Do sekcie **General terms** doplň: + +```markdown +8. *Priority* (right of way; historically *Vor*) – the convention that + determines which fencer's hit scores when both fencers are hit within one + period of fencing time. Used in the Longsword and Sabre categories (see + [Right of Way and Priority Rules](../04-right-of-way.md)). +9. *Simultaneous hit* – both fencers are hit as the result of a similar + conception and execution of an action at the same time. +10. *Double hit* – both fencers are hit within one period of fencing time, + without the actions being simultaneous. +11. *After-action* – a counter action (or the finishing move of a compound + action) started at or after the moment of receiving a hit. After-actions + never score and do not annul the hit received. +12. *Off-target* – a part of the body that does not score when hit and does not + stop the exchange (e.g. the legs in the Sabre category). +13. *Forbidden target* – the back of the head, the spine, the groin, the feet + and the back of the knees. Hitting a forbidden target is penalised (see + penalty 1.5). +14. *Arena* (fencing arena) – the marked area in which bouts take place. +15. *On-guard line* – the marked line on which each fencer takes the on-guard + position, at least 2 m from the centre of the arena. +``` + +(d) `03-general.md`: definíciu fencing time („Fencing time is the time required to perform one simple fencing action.") nahraď odkazom: `*Fencing time* (see [Glossary](appendices/01-glossary.md)) is counted as follows: in judging hits, referees count immediate actions that start up to the moment of the first hit as relevant actions.` + +- [ ] **Krok 3: Vytvor scripts/check_conventions.sh** + +```bash +#!/bin/bash +# Konvenčné kontroly rulebooku. Exit 0 = OK. Kontroluje kapitoly a appendices, +# nie docs/ ani slovenské súbory. +set -u +FILES="01-intro.md 02-equipment.md 03-general.md 04-right-of-way.md \ +05-longsword.md 06-rapier.md 07-sabre.md 08-sword-and-buckler.md \ +09-organisational.md 10-disciplinary.md README.md appendices/01-glossary.md" +fail=0 +check_zero() { # $1 = popis, $2 = pattern + hits=$(grep -nE "$2" $FILES 2>/dev/null) + if [ -n "$hits" ]; then echo "FAIL: $1"; echo "$hits"; fail=1; fi +} +check_zero "zakázané modálne tvary" '\bshall\b|is going to' +check_zero "nekanonické osoby" '\bcontestants?\b|\bcompetitors?\b|\bathletes?\b' +check_zero "nekanonický súboj" '\bthe match\b|\bthe fight\b' +check_zero "rodové zámená" 'he/she|she/he|his/her|him/her|him/them' +check_zero "nekanonická priorita" 'right of initiative' +check_zero "nekanonická čiara" 'start-line|\bstarting line\b' +check_zero "nekanonický asistent" 'Side Referee' +check_zero "americký pravopis organizácie" 'Organizing Team|organizer' +check_zero "nekanonický cross-guard" '\bcrossguard\b|cross/guard' +check_zero "nekanonický stop hit" '\bstop hit\b' +check_zero "rozbité FIE odkazy" 'Article [0-9]|in Article\.|Figure 2' +check_zero "staré HTML atribúty" 'bgcolor' +exit $fail +``` + +```bash +chmod +x scripts/check_conventions.sh +``` + +> **Poznámka:** `appendices/02-penalties.md` zámerne vo FILES nie je — starý HTML súbor obsahuje `he/she`, `competitor` aj `bgcolor`; do FILES ho vráti Úloha 9 po prepise. Kontrola `Article [0-9]` začne prechádzať až po Úlohe 8 — dovtedy je to jediné akceptované zlyhanie (všetko ostatné musí prejsť už teraz). + +- [ ] **Krok 4: Verifikácia** + +```bash +scripts/check_conventions.sh # očakávané: FAIL len na "rozbité FIE odkazy" (opraví Úloha 8) +scripts/check_links.sh # exit 0 +``` + +- [ ] **Krok 5: Commit** — `git commit -am "style: canonical terminology, glossary entries for core scoring terms, convention check script"` + +--- + +### Úloha 8: Globálne číslovanie článkov + krížové odkazy + FIE pozostatky + +**Files:** +- Modify: `02-equipment.md`, `03-general.md`, `04-right-of-way.md`, `05-longsword.md`, `06-rapier.md`, `07-sabre.md`, `08-sword-and-buckler.md`, `09-organisational.md`, `10-disciplinary.md`, `01-intro.md` (bod 4 Use of Language) + +**Interfaces:** +- Produces: stabilné ID článkov `.`, ktoré používa Úloha 9 (stĺpec ART.) a Úloha 11 (quick-reference). Po dokončení vygeneruj zoznam ID: `grep -hoE '\*\*[A-Za-z]+\.[0-9]+\*\*' *.md | sort -u > /tmp/article-ids.txt`. + +- [ ] **Krok 1: Prefixy a postup číslovania.** + +| Súbor | Prefix | +|---|---| +| `02-equipment.md` | `E` | +| `03-general.md` | `G` | +| `04-right-of-way.md` | `RoW` | +| `05-longsword.md` | `LS` | +| `06-rapier.md` | `R` | +| `07-sabre.md` | `S` | +| `08-sword-and-buckler.md` | `SB` | +| `09-organisational.md` | `O` | +| `10-disciplinary.md` | `D` | + +`01-intro.md` a glosár sa nečíslujú (filozofia a definície sa citujú menom). + +Postup pre každý súbor: prechádzaj zhora nadol; každú položku číslovaného zoznamu, ktorá je pravidlom, preveď na odsek začínajúci `**.**` s priebežným `n` cez celý súbor (žiadny reštart na sekciách). Vnorené pod-body preveď na `a)`, `b)`, `c)`… Úvodné nečíslované odseky sekcií (napr. úvod „Rapier and side weapons do not use priority…") nechaj bez ID — normu z nich presuň do prvého očíslovaného pravidla, ak ju obsahujú (v 06-rapier: veta `only the first valid hit scores` patrí do R.4, úvod nechaj informatívny). + +Vzor (03-general, začiatok): + +```markdown +## The Process of the Bouts + +### Starting the bout + +**G.1** Each bout is performed for a set amount of time or until a set amount +of points. This is achieved through a series of separate, independent +exchanges. + +**G.2** The fencers present themselves in the arena when called by the Referee +before each pool or direct elimination bout, in appropriate gear conforming to +the rules, ready to fence. +``` + +- [ ] **Krok 2: Skontroluj markdown rendering.** Odseky `**G.1** …` nesmú byť súčasťou `1.` zoznamov (odstráň pôvodné čísla zoznamu). Pod-body píš **záväzne** ako markdown zoznam s pomlčkou: `- a) …`, `- b) …` — samostatný blok odsadený 4 medzerami by python-markdown vykreslil ako code block (sivý monospace rámik v PDF). Vygeneruj PDF po očíslovaní prvej kapitoly a over rendering skôr, než očísluješ zvyšok. + +- [ ] **Krok 3: Preveď prozaické krížové odkazy na presné.** Zoznam konverzií (po pridelení čísel doplň skutočné `n`): + +| Miesto | Teraz | Nahradiť | +|---|---|---| +| `03-general.md` + `09-organisational.md` | odkaz `[Technical & Equipment Standards](02-equipment.md)` vložený Úlohou 3 (pôvodné `(see the Equipment Standards)` už neexistuje) | doplň číslo článku o kontrole výstroja: `…are set out in the [Technical & Equipment Standards](02-equipment.md), E..` | +| `02-equipment.md` | `a break of up to 3 minutes may be allowed (see the General Rules).` | `…(see [G.](03-general.md) — equipment failure breaks).` | +| `03-general.md` (dedup z Úlohy 3) | odkaz na Organisational Rules | doplň `, O.–O.` | +| `06-rapier.md` | `the regulations for these side weapons are set out elsewhere in this Rulebook.` | `the regulations for these side weapons are set out in the [Technical & Equipment Standards](02-equipment.md), E.–E. (dagger) and E.–E. (cloak).` | +| `09-organisational.md` | `(See Figure 2.)` | zmaž — žiadna Figure 2 neexistuje | +| `10-disciplinary.md` | `the same as those described in the Article 29. above` | `the same as those described in D. (Exclusion) above` (odkaz na článok „Exclusion. A fencer who, while fencing…" — znenie po sweepe Úlohy 7) | +| `10-disciplinary.md` | `to be applied in the cases indicated in the table in Article.` | `to be applied in the cases indicated in the [Table of Offences and Penalties](appendices/02-penalties.md).` | +| `10-disciplinary.md` | `are summarised in the table that follows in Article 44.); they are divided` | `are summarised in the [Table of Offences and Penalties](appendices/02-penalties.md); they are divided` | +| `10-disciplinary.md` | `(see the table of offences, also attached to this summary)` | `(see the [Table of Offences and Penalties](appendices/02-penalties.md))` | +| `05-longsword.md` | `(see the General Rules, 'The methods of scoring hits')` | `(see [G.](03-general.md) — pommel strike)` | +| `07-sabre.md` | `the general dominance rule (see [General Rules](03-general.md))` | `the general dominance rule (see [G.–G.](03-general.md))` | + +Existujúce odkazy `(see penalty 0.3)`, `(see penalty 1.5)`, `(see penalty 1.6)` atď. nechaj — tabuľka trestov si drží vlastné číslovanie 0.1–4.5. + +- [ ] **Krok 4: Doplň do 01-intro.md „Use of Language" bod 4** + +```markdown +4. Rules are numbered with a chapter prefix: E = Equipment, G = General rules, + RoW = Right of Way, LS = Longsword, R = Rapier, S = Sabre, SB = Sword & + Buckler, O = Organisational, D = Disciplinary. Cite rules by these + identifiers (e.g. "G.16", "RoW.12(a)"). Identifiers are stable: new rules + receive new numbers and existing numbers are not reused. +``` + +- [ ] **Krok 5: Verifikácia** + +```bash +grep -c '^\*\*E\.' 02-equipment.md # > 60 (odhad ~80 článkov) +grep -c '^\*\*G\.' 03-general.md # > 40 +grep -rn "Article [0-9]\|in Article\.\|Figure 2" *.md # 0 riadkov +scripts/check_links.sh && scripts/check_conventions.sh # očakávané: exit 0 (02-penalties.md pribudne do kontrol až v Úlohe 9) +# každé ID unikátne: +grep -hoE '\*\*[A-Za-z]+\.[0-9]+\*\*' *.md | sort | uniq -d # 0 riadkov +source venv/bin/activate && python generate_pdf.py # PDF sa vygeneruje, skontroluj rendering G.1 odsekov +``` + +- [ ] **Krok 6: Commit** — `git commit -am "feat: global article numbering with chapter prefixes, precise cross-references, remove broken FIE references"` + +--- + +### Úloha 9: Tabuľka trestov → čisté Markdown + ART. stĺpec + farby kariet v PDF + +**Files:** +- Modify: `appendices/02-penalties.md` (kompletný prepis), `generate_pdf.py` (colorize + CSS) + +**Interfaces:** +- Consumes: ID článkov z Úlohy 8 (`/tmp/article-ids.txt` alebo grep). +- Produces: markdown tabuľky; `colorize_cards()` v generate_pdf.py. + +- [ ] **Krok 1: Prepíš appendices/02-penalties.md.** Nahraď **všetkých 7 HTML tabuliek** (Non-presentation, Boundary crossing, skupiny 1–4 a záverečná EXPLANATIONS, ktorú nahrádza sekcia „Cards and footnotes") markdown tabuľkami. Predloha (ART. hodnoty `<…>` doplň podľa pridelených ID; kde pravidlo v texte neexistuje, daj `—`): + +```markdown +# Table of Offences and Penalties + +This table is a summary; it is not a substitute for the full text of the +articles concerned (ART. column), which must be consulted in any case of doubt. + +An asterisk (*) means: any hit scored by the fencer at fault is annulled. + +## Non-presentation + +| No. | Offence | Art. | Penalty | +|-----|---------|------|---------| +| 0.1 | Non-presentation when called by the staff of the arena ten minutes before the time indicated for the start of pool / direct elimination bouts | O. | **BLACK** — elimination from the competition | +| 0.2 | Non-presentation on the arena ready to fence when ordered by the Referee (three calls, one-minute intervals) | D. | 1st call **YELLOW** · 2nd call **RED** · 3rd call elimination | + +## Boundary crossing + +| No. | Offence | Art. | 1st occasion | Subsequent | +|-----|---------|------|--------------|------------| +| 0.3 | Leaving the arena with both feet without the opponent's interaction and without having scored a valid hit | G. | Verbal warning | Point against | + +## First group + +Penalty ladder: 1st offence **YELLOW**, 2nd and subsequent offences **RED**. +A fencer already holding a RED card receives a further **RED** for a first +offence of this group. + +| No. | Offence | Art. | +|-----|---------|------| +| 1.1 | Leaving the arena without permission | — | +| 1.2 | Turning the back on the opponent | G. | +| 1.3 | Covering/substitution of valid target | G. | +| 1.4 | Interruption of the bout without valid reason | G. | +| 1.5 | Attacking forbidden targets (back of the head, spine, groin, foot, back of the knee). Hit with the cross-guard. Attack with the dagger in Rapier. Strike with the buckler. Wrestling or grappling in Rapier, Sword & Buckler, or Sabre. | G., R., SB., S. | +| 1.6 | Clothing/equipment nonconforming; absence of regulation weapon | E. | +| 1.7 | Hitting the arena floor with an uncontrolled action | G. | +| 1.8 | Refusal to obey the Referee (including actions before 'Fence!' or after 'Halt!') | G. | +| 1.9 | Disorderly fencing *; taking off the mask before the Referee calls 'Halt!'; dressing or undressing in the arena | D. | +| 1.10 | Irregular movements in the arena *; throwing the opponent by lifting both of their feet off the ground * | D., G. | +| 1.11 | Unjustified appeal | D. | +| 1.12 | Hitting with the fists, kicking * | G. | +| 1.13 | Removing the opponent's mask or any other protective equipment * | — | +| 1.14 | Losing or dropping the cloak during a Rapier bout | R. | + +## Second group + +Penalty: **RED** for every offence, including the first. + +| No. | Offence | Art. | +|-----|---------|------| +| 2.1 | Throwing the weapon * | G. | +| 2.2 | Demanding a break for a claimed injury/cramp not confirmed by the medical staff | G. | +| 2.3 | Absence of equipment control marks * | O. | +| 2.4 | Dangerous, violent or vindictive action *; attack with the dagger in Rapier bouts *; strike with the buckler * | D., R., SB. | + +## Third group + +| No. | Offence | Art. | 1st offence | 2nd offence | +|-----|---------|------|-------------|-------------| +| 3.1 | Fencer disturbing order when in the arena (in the most serious cases the Referee may award a black card immediately) | D. | **RED**⁴ (even if already holding a RED from groups 1 or 2) | **BLACK**¹ | +| 3.2 | Dishonest fencing * | D. | **RED** | **BLACK**¹ | +| 3.3 | Any person not in the arena disturbing order (in the most serious cases: immediate black card) | D. | **YELLOW**⁴ (valid for the whole competition) | **BLACK**³ | +| 3.4 | Offence against sportsmanship * (in the most serious cases: immediate black card) | D. | **YELLOW** | **BLACK**¹ or ² | + +## Fourth group + +Penalty: **BLACK** for the first offence. + +| No. | Offence | Art. | +|-----|---------|------| +| 4.1 | Deliberate brutality; throwing the opponent onto their head *; neck-wrenching and small-joint manipulation *; failing to stop dangerous submission holds before full application (both fencers may be penalised, the victim as well if they did not submit) *; throwing the dagger at the opponent in Rapier bouts * | G., R. | +| 4.2 | Causing injury or threat of injury with equipment non-conforming to the Rules, or with imitated/transferred weapon control marks | E. | +| 4.3 | Offence against sportsmanship (e.g. refusal to salute or shake hands after the bout) | G., D. | +| 4.4 | Refusal of a fencer to fence another fencer properly entered | D. | +| 4.5 | Profiting from collusion, favouring an opponent | D. | + +## Cards and footnotes + +| Card | Meaning | +|------|---------| +| **YELLOW** | Warning, valid for the bout. A fencer who commits a 1st-group offence after having been penalised with a RED card (for whatever reason) receives a further **RED**. | +| **RED** | Penalty point for the opponent. | +| **BLACK** | Exclusion from the competition and suspension from the remainder of the tournament; possible suspension from future events organised by the Federation or the Organiser. In the 3rd group, a BLACK card is awarded only after a previous offence in that group (demonstrated by a RED card). | + +¹ exclusion from the competition · ² exclusion from the tournament · +³ expulsion from the venue · ⁴ in serious cases the Referee may exclude/expel +immediately +``` + +Mapovanie ART. (pravidlá identifikuj podľa obsahu): 0.1 → O (tri výzvy 10 min pred štartom); 0.2 → D (tri výzvy rozhodcu, sekcia The Fencers); 0.3 → G (hranica bez zásahu); 1.2, 1.3 → G (Forbidden actions: turning/covering); 1.4 → G (prestávka len cez rozhodcu); 1.5 → G (forbidden targets + cross-guard) + R (útok dýkou) + SB (úder bucklerom) + S (zákaz grapplingu); 1.6 → E (kontrola výstroja); 1.7 → G (arena floor); 1.8 → G (akcie pred/po povele); 1.9 → D (Etiquette: disorderly; The Fencers: maska); 1.10 → D (Etiquette) + G (CQC forbidden); 1.11 → D (Referee: appeals); 1.12 → G (punching/kicking); 1.14 → R (cloak, bod 5); 2.1 → G (throwing weapon); 2.2 → G (injury break); 2.3 → O (Tournament Staff: stamps); 2.4 → D (Etiquette) + R + SB; 3.1 → D (Order 2); 3.2 → D (utmost ability); 3.3 → D (3rd group osoby mimo arény); 3.4 → D (Etiquette); 4.1 → G (CQC forbidden) + R (hod dýkou); 4.2 → E (zodpovednosť za výstroj); 4.3 → G (salute) + D (Etiquette 2); 4.4 → D (refusal to fence); 4.5 → D (collusion). Pre 1.1 a 1.13 v texte pravidiel niet kotvy → `—` (kandidáti na doplnenie textu pravidla, zaznamenaj do CHANGELOG poznámky v Úlohe 12). + +- [ ] **Krok 2: Farby kariet v PDF.** Do `generate_pdf.py` pridaj metódu a volanie na konci `convert_markdown_to_html` (pred `return html_content`): + +```python + def colorize_cards(self, html: str) -> str: + """Zafarbí YELLOW/RED/BLACK karty v tabuľkách trestov.""" + html = html.replace('YELLOW', 'YELLOW') + html = html.replace('RED', 'RED') + html = html.replace('BLACK', 'BLACK') + return html +``` + +```python + html_content = self.colorize_cards(html_content) + return html_content +``` + +Do `css_styles` pridaj: + +```css + .card-yellow { background-color: #E3D059; padding: 0 4px; } + .card-red { background-color: #E36159; color: #fff; padding: 0 4px; } + .card-black { background-color: #787878; color: #fff; padding: 0 4px; } +``` + +- [ ] **Krok 3: Vráť tabuľku trestov do konvenčných kontrol.** V `scripts/check_conventions.sh` doplň `appendices/02-penalties.md` na koniec zoznamu FILES. + +- [ ] **Krok 4: Verifikácia** + +```bash +grep -c "\|bgcolor\| **Note:** These are the default values; the Organising Team may announce +> different values before the start of the competition (see the articles +> below). +``` + +- [ ] **Krok 2: Tabuľka parametrov zbraní.** Do `02-equipment.md` na začiatok sekcie `### Weapons` vlož: + +```markdown +| Parameter | Longsword | One-handed sword | Rapier | Dagger | Sabre | +|---|---|---|---|---|---| +| Overall length | 120–140 cm | 70–100 cm | ≤ 130 cm | ≤ 60 cm | ≤ 105 cm | +| Blade length | — | — | ≤ 110 cm (incl. *ricasso*) | ≤ 45 cm | ≤ 90 cm | +| Weight | 1400–1700 g (men), 1250–1600 g (women) | 900–1200 g | 900–1300 g | not specified | 650–800 g | +| Flexibility | 9–16 kg | not specified | ≤ 10 kg | not specified | ≤ 10 kg | +| Minimum point area | 70 mm² | 50 mm² | 50 mm² | blunt + rounded/secured | 50 mm² | +| Point of balance | ≤ 9 cm from cross-guard | ≤ 9 cm from cross-guard | — | — | — | + +> **Note:** This table is a summary of the detailed requirements below, which +> prevail in case of doubt. Buckler: circular, diameter ≤ 40 cm, wooden or +> metallic, no studs or sharp edges. +``` + +(Postup merania flexibility bol zjednotený už v Úlohe 3, Krok 4 — tu len over, že hodnoty v tabuľke sedia s limitmi v texte. Nový článok sa v tejto úlohe do 02-equipment.md **nepridáva**, aby zostali E-čísla z Úlohy 8 stabilné; tabuľky sú informatívne a ID nemajú.) + +- [ ] **Krok 3: Checklist výstroj × zbraň.** Na koniec `02-equipment.md` (za sekciu Weapons) pridaj: + +```markdown +## Equipment checklist by weapon category + +| Equipment | Longsword | Rapier | Sabre | Sword & Buckler | +|---|---|---|---|---| +| FIE mask (CE level 2, 1600 N), undamaged | required | required | required | required | +| Back-of-head + cervical spine protection | required | required | required | required | +| Throat/larynx protector | required | required | required | required | +| HEMA fencing gloves | required | not required with a sufficiently closed hilt (E.) | not required with a sufficiently closed hilt (E.) | required | +| Additional wrist/forearm protection | — | required when fencing without a massive glove | required when fencing without a massive glove | — | +| Rigid wrist guard | required | — | required | required | +| Fencing jacket/gambeson ≥ 350 N, covering armpits | required | required | required | required | +| Under-plastron 800 N (FIE) | — | required | — | — | +| Breast/chest protection (women) | required | required | required | required | +| Groin protector (men) | required | required | required | required | +| Knee + shin protection (front and sides) | required | required | required | required | +| Thigh protection ≥ 350 N (CE level 1) | required | required | required | required | +| Hip protection (jacket or padded trousers) | required | required | required | required | +| Side-weapon hand: glove with additional protection | — | required if a side weapon is used | — | — | + +> **Note:** Summary only — the detailed articles above prevail. `required` +> means mandatory for entering the category. +``` + +(`E.` doplň podľa ID pravidla o bell guard/basket z Úlohy 8.) + +- [ ] **Krok 4: Verifikácia** + +```bash +grep -c '^| Parameter' 02-equipment.md # očakávané: 1 (tabuľka parametrov zbraní) +grep -c '^## Equipment checklist by weapon category' 02-equipment.md # očakávané: 1 +scripts/check_links.sh && scripts/check_conventions.sh +source venv/bin/activate && python generate_pdf.py # tabuľky sa zmestia na A4 (font 10pt, over vizuálne) +``` + +- [ ] **Krok 5: Commit** — `git commit -am "feat: summary tables for bout parameters, weapon parameters and equipment checklist"` + +--- + +### Úloha 11: Príklady, Note konvencia, prehľad zbraní a quick-reference + +**Files:** +- Modify: `03-general.md`, `04-right-of-way.md`, `05-longsword.md`, `appendices/01-glossary.md`, `README.md` +- Create: `appendices/03-weapon-overview.md`, `appendices/04-referee-quick-reference.md` + +- [ ] **Krok 1: Note konvencia pre existujúce vysvetlivky.** Presuň do blockquote `> **Note:** …`: + - `05-longsword.md`: `(The fault of the attacker consists of indecision, slowness of execution or the making of feints which are not sufficiently effective. The fault of the defender lies in delay or slowness in making the stop-hit.)` (znenie po sweepe Úlohy 7 — `stop-hit` už so spojovníkom) → `> **Note:** The fault of the attacker typically consists of indecision, slow execution, or insufficiently effective feints; the fault of the defender lies in a delayed or slow stop-hit.` + - `03-general.md` (CQC, pád/strata zbrane): veta `…but in the spirit of sportsmanship, no intentional new attack should be initiated if the opponent has fallen or lost the weapon.` — ponechaj v pravidle (je normatívna, `should`), ale over, že po Úlohe 8 je to vlastný pod-bod, nie vsuvka. + - `appendices/01-glossary.md`: úvodný bod 1 sekcie Fencing actions („This section of the rules defines basic fencing actions… It is stressed that this section in no way replaces a treatise on fencing…") preformátuj z položky zoznamu na `> **Note:** …` blok. + +- [ ] **Krok 2: Príklady k trom taktickým situáciám (03-general.md).** Za definície simultaneous/double/after-action vlož: + +```markdown +> **Example (simultaneous hit):** Both fencers decide to attack at the same +> moment and both cuts land together; neither action began meaningfully +> earlier. → Simultaneous hit, scored according to the weapon-specific rules +> (no score change in Longsword and Sabre; both fencers score in Rapier and +> Sword & Buckler). + +> **Example (double hit):** Fencer A launches a correct attack. Fencer B, +> instead of parrying, counterattacks; both hits arrive within one period of +> fencing time. → Double hit, evaluated by the weapon-specific rules (in +> priority weapons the point goes to A). + +> **Example (after-action):** Fencer A lands a clean valid hit. Only after +> being hit does Fencer B start a counter-cut, which also lands. → B's hit is +> an after-action: it does not score and does not annul A's point. +``` + +- [ ] **Krok 3: Príklady k priorite (04-right-of-way.md).** Za zoznam „The fencer who is attacked is alone counted as hit" vlož: + +```markdown +> **Example:** A attacks with a straight thrust, the arm extending before the +> lunge. B counterattacks to the arm without parrying; both hits land within +> one fencing time. → A alone scores: a counterattack into a simple attack +> loses. + +> **Example:** A makes a compound attack (feint, then disengage). B stop-hits, +> but the stop-hit lands only as A starts the final movement. → The stop-hit +> is not in time; A alone scores. +``` + +Za zoznam „The fencer who attacks is alone counted as hit" vlož: + +```markdown +> **Example:** B stands with the point in line before A starts attacking. A +> attacks without deflecting B's blade and both fencers are hit. → B alone +> scores: A had to take the blade first. + +> **Example:** A attacks; B parries and ripostes immediately with a simple +> direct riposte. A renews the attack (remise) and both hits land. → B alone +> scores: a remise against an immediate simple riposte loses. +``` + +Za sekciu „Parry and Riposte" vlož: + +```markdown +> **Example:** A attacks; B parries successfully but pauses before riposting. +> A immediately renews the attack and hits while B's delayed riposte also +> lands. → A scores: the delayed riposte lost priority. +``` + +- [ ] **Krok 4: Vytvor appendices/03-weapon-overview.md** + +```markdown +# Weapon Overview + +Summary of the key differences between weapon categories. The weapon-specific +chapters prevail in case of doubt. + +| | Longsword | Rapier & side weapons | Sabre | Sword & Buckler | +|---|---|---|---|---| +| Valid target | whole body incl. weapon handle, except forbidden targets | whole body except forbidden targets and the cloak | hips up (incl. arms and head); legs are off-target | whole body except forbidden targets; hits on the buckler are not valid | +| Priority (right of way) | yes ([RoW](../04-right-of-way.md)) | no — combat rules | yes ([RoW](../04-right-of-way.md)) | no — combat rules (as Rapier) | +| Simultaneous hits | no points | both score a point | no score change | both score a point | +| Double hits | priority rules decide | both score; a thrust beats a cut or slice | priority rules decide | as Rapier | +| After-actions | never score | never score | never score | never score | +| Grappling / close quarter combat | allowed | forbidden | forbidden | forbidden | +| Special rules | pommel strike to the mask scores; dominance incl. grappling | dagger and cloak defensive only; parrying with the unarmed hand allowed | hits through blade contact must retain force; point-in-line exception; dominance without grappling | buckler defensive only; striking with the buckler forbidden | + +Forbidden targets in all categories: back of the head, spine, groin, feet, +back of the knees (see [Forbidden actions](../03-general.md)). +``` + +- [ ] **Krok 5: Vytvor appendices/04-referee-quick-reference.md** + +```markdown +# Referee Quick Reference + +> **Note:** Informative summary for referees. The full rules prevail. + +## Commands + +'On guard!' → 'Are you ready?' → 'Fence!' → … → 'Halt!' + +## Stop the exchange ('Halt!') when + +a valid hit lands · an invalid hit complicates further evaluation · a fencer +leaves the arena with both feet · end of time · dangerous or confused fencing · +equipment failure · injury · a fencer requests a break (raised arm) + +## Arena boundaries + +- Both feet out → stop immediately; annul everything after the crossing. +- One foot out → a hit still scores if the action started before 'Halt!'. +- Both feet out without a prior valid hit (penalty 0.3): first time a verbal + warning, then a point against. +- Pushed out accidentally by the opponent → no penalty. + +## Bout parameters (defaults) + +Pools: 2 min or 5 points. Direct elimination: 2 × 2 min (1 min rest) or 7 +points. Tie → 1 min sudden death; before it starts, the Referee draws lots for +priority in case nobody scores. + +## Breaks + +Equipment failure: up to 3 min. Injury/cramp: up to 10 min (confirmed by +medical staff; once per injury per bout). + +## Cards + +Group 1: **YELLOW** → **RED** → **RED** · Group 2: **RED** every time · +Group 3: **RED** → **BLACK** (3.1, 3.2) / **YELLOW** → **BLACK** (3.3, 3.4) · +Group 4: **BLACK** immediately. +Full table: [Table of Offences and Penalties](02-penalties.md). + +## Verdicts per weapon + +See [Weapon Overview](03-weapon-overview.md). +``` + +(Do ART. odkazov quick-reference doplň konkrétne `G.`/`O.` ID podľa Úlohy 8, ak chceš — minimálne pri boundaries a breaks.) + +- [ ] **Krok 6: Zaregistruj nové prílohy do README.md** — do sekcie Appendix doplň: + +```markdown +- [Weapon Overview](appendices/03-weapon-overview.md) +- [Referee Quick Reference](appendices/04-referee-quick-reference.md) +``` + +- [ ] **Krok 7: Naplň sľub „examples" v 05-longsword.md** — veta `See [Right of Way and Priority Rules](04-right-of-way.md) for detailed priority conventions and examples.` teraz zodpovedá realite (04 obsahuje príklady) — nechaj; over. + +- [ ] **Krok 8: Verifikácia** + +```bash +grep -c "> \*\*Example" 04-right-of-way.md # očakávané: 5 +grep -c "> \*\*Example" 03-general.md # očakávané: 3 +ls appendices/ # 01-glossary, 02-penalties, 03-weapon-overview, 04-referee-quick-reference +scripts/check_links.sh # pozor na relatívne cesty ../ z appendices — musí prejsť +source venv/bin/activate && python generate_pdf.py # nové prílohy = A3, A4 v TOC +``` + +- [ ] **Krok 9: Commit** — `git commit -am "feat: worked examples, Note convention, weapon overview and referee quick reference appendices"` + +--- + +### Úloha 12: Verzia, changelog, titulná strana + finálna QA + +**Files:** +- Create: `VERSION`, `CHANGELOG.md` +- Modify: `README.md`, `generate_pdf.py` + +- [ ] **Krok 1: Vytvor VERSION** — obsah: `2.0.0-draft` + +- [ ] **Krok 2: Vytvor CHANGELOG.md** + +```markdown +# Changelog + +## 2.0.0-draft (2026) + +Readability refactor — no intended changes to the meaning of the rules: + +- Chapters renamed to the canonical reading order; README, PDF and file + numbering unified. +- Global article numbering with chapter prefixes (E, G, RoW, LS, R, S, SB, O, + D); ART. column of the penalty table filled in; broken references inherited + from the FIE rules removed. +- Normative verb convention (must/may/should) and a "Use of Language" clause. +- Terminology unified (fencer, bout, priority, point vs hit, arena, on-guard + line, Assistant Referee, off-target vs forbidden target); new glossary + entries. +- General rules reorganised: subsection headings, universal forbidden actions + promoted out of the longsword-only close-quarter section, dominance rules + restructured. +- Summary tables (bout parameters, weapon parameters, equipment checklist), + worked examples for tactical situations and priority, weapon overview and + referee quick-reference appendices. +- Known gaps flagged for the federation: no rule text exists for offences 1.1 + (leaving the arena without permission) and 1.13 (removing the opponent's + mask); video-review procedure is unspecified; the sabre hip boundary and the + rapier hilt-as-target question are open. + +## 1.x + +Original rulebook (see git history). +``` + +- [ ] **Krok 3: Verzia v README.md** — pod H1 pridaj: + +```markdown +**Version 2.0.0-draft** — under review, not yet in force. See the +[Changelog](CHANGELOG.md). +``` + +- [ ] **Krok 4: generate_pdf.py — verzia na titulnej strane, CHANGELOG.md namiesto git logu, vylúčenie nových root súborov** + +(a) V `collect_markdown_files` doplň do výnimiek `CHANGELOG.md` (filter na `FEBUS_smernica*` je tam už z Úlohy 1, Krok 5): + +```python + if file.name not in ['README.md', 'CLAUDE.md', 'CHANGELOG.md'] \ + and not file.name.startswith('FEBUS_smernica'): +``` + +(b) Pridaj metódu: + +```python + def get_version(self) -> str: + p = Path('VERSION') + return p.read_text(encoding='utf-8').strip() if p.exists() else '' +``` + +(c) V `generate_pdf` v bloku titulnej strany nahraď `
Official Edition
` za: + +```python + version = self.get_version() + edition = f'Official Edition — Version {version}' if version else 'Official Edition' +``` + +a v f-stringu `
{edition}
`. + +(d) V `generate_changelog` uprednostni kurátorovaný changelog: + +```python + def generate_changelog(self) -> str: + """Vygeneruje changelog: preferuje CHANGELOG.md, fallback git história.""" + changelog_md = Path('CHANGELOG.md') + if changelog_md.exists(): + md = markdown.Markdown(extensions=['extra', 'sane_lists']) + body = md.convert(changelog_md.read_text(encoding='utf-8')) + return f'
{body}
' + # …pôvodné telo s git log ako fallback… +``` + +- [ ] **Krok 5: OBSAHOVÁ ZMENA — otvorené otázky pre federáciu.** Nezapracúvaj do pravidiel; vytvor `docs/open-questions.md` so zoznamom návrhov na rozhodnutie federácie (každý s navrhovaným znením): + +```markdown +# Otvorené obsahové otázky (vyžadujú rozhodnutie federácie) + +1. **Video review** — G-pravidlo dnes dáva právo na jeden appeal, ale chýba + procedúra. Návrh: nový článok v Organisational Rules — o review rozhoduje + Referee po vzhliadnutí záznamu s Assistantom; review môže zmeniť len + posúdenie faktov poslednej výmeny; ak záznam nie je presvedčivý, pôvodný + verdikt platí a fencer stráca ďalší appeal. +2. **Sabre — hranica bedra**: "from the hips up" nedefinuje, či zásah presne na + bedrový kĺb platí. Návrh: "hits on the hip line count as valid". +3. **Rapier — rukoväť/koš ako cieľ**: longsword rukoväť explicitne zahŕňa, + rapier mlčí. Návrh: doplniť do R článku o cieli "including the hilt of the + weapon" alebo explicitne vylúčiť. +4. **Priestupky 1.1 a 1.13** nemajú kotvu v texte pravidiel — doplniť články + (opustenie arény bez povolenia; strhnutie masky súpera) do G/D. +5. **One-handed sword** nemá v equipment kapitole limit flexibility — doplniť? +``` + +- [ ] **Krok 6: Finálna QA** + +```bash +scripts/check_conventions.sh # exit 0 +scripts/check_links.sh # exit 0 +grep -hoE '\*\*[A-Za-z]+\.[0-9]+\*\*' *.md | sort | uniq -d # 0 duplicitných ID +source venv/bin/activate && python generate_pdf.py +# Manuálna kontrola PDF (otvor febus_rulebook.pdf): +# - titulná strana: "Official Edition — Version 2.0.0-draft" +# - TOC: kapitoly 1–10 v kanonickom poradí, prílohy A1–A4 +# - tabuľka trestov: farebné karty, vyplnený stĺpec Art. +# - kapitola General rules: G.1 … články, H3 podsekcie +# - Change Log strana: obsah CHANGELOG.md, nie git log +``` + +- [ ] **Krok 7: Commit + záverečné porovnanie** + +```bash +git add -A +git commit -m "feat: version, curated changelog, title page version and open content questions" +git diff master --stat # rekapitulácia rozsahu pre PR/review +``` + +--- + +## Self-Review (vykonané pri písaní plánu) + +1. **Pokrytie auditu:** všetkých 6 optík auditu má zodpovedajúce úlohy — jazyk (4, 5, 6), štruktúra/navigácia (1, 2, 3, 8), terminológia (7), formát/vizuál (9, 10, 11 + farby kariet), publiká (10, 11), best practices (5 — ISO konvencia, 8 — FIE číslovanie, 12 — verzia/changelog, 11 — Longpoint examples/quick-ref). Bug generate_pdf.py príloh — Úloha 1, Krok 5. +2. **Bez placeholderov:** všetky nové texty (Use of Language, dominancia, Forbidden actions, glosárové heslá, príklady, tabuľky, quick-reference, CHANGELOG) sú v pláne v plnom znení. Jediné odložené hodnoty sú `` v ID článkov — tie vzniknú deterministicky až v Úlohe 8 a plán definuje presný postup ich pridelenia aj dosadenia. +3. **Konzistencia názvov:** názvy súborov po premenovaní (Úloha 1) sa používajú vo všetkých nasledujúcich úlohách; `scripts/check_links.sh` a `scripts/check_conventions.sh` sa vytvárajú skôr, než ich verifikácie vyžadujú; sekcia `The Fencers` (premenovaná v Úlohe 7) je zohľadnená v Úlohe 3, Krok 3. +4. **Adverzariálna verifikácia (2026-08-08):** plán prešiel kontrolou troch nezávislých recenzentov (fakty vs. repo, sémantika pravidiel, konzistencia poradia úloh). Zapracovaných 29 nálezov, o. i.: netrackovaný `10-sword-and-buckler.md` pri `git mv`; 7 (nie 6) výskytov `chapter_num - 9` v generate_pdf.py vrátane vetvy `is_first_header`; smernica zbieraná do PDF ako 11. kapitola; presun zjednotenia flexibility pred číslovanie článkov; nesplniteľné brány check_conventions (02-penalties.md vo FILES pred prepisom, `starting line` v novom glosárovom hesle); typografické úvodzovky v BEFORE citátoch; zlý kartový rebríček 3. skupiny v quick-reference; pod-body cez 4-medzerové odsadenie by renderovali ako code block. diff --git a/febus_logo.jpg b/febus_logo.jpg new file mode 100644 index 0000000..63a177f Binary files /dev/null and b/febus_logo.jpg differ diff --git a/generate.sh b/generate.sh new file mode 100755 index 0000000..c004e78 --- /dev/null +++ b/generate.sh @@ -0,0 +1,95 @@ +#!/bin/bash + +# FEBUS Rulebook PDF Generator +# Automatický skript pre generovanie PDF dokumentu z Markdown súborov + +set -e # Zastaviť pri chybe + +# Farby pre výpis +RED='\033[0;31m' +GREEN='\033[0;32m' +YELLOW='\033[1;33m' +NC='\033[0m' # No Color + +# Banner +echo "==================================================" +echo " FEBUS Rulebook - PDF Generator" +echo "==================================================" +echo "" + +# Kontrola Python3 +echo -e "${YELLOW}🔍 Kontrolujem Python3...${NC}" +if ! command -v python3 &> /dev/null; then + echo -e "${RED}❌ Python3 nie je nainštalovaný!${NC}" + echo "Prosím nainštalujte Python3: brew install python3" + exit 1 +fi +echo -e "${GREEN}✓ Python3 nájdený${NC}" + +# Kontrola a vytvorenie virtuálneho prostredia +if [ ! -d "venv" ]; then + echo -e "${YELLOW}📦 Vytváram virtuálne prostredie...${NC}" + python3 -m venv venv + echo -e "${GREEN}✓ Virtuálne prostredie vytvorené${NC}" +else + echo -e "${GREEN}✓ Virtuálne prostredie existuje${NC}" +fi + +# Aktivácia virtuálneho prostredia +echo -e "${YELLOW}🚀 Aktivujem virtuálne prostredie...${NC}" +source venv/bin/activate + +# Kontrola a inštalácia závislostí +echo -e "${YELLOW}📚 Kontrolujem závislosti...${NC}" +if ! pip show markdown &> /dev/null || ! pip show weasyprint &> /dev/null; then + echo -e "${YELLOW}📥 Inštalujem závislosti...${NC}" + pip install --quiet -r requirements.txt + echo -e "${GREEN}✓ Závislosti nainštalované${NC}" +else + echo -e "${GREEN}✓ Závislosti sú už nainštalované${NC}" +fi + +# Spustenie generovania PDF +echo "" +echo -e "${YELLOW}📄 Generujem PDF dokument...${NC}" +echo "==================================================" + +python generate_pdf.py + +# Kontrola výsledku +if [ -f "febus_rulebook.pdf" ]; then + echo "" + echo -e "${GREEN}✅ PDF dokument bol úspešne vygenerovaný!${NC}" + + # Zobrazenie informácií o súbore + FILE_SIZE=$(ls -lh febus_rulebook.pdf | awk '{print $5}') + echo -e "${GREEN}📊 Veľkosť súboru: ${FILE_SIZE}${NC}" + + # Ponuka na otvorenie + echo "" + echo -e "${YELLOW}Chcete otvoriť PDF dokument? (a/n)${NC}" + read -n 1 -r + echo + if [[ $REPLY =~ ^[Aa]$ ]]; then + if [[ "$OSTYPE" == "darwin"* ]]; then + # macOS + open febus_rulebook.pdf + elif [[ "$OSTYPE" == "linux-gnu"* ]]; then + # Linux + xdg-open febus_rulebook.pdf 2>/dev/null || echo "Prosím otvorte súbor manuálne: febus_rulebook.pdf" + else + echo "PDF dokument: febus_rulebook.pdf" + fi + fi +else + echo -e "${RED}❌ Chyba pri generovaní PDF!${NC}" + exit 1 +fi + +# Deaktivácia virtuálneho prostredia +deactivate + +echo "" +echo "==================================================" +echo -e "${GREEN}✨ Hotovo!${NC}" +echo "==================================================" \ No newline at end of file diff --git a/generate_pdf.py b/generate_pdf.py new file mode 100644 index 0000000..a25d62b --- /dev/null +++ b/generate_pdf.py @@ -0,0 +1,1038 @@ +#!/usr/bin/env python3 +# -*- coding: utf-8 -*- + +""" +FEBUS Rulebook - Markdown to PDF Converter +Spojí všetky MD súbory do jedného PDF dokumentu so zachovaním pôvodného textu a formátovania +""" + +import os +import re +import html +import base64 +import subprocess +from pathlib import Path +from typing import List, Tuple, Dict +import markdown +import warnings +# Suppress the deprecation warning from WeasyPrint +warnings.filterwarnings('ignore', message='.*instantiateVariableFont.*') +from weasyprint import HTML, CSS +from weasyprint.text.fonts import FontConfiguration +import datetime +import PyPDF2 +import tempfile + +class MarkdownToPDFConverter: + def __init__(self): + self.md_files = [] + self.toc_entries = [] + self.chapter_counter = 0 + self.section_counters = {} + self.page_numbers = {} # Store page numbers for anchors + self.num_root_files = 0 + + def collect_markdown_files(self) -> List[Tuple[str, Path]]: + """Zozbiera všetky .md súbory a zoradí ich podľa číslovania""" + root_files = [] + appendix_files = [] + + # Hlavné súbory v root adresári + for file in Path('.').glob('*.md'): + if file.name not in ['README.md', 'CLAUDE.md', 'CHANGELOG.md'] \ + and not file.name.startswith('FEBUS_smernica'): + root_files.append((file.name, file)) + + # Súbory v appendices + appendices_dir = Path('appendices') + if appendices_dir.exists(): + for file in appendices_dir.glob('*.md'): + appendix_files.append((f"appendices/{file.name}", file)) + + # Zoradiť podľa číslovania (01-, 02-, atď.) + root_files.sort(key=lambda x: x[0]) + self.num_root_files = len(root_files) + appendix_files.sort(key=lambda x: x[0]) + + self.md_files = root_files + appendix_files + return self.md_files + + def extract_headers_for_toc(self, content: str, file_name: str, chapter_num: int): + """Extrahuje hlavičky pre obsah s číslovaním""" + chapter_id = file_name.replace('.md', '').replace('/', '-') + is_appendix = 'appendices' in file_name + + lines = content.split('\n') + h2_counter = 0 + h3_counter = 0 + + for line in lines: + if line.startswith('#'): + # Počet # určuje úroveň + header_level = len(line) - len(line.lstrip('#')) + header_text = line.lstrip('#').strip() + + if header_text and header_level <= 2: # Len h1, h2 do obsahu + # Generovať číslovanie pre TOC + if header_level == 1: + h2_counter = 0 + h3_counter = 0 + if is_appendix: + number = f"A{chapter_num - self.num_root_files}" + else: + number = f"{chapter_num}" + elif header_level == 2: + h2_counter += 1 + h3_counter = 0 + if is_appendix: + number = f"A{chapter_num - self.num_root_files}.{h2_counter}" + else: + number = f"{chapter_num}.{h2_counter}" + elif header_level == 3: + h3_counter += 1 + if is_appendix: + number = f"A{chapter_num - self.num_root_files}.{h2_counter}.{h3_counter}" + else: + number = f"{chapter_num}.{h2_counter}.{h3_counter}" + else: + number = "" + + # Vytvoriť ID pre navigáciu + header_id = re.sub(r'[^\w\s-]', '', header_text.lower()) + header_id = re.sub(r'[-\s]+', '-', header_id) + anchor = f"{chapter_id}-{header_id}" + + # Pridať číslovanie do TOC + numbered_text = f"{number}. {header_text}" if number else header_text + self.toc_entries.append((header_level, numbered_text, anchor)) + + def generate_table_of_contents(self, with_page_numbers=False) -> str: + """Vygeneruje HTML pre obsah""" + toc_html = ['
'] + toc_html.append('

TABLE OF CONTENTS

') + toc_html.append('
') + + for level, title, anchor in self.toc_entries: + # Create professional TOC entry + page_num = "" + if with_page_numbers and anchor in self.page_numbers: + page_num = str(self.page_numbers[anchor]) + + # Truncate very long titles + display_title = title + if len(title) > 85: # Limit title length for better layout + display_title = title[:82] + "..." + + indent_class = f'toc-level-{level}' + toc_html.append(f'
') + toc_html.append(f'
') + toc_html.append(f' {display_title}') + toc_html.append(f' ') + toc_html.append(f' {page_num}') + toc_html.append(f'
') + toc_html.append(f'
') + + toc_html.append('
') + toc_html.append('
') + toc_html.append('
') + + return '\n'.join(toc_html) + + def convert_md_links_to_anchors(self, content: str, file_name: str) -> str: + """Konvertuje odkazy na .md súbory na interné HTML kotvy + + Cesty v odkazoch sú relatívne k súboru, v ktorom sa nachádzajú (napr. + appendices/01-glossary.md odkazuje na ../04-right-of-way.md), takže sa + musia rozlíšiť voči adresáru zdrojového súboru (`file_name`) — nie voči + surovej ceste z odkazu — inak vznikne kotva, ktorá v dokumente + neexistuje (napr. '#..-04-right-of-way' namiesto '#04-right-of-way'). + """ + # Pattern pre markdown odkazy: [text](path/file.md) alebo [text](path/file.md#anchor) + def replace_link(match): + link_text = match.group(1) + link_path = match.group(2) + + # Ak link nie je na .md súbor, nechaj ho tak + if not '.md' in link_path: + return match.group(0) + + # Rozdeliť cestu a kotvu ak existuje + if '#' in link_path: + file_part, anchor_part = link_path.split('#', 1) + else: + file_part, anchor_part = link_path, None + + # Rozlíšiť cestu voči adresáru zdrojového súboru + resolved = os.path.normpath(os.path.join(os.path.dirname(file_name), file_part)) + chapter_id = resolved.replace('.md', '').replace(os.sep, '-').replace('/', '-') + + if anchor_part is not None: + internal_anchor = f"#{chapter_id}-{anchor_part}" + else: + # Len súbor bez kotvy - odkazuj na začiatok kapitoly + internal_anchor = f"#{chapter_id}" + + return f"[{link_text}]({internal_anchor})" + + # Regex pre markdown odkazy + pattern = r'\[([^\]]+)\]\(([^)]+)\)' + return re.sub(pattern, replace_link, content) + + def convert_markdown_to_html(self, content: str, file_name: str, chapter_num: int) -> str: + """Konvertuje markdown na HTML s pridaním ID a číslovania pre navigáciu""" + # Najprv konvertuj .md odkazy na interné kotvy + content = self.convert_md_links_to_anchors(content, file_name) + + # Inicializovať markdown konvertor + md = markdown.Markdown(extensions=[ + 'extra', # tables, attr_list, def_list, footnotes, abbr, fenced_code + 'sane_lists', # lepšie spracovanie zoznamov + 'smarty', # inteligentné úvodzovky + 'toc' # table of contents + # Removed nl2br to avoid excessive line breaks + ]) + + # Konvertovať markdown na HTML + html_content = md.convert(content) + + # Pridať ID a číslovanie k hlavičkám + chapter_id = file_name.replace('.md', '').replace('/', '-') + + # Použiť poskytnuté číslo kapitoly + self.section_counters = {'h1': 0, 'h2': 0, 'h3': 0} + is_appendix = 'appendices' in file_name + + # Flag to track if this is the first header in the file + is_first_header = [True] + + def add_header_numbering(match): + level = int(match.group(1)) + text = match.group(2) + # `text` comes from already-converted HTML, so smart quotes from the + # 'smarty' extension are still literal entities (e.g. ‘) at this + # point. Unescape them before stripping punctuation, otherwise their + # letters (lsquo/rsquo/amp/...) survive into the id and it no longer + # matches the anchor extract_headers_for_toc computed from the raw + # markdown text — breaking the TOC link and page-number lookup for + # any heading containing a quote/apostrophe (e.g. "Halt!"). + header_id = re.sub(r'[^\w\s-]', '', html.unescape(text).lower()) + header_id = re.sub(r'[-\s]+', '-', header_id) + + # Generovať číslovanie + # First header in each file should be treated as chapter title (H1 level numbering) + if is_first_header[0]: + is_first_header[0] = False + self.section_counters['h2'] = 0 + self.section_counters['h3'] = 0 + if is_appendix: + number = f"A{chapter_num - self.num_root_files}." + else: + number = f"{chapter_num}." + # Force H1 styling for first header + return f'

{number} {text}

' + elif level == 1: + self.section_counters['h1'] += 1 + self.section_counters['h2'] = 0 + self.section_counters['h3'] = 0 + if is_appendix: + number = f"A{chapter_num - self.num_root_files}." + else: + number = f"{chapter_num}." + elif level == 2: + self.section_counters['h2'] += 1 + self.section_counters['h3'] = 0 + if is_appendix: + number = f"A{chapter_num - self.num_root_files}.{self.section_counters['h2']}." + else: + number = f"{chapter_num}.{self.section_counters['h2']}." + elif level == 3: + self.section_counters['h3'] += 1 + if is_appendix: + number = f"A{chapter_num - self.num_root_files}.{self.section_counters['h2']}.{self.section_counters['h3']}." + else: + number = f"{chapter_num}.{self.section_counters['h2']}.{self.section_counters['h3']}." + else: + number = "" + + return f'{number} {text}' + + # Nahradiť všetky h1, h2, h3 s ID a číslovaním (vrátane tých s atribútmi) + html_content = re.sub(r']*>(.*?)', add_header_numbering, html_content) + + html_content = self.colorize_cards(html_content) + return html_content + + def colorize_cards(self, html: str) -> str: + """Zafarbí YELLOW/RED/BLACK karty v tabuľkách trestov.""" + html = html.replace('YELLOW', 'YELLOW') + html = html.replace('RED', 'RED') + html = html.replace('BLACK', 'BLACK') + return html + + def get_logo_base64(self) -> str: + """Načíta logo a konvertuje na base64""" + # Try JPG first, then PNG + logo_jpg = Path('febus_logo.jpg') + logo_png = Path('febus_logo.png') + + if logo_jpg.exists(): + with open(logo_jpg, 'rb') as f: + logo_data = f.read() + return 'data:image/jpeg;base64,' + base64.b64encode(logo_data).decode('utf-8') + elif logo_png.exists(): + with open(logo_png, 'rb') as f: + logo_data = f.read() + return 'data:image/png;base64,' + base64.b64encode(logo_data).decode('utf-8') + return "" + + def get_last_commit_date(self) -> str: + """Získa dátum posledného commitu""" + try: + result = subprocess.run( + ['git', 'log', '-1', '--format=%cd', '--date=format:%d. %B %Y'], + capture_output=True, + text=True, + check=True + ) + return result.stdout.strip() + except: + return datetime.datetime.now().strftime('%d. %B %Y') + + def get_commit_hash(self) -> str: + """Získa hash posledného commitu""" + try: + result = subprocess.run( + ['git', 'rev-parse', 'HEAD'], + capture_output=True, + text=True, + check=True + ) + return result.stdout.strip() + except: + return "unknown" + + def get_repository_url(self) -> str: + """Získa URL git repozitára""" + try: + result = subprocess.run( + ['git', 'config', '--get', 'remote.origin.url'], + capture_output=True, + text=True, + check=True + ) + url = result.stdout.strip() + # Convert SSH to HTTPS format if needed + if url.startswith('git@'): + url = url.replace(':', '/').replace('git@', 'https://') + if url.endswith('.git'): + url = url[:-4] + return url + except: + return "https://github.com/FEBUS/rulebook" + + def get_version(self) -> str: + """Získa verziu rulebooku zo súboru VERSION""" + p = Path('VERSION') + return p.read_text(encoding='utf-8').strip() if p.exists() else '' + + def generate_changelog(self) -> str: + """Vygeneruje changelog: preferuje CHANGELOG.md, fallback git história.""" + changelog_md = Path('CHANGELOG.md') + if changelog_md.exists(): + md = markdown.Markdown(extensions=['extra', 'sane_lists']) + body = md.convert(changelog_md.read_text(encoding='utf-8')) + return f'
{body}
' + return self._generate_changelog_from_git() + + def _generate_changelog_from_git(self) -> str: + """Vygeneruje changelog z git histórie (fallback, ak chýba CHANGELOG.md)""" + try: + result = subprocess.run( + ['git', 'log', '--pretty=format:%h | %ad | %s', '--date=short', '-20'], + capture_output=True, + text=True, + check=True + ) + commits = result.stdout.strip().split('\n') + + changelog_html = '
' + changelog_html += '

Change Log

' + changelog_html += '

Recent changes to the rulebook:

' + changelog_html += '
' + changelog_html += '' + changelog_html += '' + + for commit in commits[:10]: # Posledných 10 commitov + if commit: + parts = commit.split(' | ') + if len(parts) == 3: + commit_hash, date, message = parts + changelog_html += f'' + + changelog_html += '
CommitDateDescription
{commit_hash}{date}{message}
' + changelog_html += '' + + return changelog_html + except: + return '

Change Log

No git history available.

' + + def extract_page_numbers_from_pdf(self, pdf_path: str) -> Dict[str, int]: + """Extrahuje čísla strán pre kotvy z PDF cez named destinations. + + WeasyPrint vytvorí named destination pre každý `` + odkaz, ktorý má v dokumente zodpovedajúci `id`; TOC odkazuje na každú + kotvu z self.toc_entries, takže za normálnych okolností sa každá + kotva namapuje priamo na skutočnú stranu podľa PDF štruktúry, bez + závislosti na texte nadpisu. Toto opravuje prípady, keď sa rovnaký + text nadpisu (napr. "Arena boundaries", "Judging of hits") opakuje vo + viacerých kapitolách/prílohách — staršie zhodovanie podľa titulku + vracalo stranu prvého výskytu textu v CELOM dokumente (vrátane + bežného textu, nie len nadpisov), nie skutočnú stranu danej kotvy. + + Predchádzajúca verzia mala pre nevyriešené kotvy záložné zhodovanie + podľa titulku; to sa v praxi ukázalo nefunkčné (chybná posuvná + oblasť hľadania a zhoda na hocijaký výskyt textu, nielen nadpis) a + keďže named destinations pokrývajú všetky kotvy z TOC, bolo + odstránené. Ak sa napriek tomu pre niektorú kotvu destination + nenájde, hlasno sa to nahlási a číslo strany zostane v TOC prázdne + (rovnaké degradované správanie, aké malo pôvodné zlyhanie extrakcie). + """ + page_numbers = {} + try: + with open(pdf_path, 'rb') as pdf_file: + pdf_reader = PyPDF2.PdfReader(pdf_file) + + named_destinations = {} + try: + named_destinations = pdf_reader.named_destinations + except Exception as e: + print(f"Varovanie: Nepodarilo sa načítať named destinations: {e}") + + unresolved = [] + for level, title, anchor in self.toc_entries: + dest = named_destinations.get(anchor) + if dest is None: + unresolved.append((title, anchor)) + continue + try: + page_numbers[anchor] = pdf_reader.get_destination_page_number(dest) + 1 + except Exception: + unresolved.append((title, anchor)) + + if unresolved: + print(f"VAROVANIE: {len(unresolved)} položiek obsahu nemá named " + f"destination — ich číslo strany v TOC ostane prázdne: " + f"{[title for title, _ in unresolved]}") + + except Exception as e: + print(f"Varovanie: Nepodarilo sa extrahovať čísla strán: {e}") + + return page_numbers + + def generate_pdf(self, output_filename: str = 'febus_rulebook.pdf'): + """Vygeneruje PDF dokument""" + print("Generujem PDF...") + + # Zbierať všetky HTML časti + html_parts = [] + + # Získať logo + logo_data = self.get_logo_base64() + logo_html = "" + if logo_data: + logo_html = f'' + + # Získať informácie o git + last_commit_date = self.get_last_commit_date() + commit_hash = self.get_commit_hash() + repo_url = self.get_repository_url() + version = self.get_version() + edition = f'Official Edition — Version {version}' if version else 'Official Edition' + + # Titulná strana + html_parts.append(f''' +
+
+
+ {logo_html} +
+
+
+
+ Tournament + Rulebook +
+
FEBUS
+
+
+
+
{edition}
+
{last_commit_date}
+
Federácia Európskych Bojových Umení Slovenska
+
+
+ {repo_url} +
+
+ ''') + + # Spracovať každý markdown súbor + chapter_num = 0 + for file_name, file_path in self.md_files: + print(f"Spracovávam: {file_name}") + chapter_num += 1 + + with open(file_path, 'r', encoding='utf-8') as f: + content = f.read() + + # Extrahovať hlavičky pre obsah s číslovaním + self.extract_headers_for_toc(content, file_name, chapter_num) + + # Konvertovať na HTML s číslom kapitoly + html_content = self.convert_markdown_to_html(content, file_name, chapter_num) + + # Pridať do výsledku + chapter_id = file_name.replace('.md', '').replace('/', '-') + html_parts.append(f'
') + html_parts.append(html_content) + html_parts.append('
') + html_parts.append('
') + + # Pridať changelog na koniec + changelog_html = self.generate_changelog() + html_parts.append(changelog_html) + + # Vygenerovať obsah (najprv bez čísel strán) + toc_html = self.generate_table_of_contents(with_page_numbers=False) + + # CSS štýly + css_styles = ''' + @page { + size: A4; + margin: 3cm 2.5cm 3cm 2.5cm; + + @top-center { + content: "FEBUS TOURNAMENT RULEBOOK"; + font-family: 'Times New Roman', Times, serif; + font-size: 9pt; + color: #999; + font-variant: small-caps; + letter-spacing: 0.05em; + } + + @bottom-center { + content: counter(page); + font-family: 'Times New Roman', Times, serif; + font-size: 10pt; + } + } + + @page:first { + @top-center { content: ""; } + @bottom-center { content: ""; } + @bottom-right { content: ""; } + } + + body { + font-family: 'Times New Roman', Times, serif; + font-size: 11pt; + line-height: 1.6; + color: #111; + text-align: justify; + hyphens: auto; + word-spacing: 0.05em; + letter-spacing: 0.01em; + } + + /* Nadpisy - Book Style */ + h1 { + font-size: 20pt; + font-weight: normal; + margin: 2em 0 1em 0; + page-break-after: avoid; + page-break-inside: avoid; + color: #000; + text-align: center; + border: none; + font-variant: small-caps; + letter-spacing: 0.1em; + } + + h2 { + font-size: 16pt; + font-weight: bold; + margin: 1.2em 0 0.6em 0; + page-break-after: avoid; + page-break-inside: avoid; + color: #111; + text-align: left; + } + + h3 { + font-size: 13pt; + font-weight: bold; + margin: 1em 0 0.5em 0; + page-break-after: avoid; + page-break-inside: avoid; + color: #222; + text-align: left; + font-style: italic; + } + + h4 { + font-size: 11pt; + font-weight: bold; + font-style: italic; + margin: 0.8em 0 0.4em 0; + page-break-after: avoid; + page-break-inside: avoid; + color: #333; + } + + /* Číslovanie nadpisov */ + .heading-number { + font-weight: bold; + margin-right: 0.5em; + color: #000; + } + + /* Odstavce */ + p { + margin: 0 0 0.8em 0; + text-indent: 0; + orphans: 3; + widows: 3; + text-align: justify; + hyphens: none; + } + + /* Prvý odstavec po nadpise */ + h1 + p, h2 + p, h3 + p, h4 + p, + .chapter > p:first-of-type { + text-indent: 0; + margin-top: 0.5em; + } + + /* Zoznamy */ + ul, ol { + margin: 0.8em 0 0.8em 1.5em; + padding-left: 0.5em; + } + + li { + margin-bottom: 0.3em; + text-align: justify; + } + + li p { + margin-bottom: 0.3em; + display: inline; + } + + /* Tables - Book Style */ + table { + border-collapse: collapse; + width: 100%; + margin: 2em 0; + page-break-inside: auto; + font-size: 10pt; + } + + tr { + page-break-inside: avoid; + break-inside: avoid; + } + + th, td { + border: none; + border-top: 1px solid #ddd; + border-bottom: 1px solid #ddd; + padding: 0.5em 1em; + text-align: left; + } + + th { + background: none; + font-weight: bold; + font-variant: small-caps; + letter-spacing: 0.05em; + border-top: 2px solid #333; + border-bottom: 1px solid #333; + } + + tbody tr:last-child td { + border-bottom: 2px solid #333; + } + + .card-yellow { background-color: #E3D059; padding: 0 4px; white-space: nowrap; } + .card-red { background-color: #E36159; color: #fff; padding: 0 4px; white-space: nowrap; } + .card-black { background-color: #787878; color: #fff; padding: 0 4px; white-space: nowrap; } + + /* Citácie */ + blockquote { + margin: 1em 2em; + padding-left: 1em; + border-left: 3px solid #999; + font-style: italic; + color: #555; + } + + /* Kód */ + code { + font-family: 'Courier New', Courier, monospace; + font-size: 10pt; + background-color: #f5f5f5; + padding: 2px 4px; + border-radius: 2px; + } + + pre { + background-color: #f5f5f5; + padding: 10px; + border-radius: 4px; + overflow-x: auto; + font-size: 10pt; + line-height: 1.4; + } + + /* Stránkovanie */ + .page-break { + page-break-after: always; + } + + .chapter { + page-break-before: always; + } + + .chapter:first-of-type { + page-break-before: avoid; + } + + /* Professional Book Title Page */ + .title-page { + page-break-after: always; + position: relative; + height: 100vh; + display: flex; + flex-direction: column; + font-family: 'Times New Roman', Times, serif; + text-align: center; + } + + /* Top section with logo */ + .title-top { + flex: 0 0 auto; + padding-top: 3cm; + } + + .logo-container { + margin: 0 auto; + } + + .title-page .logo { + width: 180px; + height: auto; + margin: 0 auto; + display: block; + } + + /* Middle section with title */ + .title-middle { + flex: 1 1 auto; + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; + padding: 2cm 0; + } + + .main-title { + margin-bottom: 0.8em; + color: #000; + font-variant: small-caps; + line-height: 0.9; + } + + .title-line1, .title-line2 { + display: block; + font-weight: normal; + } + + .title-line1 { + font-size: 48pt; + letter-spacing: 0.12em; + } + + .title-line2 { + font-size: 48pt; + letter-spacing: 0.08em; + } + + .subtitle { + font-size: 28pt; + font-weight: normal; + letter-spacing: 0.15em; + margin-bottom: 1em; + color: #333; + font-variant: small-caps; + } + + .divider { + font-size: 18pt; + color: #666; + margin: 1em 0; + } + + /* Bottom section with publication info */ + .title-bottom { + flex: 0 0 auto; + padding-bottom: 3cm; + } + + .edition { + font-size: 12pt; + font-variant: small-caps; + letter-spacing: 0.1em; + margin-bottom: 0.5em; + color: #555; + } + + .version-date { + font-size: 11pt; + margin-bottom: 1em; + color: #666; + } + + .publisher { + font-size: 10pt; + font-style: italic; + color: #777; + margin-bottom: 2em; + } + + /* Colophon at very bottom */ + .colophon { + position: absolute; + bottom: 1cm; + left: 0; + right: 0; + text-align: center; + } + + .repo-link { + font-size: 7pt; + color: #ccc; + font-family: 'Courier New', Courier, monospace; + } + + /* Clean Table of Contents */ + .toc { + page-break-after: always; + font-family: 'Times New Roman', Times, serif; + } + + .toc-title { + font-size: 18pt; + font-weight: bold; + text-align: center; + margin: 1.5em 0 2em 0; + letter-spacing: 0.1em; + border: none; + } + + .toc-content { + margin: 0 3em; + line-height: 1.8; + } + + .toc-line { + display: flex; + align-items: baseline; + width: 100%; + position: relative; + page-break-inside: avoid; + } + + .toc-text { + flex: 0 0 auto; + padding-right: 0.3em; + } + + .toc-text a { + text-decoration: none; + color: #000; + } + + .toc-text a:hover { + text-decoration: underline; + } + + .toc-dots { + flex: 1 1 auto; + border-bottom: 1px dotted #666; + margin: 0 0.5em; + height: 0.7em; + } + + .toc-page { + flex: 0 0 auto; + min-width: 3em; + text-align: right; + } + + /* Level 1 - Main chapters */ + .toc-level-1 { + margin: 0.8em 0 0.4em 0; + font-weight: bold; + font-size: 11pt; + } + + .toc-level-1 .toc-text { + text-transform: uppercase; + } + + /* Level 2 - Sections */ + .toc-level-2 { + margin: 0.3em 0 0.2em 2em; + font-size: 10pt; + font-weight: normal; + } + + /* Level 3 - Subsections - hide from TOC */ + .toc-level-3 { + display: none; + } + + /* Page marker for finding positions */ + .page-marker { + display: block; + height: 0; + width: 0; + overflow: hidden; + page-break-after: avoid; + } + + /* Changelog */ + .changelog { + page-break-before: always; + margin-top: 2em; + } + + .changelog h1 { + font-size: 24pt; + border-bottom: 2px solid #000; + padding-bottom: 0.3em; + } + + .changelog-table { + width: 100%; + margin-top: 1em; + border-collapse: collapse; + font-size: 10pt; + } + + .changelog-table th, + .changelog-table td { + border: 1px solid #ddd; + padding: 8px; + text-align: left; + } + + .changelog-table th { + background-color: #f5f5f5; + font-weight: bold; + } + + .commit-hash { + font-family: 'Courier New', Courier, monospace; + font-size: 9pt; + color: #666; + } + ''' + + # Vytvoriť kompletný HTML dokument + html_document = f''' + + + + + FEBUS Tournament Rulebook + + + + {html_parts[0]} + {toc_html} + {''.join(html_parts[1:])} + + + ''' + + # Vygenerovať dočasné PDF pre získanie čísel strán + font_config = FontConfiguration() + with tempfile.NamedTemporaryFile(suffix='.pdf', delete=False) as temp_pdf: + temp_pdf_path = temp_pdf.name + html = HTML(string=html_document) + html.write_pdf(temp_pdf_path, font_config=font_config) + + # Extrahovať čísla strán + print("Extraktujem čísla strán...") + self.page_numbers = self.extract_page_numbers_from_pdf(temp_pdf_path) + + if self.page_numbers: + # Znovu vygenerovať obsah s číslami strán + print("Aktualizácia obsahu s číslami strán...") + toc_html = self.generate_table_of_contents(with_page_numbers=True) + + # Znovu vytvor HTML dokument s aktualizýam obsahom + html_document = f''' + + + + + FEBUS Tournament Rulebook + + + + {html_parts[0]} + {toc_html} + {''.join(html_parts[1:])} + + + ''' + + # Vygenerovať finálne PDF + html = HTML(string=html_document) + html.write_pdf(output_filename, font_config=font_config) + else: + # Ak sa nepodarilo získať čísla strán, použiť dočasné PDF + import shutil + shutil.move(temp_pdf_path, output_filename) + + # Vymazať dočasný súbor + try: + os.unlink(temp_pdf_path) + except: + pass + + print(f"PDF vygenerované: {output_filename}") + +def main(): + """Hlavná funkcia""" + print("FEBUS Rulebook - Markdown to PDF Converter") + print("=" * 50) + + converter = MarkdownToPDFConverter() + + # Zozbierať súbory + files = converter.collect_markdown_files() + print(f"Nájdených {len(files)} markdown súborov") + + # Vygenerovať PDF + output_file = 'febus_rulebook.pdf' + converter.generate_pdf(output_file) + + print("=" * 50) + print(f"Hotovo! PDF dokument bol vytvorený: {output_file}") + +if __name__ == "__main__": + main() \ No newline at end of file diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..f295f23 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,4 @@ +markdown>=3.4.0 +weasyprint>=60.0 +Pygments>=2.15.0 +PyPDF2>=3.0.0 \ No newline at end of file diff --git a/scripts/check_conventions.sh b/scripts/check_conventions.sh new file mode 100755 index 0000000..35be7bc --- /dev/null +++ b/scripts/check_conventions.sh @@ -0,0 +1,28 @@ +#!/bin/bash +# Konvenčné kontroly rulebooku. Exit 0 = OK. Kontroluje kapitoly a appendices, +# nie docs/ ani slovenské súbory. +set -u +FILES="01-intro.md 02-equipment.md 03-general.md 04-right-of-way.md \ +05-longsword.md 06-rapier.md 07-sabre.md 08-sword-and-buckler.md \ +09-organisational.md 10-disciplinary.md README.md appendices/01-glossary.md \ +appendices/02-penalties.md appendices/03-weapon-overview.md \ +appendices/04-referee-quick-reference.md" +fail=0 +check_zero() { # $1 = popis, $2 = pattern + hits=$(grep -nE "$2" $FILES 2>/dev/null) + if [ -n "$hits" ]; then echo "FAIL: $1"; echo "$hits"; fail=1; fi +} +check_zero "zakázané modálne tvary" '\bshall\b|is going to' +check_zero "nekanonické osoby" '\bcontestants?\b|\bcompetitors?\b|\bathletes?\b' +check_zero "nekanonický súboj" '\bthe match\b|\bthe fight\b' +check_zero "rodové zámená" 'he/she|she/he|his/her|him/her|him/them' +check_zero "nekanonická priorita" 'right of initiative' +check_zero "nekanonická čiara" 'start-line|\bstarting line\b' +check_zero "nekanonický asistent" 'Side Referee' +check_zero "americký pravopis organizácie" 'Organizing Team|organizer' +check_zero "americký pravopis" '\b(center|meters|offense|penalized|organized)\b' +check_zero "nekanonický cross-guard" '\bcrossguard\b|cross/guard' +check_zero "nekanonický stop hit" '\bstop hit\b' +check_zero "rozbité FIE odkazy" 'Article [0-9]|in Article\.|Figure 2' +check_zero "staré HTML atribúty" 'bgcolor' +exit $fail diff --git a/scripts/check_links.sh b/scripts/check_links.sh new file mode 100755 index 0000000..d79279a --- /dev/null +++ b/scripts/check_links.sh @@ -0,0 +1,14 @@ +#!/bin/bash +# Overí, že každý [text](*.md) odkaz smeruje na existujúci súbor. +set -u +fail=0 +for src in *.md appendices/*.md; do + dir=$(dirname "$src") + while IFS= read -r target; do + [ -z "$target" ] && continue + if [ ! -f "$dir/$target" ] && [ ! -f "$target" ]; then + echo "BROKEN: $src -> $target"; fail=1 + fi + done < <(grep -oE '\]\([^)#]+\.md' "$src" | sed 's/](\(.*\)/\1/') +done +exit $fail