There are (at least) two separate issues here around naming conventions with passports and airline tickets.
One issue is "matching" and how strict various authorities are/may be about how closely things match (generally your passport and the name on your ticket). The other issue is what various airline systems do with (what they think is) your name and how it's displayed in their systems. With some foreign airlines, you may encounter surprises.
Personally, I've never really had any major issue with the "matching" issue between name and passport (my name follows fairly standard conventions). But I have friends who have been denied boarding because of a name mismatch. One was unable to fly (Seattle to Mexico), had to return home from his departure airport and spent 24 hours sorting it before he was allowed to fly the following day.
Be careful about shortened versions of given names (eg Chuck versus Charles, Bob versus Robert, etc.), and also if your name includes both patronymic and maternal surnames (in Spain and Spanish-speaking countries, many people typically have both their father's and mother's surnames, eg Gabriel Garcia Marquez; and these days there are also many hyphenated family names).
Even if your family heritage has nothing to do with Spain, it's still possible to end up with a more complex name than many of us have: I have a friend (whose heritage is definitely Scottish - he's a Macdonald!) but his mom (I think) remarried when he was a child, and he ended up with a complex name on his passport with either his mom's "maiden name" or his mom's original (first) husband's name - plus a first, last and middle name. This apparently plays havoc with some (but not all) airline ticketing systems.
And names can be quite long - too long for systems designed for Smiths and Joneses. My wife's family name is 14 digits long (her first name is also somewhat long); many airline systems simply truncate her name, usually in a predictable way (fortunately she does not have a middle name).
Something everyone should be aware of: There's a very common "conflation" of first + middle names when traveling internationally, especially (but not only) in Asia. For example, if your name was John Quincy Adams, in many airline systems, it shows as: ADAMS, JOHNQUINCY where the first and middle names are combined. (TAP and Ryanair are both foreign airlines so probably follow this convention.) I believe many airlines just lump together ALL "given" names other than the surname (often labeled as "family name"). So when that happens, my Scottish friend with 4 names appears as MACDONALD, COLINSMITHBRIAN (not his real name, his is even more messy). Airline staff should be able to suss this out but sometimes it can cause friction, and computers - being stubborn - won't let you login unless you get your name "right" (in its judgement). Even with my plain vanilla name, this has stymied me more than once when trying to access a flight via an airline website.
In my experience the key to be able to log in to many (most?) non-US airlines, to access your flight details, choose seats, order a meal, etc) you must conflate first+middle name or their computer system shrugs and fails. So if you are John Q Adams, when you log in for your flight to Tokyo or Bangkok, use ADAMS, JOHNQUINCY (no space between "John" and "Quincy" or it won't work).
There's another potential issue on some passports for some people: On some, there's also a "title": MR, MRS, MISS, MASTER and maybe others (I've seen "Dr. and options like "Ambassador" and other honorifics). I'm looking at passports for some foreign family members right now, they all have "titles" based on gender and age. This can be a large potential can of worms here for some folks.
Names can be complex stuff!