Skip to content

surname1 and surname2 leave a two-surname family whole where it opens with a particle or follows María del Carmen (Juan de la Vega Ruiz gives surname2 '') #1479

Closed

Description

@derek73

Under two_family_names the family reads right in both names below, and the surname views do not divide it (master a6af8683, parser_for(locales.ES); Parser(policy=Policy(two_family_names=True)) reads the same):

Input family surname1 surname2
Juan Vega Ruiz Vega Ruiz Vega Ruiz
Juan Ruiz de la Vega Ruiz de la Vega Ruiz de la Vega
Juan de la Vega Ruiz de la Vega Ruiz de la Vega Ruiz ''
María del Carmen García López García López García López ''

Two shapes, one result: a family of two surnames that the view reads as one unit.

1. A family that opens with a particle. The particle chain (rules/P2) takes every word behind it, so de la Vega Ruiz is a two-word family before rules/O6 (two family names) runs. O6 acts by taking one more word into a one-word family; a family that "already holds two words keeps what it has", and it marks no boundary. rules/R10 (the second-surname view) records the result as accepted: "where a connective, a hyphen or a particle chain already joins two family names the name has two and the view is empty".

2. A given name completed behind a particle (rules/P10, María del Carmen). The family is two plain words and is still not divided. Why was not traced in the code.

How often (2026-11-19, orcid-researchers, holders in 20 Spanish-speaking countries with both boxes filled, 276,027 records, read under locales.ES). Of the 171,808 records whose family the parser reads as the holder's own family box and whose family box holds two name words or more:

Records
divided, surname2 filled 166,695
not divided: a given name with a particle, family of two name words 3,200
not divided: family opens with a particle, two name words 1,756
not divided: a connective in the family 95
not divided: family opens with a particle, three or four name words 36
not divided: a hyphen in the family 17
not divided: other 9

So 4,956 records, 2.9%, are the two shapes above. The connective and the hyphen are few, and are the question decisions/R10 already holds open.

Proposed

  • A family that opens with a particle and holds two name words: the first unit is the particles and the one name word they attach to, the second the word after it, the cut rules/O6 and rules/P1 already make under a family-first order ("its particles and the one name word they attach to"). Juan de la Vega Ruiz reads surname1 de la Vega, surname2 Ruiz. No field moves.
  • A given name completed behind a particle: the family behind it is divided as it is behind a plain given name. María del Carmen García López reads surname1 García, surname2 López.
  • With the switch off, nothing changes.

Questions

  1. A saint's name and a place name written with a particle are one surname of several words (Juan de la Santa Cruz, Ana de la Torre Ugarte). Which words does the vocabulary already chain (santa is a listed particle), and how many of the 1,756 would divide wrongly? To be counted before the rule is chosen.
  2. Three name words behind a particle (de la Vega Ruiz Soto, 36 records): left whole, as a plain family of three is?
  3. Does the cut hold under the two family-first orders, where the fold already cuts the chain?
  4. Is the second shape a defect in how O6 marks the family when P10 has read the given name, or a decision nobody recorded? rules/O6's "A given name a particle completes stays where it is" speaks to the given name, not to the family behind it.

Related: #1456 fills the views after a family comma by following the comma-less reading, so a fix here reaches both writings. The names above are invented, of the shapes read.

Activity

  1. added this to the 3.2 milestone on Nov 19, 2026
  2. self-assigned this
    on Nov 19, 2026
  3. added
    particles
    name-order
    rendering
    on Nov 19, 2026
  4. derek73 commented on Nov 19, 2026

    @derek73
    OwnerAuthor

    Decided 2026-11-19: built together with #1456, as one change. The division of a family into its two units is a function of the family's words alone, called by the comma path and the comma-less path, so the two writings return the same units wherever they yield the same family. The questions above (surnames of several words behind a particle, three name words, the family-first orders, why the P10 shape is not divided) are measured in that change before the rule is fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugname-orderparticlesrendering

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions