Laws.Africa Editor Guide
Français
Français
  • Bienvenue
  • Pour Commencer
    • Plan de cours
    • S'enregistrer
    • Numérisation de la législation
    • Qu'est-ce qu'Akoma Ntoso
    • Guide terminologique
  • La gestion du travail
    • Créer et éditer des œuvres
      • Travailler avec les commencements
    • Supprimer un document
    • Travaux modificatifs
      • Créer une oeuvre modificative
      • Lier l'amendement
      • Création d'un nouveau document au nouveau point dans le temps
      • Appliquer les amendements
      • Annotation des amendements
      • Exemple
      • Exercice
      • Consolider les annotations
        • Exemple simple
        • Exemple Compliqué
    • Importations en bloc (feuille de calcul)
  • MODE D'EMPLOI
    • Tâches
    • Importer un document
      • L'importateur
    • Nettoyer une importation
    • Correction des titres en majuscules
    • Travailler avec des tableaux
      • Table errors
    • Travailler avec des liens
    • Travailler avec des termes en italiques
    • Ajouter une image
    • Insérer des caractères spéciaux
    • Résoudre les avertissements de l'éditeur
    • Faire des commentaires
    • Insérer des notes éditoriales
    • Changer la date d'un document
    • Changer le titre court ou la langue d'un document
    • La recherche et le sauvetage
    • Comment traiter les documents rédigés dans des langues différentes ?
  • GUIDE DE BALISAGE
    • Introduction
    • Marquer la structure
    • Préface, titre long et préambule
    • Titres
    • Marquage des calendriers / annexes
    • Marquer les annotations
    • Marquer des tableaux
    • Marquer les liens
    • Marquer les images
    • Marquer les notes de bas de pages
    • Marquer le formatage
    • Marquer des insertions et des suppressions
    • Référence du mot-clé
  • Révision d'un document
    • Révision d'un document
    • Liste de contrôle de l'évaluateur
    • Signer un travail
  • Guides de style
    • Laws.Africa
    • Côte d'Ivoire
    • Namibia
      • Regulations
    • Lesotho
    • Malawi
    • Nigeria
    • Zambia
    • Les Actes Sud-Africains
    • Les statuts des Sud-Africains
    • Tanzanie
    • Ouganda
    • UNEP
    • Zimbabwe
    • Seychelles
    • Île Maurice
    • Parlement Panafricain/ AGP
    • Turks et Caïques
    • Papouasie Nouvelle Guinée
    • eSwatini
    • Rwanda
    • Documents dans d'autres langues que l'anglais
  • L' Administration
    • Les paramètres du site
    • Gérer les administrateurs
    • Les pays et localités
    • Documents sous-types
    • Les étiquettes de tâches
    • Les taxonomies
    • Modèles de Notion
Powered by GitBook
On this page
  • Incorrect colspan
  • Example 1
  • Example 2
  1. MODE D'EMPLOI
  2. Travailler avec des tableaux

Table errors

PreviousTravailler avec des tableauxNextTravailler avec des liens

The 'Broken table' error will tell you what the system thinks the total rows and columns for the table are.

Incorrect colspan

Example 1

In this example, it says '37 rows and 9 columns'.

A quick count of the top row shows a total of 8 columns: the big one on the left and C1 to C7 on the right. A quick scroll through the table confirms that there aren't more columns later on.

Diagnosis

The first two rows look good:

The first row includes a header cell that spans two rows, and 7 more cells.

In the second row, we count one cell for the heading from the previous row, and the second cell spans 7 columns.

The third row spans 9 columns, though, and we know there are only 8.

Fixing it

In this case simply replacing the 9 with an 8 will fix the issue.

(It should also be a TH and the bold should be removed, but that's for a separate section.)

Click 'Update', and the error no longer displays:

Example 2

In this example, it says '51 rows and 11 columns'.

From first glance it seems as if the table should have 3 columns (not 11). A quick scroll through the table confirms that there aren't more columns later on.

Diagnosis

The first two rows look wrong:

The first row has three cells, but the second cell spans 7 columns and the third cell spans 3 columns.

In the second row, The second cell spans 10 columns and there is no third cell.

This colspanning repeats throughout the table, but there are never more than three cells in a row.

Fixing it

First, it's important to note that some cells in the table legitimately span columns: some span all three columns, and a few span only the second and third column.

In Edit mode, search for colspan and either:

  • Remove the whole of e.g. {colspan 7} or {colspan 3}, or

  • Replace e.g. {colspan 11} with {colspan 3},

as appropriate.

You can tell which cells legitimately span columns by looking at how many cells there are in that row:

  • If there's only one cell, it should have {colspan 3}, and

  • If there's only two cells, one of them should have {colspan 2},

in a 3-column table.

Click 'Update', and the error no longer displays: